Home
last modified time | relevance | path

Searched full:tricks (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/aosp_15_r20/external/python/watchdog/src/watchdog/
Dwatchmedo.py34 CONFIG_KEY_TRICKS = "tricks"
141 The path to the tricks configuration file.
193 def schedule_tricks(observer: BaseObserver, tricks: list[dict], pathname: str, *, recursive: bool) …
194 """Schedules tricks with the specified observer and for the given watch
199 :param tricks:
200 A list of tricks.
206 for trick in tricks:
216 argument("files", nargs="*", help="perform tricks from given file"),
258 cmd_aliases=["tricks"],
261 """Command to execute tricks from a tricks configuration file."""
[all …]
/aosp_15_r20/external/python/watchdog/
DREADME.rst80 About ``watchmedo`` Tricks
83 ``watchmedo`` can read ``tricks.yaml`` files and execute tricks within them in
84 response to file system events. Tricks are actually event handlers that
85 subclass ``watchdog.tricks.Trick`` and are written by plugin authors. Trick
89 An example ``tricks.yaml`` file:
93 tricks:
94 - watchdog.tricks.LoggerTrick:
115 The directory containing the ``tricks.yaml`` file will be monitored. Each trick
116 class is initialized with its corresponding keys in the ``tricks.yaml`` file as
/aosp_15_r20/external/python/watchdog/tests/
Dtest_0_watchmedo.py20 from watchdog.tricks import AutoRestartTrick, ShellCommandTrick # noqa: E402
287 @pytest.mark.parametrize("command", ["tricks-from", "tricks"])
289 tricks_file = tmp_path / "tricks.yaml"
292 tricks:
293 - watchdog.tricks.LoggerTrick:
/aosp_15_r20/external/python/cpython3/Doc/tutorial/
Dclasses.rst64 scope rules. Class definitions play some neat tricks with namespaces, and you
429 For example, the *tricks* list in the following code should not be used as a
435 tricks = [] # mistaken use of a class variable
441 self.tricks.append(trick)
447 >>> d.tricks # unexpectedly shared by all dogs
456 self.tricks = [] # creates a new empty list for each dog
459 self.tricks.append(trick)
465 >>> d.tricks
467 >>> e.tricks
/aosp_15_r20/external/python/cpython2/Doc/tutorial/
Dclasses.rst58 scope rules. Class definitions play some neat tricks with namespaces, and you
370 For example, the *tricks* list in the following code should not be used as a
376 tricks = [] # mistaken use of a class variable
382 self.tricks.append(trick)
388 >>> d.tricks # unexpectedly shared by all dogs
397 self.tricks = [] # creates a new empty list for each dog
400 self.tricks.append(trick)
406 >>> d.tricks
408 >>> e.tricks
/aosp_15_r20/external/python/watchdog/docs/source/examples/
Dtricks.yaml1 tricks:
2 - watchdog.tricks.LoggerTrick:
/aosp_15_r20/external/crosvm/crosvm_control/
H A Dcargo2android.bp.patch11 + // tricks cargo_embargo into thinking there is a library dependency that
24 + // tricks cargo_embargo into thinking there is a library dependency that
H A DAndroid.bp32 // tricks cargo_embargo into thinking there is a library dependency that
55 // tricks cargo_embargo into thinking there is a library dependency that
/aosp_15_r20/external/python/watchdog/docs/source/
Dapi.rst73 `watchdog.tricks`
76 .. automodule:: watchdog.tricks
/aosp_15_r20/external/llvm/docs/tutorial/
H A DLangImpl10.rst95 Before we end this tutorial, I want to talk about some "tips and tricks"
224 Tips and Tricks
227 There is a variety of useful tips and tricks that you come to know after
H A DOCamlLangImpl8.rst103 Before we end this tutorial, I want to talk about some "tips and tricks"
232 Tips and Tricks
235 There is a variety of useful tips and tricks that you come to know after
/aosp_15_r20/external/pigweed/pw_symbolizer/py/
H A Dsymbolizer_test.py71 0x404, 'do_a_flip(int n)', 'source/tricks.cc', 1403
85 self.assertEqual(symbol.file, 'source/tricks.cc')
/aosp_15_r20/external/python/jinja/docs/
Dtricks.rst1 Tips and Tricks
6 This part of the documentation shows some tips and tricks for Jinja
/aosp_15_r20/external/rust/android-crates-io/crates/zeroize/
DREADME.md22 many documented "tricks" to attempt to avoid these optimizations and ensure
25 This crate isn't about tricks: it uses [core::ptr::write_volatile]
/aosp_15_r20/external/owasp/java-encoder/core/src/main/java/org/owasp/encoder/
DASCIIBits.java93 // There are faster bit-twiddling tricks to accomplish the same in set()
113 // There are faster bit-twiddling tricks to accomplish the same in clear()
/aosp_15_r20/external/bcc/libbpf-tools/
H A DREADME.md6 - [Tips & tricks for writing libbpf-tools](https://en.pingcap.com/blog/tips-and-tricks-for-writing-…
/aosp_15_r20/external/python/watchdog/src/watchdog/tricks/
D__init__.py1 """:module: watchdog.tricks
47 """Your tricks should subclass this class."""
/aosp_15_r20/sdk/docs/
H A Dhowto_SDK_git_cygwin.txt26 4- Advanced Tricks
91 4- Advanced Tricks
/aosp_15_r20/external/llvm/test/CodeGen/X86/
H A Dcxx_tlscc64.ll4 ; tricks similar to AArch64 fast TLS calling convention (r255821).
5 ; Applying tricks on x86-64 similar to r255821.
/aosp_15_r20/external/executorch/docs/
H A DREADME.md134 [Markdown in Sphinx Tips and Tricks](https://pytorch.org/executorch/markdown-sphinx-tips-tricks.htm…
/aosp_15_r20/external/igt-gpu-tools/tests/i915/
H A Dgem_set_tiling_vs_blt.c110 igt_info("playing tricks .. "); in do_test()
112 * tricks */ in do_test()
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/x86_64-linux/include/c++/4.8.3/ext/
Dslist372 // We don't need any dispatching tricks here, because
565 // We don't need any dispatching tricks here, because
589 // We don't need any dispatching tricks here, because
/aosp_15_r20/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/
Dslist372 // We don't need any dispatching tricks here, because
565 // We don't need any dispatching tricks here, because
589 // We don't need any dispatching tricks here, because
/aosp_15_r20/external/rust/android-crates-io/crates/num_cpus/src/
Dlib.rs5 //! [processor tricks] to deliver increased performance when there are more threads. This
27 //! [processor tricks]: https://en.wikipedia.org/wiki/Simultaneous_multithreading
/aosp_15_r20/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_srgb.c86 * - doing the pow() with int-to-float and float-to-int tricks
155 * - using int-to-float and float-to-int tricks for pow()

12345678910>>...26