Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for attempts (0.21 sec)

  1. guava/src/com/google/common/cache/CacheStats.java

       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
       * waited for other threads to finish loading. It is thus the case that {@code missCount >=
       * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/CacheStats.java

       * missRate =~ 1.0}. Cache misses include all requests which weren't cache hits, including
       * requests which resulted in either successful or failed loading attempts, and requests which
       * waited for other threads to finish loading. It is thus the case that {@code missCount >=
       * loadSuccessCount + loadExceptionCount}. Multiple concurrent misses for the same key will result
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 12.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HostSpecifier.java

          return new HostSpecifier(domain.toString());
        }
    
        throw new IllegalArgumentException(
            "Domain name does not have a recognized public suffix: " + host);
      }
    
      /**
       * Attempts to return a {@code HostSpecifier} for the given string, throwing an exception if
       * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a
       * specifier that is not already known to be valid.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/ByteStreams.java

        @Override
        public long skip(long n) throws IOException {
          n = Math.min(n, left);
          long skipped = in.skip(n);
          left -= skipped;
          return skipped;
        }
      }
    
      /**
       * Attempts to read enough bytes from the stream to fill the given byte array, with the same
       * behavior as {@link DataInput#readFully(byte[])}. Does not close the stream.
       *
       * @param in the input stream to read from.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedAsList.java

      @Override
      public int indexOf(@CheckForNull Object target) {
        int index = delegateCollection().indexOf(target);
    
        // TODO(kevinb): reconsider if it's really worth making feeble attempts at
        // sanity for inconsistent comparators.
    
        // The equals() check is needed when the comparator isn't compatible with
        // equals().
        return (index >= 0 && get(index).equals(target)) ? index : -1;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * the {@code shutdownNow} method. First, "best-effort" with regards to canceling running tasks is
       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
       * tasks. Second, the returned list will always be empty, as any submitted task is considered to
       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 26 22:04:00 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * while {@code ImmutableSortedSet.of(s)} returns an {@code ImmutableSortedSet<Set<String>>}
       * containing one element (the given set itself).
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 38.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java

          if (run) {
            result = runInterruptibly();
          }
        } catch (Throwable t) {
          restoreInterruptIfIsInterruptedException(t);
          error = t;
        } finally {
          // Attempt to set the task as done so that further attempts to interrupt will fail.
          if (!compareAndSet(currentThread, DONE)) {
            waitForInterrupt(currentThread);
          }
          if (run) {
            if (error == null) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Sep 29 21:34:48 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      }
    
      /**
       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * inserted by producers and extracted by consumers. Once created, the capacity cannot be increased.
     * Attempts to {@code put} an element into a full queue will result in the operation blocking;
     * attempts to {@code take} an element from an empty queue will similarly block.
     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top