- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 115 for BigEndian (0.12 sec)
-
src/cmd/link/internal/ld/xcoff.go
f.xahdr.Oalgntext = int16(logBase2(int(XCOFFSECTALIGN))) f.xahdr.Oalgndata = 0x5 binary.Write(ctxt.Out, binary.BigEndian, &f.xfhdr) binary.Write(ctxt.Out, binary.BigEndian, &f.xahdr) } else { f.xfhdr.Fopthdr = 0 binary.Write(ctxt.Out, binary.BigEndian, &f.xfhdr) } } func xcoffwrite(ctxt *Link) { ctxt.Out.SeekSet(0) xfile.writeFileHeader(ctxt)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 01 19:58:23 UTC 2023 - 51.8K bytes - Viewed (0) -
src/runtime/iface.go
x = unsafe.Pointer(&staticuint64s[val]) if goarch.BigEndian { x = add(x, 6) } } else { x = mallocgc(2, uint16Type, false) *(*uint16)(x) = val } return } func convT32(val uint32) (x unsafe.Pointer) { if val < uint32(len(staticuint64s)) { x = unsafe.Pointer(&staticuint64s[val]) if goarch.BigEndian { x = add(x, 4) } } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
func machoCompressSection(sectBytes []byte) (compressed bool, contents []byte, err error) { var buf bytes.Buffer buf.WriteString("ZLIB") var sizeBytes [8]byte binary.BigEndian.PutUint64(sizeBytes[:], uint64(len(sectBytes))) buf.Write(sizeBytes[:]) z := zlib.NewWriter(&buf) if _, err := z.Write(sectBytes); err != nil { return false, nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/expand_calls.go
commonSelectors: make(map[selKey]*Value), memForCall: make(map[ID]*Value), } // For 32-bit, need to deal with decomposition of 64-bit integers, which depends on endianness. if f.Config.BigEndian { x.firstOp = OpInt64Hi x.secondOp = OpInt64Lo x.firstType = x.typs.Int32 x.secondType = x.typs.UInt32 } else { x.firstOp = OpInt64Lo x.secondOp = OpInt64Hi x.firstType = x.typs.UInt32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/route/address.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 9.9K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
rt := r.Type if rt == objabi.R_ADDR || rt == objabi.R_POWER_TLS || rt == objabi.R_CALLPOWER || rt == objabi.R_DWARFSECREF { } else { if ctxt.Arch.ByteOrder == binary.BigEndian { sectoff += 2 } } out.Write64(uint64(sectoff)) elfsym := ld.ElfSymForReloc(ctxt, r.Xsym) switch rt { default: return false case objabi.R_ADDR, objabi.R_DWARFSECREF:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0) -
src/crypto/cipher/gcm.go
// and return the specific AEAD if found. type gcmAble interface { NewGCM(nonceSize, tagSize int) (AEAD, error) } // gcmFieldElement represents a value in GF(2¹²⁸). In order to reflect the GCM // standard and make binary.BigEndian suitable for marshaling these values, the // bits are stored in big endian order. For example: // // the coefficient of x⁰ can be obtained by v.low >> 63. // the coefficient of x⁶³ can be obtained by v.low & 1.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 13.7K bytes - Viewed (0) -
src/debug/pe/file.go
return nil, err } if 0 < s.VirtualSize && s.VirtualSize < s.Size { b = b[:s.VirtualSize] } if len(b) >= 12 && string(b[:4]) == "ZLIB" { dlen := binary.BigEndian.Uint64(b[4:12]) dbuf := make([]byte, dlen) r, err := zlib.NewReader(bytes.NewBuffer(b[12:])) if err != nil { return nil, err } if _, err := io.ReadFull(r, dbuf); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.2K bytes - Viewed (0) -
src/runtime/string.go
if msanenabled { msanread(unsafe.Pointer(ptr), uintptr(n)) } if asanenabled { asanread(unsafe.Pointer(ptr), uintptr(n)) } if n == 1 { p := unsafe.Pointer(&staticuint64s[*ptr]) if goarch.BigEndian { p = add(p, 7) } return unsafe.String((*byte)(p), 1) } var p unsafe.Pointer if buf != nil && n <= len(buf) { p = unsafe.Pointer(buf) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0) -
src/debug/elf/file.go
n, _ := s.sr.ReadAt(b, 0) if n != 12 || string(b[:4]) != "ZLIB" { return io.NewSectionReader(s.sr, 0, 1<<63-1) } s.compressionOffset = 12 s.compressionType = COMPRESS_ZLIB s.Size = binary.BigEndian.Uint64(b[4:12]) zrd = zlib.NewReader } else if s.Flags&SHF_ALLOC != 0 { return errorReader{&FormatError{int64(s.Offset), "SHF_COMPRESSED applies only to non-allocable sections", s.compressionType}} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:49:58 UTC 2024 - 43.1K bytes - Viewed (0)