Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLargeByteWrites (0.08 sec)

  1. src/bytes/buffer_test.go

    }
    
    func TestLargeByteWrites(t *testing.T) {
    	var buf Buffer
    	limit := 30
    	if testing.Short() {
    		limit = 9
    	}
    	for i := 3; i < limit; i += 3 {
    		s := fillBytes(t, "TestLargeWrites (1)", &buf, "", 5, testBytes)
    		empty(t, "TestLargeByteWrites (2)", &buf, s, make([]byte, len(testString)/i))
    	}
    	check(t, "TestLargeByteWrites (3)", &buf, "")
    }
    
    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