- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Testfunc (0.14 sec)
-
src/net/http/serve_test.go
} } // tryTimeouts runs testFunc with increasing timeouts. Test passes on first success, // and fails if all timeouts fail. func tryTimeouts(t *testing.T, testFunc func(timeout time.Duration) error) { tries := []time.Duration{250 * time.Millisecond, 500 * time.Millisecond, 1 * time.Second} for i, timeout := range tries { err := testFunc(timeout) if err == nil { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/reflect/all_test.go
// implicit padding between arguments. func dummy(b byte, c int, d byte, e two, f byte, g float32, h byte) (i byte, j int, k byte, l two, m byte, n float32, o byte) { return b, c, d, e, f, g, h } func TestFunc(t *testing.T) { ret := ValueOf(dummy).Call([]Value{ ValueOf(byte(10)), ValueOf(20), ValueOf(byte(30)), ValueOf(two{40, 50}), ValueOf(byte(60)), ValueOf(float32(70)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0) -
src/cmd/go/alldocs.go
// module-auth module authentication using go.sum // packages package lists and patterns // private configuration for downloading non-public code // testflag testing flags // testfunc testing functions // vcs controlling version control with GOVCS // // Use "go help <topic>" for more information about that topic. // // # Start a bug report // // Usage: // // go bug
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:54:28 UTC 2024 - 142.4K bytes - Viewed (0) -
pkg/scheduler/internal/queue/scheduling_queue_test.go
t.Errorf("Expected medPriorityPodInfo and unschedulablePodInfo to be still present in nomindatePods: %v", q.nominator.nominatedPods["node1"]) } } func newDefaultQueueSort() framework.LessFunc { sort := &queuesort.PrioritySort{} return sort.Less } func TestPriorityQueue_AddWithReversePriorityLessFunc(t *testing.T) { objs := []runtime.Object{medPriorityPodInfo.Pod, highPriorityPodInfo.Pod}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 146.9K bytes - Viewed (0)