Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testfunc0 (0.31 sec)

  1. 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)
  2. 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)
  3. 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