- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 266 for Key (0.01 seconds)
-
internal/config/config.go
func (kvs *KVS) Set(key, value string) { for i, kv := range *kvs { if kv.Key == key { (*kvs)[i] = KV{ Key: key, Value: value, } return } } *kvs = append(*kvs, KV{ Key: key, Value: value, }) } // Get - returns the value of a key, if not found returns empty. func (kvs KVS) Get(key string) string { v, ok := kvs.Lookup(key)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 37.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// count == 0 segment.setTableEntryForTesting(index, entry); assertThat(segment.get(key, hash)).isNull(); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 35.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
// count == 0 segment.setTableEntryForTesting(index, entry); assertThat(segment.get(key, hash)).isNull(); assertFalse(segment.containsKey(key, hash)); assertFalse(segment.containsValue(value)); // count == 1 segment.count++; assertSame(value, segment.get(key, hash)); assertTrue(segment.containsKey(key, hash)); assertTrue(segment.containsValue(value));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:07:52 GMT 2025 - 35.5K bytes - Click Count (0) -
internal/store/store.go
type Target interface { Name() string SendFromStore(key Key) error } // Store - Used to persist items. type Store[I any] interface { Put(item I) (Key, error) PutMultiple(item []I) (Key, error) Get(key Key) (I, error) GetMultiple(key Key) ([]I, error) GetRaw(key Key) ([]byte, error) PutRaw(b []byte) (Key, error) Len() int List() []Key Del(key Key) error Open() error Delete() error }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.2K bytes - Click Count (0) -
internal/store/queuestore.go
} key := Key{ Name: uid.String(), Extension: store.fileExt, ItemCount: 1, } return key, store.write(key, item) } // PutRaw - puts the raw bytes to the store func (store *QueueStore[I]) PutRaw(b []byte) (Key, error) { store.Lock() defer store.Unlock() if uint64(len(store.entries)) >= store.entryLimit { return Key{}, errLimitExceeded } // Generate a new UUID for the key.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} public void testContainsKeyAndValue() { for (LoadingCache<Key, String> cache : caches()) { // maintain strong refs so these won't be collected, regardless of cache's key/value strength Key key = new Key(1); String value = key.toString(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value); assertThat(cache.asMap().containsKey(key)).isTrue(); assertThat(cache.asMap().containsValue(value)).isTrue();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
KEYS.md
# Signing key for Gradle artifacts Below is the public PGP key used to sign all Gradle artifacts. The key ID is `E2F38302C8075E3D` and its fingerprint is `1BD97A6A154E7810EE0BC832E2F38302C8075E3D`. You can also find the key in the [Gradle website](https://gradle.org/keys/) and on [public key servers](https://keys.openpgp.org/search?q=maven-publishing%40gradle.com). ## Verification instructions ### Importing the key
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 04 14:29:13 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(stats.hitCount()).isEqualTo(0); Object key = new Object(); assertThat(cache.get(key)).isSameInstanceAs(key); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(1); assertThat(stats.loadSuccessCount()).isEqualTo(1); assertThat(stats.loadExceptionCount()).isEqualTo(0); assertThat(stats.hitCount()).isEqualTo(0); key = new Object();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java
} public void testContainsKeyAndValue() { for (LoadingCache<Key, String> cache : caches()) { // maintain strong refs so these won't be collected, regardless of cache's key/value strength Key key = new Key(1); String value = key.toString(); assertThat(cache.getUnchecked(key)).isSameInstanceAs(value); assertThat(cache.asMap().containsKey(key)).isTrue(); assertThat(cache.asMap().containsValue(value)).isTrue();
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 5.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
*/ private class LinkedTags<K : Any>( private val key: KClass<K>, private val value: K, private val next: Tags, ) : Tags() { override fun <T : Any> plus( key: KClass<T>, value: T?, ): Tags { // Create a copy of this `LinkedTags` that doesn't have a mapping for `key`. val thisMinusKey = when { key == this.key -> next // Subtract this! else -> {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 3.9K bytes - Click Count (0)