- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 203 for 0102 (0.74 sec)
-
src/main/java/jcifs/util/PathValidator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
@DisplayName("Test getApplyToText with different flag combinations") @CsvSource({ "0x00, This folder only", "'0x03', 'This folder, subfolders and files'", "0x0B, Subfolders and files only", "0x02, This folder and subfolders", "0x0A, Subfolders only", "0x01, This folder and files", "0x09, Files only", "0x08, Invalid" }) void testGetApplyToText(String flagsHex, String expectedText) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
@Test @DisplayName("getPipe method should handle different pipe types") void testGetPipeResourceWithDifferentTypes() throws CIFSException { // Test different pipe types int[] pipeTypes = { 0, 1, 2 }; for (int pipeType : pipeTypes) { // When SmbPipeResource pipe = context.getPipe("smb://server/IPC$/pipe", pipeType); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
protected static final short SMB2_NEGOTIATE = 0x00; /** SMB2 session setup command */ protected static final short SMB2_SESSION_SETUP = 0x01; /** SMB2 logoff command */ protected static final short SMB2_LOGOFF = 0x02; /** SMB2 tree connect command */ protected static final short SMB2_TREE_CONNECT = 0x0003; /** SMB2 tree disconnect command */ protected static final short SMB2_TREE_DISCONNECT = 0x0004;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
buf[33] = 34; // baseline wordCount reported by server buf[34] = (byte) 0xFF; // no further andx // byteCount at 33 + 1 + 34*2 = 102 ServerMessageBlock.writeInt2(0, buf, 102); int n = resp.decode(buf, 0); assertTrue(n > 0); // Implementation adds +8 words (16 bytes) to account for CSC extra assertEquals(42, resp.wordCount); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
@DisplayName("Test writeBytesWireFormat method with input buffer") void testWriteBytesWireFormatWithInputBuffer() { request = new Smb2QueryInfoRequest(mockConfig, testFileId); request.setInfoType((byte) 0x02); request.setFileInfoClass((byte) 0x08); Encodable mockInputBuffer = mock(Encodable.class); when(mockInputBuffer.encode(any(byte[].class), anyInt())).thenReturn(50);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
// For CCM, we need to extract only the first 12 bytes of the nonce final byte[] ccmNonce = new byte[12]; System.arraycopy(nonce, 0, ccmNonce, 0, 12); final AEADBlockCipher cipher = createCCMCipher(false, ccmNonce, associatedData.length, ciphertext.length); // Process AAD (not included in ciphertext)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
byte[] buffer = new byte[1024]; buffer[33] = 34; // wordCount for extended response buffer[34] = (byte) 0xFF; // andxCommand SMBUtil.writeInt2(20, buffer, 102); // byteCount int length = testBlock.decode(buffer, 0); assertTrue(length > 0); // wordCount is set to 34 + 8 = 42 in the implementation for extended responseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
} @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { byte[] buffer = new byte[100]; int result = response.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = response.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K bytes - Viewed (0)