Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2381 - 2390 of 3,596 for authFn (0.1 sec)

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

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.escape.UnicodeEscaper;
    
    /**
     * Testing utilities for {@link UrlEscapers} and {@link LegacyUrlEscapersTest}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 17:53:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractTester.java

     *
     * @param <G> the type of the test generator required by this tester. An instance of G should
     *     somehow provide an instance of the class under test, plus any other information required to
     *     parameterize the test.
     * @author George van den Driessche
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class AbstractTester<G> extends TestCase {
      private G subjectGenerator;
      private String suiteName;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 21:41:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

    import com.google.common.collect.Multimap;
    import com.google.common.collect.testing.features.MapFeature;
    import java.util.Collection;
    import org.junit.Ignore;
    
    /**
     * Tester for {@link Multimap#putAll(Multimap)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapPutAllMultimapTester<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT implementation of {@link ImmutableMap} that forwards to another map.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    public abstract class ForwardingImmutableMap<K, V> extends ImmutableMap<K, V> {
    
      final transient Map<K, V> delegate;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 24 16:03:45 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/cache/LoadingCacheSingleThreadBenchmark.java

    import com.google.caliper.Param;
    import com.google.common.primitives.Ints;
    import java.util.Random;
    import java.util.concurrent.atomic.AtomicLong;
    
    /**
     * Single-threaded benchmark for {@link LoadingCache}.
     *
     * @author Charles Fry
     */
    public class LoadingCacheSingleThreadBenchmark {
      @Param({"1000", "2000"})
      int maximumSize;
    
      @Param("5000")
      int distinctKeys;
    
      @Param("4")
      int segments;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.math.BigInteger;
    
    /**
     * Benchmarks for the non-rounding methods of {@code BigIntegerMath}.
     *
     * @author Louis Wasserman
     */
    public class BigIntegerMathBenchmark {
      private static final int[] factorials = new int[ARRAY_SIZE];
      private static final int[] slowFactorials = new int[ARRAY_SIZE];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TreeTraverserTest.java

    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@code TreeTraverser}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class TreeTraverserTest extends TestCase {
      private static class Node {
        final char value;
    
        Node(char value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.io.ByteArrayOutputStream;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /**
     * Tests for AbstractByteHasher.
     *
     * @author Colin Decker
     */
    public class AbstractByteHasherTest extends TestCase {
    
      public void testBytes() {
        TestHasher hasher = new TestHasher(); // byte order insignificant here
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/ByteSinkTester.java

     * Generates tests of all methods on a {@code ByteSink} given various inputs written to it as well
     * as sub-suites for testing the {@code CharSink} view in the same way.
     *
     * @author Colin Decker
     */
    @AndroidIncompatible // TODO(b/230620681): Make this available (even though we won't run it).
    public class ByteSinkTester extends SourceSinkTester<ByteSink, byte[], ByteSinkFactory> {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/MacHashFunction.java

    import java.security.InvalidKeyException;
    import java.security.Key;
    import java.security.NoSuchAlgorithmException;
    import javax.crypto.Mac;
    
    /**
     * {@link HashFunction} adapter for {@link Mac} instances.
     *
     * @author Kurt Alfred Kluever
     */
    @Immutable
    @ElementTypesAreNonnullByDefault
    final class MacHashFunction extends AbstractHashFunction {
    
      @SuppressWarnings("Immutable") // cloned before each use
      private final Mac prototype;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 15 22:31:55 UTC 2022
    - 3.6K bytes
    - Viewed (0)
Back to top