Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for enums (0.01 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

        assertThat(
          requestAfter.exchangeIndex == 0 ||
            server.requestCount == 3 &&
            server.takeRequest().exchangeIndex == 0,
        ).isTrue()
      }
    
      internal enum class WriteKind {
        BYTE_BY_BYTE,
        SMALL_BUFFERS,
        LARGE_BUFFERS,
      }
    
      @Test
      fun chunkedUpload_byteByByte() {
        doUpload(TransferKind.CHUNKED, WriteKind.BYTE_BY_BYTE)
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
        return closeables.whenClosedCountDown();
      }
    
      /** The state of a {@link CloseableList}. */
      enum State {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
         * The {@link CloseableList} has been subsumed into another. It may not be closed or subsumed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        val truncatedBody = Buffer()
        truncatedBody.write(fullBody, numBytesToKeep.toLong())
        builder.body(truncatedBody)
        builder.headers(headers)
        return builder
      }
    
      internal enum class TransferKind {
        CHUNKED {
          override fun setBody(
            response: MockResponse.Builder,
            content: Buffer,
            chunkSize: Int,
          ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

       */
      @VisibleForTesting
      CountDownLatch whenClosedCountDown() {
        return closeables.whenClosedCountDown();
      }
    
      /** The state of a {@link CloseableList}. */
      enum State {
        /** The {@link CloseableList} has not been subsumed or closed. */
        OPEN,
    
        /**
         * The {@link CloseableList} has been subsumed into another. It may not be closed or subsumed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
Back to top