Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for timeout (0.15 sec)

  1. src/bytes/bytes_test.go

    var isValidRune = predicate{
    	func(r rune) bool {
    		return r != utf8.RuneError
    	},
    	"IsValidRune",
    }
    
    type TrimFuncTest struct {
    	f        predicate
    	in       string
    	trimOut  []byte
    	leftOut  []byte
    	rightOut []byte
    }
    
    func not(p predicate) predicate {
    	return predicate{
    		func(r rune) bool {
    			return !p.f(r)
    		},
    		"not " + p.name,
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/operand_test.go

    	{"rcv_name+20(FP)", "rcv_name+20(FP)"},
    	{"retoffset+28(FP)", "retoffset+28(FP)"},
    	{"runtime·_GetStdHandle(SB)", "runtime._GetStdHandle(SB)"},
    	{"sync\u2215atomic·AddInt64(SB)", "sync/atomic.AddInt64(SB)"},
    	{"timeout+20(FP)", "timeout+20(FP)"},
    	{"ts+16(FP)", "ts+16(FP)"},
    	{"x+24(FP)", "x+24(FP)"},
    	{"x·y(SB)", "x.y(SB)"},
    	{"x·y(SP)", "x.y(SP)"},
    	{"x·y+8(SB)", "x.y+8(SB)"},
    	{"x·y+8(SP)", "x.y+8(SP)"},
    	{"y+56(FP)", "y+56(FP)"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  3. src/bufio/bufio_test.go

    }
    
    var readMakers = []readMaker{
    	{"full", func(r io.Reader) io.Reader { return r }},
    	{"byte", iotest.OneByteReader},
    	{"half", iotest.HalfReader},
    	{"data+err", iotest.DataErrReader},
    	{"timeout", iotest.TimeoutReader},
    }
    
    // Call ReadString (which ends up calling everything else)
    // to accumulate the text of a file.
    func readLines(b *Reader) string {
    	s := ""
    	for {
    		s1, err := b.ReadString('\n')
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
Back to top