- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for ptrmap (0.29 sec)
-
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go
// memo, but it would require detecting whether types are 'tainted' by // references to type parameters. memo: make(map[types.Type]uint32), // Re-using ptrMap ensures that pointer identity is preserved in this // hasher. ptrMap: h.ptrMap, sigTParams: tparams, } } for i := 0; i < tparams.Len(); i++ { tparam := tparams.At(i) hash += 7 * h.Hash(tparam.Constraint()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.9K bytes - Viewed (0) -
src/reflect/abi.go
// next n integer registers. // // Bit i in ptrMap indicates whether the i'th value is a pointer. // n must be <= 8. // // Returns whether assignment succeeded. func (a *abiSeq) assignIntN(offset, size uintptr, n int, ptrMap uint8) bool { if n > 8 || n < 0 { panic("invalid n") } if ptrMap != 0 && size != goarch.PtrSize {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:08:32 UTC 2024 - 15K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller.go
controllerRef := metav1.GetControllerOf(pod) if controllerRef == nil { continue } // Only append if we care about this UID. if _, ok := podMap[controllerRef.UID]; ok { podMap[controllerRef.UID] = append(podMap[controllerRef.UID], pod) } } return podMap, nil } // syncDeployment will sync the deployment with the given key. // This function is not meant to be invoked concurrently with the same key.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 24.2K bytes - Viewed (0) -
src/go/types/check_test.go
delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 { t.Errorf("--- %s: unreported errors:", pkgName) for filename, filemap := range errmap { for line, errList := range filemap { for _, err := range errList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
delete(filemap, line) } // if filemap is empty, eliminate from errmap if len(filemap) == 0 { delete(errmap, filename) } } // there should be no expected errors left if len(errmap) > 0 { t.Errorf("--- %s: unreported errors:", pkgName) for filename, filemap := range errmap { for line, errList := range filemap { for _, err := range errList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/controller/deployment/deployment_controller_test.go
} if got, want := len(podMap[rs1.UID]), 2; got != want { t.Errorf("len(podMap[rs1]) = %v, want %v", got, want) } expect := map[string]struct{}{"rs1-pod": {}, "pod4": {}} for _, pod := range podMap[rs1.UID] { if _, ok := expect[pod.Name]; !ok { t.Errorf("unexpected pod name for rs1: %s", pod.Name) } } if got, want := len(podMap[rs2.UID]), 1; got != want { t.Errorf("len(podMap[rs2]) = %v, want %v", got, want)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 32.5K bytes - Viewed (0) -
src/internal/coverage/cfile/emit.go
return fmt.Errorf("error: meta-data not available (binary not built with -cover?)") } // Ask the runtime for the list of coverage counter symbols. pm := rtcov.Meta.PkgMap s := &emitState{ counterlist: cl, pkgmap: pm, outdir: outdir, debug: os.Getenv("GOCOVERDEBUG") != "", } // Open output file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 18.9K bytes - Viewed (0) -
pkg/kubelet/apis/config/helpers_test.go
type foo struct { foo int } type bar struct { str string strptr *string ints []int stringMap map[string]string foo foo fooptr *foo bars []foo barMap map[string]foo skipRecurseStruct foo skipRecursePointer *foo skipRecurseList1 []foo skipRecurseList2 []foo skipRecurseMap1 map[string]foo skipRecurseMap2 map[string]foo }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/conversion_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 39K bytes - Viewed (0) -
pilot/pkg/model/service.go
// Where the workloadInstance come from, valid values are`Pod` or `WorkloadEntry` Kind workloadKind `json:"kind"` Endpoint *IstioEndpoint `json:"endpoint,omitempty"` PortMap map[string]uint32 `json:"portMap,omitempty"` // Can only be selected by service entry of DNS type. DNSServiceEntryOnly bool `json:"dnsServiceEntryOnly,omitempty"` } func (instance *WorkloadInstance) CmpOpts() []cmp.Option {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 02:03:58 UTC 2024 - 46.3K bytes - Viewed (0)