Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for absDate (0.2 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/NodeBackedModelMapSpec.groovy

                        c.named("element", ElementRules)
                    }
                }
    
            when:
            registry.atState(ModelPath.path("beans"), ModelNode.State.SelfClosed)
    
            then:
            events == ["collection mutated"]
    
            when:
            registry.atState(ModelPath.path("beans"), ModelNode.State.GraphClosed)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top