- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 473 for 0x00 (0.08 seconds)
-
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(n > 0); // Common AndX header: command at +1, reserved at +2, offset at +3/+4 assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining"); assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
static final int FILE_SYNCHRONOUS_IO_ALERT = 0x00000010; static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020; // security flags static final int SECURITY_CONTEXT_TRACKING = 0x01; static final int SECURITY_EFFECTIVE_ONLY = 0x02; private int rootDirectoryFid; private final int extFileAttributes; private final int shareAccess; private int createDisposition;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UUIDTest.java
assertEquals((short) 0x8000, uuid.time_hi_and_version); assertEquals((byte) 0x80, uuid.clock_seq_hi_and_reserved); assertEquals((byte) 0x80, uuid.clock_seq_low); assertArrayEquals(new byte[] { (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80, (byte) 0x80 }, uuid.node); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
} @Override public final boolean readBoolean() throws SmbException { if (read(tmp, 0, 1) < 0) { throw new SmbException("EOF"); } return tmp[0] != (byte) 0x00; } @Override public final byte readByte() throws SmbException { if (read(tmp, 0, 1) < 0) { throw new SmbException("EOF"); } return tmp[0]; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
void testGlobalCapPersistentHandles() { assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10"); } @Test @DisplayName("Directory leasing capability should be 0x20") void testGlobalCapDirectoryLeasing() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} @Test @DisplayName("Test setCommand with various SMB command codes") void testSetCommandWithVariousCodes() { // Test common SMB command codes int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF }; for (int command : commandCodes) { doNothing().when(messageBlock).setCommand(command); when(messageBlock.getCommand()).thenReturn(command);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
class ToStringTests { @ParameterizedTest @DisplayName("Should format command name correctly") @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12 }) void testToStringCommandNames(short command) { testMessage.setCommand(command);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(maxFileId, copiedFileId); // Test with file ID having minimum byte values byte[] minFileId = new byte[16]; Arrays.fill(minFileId, (byte) 0x00); Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId); written = minRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
void testReadBytesWireFormatSignedByteValue() { // Given byte[] buffer = new byte[10]; // Write 4 in little-endian format buffer[0] = 0x04; buffer[1] = 0x00; // When & Then assertDoesNotThrow(() -> { int bytesRead = response.readBytesWireFormat(buffer, 0); assertEquals(4, bytesRead);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0)