- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,386 for Byte (0.02 sec)
-
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")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Utf8.java
if (byte2 > (byte) 0xBF // Check that 1 <= plane <= 16. Tricky optimized form of: // if (byte1 > (byte) 0xF4 // || byte1 == (byte) 0xF0 && byte2 < (byte) 0x90 // || byte1 == (byte) 0xF4 && byte2 > (byte) 0x8F) || (((byte1 << 28) + (byte2 - (byte) 0x90)) >> 30) != 0 // Third byte trailing-byte test || bytes[index++] > (byte) 0xBF
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
byte[] maxGuid = new byte[16]; Arrays.fill(maxGuid, (byte) 0xFF); ValidateNegotiateInfoRequest request = new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, maxGuid, DEFAULT_SECURITY_MODE, defaultDialects); byte[] buffer = new byte[request.size()]; request.encode(buffer, 0); // Verify max GUID byte[] extractedGuid = new byte[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
private static class TestServerMessageBlock extends ServerMessageBlock { private byte[] paramWords; private byte[] bytes; TestServerMessageBlock() { super(); this.paramWords = new byte[0]; this.bytes = new byte[0]; } void setParamWords(byte[] paramWords) { this.paramWords = paramWords;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Given - Create a complete SMB2 message with header byte[] buffer = new byte[512]; int headerStart = 0; int bodyStart = Smb2Constants.SMB2_HEADER_LENGTH; // Write SMB2 header (64 bytes) // Protocol ID System.arraycopy(new byte[] { (byte) 0xFE, 'S', 'M', 'B' }, 0, buffer, headerStart, 4); // Structure size (64)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
*/ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatNegativeAsUnsigned() { // Given byte[] buffer = new byte[10]; // Write -1 which will be read as 65535 unsigned buffer[0] = (byte) 0xFF; buffer[1] = (byte) 0xFF; // When & Then SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
/** * Channel type for RDMA version 1 with invalidate */ public static int SMB2_CHANNEL_RDMA_V1_INVALIDATE = 0x2; private byte[] fileId; private final byte[] outputBuffer; private final int outputBufferOffset; private byte padding; private byte readFlags; private int readLength; private long offset; private int minimumCount; private int channel; private int remainingBytes;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
assertCrc(0x62a8ab43, fulls); } public void testFull100() { // Test 100 byte array of 0xFF. byte[] fulls = new byte[100]; Arrays.fill(fulls, (byte) 0xFF); assertCrc(0xbc753add, fulls); } public void testAscending() { // Test 32 byte arrays of ascending. byte[] ascending = new byte[32]; for (int i = 0; i < 32; i++) { ascending[i] = (byte) i; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* @since 8.0 */ public static final byte SP = 32; /** * Alternate name for {@link #SP}. * * @since 8.0 */ public static final byte SPACE = 32; /** * Delete: This character is used primarily to "erase" or "obliterate" erroneous or unwanted * characters in perforated tape. * * @since 8.0 */ public static final byte DEL = 127; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 21.7K bytes - Viewed (0)