- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 923 for key6 (0.18 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java
} @Override public @Nullable String put(String key, String value) { checkNotNull(key); return map.put(key, value); } }; } }, "HashMap w/out null keys", ALLOWS_NULL_VALUES); } private static Test testsForHashMapNullValuesForbidden() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 11.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
ImmutableSetMultimap.builderWithExpectedKeys(0); builder.put("key", "value"); assertThat(builder.build().entries()).containsExactly(Maps.immutableEntry("key", "value")); } public void testBuilderWithExpectedKeysPositive() { ImmutableSetMultimap.Builder<String, String> builder = ImmutableSetMultimap.builderWithExpectedKeys(1); builder.put("key", "value");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 28.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
int[] entries = requireEntries(); @Nullable Object[] keys = requireKeys(); @Nullable Object[] values = requireValues(); int srcIndex = size() - 1; if (dstIndex < srcIndex) { // move last entry to deleted spot Object key = keys[srcIndex]; keys[dstIndex] = key; values[dstIndex] = values[srcIndex]; keys[srcIndex] = null; values[srcIndex] = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
| """.trimMargin() val pkcs8Pem = """ |-----BEGIN PRIVATE KEY----- |MEECAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEJzAlAgEBBCA7ODT0xhGSNn4ESj6J |lu/GJQZoU9lDrCPeUcQ28tzOWw== |-----END PRIVATE KEY----- | """.trimMargin() val bcPkcs8Pem = """ |-----BEGIN PRIVATE KEY----- |ME0CAQAwEwYHKoZIzj0CAQYIKoZIzj0DAQcEMzAxAgEBBCA7ODT0xhGSNn4ESj6JCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 22.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountLinkedHashMap.java
/** * {@code ObjectCountLinkedHashMap} is a subclass of {@code ObjectCountHashMap} with insertion * iteration order, and uses arrays to store key objects and count values. Comparing to using a * traditional {@code LinkedHashMap} implementation which stores keys and count values as map * entries, {@code ObjectCountLinkedHashMap} minimizes object allocation and reduces memory * footprint. */ @GwtCompatible @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader()); assertThat(nullCache.size()).isEqualTo(0); Object key = new Object(); assertThat(nullCache.getUnchecked(key)).isSameInstanceAs(key); assertThat(listener.getCount()).isEqualTo(1); assertThat(nullCache.size()).isEqualTo(0); CacheTesting.checkEmpty(nullCache.asMap()); } @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
CacheBuilder.newBuilder().maximumSize(0).removalListener(listener).build(identityLoader()); assertThat(nullCache.size()).isEqualTo(0); Object key = new Object(); assertThat(nullCache.getUnchecked(key)).isSameInstanceAs(key); assertThat(listener.getCount()).isEqualTo(1); assertThat(nullCache.size()).isEqualTo(0); CacheTesting.checkEmpty(nullCache.asMap()); } @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 25.6K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java
return addAndGet(key, 1); } /** * Decrements by one the value currently associated with {@code key}, and returns the new value. */ @CanIgnoreReturnValue public long decrementAndGet(K key) { return addAndGet(key, -1); } /** * Adds {@code delta} to the value currently associated with {@code key}, and returns the new * value. */ @CanIgnoreReturnValue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed May 14 13:21:19 GMT 2025 - 14K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
* * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic * * Steps to run in your own code * * 1. In your main method `WireSharkListenerFactory.register()` * 2. Create Listener factory `val eventListenerFactory = WireSharkListenerFactory( logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)`
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@Override public Collection<UnhashableObject> create(UnhashableObject[] elements) { ImmutableMap.Builder<Integer, UnhashableObject> builder = ImmutableMap.builder(); int key = 1; for (UnhashableObject value : elements) { builder.put(key++, value); } return builder.buildOrThrow().values(); } } public static class ImmutableMapKeyListGenerator extends TestStringListGenerator { @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0)