HomeSort by relevance Sort by last modified time
    Searched refs:lambda (Results 401 - 425 of 2665) sorted by null

<<11121314151617181920>>

  /external/autotest/server/site_tests/firmware_ECUpdateId/
firmware_ECUpdateId.py 62 reboot = lambda: self.faft_client.ec.reboot_to_switch_slot()
131 lambda:self.set_ec_write_protect_and_reboot(False))
139 lambda:self.set_ec_write_protect_and_reboot(True))
  /external/autotest/server/site_tests/network_WiFi_PMKSACaching/
network_WiFi_PMKSACaching.py 33 is_requested_bss = lambda iw_bss: iw_bss.bss == bssid
66 condition=lambda: self.dut_sees_bss(bssid1),
83 condition=lambda: pinger.simple_ping(
  /external/autotest/server/site_tests/network_WiFi_Reset/
network_WiFi_Reset.py 141 need_reboot=lambda: not self.mwifiex_reset_exists(),
146 need_reboot=lambda: not self.ath10k_reset_exists(),
151 need_reboot=lambda: not self.iwlwifi_reset_exists(),
  /external/chromium-trace/catapult/devil/devil/utils/
reraiser_thread_unittest.py 108 results = reraiser_thread.RunAsync([lambda: 1])
112 a, b = reraiser_thread.RunAsync((lambda: 1, lambda: 2))
  /external/deqp/modules/gles2/scripts/
gen-swizzles.py 103 return [tuple(map(lambda x: x[0], self.lists))]
256 swizzle = "".join(map(lambda x: swizzleComponents[x], swizzleIndices))
260 outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
269 # swizzle = "".join(map(lambda x: "xyzw"[x], swizzleIndices))
273 # outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
  /external/deqp/modules/gles3/scripts/
gen-swizzles.py 103 return [tuple(map(lambda x: x[0], self.lists))]
260 swizzle = "".join(map(lambda x: swizzleComponents[x], swizzleIndices))
264 outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
273 # swizzle = "".join(map(lambda x: "xyzw"[x], swizzleIndices))
277 # outputs = map(lambda x: x.swizzle(swizzleIndices), inputs)
  /external/protobuf/python/google/protobuf/
service_reflection.py 149 cls.GetDescriptor = staticmethod(lambda: self.descriptor)
215 return lambda inst, rpc_controller, request, callback: (
266 return (lambda inst, rpc_controller, request, callback=None:
  /external/python/cpython2/Lib/test/
test_docxmlrpc.py 12 return lambda func: func
51 serv.register_function(lambda x, y: x-y)
98 """Test that lambda functionality stays the same. The output produced
100 HTML, "<lambda>".
102 The subtraction lambda method is tested.
107 self.assertIn('<dl><dt><a name="-&lt;lambda&gt;"><strong>'
108 '&lt;lambda&gt;</strong></a>(x, y)</dt></dl>',
  /external/python/cpython2/Lib/unittest/test/
test_discovery.py 42 os.listdir = lambda path: path_lists.pop(0)
56 loader._get_module_from_name = lambda path: path + ' module'
57 loader.loadTestsFromModule = lambda module: module + ' tests'
84 os.listdir = lambda path: path_lists.pop(0)
87 os.path.isdir = lambda path: True
90 os.path.isfile = lambda path: os.path.basename(path) not in directories
112 loader._get_module_from_name = lambda name: Module(name)
142 os.path.isfile = lambda path: False
157 os.path.isfile = lambda path: True
158 os.path.isdir = lambda path: Tru
    [all...]
  /external/python/cpython3/Lib/test/
test_docxmlrpc.py 12 return lambda func: func
59 serv.register_function(lambda x, y: x-y)
108 """Test that lambda functionality stays the same. The output produced
110 HTML, "<lambda>".
112 The subtraction lambda method is tested.
117 self.assertIn((b'<dl><dt><a name="-&lt;lambda&gt;"><strong>'
118 b'&lt;lambda&gt;</strong></a>(x, y)</dt></dl>'),
  /external/python/cpython3/Lib/test/test_json/
test_decode.py 28 self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p)
30 object_pairs_hook=lambda x: x), p)
36 object_hook=lambda x: None),
  /external/scapy/scapy/contrib/
rsvp.py 152 fields_desc = [StrLenField("Data","",length_from= lambda pkt:pkt.underlayer.Length - 4)]
177 StrLenField("Tokens","",length_from= lambda pkt:pkt.underlayer.Length - 12) ]
194 StrLenField("Name","",length_from= lambda pkt:pkt.underlayer.Length - 8),
  /external/tensorflow/tensorflow/contrib/integrate/python/ops/
odes.py 361 y_next = control_flow_ops.cond(accept_step, lambda: y1, lambda: y0)
362 f_next = control_flow_ops.cond(accept_step, lambda: f1, lambda: f0)
363 t_next = control_flow_ops.cond(accept_step, lambda: t0 + dt, lambda: t0)
365 accept_step, lambda: _interp_fit_rk(y0, y1, k, dt),
366 lambda: interp_coeff)
381 lambda rk_state, *_: t[i] > rk_state.t1,
403 lambda _, __, ___, i: i < num_times
    [all...]
  /external/tensorflow/tensorflow/contrib/mixed_precision/python/
loss_scale_manager.py 168 lambda: self._loss_scale * self._incr_ratio,
169 lambda: self._loss_scale)
177 lambda: state_ops.assign_add(self._num_good_steps, 1).op)
  /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
