Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 507 for Map (0.03 sec)

  1. src/cmd/pprof/pprof.go

    	if start != 0 {
    		if load, err := of.LoadAddress(); err == nil {
    			f.offset = start - load
    		}
    	}
    	return f, nil
    }
    
    func (*objTool) Demangle(names []string) (map[string]string, error) {
    	// No C++, nothing to demangle.
    	return make(map[string]string), nil
    }
    
    func (t *objTool) Disasm(file string, start, end uint64, intelSyntax bool) ([]driver.Inst, error) {
    	if intelSyntax {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/driver/driver.go

    type Symbolizer interface {
    	Symbolize(mode string, srcs MappingSources, prof *profile.Profile) error
    }
    
    // MappingSources map each profile.Mapping to the source of the profile.
    // The key is either Mapping.File or Mapping.BuildId.
    type MappingSources map[string][]struct {
    	Source string // URL of the source the mapping was collected from
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modload/vendor.go

    	vendorReplaced  []module.Version          // all replaced modules; may or may not also contribute packages
    	vendorVersion   map[string]string         // module path → selected version (if known)
    	vendorPkgModule map[string]module.Version // package → containing module
    	vendorMeta      map[module.Version]vendorMetadata
    )
    
    type vendorMetadata struct {
    	Explicit    bool
    	Replacement module.Version
    	GoVersion   string
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/mvs/graph.go

    type Graph struct {
    	cmp   func(p, v1, v2 string) int
    	roots []module.Version
    
    	required map[module.Version][]module.Version
    
    	isRoot   map[module.Version]bool // contains true for roots and false for reachable non-roots
    	selected map[string]string       // path → version
    }
    
    // NewGraph returns an incremental MVS graph containing only a set of root
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. src/cmd/internal/pgo/serialize.go

    // license that can be found in the LICENSE file.
    
    package pgo
    
    import (
    	"bufio"
    	"fmt"
    	"io"
    )
    
    // Serialization of a Profile allows go tool preprofile to construct the edge
    // map only once (rather than once per compile process). The compiler processes
    // then parse the pre-processed data directly from the serialized format.
    //
    // The format of the serialized output is as follows.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/format/format.go

    // throw. go_bootstrap cannot depend on the cgo version of package net in ./make.bash.
    package format
    
    type Data struct {
    	Events   []*Event         `json:"traceEvents"`
    	Frames   map[string]Frame `json:"stackFrames"`
    	TimeUnit string           `json:"displayTimeUnit"`
    }
    
    type Event struct {
    	Name      string  `json:"name,omitempty"`
    	Phase     string  `json:"ph"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. src/crypto/purego_test.go

    	cmd = exec.Command(testenv.GoToolPath(t), "tool", "dist", "list")
    	cmd.Stderr = os.Stderr
    	out, err = cmd.Output()
    	if err != nil {
    		log.Fatalf("loading architecture list: %v\n%s", err, out)
    	}
    	allGOARCH := make(map[string]bool)
    	for _, pair := range strings.Split(strings.TrimSpace(string(out)), "\n") {
    		GOARCH := strings.Split(pair, "/")[1]
    		allGOARCH[GOARCH] = true
    	}
    
    	for _, pkgName := range pkgs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. src/net/http/pprof/pprof_test.go

    	"time"
    )
    
    // TestDescriptions checks that the profile names under runtime/pprof package
    // have a key in the description map.
    func TestDescriptions(t *testing.T) {
    	for _, p := range pprof.Profiles() {
    		_, ok := profileDescriptions[p.Name()]
    		if ok != true {
    			t.Errorf("%s does not exist in profileDescriptions map\n", p.Name())
    		}
    	}
    }
    
    func TestHandlers(t *testing.T) {
    	testCases := []struct {
    		path               string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. test/fixedbugs/issue13799.go

    	}
    }
    
    func test1(iter int) {
    
    	const maxI = 500
    	m := make(map[int][]int) // ERROR "make\(map\[int\]\[\]int\) escapes to heap$"
    
    	// The panic seems to be triggered when m is modified inside a
    	// closure that is both recursively called and reassigned to in a
    	// loop.
    
    	// Cause of bug -- escape of closure failed to escape (shared) data structures
    	// of map.  Assign to fn declared outside of loop triggers escape of closure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/dwtest/dwtest.go

    	dies        []*dwarf.Entry
    	idxByOffset map[dwarf.Offset]int
    	kids        map[int][]int
    	parent      map[int]int
    	byname      map[string][]int
    }
    
    // Populate the Examiner using the DIEs read from rdr.
    func (ex *Examiner) Populate(rdr *dwarf.Reader) error {
    	ex.idxByOffset = make(map[dwarf.Offset]int)
    	ex.kids = make(map[int][]int)
    	ex.parent = make(map[int]int)
    	ex.byname = make(map[string][]int)
    	var nesting []int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top