Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for makeRaw (0.13 sec)

  1. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java

        private final Lock lock = new ReentrantLock();
        private final Map<Class<?>, Collection<URI>> classPathCache;
    
        public ClasspathInferer() {
            this.classPathCache = new MapMaker().weakKeys().makeMap();
        }
    
        public void getClassPathFor(Class<?> targetClass, Collection<URI> dest) {
            lock.lock();
            try {
                Collection<URI> classPath = classPathCache.get(targetClass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. 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)
  3. src/runtime/map.go

    	h.hash0 = uint32(rand())
    	return h
    }
    
    // makemap implements Go map creation for make(map[k]v, hint).
    // If the compiler has determined that the map or the first bucket
    // can be created on the stack, h and/or bucket may be non-nil.
    // If h != nil, the map can be created directly in h.
    // If h.buckets != nil, bucket pointed to can be used as the first bucket.
    //
    // makemap should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/text/template/exec_test.go

    func add(args ...int) int {
    	sum := 0
    	for _, x := range args {
    		sum += x
    	}
    	return sum
    }
    
    func echo(arg any) any {
    	return arg
    }
    
    func makemap(arg ...string) map[string]string {
    	if len(arg)%2 != 0 {
    		panic("bad makemap")
    	}
    	m := make(map[string]string)
    	for i := 0; i < len(arg); i += 2 {
    		m[arg[i]] = arg[i+1]
    	}
    	return m
    }
    
    func stringer(s fmt.Stringer) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/reflect/value.go

    		panic("reflect.MakeChan: unidirectional channel type")
    	}
    	t := typ.common()
    	ch := makechan(t, buffer)
    	return Value{t, ch, flag(Chan)}
    }
    
    // MakeMap creates a new map with the specified type.
    func MakeMap(typ Type) Value {
    	return MakeMapWithSize(typ, 0)
    }
    
    // MakeMapWithSize creates a new map with the specified type
    // and initial space for approximately n elements.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top