Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for estree (0.23 sec)

  1. android/guava-tests/test/com/google/common/base/PredicatesTest.java

            throw new ClassCastException("");
          }
        }
        Collection<Integer> nums = new CollectionThatThrowsCCE<>();
        nums.add(3);
        Predicate<Integer> isThree = Predicates.in(nums);
        assertFalse(isThree.apply(3));
      }
    
      /*
       * Tests that compilation will work when applying explicit types.
       */
      @SuppressWarnings("unused") // compilation test
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

        }
      }
    
      /**
       * Creates a suite whose map has some elements filtered out of view.
       *
       * <p>Because the map may be ascending or descending, this test must derive the relative order of
       * these extreme values rather than relying on their regular sort ordering.
       */
      final TestSuite createSubmapSuite(
          FeatureSpecificTestSuiteBuilder<
                  ?, ? extends OneSizeTestContainerGenerator<Map<K, V>, Entry<K, V>>>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * the request has become less ready for future requests", i.e. its caches become stale, and
       * requests become more likely to trigger expensive operations (a more extreme case of this
       * example is when a server has just booted, and it is mostly busy with getting itself up to
       * speed).
       *
       * To deal with such scenarios, we add an extra dimension, that of "past underutilization",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          for (Object o : elements) {
            if (o == null) {
              throw new NullPointerException();
            }
          }
    
          // prepare extreme values to be filtered out of view
          E firstExclusive = delegate.belowSamplesGreater();
          E lastExclusive = delegate.aboveSamplesLesser();
          if (from != Bound.NO_BOUND) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(iia.contains(1)).isTrue();
        assertThat(iia.contains(8)).isTrue();
        assertThat(iia.contains(4)).isFalse();
        assertThat(ImmutableIntArray.of(13).contains(13)).isTrue();
        assertThat(ImmutableIntArray.of().contains(21)).isFalse();
        assertThat(iia.subArray(1, 5).contains(1)).isTrue();
      }
    
      public void testForEach() {
    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)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.contains(ARRAY234, (short) 1)).isFalse();
        assertThat(Shorts.contains(new short[] {(short) -1}, (short) -1)).isTrue();
        assertThat(Shorts.contains(ARRAY234, (short) 2)).isTrue();
        assertThat(Shorts.contains(ARRAY234, (short) 3)).isTrue();
        assertThat(Shorts.contains(ARRAY234, (short) 4)).isTrue();
      }
    
      public void testIndexOf() {
        assertThat(Shorts.indexOf(EMPTY, (short) 1)).isEqualTo(-1);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 29 15:43:06 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        assertWithMessage("%s is subtype of %s", paramType, returnType)
            .that(TypeToken.of(paramType).isSubtypeOf(returnType))
            .isTrue();
        assertWithMessage("%s is supertype of %s", returnType, paramType)
            .that(TypeToken.of(returnType).isSupertypeOf(paramType))
            .isTrue();
        if (!spec.suppressGetSubtype()) {
          assertThat(getSubtype(returnType, TypeToken.of(paramType).getRawType())).isEqualTo(paramType);
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

            .that(step2.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is closed.
        assertClosed(closeable2);
    
        // Step 3 was cancelled before it began
        assertWithMessage("step3.statusFuture().isCancelled()")
            .that(step3.statusFuture().isCancelled())
            .isTrue();
        // Its closeable is still open.
        assertStillOpen(closeable3);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/PrimitivesTest.java

     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
      public void testIsWrapperType() {
        assertThat(Primitives.isWrapperType(Void.class)).isTrue();
        assertThat(Primitives.isWrapperType(void.class)).isFalse();
      }
    
      public void testWrap() {
        assertThat(Primitives.wrap(int.class)).isSameInstanceAs(Integer.class);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.isHorizontal()).isTrue();
        assertThat(transformation.isVertical()).isFalse();
        assertThat(transformation.inverse().isHorizontal()).isFalse();
        assertThat(transformation.inverse().isVertical()).isTrue();
        assertThat(transformation.transform(-1.0)).isWithin(ALLOWED_ERROR).of(y);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
Back to top