- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for Sel (0.46 sec)
-
src/cmd/compile/internal/types2/errsupport.go
alt = obj.Name() if obj.Pkg() == check.pkg { assert(alt != sel) // otherwise there is no lookup error e = misspelled } else if isExported(sel) { if isExported(alt) { e = misspelled } else if tail(sel) == tail(alt) { e = unexported } } else if isExported(alt) { if tail(sel) == tail(alt) { e = misspelled } } else if sel == alt { e = inaccessible } } if structLit {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 4.4K bytes - Viewed (0) -
src/go/types/errsupport.go
alt = obj.Name() if obj.Pkg() == check.pkg { assert(alt != sel) // otherwise there is no lookup error e = misspelled } else if isExported(sel) { if isExported(alt) { e = misspelled } else if tail(sel) == tail(alt) { e = unexported } } else if isExported(alt) { if tail(sel) == tail(alt) { e = misspelled } } else if sel == alt { e = inaccessible } } if structLit {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.5K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/testinggoroutine.go
if !ok { return nil, nil, nil } sel := info.Selections[selExpr] if sel == nil { return nil, nil, nil } var x *types.Var if id, ok := astutil.Unparen(selExpr.X).(*ast.Ident); ok { x, _ = info.Uses[id].(*types.Var) } if x == nil { return nil, nil, nil } fn, _ := sel.Obj().(*types.Func) if fn == nil || !isMethodNamed(fn, "testing", forbidden...) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.8K 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) -
src/runtime/select.go
nsends++ case selectRecv: nrecvs++ j = len(cases) - nrecvs } sel[j] = scase{c: rc.ch, elem: rc.val} orig[j] = i } // Only a default case. if nsends+nrecvs == 0 { return dflt, false } // Compact sel and orig if necessary. if nsends+nrecvs < len(cases) { copy(sel[nsends:], sel[len(cases)-nrecvs:]) copy(orig[nsends:], orig[len(cases)-nrecvs:]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go
// reflect.Value.UnsafeAddr from uintptr to Pointer." if len(x.Args) != 0 { break } sel, ok := x.Fun.(*ast.SelectorExpr) if !ok { break } switch sel.Sel.Name { case "Pointer", "UnsafeAddr": if analysisutil.IsNamedType(info.Types[sel.X].Type, "reflect", "Value") { return true } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.7K bytes - Viewed (0)