- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for absDate (0.52 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) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/yaml_test.go
rest := apiExtensionClient.Discovery().RESTClient() // Discovery { result, err := rest.Get(). SetHeader("Accept", "application/yaml"). AbsPath("/apis", noxuDefinition.Spec.Group, noxuDefinition.Spec.Versions[0].Name). DoRaw(context.TODO()) if err != nil { t.Fatal(err, string(result)) } obj, err := decodeYAML(result) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 02 19:34:41 UTC 2021 - 16.5K bytes - Viewed (0) -
src/cmd/cgo/ast.go
} if cg != nil { if strings.ContainsAny(abspath, "\r\n") { // This should have been checked when the file path was first resolved, // but we double check here just to be sure. fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath) } f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath) f.Preamble += commentText(cg) + "\n"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 38.3K 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) -
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java
*/ public class ModelRegistryHelperExtension { // ModelRegistry methods public static MutableModelNode atState(DefaultModelRegistry modelRegistry, String path, ModelNode.State state) { return (MutableModelNode) modelRegistry.atState(ModelPath.path(path), state); } public static MutableModelNode atStateOrLater(ModelRegistry modelRegistry, String path, ModelNode.State state) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 18.7K 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)