/external/webrtc/webrtc/base/ |
random.cc | 81 double Random::Exponential(double lambda) { 83 return -log(uniform) / lambda;
|
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
learning_rate_controller-inl.h | 43 void SetLambda(double lambda) { 44 lambda_ = lambda;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_anon.py | 26 lambda: type(Structure)("Name", 33 lambda: type(Structure)("Name",
|
test_pickling.py | 55 self.assertRaises(ValueError, lambda: self.dumps(Y())) 65 prototype(lambda: 42), 67 self.assertRaises(ValueError, lambda: self.dumps(item))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_print.py | 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args), 32 lambda args, sep, end, file: print(sep=sep, file=file, *args), 34 lambda args, sep, end, file: print(sep=sep, end=end, *args), 36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
|
test_scope.py | 238 f = lambda x:x 254 f1 = lambda x: lambda y: x + y 260 f2 = lambda x: (lambda : lambda y: x + y)() 266 f3 = lambda x: lambda y: global_x + y 271 f8 = lambda x, y, z: lambda a, b, c: lambda : z * (b + y [all...] |
test_gdbm.py | 32 self.assertRaises(KeyError, lambda: self.g['xxx']) 41 self.assertRaises(gdbm.error, lambda: self.g['a']) 43 self.assertRaises(gdbm.error, lambda: gdbm.open(filename, 'rx').close())
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_anon.py | 26 lambda: type(Structure)("Name", 33 lambda: type(Structure)("Name",
|
test_pickling.py | 55 self.assertRaises(ValueError, lambda: self.dumps(Y())) 65 prototype(lambda: 42), 67 self.assertRaises(ValueError, lambda: self.dumps(item))
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_print.py | 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args), 32 lambda args, sep, end, file: print(sep=sep, file=file, *args), 34 lambda args, sep, end, file: print(sep=sep, end=end, *args), 36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
|
test_scope.py | 238 f = lambda x:x 254 f1 = lambda x: lambda y: x + y 260 f2 = lambda x: (lambda : lambda y: x + y)() 266 f3 = lambda x: lambda y: global_x + y 271 f8 = lambda x, y, z: lambda a, b, c: lambda : z * (b + y [all...] |
/prebuilts/misc/common/swig/include/2.0.11/chicken/ |
swigclosprefix.scm | 30 (lambda (o) (getter (slot-ref o 'swig-this))) 31 (lambda (o new) (setter (slot-ref o 'swig-this) new) new)))))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_anon.py | 26 lambda: type(Structure)("Name", 33 lambda: type(Structure)("Name",
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_print.py | 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args), 32 lambda args, sep, end, file: print(sep=sep, file=file, *args), 34 lambda args, sep, end, file: print(sep=sep, end=end, *args), 36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
|
test_scope.py | 238 f = lambda x:x 254 f1 = lambda x: lambda y: x + y 260 f2 = lambda x: (lambda : lambda y: x + y)() 266 f3 = lambda x: lambda y: global_x + y 271 f8 = lambda x, y, z: lambda a, b, c: lambda : z * (b + y [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_anon.py | 26 lambda: type(Structure)("Name", 33 lambda: type(Structure)("Name",
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_print.py | 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args), 32 lambda args, sep, end, file: print(sep=sep, file=file, *args), 34 lambda args, sep, end, file: print(sep=sep, end=end, *args), 36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
|
test_scope.py | 238 f = lambda x:x 254 f1 = lambda x: lambda y: x + y 260 f2 = lambda x: (lambda : lambda y: x + y)() 266 f3 = lambda x: lambda y: global_x + y 271 f8 = lambda x, y, z: lambda a, b, c: lambda : z * (b + y [all...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/ |
proxyshaper_test.py | 63 request_counter = lambda: 1 75 request_counter = lambda: 1 88 request_counter = lambda: request_count 101 request_counter = lambda: 1 115 request_counter = lambda: request_count
|
/external/deqp/scripts/ |
testset.py | 227 FilterRule("all-pass", "All results must be 'Pass'", [lambda l: all(l, lambda r: r == 'Pass')]), 228 FilterRule("any-pass", "Any of results is 'Pass'", [lambda l: any(l, lambda r: r == 'Pass')]), 229 FilterRule("any-fail", "Any of results is not 'Pass' or 'NotSupported'", [lambda l: not all(l, lambda r: r == 'Pass' or r == 'NotSupported')]), 230 FilterRule("prev-failing", "Any except last result is failure", [lambda l: l[-1] == 'Pass' and not all(l[:-1], lambda r: r == 'Pass')]), 231 FilterRule("prev-passing", "Any except last result is 'Pass'", [lambda l: l[-1] != 'Pass' and any(l[:-1], lambda r: r == 'Pass')] [all...] |
/art/test/971-iface-super/util-src/ |
generate_java.py | 90 filters = (lambda a: a.is_default(), lambda a: not a.is_default()) 91 converters = (lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.default)), 92 lambda a: JavaConverter(a.get_specific_version(base.InterfaceType.empty))) 96 tops = set(filter(lambda a: iface_filter(a) and not any(map(lambda i: a in i.get_super_types(), ifaces)), ifaces)) 104 overrides = functools.reduce(operator.or_, map(lambda i: i.get_super_types(), tops), set())
|
/external/autotest/site_utils/ |
devserver_history.py | 124 calls = sorted(calls, key=lambda c: c.devserver) 125 for devserver,calls_for_devserver in groupby(calls, lambda c: c.devserver): 135 key=lambda c: c.time_recorded): 146 calls = sorted(calls, key=lambda c: c.image) 151 for image,calls_for_image in groupby(calls, lambda c: c.image): 158 calls_for_image = sorted(calls_for_image, key=lambda c: c.devserver) 160 lambda c: c.devserver):
|
/external/autotest/client/site_tests/desktopui_ScreenLocker/ |
desktopui_ScreenLocker.py | 77 utils.poll_for_condition(lambda: self.screenlocker_visible, 89 utils.poll_for_condition(lambda: self.error_bubble_visible, 100 lambda: not self._chrome.browser.oobe_exists,
|
/external/autotest/server/site_tests/firmware_ECWriteProtect/ |
firmware_ECWriteProtect.py | 54 'custom', lambda:self.set_ec_write_protect_and_reboot(True)) 68 'custom', lambda:self.sync_and_ec_reboot('hard')) 77 'custom', lambda:self.set_ec_write_protect_and_reboot(False))
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
rendering_frame.py | 36 all_begin_main_frame_events.sort(key=lambda e: e.start) 68 event_type_predicate=lambda t: t == slice_module.Slice, 84 frames.sort(key=lambda frame: frame.bounds.min)
|