- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 394 for inInts (0.05 sec)
-
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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.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: Sun Sep 07 00:10:21 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
byte subCommand = netShareEnum.getSubCommand(); assertEquals(SmbComTransaction.NET_SHARE_ENUM, subCommand); } @ParameterizedTest @DisplayName("Test maxDataCount values") @ValueSource(ints = { 1024, 2048, 4096, 8192, 16384, 32768, 65535 }) void testMaxDataCountValues(int maxDataCount) throws Exception { netShareEnum = new NetShareEnum(realConfig); // Set maxDataCount using reflection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Doubles.toArray(bytes)).isEqualTo(array); assertThat(Doubles.toArray(shorts)).isEqualTo(array); assertThat(Doubles.toArray(ints)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Longs.toArray(bytes)).isEqualTo(array); assertThat(Longs.toArray(shorts)).isEqualTo(array); assertThat(Longs.toArray(ints)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 28.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L); List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0); assertThat(Shorts.toArray(bytes)).isEqualTo(array); assertThat(Shorts.toArray(shorts)).isEqualTo(array); assertThat(Shorts.toArray(ints)).isEqualTo(array);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
byte[] buffer = new byte[256]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 }) @DisplayName("writeBytesWireFormat should work at different offsets") void testWriteBytesWireFormatAtDifferentOffsets(int offset) { byte[] buffer = new byte[512];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0x1234, dst, 0); assertEquals((byte) 0x12, dst[0]); assertEquals((byte) 0x34, dst[1]); } @ParameterizedTest @ValueSource(ints = { 0, 1, 255, 256, 32767, 65535 }) @DisplayName("writeInt2 should handle various values") void testWriteInt2Various(int value) { byte[] dst = new byte[4]; SessionServicePacket.writeInt2(value, dst, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0)