Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for checkSize (0.24 sec)

  1. cmd/xl-storage_unix_test.go

    		t.Fatalf("Create a file `test` failed with %s expected to pass.", err)
    	}
    
    	// CheckFile - stat the file.
    	if _, err := disk.StatInfoFile(context.Background(), testCase.volName, "hello-world.txt/"+xlStorageFormatFile, false); err != nil {
    		t.Fatalf("Stat failed with %s expected to pass.", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. src/testing/fstest/testfs.go

    		return strings.Compare(fa[1]+" "+fb[0], fb[1]+" "+fa[0])
    	})
    
    	t.errorf("%s: diff %s:\n\t%s", dir, desc, strings.Join(diffs, "\n\t"))
    }
    
    // checkFile checks that basic file reading works correctly.
    func (t *fsTester) checkFile(file string) {
    	t.files = append(t.files, file)
    
    	// Read entire file.
    	f, err := t.fsys.Open(file)
    	if err != nil {
    		t.errorf("%s: Open: %w", file, err)
    		return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. src/go/internal/gcimporter/gcimporter_test.go

    			compile(t, rootDir, entry.Name(), filepath.Join(tmpdir, "testdata"), nil, filename)
    			pkgName := strings.TrimSuffix(entry.Name(), ".go")
    			imported := importPkg(t, "./testdata/"+pkgName, tmpdir)
    			checked := checkFile(t, filename, src)
    
    			seen := make(map[string]bool)
    			for _, name := range imported.Scope().Names() {
    				if !token.IsExported(name) {
    					continue // ignore synthetic names like .inittask and .dict.*
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. src/time/format_test.go

    	for _, test := range rubyTests {
    		time, err := Parse(test.format, test.value)
    		if err != nil {
    			t.Errorf("%s error: %v", test.name, err)
    		} else {
    			checkTime(time, &test, t)
    		}
    	}
    }
    
    func checkTime(time Time, test *ParseTest, t *testing.T) {
    	// The time should be Thu Feb  4 21:00:57 PST 2010
    	if test.yearSign >= 0 && test.yearSign*time.Year() != 2010 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:58:29 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

         * refresh.
         */
        @CanIgnoreReturnValue
        @CheckForNull
        V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) {
          final LoadingValueReference<K, V> loadingValueReference =
              insertLoadingValueReference(key, hash, checkTime);
          if (loadingValueReference == null) {
            return null;
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LocalCache.java

         * refresh.
         */
        @CanIgnoreReturnValue
        @CheckForNull
        V refresh(K key, int hash, CacheLoader<? super K, V> loader, boolean checkTime) {
          final LoadingValueReference<K, V> loadingValueReference =
              insertLoadingValueReference(key, hash, checkTime);
          if (loadingValueReference == null) {
            return null;
          }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
Back to top