Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 951 for v_size (0.21 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

        if (chunk > SSIZE_MAX) chunk = SSIZE_MAX;
    
        rc = sendfile(dst_fd, src_fd, &offset, static_cast<size_t>(chunk));
        if (rc < 0) return -1;
        bytes_transferred += rc;
      }
    
      return bytes_transferred;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  2. internal/disk/stat_linux.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total: uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:  uint64(s.Frsize) * s.Bavail,
    		Files: s.Files,
    		Ffree: s.Ffree,
    		//nolint:unconvert
    		FSType: getFSType(int64(s.Type)),
    	}
    
    	st := syscall.Stat_t{}
    	err = syscall.Stat(path, &st)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. internal/disk/stat_openbsd.go

    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.F_bfree) - uint64(s.F_bavail)
    	info = Info{
    		Total:  uint64(s.F_bsize) * (uint64(s.F_blocks) - reservedBlocks),
    		Free:   uint64(s.F_bsize) * uint64(s.F_bavail),
    		Files:  uint64(s.F_files),
    		Ffree:  uint64(s.F_ffree),
    		FSType: getFSType(s.F_fstypename[:]),
    	}
    	if info.Free > info.Total {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/and.go

    			return true
    		}
    		x[t.Key] = struct{}{}
    	}
    
    	return false
    }
    
    // BySize returns true when sz satisfies a
    // ObjectSizeLessThan/ObjectSizeGreaterthan or a logical AND of these predicates
    // Note: And combines size and other predicates like Tags, Prefix, etc. This
    // method applies exclusively to size predicates only.
    func (a And) BySize(sz int64) bool {
    	if a.ObjectSizeGreaterThan > 0 &&
    		sz <= a.ObjectSizeGreaterThan {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. internal/disk/stat_linux_32bit.go

    	s := syscall.Statfs_t{}
    	err = syscall.Statfs(path, &s)
    	if err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := s.Bfree - s.Bavail
    	info = Info{
    		Total:  uint64(s.Frsize) * (s.Blocks - reservedBlocks),
    		Free:   uint64(s.Frsize) * s.Bavail,
    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Type),
    	}
    	// Check for overflows.
    	// https://github.com/minio/minio/issues/8035
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        try {
          getList().listIterator(getNumElements() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	}
    
    	actualSize := size
    	var idxCb func() []byte
    	if isCompressible(r.Header, object) && size > minCompressibleSize {
    		// Storing the compression metadata.
    		metadata[ReservedMetadataPrefix+"compression"] = compressionAlgorithmV2
    		metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(size, 10)
    
    		actualReader, err := hash.NewReader(ctx, reader, size, md5hex, sha256hex, actualSize)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

        try {
          getList().listIterator(getNumElements() + 1);
          fail();
        } catch (IndexOutOfBoundsException expected) {
        }
      }
    
      public void testListIterator_atSize() {
        getList().listIterator(getNumElements());
        // TODO: run the iterator through ListIteratorTester
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testListIterator_fullyModifiable()} so that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  9. docs/sts/custom-token-identity.go

    	for obj := range objCh {
    		if obj.Err != nil {
    			log.Fatalf("Listing error: %v", obj.Err)
    		}
    		fmt.Printf("Key: %s\nSize: %d\nLast Modified: %s\n===\n", obj.Key, obj.Size, obj.LastModified)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/archive/tar/testdata/pax-pos-size-file.tar

    Joe Tsai <******@****.***> 1503528984 -0700
    TAR Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 24 01:35:39 GMT 2017
    - 2.5K bytes
    - Viewed (0)
Back to top