- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for addr (0.35 sec)
-
guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// This function adds the holder's value to the input value. Function<Integer, Integer> adder = new Function<Integer, Integer>() { @Override public Integer apply(Integer from) { return from + holder.value; } }; // Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
if (map.recordsAccess()) { entry.setAccessTime(now); } if (map.recordsWrite()) { entry.setWriteTime(now); } accessQueue.add(entry); writeQueue.add(entry); } /** * Drains the recency queue, updating eviction metadata that the entries therein were read in
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 150.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java
// This function adds the holder's value to the input value. Function<Integer, Integer> adder = new Function<Integer, Integer>() { @Override public Integer apply(Integer from) { return from + holder.value; } }; // Since holder.value is 2, applying 4 should yield 6. assertEquals(6, adder.apply(4).intValue());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
} // Use a shuffled index array to ensure constant percentage of matching // characters List<Integer> list = Lists.newArrayList(); for (int i = 0; i < length; i++) { list.add(i); } Collections.shuffle(list, rand); if (forceSlow) { // Move zero index to front to force a matching character (if percent > 0) list.set(list.indexOf(0), list.get(0)); list.set(0, 0);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
@ParametricNullness C closeable, Executor closingExecutor) { checkNotNull(closingExecutor); if (closeable != null) { list.add(closeable, closingExecutor); } return closeable; } } /** * An operation that computes a result. * * @param <V> the type of the result */
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 98.5K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
if (map.recordsAccess()) { entry.setAccessTime(now); } if (map.recordsWrite()) { entry.setWriteTime(now); } accessQueue.add(entry); writeQueue.add(entry); } /** * Drains the recency queue, updating eviction metadata that the entries therein were read in
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 144.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* but it is observed to be true for OpenJDK 1.7. It also can't be guaranteed that the method * isn't inadvertently <i>oversizing</i> the returned map. * * @param expectedSize the number of entries you expect to add to the returned map * @return a new, empty {@code HashMap} with enough capacity to hold {@code expectedSize} entries * without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 159.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/CharMatcherBenchmark.java
} // Use a shuffled index array to ensure constant percentage of matching // characters List<Integer> list = Lists.newArrayList(); for (int i = 0; i < length; i++) { list.add(i); } Collections.shuffle(list, rand); if (forceSlow) { // Move zero index to front to force a matching character (if percent > 0) list.set(list.indexOf(0), list.get(0)); list.set(0, 0);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 194.8K bytes - Viewed (0)