Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 329 for Map (0.05 sec)

  1. 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)
  2. src/runtime/tracemap.go

    // license that can be found in the LICENSE file.
    
    // Simple append-only thread-safe hash map for tracing.
    // Provides a mapping between variable-length data and a
    // unique ID. Subsequent puts of the same data will return
    // the same ID. The zero value is ready to use.
    //
    // Uses a region-based allocation scheme internally, and
    // reset clears the whole map.
    //
    // It avoids doing any high-level Go operations so it's safe
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/load/godebug.go

    		// the last version before GODEBUGs were introduced.
    		goVersion = p.Module.GoVersion
    		if goVersion == "" {
    			goVersion = "1.20"
    		}
    	}
    
    	var m map[string]string
    	for _, g := range modload.MainModules.Godebugs() {
    		if m == nil {
    			m = make(map[string]string)
    		}
    		m[g.Key] = g.Value
    	}
    	for _, list := range [][]build.Directive{p.Internal.Build.Directives, directives, testDirectives, xtestDirectives} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/proc_cpuinfo_linux.go

    	i := strings.Index(in, features)
    	if i == -1 {
    		return errors.New("no CPU features found")
    	}
    	in = in[i+len(features):]
    	if i := strings.Index(in, "\n"); i != -1 {
    		in = in[:i]
    	}
    	m := map[string]*bool{}
    
    	initOptions() // need it early here; it's harmless to call twice
    	for _, o := range options {
    		m[o.Name] = o.Feature
    	}
    	// The EVTSTRM field has alias "evstrm" in Go, but Linux calls it "evtstrm".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. src/cmd/trace/jsontrace.go

    				log.Printf("failed to find task with id %d", taskid)
    				return
    			}
    
    			// Set the goroutine filtering options.
    			goid := firstEv.Goroutine()
    			opts.focusGoroutine = goid
    			goroutines := make(map[trace.GoID]struct{})
    			for _, task := range opts.tasks {
    				// Find only directly involved goroutines.
    				for id := range task.Goroutines {
    					goroutines[id] = struct{}{}
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loadxcoff/ldxcoff.go

    			return sym.Sxxx, fmt.Sprintf("getSymbolType for Storage class 0x%x and Storage Map 0x%x not implemented", s.StorageClass, s.AuxCSect.StorageMappingClass)
    
    		// Program Code
    		case xcoff.XMC_PR:
    			if sectType == xcoff.STYP_TEXT {
    				return sym.STEXT, ""
    			}
    			return sym.Sxxx, fmt.Sprintf("unrecognised Section Type 0x%x for Storage Class 0x%x with Storage Map XMC_PR", sectType, s.StorageClass)
    
    		// Read/Write Data
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/gcimporter.go

    }
    
    // Import imports a gc-generated package given its import path and srcDir, adds
    // the corresponding package object to the packages map, and returns the object.
    // The packages map must contain all packages already imported.
    func Import(fset *token.FileSet, packages map[string]*types.Package, path, srcDir string, lookup func(path string) (io.ReadCloser, error)) (pkg *types.Package, err error) {
    	var rc io.ReadCloser
    	var id string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/go/ast/print.go

    // not cycles that are created via slices or maps containing the
    // same slice or map. Code for general data structures probably
    // should catch those as well.
    
    func (p *printer) print(x reflect.Value) {
    	if !NotNilFilter("", x) {
    		p.printf("nil")
    		return
    	}
    
    	switch x.Kind() {
    	case reflect.Interface:
    		p.print(x.Elem())
    
    	case reflect.Map:
    		p.printf("%s (len = %d) {", x.Type(), x.Len())
    		if x.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types/identity.go

    func IdenticalStrict(t1, t2 *Type) bool {
    	return identical(t1, t2, identStrict, nil)
    }
    
    type typePair struct {
    	t1 *Type
    	t2 *Type
    }
    
    func identical(t1, t2 *Type, flags int, assumedEqual map[typePair]struct{}) bool {
    	if t1 == t2 {
    		return true
    	}
    	if t1 == nil || t2 == nil || t1.kind != t2.kind {
    		return false
    	}
    	if t1.obj != nil || t2.obj != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/go/ast/commentmap.go

    // Update replaces an old node in the comment map with the new node
    // and returns the new node. Comments that were associated with the
    // old node are associated with the new node.
    func (cmap CommentMap) Update(old, new Node) Node {
    	if list := cmap[old]; len(list) > 0 {
    		delete(cmap, old)
    		cmap[new] = append(cmap[new], list...)
    	}
    	return new
    }
    
    // Filter returns a new comment map consisting of only those
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top