Home
last modified time | relevance | path

Searched refs:compute (Results 1 – 25 of 57) sorted by relevance

123

/libcore/ojluni/src/main/java/java/util/concurrent/
DRecursiveAction.java176 protected abstract void compute(); in compute() method in RecursiveAction
194 compute(); in exec()
DRecursiveTask.java86 protected abstract V compute(); in compute() method in RecursiveTask
100 result = compute(); in exec()
DCountedCompleter.java468 public abstract void compute(); in compute() method in CountedCompleter
754 compute(); in exec()
DConcurrentHashMap.java1902 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 …]
DConcurrentMap.java415 default V compute(K key, in compute() method
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCountedCompleter8Test.java66 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
DForkJoinPoolTest.java134 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/
DArraysParallelSortHelpers.java88 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
DArrayPrefixHelpers.java141 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/
DDefaults.java378 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/
DCountedCompleterTest.java55 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
DRecursiveTaskTest.java42 protected Integer compute() { in compute() method in RecursiveTaskTest.SumTask
/libcore/ojluni/src/test/java/lang/StrictMath/
DFdlibmTranslit.java74 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
DExpTests.java126 testExpCase(x, FdlibmTranslit.Exp.compute(x)); in testRange()
/libcore/luni/src/test/java/libcore/java/util/
DMapDefaultMethodTester.java375 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()
DPriorityQueueTest.java68 pq.forEach(element -> actual.compute(element, in forEach_followPriorityQueueInArbitraryOrder()
DCollectionsTest.java575 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()
DLinkedHashMapTest.java191 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/
DAbstractShortCircuitTask.java101 public void compute() { in compute() method in AbstractShortCircuitTask
DAbstractTask.java291 public void compute() { in compute() method in AbstractTask
DForEachOps.java279 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/
DUnresolvedPermissionCollection.java85 perms.compute(up.getName(), in add()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java116 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/
DHashMap.annotated.java79 @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/
DProvider.annotated.java75 public synchronized java.lang.Object compute(java.lang.Object key, java.util.function.BiFunction<? … in compute() method in Provider

123