- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for testclock (0.15 sec)
-
pilot/pkg/leaderelection/leaderelection_test.go
"k8s.io/client-go/kubernetes" "k8s.io/client-go/kubernetes/fake" k8stesting "k8s.io/client-go/testing" "istio.io/istio/pkg/revisions" "istio.io/istio/pkg/test/util/retry" ) const testLock = "test-lock" func createElection(t *testing.T, name string, revision string, watcher revisions.DefaultWatcher, expectLeader bool, client kubernetes.Interface, fns ...func(stop <-chan struct{}),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 11.4K bytes - Viewed (0) -
src/archive/tar/writer_test.go
} testReadFrom struct { // ReadFrom(testFile{ops}) == (wantCnt, wantErr) ops fileOps wantCnt int64 wantErr error } testClose struct { // Close() == wantErr wantErr error } testFnc any // testHeader | testWrite | testReadFrom | testClose ) vectors := []struct { file string // Optional filename of expected output tests []testFnc }{{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 15.1K bytes - Viewed (0) -
src/go/types/check_test.go
const src = `package issue47243; var a uint64; var _ = a << uint64(4294967296)` // uint64(1<<32) testFiles(t, []string{"p.go"}, [][]byte{[]byte(src)}, false, withSizes(&StdSizes{4, 4})) } func TestCheck(t *testing.T) { old := buildcfg.Experiment.RangeFunc defer func() { buildcfg.Experiment.RangeFunc = old }() buildcfg.Experiment.RangeFunc = true DefPredeclaredTestFuncs()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check_test.go
const src = `package issue47243; var a uint64; var _ = a << uint64(4294967296)` // uint64(1<<32) testFiles(t, []string{"p.go"}, [][]byte{[]byte(src)}, 0, false, withSizes(&StdSizes{4, 4})) } func TestCheck(t *testing.T) { old := buildcfg.Experiment.RangeFunc defer func() { buildcfg.Experiment.RangeFunc = old }() buildcfg.Experiment.RangeFunc = true DefPredeclaredTestFuncs()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/slices/slices_test.go
result := Reverse(tc.input) if diff := cmp2.Diff(tc.expected, result); diff != "" { t.Errorf("Reverse() mismatch (-want +got):\n%s", diff) } }) } } func TestClone(t *testing.T) { tests := []struct { name string slice []interface{} }{ { name: "Empty", slice: []interface{}{}, }, { name: "Single Element",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 18.2K bytes - Viewed (0) -
src/slices/slices_test.go
t.Errorf("DeleteFunc: want nil discarded elements, got %v, %v", mem[3], mem[4]) } if mem[5] == nil { t.Errorf("DeleteFunc: want unchanged elements beyond original len, got nil") } } func TestClone(t *testing.T) { s1 := []int{1, 2, 3} s2 := Clone(s1) if !Equal(s1, s2) { t.Errorf("Clone(%v) = %v, want %v", s1, s2, s1) } s1[0] = 4 want := []int{1, 2, 3} if !Equal(s2, want) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0)