- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 170 for PASS (0.41 sec)
-
guava/src/com/google/common/base/Joiner.java
* * <ul> * <li>To output a separate entry for each key-value pair, pass {@code multimap.entries()} to a * {@code MapJoiner} method that accepts entries as input, and receive output of the form * {@code key1=A&key1=B&key2=C}. * <li>To output a single entry for each key, pass {@code multimap.asMap()} to a {@code
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Dec 15 19:31:54 UTC 2023 - 18.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java
k1 = mixK1(k1); h1 ^= k1; } return fmix(h1, Chars.BYTES * input.length()); } @SuppressWarnings("deprecation") // need to use Charsets for Android tests to pass @Override public HashCode hashString(CharSequence input, Charset charset) { if (Charsets.UTF_8.equals(charset)) { int utf16Length = input.length(); int h1 = seed; int i = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingFuture.java
return delegate().get(timeout, unit); } // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor /** * A simplified version of {@link ForwardingFuture} where subclasses can pass in an already * constructed {@link Future} as the delegate. * * @since 9.0 */ public abstract static class SimpleForwardingFuture<V extends @Nullable Object> extends ForwardingFuture<V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 04 12:28:17 UTC 2022 - 3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingFuture.java
return delegate().get(timeout, unit); } // TODO(cpovirk): Use standard Javadoc form for SimpleForwarding* class and constructor /** * A simplified version of {@link ForwardingFuture} where subclasses can pass in an already * constructed {@link Future} as the delegate. * * @since 9.0 */ public abstract static class SimpleForwardingFuture<V extends @Nullable Object> extends ForwardingFuture<V> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Mar 04 12:28:17 UTC 2022 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* verify() method, which is called after each sequence and is guaranteed to be called * using the latest values obtained from {@link IteratorTester#newTargetIterator()}. * * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/JdkBackedImmutableMap.java
Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n); // If duplicates are allowed, this map will track the last value for each duplicated key. // A second pass will retain only the first entry for that key, but with this last value. The // value will then be replaced by null, signaling that later entries with the same key should // be deleted.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/TopKSelector.java
minThresholdPosition = pivotNewIndex; } else { break; } iterations++; if (iterations >= maxIterations) { @SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts T[] castBuffer = (T[]) buffer; // We've already taken O(k log k), let's make sure we don't take longer than O(k log k).
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/net/PercentEscaperTest.java
public void testBadArguments_null() { try { new PercentEscaper(null, false); fail("Expected null pointer exception for null parameter"); } catch (NullPointerException expected) { // pass } } /** * Tests that specifying any alphanumeric characters as 'safe' causes an {@link * IllegalArgumentException}. */ public void testBadArguments_badchars() { String msg =
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 5.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java
tmp += UnsignedLongs.remainder(longs[j], divisors[j]); } return tmp; } @Benchmark long parseUnsignedLong(int reps) { long tmp = 0; // Given that we make three calls per pass, we scale reps down in order // to do a comparable amount of work to other measurements. int scaledReps = reps / 3 + 1; for (int i = 0; i < scaledReps; i++) { int j = i & ARRAY_MASK;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader that uses {@code function} to load keys, and without supporting either * reloading or bulk loading. This is most useful when you can pass a lambda expression. Otherwise * it is useful mostly when you already have an existing function instance. * * <p>The returned object is serializable if {@code function} is serializable. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.6K bytes - Viewed (0)