Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for getStats (0.32 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          boolean isDone() {
            return (getState() & (COMPLETED | CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #CANCELLED} or {@link #INTERRUPTED}. */
          boolean isCancelled() {
            return (getState() & (CANCELLED | INTERRUPTED)) != 0;
          }
    
          /** Checks if the state is {@link #INTERRUPTED}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  2. 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());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            try {
                createResp = th.send(create);
            } catch (final SmbException e) {
                final Smb2CreateResponse cr = create.getResponse();
                if (cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_SUCCESS) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    } catch (final SmbException e2) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.24.md

    - Fix libct/cg/fs2: fixed GetStats for unsupported hugetlb error on Raspbian Bullseye ([#106912](https://github.com/kubernetes/kubernetes/pull/106912), [@Letme](https://github.com/Letme))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Aug 24 00:02:43 UTC 2023
    - 473.4K bytes
    - Viewed (0)
  5. cmd/metrics-realtime.go

    			CollectedAt:   UTCNow(),
    			InterfaceName: globalInternodeInterface,
    		}
    		netStats, err := net.GetInterfaceNetStats(globalInternodeInterface)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v  (nicstats)", byHostName, err.Error()))
    		} else {
    			m.Aggregated.Net.NetStats = netStats
    		}
    	}
    	if types.Contains(madmin.MetricsMem) {
    		m.Aggregated.Mem = &madmin.MemMetrics{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  9. 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();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top