- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 85 for getStats (0.41 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState()); // Wait for timeout Thread.sleep(150); // Next call should transition to HALF_OPEN String result = circuitBreaker.call(() -> "success"); assertEquals("success", result); assertEquals(SimpleCircuitBreaker.State.HALF_OPEN, circuitBreaker.getState()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/LoadControlFilterTest.java
mockRequest.setRequestURI("/search"); testableFilter.doFilter(mockRequest, mockResponse, mockFilterChain); assertTrue(mockFilterChain.wasDoFilterCalled()); assertEquals(0, mockResponse.getStatus()); } @Test public void test_doFilter_apiDisabled() throws IOException, ServletException { setConfig(100, 100); testableFilter.setCpuPercent((short) 90);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 33.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(ChannelState.DISCONNECTED, channelInfo.getState()); assertFalse(channelInfo.isPrimary()); assertEquals(0, channelInfo.getBytesSent()); assertEquals(0, channelInfo.getBytesReceived()); } @Test void testStateTransitions() { assertEquals(ChannelState.DISCONNECTED, channelInfo.getState()); assertFalse(channelInfo.isHealthy());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
// Assert assertEquals(6, result); assertEquals(0x1234, response.getAvailable()); assertEquals(TransPeekNamedPipeResponse.STATUS_CONNECTION_OK, response.getStatus()); } @Test @DisplayName("readParametersWireFormat should handle different status values") void testReadParametersWireFormatWithDifferentStatuses() { // Test all status constantsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/smb3-features/03-multi-channel-design.md
failover.handleFailure(channel, error); // Verify channel marked as failed assertEquals(ChannelState.FAILED, channel.getState()); // Verify recovery attempted Thread.sleep(2000); assertTrue(channel.getState() == ChannelState.ESTABLISHED || manager.getChannels().isEmpty()); } ``` ### 7.2 Integration Tests ```java @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 39.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java
assertEquals(address, connection.getRemoteAddress(), "Remote address should match"); assertNotNull(connection.getState(), "Connection state should not be null"); System.out.println("RDMA connection created to: " + address); System.out.println("Connection state: " + connection.getState()); } } @Test public void testRdmaTransportCreationWithMockDelegate() throws Exception {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 13.8K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListener.java
TransferResourceAndSize entry = entries.next(); long total = entry.resource.getContentLength(); long complete = entry.transferredBytes; buffer.append(getStatus(entry.resource.getResourceName(), complete, total)); if (entries.hasNext()) { buffer.append(" | "); } } }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Apr 03 11:23:19 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/NetServerEnumIterator.java
doClose(); } return n; } /** * @throws SmbException */ private void checkStatus() throws SmbException { final int status = this.response.getStatus(); if (status == WinError.ERROR_SERVICE_NOT_INSTALLED) { throw new SmbUnsupportedOperationException(); } if (status != WinError.ERROR_SUCCESS && status != WinError.ERROR_MORE_DATA) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
@Test void testHandleFailure() { IOException error = new IOException("Connection failed"); failover.handleFailure(failedChannel, error); assertEquals(ChannelState.FAILED, failedChannel.getState()); verify(mockChannelManager).removeChannel(failedChannel); } @Test void testFailoverStateCreation() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java
while (!isThreadBlockedOnInstanceOf(t, blocker)) { if (t.getState() == Thread.State.TERMINATED) { throw new RuntimeException("Thread " + t + " exited unexpectedly"); } Thread.sleep(1); } } private static boolean isThreadBlockedOnInstanceOf(Thread t, Class<?> blocker) { return t.getState() == Thread.State.WAITING && blocker.isInstance(LockSupport.getBlocker(t)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 7.2K bytes - Click Count (0)