- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 40 for Sel (0.09 sec)
-
src/go/types/generate_test.go
m.rename(&fun.Sel.Name) return false } } return true }) } // fixSelValue updates the selector x.Sel.Value to x.Sel.Name. func fixSelValue(f *ast.File) { ast.Inspect(f, func(n ast.Node) bool { switch n := n.(type) { case *ast.SelectorExpr: if n.Sel.Name == "Value" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
check.errorf(e.Sel, AmbiguousSelector, "ambiguous selector %s.%s", x.expr, sel) goto Error } if indirect { if x.mode == typexpr { check.errorf(e.Sel, InvalidMethodExpr, "invalid method expression %s.%s (needs pointer receiver (*%s).%s)", x.typ, sel, x.typ, sel) } else { check.errorf(e.Sel, InvalidMethodExpr, "cannot call pointer method %s on %s", sel, x.typ) } goto Error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/telemetry/selector.go
} sNs := rs.Metadata.FullName.Namespace sel := labels.SelectorFromSet(s.GetSelector().MatchLabels) foundPod := false c.ForEach(gvk.Pod, func(rp *resource.Instance) bool { pNs := rp.Metadata.FullName.Namespace podLabels := labels.Set(rp.Metadata.Labels) // Only attempt to match in the same namespace if pNs != sNs { return true } if sel.Matches(podLabels) { foundPod = true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 3.4K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm.go
} else { wvalue = (scalar[index/64] >> (index % 64)) & 0x7f } index += 6 sel, sign = boothW6(uint(wvalue)) p256SelectAffine(&t0, &p256Precomputed[i], sel) p256PointAddAffineAsm(p, p, &t0, sign, sel, zero) zero |= sel } // If the whole scalar was zero, set to the point at infinity. p256MovCond(p, p, NewP256Point(), zero) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 21.4K bytes - Viewed (0) -
src/go/types/call.go
check.errorf(e.Sel, AmbiguousSelector, "ambiguous selector %s.%s", x.expr, sel) goto Error } if indirect { if x.mode == typexpr { check.errorf(e.Sel, InvalidMethodExpr, "invalid method expression %s.%s (needs pointer receiver (*%s).%s)", x.typ, sel, x.typ, sel) } else { check.errorf(e.Sel, InvalidMethodExpr, "cannot call pointer method %s on %s", sel, x.typ) } goto Error }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
pkg/config/analysis/analyzers/sidecar/selector.go
} sNs := rs.Metadata.FullName.Namespace sel := labels.SelectorFromSet(s.WorkloadSelector.Labels) foundPod := false c.ForEach(gvk.Pod, func(rp *resource.Instance) bool { pNs := rp.Metadata.FullName.Namespace podLabels := labels.Set(rp.Metadata.Labels) // Only attempt to match in the same namespace if pNs != sNs { return true } if sel.Matches(podLabels) { foundPod = true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 5K bytes - Viewed (0) -
src/go/types/resolver_test.go
t.Errorf("%s: unresolved qualified identifier %s", fset.Position(x.Pos()), x.Name) return false } if _, ok := obj.(*PkgName); ok && uses[s.Sel] == nil { t.Errorf("%s: unresolved selector %s", fset.Position(s.Sel.Pos()), s.Sel.Name) return false } return false } return true } return true }) } for id, obj := range uses {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 4.5K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
g := NewWithT(t) var runSkipped bool runFn := func(ctx *suiteContext) int { runSkipped = ctx.skipped return 0 } sel, err := label.ParseSelector("-customsetup") g.Expect(err).To(BeNil()) settings := resource.DefaultSettings() settings.Selector = sel s := newTestSuite("tid", runFn, defaultExitFn, settingsFn(settings)) s.Label(label.CustomSetup) s.Run()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
src/go/types/eval_test.go
} switch expr := expr.(type) { case *ast.Ident: if obj, ok := info.Uses[expr]; ok { return obj, nil } case *ast.SelectorExpr: if sel, ok := info.Selections[expr]; ok { return sel.Obj(), nil } if obj, ok := info.Uses[expr.Sel]; ok { return obj, nil // qualified identifier } } return nil, fmt.Errorf("no object for %s", str) } for _, group := range f.Comments {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 19:56:15 UTC 2024 - 8.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
} // No easy way of making sure it's a *testing.T or *testing.B: // ensure the name of the type matches. if name, ok := ptr.X.(*ast.Ident); ok { return name.Name == wantType } if sel, ok := ptr.X.(*ast.SelectorExpr); ok { return sel.Sel.Name == wantType } return false } func lookup(pkg *types.Package, name string) []types.Object { if o := pkg.Scope().Lookup(name); o != nil { return []types.Object{o} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0)