Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for Nsyms (0.16 sec)

  1. src/internal/xcoff/file.go

    			return nil, err
    		}
    		nscns = fhdr.Fnscns
    		symptr = fhdr.Fsymptr
    		nsyms = fhdr.Fnsyms
    		opthdr = fhdr.Fopthdr
    		hdrsz = FILHSZ_64
    	}
    
    	if symptr == 0 || nsyms <= 0 {
    		return nil, fmt.Errorf("no symbol table")
    	}
    
    	// Read string table (located right after symbol table).
    	offset := symptr + uint64(nsyms)*SYMESZ
    	if _, err := sr.Seek(int64(offset), io.SeekStart); err != nil {
    		return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 14:42:29 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. src/go/internal/gcimporter/iimport.go

    			errorf("conflicting names %s and %s for package %q", pkg.Name(), pkgName, path)
    		}
    
    		p.pkgCache[pkgPathOff] = pkg
    
    		nameIndex := make(map[string]uint64)
    		for nSyms := r.uint64(); nSyms > 0; nSyms-- {
    			name := p.stringAt(r.uint64())
    			nameIndex[name] = r.uint64()
    		}
    
    		p.pkgIndex[pkg] = nameIndex
    		pkgList[i] = pkg
    	}
    
    	localpkg := pkgList[0]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. src/debug/macho/file.go

    			} else if hdr.Iundefsym > uint32(len(f.Symtab.Syms)) {
    				return nil, &FormatError{offset, fmt.Sprintf(
    					"undefined symbols index in dynamic symbol table command is greater than symbol table length (%d > %d)",
    					hdr.Iundefsym, len(f.Symtab.Syms)), nil}
    			} else if hdr.Iundefsym+hdr.Nundefsym > uint32(len(f.Symtab.Syms)) {
    				return nil, &FormatError{offset, fmt.Sprintf(
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  4. src/debug/macho/macho.go

    		Prot    uint32
    		Nsect   uint32
    		Flag    uint32
    	}
    
    	// A SymtabCmd is a Mach-O symbol table command.
    	SymtabCmd struct {
    		Cmd     LoadCmd
    		Len     uint32
    		Symoff  uint32
    		Nsyms   uint32
    		Stroff  uint32
    		Strsize uint32
    	}
    
    	// A DysymtabCmd is a Mach-O dynamic symbol table command.
    	DysymtabCmd struct {
    		Cmd            LoadCmd
    		Len            uint32
    		Ilocalsym      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/macho.go

    func machorelocsect(ctxt *Link, out *OutBuf, sect *sym.Section, syms []loader.Sym) {
    	// If main section has no bits, nothing to relocate.
    	if sect.Vaddr >= sect.Seg.Vaddr+sect.Seg.Filelen {
    		return
    	}
    	ldr := ctxt.loader
    
    	for i, s := range syms {
    		if !ldr.AttrReachable(s) {
    			continue
    		}
    		if uint64(ldr.SymValue(s)) >= sect.Vaddr {
    			syms = syms[i:]
    			break
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. src/cmd/link/internal/loader/loader.go

    			panic("bad sym ref")
    		}
    		return 0
    	case goobj.PkgIdxHashed64:
    		i := int(s.SymIdx) + r.ndef
    		return r.syms[i]
    	case goobj.PkgIdxHashed:
    		i := int(s.SymIdx) + r.ndef + r.nhashed64def
    		return r.syms[i]
    	case goobj.PkgIdxNone:
    		i := int(s.SymIdx) + r.ndef + r.nhashed64def + r.nhasheddef
    		return r.syms[i]
    	case goobj.PkgIdxBuiltin:
    		if bi := l.builtinSyms[s.SymIdx]; bi != 0 {
    			return bi
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/typecheck/syms.go

    Matthew Dempsky <******@****.***> 1692573290 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. src/cmd/nm/nm.go

    	for _, e := range entries {
    		syms, err := e.Symbols()
    		if err != nil {
    			errorf("reading %s: %v", file, err)
    		}
    		if len(syms) == 0 {
    			continue
    		}
    
    		found = true
    
    		switch *sortOrder {
    		case "address":
    			sort.Slice(syms, func(i, j int) bool { return syms[i].Addr < syms[j].Addr })
    		case "name":
    			sort.Slice(syms, func(i, j int) bool { return syms[i].Name < syms[j].Name })
    		case "size":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/cmd/nm/nm_test.go

    			syms = append(syms, symType{"D", "_cgodata", true, false})
    			syms = append(syms, symType{"T", "_cgofunc", true, false})
    		} else if runtime.GOOS == "aix" {
    			syms = append(syms, symType{"D", "cgodata", true, false})
    			syms = append(syms, symType{"T", ".cgofunc", true, false})
    		} else {
    			syms = append(syms, symType{"D", "cgodata", true, false})
    			syms = append(syms, symType{"T", "cgofunc", true, false})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 23:32:34 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/dwarf.go

    	wg.Wait()
    
    	markReachable := func(syms []loader.Sym) []loader.Sym {
    		for _, s := range syms {
    			d.ldr.SetAttrNotInSymbolTable(s, true)
    			d.ldr.SetAttrReachable(s, true)
    		}
    		return syms
    	}
    
    	// Stitch together the results.
    	for i := 0; i < ncu; i++ {
    		r := &unitSyms[i]
    		lineSec.syms = append(lineSec.syms, markReachable(r.linesyms)...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
Back to top