Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 56 of 56 for testSize (0.16 sec)

  1. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

      }
    
      public void testNull() throws Exception {
        for (Striped<?> striped : allImplementations()) {
          new NullPointerTester().testAllPublicInstanceMethods(striped);
        }
      }
    
      public void testSizes() {
        // not bothering testing all variations, since we know they share implementations
        assertTrue(Striped.lock(100).size() >= 100);
        assertTrue(Striped.lock(256).size() == 256);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      const std::string base = GetURIForPath("GetChildren");
      tf_gcs_filesystem::CreateDir(filesystem_, base.c_str(), status_);
      EXPECT_TF_OK(status_);
    
      const std::string file = io::JoinPath(base, "TestFile.csv");
      WriteString(file, "test");
      EXPECT_TF_OK(status_);
    
      const std::string subdir = io::JoinPath(base, "SubDir");
      tf_gcs_filesystem::CreateDir(filesystem_, subdir.c_str(), status_);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  3. cmd/update_test.go

    	}
    }
    
    // Tests if the environment we are running is Helm chart.
    func TestGetHelmVersion(t *testing.T) {
    	createTempFile := func(content string) string {
    		tmpfile, err := os.CreateTemp("", "helm-testfile-")
    		if err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    		if _, err = tmpfile.WriteString(content); err != nil {
    			t.Fatalf("Unable to create temporary file. %s", err)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    }
    
    func TestFileReader(t *testing.T) {
    	type (
    		testRead struct { // Read(cnt) == (wantStr, wantErr)
    			cnt     int
    			wantStr string
    			wantErr error
    		}
    		testWriteTo struct { // WriteTo(testFile{ops}) == (wantCnt, wantErr)
    			ops     fileOps
    			wantCnt int64
    			wantErr error
    		}
    		testRemaining struct { // logicalRemaining() == wantLCnt, physicalRemaining() == wantPCnt
    			wantLCnt int64
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    	}
    	p.ctxt.InitTextSym(nameAddr.Sym, int(flag), p.pos())
    	prog := &obj.Prog{
    		Ctxt: p.ctxt,
    		As:   obj.ATEXT,
    		Pos:  p.pos(),
    		From: nameAddr,
    		To: obj.Addr{
    			Type:   obj.TYPE_TEXTSIZE,
    			Offset: frameSize,
    			// Argsize set below.
    		},
    	}
    	nameAddr.Sym.Func().Text = prog
    	prog.To.Val = int32(argSize)
    	p.append(prog, "", true)
    }
    
    // asmData assembles a DATA pseudo-op.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  6. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top