- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for refMap (0.2 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/kubelet/util/manager/watch_based_manager_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K 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) -
src/cmd/go/internal/modfetch/coderepo_test.go
if alt == vgotest1hg { m = hgmap } altTest.version = remap(altTest.version, m) altTest.name = remap(altTest.name, m) altTest.short = remap(altTest.short, m) altTest.rev = remap(altTest.rev, m) altTest.err = remap(altTest.err, m) altTest.gomodErr = remap(altTest.gomodErr, m) altTest.zipErr = remap(altTest.zipErr, m) altTest.zipSum = "" altTest.zipFileHash = ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 20:10:14 UTC 2023 - 29.4K 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)