- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for Map1 (0.06 seconds)
-
src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java
TestSearchLogEvent event = new TestSearchLogEvent("id", 1L, "type"); // Initial empty map Map<String, Object> map1 = new HashMap<>(); event.setSourceMap(map1); assertEquals(0, event.toSource().size()); // Add elements to the map map1.put("key1", "value1"); assertEquals(1, event.toSource().size()); // Replace the map
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
} }); } public void testEquals() { Map<Integer, String> map1 = ImmutableMap.of(1, "one"); Map<Integer, String> map2 = ImmutableMap.of(2, "two"); new EqualsTester() .addEqualityGroup(map1, wrap(map1), wrap(map1)) .addEqualityGroup(map2, wrap(map2)) .testEquals(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K 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)