Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2961 - 2970 of 3,984 for Signal (0.15 sec)

  1. guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        try {
          tester.test();
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      private static final class ThrowingIterator<E> implements Iterator<E> {
        private final RuntimeException ex;
    
        private ThrowingIterator(RuntimeException ex) {
          this.ex = ex;
        }
    
        @Override
        public boolean hasNext() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

     *
     * @author Louis Wasserman
     */
    @GwtIncompatible // NavigableMap
    @NullUnmarked
    public class ImmutableRangeMapTest extends TestCase {
      private static final ImmutableList<Range<Integer>> RANGES;
      private static final int MIN_BOUND = 0;
      private static final int MAX_BOUND = 10;
    
      static {
        ImmutableList.Builder<Range<Integer>> builder = ImmutableList.builder();
    
        builder.add(Range.<Integer>all());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. okhttp-java-net-cookiejar/api/okhttp-java-net-cookiejar.api

    public final class okhttp3/java/net/cookiejar/JavaNetCookieJar : okhttp3/CookieJar {
    	public fun <init> (Ljava/net/CookieHandler;)V
    	public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Nov 20 16:20:29 UTC 2023
    - 264 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

        TreeMultiset<E> multiset = create();
        Iterables.addAll(multiset, elements);
        return multiset;
      }
    
      private final transient Reference<AvlNode<E>> rootReference;
      private final transient GeneralRange<E> range;
      private final transient AvlNode<E> header;
    
      /**
       * An instance created in {@link #readObject} to be returned from {@link #readResolve}. This field
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/BytesTest.java

     *
     * @author Kevin Bourrillion
     */
    @NullMarked
    @GwtCompatible
    public class BytesTest extends TestCase {
      private static final byte[] EMPTY = {};
      private static final byte[] ARRAY1 = {(byte) 1};
      private static final byte[] ARRAY234 = {(byte) 2, (byte) 3, (byte) 4};
    
      private static final byte[] VALUES = {Byte.MIN_VALUE, -1, 0, 1, Byte.MAX_VALUE};
    
      // We need to test that our method behaves like the JDK method.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/Quantiles.java

       * q and the k in the kth q-quantile) have been specified.
       *
       * @since 20.0
       */
      public static final class ScaleAndIndex {
    
        private final int scale;
        private final int index;
    
        private ScaleAndIndex(int scale, int index) {
          checkIndex(index, scale);
          this.scale = scale;
          this.index = index;
        }
    
        /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  7. mockwebserver-junit4/README.md

    ```
    testImplementation("com.squareup.okhttp3:mockwebserver3-junit4:5.3.0")
    ```
    
    Then in tests annotated `@org.junit.Test`, you may declare a field with the `@Rule` annotation:
    
    ```
    @Rule public final MockWebServerRule serverRule = new MockWebServerRule();
    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 706 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00, since it's the first request
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

    import org.mockito.Mockito;
    
    /**
     * Tests for RateLimiter.
     *
     * @author Dimitris Andreou
     */
    @NullUnmarked
    public class RateLimiterTest extends TestCase {
      private static final double EPSILON = 1e-8;
    
      private final FakeStopwatch stopwatch = new FakeStopwatch();
    
      public void testSimple() {
        RateLimiter limiter = RateLimiter.create(5.0, stopwatch);
        limiter.acquire(); // R0.00, since it's the first request
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            }
        }
    
        @Test
        void testPerformProfileActivation() throws ParseException {
            final CommandLineParser parser = new DefaultParser();
    
            final Options options = new Options();
            options.addOption(Option.builder(Character.toString(CLIManager.ACTIVATE_PROFILES))
                    .hasArg()
                    .build());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top