- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,544 for inte (3.61 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
} } @ParameterizedTest @ValueSource(ints = { NtStatus.NT_STATUS_SUCCESS, NtStatus.NT_STATUS_PENDING, NtStatus.NT_STATUS_ACCESS_DENIED, NtStatus.NT_STATUS_INVALID_PARAMETER }) @DisplayName("Should handle various status codes") void testVariousStatusCodes(int status) { response.setStatusForTest(status); assertEquals(status, response.getErrorCode());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 100, 255, 256, 65535 }) @DisplayName("Test readBytesWireFormat with various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int invalidSize) { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2); byte[] buffer = new byte[1024]; int bufferIndex = 0;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @ParameterizedTest @ValueSource(ints = { 1, 16, 32, 64, 128, 256 }) @DisplayName("Should handle various data sizes") void testVariousDataSizes(int size) { // Given byte[] data = createTestData(size); // When String result = Hexdump.toHexString(data); // Then
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcHandle.java
* @param buf the buffer containing the fragment * @param off the offset into the buffer * @param length the length of data to send * @param isDirect whether to use direct transmission * @throws IOException if an I/O error occurs */ protected abstract void doSendFragment(byte[] buf, int off, int length, boolean isDirect) throws IOException; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given int testType = 0x20; // Server service when(mockNetbiosName.getNameType()).thenReturn(testType); // When int nameType = mockNetbiosName.getNameType(); // Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java
* The packet type of this DCERPC message */ protected int ptype = -1; /** * The flags for this DCERPC message */ protected int flags = 0; /** * The total length of this DCERPC message */ protected int length = 0; /** * The call ID for matching requests and responses */ protected int call_id = 0; /** * The allocation hint for buffer sizingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
*/ abstract int writeParameterWordsWireFormat(byte[] dst, int dstIndex); abstract int writeBytesWireFormat(byte[] dst, int dstIndex); abstract int readParameterWordsWireFormat(byte[] buffer, int bufferIndex); abstract int readBytesWireFormat(byte[] buffer, int bufferIndex); @Override public int hashCode() { return mid; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// When int size = copy.size(); // Then assertEquals(HEADER_SIZE + CHUNK_SIZE, size); } @ParameterizedTest @DisplayName("Should return correct size with multiple chunks") @ValueSource(ints = { 1, 2, 3, 5, 10, 100 }) void testSizeWithMultipleChunks(int chunkCount) { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
for (int i = 0; i < 100; i++) { int bytesRead = response.readBytesWireFormat(buffer, 0); // Then assertEquals(4, bytesRead, "Failed at iteration " + i); } // When - perform multiple write operations for (int i = 0; i < 100; i++) { int bytesWritten = response.writeBytesWireFormat(buffer, 0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.1K bytes - Viewed (0)