Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLargeStringReads (0.12 sec)

  1. src/bytes/buffer_test.go

    	}
    	check(t, "TestLargeByteWrites (3)", &buf, "")
    }
    
    func TestLargeStringReads(t *testing.T) {
    	var buf Buffer
    	for i := 3; i < 30; i += 3 {
    		s := fillString(t, "TestLargeReads (1)", &buf, "", 5, testString[:len(testString)/i])
    		empty(t, "TestLargeReads (2)", &buf, s, make([]byte, len(testString)))
    	}
    	check(t, "TestLargeStringReads (3)", &buf, "")
    }
    
    func TestLargeByteReads(t *testing.T) {
    	var buf Buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
Back to top