Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/bytes/bytes_test.go

    var RepeatTests = []RepeatTest{
    	{"", "", 0},
    	{"", "", 1},
    	{"", "", 2},
    	{"-", "", 0},
    	{"-", "-", 1},
    	{"-", "----------", 10},
    	{"abc ", "abc abc abc ", 3},
    	// Tests for results over the chunkLimit
    	{string(rune(0)), string(make([]byte, 1<<16)), 1 << 16},
    	{longString, longString + longString, 2},
    }
    
    func TestRepeat(t *testing.T) {
    	for _, tt := range RepeatTests {
    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/bufio/bufio_test.go

    	w.buf = append(w.buf, b...)
    	w.readFromBytes += len(b)
    	return int64(len(b)), err
    }
    
    // Test that calling (*Writer).ReadFrom with a partially-filled buffer
    // fills the buffer before switching over to ReadFrom.
    func TestWriterReadFromWithBufferedData(t *testing.T) {
    	const bufsize = 16
    
    	input := createTestInput(64)
    	rfw := &readFromWriter{}
    	w := NewWriterSize(rfw, bufsize)
    
    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)
  3. src/cmd/cgo/gcc.go

    	}
    	// disable LTO so we get an object whose symbols we can read
    	c = append(c, "-fno-lto")
    	c = append(c, "-") //read input from standard input
    	return c
    }
    
    // gccDebug runs gcc -gdwarf-2 over the C program stdin and
    // returns the corresponding DWARF data and, if present, debug data block.
    func (p *Package) gccDebug(stdin []byte, nnames int) (d *dwarf.Data, ints []int64, floats []float64, strs []string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top