- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 478 for State (0.37 sec)
-
src/test/java/jcifs/smb1/util/LogStreamTest.java
private ByteArrayOutputStream testOutput; private PrintStream testStream; private int originalLevel; @BeforeEach void setUp() throws Exception { // Save original state originalErr = System.err; originalLevel = LogStream.level; // Create test stream testOutput = new ByteArrayOutputStream(); testStream = new PrintStream(testOutput);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
import org.junit.jupiter.api.Test; /** * Unit tests for {@link SmbComTransactionResponse}. * * <p>The class is abstract, so a concrete stub implementation is * provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} and * {@code readBytesWireFormat}. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@Test @DisplayName("Should maintain state after successful read") void testStateMaintenanceAfterRead() throws Exception { byte oplockLevel = 0x02; byte[] fileId = createTestData(16); byte[] buffer = createValidOplockBreakBuffer(oplockLevel, fileId); notification.readBytesWireFormat(buffer, 0); // Verify state is maintained through multiple toString calls
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
@Test public void testReset() throws Exception { // Create some state String username = "resettest"; String ip = "192.168.1.12"; for (int i = 0; i < 2; i++) { rateLimiter.checkAttempt(username, ip); rateLimiter.recordFailure(username, ip); } // Should have some state AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
Registered: 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/org/codelibs/fess/entity/QueryContextTest.java
getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>()); queryContext = new QueryContext("allintitle:search term", true); // Verify initial state assertEquals("search term", queryContext.getQueryString()); assertEquals("title", queryContext.getDefaultField()); assertTrue(queryContext.roleQueryEnabled()); // Set query builder
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Sets the expiration time for this response. * * @param exp the message timeout to set */ void setExpiration(Long exp); /** * Resets this response to its initial state. */ void reset(); /** * Gets the exception associated with this response. * * @return an exception linked to an error */ Exception getException();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
void awaitWaiting() { while (!isBlocked()) { if (getState() == State.TERMINATED) { throw new RuntimeException("Thread exited"); } Thread.yield(); } } private boolean isBlocked() { return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java
/** * Pager class for stemmer override dictionary management. * * This class provides pagination functionality for displaying stemmer override * dictionary entries in the administrative interface. It manages page state, * navigation controls, and provides methods for calculating page boundaries * and navigation elements. */ public class StemmerOverridePager implements Serializable {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java
* This method fetches stemmer override entries with pagination support, updating * the provided pager with the current page state and navigation information. * * @param dictId The ID of the stemmer override dictionary to query * @param stemmerOvberridePager The pager object for pagination control and state * @return A list of stemmer override items for the current page, or empty list if dictionary not found */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
/** Operation is not supported */ public static final int ERROR_NOT_SUPPORTED = 0x00000032; /** Access denied to perform the operation */ public static final int ERROR_ACCESS_DENIED = 0x00000005; /** Invalid state for the operation */ public static final int ERROR_INVALID_STATE = 0x0000139F; /** Return code from the RPC operation */ protected int returnCode = ERROR_SUCCESS; private int opnum; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0)