Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestLargeWrites (0.7 sec)

  1. src/bytes/buffer_test.go

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