/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | RecursiveAction.java | 171 protected abstract void compute(); in compute() method in RecursiveAction 189 compute(); in exec()
|
D | RecursiveTask.java | 80 protected abstract V compute(); in compute() method in RecursiveTask 94 result = compute(); in exec()
|
D | CountedCompleter.java | 454 public abstract void compute(); in compute() method in CountedCompleter 732 compute(); in exec()
|
D | ConcurrentHashMap.java | 1896 public V compute(K key, in compute() method in ConcurrentHashMap 4981 public final void compute() { in compute() method in ConcurrentHashMap.ForEachKeyTask 5008 public final void compute() { in compute() method in ConcurrentHashMap.ForEachValueTask 5035 public final void compute() { in compute() method in ConcurrentHashMap.ForEachEntryTask 5062 public final void compute() { in compute() method in ConcurrentHashMap.ForEachMappingTask 5090 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedKeyTask 5123 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedValueTask 5156 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedEntryTask 5190 public final void compute() { in compute() method in ConcurrentHashMap.ForEachTransformedMappingTask 5225 public final void compute() { in compute() method in ConcurrentHashMap.SearchKeysTask [all …]
|
D | ConcurrentMap.java | 417 default V compute(K key, in compute() method
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArraysParallelSortHelpers.java | 92 public final void compute() { } in compute() method in ArraysParallelSortHelpers.EmptyCompleter 105 public final void compute() { } in compute() method in ArraysParallelSortHelpers.Relay 107 task.compute(); in onCompletion() 126 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJObject.Sorter 167 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJObject.Merger 245 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJByte.Sorter 282 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJByte.Merger 356 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJChar.Sorter 393 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJChar.Merger 467 public final void compute() { in compute() method in ArraysParallelSortHelpers.FJShort.Sorter [all …]
|
D | ArrayPrefixHelpers.java | 136 public final void compute() { in compute() method in ArrayPrefixHelpers.CumulateTask 288 public final void compute() { in compute() method in ArrayPrefixHelpers.LongCumulateTask 438 public final void compute() { in compute() method in ArrayPrefixHelpers.DoubleCumulateTask 588 public final void compute() { in compute() method in ArrayPrefixHelpers.IntCumulateTask
|
D | Map.java | 1163 default V compute(K key, in compute() method
|
D | Collections.java | 1592 public V compute(K key, 2731 public V compute(K key, 2733 synchronized (mutex) {return m.compute(key, remappingFunction);} 3758 public V compute(K key, 3760 return m.compute(key, typeCheck(remappingFunction)); 4696 public V compute(K key, 5008 public V compute(K key,
|
/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 | 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/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()
|
D | RecursiveTaskTest.java | 204 return (new FibTask(n - 2)).compute() + f1.join(); in realCompute() 217 public Integer compute() { in compute() method in RecursiveTaskTest.FailingFibTask 223 return (new FibTask(n - 2)).compute() + f1.join(); in compute()
|
D | ConcurrentHashMap8Test.java | 113 map.compute(six, (x, y) -> null); in testCompute() 122 assertEquals("Z", map.compute(six, (x, y) -> "Z")); in testCompute2() 130 assertEquals("Z", map.compute(one, (x, y) -> "Z")); in testCompute3() 138 map.compute(one, (x, y) -> null); in testCompute4()
|
D | ForkJoinPool8Test.java | 209 public void compute() { in compute() method in ForkJoinPool8Test.FailingFibAction 874 public final void compute() { in compute() method in ForkJoinPool8Test.CCF 928 public final void compute() { in compute() method in ForkJoinPool8Test.FailingCCF
|
D | JSR166TestCase.java | 1717 @Override protected final void compute() { 1732 @Override protected final T compute() {
|
D | RecursiveActionTest.java | 198 public void compute() { in compute() method in RecursiveActionTest.FailingFibAction 1213 protected void compute() { in compute() method in RecursiveActionTest.SortTask
|
/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
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 513 public synchronized Object compute(Object key, in compute() method in Provider 825 legacyStrings.compute((String) key, in implCompute() 830 return super.compute(key, remappingFunction); in implCompute()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 848 public V compute( in compute() method in Collections.CheckedMap 1724 public V compute( in compute() method in Collections.EmptyMap 2104 public V compute( in compute() method in Collections.SingletonMap 2486 public V compute( in compute() method in Collections.SynchronizedMap 3145 public V compute( in compute() method in Collections.UnmodifiableMap
|