Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for makemap (0.12 sec)

  1. 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)
  2. 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)
  3. guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          MapMaker mapMaker = readMapMaker(in);
          delegate = mapMaker.makeMap();
          readEntries(in);
        }
    
        private Object readResolve() {
          return delegate;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  5. pkg/workloadapi/workload.pb.go

    	Hostname string `protobuf:"bytes,21,opt,name=hostname,proto3" json:"hostname,omitempty"`
    	// Network represents the network this workload is on. This may be elided for the default network.
    	// A (network,address) pair makeup a unique key for a workload *at a point in time*.
    	Network string `protobuf:"bytes,4,opt,name=network,proto3" json:"network,omitempty"`
    	// Protocol that should be used to connect to this workload.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:35 UTC 2024
    - 65.9K bytes
    - Viewed (0)
Back to top