- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 308 for State (0.02 sec)
-
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/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) -
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) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K 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) -
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) -
cmd/erasure.go
state = madmin.DriveStatePermission case errors.Is(err, errFaultyDisk): state = madmin.DriveStateFaulty case errors.Is(err, errDriveIsRoot): state = madmin.DriveStateRootMount case err == nil: state = madmin.DriveStateOk default: state = fmt.Sprintf("%s (cause: %s)", madmin.DriveStateUnknown, err) } return }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.1K bytes - Viewed (0) -
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)