- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for doPatch (0.13 sec)
-
pilot/pkg/networking/core/cluster.go
} func (p clusterPatcher) patch(hosts []host.Name, c *cluster.Cluster) *discovery.Resource { cluster := p.doPatch(hosts, c) if cluster == nil { return nil } return &discovery.Resource{Name: cluster.Name, Resource: protoconv.MessageToAny(cluster)} } func (p clusterPatcher) doPatch(hosts []host.Name, c *cluster.Cluster) *cluster.Cluster { if !envoyfilter.ShouldKeepCluster(p.pctx, p.efw, c, hosts) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 33K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules/rules_test.go
"k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apimachinery/pkg/util/sets" "k8s.io/apiserver/pkg/admission" ) type ruleTest struct { rule adreg.RuleWithOperations match []admission.Attributes noMatch []admission.Attributes } type tests map[string]ruleTest func a(group, version, resource, subresource, name string, operation admission.Operation, operationOptions runtime.Object) admission.Attributes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 25 23:28:16 UTC 2022 - 13.8K bytes - Viewed (0) -
tests/integration/security/reachability_test.go
// Run the test cases. echotest.New(t, allServices.Instances()). FromMatch(match.And(c.fromMatch, match.NotProxylessGRPC)). ToMatch(match.And(c.toMatch, match.NotProxylessGRPC)). WithDefaultFilters(1, 1). ConditionallyTo(echotest.NoSelfCalls). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonClientsManagerTest.groovy
} def "does not reserve idle client when no matching client found"() { def noMatch = Stub(WorkerDaemonClient) { isCompatibleWith(_) >> false } expect: manager.reserveIdleClient(options, [noMatch]) == null } def "reserves idle client when match found"() { def noMatch = Stub(WorkerDaemonClient) { isCompatibleWith(_) >> false }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:56:11 UTC 2024 - 10.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
return } p.append(prog, cond, true) } func (p *Parser) patch() { for _, patch := range p.toPatch { targetProg := p.labels[patch.label] if targetProg == nil { p.errorf("undefined label %s", patch.label) return } p.branch(patch.addr, targetProg) } p.toPatch = p.toPatch[:0] } func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) { *addr = obj.Addr{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/compile/internal/walk/switch.go
// Start with all hashes going to the didn't-match target. noMatch := typecheck.AutoLabel(".s") for j := 0; j < 1<<b; j++ { jt.Cases[j] = constant.MakeInt64(int64(j)) jt.Targets[j] = noMatch } // This statement is not reachable, but it will make it obvious that we don't // fall through to the first case. out.Append(ir.NewBranchStmt(base.Pos, ir.OGOTO, noMatch)) // Emit each of the actual cases.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 30.1K bytes - Viewed (0) -
src/go/build/build_test.go
nomatch(runtime.GOOS+","+runtime.GOARCH+",!foo", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "foo": true}) match(runtime.GOOS+","+runtime.GOARCH+",!bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true}) nomatch(runtime.GOOS+","+runtime.GOARCH+",bar", map[string]bool{runtime.GOOS: true, runtime.GOARCH: true, "bar": true}) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 16:24:01 UTC 2023 - 23.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go
ans = append(ans, RequestDigest{RequestInfo: ri, User: ui}) } } return ans } func shuffleAndTakeDigests(t *testing.T, rng *rand.Rand, rule *flowcontrol.PolicyRulesWithSubjects, toMatch bool, digests []RequestDigest, n int) []RequestDigest { ans := make([]RequestDigest, 0, n) for len(ans) < n && len(digests) > 0 { i := rng.Intn(len(digests)) digest := digests[i] ans = append(ans, digest)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 12:18:40 UTC 2023 - 24.8K bytes - Viewed (0) -
tests/integration/security/pass_through_filter_chain_test.go
---`)). BuildAll(nil, apps.Ns1.All). Apply() echotest.New(t, apps.Ns1.All.Instances()). WithDefaultFilters(1, 1). FromMatch(match.NotProxylessGRPC). ToMatch(match.And( // TODO(nmittler): Why not headless/multiversion? match.NotHeadless, match.NotMultiVersion, match.NotNaked, match.NotProxylessGRPC)).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.9K bytes - Viewed (0) -
src/regexp/regexp.go
// contains any match of the regular expression re. func (re *Regexp) MatchReader(r io.RuneReader) bool { return re.doMatch(r, nil, "") } // MatchString reports whether the string s // contains any match of the regular expression re. func (re *Regexp) MatchString(s string) bool { return re.doMatch(nil, nil, s) } // Match reports whether the byte slice b // contains any match of the regular expression re.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 38.5K bytes - Viewed (0)