- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 419 for inInts (0.04 sec)
-
src/test/java/jcifs/FileNotifyInformationTest.java
// Verify assertEquals(expectedFileName, fileName); verify(mockFileNotifyInfo, times(1)).getFileName(); } @ParameterizedTest @ValueSource(ints = { 0x00000001, 0x00000002, 0x00000003, 0x00000004, 0x00000005, 0x00000006, 0x00000007, 0x00000008, 0x00000009 }) @DisplayName("Test getAction with various action values")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
// When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100, 200 }) @DisplayName("Should write consistent structure at different offsets") void testWriteBytesAtDifferentOffsets(int offset) { // GivenRegistered: 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/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertNotNull(response.getDfsResponse()); assertEquals(3, response.getDfsResponse().getNumReferrals()); } @ParameterizedTest @ValueSource(ints = { 1, 2, 5, 10 }) @DisplayName("Should handle varying number of referrals") void testReadDataWireFormatVaryingReferrals(int numReferrals) {
Registered: 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/smb2/Smb2EchoResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes") void testReadBytesWireFormatVariousInvalidSizes(int structureSize) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
assertEquals(testSessionId, decodedHeader.getSessionId()); } // Duplicate testFlags method removed - keeping the first one @ParameterizedTest @ValueSource(ints = { 0, 1, 64, 1024, 4096, 65536 }) @DisplayName("Should handle various message sizes") void testVariousMessageSizes(int messageSize) { // When transformHeader.setOriginalMessageSize(messageSize);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
} catch (Exception e) { throw new RuntimeException(e); } } @ParameterizedTest @DisplayName("Test writeBytesWireFormat with different info sizes") @ValueSource(ints = { 0, 10, 50, 100, 255 }) void testWriteBytesWireFormatWithDifferentSizes(int infoSize) { request = new Smb2SetInfoRequest(mockConfig, testFileId); Encodable mockInfo = mock(Encodable.class);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertTrue(output.contains(" AB~")); // High bytes should be dots assertTrue(output.contains("...")); } @ParameterizedTest @ValueSource(ints = { 1, 15, 16, 17, 31, 32, 33, 64, 128 }) @DisplayName("Should handle various data sizes in hexdump") void testHexdumpVariousSizes(int size) { ByteArrayOutputStream baos = new ByteArrayOutputStream();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/encryption-v1.go
// single part object) and total decrypted object size `decObjSize` // // 2. the (decrypted) start offset `off` and (decrypted) // length to read `length` // // These are the inputs to the rest of the algorithm below. // Locate the part containing the start of the required range var partEnd int var cumulativeSum, encCumulativeSum int64 for i, size := range sizes {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 38K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
assertEquals(expectedResult, buffer.getPathConsumed()); } @ParameterizedTest @DisplayName("Should handle various tflags values") @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) void testTflagsValues(int tflagsValue) { byte[] testBuffer = new byte[8]; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
// Should complete quickly (under 1ms) assertTrue((endTime - startTime) < 1_000_000); } @ParameterizedTest @ValueSource(ints = { 24, 32, 100, 1000, 10000 }) @DisplayName("Should handle various buffer sizes correctly") void testVariousBufferSizes(int bufferSize) throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)