map_vectorization_test.py 61 ("Acosh", lambda x: math_ops.acosh(1 + math_ops.square(x))),
284 c = lambda i: math_ops.less(i, 10)
285 b = lambda i: math_ops.add(i, 1)
290 ("Basic", lambda x: (x, x + 1), base_dataset_factory),
291 ("Broadcast", lambda x: x + rand_val, base_dataset_factory),
292 ("Cycle", map_fn_with_cycle, lambda: dataset_ops.Dataset.from_tensors(1)),
293 ("Const", lambda x: 2, base_dataset_factory),
294 ("Cast", lambda x: math_ops.cast(x, dtypes.float64),
296 ("Reshape", lambda x: array_ops.reshape(x, (-1, 30)),
300 ("UnpackNegativeAxis", lambda x: array_ops.unstack(x, axis=-1)
    [all...]
  /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
flat_map_dataset_serialization_test.py 46 self.run_core_tests(lambda: build_ds(0), lambda: build_ds(10), 25)
85 lambda _: dataset_ops.Dataset.from_tensor_slices([test_var]))
  /external/tensorflow/tensorflow/python/data/util/
nest_test.py 236 structure1_plus1 = nest.map_structure(lambda x: x + 1, structure1)
242 lambda x, y: x + y, structure1, structure2)
247 self.assertEqual(3, nest.map_structure(lambda x: x - 1, 4))
249 self.assertEqual(7, nest.map_structure(lambda x, y: x + y, 3, 4))
255 nest.map_structure(lambda x, y: None, 3, (3,))
258 nest.map_structure(lambda x, y: None, ((3, 4), 5), {"a": (3, 4), "b": 5})
261 nest.map_structure(lambda x, y: None, ((3, 4), 5), (3, (4, 5)))
264 nest.map_structure(lambda x, y: None, ((3, 4), 5), (3, (4, 5)),
268 nest.map_structure(lambda x: None, structure1, foo="a")
271 nest.map_structure(lambda x: None, structure1, check_types=False, foo="a"
    [all...]
  /external/tensorflow/tensorflow/python/keras/engine/
training_gpu_test.py 47 loss = lambda y_true, y_pred: K.sparse_categorical_crossentropy( # pylint: disable=g-long-lambda
52 loss = lambda y_true, y_pred: K.categorical_crossentropy( # pylint: disable=g-long-lambda
57 loss = lambda y_true, y_pred: K.binary_crossentropy(y_true, y_pred) # pylint: disable=unnecessary-lambda
  /external/v8/tools/clusterfuzz/
v8_foozzie_test.py 27 assert all(map(lambda x: x[1] in CONFIGS, EXPERIMENTS))
28 assert all(map(lambda x: x[2] in CONFIGS, EXPERIMENTS))
29 assert all(map(lambda x: x[3].endswith('d8'), EXPERIMENTS))
  /external/python/cpython3/Lib/sqlite3/test/
hooks.py 33 con.create_collation(None, lambda x, y: (x > y) - (x < y))
44 con.create_collation("coll?", lambda x, y: (x > y) - (x < y))
51 mycoll = lambda x, y: -((x > y) - (x < y))
115 con.create_collation("mycoll", lambda x, y: (x > y) - (x < y))
116 con.create_collation("mycoll", lambda x, y: -((x > y) - (x < y)))
129 con.create_collation("mycoll", lambda x, y: (x > y) - (x < y))
  /external/python/cpython3/Tools/importbench/
importbench.py 20 def bench(name, cleanup=lambda: None, *, seconds=1, repeat=3):
57 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
73 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
88 yield from bench(name, lambda: sys.modules.pop(name),
145 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
154 yield from bench(name, lambda: sys.modules.pop(name), repeat=repeat,
  /external/python/setuptools/pkg_resources/_vendor/packaging/
markers.py 105 VARIABLE.setParseAction(lambda s, l, t: Variable(ALIASES.get(t[0], t[0])))
119 MARKER_OP.setParseAction(lambda s, l, t: Op(t[0]))
122 MARKER_VALUE.setParseAction(lambda s, l, t: Value(t[0]))
129 MARKER_ITEM.setParseAction(lambda s, l, t: tuple(t[0]))
172 "in": lambda lhs, rhs: lhs in rhs,
173 "not in": lambda lhs, rhs: lhs not in rhs,
  /external/python/setuptools/setuptools/_vendor/packaging/
markers.py 105 VARIABLE.setParseAction(lambda s, l, t: Variable(ALIASES.get(t[0], t[0])))
119 MARKER_OP.setParseAction(lambda s, l, t: Op(t[0]))
122 MARKER_VALUE.setParseAction(lambda s, l, t: Value(t[0]))
129 MARKER_ITEM.setParseAction(lambda s, l, t: tuple(t[0]))
172 "in": lambda lhs, rhs: lhs in rhs,
173 "not in": lambda lhs, rhs: lhs not in rhs,
  /external/tensorflow/tensorflow/python/autograph/impl/
conversion_test.py 143 f = lambda x: b * x if x > 0 else -x
149 self.assertIsInstance(fn_node.value, gast.Lambda)
155 f, _ = (lambda x: a * x, lambda y: b * y)
161 self.assertIsInstance(fn_node.value, gast.Lambda)
167 f, _ = (lambda x: a * x, lambda x: b * x)
174 # pylint:disable=g-long-lambda
176 lambda x: (x # intentional wrap
178 # pylint:enable=g-long-lambda
    [all...]
  /art/tools/checker/file_format/c1visualizer/
parser.py 84 fnProcessLine = lambda line, lineNo: __parseC1Line(line, lineNo, state, fileName)
85 fnLineOutsideChunk = lambda line, lineNo: \

Completed in 1113 milliseconds

<<11121314151617181920>>