- Sort Score
- Result 10 results
- Languages All
Results 71 - 77 of 77 for UTCNOW (0.03 sec)
-
cmd/storage-rest-server.go
return err } nanoTime, err := strconv.ParseInt(r.Header.Get("X-Minio-Time"), 10, 64) if err != nil { return errMalformedAuth } localTime := UTCNow() remoteTime := time.Unix(0, nanoTime) delta := remoteTime.Sub(localTime) if delta < 0 { delta *= -1 } if delta > DefaultSkewTime { return errSkewedAuthTime } return nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
cmd/notification.go
} } replicationStatsList := globalReplicationStats.Load().GetAll() bucketStatsMap := BucketStatsMap{ Stats: make(map[string]BucketStats, len(replicationStatsList)), Timestamp: UTCNow(), } for k, replicationStats := range replicationStatsList { bucketStatsMap.Stats[k] = BucketStats{ ReplicationStats: replicationStats, ProxyStats: globalReplicationStats.Load().getProxyStats(k), }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 46K bytes - Viewed (0) -
cmd/batch-handlers.go
} } } func (ri *batchJobInfo) updateAfter(ctx context.Context, api ObjectLayer, duration time.Duration, job BatchJobRequest) error { if ri == nil { return errInvalidArgument } now := UTCNow() ri.mu.Lock() var ( format, version uint16 jobTyp string ) if now.Sub(ri.LastUpdate) >= duration { switch job.Type() { case madmin.BatchJobReplicate:
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 63.5K bytes - Viewed (0) -
cmd/xl-storage_test.go
} var versions [50]string for i := range versions { versions[i] = uuid.New().String() fi := FileInfo{ Name: object, Volume: volume, VersionID: versions[i], ModTime: UTCNow(), DataDir: "", Size: 10000, Erasure: ErasureInfo{ Algorithm: erasureAlgorithm, DataBlocks: 4, ParityBlocks: 4, BlockSize: blockSizeV2, Index: 1,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 66K bytes - Viewed (0) -
cmd/admin-handlers.go
// Send profiling data to zip as file header, zerr := zip.FileInfoHeader(dummyFileInfo{ name: name, size: int64(len(data)), mode: fileMode, modTime: UTCNow(), isDir: false, sys: nil, }) if zerr != nil { return zerr } header.Method = zip.Deflate zwriter, zerr := zipWriter.CreateHeader(header) if zerr != nil { return zerr
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
cmd/metrics-v2.go
VariableLabels: map[string]string{ "endpoint": ep, }, } currDowntime := time.Duration(0) if !health.Online && !health.lastOnline.IsZero() { currDowntime = UTCNow().Sub(health.lastOnline) } offlineDuration.Value = float64(currDowntime / time.Second) ml = append(ml, offlineDuration) downtimeDuration := MetricV2{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 133.6K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(err, nil) req.Body = io.NopCloser(bytes.NewReader([]byte("foobar!\n"))) req.Trailer = http.Header{} req.Trailer.Set("x-amz-checksum-crc32", "rK0DXg==") now := UTCNow() req = signer.StreamingUnsignedV4(req, "", 8, now) maliciousHeaders := http.Header{
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 118.1K bytes - Viewed (0)