- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for ginvine (0.16 sec)
-
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
private static <K, V> LocalCache<K, V> makeLocalCache( CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { return new LocalCache<>(builder, loader); } // TODO(cpovirk): Inline createCacheBuilder()? private static CacheBuilder<Object, Object> createCacheBuilder() { return CacheBuilder.newBuilder(); } // constructor tests public void testDefaults() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 14 23:06:48 GMT 2024 - 110.7K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
} /** * Refreshes the value associated with {@code key}, unless another thread is already doing so. * Returns the newly refreshed value associated with {@code key} if it was refreshed inline, or * {@code null} if another thread is performing the refresh or if an error occurs during * refresh. */ @CanIgnoreReturnValue @CheckForNull
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) -
guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java
return inline.invokeAll(tasks, timeout, unit); } // Define the invokeAny methods to invoke the first task @Override public <T> T invokeAny(Collection<? extends Callable<T>> tasks) throws ExecutionException, InterruptedException { assertTaskWrapped(tasks); lastMethodCalled = "invokeAny"; return inline.submit(Iterables.get(tasks, 0)).get(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 9.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java
* TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that * implementations are permitted to throw IAE if a hole is requested, and we could update * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above * testLower, which could make this all unnecessary */ public static Method[] getHoleMethods() { return new Method[] {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 8.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/PercentEscaperTest.java
UnicodeEscaper e = new PercentEscaper("%", false); assertEquals("foo%7Cbar", e.escape("foo|bar")); assertEquals("foo%7Cbar", e.escape("foo%7Cbar")); // idempotent } /** Test that giving a null 'safeChars' string causes a {@link NullPointerException}. */ public void testBadArguments_null() { try { new PercentEscaper(null, false); fail("Expected null pointer exception for null parameter");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas); return ensureInUnitRange(sumOfProductsOfDeltas / Math.sqrt(productOfSumsOfSquaresOfDeltas)); } /** * Returns a linear transformation giving the best fit to the data according to <a * href="http://mathworld.wolfram.com/LeastSquaresFitting.html">Ordinary Least Squares linear
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* This is useful if the given service uses daemon threads, and we want to keep the JVM from * exiting immediately on shutdown, instead giving these daemon threads a chance to terminate * normally. * * @param service ExecutorService which uses daemon threads * @param terminationTimeout how long to wait for the executor to finish before terminating the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 41.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
if (forwardComparator == null) { return (Comparator) Ordering.natural().reverse(); } else { return reverse(forwardComparator); } } // If we inline this, we get a javac error. private static <T extends @Nullable Object> Ordering<T> reverse(Comparator<T> forward) { return Ordering.from(forward).reverse(); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 77.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
localDelegate.execute(this); } } finally { // Important to null this out here - if we did *not* execute inline, we might still // run() on the same thread that called execute() - such as in a thread pool, and think // that it was happening inline. As a side benefit, avoids holding on to the Thread object // longer than necessary. submitting = null; } }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 01 21:46:34 GMT 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/SipHashFunctionTest.java
private static final HashFunction SIP_WITHOUT_KEY = Hashing.sipHash24(); // These constants were originally ported from https://www.131002.net/siphash/siphash24.c. See: // https://github.com/nahi/siphash-java-inline/blob/master/src/test/java/org/jruby/util/SipHashInlineTest.java private static final long[] EXPECTED = new long[] { 0x726fdb47dd0e0e31L, 0x74f839c593dc67fdL, 0x0d6c8009d9a94f5aL,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Sun May 05 18:02:35 GMT 2019 - 6.6K bytes - Viewed (0)