- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,064 for readn (0.02 sec)
-
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java
assertTrue(bytes >= 0); } @Test @DisplayName("Test read operations") void testReadOperations() { byte[] buffer = new byte[256]; // Test parameter words read int paramResult = transaction.readParameterWordsWireFormat(buffer, 0); assertEquals(0, paramResult); // Test bytes read int bytesResult = transaction.readBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param enumeration the enumeration to read from * @return next element from enumeration cast to type * @throws PACDecodingException if types are incompatible */ public static <T extends Object> T as(final Class<T> type, final Enumeration<?> enumeration) throws PACDecodingException { return as(type, enumeration.nextElement()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
false } /** * Returns true if new reads and writes should be attempted on this. * * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by * attempting to read with a short timeout. If the fails immediately we know the socket is * unhealthy. * * @param source the source used to read bytes from the socket. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt
import okio.ByteString.Companion.encodeUtf8 import okio.Options import okio.Source import okio.Timeout import okio.buffer /** * Reads a stream of [RFC 2046][rfc_2046] multipart body parts. Callers read parts one-at-a-time * until [nextPart] returns null. After calling [nextPart] any preceding parts should not be read. * * Typical use loops over the parts in sequence: * * ```kotlin * val response: Response = call.execute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2LogoffResponseTest.java
SMBUtil.writeInt2(4, buffer, start); Smb2LogoffResponse resp = newResponse(); // Act int read = resp.readBytesWireFormat(buffer, start); // Assert assertEquals(4, read, "Should return the fixed structure size (4)"); } @ParameterizedTest @ValueSource(ints = { 0, 1, 7 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.7K bytes - Viewed (0) -
cmd/perf-tests.go
} type firstByteRecorder struct { t *time.Time r io.Reader } func (f *firstByteRecorder) Read(p []byte) (n int, err error) { if f.t != nil || len(p) == 0 { return f.r.Read(p) } // Read a single byte. n, err = f.r.Read(p[:1]) if n > 0 { t := time.Now() f.t = &t } return n, err } // Runs the speedtest on local MinIO process.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
} catch (Throwable e) { throw closer.rethrow(e); } finally { closer.close(); } } /** * Reads the contents of this byte source using the given {@code processor} to process bytes as * they are read. Stops when all bytes have been read or the consumer returns {@code false}. * Returns the result produced by the processor. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Mar 20 20:55:20 UTC 2025 - 25.7K bytes - Viewed (0) -
cmd/storage-rest-server.go
// the Close() function is called. type closeNotifier struct { rc io.ReadCloser done chan struct{} } func (c *closeNotifier) Read(p []byte) (n int, err error) { n, err = c.rc.Read(p) if err != nil { if c.done != nil { xioutil.SafeClose(c.done) c.done = nil } } return n, err } func (c *closeNotifier) Close() error {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 45.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[10]; int read = response.readSetupWireFormat(buffer, 0, 10); assertEquals(0, read); } @Test void testReadParametersWireFormat() { // Test readParametersWireFormat returns 0
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.9K bytes - Viewed (0) -
docs/metrics/healthcheck/README.md
X-Amz-Request-Id: 16239D6AB80EBECF X-Xss-Protection: 1; mode=block Date: Tue, 21 Jul 2020 00:36:14 GMT ``` ### Cluster-readable probe The reply is '200 OK' if cluster has read quorum if not it returns '503 Service Unavailable'. ``` curl http://minio1:9001/minio/health/cluster/read HTTP/1.1 503 Service Unavailable Accept-Ranges: bytes Content-Length: 0 Server: MinIO Vary: Origin X-Amz-Bucket-Region: us-east-1 X-Minio-Write-Quorum: 3
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jul 06 16:18:38 UTC 2023 - 2.5K bytes - Viewed (0)