- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for ptrdata (0.18 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/stkframe.go
return } f := frame.fn pcdata := int32(-1) if targetpc != f.entry() { // Back up to the CALL. If we're at the function entry // point, we want to use the entry map (-1), even if // the first instruction of the function changes the // stack map. targetpc-- pcdata = pcdatavalue(f, abi.PCDATA_StackMapIndex, targetpc) } if pcdata == -1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 9.9K bytes - Viewed (0) -
src/cmd/cgo/internal/testerrors/ptr_test.go
name: "ptrdata1", c: `#include <stdlib.h> void f26(void* p) {}`, imports: []string{"unsafe"}, support: `type S26 struct { p *int; a [8*8]byte; u uintptr }`, body: `i := 0; p := &S26{u:uintptr(unsafe.Pointer(&i))}; q := (*S26)(C.malloc(C.size_t(unsafe.Sizeof(*p)))); *q = *p; C.f26(unsafe.Pointer(q))`, fail: false, }, { // Like ptrdata1, but with a type that uses a GC program.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 16:07:49 UTC 2023 - 21.2K 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) -
src/time/zoneinfo_test.go
wantName string wantOffset int }{ { // 2020b slim tzdata for Europe/Berlin. zoneName: "Europe/Berlin", fileName: "2020b_Europe_Berlin", date: func(loc *time.Location) time.Time { return time.Date(2020, time.October, 29, 15, 30, 0, 0, loc) }, wantName: "CET", wantOffset: 3600, }, { // 2021a slim tzdata for America/Nuuk. zoneName: "America/Nuuk",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 13 17:06:56 UTC 2023 - 9.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
var pcdata []loader.Sym for _, s := range funcs { fi := ldr.FuncInfo(s) if !fi.Valid() { continue } fi.Preload() pcsp, pcfile, pcline, pcinline, pcdata = ldr.PcdataAuxs(s, pcdata) pcSyms := []loader.Sym{pcsp, pcfile, pcline} for _, pcSym := range pcSyms { saveOffset(pcSym) } for _, pcSym := range pcdata { saveOffset(pcSym) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/time/zoneinfo_read.go
// registerLoadFromEmbeddedTZData is called by the time/tzdata package, // if it is imported. // //go:linkname registerLoadFromEmbeddedTZData func registerLoadFromEmbeddedTZData(f func(string) (string, error)) { loadFromEmbeddedTZData = f } // loadFromEmbeddedTZData is used to load a specific tzdata file // from tzdata information embedded in the binary itself. // This is set when the time/tzdata package is imported,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
const uint8_t* const opt_data = reinterpret_cast<const uint8_t*>(custom_options.data()); const size_t opt_size = custom_options.size(); if (!flexbuffers::VerifyBuffer(opt_data, opt_size)) { return emitError(loc, "invalid custom options"); } const flexbuffers::Vector& v = flexbuffers::GetRoot(opt_data, opt_size).AsVector();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0)