- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NewEntry (0.19 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_nullKeySupportedPresent() { Entry<K, V> newEntry = entry(null, v3()); initMapWithNullKey(); assertEquals( "put(present, value) should return the associated value", getValueForNullKey(), put(newEntry)); Entry<K, V>[] expected = createArrayWithNullKey(); expected[getNullLocation()] = newEntry; expectContents(expected); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 9.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = Helpers.copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_nullKeySupportedPresent() { Entry<K, V> newEntry = entry(null, v3()); initMapWithNullKey(); assertEquals( "put(present, value) should return the associated value", getValueForNullKey(), put(newEntry)); Entry<K, V>[] expected = createArrayWithNullKey(); expected[getNullLocation()] = newEntry; expectContents(expected); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 9.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
} } protected final void expectReplacement(Entry<K, V> newEntry) { List<Entry<K, V>> expected = Helpers.copyToList(getSampleElements()); replaceValue(expected, newEntry); expectContents(expected); } private void replaceValue(List<Entry<K, V>> expected, Entry<K, V> newEntry) { for (ListIterator<Entry<K, V>> i = expected.listIterator(); i.hasNext(); ) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.5K bytes - Viewed (0) -
internal/logger/message/audit/entry.go
xhttp "github.com/minio/minio/internal/http" ) // Version - represents the current version of audit log structure. const Version = "1" // NewEntry - constructs an audit entry object with some fields filled func NewEntry(deploymentID string) audit.Entry { return audit.Entry{ Version: Version, DeploymentID: deploymentID, Time: time.Now().UTC(), } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 2.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
chain = null; for (int i = 0; i < length; i++) { Object key = new Object(); // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held chain = segment.newEntry(key, cache.hash(key), chain); if (i == 0) { head = chain; } } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 2.1K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/cache/ChainBenchmark.java
chain = null; for (int i = 0; i < length; i++) { Object key = new Object(); // TODO(b/145386688): This access should be guarded by 'this.segment', which is not currently // held chain = segment.newEntry(key, cache.hash(key), chain); if (i == 0) { head = chain; } } } @SuppressWarnings("GuardedBy") @Benchmark int time(int reps) { int dummy = 0;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 2.1K bytes - Viewed (0)