Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 804 for state (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseState.java

        /**
         * Check if directory can cache enumeration results
         * @param state lease state
         * @return true if directory enumeration can be cached
         */
        public static boolean canCacheEnumeration(int state) {
            return Smb2LeaseState.hasReadCaching(state);
        }
    
        /**
         * Check if directory can keep handles open
         * @param state lease state
         * @return true if directory handles can be kept open
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. 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)
  3. src/main/java/jcifs/util/SmbCircuitBreaker.java

            State currentState = state.get();
    
            if (currentState == State.OPEN && shouldAttemptReset()) {
                transitionTo(State.HALF_OPEN);
                currentState = State.HALF_OPEN;
            }
    
            if (currentState == State.OPEN) {
                throw new CircuitOpenException("Circuit breaker '" + name + "' is open");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

            AggregateFutureState<?> state, @Nullable Set<Throwable> expect, Set<Throwable> update) {
          synchronized (state) {
            if (state.seenExceptionsField == expect) {
              state.seenExceptionsField = update;
            }
          }
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          synchronized (state) {
            return --state.remainingField;
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

      static void awaitWaiting(Thread t) {
        while (true) {
          Thread.State state = t.getState();
          switch (state) {
            case RUNNABLE:
            case BLOCKED:
              Thread.yield();
              break;
            case WAITING:
              return;
            default:
              throw new AssertionError("unexpected state: " + state);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/TransportTest.java

                for (int state : disconnectedStates) {
                    transport.setState(state);
                    assertTrue(transport.isDisconnected(), "State " + state + " should be disconnected");
                }
    
                for (int state : connectedStates) {
                    transport.setState(state);
                    assertFalse(transport.isDisconnected(), "State " + state + " should not be disconnected");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

        //            (__)\       )\/\
        //                ||----w |
        //                ||     ||
        Runnable state = get();
        Blocker blocker = null;
        while (state instanceof Blocker || state == PARKED) {
          if (state instanceof Blocker) {
            blocker = (Blocker) state;
          }
          spinCount++;
          if (spinCount > MAX_BUSY_WAIT_SPINS) {
            /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/transport/Transport.java

                /* This guarantees that we leave in a valid state
                 */
                if (state != 0 && state != 3 && state != 4) {
                    if (LogStream.level >= 1) {
                        log.println("Invalid state: " + state);
                    }
                    state = 0;
                    thread = null;
                }
            }
        }
    
        /**
         * Disconnects from the remote endpoint.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/transport/Transport.java

         */
        public boolean isDisconnected() {
            return this.state == 4 || this.state == 5 || this.state == 6 || this.state == 0;
        }
    
        /**
         * Checks if the transport is in a failed state.
         *
         * @return whether the transport is marked failed
         */
        public boolean isFailed() {
            return this.state == 5 || this.state == 6;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

            }
        }
    
        /**
         * Validates the OAuth2 state parameter.
         * @param session The HTTP session containing stored state data.
         * @param state The state parameter to validate.
         * @return The validated state data.
         */
        protected StateData validateState(final HttpSession session, final String state) {
            if (StringUtils.isNotEmpty(state)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top