- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,870 for map (0.01 sec)
-
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
public void test_sizeOf_mapVariations() { // Empty map assertEquals(0L, MemoryUtil.sizeOf(new HashMap<>())); // Map with null keys and values Map<String, String> mapWithNulls = new HashMap<>(); mapWithNulls.put(null, null); assertEquals(0L, MemoryUtil.sizeOf(mapWithNulls)); // Map with mixed content Map<Object, Object> mixedMap = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java
} @Override protected Map<String, Collection<Integer>> makeEmptyMap() { Map<String, Integer> map = new HashMap<>(); return Multimaps.forMap(map).asMap(); } @Override protected Map<String, Collection<Integer>> makePopulatedMap() { Map<String, Integer> map = new HashMap<>(); map.put("foo", 1); map.put("bar", 2); map.put("cow", 3); return Multimaps.forMap(map).asMap();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java
import com.google.common.base.Functions; import java.util.HashMap; import java.util.Map; import org.jspecify.annotations.NullMarked; /** * Tests for {@link Maps#transformValues(Map, Function)}. * * @author Isaac Shum */ @GwtCompatible @NullMarked public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest { @Override protected Map<String, String> makeEmptyMap() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Joiner.java
* configured separator and key-value separator, to {@code builder}. Identical to {@link * #appendTo(Appendable, Map)}, except that it does not throw {@link IOException}. */ @CanIgnoreReturnValue public StringBuilder appendTo(StringBuilder builder, Map<?, ?> map) { return appendTo(builder, map.entrySet()); } /**Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} } private static class TestIngester extends Ingester { int processCalled = 0; @Override public Map<String, Object> process(Map<String, Object> target, DataStoreParams paramMap) { processCalled++; Map<String, Object> result = new HashMap<>(target); result.put("status", "processed"); return result; } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Serialization.java
static <K extends @Nullable Object, V extends @Nullable Object> void writeMap( Map<K, V> map, ObjectOutputStream stream) throws IOException { stream.writeInt(map.size()); for (Map.Entry<K, V> entry : map.entrySet()) { stream.writeObject(entry.getKey()); stream.writeObject(entry.getValue()); } } /** * Populates a map by reading an input stream, as part of deserialization. See {@link #writeMap}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
schema/schema_test.go
user, err := schema.Parse(&tests.User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user, got error %v", err) } checkUserSchema(t, user) } func TestParseSchemaWithMap(t *testing.T) { type User struct { tests.User Attrs map[string]string `gorm:"type:Map(String,String);"` } user, err := schema.Parse(&User{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 28 02:57:17 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CollectionsUtilTest.java
* {@link org.codelibs.core.collection.CollectionsUtil#isEmpty(java.util.Map)} * . */ @Test public void testIsEmptyMapOfQQ() { HashMap<String, String> map = null; assertThat(CollectionsUtil.isEmpty(map), is(true)); map = new HashMap<String, String>(); assertThat(CollectionsUtil.isEmpty(map), is(true)); } /** * Test method forRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/archive/tar/reader.go
} } return hdr, &tr.blk, p.err } // readOldGNUSparseMap reads the sparse map from the old GNU sparse format. // The sparse map is stored in the tar header if it's small enough. // If it's larger than four entries, then one or more extension headers are used // to store the rest of the sparse map. // // The Header.Size does not reflect the size of any extended headers used.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
private static class CacheEntry<T> { long expiration; Map<String, T> map; CacheEntry(final long ttl) { this.expiration = System.currentTimeMillis() + ttl * 1000L; this.map = new ConcurrentHashMap<>(); } } private static class NegativeCacheEntry<T> extends CacheEntry<T> { /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0)