Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for numbytes (1.73 sec)

  1. internal/grid/types.go

    			buf.WriteByte('&')
    		}
    		buf.WriteString(keyEscaped)
    		buf.WriteByte('=')
    		buf.WriteString(url.QueryEscape(v))
    	}
    	return buf.String()
    }
    
    // NewBytes returns a new Bytes.
    // A slice is preallocated.
    func NewBytes() *Bytes {
    	b := Bytes(GetByteBuffer()[:0])
    	return &b
    }
    
    // NewBytesCap returns an empty Bytes with the given capacity.
    func NewBytesCap(size int) *Bytes {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  2. cmd/server_test.go

    		buffer.WriteString(data)
    	}
    	// String content which is used for put object range test.
    	putBytes := buffer.Bytes()
    	putBytes = putBytes[:randInt]
    	// randomize the order of bytes in the byte array and create a reader.
    	putBytes = randomizeBytes(putBytes, -1)
    	buf := bytes.NewReader(putBytes)
    	putContent := string(putBytes)
    	objectName := "test-big-file"
    	// HTTP request to upload the object.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			}
    			tagMismatch := !isReplicated(tagCount, numSites, tagSet)
    			olockCfgMismatch := !isReplicated(olockCfgCount, numSites, olockConfigSet)
    			sseCfgMismatch := !isReplicated(sseCfgCount, numSites, sseCfgSet)
    			versionCfgMismatch := !isReplicated(versionCfgCount, numSites, versionCfgSet)
    			policyMismatch := !isBktPolicyReplicated(numSites, policies)
    			replCfgMismatch := !isBktReplCfgReplicated(numSites, replCfgs)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. cmd/bucket-replication-stats.go

    	defer r.qCache.Unlock()
    	v, ok := r.qCache.bucketStats[bucket]
    	if !ok {
    		v = newInQueueStats(r.registry, bucket)
    	}
    	atomic.AddInt64(&v.nowBytes, sz)
    	atomic.AddInt64(&v.nowCount, 1)
    	r.qCache.bucketStats[bucket] = v
    	atomic.AddInt64(&r.qCache.srQueueStats.nowBytes, sz)
    	atomic.AddInt64(&r.qCache.srQueueStats.nowCount, 1)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. cmd/storage-rest-server.go

    	storageReadAllRPC          = grid.NewSingleHandler[*ReadAllHandlerParams, *grid.Bytes](grid.HandlerReadAll, func() *ReadAllHandlerParams { return &ReadAllHandlerParams{} }, grid.NewBytes).AllowCallRequestPool(true)
    	storageWriteAllRPC         = grid.NewSingleHandler[*WriteAllHandlerParams, grid.NoPayload](grid.HandlerWriteAll, func() *WriteAllHandlerParams { return &WriteAllHandlerParams{} }, grid.NewNoPayload)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  6. cmd/peer-rest-server.go

    	consoleLogRPC = grid.NewStream[*grid.MSS, grid.NoPayload, *grid.Bytes](grid.HandlerConsoleLog, grid.NewMSS, nil, grid.NewBytes).WithOutCapacity(100)
    	listenRPC     = grid.NewStream[*grid.URLValues, grid.NoPayload, *grid.Bytes](grid.HandlerListen, grid.NewURLValues, nil, grid.NewBytes).WithOutCapacity(100)
    )
    
    // GetLocksHandler - returns list of lock from the server.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  7. cmd/object-api-putobject_test.go

    		21: {bucketName: bucket, objName: object, inputData: nilBytes, inputMeta: md5Header(nilBytes), inputSHA256: getSHA256Hash(nilBytes), inputDataSize: int64(len(nilBytes)), expectedMd5: getMD5Hash(nilBytes)},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  8. cmd/bucket-replication-metrics.go

    	v := q.srQueueStats
    	return InQueueMetric{
    		Curr: QStat{Bytes: float64(v.nowBytes), Count: float64(v.nowCount)},
    		Max:  QStat{Bytes: float64(v.histBytes.Max()), Count: float64(v.histCounts.Max())},
    		Avg:  QStat{Bytes: v.histBytes.Mean(), Count: v.histCounts.Mean()},
    	}
    }
    
    // InQueueStats holds queue stats for replication
    type InQueueStats struct {
    	nowBytes   int64 `json:"-"`
    	nowCount   int64 `json:"-"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 14.2K bytes
    - Viewed (0)
Back to top