Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 2,582 for map (0.01 seconds)

  1. 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 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Aug 28 02:57:17 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. 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}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/beans/util/CopyOptions.java

            return this;
        }
    
        /**
         * Sets the delimiter for {@link Map}.
         * <p>
         * When copying between JavaBeans and {@link Map}, you can change the delimiter used in property names.
         * For example, if you specify an underscore as the delimiter for JavaBeans and a period as the delimiter for {@link Map},
         * the property names for the source and destination will be as follows:
         * </p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Jul 05 00:11:05 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

            map.put("チ", new String[] { "ti", "chi" });
            map.put("ツ", new String[] { "tu", "tsu" });
            map.put("テ", new String[] { "te" });
            map.put("ト", new String[] { "to" });
    
            map.put("ナ", new String[] { "na" });
            map.put("ニ", new String[] { "ni" });
            map.put("ヌ", new String[] { "nu" });
            map.put("ネ", new String[] { "ne" });
            map.put("ノ", new String[] { "no" });
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:28:21 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

                    packages.entrySet().stream().sorted(Map.Entry.comparingByKey()).forEach(e -> msg.add("  -" + e.getKey() + " -> " + e.getValue()));
                    LOGGER.info(String.join(System.lineSeparator(), msg));
                }
                return packages;
            }
    
            private Map<String, Set<String>> findSplitPackages(Set<String> dependencyPackages) {
                Map<String, Set<String>> splitPackages = new HashMap<>();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/AbstractImmutableMapMapInterfaceTest.java

      protected final void assertMoreInvariants(Map<K, V> map) {
        // TODO: can these be moved to MapInterfaceTest?
        for (Entry<K, V> entry : map.entrySet()) {
          assertThat(entry.toString()).isEqualTo(entry.getKey() + "=" + entry.getValue());
        }
    
        assertThat(map.toString()).isEqualTo("{" + JOINER.join(map.entrySet()) + "}");
        assertThat(map.entrySet().toString()).isEqualTo("[" + JOINER.join(map.entrySet()) + "]");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  7. cmd/site-replication-utils.go

    	sync.RWMutex
    	// resyncStatus maps resync ID to resync status for peer
    	resyncStatus map[string]SiteResyncStatus
    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics {
    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    	}
    	go s.save(ctx)
    	go s.init(ctx)
    	return &s
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java

            assertNotNull(source.get(FieldNames.TIMESTAMP));
        }
    
        @Test
        public void testFromSource_requiresAllFields() {
            // Create a complete source map with all required fields
            Map<String, Object> source = new HashMap<>();
            source.put(FieldNames.TEXT, "test text");
            source.put(FieldNames.DOC_FREQ, 10L);
            source.put(FieldNames.QUERY_FREQ, 5L);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/admin/DuplicateHostTests.java

            return LIST_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected String getItemEndpointSuffix() {
            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 19 07:14:01 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/KeyMatchTests.java

            return LIST_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected String getItemEndpointSuffix() {
            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("query", "query" + id);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jun 19 07:14:01 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top