- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for shentsize (0.11 sec)
-
src/runtime/pprof/elf.go
shentsize = int64(byteOrder.Uint16(buf[58:])) if shentsize != 64 { return "", errBadELF } shnum = int(byteOrder.Uint16(buf[60:])) } for i := 0; i < shnum; i++ { if _, err := f.ReadAt(buf[:shentsize], shoff+int64(i)*shentsize); err != nil { return "", err } if typ := byteOrder.Uint32(buf[4:]); typ != 7 { // SHT_NOTE continue } var off, size int64 if shentsize == 40 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 01:09:18 UTC 2017 - 2.8K bytes - Viewed (0) -
src/debug/elf/file.go
} if phnum > 0 && phentsize < wantPhentsize { return nil, &FormatError{0, "invalid ELF phentsize", phentsize} } // Read program headers f.Progs = make([]*Prog, phnum) phdata, err := saferio.ReadDataAt(sr, uint64(phnum)*uint64(phentsize), phoff) if err != nil { return nil, err } for i := 0; i < phnum; i++ { off := uintptr(i) * uintptr(phentsize) p := new(Prog) switch f.Class {
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/cmd/link/internal/loadelf/ldelf.go
elfobj.entry = hdr.Entry elfobj.phoff = hdr.Phoff elfobj.shoff = hdr.Shoff elfobj.flags = hdr.Flags elfobj.ehsize = uint32(hdr.Ehsize) elfobj.phentsize = uint32(hdr.Phentsize) elfobj.phnum = uint32(hdr.Phnum) elfobj.shentsize = uint32(hdr.Shentsize) elfobj.shnum = uint32(hdr.Shnum) elfobj.shstrndx = uint32(hdr.Shstrndx) } else { elfobj.type_ = uint32(hdr.Type) elfobj.machine = uint32(hdr.Machine)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:12:12 UTC 2024 - 33.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf.go
if elf.Machine(eh.Machine) == elf.EM_X86_64 { sh.Entsize = 16 } else if elf.Machine(eh.Machine) == elf.EM_S390 { sh.Entsize = 32 } else if elf.Machine(eh.Machine) == elf.EM_PPC64 { // On ppc64, this is just a table of addresses // filled by the dynamic linker sh.Type = uint32(elf.SHT_NOBITS) sh.Flags = uint64(elf.SHF_ALLOC + elf.SHF_WRITE) sh.Entsize = 8 } else { sh.Entsize = 4 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 63.6K bytes - Viewed (0) -
src/debug/elf/elf.go
Flags uint32 /* Architecture-specific flags. */ Ehsize uint16 /* Size of ELF header in bytes. */ Phentsize uint16 /* Size of program header entry. */ Phnum uint16 /* Number of program header entries. */ Shentsize uint16 /* Size of section header entry. */ Shnum uint16 /* Number of section header entries. */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 00:01:16 UTC 2024 - 134.6K bytes - Viewed (0) -
src/debug/elf/file_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 60.1K bytes - Viewed (0) -
src/runtime/vdso_elf64.go
sh_size uint64 /* Section size in bytes */ sh_link uint32 /* Link to another section */ sh_info uint32 /* Additional section information */ sh_addralign uint64 /* Section alignment */ sh_entsize uint64 /* Entry size if section holds table */ } type elfDyn struct { d_tag int64 /* Dynamic entry type */ d_val uint64 /* Integer value */ } type elfVerdaux struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 19 19:32:35 UTC 2022 - 2.8K bytes - Viewed (0) -
src/runtime/vdso_elf32.go
sh_size uint32 /* Section size in bytes */ sh_link uint32 /* Link to another section */ sh_info uint32 /* Additional section information */ sh_addralign uint32 /* Section alignment */ sh_entsize uint32 /* Entry size if section holds table */ } type elfDyn struct { d_tag int32 /* Dynamic entry type */ d_val uint32 /* Integer value */ } type elfVerdaux struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
* can hold setSize elements with the desired load factor. */ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 4.5K bytes - Viewed (0) -
cmd/endpoint-ellipses.go
return nil, config.ErrInvalidNumberOfErasureEndpoints(nil).Msg(msg) } // Final set size with all the symmetry accounted for. setSize = commonSetDriveCount(commonSize, setCounts) } // Check whether setSize is with the supported range. if !isValidSetSize(setSize) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.7K bytes - Viewed (0)