Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for Ms (0.01 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
        Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      }
    
      public void testToString() {
        Multiset<String> ms = TreeMultiset.create();
        ms.add("a", 3);
        ms.add("c", 1);
        ms.add("b", 2);
    
        assertEquals("[a x 3, b x 2, c]", ms.toString());
      }
    
      public void testElementSetSortedSetMethods() {
        TreeMultiset<String> ms = TreeMultiset.create();
        ms.add("c", 1);
        ms.add("a", 3);
        ms.add("b", 2);
        SortedSet<String> elementSet = ms.elementSet();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

      public void testToString() {
        Multiset<String> ms = LinkedHashMultiset.create();
        ms.add("a", 3);
        ms.add("c", 1);
        ms.add("b", 2);
    
        assertEquals("[a x 3, c, b x 2]", ms.toString());
      }
    
      public void testLosesPlaceInLine() throws Exception {
        Multiset<String> ms = LinkedHashMultiset.create();
        ms.add("a");
        ms.add("b", 2);
        ms.add("c");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      public void testClassCreate() {
        Multiset<Color> ms = EnumMultiset.create(Color.class);
        ms.add(Color.RED);
        ms.add(Color.YELLOW);
        ms.add(Color.RED);
        assertEquals(0, ms.count(Color.BLUE));
        assertEquals(1, ms.count(Color.YELLOW));
        assertEquals(2, ms.count(Color.RED));
      }
    
      public void testCollectionCreate() {
        Multiset<Color> ms = EnumMultiset.create(asList(Color.RED, Color.YELLOW, Color.RED));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

      fun sleepWhileOpen(nanos: Long) {
        var ms = nanos / 1_000_000L
        val ns = nanos - (ms * 1_000_000L)
    
        while (ms > 100) {
          Thread.sleep(100)
          if (javaNetSocket.isClosed) throw InterruptedIOException("socket closed")
          ms -= 100L
        }
    
        if (ms > 0L || ns > 0) {
          Thread.sleep(ms, ns.toInt())
        }
      }
    
      override fun cancel() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. android-test/src/androidTest/README.md

    01-01 12:53:32.816 10999 11090 D OkHttp  : [54 ms] responseHeadersStart
    01-01 12:53:32.816 10999 11090 D OkHttp  : [54 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AAAEAAQ}
    01-01 12:53:32.817 10999 11090 D OkHttp  : [55 ms] responseBodyStart
    01-01 12:53:32.818 10999 11090 D OkHttp  : [56 ms] responseBodyEnd: byteCount=128
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 22 08:12:58 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/AbstractConfigHelperTest.java

            long elapsed = endTime - startTime;
            assertTrue("Expected at least 15ms sleep, got " + elapsed + "ms", elapsed >= 15);
            // Generous tolerance for CI environments like GitHub Actions
            assertTrue("Expected less than 200ms sleep, got " + elapsed + "ms", elapsed < 200);
        }
    
        public void test_waitForNext_withZeroInterval() {
            configHelper.setReloadInterval(0L);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 00:03:47 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

    internal inline fun Lockable.notifyAll() = (this as Object).notifyAll()
    
    internal inline fun Lockable.awaitNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        (this as Object).wait(ms, ns.toInt())
      }
    }
    
    internal inline fun Lockable.assertLockNotHeld() {
      if (assertionsEnabled && Thread.holdsLock(this)) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        applicationLogs
          .assertLogEqual("--> GET $url")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
        networkLogs
          .assertLogEqual("--> GET $url http/1.1")
          .assertLogMatch(Regex("""<-- 200 OK $url \(\d+ms, 0-byte body\)"""))
          .assertNoMoreLogs()
      }
    
      @Test
      fun basicPost() {
        setLevel(Level.BASIC)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

        assertThat(log.take()!!)
          .contains("StreamResetException: stream was reset: CANCEL")
      }
    
      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
       * only elapse 1000 ms after the request body is sent.
       */
      @Test
      fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
Back to top