- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 804 for state (0.41 sec)
-
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
import org.mockito.Mock; import org.mockito.MockedStatic; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.smb1.UniAddress; /** * Very small test suite that exercises the most important state-changing * behaviour of {@link SmbSession}. The tests use Mockito to stub the * heavy network interactions through {@link SmbTransport}. */ @ExtendWith(MockitoExtension.class) public class SmbSessionTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StopwordsPager.java
package org.codelibs.fess.app.pager; import java.io.Serializable; import java.util.List; import org.codelibs.fess.util.ComponentUtil; /** * Pager for managing stopwords pagination. * This class handles the state and logic for paginating through a list of stopwords, * including total record count, page size, and current page number. */ public class StopwordsPager implements Serializable { /**Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
@Test @Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire() assertTrue(session.isInUse(), "New session should be in use due to transport acquisition"); // Test additional acquire session.acquire();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
} // A task ran successfully. Update the execution state and take the next task. task = withLock { afterRun(task, delayNanos, true) awaitTaskToRun() } ?: return } } catch (thrown: Throwable) { // A task failed. Update execution state and re-throw the exception. withLock { afterRun(task, -1L, false)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileStandardInfoTest.java
} @Test @DisplayName("Test encode with various values") void testEncode() throws SMBProtocolDecodingException { // First decode to set internal state byte[] sourceBuffer = new byte[22]; long expectedAllocationSize = 16384L; long expectedEndOfFile = 12288L; int expectedNumberOfLinks = 7; boolean expectedDeletePending = true;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Reset rateLimiter.reset(); // State should be cleared stats = rateLimiter.getStats(); assertEquals(0, stats.getTotalBlocked()); assertEquals(0, stats.getAccountsLocked()); assertEquals(0, stats.getIpsBlocked()); assertEquals(0, stats.getActiveAccounts()); assertEquals(0, stats.getActiveIps()); // Should be able to start freshRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
// Mock implementation - do nothing } @Override public void reset() { // Mock implementation - reset state this.async = false; this.nextResponse = null; } // CommonServerMessageBlock interface methods @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorForm.java
*/ package org.codelibs.fess.app.web.error; import java.util.HashMap; import java.util.Map; /** * Form class for handling error page data and search parameters. * This form captures the state of a search request when an error occurs, * allowing the error page to display relevant information and preserve search context. */ public class ErrorForm { /** Map of form fields and their validation error messages */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/RelatedContentPager.java
import org.codelibs.fess.util.ComponentUtil; /** * Pager for related content management that provides pagination functionality * for displaying related content items in the admin interface. * This class handles pagination state including current page number, page size, * total record count, and navigation controls. */ public class RelatedContentPager implements Serializable { /** * Default constructor. */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
public static final String RUNNING = "running"; /** Status constant representing done/completed state. */ public static final String DONE = "done"; /** Status constant representing successful operation. */ public static final String OK = "ok"; /** Status constant representing failed operation. */ public static final String FAIL = "fail"; /** Status constant representing stopped state. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 34.6K bytes - Viewed (0)