- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for 24 (0.15 sec)
-
cmd/tier-last-day-stats.go
if since < 1 { return } idx, lastIdx := t.Hour(), l.UpdatedAt.Hour() l.UpdatedAt = t // update to the latest time index if since >= 24 { l.Bins = [24]tierStats{} return } for lastIdx != idx { lastIdx = (lastIdx + 1) % 24 l.Bins[lastIdx] = tierStats{} } } func (l *lastDayTierStats) clone() lastDayTierStats { clone := lastDayTierStats{ UpdatedAt: l.UpdatedAt, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 19 22:54:46 GMT 2024 - 2.8K bytes - Viewed (0) -
cmd/update-notifier_test.go
// Testcase index 20 {30 * 24 * time.Hour, "my_download_url", "1 month before the latest release"}, {31 * 24 * time.Hour, "my_download_url", "1 month before the latest release"}, {61 * 24 * time.Hour, "my_download_url", "2 months before the latest release"}, {360 * 24 * time.Hour, "my_download_url", "1 year before the latest release"}, {361 * 24 * time.Hour, "my_download_url", "1 year before the latest release"},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Viewed (0) -
internal/s3select/parquet/reader.go
if logicalType := se.GetLogicalType(); logicalType != nil { if logicalType.IsSetDATE() { value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC()) } } else if se.GetConvertedType() == parquettypes.ConvertedType_DATE { value = sql.FormatSQLTimestamp(time.Unix(60*60*24*int64(val), 0).UTC()) } case int64: value = val if logicalType := se.GetLogicalType(); logicalType != nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 14 13:54:47 GMT 2022 - 4.5K bytes - Viewed (0) -
cmd/data-scanner_test.go
obj := ObjectInfo{ Name: "foo", ModTime: time.Now().Add(-31 * 24 * time.Hour), Size: 100 << 20, VersionID: uuid.New().String(), IsLatest: true, NumVersions: 4, } delMarker := ObjectInfo{ Name: "foo-deleted", ModTime: time.Now().Add(-61 * 24 * time.Hour), Size: 0, VersionID: uuid.New().String(), IsLatest: true,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 11:18:58 GMT 2024 - 6.9K bytes - Viewed (0) -
cmd/storagemetric_string.go
_ = x[storageMetricWriteMetadata-19] _ = x[storageMetricUpdateMetadata-20] _ = x[storageMetricReadVersion-21] _ = x[storageMetricReadXL-22] _ = x[storageMetricReadAll-23] _ = x[storageMetricStatInfoFile-24] _ = x[storageMetricReadMultiple-25] _ = x[storageMetricDeleteAbandonedParts-26] _ = x[storageMetricDiskInfo-27] _ = x[storageMetricLast-28] }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Dec 01 20:10:54 GMT 2022 - 2K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
Major: "1", Minor: "22", GitVersion: "v1.22", } version1_23 = &version.Info{ Major: "1", Minor: "23", GitVersion: "v1.23", } version1_24 = &version.Info{ Major: "1", Minor: "24", GitVersion: "v1.24", } version1_25 = &version.Info{ Major: "1", Minor: "25", GitVersion: "v1.25", } version1_26 = &version.Info{ Major: "1",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 19 02:46:48 GMT 2024 - 6.3K bytes - Viewed (0) -
cmd/license-update.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "fmt" "math/rand" "time" "github.com/tidwall/gjson" ) const ( licUpdateCycle = 24 * time.Hour * 30 licRenewPath = "/api/cluster/renew-license" ) // initlicenseUpdateJob start the periodic license update job in the background. func initLicenseUpdateJob(ctx context.Context, objAPI ObjectLayer) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 3.3K bytes - Viewed (0) -
internal/grid/handlers_string.go
_ = x[HandlerRenameData-18] _ = x[HandlerRenameFile-19] _ = x[HandlerReadAll-20] _ = x[HandlerServerVerify-21] _ = x[HandlerTrace-22] _ = x[HandlerListen-23] _ = x[HandlerDeleteBucketMetadata-24] _ = x[HandlerLoadBucketMetadata-25] _ = x[HandlerReloadSiteReplicationConfig-26] _ = x[HandlerReloadPoolMeta-27] _ = x[HandlerStopRebalance-28] _ = x[HandlerLoadRebalanceMeta-29]
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 4.2K bytes - Viewed (0) -
cmd/globals.go
// GlobalStaleUploadsExpiry - Expiry duration after which the uploads in multipart, // tmp directory are deemed stale. GlobalStaleUploadsExpiry = time.Hour * 24 // 24 hrs. // GlobalStaleUploadsCleanupInterval - Cleanup interval when the stale uploads cleanup is initiated. GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 16.5K bytes - Viewed (0) -
internal/config/callhome/callhome.go
Key: Enable, Value: "off", }, config.KV{ Key: Frequency, Value: "24h", }, } // callhomeCycleDefault is the default interval between two callhome cycles (24hrs) const callhomeCycleDefault = 24 * time.Hour // Config represents the subnet related configuration type Config struct { // Flag indicating whether callhome is enabled. Enable bool `json:"enable"` // The interval between callhome cycles
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 04 19:57:37 GMT 2023 - 2.6K bytes - Viewed (0)