- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 170 for isSuccess (0.26 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt
try { val plan = routePlanner.plan() if (!plan.isReady) { val tcpConnectResult = plan.connectTcp() val connectResult = when { tcpConnectResult.isSuccess -> plan.connectTlsEtc() else -> tcpConnectResult } val (_, nextPlan, failure) = connectResult if (failure != null) throw failure if (nextPlan != null) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterResponse.java
} private int returnCode; private String error; /** * Checks if the unregistration was successful. * * @return true if successful */ public boolean isSuccess() { return returnCode == 0; } /** * Gets a human-readable error description. * * @return the error description */ public String getError() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
if (connectResult == null) { connectResult = awaitTcpConnect(awaitTimeoutNanos, TimeUnit.NANOSECONDS) ?: continue } if (connectResult.isSuccess) { // We have a connected TCP connection. Cancel and defer the racing connects that all lost. cancelInFlightConnects()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java
private long recommendedHeartbeatInterval; private String error; /** * Checks if the heartbeat was successful. * * @return true if successful */ public boolean isSuccess() { return returnCode == 0; } /** * Gets the sequence number. * * @return the sequence number */ public long getSequenceNumber() { return sequenceNumber;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterResponse.java
private byte[] contextHandle; private String error; /** * Checks if the registration was successful. * * @return true if successful */ public boolean isSuccess() { return returnCode == 0; } /** * Gets a human-readable error description. * * @return the error description */ public String getError() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestResult.java
/** * Determines if the request was processed successfully. * * @return true if no error occurred during processing (error is null), false otherwise */ public boolean isSuccess() { return error == null; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 2.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
*/ public boolean isSuccess() { return returnCode == ERROR_SUCCESS; } /** * Gets the error message for the current return code. * * @return a human-readable error message */ public String getErrorMessage() { switch (returnCode) { case ERROR_SUCCESS: return "Success"; case ERROR_INVALID_PARAMETER:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
* * The two values are independent: results can contain both (recoverable error), neither * (success), just an exception (permanent failure), or just a plan (non-exceptional retry). */ data class ConnectResult( val plan: Plan, val nextPlan: Plan? = null, val throwable: Throwable? = null, ) { val isSuccess: Boolean get() = nextPlan == null && throwable == null }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
* The response sequence number should match the request sequence number. * * @return true if the response is valid */ public boolean isValidResponse() { return isSuccess() && responseSequenceNumber == sequenceNumber; } @Override protected void encodeWitnessParameters(NdrBuffer buf) throws NdrException { // Encode input parameters for WitnessHeartbeat
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0)