- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for maxInt64 (0.06 sec)
-
src/archive/tar/tar_test.go
}, { in: []sparseEntry{{0, 0}}, size: -100, wantValid: false, }, { in: []sparseEntry{{math.MaxInt64, 3}, {6, -5}}, size: 35, wantValid: false, }, { in: []sparseEntry{{1, 3}, {6, -5}}, size: 35, wantValid: false, }, { in: []sparseEntry{{math.MaxInt64, math.MaxInt64}}, size: math.MaxInt64, wantValid: false, }, { in: []sparseEntry{{3, 3}}, size: 5, wantValid: false, }, {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
internal/s3select/sql/value_test.go
fields: fields{ value: []byte("+1"), }, want: 1, wantOK: true, }, { name: "max", fields: fields{ value: []byte(strconv.FormatInt(math.MaxInt64, 10)), }, want: math.MaxInt64, wantOK: true, }, { name: "min", fields: fields{ value: []byte(strconv.FormatInt(math.MinInt64, 10)), }, want: math.MinInt64, wantOK: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
cmd/object-api-datatypes.go
{"BETWEEN_64_MB_AND_128_MB", humanize.MiByte * 64, humanize.MiByte*128 - 1}, {"BETWEEN_128_MB_AND_512_MB", humanize.MiByte * 128, humanize.MiByte*512 - 1}, {"GREATER_THAN_512_MB", humanize.MiByte * 512, math.MaxInt64}, } // ObjectsHistogramIntervals is the list of all intervals // of object sizes to be included in objects histogram. // Note: this histogram expands 1024B-1MB to incl. 1024B-64KB, 64KB-256KB, 256KB-512KB and 512KB-1MiB
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
utils/utils_test.go
name string in interface{} out string }{ {"int", math.MaxInt64, "9223372036854775807"}, {"int8", int8(math.MaxInt8), "127"}, {"int16", int16(math.MaxInt16), "32767"}, {"int32", int32(math.MaxInt32), "2147483647"}, {"int64", int64(math.MaxInt64), "9223372036854775807"}, {"uint", uint(math.MaxUint64), "18446744073709551615"}, {"uint8", uint8(math.MaxUint8), "255"},
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
dynamicTimeoutDecreaseThresholdPct = 0.10 // Lower threshold for failures in order to decrease timeout dynamicTimeoutLogSize = 16 maxDuration = math.MaxInt64 maxDynamicTimeout = 24 * time.Hour // Never set timeout bigger than this. ) // timeouts that are dynamically adapted based on actual usage results type dynamicTimeout struct { timeout int64
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 19 23:21:05 UTC 2022 - 4.5K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
// // If the lock is already in use, the calling go routine // blocks until the mutex is available. func (lm *LRWMutex) Lock() { const isWriteLock = true lm.lockLoop(context.Background(), lm.id, lm.source, math.MaxInt64, isWriteLock) } // GetLock tries to get a write lock on lm before the timeout occurs. func (lm *LRWMutex) GetLock(ctx context.Context, id string, source string, timeout time.Duration) (locked bool) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
internal/s3select/sql/evaluate.go
switch rval := result.(type) { case string: return FromString(rval), nil case float64: return FromFloat(rval), nil case int64: return FromInt(rval), nil case uint64: if rval <= math.MaxInt64 { return FromInt(int64(rval)), nil } return FromFloat(float64(rval)), nil case bool: return FromBool(rval), nil case jstream.KVS: bs, err := json.Marshal(result) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 12K bytes - Viewed (0) -
internal/config/api/api.go
return cfg, err } if maxVersions <= 0 { return cfg, fmt.Errorf("invalid object max versions value: %v", maxVersions) } cfg.ObjectMaxVersions = maxVersions } else { cfg.ObjectMaxVersions = math.MaxInt64 } return cfg, nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Aug 16 08:43:49 UTC 2024 - 11.5K bytes - Viewed (0) -
cmd/handler-api.go
return t.syncEvents } func (t *apiConfig) getObjectMaxVersions() int64 { t.mu.RLock() defer t.mu.RUnlock() if t.objectMaxVersions <= 0 { // defaults to 'IntMax' when unset. return math.MaxInt64 } return t.objectMaxVersions
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 26 17:07:10 UTC 2024 - 10.4K bytes - Viewed (0) -
src/archive/zip/reader.go
if err == nil && p >= 0 { directoryEndOffset = p err = readDirectory64End(r, p, d) } if err != nil { return nil, 0, err } } maxInt64 := uint64(1<<63 - 1) if d.directorySize > maxInt64 || d.directoryOffset > maxInt64 { return nil, 0, ErrFormat } baseOffset = directoryEndOffset - int64(d.directorySize) - int64(d.directoryOffset)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0)