- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for newIndirect (0.22 sec)
-
src/internal/concurrent/hashtriemap.go
ni := (newHash >> hashShift) & nChildrenMask if oi != ni { newIndirect.children[oi].Store(&oldEntry.node) newIndirect.children[ni].Store(&newEntry.node) break } nextIndirect := newIndirectNode(newIndirect) newIndirect.children[oi].Store(&nextIndirect.node) newIndirect = nextIndirect } return &top.node }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 16:01:55 UTC 2024 - 11.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
typ = p.qualifiedName(nil) } tag := p.oliteral() p.addField(styp, pos, nil, newIndirect(pos, typ), tag) case _Lparen: p.syntaxError("cannot parenthesize embedded type") p.next() var typ Expr if p.tok == _Star { // (*T) pos := p.pos() p.next() typ = newIndirect(pos, p.qualifiedName(nil)) } else { // (T) typ = p.qualifiedName(nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
} return true, val, nil } // no annotation found so use default value return false, annotationRegistry[name].defaultVal, nil } // NewRedirect returns a new Redirect Object constructed from a list of ports and annotations func NewRedirect(pi *PodInfo) (*Redirect, error) { var isFound bool var valErr error redir := &Redirect{} redir.targetPort = defaultRedirectToPort
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
} if _, ok := pi.Annotations[sidecarStatusKey]; !ok { log.Infof("excluded due to not containing sidecar annotation") return nil } log.Debugf("Setting up redirect") redirect, err := NewRedirect(pi) if err != nil { log.Errorf("redirect failed due to bad params: %v", err) return err } if err := rulesMgr.Program(podName, args.Netns, redirect); err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
func redirectRunningPod(pod *corev1.Pod, netns string) error { pi := plugin.ExtractPodInfo(pod) redirect, err := plugin.NewRedirect(pi) if err != nil { return fmt.Errorf("setup redirect: %v", err) } rulesMgr := plugin.IptablesInterceptRuleMgr() if err := rulesMgr.Program(pod.Name, netns, redirect); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0)