Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for makemap64 (0.39 sec)

  1. 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)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    		return fmt.Errorf("cannot copy map with non-assignable keys: %v %v", st.Key(), dt.Key())
    	}
    
    	if sv.IsNil() {
    		dv.Set(reflect.Zero(dt))
    		return nil
    	}
    	dv.Set(reflect.MakeMap(dt))
    	for _, key := range sv.MapKeys() {
    		value := reflect.New(dt.Elem()).Elem()
    		if val := unwrapInterface(sv.MapIndex(key)); val.IsValid() {
    			if err := fromUnstructured(val, value, ctx); err != nil {
    				return err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  3. 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)
  4. src/go/internal/gccgoimporter/testdata/v1reflect.gox

    const Int64 <type 28> = 6 ;
    const Int8 <type 28> = 3 ;
    const Interface <type 28> = 20 ;
    const Invalid <type 28> = 0 ;
    type <type 28>;
    func MakeChan (typ <type 26>, buffer <type -11>) <type 1>;
    func MakeMap (typ <type 26>) <type 1>;
    func MakeSlice (typ <type 26>, len <type -11>, cap <type -11>) <type 1>;
    const Map <type 28> = 21 ;
    type <type 24>;
    func Method$equal (key1 <type 8>, key2 <type 8>, key_size <type -13>) <type -15>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 10.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. guava/src/com/google/common/util/concurrent/Striped.java

          super(stripes);
          this.size = (mask == ALL_SET) ? Integer.MAX_VALUE : mask + 1;
          this.supplier = supplier;
          this.locks = new MapMaker().weakValues().makeMap();
        }
    
        @Override
        public L getAt(int index) {
          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Striped.java

          super(stripes);
          this.size = (mask == ALL_SET) ? Integer.MAX_VALUE : mask + 1;
          this.supplier = supplier;
          this.locks = new MapMaker().weakValues().makeMap();
        }
    
        @Override
        public L getAt(int index) {
          if (size != Integer.MAX_VALUE) {
            Preconditions.checkElementIndex(index, size());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 20:55:18 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  10. test/live.go

    type T40 struct {
    	m map[int]int
    }
    
    //go:noescape
    func useT40(*T40)
    
    func newT40() *T40 {
    	ret := T40{}
    	ret.m = make(map[int]int, 42) // ERROR "live at call to makemap: &ret$"
    	return &ret
    }
    
    func bad40() {
    	t := newT40()
    	_ = t
    	printnl()
    }
    
    func good40() {
    	ret := T40{}              // ERROR "stack object ret T40$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top