Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 184 for Uint64N (0.32 sec)

  1. cmd/perf-tests.go

    	if objAPI == nil {
    		return SpeedTestResult{}, errServerNotInitialized
    	}
    
    	var wg sync.WaitGroup
    	var errOnce sync.Once
    	var retError string
    	var totalBytesWritten uint64
    	var totalBytesRead uint64
    
    	objCountPerThread := make([]uint64, opts.concurrency)
    
    	uploadsCtx, uploadsCancel := context.WithTimeout(ctx, opts.duration)
    	defer uploadsCancel()
    
    	objNamePrefix := pathJoin(speedTest, mustGetUUID())
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	return fh, nil
    }
    
    type directoryEnd struct {
    	diskNbr            uint32 // unused
    	dirDiskNbr         uint32 // unused
    	dirRecordsThisDisk uint64 // unused
    	directoryRecords   uint64
    	directorySize      uint64
    	directoryOffset    uint64 // relative to file
    	commentLen         uint16
    	comment            string
    }
    
    // timeZone returns a *time.Location based on the provided offset.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    			b.uint32(uint32max) // uncompressed size
    
    			// append a zip64 extra block to Extra
    			var buf [28]byte // 2x uint16 + 3x uint64
    			eb := writeBuf(buf[:])
    			eb.uint16(zip64ExtraID)
    			eb.uint16(24) // size = 3x uint64
    			eb.uint64(h.UncompressedSize64)
    			eb.uint64(h.CompressedSize64)
    			eb.uint64(h.offset)
    			h.Extra = append(h.Extra, buf[:]...)
    		} else {
    			b.uint32(h.CompressedSize)
    			b.uint32(h.UncompressedSize)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    type expiryStats struct {
    	missedExpiryTasks      atomic.Int64
    	missedFreeVersTasks    atomic.Int64
    	missedTierJournalTasks atomic.Int64
    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    func (e *expiryStats) MissedTasks() int64 {
    	return e.missedExpiryTasks.Load()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

        // `pread` returns a `ssize_t` on POSIX, but due to interface being
        // cross-platform, return type of `Read` is `int64_t`.
        int64_t r = int64_t{pread(posix_file->fd, dst, requested_read_length,
                                  static_cast<off_t>(offset))};
        if (r > 0) {
          dst += r;
          offset += static_cast<uint64_t>(r);
          n -= r;  // safe as 0 < r <= n so n will never underflow
          read += r;
        } else if (r == 0) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    namespace tf_random_access_file {
    using ReadFn =
        std::function<int64_t(const std::string& path, uint64_t offset, size_t n,
                              char* buffer, TF_Status* status)>;
    typedef struct GCSFile {
      const std::string path;
      const bool is_cache_enable;
      const uint64_t buffer_size;
      ReadFn read_fn;
      absl::Mutex buffer_mutex;
      uint64_t buffer_start ABSL_GUARDED_BY(buffer_mutex);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    func (rl ReplicationLatency) getUploadLatency() (ret map[string]uint64) {
    	ret = make(map[string]uint64)
    	avg := rl.UploadHistogram.GetAvgData()
    	for k, v := range avg {
    		// Convert nanoseconds to milliseconds
    		ret[sizeTagToString(k)] = uint64(v.avg() / time.Millisecond)
    	}
    	return
    }
    
    // Update replication upload latency with a new value
    func (rl *ReplicationLatency) update(size int64, duration time.Duration) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    // Since de-compression is after decryption encryption overhead is only added to compressedOffset.
    func getCompressedOffsets(oi ObjectInfo, offset int64, decrypt func([]byte) ([]byte, error)) (compressedOffset int64, partSkip int64, firstPart int, decryptSkip int64, seqNum uint32) {
    	var skipLength int64
    	var cumulativeActualSize int64
    	var firstPartIdx int
    	for i, part := range oi.Parts {
    		cumulativeActualSize += part.ActualSize
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. cmd/storage-datatypes.go

    //
    // The above means that any added/deleted fields are incompatible.
    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  10. cmd/erasure-metadata-utils.go

    func reduceCommonVersions(diskVersions [][]byte, writeQuorum int) (versions []byte) {
    	diskVersionsCount := make(map[uint64]int)
    	for _, versions := range diskVersions {
    		if len(versions) > 0 {
    			diskVersionsCount[binary.BigEndian.Uint64(versions)]++
    		}
    	}
    
    	var commonVersions uint64
    	max := 0
    	for versions, count := range diskVersionsCount {
    		if max < count {
    			max = count
    			commonVersions = versions
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top