Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 191 for Map (0.02 sec)

  1. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/methodsetcache.go

    // MethodSet(T) is called so that repeat queries are fast.
    // The zero value is a ready-to-use cache instance.
    type MethodSetCache struct {
    	mu     sync.Mutex
    	named  map[*types.Named]struct{ value, pointer *types.MethodSet } // method sets for named N and *N
    	others map[types.Type]*types.MethodSet                            // all other types
    }
    
    // MethodSet returns the method set of type T.  It is thread-safe.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 18:08:27 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/mono.go

    //
    // For example, given:
    //
    //	func f[A, B any]() {
    //		type T int
    //		f[T, map[A]B]()
    //	}
    //
    // we construct vertices representing types A, B, and T. Because of
    // declaration "type T int", we construct edges T<-A and T<-B with
    // weight 1; and because of instantiation "f[T, map[A]B]" we construct
    // edges A<-T with weight 0, and B<-A and B<-B with weight 1.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. 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)
  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/cmd/vendor/golang.org/x/tools/go/analysis/passes/unusedresult/unusedresult.go

    	false)
    
    type stringSetFlag map[string]bool
    
    func (ss *stringSetFlag) String() string {
    	var items []string
    	for item := range *ss {
    		items = append(items, item)
    	}
    	sort.Strings(items)
    	return strings.Join(items, ",")
    }
    
    func (ss *stringSetFlag) Set(s string) error {
    	m := make(map[string]bool) // clobber previous value
    	if s != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. src/runtime/plugin.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    //go:linkname plugin_lastmoduleinit plugin.lastmoduleinit
    func plugin_lastmoduleinit() (path string, syms map[string]any, initTasks []*initTask, errstr string) {
    	var md *moduledata
    	for pmd := firstmoduledata.next; pmd != nil; pmd = pmd.next {
    		if pmd.bad {
    			md = nil // we only want the last module
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K 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