- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,252 for currently (0.19 sec)
-
src/main/java/org/codelibs/fess/app/pager/CharMappingPager.java
} /** * Gets the current page number. * @return The current page number. */ public int getCurrentPageNumber() { if (currentPageNumber <= 0) { currentPageNumber = getDefaultCurrentPageNumber(); } return currentPageNumber; } /** * Sets the current page number. * @param currentPageNumber The current page number.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
Type2Message.NTLMSSP_NEGOTIATE_NTLM | Type2Message.NTLMSSP_NEGOTIATE_VERSION | Type2Message.NTLMSSP_NEGOTIATE_UNICODE; assertEquals(expectedFlags, message.getFlags(), "Default flags should be set correctly"); assertNull(message.getChallenge(), "Challenge should initially be null"); assertNull(message.getTarget(), "Target should initially be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
int mode = response.getSecurityMode(); // Then assertEquals(Smb2Constants.SMB2_NEGOTIATE_SIGNING_REQUIRED, mode); } @Test @DisplayName("Should check capability correctly") void testHaveCapability() throws Exception { // Given setPrivateField(response, "commonCapabilities", 0x2F); // 0010 1111 // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
import jcifs.BaseTest; /** * Test class for Crypto utility functionality */ @DisplayName("Crypto Utility Tests") class CryptoTest extends BaseTest { @Test @DisplayName("Should calculate MD4 hash correctly") void testMD4Hash() { // Given String input = "Hello World"; byte[] data = input.getBytes(); // When MessageDigest md4 = Crypto.getMD4();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
@Test @DisplayName("Should calculate size correctly with no data") void testSizeWithNoData() { request.setData(new byte[0], 0, 0); int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8; assertEquals(expectedSize, request.size()); } @Test @DisplayName("Should calculate size correctly with data") void testSizeWithData() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
private static final int TEST_LENGTH = TEST_DATA.length; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructor() { // Act TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH); // Assert assertNotNull(trans);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PACDecodingExceptionTest.java
@Test void testMessageConstructor() { String errorMessage = "This is a test error message."; PACDecodingException e = new PACDecodingException(errorMessage); // Expect the message to be set correctly and cause to be null assertEquals(errorMessage, e.getMessage()); assertNull(e.getCause()); } /** * Test the constructor with a cause. */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
this.manager = manager; this.strategy = LoadBalancingStrategy.ADAPTIVE; this.roundRobinCounter = new AtomicInteger(0); } /** * Get current load balancing strategy * * @return current strategy */ public LoadBalancingStrategy getStrategy() { return strategy; } /** * Set load balancing strategy *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// Verify source key is copied correctly for (int i = 0; i < SOURCE_KEY_SIZE; i++) { assertEquals(sourceKey[i], buffer[startIndex + i], "Source key byte at position " + i + " doesn't match"); } } @Test @DisplayName("Should encode chunk count correctly") void testEncodeChunkCount() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
int bytesRead = notification.readBytesWireFormat(buffer, 0); // Verify the bytes read assertEquals(24, bytesRead); // Verify the fields were set correctly using reflection Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel"); oplockLevelField.setAccessible(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)