Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 475 for Attempts (0.07 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

       * proxy server can issue an auth challenge and then close the connection.
       *
       * @return the next plan to attempt, or null if no further attempt should be made either because
       *     we've successfully connected or because no further attempts should be made.
       */
      @Throws(IOException::class)
      internal fun connectTunnel(): ConnectResult {
        val nextTunnelRequest =
          createTunnel()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 19.3K bytes
    - Click Count (2)
  2. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

         */
        private static String parseImplementation(final XmlPullParser parser) {
            return parser.getAttributeValue(null, "implementation");
        }
    
        /**
         * Attempts to load the named implementation, uses default implementation if no name is given.
         *
         * @param name The optional implementation name
         * @param defaultClazz The default implementation type
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param key The name of the method.
         * @return List list of methods
         */
        List<Method> get(String key) {
            return methodByNameMap.get(key);
        }
    
        /**
         * Find a method.  Attempts to find the
         * most specific applicable method using the
         * algorithm described in the JLS section
         * 15.12.2 (with the exception that it can't
         * distinguish a primitive type argument from
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            assertEquals(State.CLOSED, circuitBreaker.getState(), "Circuit should be CLOSED after success threshold");
    
            // Test max attempts in half-open with failure scenario
            circuitBreaker.trip(); // Open again
            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
                circuitBreaker.executeWithCircuitBreaker(() -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
            // Don't set domainController to avoid real connection attempts
            initParams.put("jcifs.http.loadBalance", "false");
            initParams.put("jcifs.http.enableBasic", "false");
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

          }
          return false;
        }
    
        @Override
        Entry<K, V> forEntry(int entry) {
          return new EntryForKey(entry);
        }
      }
    
      /**
       * An {@code Entry} implementation that attempts to follow its key around the map -- that is, if
       * the key is moved, deleted, or reinserted, it will account for that -- while not doing any extra
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:46:34 GMT 2025
    - 37.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        ServiceManagerState(ImmutableCollection<Service> services) {
          this.numberOfServices = services.size();
          servicesByState.putAll(NEW, services);
        }
    
        /**
         * Attempts to start the timer immediately prior to the service being started via {@link
         * Service#startAsync()}.
         */
        void tryStartTiming(Service service) {
          monitor.enter();
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 33.2K bytes
    - Click Count (1)
  8. guava/src/com/google/common/util/concurrent/ServiceManager.java

         */
        ServiceManagerState(ImmutableCollection<Service> services) {
          this.numberOfServices = services.size();
          servicesByState.putAll(NEW, services);
        }
    
        /**
         * Attempts to start the timer immediately prior to the service being started via {@link
         * Service#startAsync()}.
         */
        void tryStartTiming(Service service) {
          monitor.enter();
          try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 17:49:12 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            }
            return getPath("WEB-INF/", "conf", names);
        }
    
        /**
         * Gets the path to configuration files, falling back to classpath resources if not found.
         * First attempts to find the file in the configuration directory, then searches the classpath.
         *
         * @param names the path components to append to the configuration directory
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. internal/rest/client.go

    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    		sleep := min(unit*time.Duration(1<<attempt), maxSleep)
    		sleep -= time.Duration(r.Float64() * float64(sleep-unit))
    		return sleep
    	}
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top