Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 330 for int64 (0.16 sec)

  1. cmd/bucket-stats_gen_test.go

    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalBucketReplicationStat(b *testing.B) {
    	v := BucketReplicationStat{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Aug 30 08:00:59 GMT 2023
    - 20.5K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance_gen_test.go

    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalrebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Oct 25 19:36:57 GMT 2022
    - 11K bytes
    - Viewed (0)
  3. cmd/batch-handlers_gen_test.go

    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    func BenchmarkUnmarshalBatchJobRequest(b *testing.B) {
    	v := BatchJobRequest{}
    	bts, _ := v.MarshalMsg(nil)
    	b.ReportAllocs()
    	b.SetBytes(int64(len(bts)))
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Aug 29 18:27:23 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  4. cmd/sftp-server-driver.go

    	r      *io.PipeReader
    	wg     *sync.WaitGroup
    	buffer map[int64][]byte
    	err    error
    
    	nextOffset int64
    	m          sync.Mutex
    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    		w.buffer[offset] = make([]byte, len(b))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. internal/s3select/sql/funceval.go

    	}
    }
    
    func intCast(v *Value) (int64, error) {
    	// This conversion truncates floating point numbers to
    	// integer.
    	strToInt := func(s string) (int64, bool) {
    		i, errI := strconv.ParseInt(s, 10, 64)
    		if errI == nil {
    			return i, true
    		}
    		f, errF := strconv.ParseFloat(s, 64)
    		if errF == nil {
    			return int64(f), true
    		}
    		return 0, false
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error)
    	AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error)
    	CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
    	ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	// in Queue stats for bucket - from qCache
    	QStat InQueueMetric `json:"queued"`
    	// Deprecated fields
    	// Pending size in bytes
    	PendingSize int64 `json:"pendingReplicationSize"`
    	// Failed size in bytes
    	FailedSize int64 `json:"failedReplicationSize"`
    	// Total number of pending operations including metadata updates
    	PendingCount int64 `json:"pendingReplicationCount"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. cmd/data-usage-cache.go

    //msgp:tuple replicationStatsV1
    type replicationStatsV1 struct {
    	PendingSize          uint64
    	ReplicatedSize       uint64
    	FailedSize           uint64
    	ReplicaSize          uint64
    	FailedCount          uint64
    	PendingCount         uint64
    	MissedThresholdSize  uint64
    	AfterThresholdSize   uint64
    	MissedThresholdCount uint64
    	AfterThresholdCount  uint64
    }
    
    func (rsv1 replicationStatsV1) Empty() bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  9. internal/logger/target/types/types.go

    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    	TotalMessages int64
    
    	// FailedMessages should log message count that failed to send.
    	FailedMessages int64
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Nov 10 18:20:21 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  10. cmd/s3-zip-handlers.go

    func getFilesListFromZIPObject(ctx context.Context, objectAPI ObjectLayer, bucket, object string, opts ObjectOptions) (zipindex.Files, ObjectInfo, error) {
    	size := 1 << 20
    	var objSize int64
    	for {
    		rs := &HTTPRangeSpec{IsSuffixLength: true, Start: int64(-size)}
    		gr, err := objectAPI.GetObjectNInfo(ctx, bucket, object, rs, nil, opts)
    		if err != nil {
    			return nil, ObjectInfo{}, err
    		}
    		b, err := io.ReadAll(gr)
    		gr.Close()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
Back to top