- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for Sel (0.06 sec)
-
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
return types.NamespacedName{}, err } selector := ds.Spec.Selector if selector == nil { return types.NamespacedName{}, fmt.Errorf("selector is required") } sel := selector.MatchLabels kv := []string{} for k, v := range sel { kv = append(kv, k+"="+v) } podsr, err := client.Kube().CoreV1().Pods(namespace).List(context.Background(), metav1.ListOptions{ TypeMeta: metav1.TypeMeta{},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/DependencyGraphBuilderTest.groovy
def details = args[0] Collection<ComponentResolutionState> candidates = details.candidates def sel = candidates.find { it.id.name == 'b' } assert sel details.select(sel) } 0 * conflictResolver._ when: def result = resolve() result.rethrowFailure() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 19:04:04 UTC 2024 - 45.1K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
if err != nil { t.Fatal(err) } mutex := imports["sync"].Scope().Lookup("Mutex").(*types.TypeName).Type() mset := types.NewMethodSet(types.NewPointer(mutex)) // methods of *sync.Mutex sel := mset.Lookup(nil, "Lock") lock := sel.Obj().(*types.Func) if got, want := lock.Pkg().Path(), "sync"; got != want { t.Errorf("got package path %q; want %q", got, want) } } func TestIssue13566(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
func checkCopyLocksCallExpr(pass *analysis.Pass, ce *ast.CallExpr) { var id *ast.Ident switch fun := ce.Fun.(type) { case *ast.Ident: id = fun case *ast.SelectorExpr: id = fun.Sel } if fun, ok := pass.TypesInfo.Uses[id].(*types.Builtin); ok { switch fun.Name() { case "new", "len", "cap", "Sizeof", "Offsetof", "Alignof": return } } for _, x := range ce.Args {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
// This one is not a selector, it must be an exact match if sel := mustGetLabels(t, deployment, "spec.selector.matchLabels"); !reflect.DeepEqual(deploymentSelector, sel) { t.Fatalf("Depployment selectors are immutable, but changed since 1.5. Was %v, now is %v", deploymentSelector, sel) } }) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
src/go/types/check.go
case *ast.IndexListExpr: selOrIdent = e.X case *ast.SelectorExpr, *ast.Ident: selOrIdent = e } switch x := selOrIdent.(type) { case *ast.Ident: return x case *ast.SelectorExpr: return x.Sel } // extra debugging of #63933 var buf strings.Builder buf.WriteString("instantiated ident not found; please report: ") ast.Fprint(&buf, token.NewFileSet(), expr, ast.NotNilFilter) panic(buf.String())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
selOrIdent = e.X case *syntax.SelectorExpr, *syntax.Name: selOrIdent = e } switch x := selOrIdent.(type) { case *syntax.Name: return x case *syntax.SelectorExpr: return x.Sel } panic("instantiated ident not found") } func (check *Checker) recordDef(id *syntax.Name, obj Object) { assert(id != nil) if m := check.Defs; m != nil { m[id] = obj } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
needsUnsafe := false f.walk(arg, ctxExpr, func(f *File, arg interface{}, context astContext) { px, ok := arg.(*ast.Expr) if !ok { return } sel, ok := (*px).(*ast.SelectorExpr) if ok { if l, ok := sel.X.(*ast.Ident); !ok || l.Name != "C" { return } for _, r := range f.Ref { if r.Expr == px { *px = p.rewriteName(f, r, addPosition)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
func (s *ambientTestServer) addPolicy(t *testing.T, name, ns string, selector map[string]string, kind config.GroupVersionKind, modify func(controllers.Object), ) { t.Helper() var sel *v1beta1.WorkloadSelector if selector != nil { sel = &v1beta1.WorkloadSelector{ MatchLabels: selector, } } switch kind { case gvk.AuthorizationPolicy: pol := &clientsecurityv1beta1.AuthorizationPolicy{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
src/go/ast/filter.go
// anonymous field, the result is nil. func fieldName(x Expr) *Ident { switch t := x.(type) { case *Ident: return t case *SelectorExpr: if _, ok := t.X.(*Ident); ok { return t.Sel } case *StarExpr: return fieldName(t.X) } return nil } func filterFieldList(fields *FieldList, filter Filter, export bool) (removedFields bool) { if fields == nil { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 13.3K bytes - Viewed (0)