- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 57 for 010203 (1.76 sec)
-
src/test/java/jcifs/EncodableTest.java
return Stream.of( // srcLen, off, len, dstIndex Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0 Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
@Test @DisplayName("clone: returns deep copy and independent state") void clone_returnsDeepCopy() { // Arrange byte[] data = new byte[] { 10, 20, 30 }; SecurityBlob original = new SecurityBlob(data); // Act SecurityBlob copy = assertDoesNotThrow(() -> (SecurityBlob) original.clone(), "clone() should not throw"); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
void testIsValidDisallowedDialect() throws Exception { // Given setResponseAsReceived(response); setPrivateField(response, "dialectRevision", 0x0202); // SMB 2.0.2 when(mockConfig.getMinimumVersion()).thenReturn(DialectVersion.SMB210); // When boolean valid = response.isValid(mockContext, mockRequest); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
void testReadSetupWireFormat() { netShareEnum = new NetShareEnum(realConfig); byte[] buffer = new byte[100]; int result = netShareEnum.readSetupWireFormat(buffer, 0, 100); assertEquals(0, result); // Test with different parameters result = netShareEnum.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * Lock and read operation is supported capability. */ int CAP_LOCK_AND_READ = 0x0100; /** * NT find operations are supported capability. */ int CAP_NT_FIND = 0x0200; /** * DFS operations are supported capability. */ int CAP_DFS = 0x1000; /** * Large read operations are supported capability. */ int CAP_LARGE_READX = 0x4000;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
/** Level II oplocks capability */ int CAP_LEVEL_II_OPLOCKS = 0x0080; /** Lock and read capability */ int CAP_LOCK_AND_READ = 0x0100; /** NT find capability */ int CAP_NT_FIND = 0x0200; /** DFS capability */ int CAP_DFS = 0x1000; /** Extended security capability */ int CAP_EXTENDED_SECURITY = 0x80000000; // file attribute encoding /** Read-only file attribute */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
originalSid.sub_authority_count = (byte) 3; originalSid.identifier_authority = new byte[] { (byte) 1, (byte) 2, (byte) 3, (byte) 4, (byte) 5, (byte) 6 }; originalSid.sub_authority = new int[] { 10, 20, 30 }; // Mock encoding buffer NdrBuffer encodeBuffer = mock(NdrBuffer.class); when(encodeBuffer.derive(anyInt())).thenReturn(encodeBuffer);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
assertEquals("Expected structureSize = 60", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 10, 20, 30 }) @DisplayName("Should correctly read from different buffer offsets") void testReadBytesWireFormatWithDifferentOffsets(int offset) throws SMBProtocolDecodingException { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0003, command); // SMB2_TREE_CONNECT command value // Verify path is set correctly Field pathField = Smb2TreeConnectRequest.class.getDeclaredField("path"); pathField.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
} @Test @DisplayName("Test multiple close flags combinations") void testMultipleCloseFlagsCombinations() { // Test combining multiple flags int combinedFlags = 0x0003; // Multiple flags set request.setCloseFlags(combinedFlags); byte[] buffer = new byte[256]; int written = request.writeBytesWireFormat(buffer, 0); assertEquals(24, written);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)