Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 271 for attempts (0.03 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

              return tempDir;
            }
          }
          throw new IllegalStateException(
              "Failed to create directory within "
                  + TEMP_DIR_ATTEMPTS
                  + " attempts (tried "
                  + baseName
                  + "0 to "
                  + baseName
                  + (TEMP_DIR_ATTEMPTS - 1)
                  + ')');
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. 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(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

         * @return the logon count
         */
        public short getLogonCount() {
            return this.logonCount;
        }
    
        /**
         * Returns the number of failed password attempts for this user.
         * @return the bad password count
         */
        public short getBadPasswordCount() {
            return this.badPasswordCount;
        }
    
        /**
         * Returns the user's account name.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

                                     * SmbFile.resolveDfs can re-insert the dr list with
                                     * the dr that was successful so that subsequent
                                     * attempts to resolve DFS use the last successful
                                     * referral first.
                                     */
                                    tmp.map = links.map;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. 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 {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. 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
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                    if (state.compareAndSet(State.HALF_OPEN, State.CLOSED)) {
                        stateChangeTime.set(System.currentTimeMillis());
                        log.info("Circuit breaker {} closed after {} successful attempts", name, successes);
                    }
                }
            }
        }
    
        /**
         * Handle failed call
         */
        private void onFailure() {
            totalFailures.incrementAndGet();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

            return;
          }
          maxRunBeforeFallback = maxRunBeforeFallback(newTableSize);
          expandTableThreshold = (int) (DESIRED_LOAD_FACTOR * newTableSize);
        }
    
        /**
         * We attempt to detect deliberate hash flooding attempts. If one is detected, we fall back to a
         * wrapper around j.u.HashSet, which has built-in flooding protection. MAX_RUN_MULTIPLIER was
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            SmbComClose closeReq = mock(SmbComClose.class);
            SmbResourceLocator res = c.ensureDFSResolved(loc, closeReq);
            assertSame(loc, res);
            // No connect attempts expected
            verify(c, never()).connectWrapException(any());
        }
    
        @Test
        @DisplayName("send retries on transport errors and restores request/response state")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

       * or empty headers if there were none that followed.
       *
       * If the response body was closed prematurely or failed with an error, this will be the sentinel
       * value [TRAILERS_RESPONSE_BODY_TRUNCATED]. In that case attempts to read the trailers should not
       * return the value but instead throw an exception.
       */
      private var trailers: Headers? = null
    
      override val isResponseComplete: Boolean
        get() = state == STATE_CLOSED
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
Back to top