Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 142 for pathes (0.19 sec)

  1. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                    && queue.removeLastOccurrence(submittedTask);
            // If the delegate is directExecutor(), the submitted runnable could have thrown a REE. But
            // that's handled by the log check that catches RuntimeExceptions in the queue worker.
            if (!(t instanceof RejectedExecutionException) || removed) {
              throw t;
            }
          }
          return;
        }
    
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

    import junit.framework.TestSuite;
    
    /**
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class ImmutableDoubleArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 06 15:23:21 GMT 2023
    - 20K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/SetsTest.java

      }
    
      private static <E> List<E> list(E... elements) {
        return ImmutableList.copyOf(elements);
      }
    
      /**
       * Utility method to verify that the given LinkedHashSet is equal to and hashes identically to a
       * set constructed with the elements in the given collection. Also verifies that the ordering in
       * the set is the same as the ordering of the given contents.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /** @author Kevin Bourrillion */
    @GwtCompatible(emulated = true)
    public class ImmutableLongArrayTest extends TestCase {
      // Test all creation paths very lazily: by assuming asList() works
    
      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(new ImmutableSetWithBadHashesGenerator())
                .named(ImmutableSetTest.class.getName() + ", with bad hashes")
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        @Override
        boolean isPartialView() {
          return ImmutableMap.this.isPartialView();
        }
    
        @Override
        public int hashCode() {
          // ImmutableSet.of(value).hashCode() == value.hashCode(), so the hashes are the same
          return ImmutableMap.this.hashCode();
        }
    
        @Override
        UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

        tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100));
        tester.testAllPublicStaticMethods(BloomFilter.class);
      }
    
      /** Tests that we never get an optimal hashes number of zero. */
      public void testOptimalHashes() {
        for (int n = 1; n < 1000; n++) {
          for (int m = 0; m < 1000; m++) {
            assertTrue(BloomFilter.optimalNumOfHashFunctions(n, m) > 0);
          }
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst().get()}
       *
       * @throws NoSuchElementException if no element in {@code iterable} matches the given predicate
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T find(
          Iterable<T> iterable, Predicate<? super T> predicate) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Repeat, "YOU ARE OLD, FATHER WILLIAM,"' said the Caterpillar.
    
      Alice folded her hands, and began:--
    
        `You are old, Father William,' the young man said,
          `And your hair has become very white;
        And yet you incessantly stand on your head--
          Do you think, at your age, it is right?'
    
        `In my youth,' Father William replied to his son,
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      CharMatcher generateCharMatcher() {
        return new CharMatcher() {
          @Override
          public boolean matches(char c) {
            return false;
          }
    
          final String string = paramString(CharMatcher.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
Back to top