- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 388 for getMem (0.2 sec)
-
guava-tests/test/com/google/common/cache/PopulatedCachesTest.java
// don't let the new entry get GCed warmed.add(entryOf(entry.getKey(), newValue)); Object newKey = new Object(); assertNull(cache.asMap().put(newKey, entry.getValue())); // this getUnchecked() call shouldn't be a cache miss; verified below assertEquals(newValue, cache.getUnchecked(entry.getKey()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value); assertEquals(secondEntry.getValue(), value); assertEquals(map.get(key), value); assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value)); } public void testTailMapRemoveThrough() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java
Entry<K, V> secondEntry = iterator.next(); K key = secondEntry.getKey(); SortedMap<K, V> subMap = map.tailMap(key); V value = getValueNotInPopulatedMap(); subMap.put(key, value); assertEquals(secondEntry.getValue(), value); assertEquals(map.get(key), value); assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value)); } public void testTailMapRemoveThrough() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddAllTester.java
assertTrue( "add(somePresent) should return true", getSet().addAll(MinimalCollection.of(e3(), e0()))); expectAdded(e3()); } @CollectionFeature.Require(SUPPORTS_ADD) public void testAddAll_withDuplicates() { MinimalCollection<E> elementsToAdd = MinimalCollection.of(e3(), e4(), e3(), e4()); assertTrue("add(hasDuplicates) should return true", getSet().addAll(elementsToAdd)); expectAdded(e3(), e4()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
assertNull(t.getMechanismToken(), "mechanismToken should default to null"); assertNull(t.getMechanismListMIC(), "mechanismListMIC should default to null"); } @Test @DisplayName("Setter and getter for mechanismToken work") void setGetMechanismToken() { TestSpnegoToken t = new TestSpnegoToken(); byte[] data = new byte[] { 1, 2, 3 }; t.setMechanismToken(data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java
Entry<String, Collection<Integer>> entry = iterator.next(); assertEquals("foo", entry.getKey()); assertThat(entry.getValue()).containsExactly(1, 3, 7); entry = iterator.next(); assertEquals("google", entry.getKey()); assertThat(entry.getValue()).containsExactly(2, 6); entry = iterator.next(); assertEquals("tree", entry.getKey()); assertThat(entry.getValue()).containsExactly(0, 4); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
int expectedEntrySetHash = 0; for (Entry<K, V> entry : entrySet) { assertTrue(map.containsKey(entry.getKey())); assertTrue(map.containsValue(entry.getValue())); int expectedHash = (entry.getKey() == null ? 0 : entry.getKey().hashCode()) ^ (entry.getValue() == null ? 0 : entry.getValue().hashCode()); assertEquals(expectedHash, entry.hashCode());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/parser/QueryParserTest.java
assertEquals(TermQuery.class, query.getClass()); assertEquals("_default:fess", ((TermQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("title:fess"); assertEquals(TermQuery.class, query.getClass()); assertEquals("title:fess", ((TermQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("fess*");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun May 18 04:53:52 UTC 2025 - 5.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
public int compare(Entry<AnEnum, String> left, Entry<AnEnum, String> right) { return left.getKey().compareTo(right.getKey()); } }.sortedCopy(insertionOrder); } } public static class ImmutableMapValuesAsSingletonSetGenerator implements TestMapGenerator<String, Collection<Integer>> { @Override public SampleElements<Entry<String, Collection<Integer>>> samples() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/StandardTable.java
while (true) { if (entryIterator.hasNext()) { Entry<C, V> entry = entryIterator.next(); if (!seen.containsKey(entry.getKey())) { seen.put(entry.getKey(), entry.getValue()); return entry.getKey(); } } else if (mapIterator.hasNext()) { entryIterator = mapIterator.next().entrySet().iterator(); } else {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 30.2K bytes - Viewed (0)