- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 104 for getStats (0.07 seconds)
-
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/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K 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) -
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) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals(localNic, channel.getLocalInterface()); assertEquals(remoteNic, channel.getRemoteInterface()); assertEquals(ChannelState.ESTABLISHED, channel.getState()); assertTrue(channel.isHealthy()); // Test metrics channel.incrementRequestsSent(); channel.addBytesSent(1024); channel.updateActivity();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
internal/logger/reqinfo.go
updated = true break } } if !updated { // Append to the end of tags list r.tags = append(r.tags, KeyVal{key, val}) } return r } // GetTags - returns the user defined tags func (r *ReqInfo) GetTags() []KeyVal { if r == nil { return nil } r.RLock() defer r.RUnlock() return append(make([]KeyVal, 0, len(r.tags)), r.tags...) }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 4.4K bytes - Click Count (0)