Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testWrite (0.28 seconds)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite(IteratorsTest.class.getSimpleName());
        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
      }
    
      @SuppressWarnings("DoNotCall")
      public void testEmptyIterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 56.7K bytes
    - Click Count (0)
  2. src/bufio/bufio_test.go

    		_, err := buf.ReadString('\n')
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if allocs != 1 {
    		t.Errorf("Unexpected number of allocations, got %f, want 1", allocs)
    	}
    }
    
    func TestWriter(t *testing.T) {
    	var data [8192]byte
    
    	for i := 0; i < len(data); i++ {
    		data[i] = byte(' ' + i%('~'-' '))
    	}
    	w := new(bytes.Buffer)
    	for i := 0; i < len(bufsizes); i++ {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
Back to Top