Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 5,075 for buildID (0.44 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/elfexec/elfexec.go

    }
    
    // GetBuildID returns the GNU build-ID for an ELF binary.
    //
    // If no build-ID was found but the binary was read without error, it returns
    // (nil, nil).
    func GetBuildID(f *elf.File) ([]byte, error) {
    	findBuildID := func(notes []elfNote) ([]byte, error) {
    		var buildID []byte
    		for _, note := range notes {
    			if note.Name == "GNU" && note.Type == noteTypeGNUBuildID {
    				if buildID == nil {
    					buildID = note.Desc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. src/cmd/link/elf_test.go

    	goTool := testenv.GoToolPath(t)
    
    	cmd := testenv.Command(t, goTool, "build", "-o", outFile, "-ldflags", "-buildid 0x1234 -B gobuildid", goFile)
    	cmd.Dir = t.TempDir()
    
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Logf("%s", out)
    		t.Fatal(err)
    	}
    
    	expectedGoBuildID := notsha256.Sum256([]byte("0x1234"))
    
    	gnuBuildID, err := buildid.ReadELFNote(outFile, string(ld.ELF_NOTE_BUILDINFO_NAME), ld.ELF_NOTE_BUILDINFO_TAG)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 16:34:01 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    	Name() string
    
    	// ObjAddr returns the objdump address corresponding to a runtime address.
    	ObjAddr(addr uint64) (uint64, error)
    
    	// BuildID returns the GNU build ID of the file, or an empty string.
    	BuildID() string
    
    	// SourceLine reports the source line information for a given
    	// address in the file. Due to inlining, the source line information
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/cmd/internal/buildid/buildid_test.go

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package buildid
    
    import (
    	"bytes"
    	"crypto/sha256"
    	"debug/elf"
    	"encoding/binary"
    	"internal/obscuretestdata"
    	"os"
    	"reflect"
    	"strings"
    	"testing"
    )
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:28 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        "TMP",
        "TEMP",
    
        // Seems important on Windows
        "ALLUSERSPROFILE",
        "PUBLIC",
        "windir",
    
        // Used by performance test to recognize TeamCity buildId
        "BUILD_ID",
        // Used by some tests to be ignored in specific build
        "BUILD_TYPE_ID",
        "JPROFILER_HOME",
    
        "LANG",
        "LANGUAGE",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 18 01:52:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/reproduciblebuilds_test.go

    	// Compile a small package with and without the concurrent
    	// backend, then check to make sure that the resulting archives
    	// are identical.  Note: this uses "go tool compile" instead of
    	// "go build" since the latter will generate different build IDs
    	// if it sees different command line flags.
    	scenarios := []struct {
    		tag     string
    		args    string
    		libpath string
    	}{
    		{tag: "serial", args: "-c=1"},
    		{tag: "concurrent", args: "-c=2"}}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/design/gradle-module-metadata-1.0-specification.md

    ### `gradle` value
    
    This value, nested in `createdBy`, must contain an object with the following values:
    
    - `version`: The version of Gradle. A string
    - `buildId`: The buildId for the Gradle instance. A string
    
    ### `variants` value
    
    This value must contain an array with zero or more elements. Each element must be an object with the following values:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 23:32:14 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    	size = size - (size % mapsizeRounding)
    	key := mappingKey{
    		size:   size,
    		offset: m.Offset,
    	}
    
    	switch {
    	case m.BuildID != "":
    		key.buildIDOrFile = m.BuildID
    	case m.File != "":
    		key.buildIDOrFile = m.File
    	default:
    		// A mapping containing neither build ID nor file name is a fake mapping. A
    		// key with empty buildIDOrFile is used for fake mappings so that they are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	tg.run("list", "-export", "-f", "{{.BuildID}}", "strings")
    	buildID := strings.TrimSpace(tg.stdout.String())
    	if buildID == "" {
    		t.Fatalf(".BuildID with -export was empty")
    	}
    
    	tg.run("tool", "buildid", file)
    	toolBuildID := strings.TrimSpace(tg.stdout.String())
    	if buildID != toolBuildID {
    		t.Fatalf(".BuildID with -export %q disagrees with 'go tool buildid' %q", buildID, toolBuildID)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/work/gccgo.go

    		ldflags = str.StringList("-Wl,-(", ldflags, "-Wl,-)")
    	}
    
    	if root.buildID != "" {
    		// On systems that normally use gold or the GNU linker,
    		// use the --build-id option to write a GNU build ID note.
    		switch cfg.Goos {
    		case "android", "dragonfly", "linux", "netbsd":
    			ldflags = append(ldflags, fmt.Sprintf("-Wl,--build-id=0x%x", root.buildID))
    		}
    	}
    
    	var rLibPath string
    	if cfg.Goos == "aix" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top