/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
DoublePrimitiveOpsTests.java | 41 double sum = Arrays.asList(1.0, 2.0, 3.0, 4.0, 5.0).stream().mapToDouble(i -> i).reduce(0.0, Double::sum);
|
RangeTest.java | 133 terminal(s -> s.reduce(0, Integer::sum)).exercise(); 139 terminal(s -> s.reduce(0, Integer::sum)).exercise(); 216 terminal(s -> s.reduce(0, Long::sum)).exercise(); 222 terminal(s -> s.reduce(0, Long::sum)).exercise();
|
ReduceByOpTest.java | 57 assertEquals(entry.getValue(), data.stream().filter(e -> pEven.test(e) == key).reduce(0, rPlus));
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
ResolutionUtil.java | 277 Size aspectRatio = reduce(size); 282 * Reduce an aspect ratio to its lowest common denominator. The ratio of the 285 * @param aspectRatio the aspect ratio to reduce 288 public static Size reduce(Size aspectRatio) { method in class:ResolutionUtil 304 Size aspectRatio = reduce(size); 317 Size aspectRatio = reduce(size);
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-m68hc11/ |
adj-jump.s | 39 ;; Relax several insn to reduce block by 15
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_builtin.py | [all...] |
/external/python/cpython2/Lib/test/ |
test_builtin.py | [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_builtin.py | [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_builtin.py | [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_builtin.py | [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_builtin.py | [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack
299 reduce = dispatch_table.get(t)
300 if reduce:
301 rv = reduce(obj)
304 reduce = getattr(obj, "__reduce_ex__", None)
305 if reduce:
306 rv = reduce(self.proto)
308 reduce = getattr(obj, "__reduce__", None)
309 if reduce:
310 rv = reduce()
[all...] |
/external/python/cpython2/Lib/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack 290 reduce = dispatch_table.get(t) 291 if reduce: 292 rv = reduce(obj) 304 reduce = getattr(obj, "__reduce_ex__", None) 305 if reduce: 306 rv = reduce(self.proto) 308 reduce = getattr(obj, "__reduce__", None) 309 if reduce: 310 rv = reduce() [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack 290 reduce = dispatch_table.get(t) 291 if reduce: 292 rv = reduce(obj) 304 reduce = getattr(obj, "__reduce_ex__", None) 305 if reduce: 306 rv = reduce(self.proto) 308 reduce = getattr(obj, "__reduce__", None) 309 if reduce: 310 rv = reduce() [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack 290 reduce = dispatch_table.get(t) 291 if reduce: 292 rv = reduce(obj) 304 reduce = getattr(obj, "__reduce_ex__", None) 305 if reduce: 306 rv = reduce(self.proto) 308 reduce = getattr(obj, "__reduce__", None) 309 if reduce: 310 rv = reduce() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack 290 reduce = dispatch_table.get(t) 291 if reduce: 292 rv = reduce(obj) 304 reduce = getattr(obj, "__reduce_ex__", None) 305 if reduce: 306 rv = reduce(self.proto) 308 reduce = getattr(obj, "__reduce__", None) 309 if reduce: 310 rv = reduce() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
pickle.py | 116 REDUCE = 'R' # apply callable to argtuple, both on stack 290 reduce = dispatch_table.get(t) 291 if reduce: 292 rv = reduce(obj) 304 reduce = getattr(obj, "__reduce_ex__", None) 305 if reduce: 306 rv = reduce(self.proto) 308 reduce = getattr(obj, "__reduce__", None) 309 if reduce: 310 rv = reduce() [all...] |
/external/skia/tools/skpbench/ |
sheet.py | 123 lambda col: reduce(operator.add, col.values()) / len(col), 126 lambda col: reduce(operator.mul, col.values()) ** (1.0 / len(col)),
|
/external/skqp/tools/skpbench/ |
sheet.py | 123 lambda col: reduce(operator.add, col.values()) / len(col), 126 lambda col: reduce(operator.mul, col.values()) ** (1.0 / len(col)),
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
dfs_hlo_visitor_with_default.h | 149 Status HandleReduce(HloInstructionPtr reduce) override { 150 return DefaultAction(reduce);
|
/external/tensorflow/tensorflow/compiler/xla/tools/parser/ |
hlo_parser_test.cc | 306 // reduce window 320 ROOT %reduce-window = f32[13,3,8,15]{0,3,2,1} reduce-window(f32[13,12,8,15]{0,3,2,1} %operand, f32[] %constant), window={size=1x1x7x1 stride=1x4x1x1 pad=0_0x0_0x3_3x0_0}, to_apply=%add_F32.v3 325 // reduce window on scalar 339 ROOT %reduce-window = f32[] reduce-window(f32[] %constant, f32[] %constant.1), to_apply=%add_F32.v3 747 // reduce 749 "Reduce", 761 ROOT reduce = f32[8,16]{1,0} reduce(input, constant), dimensions={2}, to_apply=add_F32.v [all...] |
/external/toolchain-utils/crosperf/ |
schedv2_unittest.py | 194 reduce(lambda a, x: a + len(x[1]), 212 reduce(lambda a, x: a + len(x[1]),
|
/frameworks/base/libs/common_time/ |
clock_recovery.cpp | 64 LinearTransform::reduce(&N, &D); 68 LinearTransform::reduce(&N, &D);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
IntStream.java | 345 * int sum = integers.reduce(0, (a, b) -> a+b); 351 * int sum = integers.reduce(0, Integer::sum); 370 int reduce(int identity, IntBinaryOperator op); method in interface:IntStream 405 * @see #reduce(int, IntBinaryOperator) 407 OptionalInt reduce(IntBinaryOperator op); method in interface:IntStream 423 * <p>Like {@link #reduce(int, IntBinaryOperator)}, {@code collect} operations 454 * return reduce(0, Integer::sum); 470 * return reduce(Integer::min); 486 * return reduce(Integer::max); [all...] |
LongStream.java | 349 * long sum = integers.reduce(0, (a, b) -> a+b); 355 * long sum = integers.reduce(0, Long::sum); 374 long reduce(long identity, LongBinaryOperator op); method in interface:LongStream 409 * @see #reduce(long, LongBinaryOperator) 411 OptionalLong reduce(LongBinaryOperator op); method in interface:LongStream 427 * <p>Like {@link #reduce(long, LongBinaryOperator)}, {@code collect} operations 458 * return reduce(0, Long::sum); 474 * return reduce(Long::min); 490 * return reduce(Long::max); [all...] |