Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testSize (0.1 sec)

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

        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSize0() {
        Iterator<String> iterator = emptyIterator();
        assertEquals(0, Iterators.size(iterator));
      }
    
      public void testSize1() {
        Iterator<Integer> iterator = singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThrows(IllegalStateException.class, () -> iterator.remove());
      }
    
      public void testSize0() {
        Iterator<String> iterator = emptyIterator();
        assertEquals(0, Iterators.size(iterator));
      }
    
      public void testSize1() {
        Iterator<Integer> iterator = singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  3. cmd/xl-storage_test.go

    	// create xlStorage test setup
    	storage, path, err := newXLStorageTestSetup(t)
    	if err != nil {
    		t.Fatalf("Unable to create xlStorage test setup, %s", err)
    	}
    
    	volName := "testvol"
    	fileName := "testfile"
    	if err := storage.MakeVol(context.Background(), volName); err != nil {
    		t.Fatal(err)
    	}
    
    	// 1) Whole-file bitrot check on proper file
    	size := int64(4*1024*1024 + 100*1024) // 4.1 MB
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
Back to top