Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hkmap (0.29 sec)

  1. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

                final int num = 100000;
                final Map<String, String> hmap = new HashMap<String, String>();
                final Map<String, String> cimap = new CaseInsensitiveMap<String>();
    
                long start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.put("a" + String.valueOf(i), null);
                }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		}
    	}
    
    	lkMap := caseInsensitiveMap(objInfo.UserDefined)
    	if lang, ok := lkMap.Lookup(xhttp.ContentLanguage); ok {
    		putOpts.ContentLanguage = lang
    	}
    	if disp, ok := lkMap.Lookup(xhttp.ContentDisposition); ok {
    		putOpts.ContentDisposition = disp
    	}
    	if cc, ok := lkMap.Lookup(xhttp.CacheControl); ok {
    		putOpts.CacheControl = cc
    	}
    	if mode, ok := lkMap.Lookup(xhttp.AmzObjectLockMode); ok {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top