Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 1,299 for coerce (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * [trailers], this doesn't block if the trailers are not immediately available, and instead
       * returns null.
       *
       * This will typically return null until [ResponseBody.source] has buffered the last byte of the
       * response body. Call `body.source().request(1024 * 1024)` to block until either that's done, or
       * 1 MiB of response data is loaded into memory. (You could use any size here, though large values
       * risk exhausting memory.)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ResponseJvmTest.kt

       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
            override fun close() {
              closed = true
            }
    
            override fun read(
              sink: Buffer,
              byteCount: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

              """
              |data: hey
              |
              |
              """.trimMargin(),
            ).setHeader("content-type", "text/event-stream")
            .build(),
        )
        val source = newEventSource()
        assertThat(source.request().url.encodedPath).isEqualTo("/")
        listener.assertOpen()
        listener.assertEvent(null, null, "hey")
        listener.assertClose()
      }
    
      @RetryingTest(5)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/MultiInputStreamTest.java

        assertTrue(newByteSource(0, start).contentEquals(joined));
      }
    
      public void testReadSingleByte() throws Exception {
        ByteSource source = newByteSource(0, 10);
        ByteSource joined = ByteSource.concat(source, source);
        assertEquals(20, joined.size());
        InputStream in = joined.openStream();
        assertFalse(in.markSupported());
        assertEquals(10, in.available());
        int total = 0;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. LICENSES/third_party/forked/libcontainer/LICENSE

          exercising permissions granted by this License.
    
          "Source" form shall mean the preferred form for making modifications,
          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Oct 22 13:56:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/log/bsbhv/BsFavoriteLogBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedAt(toLocalDateTime(source.get("createdAt")));
                result.setDocId(DfTypeUtil.toString(source.get("docId")));
                result.setQueryId(DfTypeUtil.toString(source.get("queryId")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

        } else {
          renameFaults.remove(file)
        }
      }
    
      @Throws(IOException::class)
      override fun atomicMove(
        source: Path,
        target: Path,
      ) {
        if (renameFaults.contains(source) || renameFaults.contains(target)) throw IOException("boom!")
        super.atomicMove(source, target)
      }
    
      @Throws(IOException::class)
      override fun delete(
        path: Path,
        mustExist: Boolean,
      ) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/CompressionInterceptor.kt

        }
    
      /**
       * A decompression algorithm such as Gzip. Must provide the Accept-Encoding value and decompress a Source.
       */
      interface DecompressionAlgorithm {
        val encoding: String
    
        fun decompress(compressedSource: BufferedSource): Source
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 15:15:28 UTC 2025
    - 2.9K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/opensearch/config/bsbhv/BsRoleTypeBhv.java

            try {
                final RESULT result = entityType.newInstance();
                result.setCreatedBy(DfTypeUtil.toString(source.get("createdBy")));
                result.setCreatedTime(DfTypeUtil.toLong(source.get("createdTime")));
                result.setName(DfTypeUtil.toString(source.get("name")));
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. LICENSE

          exercising permissions granted by this License.
    
          "Source" form shall mean the preferred form for making modifications,
          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Tue May 08 21:35:34 UTC 2018
    - 11.1K bytes
    - Viewed (0)
Back to top