HomeSort by relevance Sort by last modified time
    Searched refs:functools (Results 1 - 25 of 369) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/python/cpython3/Lib/encodings/
cp65001.py 6 import functools
13 encode = functools.partial(codecs.code_page_encode, 65001)
14 _decode = functools.partial(codecs.code_page_decode, 65001)
  /external/chromium-trace/catapult/common/py_utils/py_utils/refactor/
__init__.py 11 import functools
27 transform = functools.partial(_TransformFile, transform)
  /external/chromium-trace/catapult/common/py_utils/py_utils/
retry_util.py 4 import functools
41 @functools.wraps(f)
  /external/tensorflow/tensorflow/python/util/
keyword_args.py 22 import functools
45 @functools.wraps(func)
tf_should_use.py 20 import functools
85 functools.wraps(method)(override_method(method)))
88 wrapped.__doc__ = x.__doc__ # functools.wraps fails on some objects.
  /external/python/futures/
crawl.py 3 import functools
58 functools.partial(download_urls_sequential, URLS)),
60 functools.partial(download_urls_with_executor,
64 functools.partial(download_urls_with_executor,
  /external/tensorflow/tensorflow/python/estimator/
util_test.py 21 import functools
60 wrapped_fn = functools.partial(fn, test_arg=123)
72 wrapped_fn = functools.partial(fn, 123)
88 wrapped_fn = functools.partial(fn, test_arg2=456)
89 double_wrapped_fn = functools.partial(wrapped_fn, test_arg1=123)
102 wrapped_fn = functools.partial(fn, test_arg2=456)
103 double_wrapped_fn = functools.partial(wrapped_fn, 123)
119 wrapped_fn = functools.partial(fn, 123) # binds to test_arg1
120 double_wrapped_fn = functools.partial(wrapped_fn, 456) # binds to test_arg2
util.py 22 import functools
41 fn: Function, or function-like object (e.g., result of `functools.partial`).
49 if isinstance(fn, functools.partial):
  /external/tensorflow/tensorflow/contrib/framework/python/framework/
experimental.py 21 import functools
58 @functools.wraps(func)
  /external/autotest/client/cros/cellular/pseudomodem/
utils.py 7 import functools
37 @functools.wraps(func)
116 @functools.wraps(return_cb)
135 @functools.wraps(raise_cb)
  /external/tensorflow/tensorflow/contrib/layers/python/layers/
summaries.py 21 import functools
152 summarize_variables = functools.partial(summarize_collection,
155 summarize_weights = functools.partial(summarize_collection,
158 summarize_biases = functools.partial(summarize_collection, ops.GraphKeys.BIASES)
  /external/autotest/client/common_lib/
decorators.py 5 import functools
46 @functools.wraps(func)
51 We use functools.wraps does some magic so that the function
  /external/brotli/python/tests/
decompressor_test.py 6 import functools
34 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
compressor_test.py 6 import functools
44 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
55 read_chunk = functools.partial(in_file.read, self.CHUNK_SIZE)
  /external/clang/tools/scan-build-py/libscanbuild/
__init__.py 60 import functools
63 @functools.wraps(function)
  /external/tensorflow/tensorflow/contrib/summary/
summary_test_internal.py 21 import functools
39 self.create_db_writer = functools.partial(
  /frameworks/rs/tests/lldb/tests/harness/
decorators.py 17 import functools
45 @functools.wraps(func)
150 @functools.wraps(func)
  /test/vts/runners/host/
signals.py 19 import functools
32 @functools.wraps(func)
  /tools/test/connectivity/acts/framework/acts/
signals.py 19 import functools
31 @functools.wraps(func)
  /external/tensorflow/tensorflow/contrib/signal/python/kernel_tests/
window_ops_test.py 21 import functools
84 functools.partial(_scipy_raised_cosine, a=0.5, b=0.5),
93 functools.partial(_scipy_raised_cosine, a=0.54, b=0.46),
  /external/v8/gypfiles/
landmine_utils.py 6 import functools
17 @functools.wraps(func)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_functools.py 1 import functools
30 thetype = functools.partial
154 class PartialSubclass(functools.partial):
171 assigned=functools.WRAPPER_ASSIGNMENTS,
172 updated=functools.WRAPPER_UPDATES):
190 functools.update_wrapper(wrapper, f)
212 functools.update_wrapper(wrapper, f, (), ())
228 functools.update_wrapper(wrapper, f, assign, update)
239 functools.update_wrapper(wrapper, max)
250 @functools.wraps(f)
    [all...]
  /external/python/cpython2/Lib/test/
test_functools.py 2 import functools
41 partial = functools.partial
290 class PartialSubclass(functools.partial):
318 assigned=functools.WRAPPER_ASSIGNMENTS,
319 updated=functools.WRAPPER_UPDATES):
337 functools.update_wrapper(wrapper, f)
359 functools.update_wrapper(wrapper, f, (), ())
375 functools.update_wrapper(wrapper, f, assign, update)
387 functools.update_wrapper(wrapper, max)
398 @functools.wraps(f
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_functools.py 1 import functools
30 thetype = functools.partial
171 class PartialSubclass(functools.partial):
189 assigned=functools.WRAPPER_ASSIGNMENTS,
190 updated=functools.WRAPPER_UPDATES):
208 functools.update_wrapper(wrapper, f)
230 functools.update_wrapper(wrapper, f, (), ())
246 functools.update_wrapper(wrapper, f, assign, update)
258 functools.update_wrapper(wrapper, max)
269 @functools.wraps(f
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_functools.py 1 import functools
30 thetype = functools.partial
171 class PartialSubclass(functools.partial):
189 assigned=functools.WRAPPER_ASSIGNMENTS,
190 updated=functools.WRAPPER_UPDATES):
208 functools.update_wrapper(wrapper, f)
230 functools.update_wrapper(wrapper, f, (), ())
246 functools.update_wrapper(wrapper, f, assign, update)
258 functools.update_wrapper(wrapper, max)
269 @functools.wraps(f
    [all...]

Completed in 1959 milliseconds

1 2 3 4 5 6 7 8 91011>>