- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for makemap (0.28 sec)
-
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) -
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) -
src/html/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: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0) -
pkg/apis/core/v1/defaults_test.go
break } // if we don't already have a value, and contain structs, add an empty item so we can recurse item := reflect.New(visit.value.Type().Elem()).Elem() visit.value.Set(reflect.MakeMap(visit.value.Type())) visit.value.SetMapIndex(reflect.New(visit.value.Type().Key()).Elem(), item) toVisit = append(toVisit, testPath{path: visit.path + "[*]", value: item})
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 84.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
if m > 0 { raceReadRange(unsafe.Pointer(iovecs[i].Base), m) } } } // mmap varies by architecture; see syscall_linux_*.go. //sys munmap(addr uintptr, length uintptr) (err error) //sys mremap(oldaddr uintptr, oldlength uintptr, newlength uintptr, flags int, newaddr uintptr) (xaddr uintptr, err error) //sys Madvise(b []byte, advice int) (err error) //sys Mprotect(b []byte, prot int) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0)