- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for ptrData (0.35 sec)
-
src/cmd/link/internal/ld/decodesym.go
if ctxt.loader.SymType(s) == sym.SDYNIMPORT { symData := ctxt.loader.Data(s) addr := decodetypeGcprogShlib(ctxt, symData) ptrdata := decodetypePtrdata(ctxt.Arch, symData) sect := findShlibSection(ctxt, ctxt.loader.SymPkg(s), addr) if sect != nil { bits := ptrdata / int64(ctxt.Arch.PtrSize) r := make([]byte, (bits+7)/8) // ldshlibsyms avoids closing the ELF file so sect.ReadAt works.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/stack.go
// if non-negative, offset from argp off int32 size int32 _ptrdata int32 // ptrdata, or -ptrdata is GC prog is used gcdataoff uint32 // offset to gcdata from moduledata.rodata } func (r *stackObjectRecord) useGCProg() bool { return r._ptrdata < 0 } func (r *stackObjectRecord) ptrdata() uintptr { x := r._ptrdata if x < 0 { return uintptr(-x) } return uintptr(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 41.1K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
if sz != int64(int32(sz)) { base.Fatalf("stack object too big: %v of type %v, size %d", v, t, sz) } lsym, useGCProg, ptrdata := reflectdata.GCSym(t) if useGCProg { ptrdata = -ptrdata } off = objw.Uint32(x, off, uint32(sz)) off = objw.Uint32(x, off, uint32(ptrdata)) off = objw.SymPtrOff(x, off, lsym) } if base.Flag.Live != 0 { for _, v := range vars {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/runtime/mbitmap.go
// for an object of size ptrdata. Then it fills that space with the // pointer bitmask specified by the program prog. // The bitmask starts at s.startAddr. // The result must be deallocated with dematerializeGCProg. func materializeGCProg(ptrdata uintptr, prog *byte) *mspan { // Each word of ptrdata needs one bit in the bitmap. bitmapBytes := divRoundUp(ptrdata, 8*goarch.PtrSize)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/reflect/type.go
mask[word/8] |= 1 << (word % 8) gcdata = &mask[0] ptrdata = (word + 1) * goarch.PtrSize // overflow word must be last if ptrdata != size { panic("reflect: bad layout computation in MapOf") } } b := &abi.Type{ Align_: goarch.PtrSize, Size_: size, Kind_: abi.Struct, PtrBytes: ptrdata, GCData: gcdata, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/runtime/mgcmark.go
// a gc program (see issue 27447). s = materializeGCProg(r.ptrdata(), gcdata) gcdata = (*byte)(unsafe.Pointer(s.startAddr)) } b := state.stack.lo + uintptr(obj.off) if conservative { scanConservative(b, r.ptrdata(), gcdata, gcw, &state) } else { scanblock(b, r.ptrdata(), gcdata, gcw, &state) } if s != nil { dematerializeGCProg(s) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 21:25:11 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/debuglog.go
} } return l } //go:nosplit func (l *dlogger) s(x string) *dlogger { if !dlogEnabled { return l } strData := unsafe.StringData(x) datap := &firstmoduledata if len(x) > 4 && datap.etext <= uintptr(unsafe.Pointer(strData)) && uintptr(unsafe.Pointer(strData)) < datap.end { // String constants are in the rodata section, which // isn't recorded in moduledata. But it has to be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 18.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/body-multiple-params.md
Se você declará-lo como é, porque é um valor singular, o **FastAPI** assumirá que se trata de um parâmetro de consulta. Mas você pode instruir o **FastAPI** para tratá-lo como outra chave do corpo usando `Body`: === "Python 3.8+" ```Python hl_lines="22" {!> ../../../docs_src/body_multiple_params/tutorial003.py!} ```
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 6K bytes - Viewed (0) -
src/debug/elf/file.go
sym.Shndx = f.ByteOrder.Uint16(data[14:16]) str, _ := getString(strdata, int(sym.Name)) symbols[i].Name = str symbols[i].Info = sym.Info symbols[i].Other = sym.Other symbols[i].Section = SectionIndex(sym.Shndx) symbols[i].Value = uint64(sym.Value) symbols[i].Size = uint64(sym.Size) i++ data = data[Sym32Size:] } return symbols, strdata, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0) -
src/runtime/stkframe.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0)