- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 66 for TestWatch (0.33 sec)
-
CHANGELOG/CHANGELOG-1.4.md
* etcd3: minor cleanups ([#34234](https://github.com/kubernetes/kubernetes/pull/34234), [@wojtek-t](https://github.com/wojtek-t)) * etcd3: update etcd godep to 3.0.9 to address TestWatch issues ([#32822](https://github.com/kubernetes/kubernetes/pull/32822), [@timothysc](https://github.com/timothysc))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 24 02:28:26 UTC 2020 - 133.5K bytes - Viewed (0) -
pilot/pkg/simulation/traffic.go
} } // prefix match var bestMatch *route.VirtualHost longest := 0 for _, vh := range rc.VirtualHosts { for _, d := range vh.Domains { if d[0] != '*' { continue } if len(host) >= len(d) && strings.HasSuffix(host, d[1:]) && len(d) > longest { bestMatch = vh longest = len(d) } } } if bestMatch != nil { return bestMatch } // Suffix match longest = 0
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/ast/astutil/imports.go
seenAnyThirdParty := false for j, spec := range gen.Specs { impspec := spec.(*ast.ImportSpec) p := importPath(impspec) n := matchLen(p, path) if n > bestMatch || (bestMatch == 0 && !seenAnyThirdParty && isThirdPartyPath) { bestMatch = n impDecl = gen impIndex = j } seenAnyThirdParty = seenAnyThirdParty || isThirdParty(p) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 21:56:21 UTC 2022 - 13.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version.go
} if len(targets) == 1 { return targets[0], true } if len(targets) > 1 { return bestMatch(kinds, targets), true } return GroupVersionKind{}, false } // bestMatch tries to pick best matching GroupVersionKind and falls back to the first // found if no exact match exists. func bestMatch(kinds []GroupVersionKind, targets []GroupVersionKind) GroupVersionKind { for _, gvk := range targets {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 30 09:08:59 UTC 2023 - 10.2K bytes - Viewed (0) -
src/path/match_test.go
{"a[", "a", false, ErrBadPattern}, {"a[", "ab", false, ErrBadPattern}, {"a[", "x", false, ErrBadPattern}, {"a/b[", "x", false, ErrBadPattern}, {"*x", "xxx", true, nil}, } func TestMatch(t *testing.T) { for _, tt := range matchTests { ok, err := Match(tt.pattern, tt.s) if ok != tt.match || err != tt.err { t.Errorf("Match(%#q, %#q) = %v, %v want %v, %v", tt.pattern, tt.s, ok, err, tt.match, tt.err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 23 14:59:03 UTC 2020 - 2.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/patchhandler_test.go
"net/http/httptest" "net/http/httputil" "testing" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" genericapitesting "k8s.io/apiserver/pkg/endpoints/testing" "k8s.io/apiserver/pkg/registry/rest" ) func TestPatch(t *testing.T) { storage := map[string]rest.Storage{} ID := "id" item := &genericapitesting.Simple{ ObjectMeta: metav1.ObjectMeta{ Name: ID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 14 10:11:56 UTC 2022 - 5K bytes - Viewed (0) -
src/cmd/fix/fix.go
} // Compute longest shared prefix with imports in this block. for j, spec := range gen.Specs { impspec := spec.(*ast.ImportSpec) n := matchLen(importPath(impspec), ipath) if n > bestMatch { bestMatch = n impDecl = gen impIndex = j } } } } // If no import decl found, add one after the last import. if impDecl == nil { impDecl = &ast.GenDecl{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 14.6K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version_test.go
targets: []GroupVersionKind{{Version: "V3", Kind: "pod"}, {Version: "V4", Kind: "pod"}}, output: GroupVersionKind{Version: "V3", Kind: "pod"}, }, } for i, test := range tests { out := bestMatch(test.kinds, test.targets) if out != test.output { t.Errorf("%d: expected out: %#v, got: %#v", i, test.output, out) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:46:00 UTC 2022 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/match.go
} if best.conf <= No { if len(want) != 0 { return nil, want[0].tag(), No } return nil, language.Tag{}, No } return best.have, best.want, best.conf } // bestMatch accumulates the best match so far. type bestMatch struct { have *haveTag want language.Tag conf Confidence pinnedRegion language.Region pinLanguage bool sameRegionGroup bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 25.1K bytes - Viewed (0) -
internal/store/batch_test.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package store import ( "errors" "sync" "testing" ) func TestBatch(t *testing.T) { var limit uint32 = 100 batch := NewBatch[int, int](limit) for i := 0; i < int(limit); i++ { if err := batch.Add(i, i); err != nil { t.Fatalf("failed to add %v; %v", i, err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Oct 07 15:07:38 UTC 2023 - 3.8K bytes - Viewed (0)