Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for makeRaw (0.21 sec)

  1. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    // 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/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)
  3. src/runtime/map_fast64.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
    - 14.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typecheck/builtin.go

    	{"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)
  5. src/runtime/map_faststr.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
    - 15.3K bytes
    - Viewed (0)
  6. src/encoding/json/decode.go

    				d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
    				d.skip()
    				return nil
    			}
    		}
    		if v.IsNil() {
    			v.Set(reflect.MakeMap(t))
    		}
    	case reflect.Struct:
    		fields = cachedTypeFields(t)
    		// ok
    	default:
    		d.saveError(&UnmarshalTypeError{Value: "object", Type: t, Offset: int64(d.off)})
    		d.skip()
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. 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("makemap", func(t *testing.T) {
    		for _, tt := range mapBucketTests {
    			localMap := make(map[int]int, tt.n)
    			if runtime.MapBucketsPointerIsNil(localMap) {
    				t.Errorf("no escape: buckets pointer is nil for non-escaping map")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Ordering.java

        private final AtomicInteger counter = new AtomicInteger(0);
        private final ConcurrentMap<Object, Integer> uids =
            Platform.tryWeakKeys(new MapMaker()).makeMap();
    
        private Integer getUid(Object obj) {
          Integer uid = uids.get(obj);
          if (uid == null) {
            // One or more integer values could be skipped in the event of a race
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
Back to top