- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for year (0.14 sec)
-
internal/s3select/sql/parser.go
Quantity *Operand `parser:" @@ \",\""` Timestamp *PrimaryTerm `parser:" @@ \")\""` } // DateDiffFunc represents the DATE_DIFF function type DateDiffFunc struct {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Viewed (0) -
cmd/build-constants.go
// CommitID - latest commit id. CommitID = "DEVELOPMENT.GOGET" // ShortCommitID - first 12 characters from CommitID. ShortCommitID = "DEVELOPMENT.GOGET" // CopyrightYear - dynamic value of the copyright end year CopyrightYear = "0000" // MinioReleaseTagTimeLayout - release tag time layout. MinioReleaseTagTimeLayout = "2006-01-02T15-04-05Z" // MinioOSARCH - OS and ARCH. minioOSARCH = runtime.GOOS + "-" + runtime.GOARCH
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Tue Mar 12 00:54:37 GMT 2024 - 2.2K bytes - Viewed (0) -
internal/s3select/sql/timestampfuncs.go
return nil, errNotImplemented } return FromTimestamp(t.Add(duration)), nil } // dateDiff computes the difference between two times in terms of the // `timePart` which can be years, months, days, hours, minutes or // seconds. For difference in years, months or days, the time part, // including timezone is ignored. func dateDiff(timePart string, ts1, ts2 time.Time) (*Value, error) { if ts2.Before(ts1) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 4.8K bytes - Viewed (0) -
cmd/main.go
console.Printf("\t‘%s’\n", cmd) } } os.Exit(1) } return app } func startupBanner(banner io.Writer) { CopyrightYear = strconv.Itoa(time.Now().Year()) fmt.Fprintln(banner, color.Blue("Copyright:")+color.Bold(" 2015-%s MinIO, Inc.", CopyrightYear)) fmt.Fprintln(banner, color.Blue("License:")+color.Bold(" "+MinioLicense))
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sat Mar 09 03:07:08 GMT 2024 - 6.4K bytes - Viewed (0) -
cmd/update-notifier_test.go
{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"}, {2 * 365 * 24 * time.Hour, "my_download_url", "2 years before the latest release"}, } plainMsg := "You are running an older version of MinIO released" for i, testCase := range testCases {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Jul 31 15:36:19 GMT 2023 - 4.1K bytes - Viewed (0) -
src/archive/zip/struct.go
// See: https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-filetimetodosdatetime func timeToMsDosTime(t time.Time) (fDate uint16, fTime uint16) { fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9) fTime = uint16(t.Second()/2 + t.Minute()<<5 + t.Hour()<<11) return } // ModTime returns the modification time in UTC using the legacy // [ModifiedDate] and [ModifiedTime] fields. //
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 12.1K bytes - Viewed (0) -
buildscripts/gen-ldflags.go
package main import ( "fmt" "os" "os/exec" "strconv" "strings" "time" ) func genLDFlags(version string) string { releaseTag, date := releaseTag(version) copyrightYear := strconv.Itoa(date.Year()) ldflagsStr := "-s -w" ldflagsStr += " -X github.com/minio/minio/cmd.Version=" + version ldflagsStr += " -X github.com/minio/minio/cmd.CopyrightYear=" + copyrightYear
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jun 16 23:10:48 GMT 2022 - 3.3K bytes - Viewed (0) -
internal/s3select/sql/parser_test.go
"count(*)", "sum(2 + s.id)", "sum(t)", "avg(s.id[1])", "coalesce(s.id[1], 2, 2 + 3)", "cast(s as string)", "cast(s AS INT)", "cast(s as DECIMAL)", "extract(YEAR from '2018-01-09')", "extract(month from '2018-01-09')", "extract(hour from '2018-01-09')", "extract(day from '2018-01-09')", "substring('abcd' from 2 for 2)", "substring('abcd' from 2)",
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
} } else if *retention.Years == 0 { return fmt.Errorf("Default retention period must be a positive integer value for 'Years'") } else if *retention.Years > maximumRetentionYears { return fmt.Errorf("Default retention period too large for 'Years' %d", *retention.Years) } *dr = DefaultRetention(retention) return nil }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 17.1K bytes - Viewed (0) -
internal/store/queuestore_test.go
return nil, oErr } return queueStore, nil } // Tear down queue store. func tearDownQueueStore() error { return os.RemoveAll(queueDir) } // TestQueueStorePut - tests for store.Put func TestQueueStorePut(t *testing.T) { defer func() { if err := tearDownQueueStore(); err != nil { t.Fatal("Failed to tear down store ", err) } }() store, err := setUpQueueStore(queueDir, 100)
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Tue Apr 04 17:52:24 GMT 2023 - 5.9K bytes - Viewed (0)