- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for HOUR (0.03 sec)
-
internal/s3select/sql/timestampfuncs.go
case timePartMonth: m1 += time.Month(12 * y1) m2 += time.Month(12 * y2) return FromInt(int64(m2 - m1)), nil case timePartDay: return FromInt(int64(duration / (24 * time.Hour))), nil case timePartHour: hours := duration / time.Hour return FromInt(int64(hours)), nil case timePartMinute: minutes := duration / time.Minute return FromInt(int64(minutes)), nil case timePartSecond:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
ondisk: false, }, { // restore completed but expired restoreStatus: completedRestoreObj(time.Now().Add(-time.Hour)), ondisk: false, }, { // restore completed restoreStatus: completedRestoreObj(time.Now().Add(time.Hour)), ondisk: true, }, } for i, tc := range testCases { if actual := tc.restoreStatus.OnDisk(); actual != tc.ondisk {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
cmd/update-notifier_test.go
{1 * time.Hour, "my_download_url", "1 hour before the latest release"}, {61 * time.Minute, "my_download_url", "1 hour before the latest release"}, {122 * time.Minute, "my_download_url", "2 hours before the latest release"}, {24 * time.Hour, "my_download_url", "1 day before the latest release"}, {25 * time.Hour, "my_download_url", "1 day before the latest release"},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 31 15:36:19 UTC 2023 - 4.1K 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) -
cmd/metacache_test.go
fileNotFound: false, error: "", started: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), ended: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), lastUpdate: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), lastHandout: metaCacheTestsetTimestamp.Add(-7 * 24 * time.Hour), dataVersion: metacacheStreamVersion, }, } func Test_baseDirFromPrefix(t *testing.T) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 08 18:06:45 UTC 2021 - 6.8K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs_test.go
package sql import ( "testing" "time" ) func TestParseAndDisplaySQLTimestamp(t *testing.T) { beijing := time.FixedZone("", int((8 * time.Hour).Seconds())) fakeLosAngeles := time.FixedZone("", -int((8 * time.Hour).Seconds())) cases := []struct { s string t time.Time }{ {"2010T", time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC)}, {"2010-02T", time.Date(2010, 2, 1, 0, 0, 0, 0, time.UTC)},
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.2K bytes - Viewed (0) -
cmd/metrics-v3-bucket-replication.go
var ( bucketReplLastHrFailedBytesMD = NewGaugeMD(bucketReplLastHrFailedBytes, "Total number of bytes failed at least once to replicate in the last hour on a bucket", bucketL) bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount, "Total number of objects which failed replication in the last hour on a bucket", bucketL) bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 8.1K bytes - Viewed (0) -
.github/workflows/feedback.yml
name: Feedback on: schedule: - cron: '0 * * * *' # every hour workflow_dispatch: permissions: {} jobs: feedback: permissions: issues: write pull-requests: write runs-on: ubuntu-latest steps: # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update. # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Jun 17 13:58:59 UTC 2024 - 482 bytes - Viewed (0) -
cmd/tier-last-day-stats.go
now := time.Now() l.forwardTo(now) nowIdx := now.Hour() l.Bins[nowIdx] = l.Bins[nowIdx].add(ts) } // forwardTo moves time to t, clearing entries between last update and t. func (l *lastDayTierStats) forwardTo(t time.Time) { if t.IsZero() { t = time.Now() } since := t.Sub(l.UpdatedAt).Hours() // within the hour since l.UpdatedAt if since < 1 { return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 19 22:54:46 UTC 2024 - 2.8K bytes - Viewed (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
triggers { branch.nightlyPromotionTriggerHour?.let { triggerHour -> schedule { schedulingPolicy = daily { this.hour = triggerHour } triggerBuild = always() withPendingChangesOnly = true enabled = branch.enableVcsTriggers
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 07 17:05:02 UTC 2024 - 2.2K bytes - Viewed (0)