Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 631 for srState (0.09 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractService.java

                  + this
                  + " to reach a terminal state. "
                  + "Current state: "
                  + state());
        }
      }
    
      /** Checks that the current state is equal to the expected state. */
      @GuardedBy("monitor")
      private void checkCurrentState(State expected) {
        State actual = state();
        if (actual != expected) {
          if (actual == FAILED) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            } catch (Exception e) {
                state = RdmaConnectionState.ERROR;
                throw new IOException("DiSNI RDMA send failed", e);
            }
        }
    
        @Override
        public ByteBuffer receive(int timeout) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/SimpleCircuitBreaker.java

            totalFailures.incrementAndGet();
            lastFailureTime.set(System.currentTimeMillis());
    
            State current = state.get();
    
            if (current == State.HALF_OPEN) {
                // Single failure in half-open state reopens the circuit
                if (state.compareAndSet(State.HALF_OPEN, State.OPEN)) {
                    stateChangeTime.set(System.currentTimeMillis());
                    consecutiveFailures.set(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
        public static final int DFS_STORAGE_STATE_ONLINE = 0x0002;
        /**
         * DFS storage state indicating active status
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/SimpleCircuitBreakerTest.java

        }
    
        @Test
        @DisplayName("Test initial state is CLOSED")
        void testInitialState() {
            assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState());
            assertTrue(circuitBreaker.allowsRequests());
        }
    
        @Test
        @DisplayName("Test successful calls in CLOSED state")
        void testSuccessfulCalls() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThat(manager.servicesByState().keySet()).containsExactly(Service.State.FAILED);
      }
    
      private static void assertState(
          ServiceManager manager, Service.State state, Service... services) {
        Collection<Service> managerServices = manager.servicesByState().get(state);
        for (Service service : services) {
          assertEquals(service.toString(), state, service.state());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java

        void testFailoverStateCreation() {
            ChannelFailover.FailoverState state = new ChannelFailover.FailoverState("test-channel");
    
            assertEquals("test-channel", state.getChannelId());
            assertEquals(0, state.getRetryCount());
            assertTrue(state.shouldRetry());
            assertTrue(state.getFailureTime() > 0);
            assertTrue(state.getNextRetryTime() > state.getFailureTime());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        assertEquals(Service.State.RUNNING, service.state());
    
        exitRun.countDown(); // the service will exit voluntarily
        executionThread.join();
    
        assertTrue(service.shutDownCalled);
        assertEquals(Service.State.TERMINATED, service.state());
    
        service.stopAsync().awaitTerminated(); // no-op
        assertEquals(Service.State.TERMINATED, service.state());
        assertTrue(service.shutDownCalled);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            final byte[] type = new byte[128];
            final byte[] buf = new byte[16];
            final byte[] ext = extension.toLowerCase().getBytes("ASCII");
    
            state = ST_START;
            t = x = i = 0;
            for (off = 0; off < inLen; off++) {
                ch = in[off];
                switch (state) {
                case ST_START:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/AbstractIterator.java

        checkState(state != State.FAILED);
        switch (state) {
          case DONE:
            return false;
          case READY:
            return true;
          default:
        }
        return tryToComputeNext();
      }
    
      private boolean tryToComputeNext() {
        state = State.FAILED; // temporary pessimism
        next = computeNext();
        if (state != State.DONE) {
          state = State.READY;
          return true;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top