Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DAY (0.73 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go

    	}
    	if !fd.IsDir() {
    		return nil, fmt.Errorf("debug path %q is not a directory", debugDir)
    	}
    	info, ok := debug.ReadBuildInfo()
    	if !ok {
    		return nil, fmt.Errorf("no build info")
    	}
    	year, month, day := time.Now().UTC().Date()
    	goVers := info.GoVersion
    	// E.g.,  goVers:"go1.22-20240109-RC01 cl/597041403 +dcbe772469 X:loopvar"
    	words := strings.Fields(goVers)
    	goVers = words[0]
    	progPkgPath := info.Path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	now = now.UTC()
    	year, month, day := now.Date()
    	begin := time.Date(year, month, day, 0, 0, 0, 0, time.UTC)
    	// files always begin today, but expire on the next day of the week
    	// from the 'weekends' file.
    	incr, err := fileValidity(now)
    	if err != nil {
    		return "", time.Time{}, err
    	}
    	end := time.Date(year, month, day+incr, 0, 0, 0, 0, time.UTC)
    	if f.namePrefix == "" && f.err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  3. src/cmd/internal/telemetry/telemetry.go

    		TelemetryDir: os.Getenv("TEST_TELEMETRY_DIR"),
    	})
    }
    
    // StartWithUpload opens the counter files for writing if telemetry
    // is supported on the current platform and also enables a once a day
    // check to see if the weekly reports are ready to be uploaded.
    // It should only be called by cmd/go
    func StartWithUpload() {
    	telemetry.Start(telemetry.Config{
    		Upload:       true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/upload/findwork.go

    			}
    		}
    	}
    
    	fis, err = os.ReadDir(uploaddir)
    	if err != nil {
    		os.MkdirAll(uploaddir, 0777)
    		return ans
    	}
    	// There should be only one of these per day; maybe sometime
    	// we'll want to clean the directory.
    	ans.uploaded = make(map[string]bool)
    	for _, fi := range fis {
    		if strings.HasSuffix(fi.Name(), ".json") {
    			u.logger.Printf("Already uploaded: %s", fi.Name())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:12:15 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/util.go

    	return fmt.Sprintf("SC???%d", s)
    }
    
    // CConvARM formats ARM opcode suffix bits (mostly condition codes).
    func CConvARM(s uint8) string {
    	// TODO: could be great to move suffix-related things into
    	// ARM asm backends some day.
    	// obj/x86 can be used as an example.
    
    	sc := armCondCode[(s&C_SCOND)^C_SCOND_XOR]
    	if s&C_SBIT != 0 {
    		sc += ".S"
    	}
    	if s&C_PBIT != 0 {
    		sc += ".P"
    	}
    	if s&C_WBIT != 0 {
    		sc += ".W"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. src/cmd/link/link_test.go

    very blinkers. Foot passengers, jostling one another’s umbrellas in a general infection of ill temper, and losing their foot-hold at street-corners, where tens of thousands of other foot passengers have been slipping and sliding since the day broke (if this day ever broke), adding new deposits to the crust upon crust of mud, sticking at those points tenaciously to the pavement, and accumulating at compound interest.  	Fog everywhere. Fog up the river, where it flows among green aits and meadows;...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  7. src/cmd/dist/build.go

    		// Add -trimpath for reproducible builds of releases.
    		// Include builders so that -trimpath is well-tested ahead of releases.
    		// Do not include local development, so that people working in the
    		// main branch for day-to-day work on the Go toolchain itself can
    		// still have full paths for stack traces for compiler crashes and the like.
    		env = append(env, "GOFLAGS=-trimpath -ldflags=-w -gcflags=cmd/...=-dwarf=false")
    	}
    	return env
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:40 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    //
    // # Module maintenance
    //
    // Go mod provides access to operations on modules.
    //
    // Note that support for modules is built into all the go commands,
    // not just 'go mod'. For example, day-to-day adding, removing, upgrading,
    // and downgrading of dependencies should be done using 'go get'.
    // See 'go help modules' for an overview of module functionality.
    //
    // Usage:
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
Back to top