- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 100 for 0x0201 (0.04 seconds)
-
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.7K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
*/ public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; /** * DFS storage state indicating offline status */ public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001; /** * DFS storage state indicating online status */ public static final int DFS_STORAGE_STATE_ONLINE = 0x0002; /** * DFS storage state indicating active status */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
System.arraycopy(dst, 2, writtenDescr, 0, descr.length); assertArrayEquals(descr, writtenDescr); int currentIndex = 2 + descr.length; // Verify level (0x0001) assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8)); currentIndex += 2; // Verify maxDataCount
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
@ParameterizedTest @CsvSource({ "4, 257", // FILE_BASIC_INFO -> 0x0101 "5, 258", // FILE_STANDARD_INFO -> 0x0102 "20, 260" // FILE_ENDOFFILE_INFO -> 0x0104 }) void testWithDifferentInformationLevels(byte infoLevel, int expectedMappedValue) { when(mockFileInfo.getFileInformationLevel()).thenReturn(infoLevel);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
int informationLevel = 257; // 0x0101 Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel); // When String result = trans.toString(); // Then assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
void testFlags2Property() { testBlock.setFlags2(0x1234); assertEquals(0x1234, testBlock.getFlags2()); testBlock.addFlags2(0x0001); assertEquals(0x1235, testBlock.getFlags2()); testBlock.remFlags2(0x0200); assertEquals(0x1035, testBlock.getFlags2()); } @Test @DisplayName("Test error code property")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.9K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.idl
] interface netdfs { import "../rpc.idl"; const uint32_t DFS_VOLUME_FLAVOR_STANDALONE = 0x100; const uint32_t DFS_VOLUME_FLAVOR_AD_BLOB = 0x200; const uint32_t DFS_STORAGE_STATE_OFFLINE = 0x0001; const uint32_t DFS_STORAGE_STATE_ONLINE = 0x0002; const uint32_t DFS_STORAGE_STATE_ACTIVE = 0x0004; typedef struct { [string] wchar_t *entry_path; } DfsInfo1; typedef struct { uint32_t count;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/net/NetShareEnum.java
} SMBUtil.writeInt2(NET_SHARE_ENUM, dst, dstIndex); dstIndex += 2; System.arraycopy(descr, 0, dst, dstIndex, descr.length); dstIndex += descr.length; SMBUtil.writeInt2(0x0001, dst, dstIndex); dstIndex += 2; SMBUtil.writeInt2(this.maxDataCount, dst, dstIndex); dstIndex += 2; return dstIndex - start; } @OverrideCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.3K bytes - Click Count (0)