- Sort Score
- Num 10 results
- Language All
Results 11 - 15 of 15 for Map1 (0.03 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
return (Map<K, V>) EMPTY_MAP; } static <K, V> Map<K, V> singletonMap(K key, V value) { return new Map1<>(key, value); } private static class Map1<K, V> extends AbstractImmutableMap<K, V> { private final Entry<K, V> entry; private Map1(K key, V value) { this.entry = new SimpleImmutableEntry<>(key, value); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Jul 07 11:47:42 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
@SuppressWarnings("unchecked") List<Map<String, Object>> resultList = (List<Map<String, Object>>) result; assertEquals(2, resultList.size()); Map<String, Object> map1 = resultList.get(0); assertEquals("name1", map1.get("name")); Map<String, Object> map2 = resultList.get(1); assertEquals("name2", map2.get("name")); } @Test public void test_register_entitySet() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@DisplayName("Test haveCapability with multiple capability flags") void testHaveCapabilityMultipleFlags() { // Arrange int cap1 = 0x00000001; int cap2 = 0x00000002; int cap3 = 0x00000004; when(negotiationResponse.haveCapabilitiy(cap1)).thenReturn(true); when(negotiationResponse.haveCapabilitiy(cap2)).thenReturn(false);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.6K bytes - Click Count (0) -
src/bytes/buffer_test.go
for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 { cap0 = b.Cap() } } cap1 := b.Cap() // (*Buffer).grow allows for 2x capacity slop before sliding, // so set our error threshold at 3x. if cap1 > cap0*3 { t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0) } } func BenchmarkWriteByte(b *testing.B) { const n = 4 << 10 b.SetBytes(n)Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0)