Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_func (0.39 sec)

  1. 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)
  2. 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)
Back to top