- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WriteStringN (0.22 sec)
-
src/cmd/link/internal/ld/outbuf.go
log.Fatalf("WriteString truncated. buffer size: %d, offset: %d, len(s)=%d", len(out.buf), out.off, len(s)) } out.off += int64(n) } // WriteStringN writes the first n bytes of s. // If n is larger than len(s) then it is padded with zero bytes. func (out *OutBuf) WriteStringN(s string, n int) { out.WriteStringPad(s, n, zeros[:]) } // WriteStringPad writes the first n bytes of s.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
out.Write32(72 + 80*s.nsect) out.WriteStringN(s.name, 16) out.Write64(s.vaddr) out.Write64(s.vsize) out.Write64(s.fileoffset) out.Write64(s.filesize) out.Write32(s.prot1) out.Write32(s.prot2) out.Write32(s.nsect) out.Write32(s.flag) } else { out.Write32(LC_SEGMENT) out.Write32(56 + 68*s.nsect) out.WriteStringN(s.name, 16) out.Write32(uint32(s.vaddr))
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/link/internal/ld/pe.go
} // put EXPORT Ordinal Table for i := 0; i < nexport; i++ { out.Write16(uint16(i)) } // put Names out.WriteStringN(*flagOutfile, len(*flagOutfile)+1) for _, s := range dexport { name := ldr.SymExtname(s) out.WriteStringN(name, len(name)+1) } sect.pad(out, uint32(size)) } // peBaseRelocEntry represents a single relocation entry.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:01:27 UTC 2023 - 48.8K bytes - Viewed (0)