Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,084 for buildID (0.25 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/go/note_test.go

    	const buildID = "TestNoteReading-Build-ID"
    	tg.run("build", "-ldflags", "-buildid="+buildID, "-o", tg.path("hello.exe"), tg.path("hello.go"))
    	id, err := buildid.ReadFile(tg.path("hello.exe"))
    	if err != nil {
    		t.Fatalf("reading build ID from hello binary: %v", err)
    	}
    	if id != buildID {
    		t.Fatalf("buildID in hello binary = %q, want %q", id, buildID)
    	}
    
    	switch {
    	case !testenv.HasCGO():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 17:26:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. src/runtime/pprof/proto_darwin.go

    // made to obtain the buildID information.
    func (b *profileBuilder) readMapping() {
    	if !machVMInfo(b.addMapping) {
    		b.addMappingEntry(0, 0, 0, "", "", true)
    	}
    }
    
    func readMainModuleMapping() (start, end uint64, exe, buildID string, err error) {
    	first := true
    	ok := machVMInfo(func(lo, hi, off uint64, file, build string) {
    		if first {
    			start, end = lo, hi
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/metadata/ModuleMetadataJsonWriter.java

        @Nullable
        private final String buildId;
        private final ChecksumService checksumService;
    
        public ModuleMetadataJsonWriter(
            JsonWriter jsonWriter,
            ModuleMetadataSpec metadata,
            @Nullable String buildId,
            ChecksumService checksumService
        ) {
            super(jsonWriter);
            this.metadata = metadata;
            this.buildId = buildId;
            this.checksumService = checksumService;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/integtests/resolve/AbstractProjectDependencyConflictResolutionIntegrationSpec.groovy

            }
    
            def projectId(String projectName) {
                def buildId = $buildId
                def projectPath = $projectPath
                return project.services.get(${BuildStateRegistry.name}).getBuild(buildId).projects.getProject(${Path.name}.path(projectPath)).componentIdentifier
            }
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 8K bytes
    - Viewed (0)
Back to top