Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for estree (0.22 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are
                  // possible! It's false negatives that can't happen.
                  assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isTrue();
    
                  int key = getNonGoldenRandomKey();
                  // We can't check that the key is mightContain() == false before the
                  // put() because the key could have already been generated *or* the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Striped.java

     * represents the task. This maximizes concurrency by having each unique key mapped to a unique
     * lock, but also maximizes memory footprint. On the other extreme, one could use a single lock for
     * all tasks, which minimizes memory footprint but also minimizes concurrency. Instead of choosing
     * either of these extremes, {@code Striped} allows the user to trade between required concurrency
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  9. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/AbstractStandardDirectedNetworkTest.java

        assertThat(network.edgesConnecting(N3, N2)).isEmpty();
      }
    
      @Test
      public void addEdge_selfLoop_allowed() {
        assume().that(graphIsMutable()).isTrue();
        assume().that(network.allowsSelfLoops()).isTrue();
    
        assertThat(networkAsMutableNetwork.addEdge(N1, N1, E11)).isTrue();
        assertThat(network.edges()).contains(E11);
        assertThat(network.edgesConnecting(N1, N1)).containsExactly(E11);
      }
    
      @Test
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top