- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 73 for refMap (0.12 sec)
-
pkg/kubelet/util/manager/watch_based_manager.go
c.items[key] = item } item.refMap[referencedFrom]++ } func (c *objectCache) DeleteReference(namespace, name string, referencedFrom types.UID) { key := objectKey{namespace: namespace, name: name} c.lock.Lock() defer c.lock.Unlock() if item, ok := c.items[key]; ok { item.refMap[referencedFrom]-- if item.refMap[referencedFrom] == 0 { delete(item.refMap, referencedFrom) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
// Res adds a new container to the inner pod with given resource map. func (p *PodWrapper) Res(resMap map[v1.ResourceName]string) *PodWrapper { if len(resMap) == 0 { return p } name := fmt.Sprintf("con%d", len(p.Spec.Containers)) p.Spec.Containers = append(p.Spec.Containers, MakeContainer().Name(name).Image(imageutils.GetPauseImageName()).Resources(resMap).Obj()) return p }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
pkg/test/framework/scope.go
} func (s *scope) get(ref any) error { s.mu.Lock() defer s.mu.Unlock() refVal := reflect.ValueOf(ref) if refVal.Kind() != reflect.Ptr { return fmt.Errorf("ref must be a pointer instead got: %T", ref) } // work with the underlying value rather than the pointer refVal = refVal.Elem() targetT := refVal.Type() if refVal.Kind() == reflect.Slice { // for slices look at the element type targetT = targetT.Elem()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 21:55:23 UTC 2024 - 4.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java
return super.visitField(access, name, remap(desc), remap(signature), remap(value)); } @Override public void visitInnerClass(String name, String outerName, String innerName, int access) { super.visitInnerClass(remap(name), remap(outerName), remap(innerName), access); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:23:24 UTC 2024 - 23.5K bytes - Viewed (0) -
docs/iam/access-manager-plugin.go
return } var out bytes.Buffer json.Indent(&out, body, "", " ") fmt.Printf("Received JSON payload:\n%s\n", out.String()) reqMap := make(map[string]interface{}) err = json.Unmarshal(body, &reqMap) if err != nil { writeErrorResponse(w, err) return } m := reqMap["input"].(map[string]interface{}) accountValue := m["account"].(string) actionValue := m["action"].(string)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 08 17:15:20 UTC 2024 - 2.7K bytes - Viewed (0) -
cmd/admin-heal-ops.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 18:04:41 UTC 2024 - 25.1K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/git_test.go
info := *tt.info tt.info = &info tt.info.Name = remap(tt.info.Name, m) tt.info.Version = remap(tt.info.Version, m) tt.info.Short = remap(tt.info.Short, m) } tt.rev = remap(tt.rev, m) t.Run(path.Base(tt.repo)+"/"+tt.rev, runTest(tt)) tt = old } } } } func remap(name string, m map[string]string) string { if m[name] != "" { return m[name]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 19:46:23 UTC 2023 - 18.9K bytes - Viewed (0) -
docs/en/docs/tutorial/cookie-params.md
!!! info To declare cookies, you need to use `Cookie`, because otherwise the parameters would be interpreted as query parameters. ## Recap
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 2.4K bytes - Viewed (0) -
src/runtime/mem_linux.go
case madviseUnsupported: // Since Linux 3.18, support for madvise is optional. // Fall back on mmap if it's not supported. // _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE will unmap all the // pages in the old mapping, and remap the memory region. mmap(v, n, _PROT_READ|_PROT_WRITE, _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE, -1, 0) } if debug.harddecommit > 0 { p, err := mmap(v, n, _PROT_NONE, _MAP_ANON|_MAP_FIXED|_MAP_PRIVATE, -1, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 5K bytes - Viewed (0) -
tools/bug-report/pkg/bugreport/bugreport.go
func getIstioRevisions(resources *cluster2.Resources) []string { revMap := sets.New[string]() for _, podLabels := range resources.Labels { for label, value := range podLabels { if label == label2.IoIstioRev.Name { revMap.Insert(value) } } } for _, podAnnotations := range resources.Annotations { for annotation, value := range podAnnotations {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 20:57:29 UTC 2024 - 20.7K bytes - Viewed (0)