Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 441 for isSuccess (0.04 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. internal/config/identity/plugin/config.go

    	h.currentMinute = serviceRTTMinuteStats{
    		statsTime: currReqMinute,
    	}
    }
    
    func (h *metrics) accumRequestRTT(reqStartTime time.Time, rttMs float64, isSuccess bool) {
    	h.Lock()
    	defer h.Unlock()
    
    	// Update connectivity times
    	if isSuccess {
    		if reqStartTime.After(h.LastCheckSuccess) {
    			h.LastCheckSuccess = reqStartTime
    		}
    	} else {
    		if reqStartTime.After(h.LastCheckFailure) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

                    request.setFlags(registration.getFlags());
                    
                    WitnessRegisterResponse response = rpcClient.register(request);
                    
                    if (response.isSuccess()) {
                        registration.setState(WitnessRegistrationState.REGISTERED);
                        registrations.put(registration.getRegistrationId(), registration);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        /**
         * Check if negotiation was successful
         *
         * @return true if successful, false otherwise
         */
        public boolean isSuccess() {
            return status == 0;
        }
    
        /**
         * Get negotiation status
         *
         * @return status code (0 = success)
         */
        public int getStatus() {
            return status;
        }
    
        /**
         * Set negotiation status
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top