- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for sz (0.18 sec)
-
cmd/xl-storage-meta-inline.go
if len(x) == 0 || !x.versionOK() { return 0 } sz, _, _ := msgp.ReadMapHeaderBytes(x.afterVersion()) return int(sz) } // replace will add or replace a key/value pair. func (x *xlMetaInlineData) replace(key string, value []byte) { in := x.afterVersion() sz, buf, _ := msgp.ReadMapHeaderBytes(in) keys := make([][]byte, 0, sz+1) vals := make([][]byte, 0, sz+1) // Version plus header...
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 9.5K bytes - Viewed (0) -
cmd/batch-job-common-types.go
// - sf.LowerBound < sz, when sf.LowerBound alone is specified // - sz < sf.UpperBound, when sf.UpperBound alone is specified // - sf.LowerBound < sz < sf.UpperBound when both are specified, func (sf BatchJobSizeFilter) InRange(sz int64) bool { if sf.UpperBound > 0 && sz > int64(sf.UpperBound) { return false } if sf.LowerBound > 0 && sz < int64(sf.LowerBound) { return false }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Feb 01 21:53:26 GMT 2024 - 7.9K bytes - Viewed (0) -
internal/bucket/lifecycle/filter.go
f.Tag = tag f.tagSet = true case "ObjectSizeLessThan": var sz int64 if err = d.DecodeElement(&sz, &se); err != nil { return err } f.ObjectSizeLessThan = sz case "ObjectSizeGreaterThan": var sz int64 if err = d.DecodeElement(&sz, &se); err != nil { return err } f.ObjectSizeGreaterThan = sz default: return errUnknownXMLTag } } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Feb 27 00:01:20 GMT 2024 - 6.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} enum TargetSupplier { STRING_WRITER { @Override Appendable get(int sz) { return new StringWriter(sz); } }, STRING_BUILDER { @Override Appendable get(int sz) { return new StringBuilder(sz); } }; abstract Appendable get(int sz); } @Param CopyStrategy strategy; @Param TargetSupplier target;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 18:59:54 GMT 2023 - 3.2K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java
} enum TargetSupplier { STRING_WRITER { @Override Appendable get(int sz) { return new StringWriter(sz); } }, STRING_BUILDER { @Override Appendable get(int sz) { return new StringBuilder(sz); } }; abstract Appendable get(int sz); } @Param CopyStrategy strategy; @Param TargetSupplier target;
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 23 18:59:54 GMT 2023 - 3.2K bytes - Viewed (0) -
cmd/bucket-stats.go
return bs.FailStats.SinceUptime.Count > 0 || bs.ReplicatedSize > 0 || bs.ReplicaSize > 0 } func (bs *BucketReplicationStat) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize { bs.XferRateLrg.addSize(sz, duration) } else { bs.XferRateSml.addSize(sz, duration) } } // RMetricName - name of replication metric type RMetricName string const (
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 13.1K bytes - Viewed (0) -
cmd/global-heal.go
} } healEntrySuccess := func(sz uint64) healEntryResult { return healEntryResult{ bytes: sz, success: true, } } healEntryFailure := func(sz uint64) healEntryResult { return healEntryResult{ bytes: sz, } } healEntrySkipped := func(sz uint64) healEntryResult { return healEntryResult{ bytes: sz, skipped: true, } }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Mon Apr 08 09:22:13 GMT 2024 - 14.2K bytes - Viewed (1) -
internal/handlers/forwarder.go
} return f } type bufPool struct { sz int pool sync.Pool } func (b *bufPool) Put(buf []byte) { if cap(buf) < b.sz || cap(buf) > b.sz*2 { // Buffer too small or will likely leak memory after being expanded. // Drop it. return } b.pool.Put(&buf) } func (b *bufPool) Get() []byte { bufp := b.pool.Get().(*[]byte) return (*bufp)[:b.sz] } func newBufPool(sz int) httputil.BufferPool {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Fri Apr 07 05:42:10 GMT 2023 - 5.6K bytes - Viewed (0) -
cmd/site-replication-metrics.go
Max: epHealth.latency.peak, } } m[dID] = metric } return m } func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize { srs.XferRateLrg.addSize(sz, duration) } else { srs.XferRateSml.addSize(sz, duration) } } func newSRStats() *SRStats { s := SRStats{ M: make(map[string]*SRStatus),
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Feb 06 06:00:45 GMT 2024 - 8.2K bytes - Viewed (0) -
cmd/bucket-replication-utils.go
Targets []replicatedTargetInfo } func (ri replicatedInfos) CompletedSize() (sz int64) { for _, t := range ri.Targets { if t.Empty() { continue } if t.ReplicationStatus == replication.Completed && t.PrevReplicationStatus != replication.Completed { sz += t.Size } } return sz }
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 26.2K bytes - Viewed (0)