- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 101 for k3 (0.02 seconds)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNonEmptyIterableOnAbsentKey() { assertTrue(multimap().putAll(k3(), newArrayList(v3(), v4())::iterator)); assertGet(k3(), v3(), v4()); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyCollectionOnAbsentKey() { assertTrue(multimap().putAll(k3(), newArrayList(v3(), v4()))); assertGet(k3(), v3(), v4()); } @CollectionSize.Require(absent = ZERO)
Created: 2026-04-03 12:43 - Last Modified: 2025-09-22 20:54 - 7.4K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableBiMap.java
} public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3)); } public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { return new RegularImmutableBiMap<K, V>(ImmutableMap.of(k1, v1, k2, v2, k3, v3, k4, v4)); } public static <K, V> ImmutableBiMap<K, V> of(
Created: 2026-04-03 12:43 - Last Modified: 2025-08-06 18:32 - 7.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java
public void testPutAllNonEmptyIterableOnAbsentKey() { assertTrue(multimap().putAll(k3(), newArrayList(v3(), v4())::iterator)); assertGet(k3(), v3(), v4()); } @MapFeature.Require(SUPPORTS_PUT) public void testPutAllNonEmptyCollectionOnAbsentKey() { assertTrue(multimap().putAll(k3(), newArrayList(v3(), v4()))); assertGet(k3(), v3(), v4()); } @CollectionSize.Require(absent = ZERO)
Created: 2026-04-03 12:43 - Last Modified: 2025-09-22 20:54 - 7.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java
assertEquals( "computeIfAbsent(notPresent, function) should return new value", v3(), getMap() .computeIfAbsent( k3(), k -> { assertEquals(k3(), k); return v3(); })); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Created: 2026-04-03 12:43 - Last Modified: 2024-11-14 23:40 - 6.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
*/ public static <K, V> ImmutableBiMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { checkEntryNotNull(k1, v1); checkEntryNotNull(k2, v2); checkEntryNotNull(k3, v3); return new RegularImmutableBiMap<K, V>(new Object[] {k1, v1, k2, v2, k3, v3}, 3); } /** * Returns an immutable map containing the given entries, in order. *
Created: 2026-04-03 12:43 - Last Modified: 2025-08-07 16:05 - 22.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3) { return new RegularImmutableMap<K, V>(entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3)); } public static <K, V> ImmutableMap<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4) { return new RegularImmutableMap<K, V>( entryOf(k1, v1), entryOf(k2, v2), entryOf(k3, v3), entryOf(k4, v4)); }
Created: 2026-04-03 12:43 - Last Modified: 2026-03-17 15:51 - 17.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java
@MapFeature.Require(SUPPORTS_PUT) public void testPutIfAbsent_supportedAbsent() { assertNull( "putIfAbsent(notPresent, value) should return null", getMap().putIfAbsent(k3(), v3())); expectAdded(e3()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_supportedPresent() { assertEquals(
Created: 2026-04-03 12:43 - Last Modified: 2025-09-16 02:04 - 5.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java
try { assertFalse(getMap().replace(k3(), v3(), null)); } catch (NullPointerException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUE_QUERIES}) public void testReplaceEntry_nullDifferentFromAbsent() { assertFalse(getMap().replace(k3(), null, v3())); expectUnchanged(); }Created: 2026-04-03 12:43 - Last Modified: 2024-12-21 14:50 - 5.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
try { assertFalse(getMap().replace(k3(), v3(), null)); } catch (NullPointerException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUE_QUERIES}) public void testReplaceEntry_nullDifferentFromAbsent() { assertFalse(getMap().replace(k3(), null, v3())); expectUnchanged(); }Created: 2026-04-03 12:43 - Last Modified: 2024-11-14 23:40 - 5.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
} /** Implementation of Hash128to64 from util/hash/hash128to64.h */ @VisibleForTesting static long hash128to64(long high, long low) { long a = (low ^ high) * K3; a ^= a >>> 47; long b = (high ^ a) * K3; b ^= b >>> 47; b *= K3; return b; } /** * Computes intermediate hash of 32 bytes of byte array from the given offset. Results are
Created: 2026-04-03 12:43 - Last Modified: 2025-08-11 19:31 - 6.5K bytes - Click Count (0)