- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 248 for Strsize (0.16 sec)
-
src/cmd/link/internal/loadmacho/ldmacho.go
pcrel uint8 length uint8 extrn uint8 type_ uint8 scattered uint8 value uint32 } type ldMachoSymtab struct { symoff uint32 nsym uint32 stroff uint32 strsize uint32 str []byte sym []ldMachoSym } type ldMachoSym struct { name string type_ uint8 sectnum uint8 desc uint16 kind int8 value uint64 sym loader.Sym
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 18:45:57 UTC 2022 - 19.1K bytes - Viewed (0) -
src/debug/macho/macho.go
Flag uint32 } // A SymtabCmd is a Mach-O symbol table command. SymtabCmd struct { Cmd LoadCmd Len uint32 Symoff uint32 Nsyms uint32 Stroff uint32 Strsize uint32 } // A DysymtabCmd is a Mach-O dynamic symbol table command. DysymtabCmd struct { Cmd LoadCmd Len uint32 Ilocalsym uint32 Nlocalsym uint32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 14 00:56:52 UTC 2021 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/cost.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 20.6K bytes - Viewed (0) -
src/debug/macho/file.go
case LoadCmdSymtab: var hdr SymtabCmd b := bytes.NewReader(cmddat) if err := binary.Read(b, bo, &hdr); err != nil { return nil, err } strtab, err := saferio.ReadDataAt(r, uint64(hdr.Strsize), int64(hdr.Stroff)) if err != nil { return nil, err } var symsz int if f.Magic == Magic64 { symsz = 16 } else { symsz = 12 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho.go
loadsize := 4 * 4 * ndebug for i := range load { loadsize += 4 * (len(load[i].data) + 2) } if arch.PtrSize == 8 { loadsize += 18 * 4 * nseg loadsize += 20 * 4 * nsect } else { loadsize += 14 * 4 * nseg loadsize += 17 * 4 * nsect } if arch.PtrSize == 8 { out.Write32(MH_MAGIC_64) } else { out.Write32(MH_MAGIC) } out.Write32(machohdr.cpu)
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/debug/plan9obj/file.go
Magic: ph.Magic, 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 }{
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/link/internal/loader/symbolbuilder.go
return sb.setUintXX(arch, r, v, int64(arch.PtrSize)) } func (sb *SymbolBuilder) SetUintptr(arch *sys.Arch, r int64, v uintptr) int64 { return sb.setUintXX(arch, r, uint64(v), int64(arch.PtrSize)) } func (sb *SymbolBuilder) SetAddrPlus(arch *sys.Arch, off int64, tgt Sym, add int64) int64 { if sb.Type() == 0 { sb.SetType(sym.SDATA) } if off+int64(arch.PtrSize) > sb.size { sb.size = off + int64(arch.PtrSize)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 15:25:19 UTC 2023 - 13.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
w = 1 } s.stksize += w s.stksize = types.RoundUp(s.stksize, n.Type().Alignment()) if n.Type().Alignment() > int64(types.RegSize) { s.stkalign = n.Type().Alignment() } if n.Type().HasPointers() { s.stkptrsize = s.stksize lastHasPtr = true } else { lastHasPtr = false } n.SetFrameOffset(-s.stksize) if mls != nil && mls.IsLeader(n) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/internal/abi/compiletype.go
// CommonSize returns sizeof(Type) for a compilation target with a given ptrSize func CommonSize(ptrSize int) int { return 4*ptrSize + 8 + 8 } // StructFieldSize returns sizeof(StructField) for a compilation target with a given ptrSize func StructFieldSize(ptrSize int) int { return 3 * ptrSize } // UncommonSize returns sizeof(UncommonType). This currently does not depend on ptrSize.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 03:01:24 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/abi/abi_test.s
#include "textflag.h" #ifdef GOARCH_386 #define PTRSIZE 4 #endif #ifdef GOARCH_arm #define PTRSIZE 4 #endif #ifdef GOARCH_mips #define PTRSIZE 4 #endif #ifdef GOARCH_mipsle #define PTRSIZE 4 #endif #ifndef PTRSIZE #define PTRSIZE 8 #endif TEXT internal∕abi·FuncPCTestFn(SB),NOSPLIT,$0-0 RET GLOBL internal∕abi·FuncPCTestFnAddr(SB), NOPTR, $PTRSIZE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 23 21:05:39 UTC 2021 - 603 bytes - Viewed (0)