Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 313 for sekonda (0.14 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

          """
          |data: first event
          |id: 1
          |
          |data: second event
          |id
          |
          |data: third event
          |
          |
          """.trimMargin(),
        )
        assertThat(callbacks.remove()).isEqualTo(Event("1", null, "first event"))
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "second event"))
        assertThat(callbacks.remove()).isEqualTo(Event(null, null, "third event"))
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.collect.Lists;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/AutobahnTester.kt

              t: Throwable,
              response: Response?,
            ) {
              t.printStackTrace(System.out)
              latch.countDown()
            }
          },
        )
    
        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt

        }
    
        /**
         * Sets the minimum number of seconds that a response will continue to be fresh for. If the
         * response will be stale when [minFresh] have elapsed, the cached response will not be used and
         * a network request will be made.
         *
         * @param minFresh a non-negative integer. This is stored and transmitted with
         *     [TimeUnit.SECONDS] precision; finer precision will be lost.
         */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.testing.NullPointerTester;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.Executor;
    import java.util.concurrent.atomic.AtomicInteger;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          if (first == null) {
            actionWhenFirstParamIsNull.act();
          }
          if (second == null) {
            actionWhenSecondParamIsNull.act();
          }
        }
    
        /** Two-arg method with no Nullable params. */
        public void normalNormal(String first, Integer second) {
          reactToNullParameters(first, second);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java

        public int compare(@Nullable String first, @Nullable String second) {
          if (first == second) {
            return 0;
          } else if (first == null) {
            return -1;
          } else if (second == null) {
            return 1;
          } else if (first.length() != second.length()) {
            return first.length() - second.length();
          } else {
            return first.compareTo(second);
          }
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

    import static com.google.common.cache.TestingCacheLoaders.identityLoader;
    import static com.google.common.truth.Truth.assertThat;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.cache.LocalCache.LocalLoadingCache;
    import com.google.common.cache.LocalCache.Segment;
    import com.google.common.collect.ImmutableMap;
    import com.google.common.collect.ImmutableSet;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        // causing the thread to be suspended for 3.5 seconds, and then park itself for 2 seconds after
        // being resumed. To avoid a flake in this scenario, calculate how long that thread actually
        // waited and assert based on that time. Empirically, the race where the thread ends up waiting
        // for 5.5 seconds happens about 2% of the time.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
Back to top