- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,374 for TIME (0.02 sec)
-
cmd/bucket-targets.go
} type latencyStat struct { lastmin lastMinuteLatency curr time.Duration avg time.Duration peak time.Duration N int64 } func (l *latencyStat) update(d time.Duration) { l.lastmin.add(d) l.N++ if d > l.peak { l.peak = d } l.curr = l.lastmin.getTotal().avg() l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 21 22:22:24 UTC 2024 - 20.9K bytes - Viewed (0) -
cmd/metacache_test.go
fileNotFound: false, error: "an error lol", started: metaCacheTestsetTimestamp.Add(-20 * time.Minute), ended: metaCacheTestsetTimestamp.Add(-20 * time.Minute), lastUpdate: metaCacheTestsetTimestamp.Add(-20 * time.Minute), lastHandout: metaCacheTestsetTimestamp.Add(-20 * time.Minute), dataVersion: metacacheStreamVersion, }, 4: { id: "case-5-noupdate", bucket: "bucket",
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
cmd/metacache.go
// space - if you do so please run https://github.com/orijtech/structslop // and verify if your changes are optimal. ended time.Time `msg:"end"` started time.Time `msg:"st"` lastHandout time.Time `msg:"lh"` lastUpdate time.Time `msg:"u"` bucket string `msg:"b"` filter string `msg:"flt"` id string `msg:"id"` error string `msg:"err"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 6K bytes - Viewed (0) -
schema/model_test.go
Active *bool } type ( mytime time.Time myint int mybool = bool ) type AdvancedDataTypeUser struct { ID sql.NullInt64 Name *sql.NullString Birthday sql.NullTime RegisteredAt mytime DeletedAt *mytime Active mybool Admin *mybool } type BaseModel struct { ID uint CreatedAt time.Time CreatedBy *int
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.1K bytes - Viewed (0) -
cmd/callhome.go
return } // callhome running on a different node. // sleep for some time and try again. duration := time.Duration(r.Float64() * float64(globalCallhomeConfig.FrequencyDur())) if duration < time.Second { // Make sure to sleep at least a second to avoid high CPU ticks. duration = time.Second } time.Sleep(duration) } }() } func runCallhome(ctx context.Context, objAPI ObjectLayer) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 17 16:53:34 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/amztime/iso8601_time_test.go
package amztime import ( "testing" "time" ) func TestISO8601Format(t *testing.T) { testCases := []struct { date time.Time expectedOutput string }{ { date: time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC), expectedOutput: "2009-11-13T04:51:01.940Z", }, { date: time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Dec 12 18:28:30 UTC 2022 - 1.8K bytes - Viewed (0) -
internal/grid/grid_test.go
errFatal(err) clientCanceled := make(chan time.Duration, 1) go func() { started := time.Now() for resp := range st.responses { err = resp.Err } clientCanceled <- time.Since(started) }() serverEnd := <-serverCanceled clientEnd := <-clientCanceled t.Log("server cancel time:", serverEnd) t.Log("client cancel time:", clientEnd) if !errors.Is(err, context.DeadlineExceeded) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/dsync/utils.go
package dsync import ( "math/rand" "time" ) func backoffWait(min, unit, cap time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") } return func(r *rand.Rand, attempt uint) time.Duration { sleep := min sleep += unit * time.Duration(attempt) if sleep > cap { sleep = cap }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat May 13 15:42:21 UTC 2023 - 1.2K bytes - Viewed (0) -
src/archive/tar/stat_actime2.go
// license that can be found in the LICENSE file. //go:build darwin || freebsd || netbsd package tar import ( "syscall" "time" ) func statAtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Atimespec.Unix()) } func statCtime(st *syscall.Stat_t) time.Time { return time.Unix(st.Ctimespec.Unix())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 421 bytes - Viewed (0) -
cmd/globals.go
globalDomainIPs set.StringSet // Root domain IP address(s) for a distributed MinIO deployment globalOperationTimeout = newDynamicTimeout(10*time.Minute, 5*time.Minute) // default timeout for general ops globalDeleteOperationTimeout = newDynamicTimeout(5*time.Minute, 1*time.Minute) // default time for delete ops globalBucketObjectLockSys *BucketObjectLockSys globalBucketQuotaSys *BucketQuotaSys
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (0)