Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for buildActionID (0.26 sec)

  1. src/cmd/go/internal/work/action.go

    	nonGoOverlay map[string]string // map from non-.go source files to copied files in objdir. Nil if no overlay is used.
    	traceSpan    *trace.Span
    }
    
    // BuildActionID returns the action ID section of a's build ID.
    func (a *Action) BuildActionID() string { return actionID(a.buildID) }
    
    // BuildContentID returns the content ID section of a's build ID.
    func (a *Action) BuildContentID() string { return contentID(a.buildID) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/exec.go

    					return
    				}
    			}
    		}()
    	}
    
    	wg.Wait()
    
    	// Write action graph again, this time with timing information.
    	writeActionGraph()
    }
    
    // buildActionID computes the action ID for a build action.
    func (b *Builder) buildActionID(a *Action) cache.ActionID {
    	p := a.Package
    	h := cache.NewHash("build " + p.ImportPath)
    
    	// Configuration independent of compiler toolchain.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/test/test.go

    // It reports whether the result can be satisfied from cache.
    func (c *runCache) tryCache(b *work.Builder, a *work.Action) bool {
    	return c.tryCacheWithID(b, a, a.Deps[0].BuildActionID())
    }
    
    func (c *runCache) tryCacheWithID(b *work.Builder, a *work.Action, id string) bool {
    	if len(pkgArgs) == 0 {
    		// Caching does not apply to "go test",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
Back to top