- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for addgostring (0.22 sec)
-
src/cmd/vendor/github.com/google/pprof/profile/encode.go
} for _, f := range p.Function { f.nameX = addString(strings, f.Name) f.systemNameX = addString(strings, f.SystemName) f.filenameX = addString(strings, f.Filename) } p.dropFramesX = addString(strings, p.DropFrames) p.keepFramesX = addString(strings, p.KeepFrames) if pt := p.PeriodType; pt != nil { pt.typeX = addString(strings, pt.Type) pt.unitX = addString(strings, pt.Unit) } p.commentX = nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
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) -
src/cmd/link/internal/loader/loader_test.go
sb.AddUint8('b') sb.SetUint8(arch, 1, 'c') return s }, expData: []byte{'a', 'c'}, expKind: sym.SDATA, }, { which: "AddString", addDataFunc: func(l *Loader, s Sym, _ Sym) Sym { sb := l.MakeSymbolUpdater(s) sb.Addstring("hello") return s }, expData: []byte{'h', 'e', 'l', 'l', 'o', 0}, expKind: sym.SNOPTRDATA, }, { which: "AddAddrPlus",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 19:08:09 UTC 2024 - 12K bytes - Viewed (0) -
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) -
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) -
src/cmd/internal/dwarf/dwarf.go
AddDWARFAddrSectionOffset(s Sym, t interface{}, ofs int64) CurrentOffset(s Sym) int64 RecordDclReference(from Sym, to Sym, dclIdx int, inlIndex int) RecordChildDieOffsets(s Sym, vars []*Var, offsets []int32) AddString(s Sym, v string) Logf(format string, args ...interface{}) } // AppendUleb128 appends v to b using DWARF's unsigned LEB128 encoding. func AppendUleb128(b []byte, v uint64) []byte { for {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 43K bytes - Viewed (0) -
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)