- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for doPatch (3.03 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/regexp/exec.go
Return: if !matched { freeOnePassMachine(m) return nil } dstCap = append(dstCap, m.matchcap...) freeOnePassMachine(m) return dstCap } // doMatch reports whether either r, b or s match the regexp. func (re *Regexp) doMatch(r io.RuneReader, b []byte, s string) bool { return re.doExecute(r, b, s, 0, 0, nil) != nil } // doExecute finds the leftmost match in the input, appends the position
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jun 04 20:10:54 UTC 2022 - 12.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) -
pkg/kubelet/config/file_linux_test.go
"k8s.io/kubernetes/pkg/securitycontext" ) func TestExtractFromNonExistentFile(t *testing.T) { ch := make(chan interface{}, 1) lw := newSourceFile("/some/fake/file", "localhost", time.Millisecond, ch) err := lw.doWatch() if err == nil { t.Errorf("Expected error") } } func TestUpdateOnNonExistentFile(t *testing.T) { ch := make(chan interface{}) NewSourceFile("random_non_existent_path", "localhost", time.Millisecond, ch)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 12.3K 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)