- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for isBigEndian (0.7 sec)
-
src/vendor/golang.org/x/sys/cpu/endian_big.go
//go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 package cpu // IsBigEndian records whether the GOARCH's byte order is big endian.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 397 bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/endian_little.go
//go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh || wasm package cpu // IsBigEndian records whether the GOARCH's byte order is big endian.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 433 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/endian_little.go
// //go:build 386 || amd64 || amd64p32 || alpha || arm || arm64 || loong64 || mipsle || mips64le || mips64p32le || nios2 || ppc64le || riscv || riscv64 || sh package unix
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 358 bytes - Viewed (0) -
src/vendor/golang.org/x/crypto/sha3/xor.go
func xorIn(d *state, buf []byte) { if cpu.IsBigEndian { for i := 0; len(buf) >= 8; i++ { a := binary.LittleEndian.Uint64(buf) d.a[i] ^= a buf = buf[8:] } } else { ab := (*[25 * 64 / 8]byte)(unsafe.Pointer(&d.a)) subtle.XORBytes(ab[:], ab[:], buf) } } // copyOut copies uint64s to a byte buffer. func copyOut(d *state, b []byte) { if cpu.IsBigEndian { for i := 0; len(b) >= 8; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 854 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/memcombine.go
for i := int64(0); i < n; i++ { if r[i].shift != shift0+i*size*8 { isLittleEndian = false break } } isBigEndian := true for i := int64(0); i < n; i++ { if r[i].shift != shift0-i*size*8 { isBigEndian = false break } } if !isLittleEndian && !isBigEndian { return false } // Find a place to put the new load. // This is tricky, because it has to be at a point where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/endian_big.go
// license that can be found in the LICENSE file. // //go:build armbe || arm64be || m68k || mips || mips64 || mips64p32 || ppc || ppc64 || s390 || s390x || shbe || sparc || sparc64 package unix
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 330 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/dirent.go
import "unsafe" // readInt returns the size-bytes unsigned integer in native byte order at offset off. func readInt(b []byte, off, size uintptr) (u uint64, ok bool) { if len(b) < int(off+size) { return 0, false } if isBigEndian { return readIntBE(b[off:], size), true } return readIntLE(b[off:], size), true } func readIntBE(b []byte, size uintptr) uint64 { switch size { case 1: return uint64(b[0]) case 2:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 3K bytes - Viewed (0) -
src/cmd/link/internal/ld/target.go
} func (t *Target) mustSetHeadType() { if t.HeadType == objabi.Hunknown { panic("HeadType is not set") } } // // MISC // func (t *Target) IsBigEndian() bool { return t.Arch.ByteOrder == binary.BigEndian } func (t *Target) UsesLibc() bool { t.mustSetHeadType() switch t.HeadType {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 13 21:14:48 UTC 2022 - 3.9K bytes - Viewed (0) -
src/cmd/link/internal/arm64/asm.go
if target.IsDarwin() && xadd != 0 { nExtReloc = 4 // need another two relocations for non-zero addend } if target.IsWindows() { var o0, o1 uint32 if target.IsBigEndian() { o0 = uint32(val >> 32) o1 = uint32(val) } else { o0 = uint32(val) o1 = uint32(val >> 32) } // The first instruction (ADRP) has a 21-bit immediate field,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 20:09:45 UTC 2024 - 47K bytes - Viewed (0) -
src/cmd/link/internal/ppc64/asm.go
func unpackInstPair(target *ld.Target, r int64) (uint32, uint32) { if target.IsBigEndian() { return uint32(r >> 32), uint32(r) } return uint32(r), uint32(r >> 32) } // Pack a pair of 32 bit instruction words o1, o2 into 64 bit relocation // in endian order. func packInstPair(target *ld.Target, o1, o2 uint32) int64 { if target.IsBigEndian() { return (int64(o1) << 32) | int64(o2) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 20:54:08 UTC 2024 - 63.7K bytes - Viewed (0)