- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for absDate (0.19 sec)
-
src/time/zoneinfo.go
return "", 0, 0, 0, false, false } s = s[1:] endRule, s, ok = tzsetRule(s) if !ok || len(s) > 0 { return "", 0, 0, 0, false, false } year, _, _, yday := absDate(uint64(sec+unixToInternal+internalToAbsolute), false) ysec := int64(yday*secondsPerDay) + sec%secondsPerDay // Compute start of year in seconds since Unix epoch. d := daysSinceEpoch(year)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
src/path/filepath/path_test.go
t.Fatalf("%s: %s", root, err) } abspath, err := filepath.Abs("") if err != nil { t.Fatalf(`Abs("") error: %v`, err) } absinfo, err := os.Stat(abspath) if err != nil || !os.SameFile(absinfo, info) { t.Errorf(`Abs("")=%q, not the same file`, abspath) } if !filepath.IsAbs(abspath) { t.Errorf(`Abs("")=%q, not an absolute path`, abspath) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0) -
src/cmd/covdata/metamerge.go
fatal("error closing output meta-data file %s: %v", fpath, err) } }() args := mm.astate.ArgsSummary() cfw := encodecounter.NewCoverageDataWriter(cf, coverage.CtrULeb128) if err := cfw.Write(metaHash, args, mm); err != nil { fatal("counter file write failed: %v", err) } mm.astate = &argstate{} } // VisitFuncs is used while writing the counter data files; it
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 12 17:17:47 UTC 2024 - 12.1K bytes - Viewed (0) -
src/runtime/time.go
// Timer accesses are protected by the lock t.mu, with a snapshot of // t's state bits published in t.astate to enable certain fast paths to make // decisions about a timer without acquiring the lock. type timer struct { // mu protects reads and writes to all fields, with exceptions noted below. mu mutex astate atomic.Uint8 // atomic copy of state bits at last unlock state uint8 // state bits
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0) -
src/net/http/cgi/host_test.go
} func TestCGIBasicGetAbsPath(t *testing.T) { absPath, err := filepath.Abs(os.Args[0]) if err != nil { t.Fatal(err) } testenv.MustHaveExec(t) h := &Handler{ Path: absPath, Root: "/test.cgi", } expectedMap := map[string]string{ "env-REQUEST_URI": "/test.cgi?foo=bar&a=b", "env-SCRIPT_FILENAME": absPath, "env-SCRIPT_NAME": "/test.cgi", }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 18:29:59 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/update.go
// Convert to absolute path absPath, err := filepath.Abs(path) if err != nil { return t, fmt.Errorf("Unable to get absolute path of %s. %w", path, err) } // Version is minio non-standard, we will use minio binary's // ModTime as release time. fi, err := Stat(absPath) if err != nil { return t, fmt.Errorf("Unable to get ModTime of %s. %w", absPath, err) } // Return the ModTime
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 18.7K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
args = append(args, "-ffile-prefix-map="+b.WorkDir+"=/tmp/go-build") } if fsys.OverlayFile != "" { for _, name := range gofiles { absPath := mkAbs(p.Dir, name) overlayPath, ok := fsys.OverlayPath(absPath) if !ok { continue } toPath := absPath // gccgo only applies the last matching rule, so also handle the case where // BuildTrimpath is true and the path is relative to base.Cwd().
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K bytes - Viewed (0) -
cmd/endpoint.go
var absPaths []string for _, endpoint := range endpoints { if endpoint.IsLocal { var absPath string absPath, err = filepath.Abs(endpoint.Path) if err != nil { return err } absPaths = append(absPaths, absPath) } } return mountinfo.CheckCrossDevice(absPaths) } // PoolEndpointList is a temporary type to holds the list of endpoints
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 34.1K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/wait.go
context.Background(), constants.KubernetesAPICallRetryInterval, w.timeout, true, func(ctx context.Context) (bool, error) { healthStatus := 0 w.client.Discovery().RESTClient().Get().AbsPath("/healthz").Do(ctx).StatusCode(&healthStatus) if healthStatus != http.StatusOK { return false, nil } return true, nil }) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/kube-apiserver/app/testing/testserver.go
err = wait.Poll(100*time.Millisecond, time.Minute, func() (bool, error) { select { case err := <-errCh: return false, err default: } req := client.CoreV1().RESTClient().Get().AbsPath("/healthz") // The storage version bootstrap test wraps the storage version post-start // hook, so the hook won't become health when the server bootstraps if instanceOptions.StorageVersionWrapFunc != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:59:21 UTC 2024 - 17.6K bytes - Viewed (0)