- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 115 for BigEndian (0.12 sec)
-
guava/src/com/google/common/hash/LittleEndianByteArray.java
UNSAFE_BIG_ENDIAN { @Override public long getLongLittleEndian(byte[] array, int offset) { long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET); // The hardware is big-endian, so we need to reverse the order of the bytes. return Long.reverseBytes(bigEndian); } @Override public void putLongLittleEndian(byte[] array, int offset, long value) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go
recompMap = make(map[uint32]rune, len(recompMapPacked)/8) var buf [8]byte for i := 0; i < len(recompMapPacked); i += 8 { copy(buf[:], recompMapPacked[i:i+8]) key := binary.BigEndian.Uint32(buf[:4]) val := binary.BigEndian.Uint32(buf[4:]) recompMap[key] = rune(val) } } // Recomposition // We use 32-bit keys instead of 64-bit for the two codepoint keys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 8.7K bytes - Viewed (0) -
src/image/png/writer.go
e.err = UnsupportedError(name + " chunk is too large: " + strconv.Itoa(len(b))) return } binary.BigEndian.PutUint32(e.header[:4], n) e.header[4] = name[0] e.header[5] = name[1] e.header[6] = name[2] e.header[7] = name[3] crc := crc32.NewIEEE() crc.Write(e.header[4:8]) crc.Write(b) binary.BigEndian.PutUint32(e.footer[:4], crc.Sum32()) _, e.err = e.w.Write(e.header[:8]) if e.err != nil { return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 17:08:05 UTC 2024 - 15.4K bytes - Viewed (0) -
src/cmd/internal/codesign/codesign.go
get32(data[8:]), get32(data[12:]), }, true } } return CodeSigCmd{}, false } func put32be(b []byte, x uint32) []byte { binary.BigEndian.PutUint32(b, x); return b[4:] } func put64be(b []byte, x uint64) []byte { binary.BigEndian.PutUint64(b, x); return b[8:] } func put8(b []byte, x uint8) []byte { b[0] = x; return b[1:] } func puts(b, s []byte) []byte { n := copy(b, s); return b[n:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 29 14:23:19 UTC 2022 - 8.3K bytes - Viewed (0) -
src/internal/chacha8rand/chacha8_generic.go
x64 = uint64(x)<<32 | uint64(x) b[10][0] = x64 b[10][1] = x64 x = uint32(seed[3] >> 32) x64 = uint64(x)<<32 | uint64(x) b[11][0] = x64 b[11][1] = x64 // Counters. if goarch.BigEndian { b[12][0] = uint64(counter+0)<<32 | uint64(counter+1) b[12][1] = uint64(counter+2)<<32 | uint64(counter+3) } else { b[12][0] = uint64(counter+0) | uint64(counter+1)<<32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:32:54 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/pprof/elf.go
} var byteOrder binary.ByteOrder switch buf[5] { default: return "", errBadELF case 1: // little-endian byteOrder = binary.LittleEndian case 2: // big-endian byteOrder = binary.BigEndian } var shnum int var shoff, shentsize int64 switch buf[4] { default: return "", errBadELF case 1: // 32-bit file header shoff = int64(byteOrder.Uint32(buf[32:]))
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/vendor/golang.org/x/text/unicode/norm/forminfo.go
recompMap = make(map[uint32]rune, len(recompMapPacked)/8) var buf [8]byte for i := 0; i < len(recompMapPacked); i += 8 { copy(buf[:], recompMapPacked[i:i+8]) key := binary.BigEndian.Uint32(buf[:4]) val := binary.BigEndian.Uint32(buf[4:]) recompMap[key] = rune(val) } } // Recomposition // We use 32-bit keys instead of 64-bit for the two codepoint keys.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 8.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/outbuf.go
out.Write(out.encbuf[:4]) } func (out *OutBuf) Write32b(v uint32) { binary.BigEndian.PutUint32(out.encbuf[:], v) out.Write(out.encbuf[:4]) } func (out *OutBuf) Write64(v uint64) { out.arch.ByteOrder.PutUint64(out.encbuf[:], v) out.Write(out.encbuf[:8]) } func (out *OutBuf) Write64b(v uint64) { binary.BigEndian.PutUint64(out.encbuf[:], v) out.Write(out.encbuf[:8]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 17 19:51:29 UTC 2022 - 8.1K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux.go
// unsigned integer (counter.Packets). if err := binary.Read(reader, binary.BigEndian, &counter.Packets); err != nil { return nil, err } attrsProcessed++ case attrBytes: // NFACCT_BYTES holds 8 bytes of data, so we directly read the next 8 bytes into a 64-bit // unsigned integer (counter.Bytes). if err := binary.Read(reader, binary.BigEndian, &counter.Bytes); err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 9.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/LittleEndianByteArray.java
UNSAFE_BIG_ENDIAN { @Override public long getLongLittleEndian(byte[] array, int offset) { long bigEndian = theUnsafe.getLong(array, (long) offset + BYTE_ARRAY_BASE_OFFSET); // The hardware is big-endian, so we need to reverse the order of the bytes. return Long.reverseBytes(bigEndian); } @Override public void putLongLittleEndian(byte[] array, int offset, long value) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Jun 07 22:25:23 UTC 2024 - 9.7K bytes - Viewed (0)