- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,029 for Pread (0.02 sec)
-
src/archive/zip/register.go
return &pooledFlateReader{fr: fr} } type pooledFlateReader struct { mu sync.Mutex // guards Close and Read fr io.ReadCloser } func (r *pooledFlateReader) Read(p []byte) (n int, err error) { r.mu.Lock() defer r.mu.Unlock() if r.fr == nil { return 0, errors.New("Read after Close") } return r.fr.Read(p) } func (r *pooledFlateReader) Close() error { r.mu.Lock() defer r.mu.Unlock() var err error
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Oct 13 18:36:46 UTC 2023 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
assertEquals(0, response.writeDataWireFormat(null, 0)); } @Test @DisplayName("Should handle null buffer in read operations") void testReadOperationsWithNullBuffer() { // Read operations return 0 when given null buffer - no exceptions thrown assertEquals(0, response.readSetupWireFormat(null, 0, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
writeInt4(500, buffer, 12); // free writeInt2(512, buffer, 16); // bytesPerSect int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length); assertEquals(20, bytesRead, "Should read 20 bytes"); assertNotNull(response.info, "Info object should not be null"); assertTrue(response.info instanceof Trans2QueryFSInformationResponse.SmbInfoAllocation, "Info should be of type SmbInfoAllocation");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
@Throws(IOException::class) override fun read( sink: Buffer, byteCount: Long, ): Long { while (left == 0) { source.skip(padding.toLong()) padding = 0 if (flags and FLAG_END_HEADERS != 0) return -1L readContinuationHeader() // TODO: test case for empty continuation header? } val read = source.read(sink, minOf(byteCount, left.toLong()))Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
byte[] buffer = new byte[512]; int written = originalPacket.writeWireFormat(buffer, 0); // Read from buffer ByteArrayInputStream bais = new ByteArrayInputStream(buffer); SessionRequestPacket readPacket = new SessionRequestPacket(mockConfig); // Skip header (already read by parent class) bais.skip(4); readPacket.type = buffer[0] & 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
* </p> * * <p> * The reader supports limiting the number of documents read based on a percentage of the total documents * or a fixed number. It also allows filtering documents based on their size, using the {@code limitOfDocumentSize} * parameter. * </p> * * <p> * The reader uses a queue to buffer documents read from Elasticsearch, and it retries failed requests * up to a maximum number of times. * </p> *Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/InputStreamThread.java
/** Maximum number of lines to keep in the buffer */ private final int bufferSize; /** Callback function to process each line as it's read */ private final Consumer<String> outputCallback; /** * Creates a new input stream thread. * * @param is the input stream to read from * @param charset the character encoding to use for readingRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.6K bytes - Viewed (0) -
docs/em/docs/tutorial/request-files.md
* `read(size)`: โ `size` (`int`) ๐ข/๐ฆน ๐. * `seek(offset)`: ๐ถ ๐ข ๐ง `offset` (`int`) ๐. * ๐คถ โ., `await myfile.seek(0)` ๐ ๐ถ โถ๏ธ ๐. * ๐ โด๏ธ โ ๐ฅ ๐ ๐ `await myfile.read()` ๐ & โคด๏ธ ๐ช โ ๐ ๐. * `close()`: ๐ ๐. ๐ ๐ซ ๐ฉโ๐ฌ `async` ๐ฉโ๐ฌ, ๐ ๐ช "โ" ๐ซ. ๐ผ, ๐ `async` *โก ๐ ๏ธ ๐ข* ๐ ๐ช ๐ค ๐ โฎ๏ธ: ```Python contents = await myfile.read() ```Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 5.9K bytes - Viewed (0) -
ci/official/containers/ml_build_arm64/builder.devtoolset/build_devtoolset.sh
case "${VERSION}" in devtoolset-9) wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 "https://vault.centos.org/centos/7/sclo/Source/rh/devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" rpm2cpio "devtoolset-9-gcc-9.3.1-2.2.el7.src.rpm" |cpio -idmv tar -xvf "gcc-9.3.1-20200408.tar.xz" --strip 1 ;; devtoolset-10)Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Nov 11 19:25:56 UTC 2024 - 6.1K bytes - Viewed (0)