Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for week (2.35 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/counter/doc.go

    // package. The first time any counter file is created for a user, a random day
    // of the week is selected on which counter files will expire. For the first
    // week, that day is more than 7 days (but not more than two weeks) in the
    // future. After that the counter files expire weekly on the same day of the
    // week.
    //
    // # Counter Naming
    //
    // Counter names passed to [New] and [NewStack] should follow these
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go

    	Depth int     `json:",omitempty"` // for stack counters
    }
    
    // A Report is what's uploaded (or saved locally)
    type Report struct {
    	Week     string  // first day this report covers (YYYY-MM-DD)
    	LastWeek string  // Week field from latest previous report uploaded
    	X        float64 // A random probability used to determine which counters are uploaded
    	Programs []*ProgramReport
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    	}
    
    	var uploadContents []byte
    	if uploadOK {
    		// 2. create the uploadable version
    		cfg := config.NewConfig(u.config)
    		upload := &telemetry.Report{
    			Week:     report.Week,
    			LastWeek: report.LastWeek,
    			X:        report.X,
    			Config:   report.Config,
    		}
    		for _, p := range report.Programs {
    			// does the uploadConfig want this program?
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    }
    
    // fileValidity returns the number of days that a file is valid for.
    // It is the number of days to the next day of the week from the 'weekends' file.
    func fileValidity(now time.Time) (int, error) {
    	// If there is no 'weekends' file create it and initialize it
    	// to a random day of the week. There is a short interval for
    	// a race.
    	weekends := filepath.Join(telemetry.Default.LocalDir(), "weekends")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/compact/language.go

    	return t.language, t.full == nil
    }
    
    // RegionalID returns the ID for the regional variant of this tag. This index is
    // used to indicate region-specific overrides, such as default currency, default
    // calendar and week data, default time cycle, and default measurement system
    // and unit preferences.
    //
    // For instance, the tag en-GB-u-rg-uszzzz specifies British English with US
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. src/cmd/internal/archive/archive.go

    	b      *bio.Reader
    	err    error
    	offset int64
    	limit  int64
    	tmp    [256]byte
    }
    
    func (r *objReader) init(f *os.File) {
    	r.a = &Archive{f, nil}
    	r.offset, _ = f.Seek(0, io.SeekCurrent)
    	r.limit, _ = f.Seek(0, io.SeekEnd)
    	f.Seek(r.offset, io.SeekStart)
    	r.b = bio.NewReader(f)
    }
    
    // error records that an error occurred.
    // It returns only the first error, so that an error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 15:39:57 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	}
    	if _, err := buf.Peek(1); err != io.EOF {
    		t.Fatalf("want EOF got %v", err)
    	}
    
    	// Test for issue 3022, not exposing a reader's error on a successful Peek.
    	buf = NewReaderSize(dataAndEOFReader("abcd"), 32)
    	if s, err := buf.Peek(2); string(s) != "ab" || err != nil {
    		t.Errorf(`Peek(2) on "abcd", EOF = %q, %v; want "ab", nil`, string(s), err)
    	}
    	if s, err := buf.Peek(4); string(s) != "abcd" || err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/rsc.io/markdown/heading.go

    		// after the ID.
    		buf.Truncate(buf.Len() - 1)
    		fmt.Fprintf(buf, " {#%s}\n", b.ID)
    	}
    }
    
    func newATXHeading(p *parseState, s line) (line, bool) {
    	peek := s
    	var n int
    	if peek.trimHeading(&n) {
    		s := peek.string()
    		s = trimRightSpaceTab(s)
    		// Remove trailing '#'s.
    		if t := strings.TrimRight(s, "#"); t != trimRightSpaceTab(t) || t == "" {
    			s = t
    		}
    		var id string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_combine_dwarf.go

    	var cmd loadCmd
    
    	r.offset = r.next
    	if _, err := r.f.Seek(r.offset, 0); err != nil {
    		return cmd, err
    	}
    	if err := binary.Read(r.f, r.order, &cmd); err != nil {
    		return cmd, err
    	}
    	r.next = r.offset + int64(cmd.Len)
    	return cmd, nil
    }
    
    func (r loadCmdReader) ReadAt(offset int64, data interface{}) error {
    	if _, err := r.f.Seek(r.offset+offset, 0); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/parse.go

    	doIssueError := true
    	isStatic, abi := p.symRefAttrs(name, doIssueError)
    
    	if p.peek() == '+' || p.peek() == '-' {
    		a.Offset = int64(p.expr())
    	}
    	if isStatic {
    		a.Sym = p.ctxt.LookupStatic(name)
    	} else {
    		a.Sym = p.ctxt.LookupABI(name, abi)
    	}
    	if p.peek() == scanner.EOF {
    		if prefix == 0 && p.isJump {
    			// Symbols without prefix or suffix are jump labels.
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top