/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | RecursiveAction.java | 176 protected abstract void compute(); in compute() method in RecursiveAction 194 compute(); in exec()
|
D | RecursiveTask.java | 86 protected abstract V compute(); in compute() method in RecursiveTask 100 result = compute(); in exec()
|
D | CountedCompleter.java | 468 public abstract void compute(); in compute() method in CountedCompleter 754 compute(); in exec()
|
D | ConcurrentHashMap.java | 1902 public V compute(K key, in compute() method in ConcurrentHashMap 4994 public final void compute() { in compute() method in ConcurrentHashMap.ForEachKeyTask 5021 public final void compute() { in compute() method in ConcurrentHashMap.ForEachValueTask 5048 public final void compute() { in compute() method in ConcurrentHashMap.ForEachEntryTask 5075 public final void compute() { in compute() method in ConcurrentHashMap.ForEachMappingTask 5103 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedKeyTask 5136 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedValueTask 5169 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedEntryTask 5203 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedMappingTask 5238 public final void compute() { in compute() method in ConcurrentHashMap.SearchKeysTask [all …]
|
D | ConcurrentMap.java | 415 default V compute(K key, in compute() method
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CountedCompleter8Test.java | 66 public void compute() { in forEach1() method in CountedCompleter8Test.Task 90 public void compute() { in forEach2() method in CountedCompleter8Test.Task 95 new Task(this, lo, mid).compute(); // direct invoke in forEach2() 114 public void compute() { in forEach3() method in CountedCompleter8Test.Task 137 public void compute() { in forEach4() method in CountedCompleter8Test.Task
|
D | ForkJoinPoolTest.java | 134 protected Integer compute() { in compute() method in ForkJoinPoolTest.FibTask 140 return (new FibTask(n - 2)).compute() + f1.join(); in compute() 162 protected Integer compute() { in compute() method in ForkJoinPoolTest.LockingFibTask 177 return f2.compute() + f1.join(); in compute()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArraysParallelSortHelpers.java | 88 public final void compute() { } in compute() method in ArraysParallelSortHelpers.EmptyCompleter 102 public final void compute() { } in compute() method in ArraysParallelSortHelpers.Relay 104 task.compute(); in onCompletion() 128 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJObject.Sorter 175 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJObject.Merger
|
D | ArrayPrefixHelpers.java | 141 public final void compute() { in compute() method in ArrayPrefixHelpers.CumulateTask 295 public final void compute() { in compute() method in ArrayPrefixHelpers.LongCumulateTask 447 public final void compute() { in compute() method in ArrayPrefixHelpers.DoubleCumulateTask 599 public final void compute() { in compute() method in ArrayPrefixHelpers.IntCumulateTask
|
/libcore/ojluni/src/test/java/util/Map/ |
D | Defaults.java | 378 assertSame(map.compute(null, (k, v) -> { in testComputeNulls() 384 assertSame(map.compute(null, (k, v) -> { in testComputeNulls() 394 assertSame(map.compute(null, (k, v) -> { in testComputeNulls() 403 assertSame(map.compute(EXTRA_KEY, (k, v) -> { in testComputeNulls() 411 assertSame(map.compute(EXTRA_KEY, (k, v) -> { in testComputeNulls() 419 assertSame(map.compute(EXTRA_KEY, (k, v) -> { in testComputeNulls() 426 assertSame(map.compute(EXTRA_KEY, (k, v) -> { in testComputeNulls() 439 assertSame(map.compute(KEYS[1], (k, v) -> { in testCompute() 445 assertNull(map.compute(KEYS[1], (k, v) -> { in testCompute() 452 assertSame(map.compute(EXTRA_KEY, (k, v) -> { in testCompute() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | CountedCompleterTest.java | 55 public void compute() { in chooseOne() method in CountedCompleterTest.Task 126 public void compute() { in completeAllChildren() method in CountedCompleterTest.Task 149 public void compute() { in completeAllChildren() method in CountedCompleterTest.MainTask
|
D | RecursiveTaskTest.java | 42 protected Integer compute() { in compute() method in RecursiveTaskTest.SumTask
|
/libcore/ojluni/src/test/java/lang/StrictMath/ |
D | FdlibmTranslit.java | 74 return Hypot.compute(x, y); in hypot() 92 public static strictfp double compute(double x) { in compute() method in FdlibmTranslit.Cbrt 162 public static double compute(double x, double y) { in compute() method in FdlibmTranslit.Hypot 307 public static strictfp double compute(double x) { in compute() method in FdlibmTranslit.Exp
|
D | ExpTests.java | 126 testExpCase(x, FdlibmTranslit.Exp.compute(x)); in testRange()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | MapDefaultMethodTester.java | 375 assertEquals(5.0, m.compute(1, (k, v) -> 5.0)); in test_compute() 380 assertEquals(11.0, m.compute(1, (k, v) -> k + v)); in test_compute() 384 assertNull(m.compute(1, (k, v) -> null)); in test_compute() 389 m.compute(1, null); in test_compute() 394 assertEquals(10.0, m.compute(null, (k, v) -> 10.0)); in test_compute() 398 m.compute(null, (k, v) -> 5.0); in test_compute()
|
D | PriorityQueueTest.java | 68 pq.forEach(element -> actual.compute(element, in forEach_followPriorityQueueInArbitraryOrder()
|
D | CollectionsTest.java | 575 Collections.unmodifiableMap(new HashMap<>()).compute(1, (k, v) -> 1.0); in test_unmodifiableMap_compute() 584 Collections.unmodifiableMap(m).compute(1, (k, v) -> 1.0); in test_unmodifiableMap_compute() 926 assertThrowsUoe(() -> { map.compute(absentKey, (k, v) -> absentValue); }); in check_unmodifiableOrderedMap_defaultMethods() 938 assertThrowsUoe(() -> { map.compute(sampleKey, (k, v) -> absentValue); }); in check_unmodifiableOrderedMap_defaultMethods() 1043 assertThrowsCce(() -> { map.compute(new Object(), (k, v) -> presentValue); }); in check_map_isChecked() 1044 assertThrowsCce(() -> { map.compute(presentKey, (k, v) -> new Object()); }); in check_map_isChecked() 1045 assertThrowsCce(() -> { map.compute(absentKey, (k, v) -> new Object()); }); in check_map_isChecked() 1266 Collections.emptyMap().compute(1, (k, v) -> 5.0); in test_EmptyMap_compute() 1343 Collections.singletonMap(1, 11.0).compute(1, (k, v) -> 5.0); in test_SingletonMap_compute() 1604 checkedMap2.compute(1, (k, v) -> NOT_A_STRING); in test_CheckedMap_compute()
|
D | LinkedHashMapTest.java | 191 m.compute("key1", (k, v) -> "value3"); in test_compute() 199 m.compute("key4", (k, v) -> "value4"); in test_compute()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | AbstractShortCircuitTask.java | 101 public void compute() { in compute() method in AbstractShortCircuitTask
|
D | AbstractTask.java | 291 public void compute() { in compute() method in AbstractTask
|
D | ForEachOps.java | 279 public void compute() { in compute() method in ForEachOps.ForEachTask 399 public final void compute() { in compute() method in ForEachOps.ForEachOrderedTask
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 85 perms.compute(up.getName(), in add()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ForkJoinPoolTest.java | 116 protected Integer compute() { in compute() method in ForkJoinPoolTest.FibTask 122 return (new FibTask(n - 2)).compute() + f1.join(); in compute() 144 protected Integer compute() { in compute() method in ForkJoinPoolTest.LockingFibTask 159 return f2.compute() + f1.join(); in compute()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 79 @libcore.util.Nullable public V compute(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNul… in compute() method in HashMap
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? … in compute() method in Provider
|