- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,857 for key1 (0.15 sec)
-
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
private final ImmutableList<String> keys; private final Random random = new Random(); private MutateTask(ConcurrentHashMultiset<String> multiset, ImmutableList<String> keys) { this.multiset = multiset; this.keys = keys; } @Override public int[] call() throws Exception { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys];
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 5.8K bytes - Viewed (0) -
clause/set.go
} func Assignments(values map[string]interface{}) Set { keys := make([]string, 0, len(values)) for key := range values { keys = append(keys, key) } sort.Strings(keys) assignments := make([]Assignment, len(keys)) for idx, key := range keys { assignments[idx] = Assignment{Column: Column{Name: key}, Value: values[key]} } return assignments } func AssignmentColumns(values []string) Set {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Nov 29 03:02:44 GMT 2021 - 1.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
.addEqualityGroup(cache.asMap().keySet(), keys) .addEqualityGroup(ImmutableSet.of()) .testEquals(); assertEquals(WARMUP_SIZE, keys.size()); for (int i = WARMUP_MIN; i < WARMUP_MAX; i++) { Object key = warmed.get(i - WARMUP_MIN).getKey(); assertTrue(keys.contains(key)); assertTrue(keys.remove(key)); assertFalse(keys.remove(key)); assertFalse(keys.contains(key));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 15K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MultimapBuilder.java
} /** * Uses a hash table to map keys to value collections. * * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link * Multimap#asMap()} will iterate through the keys in the order that they were first added to the * multimap, save that if all values associated with a key are removed and then the key is added * back into the multimap, that key will come last in the key iteration order. */
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 17.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/MapBenchmark.java
map.put(element, element); } return map; } }, UnmodHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.unmodifiableMap(Hash.create(keys)); } }, SyncHM { @Override Map<Element, Element> create(Collection<Element> keys) { return Collections.synchronizedMap(Hash.create(keys)); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ArrayTable.java
* either key is null or isn't among the keys provided during construction, this method has no * effect. * * <p>This method is equivalent to {@code put(rowKey, columnKey, null)} when both provided keys * are valid. * * @param rowKey row key of mapping to be erased * @param columnKey column key of mapping to be erased
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 26.3K bytes - Viewed (0) -
internal/store/batch.go
if _, ok := b.items[key]; !ok { b.keys = append(b.keys, key) } b.items[key] = item return nil } // GetAll fetches the items and resets the batch // Returned items are not referenced by the batch func (b *Batch[K, T]) GetAll() (orderedKeys []K, orderedItems []T, err error) { b.Lock() defer b.Unlock() orderedKeys = append([]K(nil), b.keys...) for _, key := range orderedKeys { item, ok := b.items[key] if !ok {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Oct 07 15:07:38 GMT 2023 - 2.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestSortedMapGenerator.java
SortedMap<K, V> create(Object... elements); /** * Returns an entry with a key less than the keys of the {@link #samples()} and less than the key * of {@link #belowSamplesGreater()}. */ Entry<K, V> belowSamplesLesser(); /** * Returns an entry with a key less than the keys of the {@link #samples()} but greater than the * key of {@link #belowSamplesLesser()}. */ Entry<K, V> belowSamplesGreater(); /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java
public void testPutPresentKeyPropagatesToGet() { List<K> keys = Helpers.copyToList(multimap().keySet()); for (K key : keys) { resetContainer(); int size = getNumElements(); Collection<V> collection = multimap().get(key); Collection<V> expectedCollection = Helpers.copyToList(collection); multimap().put(key, v3()); expectedCollection.add(v3());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.1K bytes - Viewed (0) -
internal/event/target/testdata/contrib/certs/nats_client_key.pem
-----BEGIN EC PRIVATE KEY----- MHcCAQEEIBluB2BuspJc/ZwNmygNw06NbdTZDroAo AwEHoUQDQgAEQIWK0F2G+e4AaYcBT9aOUuwo8aBig 4rCvhUktmLZbVO3DOy+wHbiyG7hJxhx2EA== -----END EC PRIVATE KEY-----...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 227 bytes - Viewed (0)