- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 56 for 0x0001 (0.11 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Unicode capability */ int CAP_UNICODE = 0x0004; /** Large files capability */ int CAP_LARGE_FILES = 0x0008; /** NT SMBs capability */ int CAP_NT_SMBS = 0x0010; /** RPC remote APIs capability */ int CAP_RPC_REMOTE_APIS = 0x0020; /** 32-bit status codes capability */ int CAP_STATUS32 = 0x0040; /** Level II oplocks capability */ int CAP_LEVEL_II_OPLOCKS = 0x0080;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertEquals(0x80, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_EA); assertEquals(0x100, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_SECURITY); assertEquals(0x200, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_NAME); assertEquals(0x400, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_SIZE); assertEquals(0x800, Smb2ChangeNotifyRequest.FILE_NOTIFY_CHANGE_STREAM_WRITE); } @Test
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) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Testing invalid protocol ID during decode instead byte[] invalidBuffer = new byte[52]; // Write invalid protocol ID invalidBuffer[0] = 0x00; invalidBuffer[1] = 0x00; invalidBuffer[2] = 0x00; invalidBuffer[3] = 0x00; assertThrows(IllegalArgumentException.class, () -> { Smb2TransformHeader.decode(invalidBuffer, 0); }); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@DisplayName("Signing enabled flag should be 0x0001") void testSigningEnabledFlag() { assertEquals(0x0001, Smb2Constants.SMB2_NEGOTIATE_SIGNING_ENABLED, "Signing enabled flag must be 0x0001"); } @Test @DisplayName("Signing required flag should be 0x0002") void testSigningRequiredFlag() {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/main/java/jcifs/SmbConstants.java
int FLAGS2_STATUS32 = 0x4000; /** * Strings are Unicode flag. */ int FLAGS2_UNICODE = 0x8000; /** * No capabilities. */ int CAP_NONE = 0x0000; /** * Raw mode transfers are supported capability. */ int CAP_RAW_MODE = 0x0001; /** * Multiplex mode is supported capability. */ int CAP_MPX_MODE = 0x0002; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
// Check information level (FS_SIZE_INFO maps to 0x0103) int actualInfoLevel = SMBUtil.readInt2(buffer, 0); assertEquals(0x0103, actualInfoLevel); } @DisplayName("Test writeParametersWireFormat with different information levels") @ParameterizedTest @CsvSource({ "-1, 1", // SMB_INFO_ALLOCATION -> 0x0001 "3, 259" // FS_SIZE_INFO -> 0x0103 })Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServicePacket.java
// type/class static final int NB_IN = 0x00200001; static final int NBSTAT_IN = 0x00210001; static final int NB = 0x0020; static final int NBSTAT = 0x0021; static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
// type/class static final int NB_IN = 0x00200001; static final int NBSTAT_IN = 0x00210001; static final int NB = 0x0020; static final int NBSTAT = 0x0021; static final int IN = 0x0001; static final int A = 0x0001; static final int NS = 0x0002; static final int NULL = 0x000a; static final int HEADER_LENGTH = 12; // header field offsets static final int OPCODE_OFFSET = 2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Test close flags with different values") void testCloseFlagsWithDifferentValues() { // Test with different flag values int[] testFlagValues = { 0x0000, 0x0001, 0xFFFF }; for (int flagValue : testFlagValues) { request.setCloseFlags(flagValue); byte[] buffer = new byte[256]; request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001 - 2 bytes) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0)