- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 173 for state (0.01 sec)
-
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) -
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/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) -
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/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) -
src/main/java/jcifs/internal/witness/WitnessRegistration.java
/** * Gets the registration state. * * @return the current registration state */ public WitnessRegistrationState getState() { return state; } /** * Sets the registration state. * * @param state the new registration state */ public void setState(WitnessRegistrationState state) { this.state = state; } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 6.7K 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)