- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 131 for ptrmap (0.1 sec)
-
src/cmd/compile/internal/noder/posmap.go
"cmd/internal/src" ) // A posMap handles mapping from syntax.Pos to src.XPos. type posMap struct { bases map[*syntax.PosBase]*src.PosBase cache struct { last *syntax.PosBase base *src.PosBase } } type poser interface{ Pos() syntax.Pos } type ender interface{ End() syntax.Pos } func (m *posMap) pos(p poser) src.XPos { return m.makeXPos(p.Pos()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 27 03:43:35 UTC 2023 - 1.8K bytes - Viewed (0) -
test/ken/ptrvar.go
Rob Pike <******@****.***> 1330061064 +1100
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 772 bytes - Viewed (0) -
cmd/site-replication.go
return nil } optsMap := make(map[string]string) if opts.LockEnabled { optsMap["lockEnabled"] = "true" optsMap["versioningEnabled"] = "true" } if opts.VersioningEnabled { optsMap["versioningEnabled"] = "true" } if opts.ForceCreate { optsMap["forceCreate"] = "true" } createdAt, _ := globalBucketMetadataSys.CreatedAt(bucket)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
new EqualsTester() .addEqualityGroup( function, Functions.forMap(map, 42), SerializableTester.reserialize(function)) .addEqualityGroup(Functions.forMap(map)) .addEqualityGroup(Functions.forMap(map, null)) .addEqualityGroup(Functions.forMap(map, 43)) .testEquals(); } @J2ktIncompatible @GwtIncompatible // SerializableTester
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 16K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/scope_test.go
scope := scope{} scope.podMap = containermap.NewContainerMap() scope.podTopologyHints = podTopologyHints{} for _, tc := range testCases { scope.podMap.Add(string(tc.podUID), tc.name, tc.containerID) scope.podTopologyHints[string(tc.podUID)] = make(map[string]TopologyHint) scope.podTopologyHints[string(tc.podUID)][tc.name] = TopologyHint{} len1 = len(scope.podMap) lenHints1 = len(scope.podTopologyHints)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 10 11:44:15 UTC 2021 - 3.3K bytes - Viewed (0) -
src/internal/coverage/rtcov/rtcov.go
CounterMode: cmode, CounterGranularity: cgran, }) if pkgid != -1 { if Meta.PkgMap == nil { Meta.PkgMap = make(map[int]int) } if _, ok := Meta.PkgMap[pkgid]; ok { return 0 } // Record the real slot (position on meta-list) for this // package; we'll use the map to fix things up later on. Meta.PkgMap[pkgid] = slot } // ID zero is reserved as invalid. return uint32(slot + 1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:57:47 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/pkg.go
// instantiations. p.Prefix = path } else { p.Prefix = objabi.PathToPrefix(path) } p.Syms = make(map[string]*Sym) pkgMap[path] = p return p } func PkgMap() map[string]*Pkg { return pkgMap } var nopkg = &Pkg{ Syms: make(map[string]*Sym), } func (pkg *Pkg) Lookup(name string) *Sym { s, _ := pkg.LookupOK(name) return s }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:28:50 UTC 2023 - 3.1K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/scope.go
// Get the podUID and containerName associated with the containerID to be removed and remove it podUIDString, containerName, err := s.podMap.GetContainerRef(containerID) if err != nil { return nil } s.podMap.RemoveByContainerID(containerID) // In cases where a container has been restarted, it's possible that the same podUID and
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 14:44:24 UTC 2023 - 5K bytes - Viewed (0) -
cni/pkg/repair/repair_test.go
} func makePodLabelMap(pods []*corev1.Pod) (podmap map[string]string) { podmap = map[string]string{} for _, pod := range pods { podmap[pod.Name] = "" for key, value := range pod.Labels { podmap[pod.Name] = strings.Join([]string{podmap[pod.Name], fmt.Sprintf("%s=%s", key, value)}, ",") } podmap[pod.Name] = strings.Trim(podmap[pod.Name], " ,") } return }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 10.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/third_party/forked/golang/netutil/addr.go
// FROM: http://golang.org/src/net/http/transport.go var portMap = map[string]string{ "http": "80", "https": "443", "socks5": "1080", } // FROM: http://golang.org/src/net/http/transport.go // canonicalAddr returns url.Host but always with a ":port" suffix func CanonicalAddr(url *url.URL) string { addr := url.Host if !hasPort(addr) { return addr + ":" + portMap[url.Scheme] } return addr
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 21 10:49:41 UTC 2022 - 723 bytes - Viewed (0)