Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for Attempts (0.15 sec)

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

          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
          }
          throw new IllegalStateException(
              "Failed to create directory within "
                  + TEMP_DIR_ATTEMPTS
                  + " attempts (tried "
                  + baseName
                  + "0 to "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
        assertEquals(expected, actual);
      }
    
      public void testCorrectOrdering_smallHeapsPollFirst() {
        for (int size = 2; size < 16; size++) {
          for (int attempts = 0; attempts < size * (size - 1); attempts++) {
            ArrayList<Integer> elements = createOrderedList(size);
            List<Integer> expected = ImmutableList.copyOf(elements);
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
      }
    
      public void testSetValue_simpleThreaded() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (1)
  4. android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java

        assertFalse(future.isCancelled());
      }
    
      public void testSetValue_simpleThreaded() throws Exception {
        SettableFuture<Integer> future = SettableFuture.create();
        assertTrue(future.set(42));
        // Later attempts to set the future should return false.
        assertFalse(future.set(23));
        assertFalse(future.setException(new Exception("bar")));
        assertFalse(future.setFuture(SettableFuture.<Integer>create()));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/SortedMultiset.java

       * multiset, so changes to one will be reflected in the other. The returned multiset supports all
       * operations that this multiset supports.
       *
       * <p>The returned multiset will throw an {@link IllegalArgumentException} on attempts to add
       * elements outside its range.
       */
      SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType);
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  6. 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 &gt;=
       * 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)
  7. 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 &gt;=
       * 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)
  8. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        }
        assertEquals(expected, actual);
      }
    
      public void testCorrectOrdering_smallHeapsPollFirst() {
        for (int size = 2; size < 16; size++) {
          for (int attempts = 0; attempts < size * (size - 1); attempts++) {
            ArrayList<Integer> elements = createOrderedList(size);
            List<Integer> expected = ImmutableList.copyOf(elements);
            MinMaxPriorityQueue<Integer> q = MinMaxPriorityQueue.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
  9. 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)
  10. maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
     * the remote repositories where attempts were made to resolve the artifacts.
     *
     */
    @Deprecated
    public class UnresolvedArtifacts {
        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top