Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 124 for attr_name (0.26 sec)

  1. src/debug/dwarf/entry_test.go

    			if entry.Tag != TagSubprogram {
    				continue
    			}
    
    			if i > len(subprograms) {
    				t.Fatalf("%s: too many subprograms (expected at most %d)", test.filename, i)
    			}
    
    			if got := entry.Val(AttrName).(string); got != subprograms[i].name {
    				t.Errorf("%s: subprogram %d name is %s, expected %s", test.filename, i, got, subprograms[i].name)
    			}
    			ranges, err := d.Ranges(entry)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. src/debug/dwarf/type_test.go

    	seen := make(map[string]bool)
    	for {
    		e, err := r.Next()
    		if err != nil {
    			t.Fatal("r.Next:", err)
    		}
    		if e == nil {
    			break
    		}
    		if e.Tag == TagVariable {
    			vname, _ := e.Val(AttrName).(string)
    			tAttr := e.Val(AttrType)
    			typOff, ok := tAttr.(Offset)
    			if !ok {
    				t.Errorf("variable at offset %v has no type", e.Offset)
    				continue
    			}
    			typ, err := d.Type(typOff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 15:49:05 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  3. src/cmd/pprof/pprof.go

    				return nil
    			}
    			for _, pcs := range ranges {
    				if pcs[0] <= addr && addr < pcs[1] {
    					var ok bool
    					// TODO: AT_linkage_name, AT_MIPS_linkage_name.
    					name, ok = entry.Val(dwarf.AttrName).(string)
    					if ok {
    						break FindName
    					}
    				}
    			}
    		}
    	}
    
    	// TODO: Report inlined functions.
    
    	frames := []driver.Frame{
    		{
    			Func: name,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/debug/dwarf/const.go

    //go:generate stringer -type Attr -trimprefix=Attr
    
    // An Attr identifies the attribute type in a DWARF [Entry.Field].
    type Attr uint32
    
    const (
    	AttrSibling        Attr = 0x01
    	AttrLocation       Attr = 0x02
    	AttrName           Attr = 0x03
    	AttrOrdering       Attr = 0x09
    	AttrByteSize       Attr = 0x0B
    	AttrBitOffset      Attr = 0x0C
    	AttrBitSize        Attr = 0x0D
    	AttrStmtList       Attr = 0x10
    	AttrLowpc          Attr = 0x11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. src/debug/dwarf/line_test.go

    			dr.SkipChildren()
    			continue
    		}
    
    		// Ignore system compilation units (this happens in
    		// the Windows binary). We'll still decode the line
    		// table, but won't check it.
    		name := ent.Val(AttrName).(string)
    		ignore := strings.HasPrefix(name, "C:/crossdev/") || strings.HasPrefix(name, "../../")
    
    		// Decode CU's line table.
    		lr, err := d.LineReader(ent)
    		if err != nil {
    			t.Fatal("d.LineReader:", err)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:36 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  6. src/debug/pe/file_test.go

    	r := d.Reader()
    	for {
    		e, err := r.Next()
    		if err != nil {
    			t.Fatal("r.Next:", err)
    		}
    		if e == nil {
    			break
    		}
    		if e.Tag == dwarf.TagSubprogram {
    			name, ok := e.Val(dwarf.AttrName).(string)
    			if ok && name == "main.main" {
    				t.Logf("Found main.main")
    				addr, ok := e.Val(dwarf.AttrLowpc).(uint64)
    				if !ok {
    					t.Fatal("Failed to get AttrLowpc")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 01 02:25:16 UTC 2023
    - 22.3K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    			a.Link = b.Link
    			b.Link = die.Attr
    			die.Attr = b
    			return b
    		}
    
    		a = b
    		b = b.Link
    	}
    
    	return nil
    }
    
    // Every DIE manufactured by the linker has at least an AT_name
    // attribute (but it will only be written out if it is listed in the abbrev).
    // The compiler does create nameless DWARF DIEs (ex: concrete subprogram
    // instance).
    // FIXME: it would be more efficient to bulk-allocate DIEs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	// Scan DWARF info for top-level TagVariable entries with AttrName __cgo__i.
    	types := make([]dwarf.Type, len(names))
    	r := d.Reader()
    	for {
    		e, err := r.Next()
    		if err != nil {
    			fatalf("reading DWARF entry: %s", err)
    		}
    		if e == nil {
    			break
    		}
    		switch e.Tag {
    		case dwarf.TagVariable:
    			name, _ := e.Val(dwarf.AttrName).(string)
    			// As of https://reviews.llvm.org/D123534, clang
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  9. src/internal/trace/traceviewer/static/webcomponents.min.js

    tObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=w.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target,o=new l("attributes",r);o.attributeName=t,o.attributeNamespace=n;var a=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;i(r,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 115.6K bytes
    - Viewed (0)
  10. src/main/webapp/js/admin/jquery-3.6.3.min.map

    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 17 12:13:41 UTC 2023
    - 135.2K bytes
    - Viewed (0)
Back to top