- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,787 for coerce (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt
import okhttp3.ResponseBody import okio.Buffer import okio.Source import okio.Timeout import okio.buffer internal class UnreadableResponseBody( private val mediaType: MediaType?, private val contentLength: Long, ) : ResponseBody(), Source { override fun contentType() = mediaType override fun contentLength() = contentLength override fun source() = buffer() override fun read( sink: Buffer,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 15:19:53 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt
toAddress: InetAddress, source: BufferedSource, sink: BufferedSink, ) { executor.execute { val name = "SocksProxy $fromAddress to $toAddress" threadName(name) { val buffer = Buffer() try { sink.use { source.use { while (true) { val byteCount = source.read(buffer, 8192L)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.7K bytes - Click Count (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
readEmptyLine(socket.source) break } chunkSizes.add(chunkSize) requestBodySink.write(socket.source, chunkSize.toLong()) readEmptyLine(socket.source) } } else -> { hasBody = false // No request body. } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 40.3K bytes - Click Count (0) -
okhttp-zstd/src/main/kotlin/okhttp3/zstd/Zstd.kt
import okhttp3.CompressionInterceptor import okio.BufferedSource import okio.Source /** * Support for Zstandard encoding. Use via the [CompressionInterceptor]. */ object Zstd : CompressionInterceptor.DecompressionAlgorithm { override val encoding: String get() = "zstd" override fun decompress(compressedSource: BufferedSource): Source = compressedSource.zstdDecompress()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 18:34:32 GMT 2025 - 1K bytes - Click Count (0) -
compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java
* Interpolate the value read from the xpp3 document * @param source The source value * @param fieldName A description of the field being interpolated. The implementation may use this to * log stuff. * @return The interpolated value. */ String transform(String source, String fieldName); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
fun maxDataLength(): Int = maxFrameSize /** * `source.length` may be longer than the max length of the variant's data frame. Implementations * must send multiple frames as necessary. * * @param source the buffer to draw bytes from. May be null if byteCount is 0. * @param byteCount must be between 0 and the minimum of `source.length` and [maxDataLength]. */ @Throws(IOException::class) fun data(
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java
public static CommonsCliMavenOptions parse(String source, String[] args) throws ParseException { CLIManager cliManager = new CLIManager(); return new CommonsCliMavenOptions(source, cliManager, cliManager.parse(args)); } protected CommonsCliMavenOptions(String source, CLIManager cliManager, CommandLine commandLine) { super(source, cliManager, commandLine); } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 25 17:39:57 GMT 2025 - 14.8K bytes - Click Count (0) -
README.md
[pip package](https://www.tensorflow.org/install/pip), to [enable GPU support](https://www.tensorflow.org/install/gpu), use a [Docker container](https://www.tensorflow.org/install/docker), and [build from source](https://www.tensorflow.org/install/source). To install the current release, which includes support for [CUDA-enabled GPU cards](https://www.tensorflow.org/install/gpu) *(Ubuntu and Windows)*: ``` pip install tensorflow ```
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 02 10:38:57 GMT 2026 - 11.6K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
import okio.GzipSink import okio.Source import okio.buffer import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.RegisterExtension class CompressionInterceptorTest { @RegisterExtension val clientTestRule = OkHttpClientTestRule() val source = Buffer().apply { write("Hello World".encodeUtf8()) } as Source @Test fun emptyDoesntChangeRequestOrResponse() {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Aug 01 06:04:22 GMT 2025 - 3K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy
* limitations under the License. */ package gradlebuild.docs.dsl.docbook import gradlebuild.docs.XIncludeAwareXmlProvider import gradlebuild.docs.dsl.source.TypeNameResolver import gradlebuild.docs.dsl.source.model.ClassMetaData import gradlebuild.docs.model.ClassMetaDataRepository import org.w3c.dom.Document class DslDocModel { private final File classDocbookDirCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.9K bytes - Click Count (0)