- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for HdrSize (0.33 sec)
-
src/runtime/profbuf.go
skip := 0 if wd+2+int(b.hdrsize)+len(stk) > len(b.data) { b.data[wd] = 0 skip = len(b.data) - wd nd -= skip wd = 0 } data := b.data[wd:] data[0] = uint64(2 + b.hdrsize + uintptr(len(stk))) // length data[1] = uint64(now) // time stamp // header, zero-padded i := copy(data[2:2+b.hdrsize], hdr) clear(data[2+i : 2+b.hdrsize]) for i, pc := range stk {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
src/debug/plan9obj/file.go
Bss: ph.Bss, Entry: uint64(ph.Entry), PtrSize: 4, LoadAddress: 0x1000, HdrSize: 4 * 8, }} if ph.Magic&Magic64 != 0 { if err := binary.Read(sr, binary.BigEndian, &f.Entry); err != nil { return nil, err } f.PtrSize = 8 f.LoadAddress = 0x200000 f.HdrSize += 8 } var sects = []struct { name string size uint32 }{ {"text", ph.Text},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/internal/objfile/plan9obj.go
} syms = append(syms, sym) } return syms, nil } func (f *plan9File) pcln() (textStart uint64, symtab, pclntab []byte, err error) { textStart = f.plan9.LoadAddress + f.plan9.HdrSize if pclntab, err = loadPlan9Table(f.plan9, "runtime.pclntab", "runtime.epclntab"); err != nil { // We didn't find the symbols, so look for the names used in 1.3 and earlier.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 01:01:44 UTC 2017 - 3.5K bytes - Viewed (0) -
src/runtime/profbuf_test.go
// license that can be found in the LICENSE file. package runtime_test import ( "reflect" . "runtime" "testing" "time" "unsafe" ) func TestProfBuf(t *testing.T) { const hdrSize = 2 write := func(t *testing.T, b *ProfBuf, tag unsafe.Pointer, now int64, hdr []uint64, stk []uintptr) { b.Write(&tag, now, hdr, stk) } read := func(t *testing.T, b *ProfBuf, data []uint64, tags []unsafe.Pointer) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 20:04:56 UTC 2023 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if ( size < 33 || ( 4 + size ) > this.sbuf.length ) { throw new IOException("Invalid payload size: " + size); } int hdrSize = this.smb2 ? Smb2Constants.SMB2_HEADER_LENGTH : SMB1_HEADER_LENGTH; readn(this.in, this.sbuf, 4 + hdrSize, size - hdrSize); log.trace("Read negotiate response"); } /** * @param first * @param n * @return
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Wed Jan 18 23:47:00 UTC 2023 - 67K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go
type FileHandle struct { *fileHandle } // NewFileHandle constructs a FileHandle. func NewFileHandle(handleType int32, handle []byte) FileHandle { const hdrSize = unsafe.Sizeof(fileHandle{}) buf := make([]byte, hdrSize+uintptr(len(handle))) copy(buf[hdrSize:], handle) fh := (*fileHandle)(unsafe.Pointer(&buf[0])) fh.Type = handleType fh.Bytes = uint32(len(handle)) return FileHandle{fh} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 05:26:45 UTC 2024 - 77.5K bytes - Viewed (0) -
src/runtime/export_test.go
func Fastrand64() uint64 { return rand() } func Fastrandn(n uint32) uint32 { return randn(n) } type ProfBuf profBuf func NewProfBuf(hdrsize, bufwords, tags int) *ProfBuf { return (*ProfBuf)(newProfBuf(hdrsize, bufwords, tags)) } func (p *ProfBuf) Write(tag *unsafe.Pointer, now int64, hdr []uint64, stk []uintptr) { (*profBuf)(p).write(tag, now, hdr, stk) } const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
api/go1.4.txt
pkg debug/elf, var ErrNoSymbols error # CL 106460044 debug/plan9obj, cmd/addr2line: on Plan 9 use a.out header, Aram Hăvărneanu <******@****.***> pkg debug/plan9obj, type FileHeader struct, HdrSize uint64 pkg debug/plan9obj, type FileHeader struct, LoadAddress uint64 # CL 122960043 encoding/xml: add InputOffset method to Decoder, Russ Cox <******@****.***> pkg encoding/xml, method (*Decoder) InputOffset() int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 12 03:01:01 UTC 2014 - 34K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"File", Type, 3}, {"File.FileHeader", Field, 3}, {"File.Sections", Field, 3}, {"FileHeader", Type, 3}, {"FileHeader.Bss", Field, 3}, {"FileHeader.Entry", Field, 3}, {"FileHeader.HdrSize", Field, 4}, {"FileHeader.LoadAddress", Field, 4}, {"FileHeader.Magic", Field, 3}, {"FileHeader.PtrSize", Field, 3}, {"Magic386", Const, 3}, {"Magic64", Const, 3}, {"MagicAMD64", Const, 3},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)