Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for Tepper (0.16 sec)

  1. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

        try {
          new PercentEscaper(" ", true);
          fail(msg);
        } catch (IllegalArgumentException expected) {
          assertThat(expected).hasMessageThat().isEqualTo(msg);
        }
      }
    
      /** Helper to manually escape a 7-bit ascii character */
      private String escapeAscii(char c) {
        Preconditions.checkArgument(c < 128);
        String hex = "0123456789ABCDEF";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RangeSet.java

       * of upper bound).
       */
      Set<Range<C>> asRanges();
    
      /**
       * Returns a descending view of the {@linkplain Range#isConnected disconnected} ranges that make
       * up this range set. The returned set may be empty. The iterators returned by its {@link
       * Iterable#iterator} method return the ranges in decreasing order of lower bound (equivalently,
       * of upper bound).
       *
       * @since 19.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

    import com.google.common.collect.Sets;
    import java.util.List;
    import java.util.Set;
    import java.util.concurrent.TimeUnit;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Helper class for creating {@link CacheBuilder} instances with all combinations of several sets of
     * parameters.
     *
     * @author mike nonemacher
     */
    class CacheBuilderFactory {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/IntMathTest.java

          }
        }
      }
    
      /** Helper method that asserts the arithmetic mean of x and y is equal to the expectedMean. */
      private static void assertMean(int expectedMean, int x, int y) {
        assertEquals(
            "The expectedMean should be the same as computeMeanSafely",
            expectedMean,
            computeMeanSafely(x, y));
        assertMean(x, y);
      }
    
      /**
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 24.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        return "z";
      }
    
      @Override
      protected String getValueNotInPopulatedMap() throws UnsupportedOperationException {
        return "26";
      }
    
      /** Helper assertion comparing two maps */
      private void assertMapsEqual(Map<?, ?> expected, Map<?, ?> map) {
        assertEquals(expected, map);
        assertEquals(expected.hashCode(), map.hashCode());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

     * });
     * }</pre>
     *
     * <p>Even if your non-test code does not use finalization, you can use this class to test for
     * leaks, by ensuring that objects are no longer strongly referenced:
     *
     * <pre>{@code
     * // Helper function keeps victim stack-unreachable.
     * private WeakReference<Foo> fooWeakRef() {
     *   Foo x = ....;
     *   WeakReference<Foo> weakRef = new WeakReference<>(x);
     *   // ... use x ...
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * contents, such as {@code "[1..100]}"}.
       *
       * @throws IllegalArgumentException if neither this range nor the domain has a lower bound, or if
       *     neither has an upper bound
       */
      public ImmutableSortedSet<C> asSet(DiscreteDomain<C> domain) {
        checkNotNull(domain);
        if (isEmpty()) {
          return ImmutableSortedSet.of();
        }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * contents, such as {@code "[1..100]}"}.
       *
       * @throws IllegalArgumentException if neither this range nor the domain has a lower bound, or if
       *     neither has an upper bound
       */
      public ImmutableSortedSet<C> asSet(DiscreteDomain<C> domain) {
        checkNotNull(domain);
        if (isEmpty()) {
          return ImmutableSortedSet.of();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        try {
          cache.getUnchecked("bar");
          fail();
        } catch (UncheckedExecutionException expected) {
        }
        assertEquals(2, callCount.get());
      }
    
      /**
       * Test-helper method that performs {@code nThreads} concurrent calls to {@code cache.get(key)} or
       * {@code cache.getUnchecked(key)}, and returns a List containing each of the results. The result
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/LocalCache.java

      static final int DRAIN_MAX = 16;
    
      // Fields
    
      static final Logger logger = Logger.getLogger(LocalCache.class.getName());
    
      /**
       * Mask value for indexing into segments. The upper bits of a key's hash code are used to choose
       * the segment.
       */
      final int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
Back to top