- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 657 for SIZE (0.01 sec)
-
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
return Stream.of(Arguments.of(null, 4), // size() returns 4 even with null Arguments.of(new int[0], 4), // size() returns 4 for empty array Arguments.of(new int[] { 1 }, 4 + 2), // size() returns 4 + 2*1 Arguments.of(new int[] { 1, 2 }, 4 + 4), // size() returns 4 + 2*2 Arguments.of(new int[] { 1, 2, 3, 4, 5 }, 4 + 10) // size() returns 4 + 2*5 ); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
} @Test @DisplayName("Size should be consistent across multiple calls") void testSizeConsistency() { int size1 = echoRequest.size(); int size2 = echoRequest.size(); assertEquals(size1, size2); } @Test @DisplayName("Size should be 72 bytes (64 header + 4 body aligned to 8)")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java
String pipeName = "TestPipe"; FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName); // Verify size calculation int expectedSize = 14 + pipeName.getBytes(StandardCharsets.UTF_16LE).length; assertEquals(expectedSize, request.size()); } @Test @DisplayName("Test constructor with name and timeout sets correct fields") void testConstructorWithNameAndTimeout() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
@DisplayName("Test getSendBufferSize returns standard size") void testGetSendBufferSizeStandard() { // Arrange int expectedSize = 65536; when(negotiationResponse.getSendBufferSize()).thenReturn(expectedSize); // Act int size = negotiationResponse.getSendBufferSize(); // Assert assertEquals(expectedSize, size); verify(negotiationResponse).getSendBufferSize();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
queue.clear(); } /** * Sets the scroll size. * @param scrollSize The scroll size. */ public void setScrollSize(final int scrollSize) { this.scrollSize = scrollSize; } /** * Sets the limit of document size. * @param limitOfDocumentSize The limit of document size. */ public void setLimitOfDocumentSize(final long limitOfDocumentSize) {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
byte[] encoded = AvPairs.encode(originalPairs); List<AvPair> decodedPairs = AvPairs.decode(encoded); assertEquals(originalPairs.size(), decodedPairs.size(), "Should have same number of pairs"); for (int i = 0; i < originalPairs.size(); i++) { AvPair original = originalPairs.get(i); AvPair decoded = decodedPairs.get(i);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/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
assertTrue(result > 0); List<FileNotifyInformation> notifications = response.getNotifyInformation(); assertEquals(1, notifications.size()); FileNotifyInformation info = notifications.get(0); assertEquals("test.txt", info.getFileName()); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
@DisplayName("Should return max transact size") void testGetMaxTransactSize() throws Exception { // Given setPrivateField(response, "maxTransactSize", 1048576); // When int size = response.getMaxTransactSize(); // Then assertEquals(1048576, size); } @Test @DisplayName("Should return transaction buffer size")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/smb2/ioctl/SrvCopychunkCopyTest.java
// When int size = copy.size(); // Then assertEquals(HEADER_SIZE, size); } @Test @DisplayName("Should return correct size with single chunk") void testSizeWithSingleChunk() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE];Registered: 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/notify/Smb2ChangeNotifyResponseTest.java
byte[] buffer = new byte[104]; // Exact size needed int offset = 0; setHeaderStart(response, 64); // Write structure SMBUtil.writeInt2(9, buffer, offset); SMBUtil.writeInt2(80 - 64, buffer, offset + 2); SMBUtil.writeInt4(24, buffer, offset + 4); // Exact notification size // Write notification int notifyOffset = 80;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)