- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 115 for BigEndian (0.11 sec)
-
src/cmd/compile/internal/ssa/_gen/MIPS64.rules
(AtomicOr8 ptr val mem) && !config.BigEndian => (LoweredAtomicOr32 (AND <typ.UInt32Ptr> (MOVVconst [^3]) ptr) (SLLV <typ.UInt32> (ZeroExt8to32 val) (SLLVconst <typ.UInt64> [3] (ANDconst <typ.UInt64> [3] ptr))) mem) // AtomicAnd8(ptr,val) => LoweredAtomicAnd32(ptr&^3,(uint32(val) << ((ptr & 3) * 8)) | ^(uint32(0xFF) << ((ptr & 3) * 8)))) (AtomicAnd8 ptr val mem) && !config.BigEndian =>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 31 03:59:48 UTC 2023 - 41.9K bytes - Viewed (0) -
src/debug/gosym/symtab.go
) func walksymtab(data []byte, fn func(sym) error) error { if len(data) == 0 { // missing symtab is okay return nil } var order binary.ByteOrder = binary.BigEndian newTable := false switch { case bytes.HasPrefix(data, oldLittleEndianSymtab): // Same as Go 1.0, but little endian. // Format was used during interim development between Go 1.0 and Go 1.1.
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/vendor/golang.org/x/arch/arm/armasm/inst.go
sep = "," } } fmt.Fprintf(&buf, "}") return buf.String() } // An Endian is the argument to the SETEND instruction. type Endian uint8 const ( LittleEndian Endian = 0 BigEndian Endian = 1 ) func (Endian) IsArg() {} func (e Endian) String() string { if e != 0 { return "BE" } return "LE" } // A Shift describes an ARM shift operation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 22:23:32 UTC 2017 - 7.5K bytes - Viewed (0) -
src/net/http/sniff.go
func (mp4Sig) match(data []byte, firstNonWS int) string { // https://mimesniff.spec.whatwg.org/#signature-for-mp4 // c.f. section 6.2.1 if len(data) < 12 { return "" } boxSize := int(binary.BigEndian.Uint32(data[:4])) if len(data) < boxSize || boxSize%4 != 0 { return "" } if !bytes.Equal(data[4:8], mp4ftype) { return "" } for st := 8; st < boxSize; st += 4 { if st == 12 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 20 21:51:06 UTC 2022 - 7.9K bytes - Viewed (0) -
src/internal/runtime/atomic/atomic_test.go
} } // Tests that xadduintptr correctly updates 64-bit values. The place where // we actually do so is mstats.go, functions mSysStat{Inc,Dec}. func TestXadduintptrOnUint64(t *testing.T) { if goarch.BigEndian { // On big endian architectures, we never use xadduintptr to update // 64-bit values and hence we skip the test. (Note that functions // mSysStat{Inc,Dec} in mstats.go have explicit checks for // big-endianness.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator.go
} } // writeLength encodes length into b and then writes it via the given writer // the length of b is assumed to be 4 func writeLength(w io.Writer, b []byte, length int) { binary.BigEndian.PutUint32(b, uint32(length)) if _, err := w.Write(b); err != nil { panic(err) // Write() on hash never fails } } // toBytes performs unholy acts to avoid allocations func toBytes(s string) []byte {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 9.8K bytes - Viewed (0) -
src/encoding/base64/base64.go
enc.decodeMap[src2[2]], enc.decodeMap[src2[3]], enc.decodeMap[src2[4]], enc.decodeMap[src2[5]], enc.decodeMap[src2[6]], enc.decodeMap[src2[7]], ); ok { binary.BigEndian.PutUint64(dst[n:], dn) n += 6 si += 8 } else { var ninc int si, ninc, err = enc.decodeQuantum(dst[n:], src, si) n += ninc if err != nil { return n, err } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 17.6K bytes - Viewed (0) -
src/image/png/writer_test.go
return } const chunkFieldsLength = 12 // 4 bytes for length, name and crc data := b.Bytes() i = len(pngHeader) for i < len(data)-chunkFieldsLength { length := binary.BigEndian.Uint32(data[i : i+4]) name := string(data[i+4 : i+8]) switch name { case "IHDR": bitdepth := data[i+8+8] if bitdepth != tc.bitdepth {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 08:14:05 UTC 2022 - 8.9K bytes - Viewed (0) -
src/cmd/link/internal/loadmacho/ldmacho.go
} base := f.Offset() hdr, _, err := f.Slice(7 * 4) if err != nil { return errorf("reading hdr: %v", err) } var e binary.ByteOrder if binary.BigEndian.Uint32(hdr[:])&^1 == 0xFEEDFACE { e = binary.BigEndian } else if binary.LittleEndian.Uint32(hdr[:])&^1 == 0xFEEDFACE { e = binary.LittleEndian } else { return errorf("bad magic - not mach-o file") }
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/internal/coverage/defs.go
// CounterFileHeader stores files header information for a counter-data file. type CounterFileHeader struct { Magic [4]byte Version uint32 MetaHash [16]byte CFlavor CounterFlavor BigEndian bool _ [6]byte // padding } // CounterSegmentHeader encapsulates information about a specific // segment in a counter data file, which at the moment contains
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 12:51:16 UTC 2023 - 11.9K bytes - Viewed (0)