- Sort Score
- Num 10 results
- Language All
Results 351 - 360 of 1,533 for IsSource (0.09 seconds)
-
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } } fun exhaustRequest() = apply { actions += { stream -> if (!stream.source.exhausted()) throw AssertionError("expected exhausted") } } fun cancelStream() =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
guava/src/com/google/common/annotations/GwtCompatible.java
/** * When {@code true}, the annotated type is emulated in GWT. The emulated source (also known as * super-source) is different from the implementation used by the JVM. * * @see <a href= * "https://www.gwtproject.org/doc/latest/DevGuideOrganizingProjects.html#DevGuideModules"> * Documentation about GWT emulated source</a> */ boolean emulated() default false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:15:36 GMT 2025 - 2K 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) -
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) -
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) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Gzip.kt
package okhttp3 import okhttp3.CompressionInterceptor.DecompressionAlgorithm import okio.BufferedSource import okio.GzipSource import okio.Source object Gzip : DecompressionAlgorithm { override val encoding: String get() = "gzip" override fun decompress(compressedSource: BufferedSource): Source = GzipSource(compressedSource)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Oct 07 15:15:28 GMT 2025 - 936 bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/SnippetsTask.groovy
} } static Source matchSource(String line) { def matcher = line =~ /\["?source"?,\s*"?([-\w]+)"?(,((?!id=).)*(id="?([-\w]+)"?)?(.*))?].*/ if(matcher.matches()){ return new Source(matches: true, language: matcher.group(1), name: matcher.group(5)) } return new Source(matches: false) } static class Source { boolean matchesCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 20 10:08:26 GMT 2021 - 17.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
"kotlin/com/example/Source.kt", """ package com.example import org.gradle.api.Incubating $v1 """ ) }, v2 = { withKotlinFile( "kotlin/com/example/Source.kt", """
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0)