- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 1,640 for byte (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java
public void testBytes() { TestHasher hasher = new TestHasher(); // byte order insignificant here byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8}; hasher.putByte((byte) 1); hasher.putBytes(new byte[] {2, 3, 4, 5, 6}); hasher.putByte((byte) 7); hasher.putBytes(new byte[] {}); hasher.putBytes(new byte[] {8}); hasher.assertBytes(expected); } public void testShort() {
Created: 2026-04-03 12:43 - Last Modified: 2025-12-26 21:52 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static final byte[] header = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 07:14 - 19.7K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
String name = "TEST "; System.arraycopy(name.getBytes("US-ASCII"), 0, src, srcIndex + 13, 16); src[srcIndex + 28] = 0x00; // hex code src[srcIndex + 29] = 0x04; // flags // MAC address (6 bytes) byte[] mac = new byte[6]; System.arraycopy(mac, 0, src, srcIndex + 31, 6); // Stats (6 bytes) byte[] stats = new byte[6];
Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 07:14 - 19.3K bytes - Click Count (0) -
src/main/java/jcifs/netbios/SessionServicePacket.java
static void writeInt2(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 8 & 0xFF); dstIndex++; dst[dstIndex] = (byte) (val & 0xFF); } static void writeInt4(final int val, final byte[] dst, int dstIndex) { dst[dstIndex] = (byte) (val >> 24 & 0xFF); dstIndex++; dst[dstIndex++] = (byte) (val >> 16 & 0xFF);Created: 2026-04-05 00:10 - Last Modified: 2025-08-16 01:32 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
private int state = 1; private final CIFSContext transportContext; private String targetName; private byte[] type1Bytes; private byte[] signKey; private byte[] verifyKey; private byte[] sealClientKey; private byte[] sealServerKey; private Cipher sealClientHandle; private Cipher sealServerHandle; /**Created: 2026-04-05 00:10 - Last Modified: 2025-08-30 05:58 - 17.3K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
request.setPadding((byte) 4); request.setReadFlags((byte) 0x02); // Update file ID byte[] newFileId = new byte[16]; Arrays.fill(newFileId, (byte) 0xEF); request.setFileId(newFileId); // Write and verify byte[] buffer = new byte[256];
Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 24.8K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
} @Test @DisplayName("Should handle special byte values correctly") void testSpecialByteValues() { // Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data);Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
@DisplayName("Test writeUTime with zero time") void testWriteUTimeWithZeroTime() { byte[] dst = new byte[4]; SMB1SigningDigest.writeUTime(mockConfig, 0L, dst, 0); assertEquals((byte) 0xFF, dst[0]); assertEquals((byte) 0xFF, dst[1]); assertEquals((byte) 0xFF, dst[2]); assertEquals((byte) 0xFF, dst[3]); } @Test @DisplayName("Test writeUTime with max time")Created: 2026-04-05 00:10 - Last Modified: 2025-08-14 05:31 - 18.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashCode.java
Created: 2026-04-03 12:43 - Last Modified: 2025-08-11 19:31 - 12.6K bytes - Click Count (0) -
src/main/java/jcifs/util/Encdec.java
Created: 2026-04-05 00:10 - Last Modified: 2025-08-16 01:32 - 17.4K bytes - Click Count (0)