- Sort Score
- Result 10 results
- Languages All
Results 571 - 580 of 777 for buffer (0.1 sec)
-
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
import assertk.assertThat import assertk.assertions.startsWith import kotlin.test.assertFailsWith import kotlin.test.fail import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.internal.idn.Punycode import okio.Buffer import okio.ByteString import okio.ByteString.Companion.encodeUtf8 /** * Tests how each code point is encoded and decoded in the context of each URL component. * * This supports [HttpUrlTest]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
internal/s3select/json/record.go
return r.SelectFormat, r.KVS } // WriteJSON - encodes to JSON data. func (r *Record) WriteJSON(writer io.Writer) error { return json.NewEncoder(writer).Encode(r.KVS) } // Replace the underlying buffer of json data. func (r *Record) Replace(k interface{}) error { v, ok := k.(jstream.KVS) if !ok { return fmt.Errorf("cannot replace internal data in json record with type %T", k) } r.KVS = v return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/s3select/simdj/record.go
if err != nil { return err } n, err := writer.Write(b) if err != nil { return err } if n != len(b) { return io.ErrShortWrite } return nil } // Replace the underlying buffer of json data. func (r *Record) Replace(k interface{}) error { v, ok := k.(simdjson.Object) if !ok { return fmt.Errorf("cannot replace internal data in simd json record with type %T", k) } r.object = v
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 5.4K bytes - Viewed (0) -
src/archive/zip/zip_test.go
t.Errorf("Modified: got %s, want %s\n", got, want) } } type repeatedByte struct { off int64 b byte n int64 } // rleBuffer is a run-length-encoded byte buffer. // It's an io.Writer (like a bytes.Buffer) and also an io.ReaderAt, // allowing random-access reads. type rleBuffer struct { buf []repeatedByte } func (r *rleBuffer) Size() int64 { if len(r.buf) == 0 { return 0 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
import okio.FileNotFoundException import okio.FileSystem import okio.ForwardingFileSystem import okio.ForwardingSource import okio.Path import okio.Sink import okio.Source import okio.blackholeSink import okio.buffer /** * A cache that uses a bounded amount of space on a filesystem. Each cache entry has a string key * and a fixed number of values. Each key must match the regex `[a-z0-9_-]{1,64}`. Values are byte
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 34.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2SetInfoRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 4.8K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
auto dtype = static_cast<tensorflow::DataType>(data_type); DCHECK(tensorflow::DataTypeCanUseMemcpy(dtype)); tensorflow::Tensor tensor(dtype, tensorflow::TensorShape({})); std::memcpy(tensorflow::TensorCApi::Buffer(tensor)->data(), data, len); status->status = absl::OkStatus(); return tensorflow::wrap(tensorflow::TensorHandle::CreateLocalHandle(tensor)); } // Set server_def on the context, possibly updating it.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt
import okhttp3.RequestBody import okhttp3.RequestBody.Companion.toRequestBody import okhttp3.ResponseBody import okhttp3.ResponseBody.Companion.toResponseBody import okio.ArrayIndexOutOfBoundsException import okio.Buffer import okio.BufferedSink import okio.BufferedSource import okio.ByteString.Companion.decodeHex import okio.Closeable import okio.FileNotFoundException import okio.FileSystem import okio.IOException
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 11K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/KotlinDeprecationErrorTest.kt
import okhttp3.mockwebserver.RecordedRequest import okhttp3.mockwebserver.SocketPolicy import okhttp3.tls.HandshakeCertificates import okhttp3.tls.HeldCertificate import okhttp3.tls.internal.TlsUtil.localhost import okio.Buffer import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test /** * Access every declaration that is deprecated with [DeprecationLevel.ERROR]. Although new Kotlin
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 13.3K bytes - Viewed (0)