- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 73 for WriteTo (1.46 sec)
-
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
object : RequestBody() { override fun contentType(): MediaType? = null @Throws( IOException::class, ) override fun writeTo(sink: BufferedSink) { for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* versions. */ public byte[] toByteArray() { ByteBuffer buff = ByteBuffer.allocate(BYTES).order(ByteOrder.LITTLE_ENDIAN); writeTo(buff); return buff.array(); } /** * Writes to the given {@link ByteBuffer} a byte representation of this instance. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.8K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun encodedValue (I)Ljava/lang/String; public final fun name (I)Ljava/lang/String; public final fun size ()I public final fun value (I)Ljava/lang/String; public fun writeTo (Lokio/BufferedSink;)V } public final class okhttp3/FormBody$Builder { public fun <init> ()V public fun <init> (Ljava/nio/charset/Charset;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
// Call 1: set a deadline on the request body. val requestBody1: RequestBody = object : RequestBody() { override fun contentType(): MediaType = "text/plain".toMediaType() override fun writeTo(sink: BufferedSink) { sink.writeUtf8("abc") sink.timeout().deadline(5, TimeUnit.SECONDS) } } val request1 = Request .Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 146.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
policy = response, socketEffect = response.onResponseBody, expectedByteCount = body.contentLength, socket = socket, ).buffer() body.writeTo(responseBodySink) responseBodySink.emit() socket.sleepWhileOpen(response.trailersDelayNanos) if ("chunked".equals(response.headers["Transfer-Encoding"], ignoreCase = true)) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 02 20:36:00 UTC 2025 - 40.3K bytes - Viewed (0) -
mockwebserver/api/mockwebserver3.api
} public abstract interface class mockwebserver3/MockResponseBody { public abstract fun getContentLength ()J public abstract fun writeTo (Lokio/BufferedSink;)V } public final class mockwebserver3/MockWebServer : java/io/Closeable { public fun <init> ()V public fun close ()V public final fun enqueue (Lmockwebserver3/MockResponse;)V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 11.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
url = server.url("/foo"), body = object : RequestBody() { override fun contentType(): MediaType = "text/plain; charset=utf-8".toMediaType() override fun writeTo(sink: BufferedSink) { sink.write(postBytes) } }, ), ) val response = call.execute() assertThat(response.body.string()).isEqualTo("ABCDE")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 73.4K bytes - Viewed (0) -
api/go1.8.txt
pkg net/http, var ErrServerClosed error pkg net/http, var NoBody noBody pkg net/mail, func ParseDate(string) (time.Time, error) pkg net, method (*Buffers) Read([]uint8) (int, error) pkg net, method (*Buffers) WriteTo(io.Writer) (int64, error) pkg net, method (*Resolver) LookupAddr(context.Context, string) ([]string, error) pkg net, method (*Resolver) LookupCNAME(context.Context, string) (string, error)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 21 05:25:57 UTC 2016 - 16.3K bytes - Viewed (0) -
src/bytes/example_test.go
"fmt" "io" "os" "slices" "strconv" "unicode" ) func ExampleBuffer() { var b bytes.Buffer // A Buffer needs no initialization. b.Write([]byte("Hello ")) fmt.Fprintf(&b, "world!") b.WriteTo(os.Stdout) // Output: Hello world! } func ExampleBuffer_reader() { // A Buffer can turn a string or a []byte into an io.Reader. buf := bytes.NewBufferString("R29waGVycyBydWxlIQ==")
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0)