Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 529 for FAILURE (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteDatabase.kt

     * used so that OkHttp can learn from its mistakes: if there was a failure attempting to connect to
     * a specific IP address or proxy server, that failure is remembered and alternate routes are
     * preferred.
     */
    class RouteDatabase {
      private val _failedRoutes = mutableSetOf<Route>()
    
      val failedRoutes: Set<Route>
        @Synchronized get() = _failedRoutes.toSet()
    
      /** Records a failure connecting to [failedRoute]. */
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 14:55:09 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

                .build()
            connection.start()
          } catch (e: IOException) {
            logger.log(Level.INFO, "Http2Server connection failure: $e")
            socket?.closeQuietly()
          } catch (e: Exception) {
            logger.log(Level.WARNING, "Http2Server unexpected failure", e)
            socket?.closeQuietly()
          }
        }
      }
    
      private fun doSsl(socket: Socket): SSLSocket {
        val sslSocket =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        @Nullable private String value = null;
        @Nullable private Throwable failure = null;
        private boolean wasCalled = false;
        private final Object monitor = new Object();
    
        MockCallback(String expectedValue) {
          this.value = expectedValue;
        }
    
        public MockCallback(Throwable expectedFailure) {
          this.failure = expectedFailure;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Service.java

         *
         * @param from The previous state that is being transitioned from. Failure can occur in any
         *     state with the exception of {@linkplain State#NEW NEW} or {@linkplain State#TERMINATED
         *     TERMINATED}.
         * @param failure The exception that caused the failure.
         */
        public void failed(State from, Throwable failure) {}
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtStatus.java

            "Logon failure: unknown user name or bad password.",
            "Logon failure: user account restriction.",
            "Logon failure: account logon time restriction violation.",
            "Logon failure: user not allowed to log on to this computer.",
            "Logon failure: the specified account password has expired.",
            "Logon failure: account currently disabled.",
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.1K bytes
    - Viewed (0)
  7. internal/mountinfo/mountinfo_linux_test.go

    package mountinfo
    
    import (
    	"fmt"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMountPaths(t *testing.T) {
    	successCase := `/dev/0 /path/to/0/1 type0 flags 0 0
    		/dev/1    /path/to/1   type1	flags 1 1
    		/dev/2 /path/to/1/2 type2 flags,1,2=3 2 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
      public void testSetFailureNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
        assertFalse(future.isDone());
        assertTrue(future.setException(new Exception("failure")));
        tester.testFailedFuture("failure");
      }
    
      public void testCancel() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

                  ? (isBoolean(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
          addTests(
              suite,
              method,
              Scenario.UNSATISFIED_AND_UNOCCUPIED_BEFORE_ENTERING,
              TimeoutsToUse.INFINITE,
              isGuarded(method)
                  ? (isTryEnter(method) || isEnterIf(method) ? Outcome.FAILURE : Outcome.HANG)
                  : Outcome.SUCCESS);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. internal/config/dns/etcd_dns_test.go

    		if result != etcdPathSeparator+path+"/local/skydns/staging/service" {
    			t.Errorf("Failure to get domain's path with prefix: %s", result)
    		}
    	}
    }
    
    func TestUnPath(t *testing.T) {
    	result1 := msgUnPath("/skydns/local/cluster/staging/service/")
    	if result1 != "service.staging.cluster.local." {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top