Home
last modified time | relevance | path

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

12

/libcore/ojluni/src/main/java/java/util/concurrent/
DRecursiveAction.java171 protected abstract void compute(); in compute() method in RecursiveAction
189 compute(); in exec()
DRecursiveTask.java80 protected abstract V compute(); in compute() method in RecursiveTask
94 result = compute(); in exec()
DCountedCompleter.java454 public abstract void compute(); in compute() method in CountedCompleter
732 compute(); in exec()
DConcurrentHashMap.java1896 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 …]
DConcurrentMap.java417 default V compute(K key, in compute() method
/libcore/ojluni/src/main/java/java/util/
DArraysParallelSortHelpers.java92 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 …]
DArrayPrefixHelpers.java136 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
DMap.java1135 default V compute(K key, in compute() method
DCollections.java1592 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/
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()
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/
DAbstractTask.java291 public void compute() { in compute() method in AbstractTask
DAbstractShortCircuitTask.java101 public void compute() { in compute() method in AbstractShortCircuitTask
DForEachOps.java279 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/
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()
DRecursiveTaskTest.java204 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()
DConcurrentHashMap8Test.java113 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()
DForkJoinPool8Test.java209 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
DJSR166TestCase.java1717 @Override protected final void compute() {
1732 @Override protected final T compute() {
DRecursiveActionTest.java198 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/
DHashMap.annotated.java79 @libcore.util.Nullable public V compute(@libcore.util.NullFromTypeParam K key, @libcore.util.NonNul… in compute() method in HashMap
DMap.annotated.java80 @libcore.util.Nullable public default V compute(@libcore.util.NullFromTypeParam K key, @libcore.uti… in compute() method
/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
/libcore/ojluni/src/main/java/java/security/
DProvider.java513 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()

12