- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 557 for byte (0.02 sec)
-
guava/src/com/google/common/io/ByteStreams.java
} remaining -= read; } // bytes is now full int b = in.read(); if (b == -1) { return bytes; } // the stream was longer, so read the rest normally Queue<byte[]> bufs = new ArrayDeque<>(TO_BYTE_ARRAY_DEQUE_SIZE + 2); bufs.add(bytes); bufs.add(new byte[] {(byte) b}); return toByteArrayInternal(in, bufs, bytes.length + 1); }
Registered: 2025-05-30 12:43 - Last Modified: 2025-03-20 20:55 - 31.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
// KGS!@#$% private static final byte[] S8 = { (byte)0x4b, (byte)0x47, (byte)0x53, (byte)0x21, (byte)0x40, (byte)0x23, (byte)0x24, (byte)0x25 }; /* Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */ private static void E( byte[] key, byte[] data, byte[] e ) { byte[] key7 = new byte[7];
Registered: 2025-05-25 00:10 - Last Modified: 2019-03-22 21:10 - 22.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
Registered: 2025-05-25 00:10 - Last Modified: 2022-11-28 10:56 - 14.3K bytes - Viewed (0) -
internal/grid/types.go
} // Bytes provides a byte slice that can be serialized. type Bytes []byte // UnmarshalMsg deserializes b from the provided byte slice and returns the // remainder of bytes. func (b *Bytes) UnmarshalMsg(bytes []byte) ([]byte, error) { if b == nil { return bytes, errors.New("Bytes: UnmarshalMsg on nil pointer") } if bytes, err := msgp.ReadNilBytes(bytes); err == nil { if *b != nil { PutByteBuffer(*b)
Registered: 2025-05-25 19:28 - Last Modified: 2025-04-01 15:28 - 15.5K bytes - Viewed (0) -
src/archive/tar/format.go
*b = block{} } type headerV7 [blockSize]byte func (h *headerV7) name() []byte { return h[000:][:100] } func (h *headerV7) mode() []byte { return h[100:][:8] } func (h *headerV7) uid() []byte { return h[108:][:8] } func (h *headerV7) gid() []byte { return h[116:][:8] } func (h *headerV7) size() []byte { return h[124:][:12] } func (h *headerV7) modTime() []byte { return h[136:][:12] }
Registered: 2025-05-27 11:13 - Last Modified: 2023-10-13 18:36 - 11.3K bytes - Viewed (0) -
src/bytes/buffer_test.go
func init() { testBytes = make([]byte, N) for i := 0; i < N; i++ { testBytes[i] = 'a' + byte(i%26) } testString = string(testBytes) } // Verify that contents of buf match the string s. func check(t *testing.T, testname string, buf *Buffer, s string) { bytes := buf.Bytes() str := buf.String() if buf.Len() != len(bytes) {
Registered: 2025-05-27 11:13 - Last Modified: 2025-05-19 16:13 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/tests/PACTest.java
private static void verifyArcfourHMAC ( int usage, String expect, String key, byte[] bytes ) throws GeneralSecurityException { byte[] keybytes = Hex.decode(key); byte[] javaChecksum; if ( keybytes.length == 16 ) { javaChecksum = sun.security.krb5.internal.crypto.ArcFourHmac.calculateChecksum(keybytes, usage, bytes, 0, bytes.length); } else {
Registered: 2025-05-25 00:10 - Last Modified: 2023-10-01 12:01 - 22.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
* has to explicitly reverse the order of the bytes as it packs them into the result which makes * it slower than the native version. * * @param input the input bytes * @param offset the offset into the array at which to start reading * @param length the number of bytes from the input to read * @return a long of a concatenated 8 bytes */ static long load64Safely(byte[] input, int offset, int length) { long result = 0;
Registered: 2025-05-30 12:43 - Last Modified: 2025-02-12 03:49 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
return false; } byte[] bytes = ip.getAddress(); if ((bytes[8] | (byte) 0x03) != (byte) 0x03) { // Verify that high byte of the 64 bit identifier is zero, modulo // the U/L and G bits, with which we are not concerned. return false; } return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe); } /**
Registered: 2025-05-30 12:43 - Last Modified: 2025-02-19 21:24 - 47.4K bytes - Viewed (0) -
src/archive/zip/writer_test.go
t.Fatal(err) } if err := w.Close(); err != nil { t.Fatal(err) } b := buf.Bytes() var sig [4]byte binary.LittleEndian.PutUint32(sig[:], uint32(fileHeaderSignature)) idx := bytes.Index(b, sig[:]) if idx == -1 { t.Fatal("file header not found") } b = b[idx:] if !bytes.Equal(b[6:10], []byte{0, 0, 0, 0}) { // FileHeader.Flags: 0, FileHeader.Method: 0
Registered: 2025-05-27 11:13 - Last Modified: 2025-01-28 04:20 - 14.4K bytes - Viewed (0)