Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,303 for buildID (0.52 sec)

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

    const buildIDSeparator = "/"
    
    // actionID returns the action ID half of a build ID.
    func actionID(buildID string) string {
    	i := strings.Index(buildID, buildIDSeparator)
    	if i < 0 {
    		return buildID
    	}
    	return buildID[:i]
    }
    
    // contentID returns the content ID half of a build ID.
    func contentID(buildID string) string {
    	return buildID[strings.LastIndex(buildID, buildIDSeparator)+1:]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  2. src/cmd/buildid/buildid.go

    	telemetry.CountFlags("buildid/flag:", *flag.CommandLine)
    	if flag.NArg() != 1 {
    		usage()
    	}
    
    	file := flag.Arg(0)
    	id, err := buildid.ReadFile(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    	if !*wflag {
    		fmt.Printf("%s\n", id)
    		return
    	}
    
    	// Keep in sync with src/cmd/go/internal/work/buildid.go:updateBuildID
    
    	f, err := os.Open(file)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    			var fileNames []string
    			if m.BuildID != "" {
    				fileNames = []string{filepath.Join(path, m.BuildID, baseName)}
    				if matches, err := filepath.Glob(filepath.Join(path, m.BuildID, "*")); err == nil {
    					fileNames = append(fileNames, matches...)
    				}
    				fileNames = append(fileNames, filepath.Join(path, noVolumeFile, m.BuildID)) // perf path format
    				// Llvm buildid protocol: the first two characters of the build id
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_pgo.txt

    # check that PGO appears in build info
    # N.B. we can't start the stdout check with -pgo because the script assumes that
    # if the first arg starts with - it is a grep flag.
    go version -m triv.exe
    stdout 'build\s+-pgo=.*'${/}'prof'
    
    # store the build ID
    go list -export -json=BuildID -pgo=prof triv.go
    stdout '"BuildID":' # check that output actually contains a build ID
    cp stdout list.out
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/go/internal/work/gc.go

    		// the binary's build ID, so it is the same hash used in
    		// compiling and linking.
    		// When compiling, we use actionID/actionID (instead of
    		// actionID/contentID) as a temporary build ID to compute
    		// the hash. Do the same here. (See buildid.go:useCache)
    		// The build ID matters because it affects the overall hash
    		// in the plugin's pseudo-import path returned below.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/cover_list.txt

    stale -cover m/example
    
    # Collect build ID from for m/example built with -cover.
    go list -cover -export -f '{{.BuildID}}' m/example
    cp stdout $WORK/listbuildid.txt
    
    # Now build the m/example binary with coverage.
    go build -cover -o $WORK/m.exe m/example
    
    # Ask for the binary build ID by running "go tool buildid".
    go tool buildid $WORK/m.exe
    cp stdout $WORK/rawtoolbuildid.txt
    
    # Make sure that the two build IDs agree with respect to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 22:47:28 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. src/runtime/pprof/proto_test.go

    		}
    		var mappings []*profile.Mapping
    		id := uint64(1)
    		parseProcSelfMaps(mmap, func(lo, hi, offset uint64, file, buildID string) {
    			mappings = append(mappings, &profile.Mapping{
    				ID:      id,
    				Start:   lo,
    				Limit:   hi,
    				Offset:  offset,
    				File:    file,
    				BuildID: buildID,
    			})
    			id++
    		})
    		if len(mappings) < 2 {
    			// It is possible for a binary to only have 1 executable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 23:21:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/gradle/GradleFileModuleAdapter.groovy

                        // report lastModified, but file size would change so we would detect it!
                        padding "-" * publishId
    
                        // add a random build id to make sure file changes
                        buildId "$buildId"
                    }
                }
                component {
                    if (printComponentGAV) {
                        group this.group
                        module this.module
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/macho_update_uuid.go

    // difficult/impossible to support reproducible builds. Since we try
    // hard to maintain build reproducibility for Go, the APIs here
    // compute a new UUID (based on the Go build ID) and write it to the
    // final executable generated by the external linker.
    
    import (
    	"cmd/internal/notsha256"
    	"debug/macho"
    	"io"
    	"os"
    	"unsafe"
    )
    
    // uuidFromGoBuildId hashes the Go build ID and returns a slice of 16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/symbolizer/symbolizer.go

    			continue
    		}
    		if m.BuildID == "" {
    			if u, err := url.Parse(m.File); err == nil && u.IsAbs() && strings.Contains(strings.ToLower(u.Scheme), "http") {
    				// Skip mappings pointing to a source URL
    				continue
    			}
    		}
    
    		name := filepath.Base(m.File)
    		if m.BuildID != "" {
    			name += fmt.Sprintf(" (build ID %s)", m.BuildID)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top