- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 115 for BigEndian (0.14 sec)
-
src/cmd/compile/internal/ssa/rewriteMIPS64.go
typ := &b.Func.Config.Types // match: (AtomicOr8 ptr val mem) // cond: !config.BigEndian // result: (LoweredAtomicOr32 (AND <typ.UInt32Ptr> (MOVVconst [^3]) ptr) (SLLV <typ.UInt32> (ZeroExt8to32 val) (SLLVconst <typ.UInt64> [3] (ANDconst <typ.UInt64> [3] ptr))) mem) for { ptr := v_0 val := v_1 mem := v_2 if !(!config.BigEndian) { break } v.reset(OpMIPS64LoweredAtomicOr32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 211.6K bytes - Viewed (0) -
src/net/http/h2_bundle.go
// The index must be >= 0 and less than f.NumSettings(). func (f *http2SettingsFrame) Setting(i int) http2Setting { buf := f.p return http2Setting{ ID: http2SettingID(binary.BigEndian.Uint16(buf[i*6 : i*6+2])), Val: binary.BigEndian.Uint32(buf[i*6+2 : i*6+6]), } } func (f *http2SettingsFrame) NumSettings() int { return len(f.p) / 6 } // HasDuplicates reports whether f contains any duplicate setting IDs.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 364.1K bytes - Viewed (0) -
src/cmd/link/internal/loadelf/ldelf.go
} var e binary.ByteOrder switch elf.Data(hdrbuf[elf.EI_DATA]) { case elf.ELFDATA2LSB: e = binary.LittleEndian case elf.ELFDATA2MSB: e = binary.BigEndian default: return errorf("malformed elf file, unknown header") } hdr := new(elf.Header32) binary.Read(bytes.NewReader(hdrbuf[:]), e, hdr) if string(hdr.Ident[:elf.EI_CLASS]) != elf.ELFMAG {
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/compile/internal/ssa/func.go
func (f *Func) SplitInt64(name *LocalSlot) (*LocalSlot, *LocalSlot) { var t *types.Type if name.Type.IsSigned() { t = types.Types[types.TINT32] } else { t = types.Types[types.TUINT32] } if f.Config.BigEndian { return f.SplitSlot(name, ".hi", 0, t), f.SplitSlot(name, ".lo", t.Size(), types.Types[types.TUINT32]) } return f.SplitSlot(name, ".hi", t.Size(), t), f.SplitSlot(name, ".lo", 0, types.Types[types.TUINT32]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/internal/obj/mips/obj0.go
continue } p.As = AMOVF q = c.newprog() *q = *p q.Link = p.Link p.Link = q p1 = q.Link var addrOff int64 if c.ctxt.Arch.ByteOrder == binary.BigEndian { addrOff = 4 // swap load/save order } if p.From.Type == obj.TYPE_MEM { reg := REG_F0 + (p.To.Reg-REG_F0)&^1 p.To.Reg = reg q.To.Reg = reg + 1 p.From.Offset += addrOff
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:53 UTC 2023 - 30.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/setupapi_windows.go
} ret = make([]uint16, n) } case REG_BINARY: return buf, nil case REG_DWORD_LITTLE_ENDIAN: return binary.LittleEndian.Uint32(buf), nil case REG_DWORD_BIG_ENDIAN: return binary.BigEndian.Uint32(buf), nil case REG_MULTI_SZ: bufW := bufToUTF16(buf) a := []string{} for i := 0; i < len(bufW); { j := i + wcslen(bufW[i:]) if i < j { a = append(a, UTF16ToString(bufW[i:j]))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 67.2K bytes - Viewed (0) -
src/debug/elf/file_test.go
}, }, { "testdata/go-relocation-test-gcc620-sparc64.obj", FileHeader{Class: ELFCLASS64, Data: ELFDATA2MSB, Version: EV_CURRENT, OSABI: ELFOSABI_NONE, ABIVersion: 0x0, ByteOrder: binary.BigEndian, Type: ET_REL, Machine: EM_SPARCV9, Entry: 0x0}, []SectionHeader{ {"", SHT_NULL, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, {".text", SHT_PROGBITS, SHF_ALLOC + SHF_EXECINSTR, 0x0, 0x40, 0x2c, 0x0, 0x0, 0x4, 0x0, 0x2c},
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/cmd/link/internal/ld/data.go
data := make([]byte, 32) copy(data, prefix) data[len(prefix)] = byte(ctxt.Arch.PtrSize) data[len(prefix)+1] = 0 if ctxt.Arch.ByteOrder == binary.BigEndian { data[len(prefix)+1] = 1 } data[len(prefix)+1] |= 2 // signals new pointer-free format data = appendString(data, strdata["runtime.buildVersion"]) data = appendString(data, strdata["runtime.modinfo"])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
src/runtime/mbitmap.go
return count } // Read the bytes starting at the aligned pointer p into a uintptr. // Read is little-endian. func readUintptr(p *byte) uintptr { x := *(*uintptr)(unsafe.Pointer(p)) if goarch.BigEndian { if goarch.PtrSize == 8 { return uintptr(sys.Bswap64(uint64(x))) } return uintptr(sys.Bswap32(uint32(x))) } return x } var debugPtrmask struct { lock mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/runtime/traceback.go
} print1 := func(off, sz, slotIdx uint8) { x := readUnaligned64(add(argp, uintptr(off))) // mask out irrelevant bits if sz < 8 { shift := 64 - sz*8 if goarch.BigEndian { x = x >> shift } else { x = x << shift >> shift } } print(hex(x)) if !isLive(off, slotIdx) { print("?") } } start := true printcomma := func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0)