- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 505 for state (0.02 sec)
-
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
@Override public void running() { ServiceManagerState state = this.state.get(); if (state != null) { state.transitionService(service, STARTING, RUNNING); } } @Override public void stopping(State from) { ServiceManagerState state = this.state.get(); if (state != null) { state.transitionService(service, from, STOPPING); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 33.2K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
state = STATE_WRITING_REQUEST_BODY return ChunkedSink() } private fun newKnownLengthSink(): Sink { check(state == STATE_OPEN_REQUEST_BODY) { "state: $state" } state = STATE_WRITING_REQUEST_BODY return KnownLengthSink() } private fun newFixedLengthSource( url: HttpUrl, length: Long, ): Source { check(state == STATE_OPEN_RESPONSE_BODY) { "state: $state" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java
// Utility class } /** * Check if state has read caching * @param state lease state * @return true if read caching is enabled */ public static boolean hasReadCaching(int state) { return (state & SMB2_LEASE_READ_CACHING) != 0; } /** * Check if state has handle caching * @param state lease state * @return true if handle caching is enabled */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 10.6K bytes - Viewed (0) -
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) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// NOTE: Implementation behavior - custom predicate may not prevent all state changes // Skipping assertions that assume non-critical errors don't affect circuit state // as the actual implementation may handle this differently // Reset to ensure clean state for critical error test if (customCb.getState() != State.CLOSED) { customCb.reset(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
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) -
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) -
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) -
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)