Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for Heller (0.14 sec)

  1. guava-tests/test/com/google/common/io/AppendableWriterTest.java

    import java.io.IOException;
    import java.io.Writer;
    
    /**
     * Unit test for {@link AppendableWriter}.
     *
     * @author Alan Green
     */
    public class AppendableWriterTest extends IoTestCase {
    
      /** Helper class for testing behavior with Flushable and Closeable targets. */
      private static class SpyAppendable implements Appendable, Flushable, Closeable {
        boolean flushed;
        boolean closed;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

    import java.util.HashMap;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple helper class to build a "sparse" array of objects based on the indexes that were added to
     * it. The array will be from 0 to the maximum index given. All non-set indexes will contain null
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java

    public class LocalCacheMapComputeTest extends TestCase {
      final int count = 10000;
      final String delimiter = "-";
      final String key = "key";
      Cache<String, String> cache;
    
      // helper
      private static void doParallelCacheOp(int count, IntConsumer consumer) {
        IntStream.range(0, count).parallel().forEach(consumer);
      }
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/collect/ComparisonChain.java

     *
     * <p><b>Note:</b> {@code ComparisonChain} instances are <b>immutable</b>. For this utility to work
     * correctly, calls must be chained as illustrated above.
     *
     * <p>Performance note: Even though the {@code ComparisonChain} caller always invokes its {@code
     * compare} methods unconditionally, the {@code ComparisonChain} implementation stops calling its
     * inputs' {@link Comparable#compareTo compareTo} and {@link Comparator#compare compare} methods as
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 9.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

      private volatile int remaining;
    
      private static final AtomicHelper ATOMIC_HELPER;
    
      private static final LazyLogger log = new LazyLogger(AggregateFutureState.class);
    
      static {
        AtomicHelper helper;
        Throwable thrownReflectionFailure = null;
        try {
          helper =
              new SafeAtomicHelper(
                  newUpdater(AggregateFutureState.class, Set.class, "seenExceptions"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
                .addValue(10L)
                .add(SHORT_NAME, 3.14f)
                .addValue(3.14d)
                .add(LONG_NAME, false)
                .add(LONG_NAME, LONG_NAME);
          }
        },
        CONDITIONAL {
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, "x")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 14 22:05:11 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteSink.java

     *
     * <p>{@code ByteSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a stream:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/ElementOrder.java

        return Objects.hashCode(type, comparator);
      }
    
      @Override
      public String toString() {
        ToStringHelper helper = MoreObjects.toStringHelper(this).add("type", type);
        if (comparator != null) {
          helper.add("comparator", comparator);
        }
        return helper.toString();
      }
    
      /** Returns an empty mutable map whose keys will respect this {@link ElementOrder}. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 6.7K bytes
    - Viewed (0)
Back to top