- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for months (0.24 sec)
-
internal/config/heal/heal.go
return -1, nil } } // Try to parse as a number of months if !strings.HasSuffix(s, "m") { return -1, errors.New("unknown format") } months, err := strconv.Atoi(strings.TrimSuffix(s, "m")) if err != nil { return -1, err } if months < minimumBitrotCycleInMonths { return -1, fmt.Errorf("minimum bitrot cycle is %d month(s)", minimumBitrotCycleInMonths) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 01:10:30 GMT 2024 - 4.9K 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"},
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/mountinfo/mountinfo_linux_test.go
mountsPath := filepath.Join(dir, "mounts") if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Verifies if reading each line worked properly. { var mounts mountInfos mounts, err = readProcMounts(mountsPath) if err != nil { t.Fatal(err) } if len(mounts) != 3 { t.Fatalf("expected 3 mounts, got %d", len(mounts)) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Viewed (0) -
internal/s3select/sql/parser_test.go
"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)", "substring('abcd' , 2 , 2)",
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 9.2K bytes - Viewed (0) -
cni/pkg/constants/constants.go
HostCNIBinDir = "/host/opt/cni/bin" ServiceAccountPath = "/var/run/secrets/kubernetes.io/serviceaccount" // Well-known subpath we will mount any needed host-mounts under, // to preclude shadowing or breaking any pod-internal mounts HostMountsPath = "/host"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2.7K bytes - Viewed (0)