Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 66 for Setstat (0.14 seconds)

  1. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            });
        }
    
        @Test
        public void testStatistics() throws Exception {
            // Reset stats
            validator.resetStats();
    
            ServerResponseValidator.ValidationStats stats = validator.getStats();
            assertEquals(0, stats.getTotalValidations());
            assertEquals(0, stats.getFailedValidations());
    
            // Perform some validations
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                // Reconnect
                channel.setState(ChannelState.CONNECTING);
                // Connection would be ensured through proper transport interface
    
                // Re-establish channel binding
                manager.performChannelBinding(channel);
    
                // Update channel with new transport
                channel.setTransport(newTransport);
                channel.setState(ChannelState.ESTABLISHED);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

        }
    
        public void setOutputDir(File outputDir) {
            this.outputDir.set(outputDir);
        }
    
        public void copy(String resource) {
            if (getState().getExecuted() || getState().getExecuting()) {
                throw new GradleException(
                    "buildResources can't be configured after the task ran. " + "Make sure task is not used after configuration time"
                );
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            }
    
            // Should have some state
            AuthenticationRateLimiter.RateLimiterStats stats = rateLimiter.getStats();
            assertTrue(stats.getActiveAccounts() > 0);
    
            // Reset
            rateLimiter.reset();
    
            // State should be cleared
            stats = rateLimiter.getStats();
            assertEquals(0, stats.getTotalBlocked());
            assertEquals(0, stats.getAccountsLocked());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (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{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/NetbiosAddress.java

     * and hosts usually registers several names on the network. From a
     * Windows command prompt you can see
     * what names a host registers with the nbtstat command.
     *
     *  * <blockquote>
     *
     * <pre>
     * C:\&gt;nbtstat -a 192.168.1.15
     *
     *        NetBIOS Remote Machine Name Table
     *
     *    Name               Type         Status
     * ---------------------------------------------
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    }
                }
            }
        }
    
        /**
         * Get current state
         *
         * @return current state
         */
        public State getState() {
            evaluateState(); // Ensure state is current
            return state.get();
        }
    
        /**
         * Reset the circuit breaker
         */
        public void reset() {
            state.set(State.CLOSED);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top