- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 122 for Sel (0.02 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) -
test/ken/chan.go
func test4(c int) { ca := mkchan(c, 4) changeNproc(2) go sel(nc, nc, nc, nc, ca[0], ca[1], ca[2], ca[3]) go sel(ca[0], ca[1], ca[2], ca[3], nc, nc, nc, nc) } func test5(c int) { ca := mkchan(c, 8) changeNproc(2) go sel(ca[4], ca[5], ca[6], ca[7], ca[0], ca[1], ca[2], ca[3]) go sel(ca[0], ca[1], ca[2], ca[3], ca[4], ca[5], ca[6], ca[7]) } func test6(c int) { ca := mkchan(c, 12)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 4.7K 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/walk/select.go
"cmd/compile/internal/types" "cmd/internal/src" ) func walkSelect(sel *ir.SelectStmt) { lno := ir.SetPos(sel) if sel.Walked() { base.Fatalf("double walkSelect") } sel.SetWalked(true) init := ir.TakeInit(sel) init = append(init, walkSelectCases(sel.Cases)...) sel.Cases = nil sel.Compiled = init walkStmtList(sel.Compiled) base.Pos = lno }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 01:53:41 UTC 2023 - 7.8K 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) -
staging/src/k8s.io/apimachinery/pkg/labels/selector_test.go
if sel, err := Parse(ssp.In); err != nil && ssp.Valid { t.Errorf("Parse(%s) => %v expected no error", ssp.In, err) } else if err == nil && !ssp.Valid { t.Errorf("Parse(%s) => %+v expected error", ssp.In, sel) } else if ssp.Match && !reflect.DeepEqual(sel, ssp.Out) { t.Errorf("Parse(%s) => parse output '%#v' doesn't match '%#v' expected match", ssp.In, sel, ssp.Out) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 14 16:39:04 UTC 2022 - 29.9K 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)