- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 367 for jest (0.13 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
* previously at {@code src} has already been removed from the data structures. */ private void moveEntryToIndex(int src, int dest) { if (src == dest) { return; } int predecessor = prevInInsertionOrder[src]; int successor = nextInInsertionOrder[src]; setSucceeds(predecessor, dest); setSucceeds(dest, successor);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Mar 06 16:06:58 GMT 2023 - 36.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
* * @param string the string to test and possibly return * @return {@code string} itself if it is non-null; {@code ""} if it is null */ public static String nullToEmpty(@CheckForNull String string) { return Platform.nullToEmpty(string); } /** * Returns the given string if it is nonempty; {@code null} otherwise. * * @param string the string to test and possibly return
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return freshness.get(); } @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here? @Generates Integer generateInteger() { return new Integer(generateInt()); } @Generates long generateLong() { return generateInt(); } @SuppressWarnings("removal") // b/321209431 -- maybe just use valueOf here? @Generates Long generateLongObject() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
setDelays(); } /** * Extra checks that get done for all test cases. * * <p>Triggers test case failure if any thread assertions have failed, by rethrowing, in the test * harness thread, any exception recorded earlier by threadRecordFailure. * * <p>Triggers test case failure if interrupt status is set in the main thread. */ @Override public void tearDown() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
// of dealing with the fact that one of the assertions is @GwtIncompatible but we don't want to // have to have duplicate @GwtIncompatible test methods just to make that assertion. for (AssertFailsToDecodeStrategy strategy : AssertFailsToDecodeStrategy.values()) { strategy.assertFailsToDecode(encoding, cannotDecode, expectedMessage); } }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Aug 25 16:34:08 GMT 2022 - 24.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableIntArray.java
* * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}. */ // Use (first, rest) so that `of(someIntArray)` won't compile (they should use copyOf), which is // okay since we have to copy the just-created array anyway. public static ImmutableIntArray of(int first, int... rest) { checkArgument(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
*/ public static HashFunction concatenating( HashFunction first, HashFunction second, HashFunction... rest) { // We can't use Lists.asList() here because there's no hash->collect dependency List<HashFunction> list = new ArrayList<>(); list.add(first); list.add(second); Collections.addAll(list, rest); return new ConcatenatedHashFunction(list.toArray(new HashFunction[0])); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 09 00:37:15 GMT 2024 - 29.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java
* * <p>The array {@code rest} must not be longer than {@code Integer.MAX_VALUE - 1}. */ // Use (first, rest) so that `of(someDoubleArray)` won't compile (they should use copyOf), which // is okay since we have to copy the just-created array anyway. public static ImmutableDoubleArray of(double first, double... rest) { checkArgument(
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 19.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); assertTrue("Creator should have been called @#" + i, loader.wasCalled()); } // expire new values we just created CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); assertEquals("Eviction notifications must be received", 21, removalListener.getCount());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 18.7K bytes - Viewed (0)