- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 50 for modTimes (0.05 seconds)
-
cmd/erasure-healing-common.go
) // Boot modTimes up to disk count, setting the value to time sentinel. func bootModtimes(diskCount int) []time.Time { modTimes := make([]time.Time, diskCount) // Boots up all the modtimes. for i := range modTimes { modTimes[i] = timeSentinel } return modTimes }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 12K bytes - Click Count (0) -
cmd/erasure-healing-common_test.go
} // List all the file commit ids from parts metadata. modTimes := listObjectModtimes(partsMetadata, errs) // Count all latest updated FileInfo values var count int var latestFileInfo FileInfo // Reduce list of UUIDs to a single common value - i.e. the last updated Time modTime := commonTime(modTimes, expectedRQuorum) if modTime.IsZero() || modTime.Equal(timeSentinel) { return FileInfo{}, errErasureReadQuorum }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 22.4K bytes - Click Count (0) -
cmd/object-handlers-common.go
if r.Method != http.MethodPut { return false } // If the object doesn't have a modtime (IsZero), or the modtime // is obviously garbage (Unix time == 0), then ignore modtimes // and don't process the If-Modified-Since header. if objInfo.ModTime.IsZero() || objInfo.ModTime.Equal(time.Unix(0, 0)) { return false } // Headers to be set of object content is not going to be written to the client.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 23 12:36:06 GMT 2025 - 15.2K bytes - Click Count (0) -
cmd/erasure-metadata.go
func (fi *FileInfo) AddObjectPart(partNumber int, partETag string, partSize, actualSize int64, modTime time.Time, idx []byte, checksums map[string]string) { partInfo := ObjectPartInfo{ Number: partNumber, ETag: partETag, Size: partSize, ActualSize: actualSize, ModTime: modTime, Index: idx, Checksums: checksums, } // Update part info if it already exists.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 21.3K bytes - Click Count (0) -
src/archive/tar/tar_test.go
}, { header: &Header{ModTime: time.Unix(1, 500)}, paxHdrs: map[string]string{paxMtime: "1.0000005"}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{ModTime: time.Unix(1, 0)}, formats: FormatUSTAR | FormatPAX | FormatGNU, }, { header: &Header{ModTime: time.Unix(1, 0), Format: FormatPAX}, formats: FormatUSTAR | FormatPAX, }, {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Jul 25 00:25:45 GMT 2024 - 23.9K bytes - Click Count (0) -
src/archive/tar/reader_test.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
cmd/erasure-metadata_test.go
}{ { fis: getNFInfo(16, 16, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil), modTime: time.Unix(1603863445, 0), expectedErr: nil, expectedQuorum: 8, }, { fis: getNFInfo(16, 7, 1603863445, "36a21454-a2ca-11eb-bbaa-93a81c686f21", nil, nil), modTime: time.Unix(1603863445, 0), expectedErr: InsufficientReadQuorum{}, expectedQuorum: 8, }, {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.4K bytes - Click Count (0) -
cmd/erasure-multipart.go
if modTime.IsZero() { wait := deleteMultipartCleanupSleeper.Timer(ctx) fi, err := disk.ReadVersion(ctx, "", minioMetaMultipartBucket, uploadIDPath, "", ReadOptions{}) if err != nil { return nil } modTime = fi.ModTime wait() } if time.Since(modTime) < globalAPIConfig.getStaleUploadsExpiry() { return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 47.1K bytes - Click Count (0) -
cmd/metacache-entries_test.go
VersionID: [16]byte{}, ModTime: baseTime.Add(60 * time.Minute).UnixNano(), Signature: [4]byte{5, 1, 1, 1}, Type: ObjectType, Flags: 0, }}, }, }, // Zero version, modtime newer.. 6: { versions: []xlMetaV2ShallowVersion{ {header: xlMetaV2VersionHeader{ VersionID: [16]byte{}, ModTime: baseTime.Add(90 * time.Minute).UnixNano(),Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 31.6K bytes - Click Count (0) -
cmd/data-scanner_test.go
/* objInfos: version stack for obj-1 v5 uuid-5 modTime v4 uuid-4 modTime -1m v3 uuid-3 modTime -2m v2 uuid-2 modTime -3m v1 uuid-1 modTime -4m */ for i := range 5 { fivs[i] = FileInfo{ Volume: bucket, Name: obj, VersionID: uuids[i].String(), IsLatest: i == 0, ModTime: modTime.Add(-1 * time.Duration(i) * time.Minute), Size: 1 << 10,Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 12K bytes - Click Count (0)