Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for makemap64 (0.44 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. test/escape2n.go

    }
    
    func makemap0() {
    	m := make(map[int]int) // ERROR "make\(map\[int\]int\) does not escape$"
    	m[0] = 0
    	m[1]++
    	delete(m, 1)
    	sink = m[0] // ERROR "m\[0\] escapes to heap$"
    }
    
    func makemap1() map[int]int {
    	return make(map[int]int) // ERROR "make\(map\[int\]int\) escapes to heap$"
    }
    
    func makemap2() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            new MapMaker().weakKeys().makeMap();
    
        /**
         * The map tracking lock nodes that can cause a lock acquisition cycle if acquired before this
         * node.
         */
        final Map<LockGraphNode, PotentialDeadlockException> disallowedPriorLocks =
            new MapMaker().weakKeys().makeMap();
    
        final String lockName;
    
        LockGraphNode(String lockName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  7. test/escape2.go

    }
    
    func makemap0() {
    	m := make(map[int]int) // ERROR "make\(map\[int\]int\) does not escape$"
    	m[0] = 0
    	m[1]++
    	delete(m, 1)
    	sink = m[0] // ERROR "m\[0\] escapes to heap$"
    }
    
    func makemap1() map[int]int {
    	return make(map[int]int) // ERROR "make\(map\[int\]int\) escapes to heap$"
    }
    
    func makemap2() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 35.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

            new MapMaker().weakKeys().makeMap();
    
        /**
         * The map tracking lock nodes that can cause a lock acquisition cycle if acquired before this
         * node.
         */
        final Map<LockGraphNode, PotentialDeadlockException> disallowedPriorLocks =
            new MapMaker().weakKeys().makeMap();
    
        final String lockName;
    
        LockGraphNode(String lockName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  9. src/testing/quick/quick.go

    	case reflect.Uint:
    		v.SetUint(uint64(randInt64(rand)))
    	case reflect.Uintptr:
    		v.SetUint(uint64(randInt64(rand)))
    	case reflect.Map:
    		numElems := rand.Intn(size)
    		v.Set(reflect.MakeMap(concrete))
    		for i := 0; i < numElems; i++ {
    			key, ok1 := sizedValue(concrete.Key(), rand, size)
    			value, ok2 := sizedValue(concrete.Elem(), rand, size)
    			if !ok1 || !ok2 {
    				return reflect.Value{}, false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. src/runtime/map_fast32.go

    					hash := t.Hasher(k, uintptr(h.hash0))
    					if hash&newbit != 0 {
    						useY = 1
    					}
    				}
    
    				b.tophash[i] = evacuatedX + useY // evacuatedX + 1 == evacuatedY, enforced in makemap
    				dst := &xy[useY]                 // evacuation destination
    
    				if dst.i == abi.MapBucketCount {
    					dst.b = h.newoverflow(t, dst.b)
    					dst.i = 0
    					dst.k = add(unsafe.Pointer(dst.b), dataOffset)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top