Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,701 for buildID (0.27 sec)

  1. 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)
  2. 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)
  3. 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)
  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/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)
  6. 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)
  7. src/cmd/go/testdata/script/test_android_issue62123.txt

    ! go build -o $devnull cmd/buildid
    stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    ! go test -c -o $devnull os
    stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    env GOOS=ios GOARCH=arm64 CGO_ENABLED=0
    
    ! go build -o $devnull cmd/buildid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 21:55:28 UTC 2023
    - 683 bytes
    - Viewed (0)
  8. pkg/test/prow/util.go

    	if jobType == "presubmit" {
    		return join(artifactsBase, "pr-logs/pull", fmt.Sprintf("%s_%s", repoOwner, repoName), pullNumber, jobName, buildID, name)
    	}
    	return join(artifactsBase, "logs", jobName, buildID, name)
    }
    
    func join(base string, elem ...string) string {
    	res, _ := url.JoinPath(base, elem...)
    	return res
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. test/fixedbugs/issue14636.go

    	checkLinkOutput("0x"+strings.Repeat("00", 32), "usage")
    	checkLinkOutput("0x"+strings.Repeat("00", 33), "-B option too long (max 32 digits)")
    }
    
    func checkLinkOutput(buildid string, message string) {
    	cmd := exec.Command("go", "tool", "link", "-B", buildid)
    	out, err := cmd.CombinedOutput()
    	if err == nil {
    		log.Fatalf("expected cmd/link to fail")
    	}
    
    	firstLine := string(bytes.SplitN(out, []byte("\n"), 2)[0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. 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)
Back to top