Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for textStart (0.58 sec)

  1. src/cmd/internal/objfile/disasm.go

    	if start < d.textStart {
    		start = d.textStart
    	}
    	if end > d.textEnd {
    		end = d.textEnd
    	}
    	code := d.text[:end-d.textStart]
    	lookup := d.lookup
    	for pc := start; pc < end; {
    		i := pc - d.textStart
    		text, size := d.disasm(code[i:], pc, lookup, d.byteOrder, gnuAsm)
    		file, line, _ := d.pcln.PCToLine(pc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. src/cmd/internal/objfile/elf.go

    		pclntab = f.symbolData("runtime.pclntab", "runtime.epclntab")
    	}
    
    	return textStart, symtab, pclntab, nil
    }
    
    func (f *elfFile) text() (textStart uint64, text []byte, err error) {
    	sect := f.elf.Section(".text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = sect.Addr
    	text, err = sect.Data()
    	return
    }
    
    func (f *elfFile) goarch() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 20:44:50 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/internal/objfile/xcoff.go

    	return textStart, symtab, pclntab, nil
    }
    
    func (f *xcoffFile) text() (textStart uint64, text []byte, err error) {
    	sect := f.xcoff.Section(".text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = sect.VirtualAddress
    	text, err = sect.Data()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 11 18:19:08 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  4. src/cmd/internal/objfile/objfile.go

    	textStart, symtab, pclntab, err := e.raw.pcln()
    	if err != nil {
    		return nil, err
    	}
    	syms, err := e.raw.symbols()
    	if err == nil {
    		for _, s := range syms {
    			if s.Name == "runtime.text" {
    				textStart = s.Addr
    				break
    			}
    		}
    	}
    	return gosym.NewTable(symtab, gosym.NewLineTable(pclntab, textStart))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 16:01:55 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  5. src/cmd/internal/objfile/macho.go

    		if pclntab, err = sect.Data(); err != nil {
    			return 0, nil, nil, err
    		}
    	}
    	return textStart, symtab, pclntab, nil
    }
    
    func (f *machoFile) text() (textStart uint64, text []byte, err error) {
    	sect := f.macho.Section("__text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = sect.Addr
    	text, err = sect.Data()
    	return
    }
    
    func (f *machoFile) goarch() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 03 16:07:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/internal/objfile/plan9obj.go

    			return 0, nil, nil, err
    		}
    	}
    	return textStart, symtab, pclntab, nil
    }
    
    func (f *plan9File) text() (textStart uint64, text []byte, err error) {
    	sect := f.plan9.Section("text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = f.plan9.LoadAddress + f.plan9.HdrSize
    	text, err = sect.Data()
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 01:01:44 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/internal/objfile/pe.go

    			return 0, nil, nil, err
    		}
    	}
    	return textStart, symtab, pclntab, nil
    }
    
    func (f *peFile) text() (textStart uint64, text []byte, err error) {
    	imageBase, err := f.imageBase()
    	if err != nil {
    		return 0, nil, err
    	}
    
    	sect := f.pe.Section(".text")
    	if sect == nil {
    		return 0, nil, fmt.Errorf("text section not found")
    	}
    	textStart = imageBase + uint64(sect.VirtualAddress)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 20 00:56:30 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  8. src/debug/gosym/pclntab_test.go

    	sinkTable     *Table
    )
    
    func Benchmark115(b *testing.B) {
    	dat := read115Executable(b)
    	const textStart = 0x1001000
    
    	b.Run("NewLineTable", func(b *testing.B) {
    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    			sinkLineTable = NewLineTable(dat, textStart)
    		}
    	})
    
    	pcln := NewLineTable(dat, textStart)
    	b.Run("NewTable", func(b *testing.B) {
    		b.ReportAllocs()
    		for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/pcln.go

    	ldr := ctxt.loader
    	textStart := ldr.SymValue(ldr.Lookup("runtime.text", 0))
    	pcOff := func(s loader.Sym) uint32 {
    		off := ldr.SymValue(s) - textStart
    		if off < 0 {
    			panic(fmt.Sprintf("expected func %s(%x) to be placed at or after textStart (%x)", ldr.SymName(s), ldr.SymValue(s), textStart))
    		}
    		return uint32(off)
    	}
    	for i, s := range funcs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

            }
        }
    
        // #:~:text=[prefix-,]textStart[,textEnd][,-suffix]
        public static class TextFragment {
            private final String prefix;
            private final String textStart;
            private final String textEnd;
            private final String suffix;
    
            TextFragment(final String prefix, final String textStart, final String textEnd, final String suffix) {
                this.prefix = prefix;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 30 06:58:45 UTC 2024
    - 40.2K bytes
    - Viewed (0)
Back to top