- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,418 for buildID (0.15 sec)
-
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) -
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) -
src/cmd/internal/buildid/buildid.go
case 2: if !bytes.HasPrefix(line, goobject) { return tryGccgo() } case 3: if !bytes.HasPrefix(line, buildid) { // Found the object header, just doesn't have a build id line. // Treat as successful, with empty build id. return "", nil } id, err := strconv.Unquote(string(line[len(buildid):])) if err != nil { return tryGccgo() } return id, nil } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 28 21:52:53 UTC 2020 - 9K bytes - Viewed (0) -
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) -
src/cmd/go/testdata/script/mod_build_trimpath_issue48557.txt
# Only the linker and buildid tool should be needed. mkdir bar cp foo/main.go bar/main.go cd bar go build -x -o a.exe main.go ! stderr ${/}compile$GOEXE go tool buildid a.exe cp stdout ../bar-buildid.txt go version a.exe cp stdout ../bar-version.txt cd .. cmp bar-buildid.txt foo-buildid.txt cmp bar-version.txt foo-version.txt cmp bar/a.exe foo/a.exe -- $WORK/tmp/foo/main.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 06 16:46:09 UTC 2021 - 1.3K bytes - Viewed (0) -
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) -
src/cmd/buildid/doc.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. /* Buildid displays or updates the build ID stored in a Go package or binary. Usage: go tool buildid [-w] file By default, buildid prints the build ID found in the named file. If the -w option is given, buildid rewrites the build ID found in the file to accurately record a content hash of the file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 558 bytes - Viewed (0) -
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) -
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) -
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)