Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for pipetest (0.1 sec)

  1. src/io/pipe_test.go

    type closer interface {
    	CloseWithError(error) error
    	Close() error
    }
    
    type pipeTest struct {
    	async          bool
    	err            error
    	closeWithError bool
    }
    
    func (p pipeTest) String() string {
    	return fmt.Sprintf("async=%v err=%v closeWithError=%v", p.async, p.err, p.closeWithError)
    }
    
    var pipeTests = []pipeTest{
    	{true, nil, false},
    	{true, nil, true},
    	{true, ErrShortWrite, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/os/exec/exec_test.go

    		}
    	})
    }
    
    var helperCommandUsed sync.Map
    
    var helperCommands = map[string]func(...string){
    	"echo":          cmdEcho,
    	"echoenv":       cmdEchoEnv,
    	"cat":           cmdCat,
    	"pipetest":      cmdPipeTest,
    	"stdinClose":    cmdStdinClose,
    	"exit":          cmdExit,
    	"describefiles": cmdDescribeFiles,
    	"stderrfail":    cmdStderrFail,
    	"yes":           cmdYes,
    	"hang":          cmdHang,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. pkg/util/net/ip_test.go

    Hemendra Teli <******@****.***> 1714574500 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  4. src/time/time_test.go

    	Weekday              Weekday
    	ZoneOffset           int    // seconds east of UTC, e.g. -7*60*60 for -0700
    	Zone                 string // e.g., "MST"
    }
    
    type TimeTest struct {
    	seconds int64
    	golden  parsedTime
    }
    
    var utctests = []TimeTest{
    	{0, parsedTime{1970, January, 1, 0, 0, 0, 0, Thursday, 0, "UTC"}},
    	{1221681866, parsedTime{2008, September, 17, 20, 4, 26, 0, Wednesday, 0, "UTC"}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
Back to top