- Sort Score
- Num 10 results
- Language All
Results 731 - 740 of 909 for Buffers (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/disk/directio_unsupported.go
return os.OpenFile(filePath, flag, perm) } // DisableDirectIO is a no-op func DisableDirectIO(f *os.File) error { return nil } // AlignedBlock simply returns an unaligned buffer // for systems that do not support DirectIO. func AlignedBlock(blockSize int) []byte { return make([]byte, blockSize)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 18 18:08:15 GMT 2023 - 2.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
description: If so, how does this proposal differ? placeholder: | Yes or No If yes, 1. Mention the related proposals 2. then describe how this proposal differs validations: required: true - type: textarea id: error-handling-proposal attributes: label: Does this affect error handling?Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Aug 08 19:02:29 GMT 2024 - 4.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* * @author higa */ public abstract class InputStreamUtil { /** * Do not instantiate. */ protected InputStreamUtil() { } /** Default buffer size. */ private static final int BUF_SIZE = 4096; /** * Creates a {@link FileInputStream}. * * @param file the file (must not be {@literal null})Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3K bytes - Click Count (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 }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu May 23 01:00:11 GMT 2024 - 19.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2CancelRequest.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.5K bytes - Click Count (0) -
internal/grid/connection.go
gridLogIf(ctx, fmt.Errorf("ws write: %w", err)) } return false } if buf.Cap() > writeBufferSize*8 { // Reset buffer if it gets too big, so we don't keep it around. buf = bytes.Buffer{} } buf.Reset() return true } // Merge buffer to keep between calls merged := make([]byte, 0, writeBufferSize) for { var toSend []byte select { case <-ctx.Done():
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 46.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* Reads up to len bytes of data from this input stream into an array of bytes. * * @param b the buffer into which the data is read * @param off the start offset in the array b at which the data is written * @param len the maximum number of bytes to read * @return the total number of bytes read into the buffer, or -1 if there is no more data * @throws IOException if an I/O error occurs */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt
val recordedRequest = server.takeRequest() assertThat(recordedRequest.headers[":authority"]).isEqualTo("privateobject.com") } private fun gzip(bytes: String): Buffer { val bytesOut = Buffer() val sink = GzipSink(bytesOut).buffer() sink.writeUtf8(bytes) sink.close() return bytesOut } internal inner class AsyncRequest( val path: String,
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 67.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0)