Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 100 for supply (0.08 sec)

  1. src/archive/tar/writer.go

    	"slices"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    	curr fileWriter // Writer for current file entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git.go

    	return tags, nil
    }
    
    // repoSum returns a checksum of the entire repo state,
    // which can be checked (as Origin.RepoSum) to cache
    // the absence of a specific module version.
    // The caller must supply refs, the result of a successful r.loadRefs.
    func (r *gitRepo) repoSum(refs map[string]string) string {
    	var list []string
    	for ref := range refs {
    		list = append(list, ref)
    	}
    	sort.Strings(list)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 22:10:38 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/action.go

    	actionID cache.ActionID // cache ID of action input
    	buildID  string         // build ID of action output
    
    	VetxOnly  bool       // Mode=="vet": only being called to supply info about dependencies
    	needVet   bool       // Mode=="build": need to fill in vet config
    	needBuild bool       // Mode=="build": need to do actual build (can be false if needVet is true)
    	vetCfg    *vetConfig // vet config
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  4. src/cmd/go/internal/work/gc.go

    			if p.ImportPath == "runtime/cgo" && strings.HasPrefix(sfile, "gcc_") {
    				continue
    			}
    			op, _ := fsys.OverlayPath(mkAbs(p.Dir, sfile))
    			args = append(args, op)
    		}
    
    		// Supply an empty go_asm.h as if the compiler had been run.
    		// -gensymabis parsing is lax enough that we don't need the
    		// actual definitions that would appear in go_asm.h.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/codehost.go

    	c.Cancel = func() error { return c.Process.Signal(os.Interrupt) }
    	c.Dir = dir
    	c.Stdin = stdin
    	c.Stderr = &stderr
    	c.Stdout = &stdout
    	// For Git commands, manually supply GIT_DIR so Git works with safe.bareRepository=explicit set. Noop for other commands.
    	c.Env = append(c.Environ(), "GIT_DIR="+dir)
    	err := c.Run()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. src/cmd/fix/main_test.go

    		testenv.MustHaveGoBuild(t) // Really just 'go tool cgo', but close enough.
    
    		// The reportCgoError hook is global, so we can't set it per-test
    		// if we want to be able to run those tests in parallel.
    		// Instead, simply set it to panic on error: the goroutine dump
    		// from the panic should help us determine which test failed.
    		prevReportCgoError := reportCgoError
    		reportCgoError = func(err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    		a.apply(n, "X", nil, n.X)
    		a.applyList(n, "Indices")
    
    	case *ast.SliceExpr:
    		a.apply(n, "X", nil, n.X)
    		a.apply(n, "Low", nil, n.Low)
    		a.apply(n, "High", nil, n.High)
    		a.apply(n, "Max", nil, n.Max)
    
    	case *ast.TypeAssertExpr:
    		a.apply(n, "X", nil, n.X)
    		a.apply(n, "Type", nil, n.Type)
    
    	case *ast.CallExpr:
    		a.apply(n, "Fun", nil, n.Fun)
    		a.applyList(n, "Args")
    
    	case *ast.StarExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  8. src/cmd/trace/pprof.go

    		}
    		return stacks.profile(), nil
    	}
    }
    
    // pprofOverlappingDuration returns the overlapping duration between
    // the time intervals in gToIntervals and the specified event.
    // If gToIntervals is nil, this simply returns the event's duration.
    func pprofOverlappingDuration(gToIntervals map[trace.GoID][]interval, id trace.GoID, sample interval) time.Duration {
    	if gToIntervals == nil { // No filtering.
    		return sample.duration()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/text/language/coverage.go

    // - CLDR coverage levels.
    // - Set of common tags defined in this package.
    
    type allSubtags struct{}
    
    // Regions returns the list of supported regions. As all regions are in a
    // consecutive range, it simply returns a slice of numbers in increasing order.
    // The "undefined" region is not returned.
    func (s allSubtags) Regions() []Region {
    	reg := make([]Region, language.NumRegions)
    	for i := range reg {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/cmd/go/internal/list/list.go

    			}
    
    			for _, arg := range args {
    				// In vendor mode, the module graph is incomplete: it contains only the
    				// explicit module dependencies and the modules that supply packages in
    				// the import graph. Reject queries that imply more information than that.
    				if arg == "all" {
    					base.Fatalf(actionDisabledFormat, "compute 'all'")
    				}
    				if strings.Contains(arg, "...") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top