Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addgostring (0.17 sec)

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

    		ctxt.Diag("copy %s: unexpected length %d != %d", file.Name, written, file.Size)
    	}
    }
    
    func (w *writer) StringTable() {
    	w.AddString("")
    	for _, p := range w.ctxt.Imports {
    		w.AddString(p.Pkg)
    	}
    	for _, pkg := range w.pkglist {
    		w.AddString(pkg)
    	}
    	w.ctxt.traverseSyms(traverseAll, func(s *LSym) {
    		// Don't put names of builtins into the string table (to save
    		// space).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    }
    
    func (rd *reparseData) addString(s string) (offset, length uint16) {
    	p := syscall.StringToUTF16(s)
    	return rd.addUTF16s(p), uint16(len(p)-1) * 2 // do not include terminating NUL in the length (as per PrintNameLength and SubstituteNameLength documentation)
    }
    
    func (rd *reparseData) addSubstituteName(name string) {
    	rd.substituteName.offset, rd.substituteName.length = rd.addString(name)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    		symstr.AddUint8('_')
    
    		// replace "·" as ".", because DTrace cannot handle it.
    		name := strings.Replace(ldr.SymExtname(s), "·", ".", -1)
    
    		name = mangleABIName(ctxt, ldr, s, name)
    		symstr.Addstring(name)
    
    		if t := ldr.SymType(s); t == sym.SDYNIMPORT || t == sym.SHOSTOBJ || t == sym.SUNDEFEXT {
    			symtab.AddUint8(0x01)                             // type N_EXT, external symbol
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. src/cmd/internal/goobj/objfile.go

    	b [8]byte // scratch space for writing bytes
    }
    
    func NewWriter(wr *bio.Writer) *Writer {
    	return &Writer{wr: wr, stringMap: make(map[string]uint32)}
    }
    
    func (w *Writer) AddString(s string) {
    	if _, ok := w.stringMap[s]; ok {
    		return
    	}
    	w.stringMap[s] = w.off
    	w.RawString(s)
    }
    
    func (w *Writer) stringOff(s string) uint32 {
    	off, ok := w.stringMap[s]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top