Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for makemap64 (0.16 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.interfaceSwitch", 1},
    	{"runtime.ifaceeq", 1},
    	{"runtime.efaceeq", 1},
    	{"runtime.panicrangestate", 1},
    	{"runtime.deferrangefunc", 1},
    	{"runtime.rand32", 1},
    	{"runtime.makemap64", 1},
    	{"runtime.makemap", 1},
    	{"runtime.makemap_small", 1},
    	{"runtime.mapaccess1", 1},
    	{"runtime.mapaccess1_fast32", 1},
    	{"runtime.mapaccess1_fast64", 1},
    	{"runtime.mapaccess1_faststr", 1},
    	{"runtime.mapaccess1_fat", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func panicrangestate(state int)
    
    // defer in range over func
    func deferrangefunc() interface{}
    
    func rand32() uint32
    
    // *byte is really *runtime.Type
    func makemap64(mapType *byte, hint int64, mapbuf *any) (hmap map[any]any)
    func makemap(mapType *byte, hint int, mapbuf *any) (hmap map[any]any)
    func makemap_small() (hmap map[any]any)
    func mapaccess1(mapType *byte, hmap map[any]any, key *any) (val *any)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/builtin.go

    	{"interfaceSwitch", funcTag, 70},
    	{"ifaceeq", funcTag, 72},
    	{"efaceeq", funcTag, 72},
    	{"panicrangestate", funcTag, 73},
    	{"deferrangefunc", funcTag, 74},
    	{"rand32", funcTag, 75},
    	{"makemap64", funcTag, 77},
    	{"makemap", funcTag, 78},
    	{"makemap_small", funcTag, 79},
    	{"mapaccess1", funcTag, 80},
    	{"mapaccess1_fast32", funcTag, 81},
    	{"mapaccess1_fast64", funcTag, 82},
    	{"mapaccess1_faststr", funcTag, 83},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/builtin.go

    	// Map initialization with a variable or large hint is
    	// more complicated. We therefore generate a call to
    	// runtime.makemap to initialize hmap and allocate the
    	// map buckets.
    
    	// When hint fits into int, use makemap instead of
    	// makemap64, which is faster and shorter on 32 bit platforms.
    	fnname := "makemap64"
    	argtype := types.Types[types.TINT64]
    
    	// Type checking guarantees that TIDEAL hint is positive and fits in an int.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    				escapingMap[i] = i
    			}
    			if got := runtime.MapBucketsCount(escapingMap); got != tt.escape {
    				t.Errorf("escape: n=%d want %d buckets, got %d", tt.n, tt.escape, got)
    			}
    		}
    	})
    	t.Run("makemap64", func(t *testing.T) {
    		for _, tt := range mapBucketTests {
    			localMap := make(map[int]int, int64(tt.n))
    			if runtime.MapBucketsPointerIsNil(localMap) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. src/runtime/map.go

    	if h.extra == nil {
    		h.extra = new(mapextra)
    	}
    	if h.extra.overflow == nil {
    		h.extra.overflow = new([]*bmap)
    	}
    }
    
    func makemap64(t *maptype, hint int64, h *hmap) *hmap {
    	if int64(int(hint)) != hint {
    		hint = 0
    	}
    	return makemap(t, int(hint), h)
    }
    
    // makemap_small implements Go map creation for make(map[k]v) and
    // make(map[k]v, hint) when hint is known to be at most bucketCnt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  7. test/makemap.go

    Matthew Dempsky <******@****.***> 1619131113 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 23 00:41:01 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  8. test/range.go

    		panic("fail")
    	}
    }
    
    func testmap1() {
    	s := 0
    	nmake = 0
    	for i := range makemap() {
    		s += i
    	}
    	if nmake != 1 {
    		println("range called makemap", nmake, "times")
    		panic("fail")
    	}
    	if s != 10 {
    		println("wrong sum ranging over makemap", s)
    		panic("fail")
    	}
    }
    
    func testmap2() {
    	n := 0
    	nmake = 0
    	for range makemap() {
    		n++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 05:50:54 UTC 2017
    - 8.1K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/CachingClassLoader.java

        private static final Object MISSING = new Object();
        private final ConcurrentMap<String, Object> loadedClasses = new MapMaker().weakValues().makeMap();
        private final ConcurrentMap<String, Object> resources = new MapMaker().makeMap();
        private final ClassLoader parent;
    
        static {
            try {
                ClassLoader.registerAsParallelCapable();
            } catch (NoSuchMethodError ignore) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ResolvedArtifactCaches.java

        private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepo = new MapMaker().makeMap();
        private final Map<String, Map<ComponentArtifactIdentifier, ResolvableArtifact>> cachePerRepoWithVerification = new MapMaker().makeMap();
    
        /**
         * For a remote repository, the only thing required is a resolved artifact cache.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top