Searched full:patching (Results 1 – 25 of 102) sorted by relevance
12345
36 ## Global Patching62 providing a fully-patched `fs` module vs monkey-patching the node core70 There are advantages to each approach. Monkey-patching the fs means77 surgical (and doesn't run the risk of patching multiple times), but88 drop-in dep, and users can opt into monkey-patching the fs builtin102 * Use eval rather than monkey-patching fs.108 * A return to monkey patching
2 * livepatch.h - Kernel Live Patching Core37 * struct klp_func - function structure for live patching67 * struct klp_reloc - relocation structure for live patching86 * struct klp_object - kernel object structure for live patching108 * struct klp_patch - patch structure for live patching
55 # Create backup copy before patching87 # Create backup copy before patching
203 # configure is not yet fully ready for iOS, some manual patching is required219 # configure is not yet fully ready for iOS, some manual patching is required235 # configure is not yet fully ready for iOS, some manual patching is required
255 Measures the performance of Dart VM hot patching feature.522 …A some test that runs on macOS Catalina, which is a clone of the Dart VM hot patching performance …549 Measures the performance of Dart VM hot patching feature on Windows.563 Measures the performance of Dart VM hot patching feature on a Linux host.
4 // that `util.inspect()` is unaffected by monkey-patching `Object`.
12 // Monkey-patching of `Socket.prototype.connect` is done by - among others -
30 // Test _http_common was not loaded before monkey patching
50 // Enable monkey patching process.platform.
13 // because we currently allow monkey-patching of the module loaders
10 intrusive debugging or patching.
29 Mock Patching Methods34 * Patching methods375 for example patching a builtin or patching a class in a module to test that it376 is instantiated. Modules and classes are effectively global, so patching on382 ``package.module.Class.attribute`` to specify the attribute you are patching. It405 If you are patching a module (including :mod:`builtins`) then use :func:`patch`615 <https://williambert.online/2011/07/how-to-unit-testing-in-django-with-mocking-and-patching/>`_.686 These allow you to move the patching into your ``setUp`` and ``tearDown`` methods.702 If you use this technique you must ensure that the patching is "undone" by722 Whilst writing tests today I needed to patch an *unbound method* (patching the[all …]
40 /* Add __virt_to_phys patching state as well */
56 # patch-kernel does not normally support reverse patching, but does so when97 echo "$PNAME does not support reverse patching"228 # Don't allow backwards/reverse patching.
79 # patching the password prompt112 # patching input and getpass.getpass
24 // shader patching to implement OpenGL basic line rasterization rules. This feature will28 "Enable the use of pixel shader patching to implement OpenGL basic line "
46 with an `_`. Monkey patching private API that were not designed to be
52 """Object to manage temporary patching of xml.dom.minidom."""
45 - when_writing("Patching Makefile.in") {
25 // This GM exercises the blurred rect nine-patching special cases when the
85 echo "Patching PCRE"
101 debug('patching connection write() output buffer with updated header');
2 # Test tools for mocking and patching.1303 for patching in patched.patchings:1304 arg = exit_stack.enter_context(patching)1305 if patching.attribute_name is not None:1307 elif patching.new is DEFAULT:1414 # If we're patching out a class and there is a spec1495 for patching in self.additional_patchers:1496 arg = self._exit_stack.enter_context(patching)1497 if patching.new is DEFAULT:1694 patching applies to the indented block after the with statement. If you
135 that the debugging user wants us to stop on. When patching mallwatch,