- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 390 for isSuccess (0.43 sec)
-
src/test/java/jcifs/internal/witness/WitnessClientTest.java
lenient().when(registerResponse.isSuccess()).thenReturn(true); lenient().when(registerResponse.getRegistrationId()).thenReturn("test-reg-123"); // Setup successful unregistration WitnessUnregisterResponse unregisterResponse = mock(WitnessUnregisterResponse.class); lenient().when(unregisterResponse.isSuccess()).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcClient.java
// Create response from RPC message results WitnessRegisterResponse response = new WitnessRegisterResponse(); response.setReturnCode(message.getReturnCode()); if (message.isSuccess()) { // Generate registration ID from context handle byte[] contextHandle = message.getContextHandle();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessClient.java
request.setFlags(registration.getFlags()); WitnessRegisterResponse response = rpcClient.register(request); if (response != null && response.isSuccess()) { registration.setState(WitnessRegistrationState.REGISTERED); registration.setContextHandle(response.getContextHandle());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.8K bytes - Viewed (0) -
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) -
docs/smb3-features/06-witness-protocol-design.md
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K 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)