- Sort Score
- Num 10 results
- Language All
Results 301 - 310 of 1,758 for read0 (0.03 seconds)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
) { private val countingSource: CountingSource = CountingSource(source) private val source: BufferedSource = countingSource.buffer() /** Total bytes read thus far. */ private val byteCount: Long get() = countingSource.bytesRead - source.buffer.size /** How many bytes to read before [peekHeader] should return false, or -1L for no limit. */ private var limit = -1LCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.5K bytes - Click Count (0) -
internal/lsync/lrwmutex_test.go
panic("Failed to acquire read lock") } // fmt.Println("1st read lock acquired, waiting...") if !lrwm.GetRLock(ctx, "", "object1", time.Second) { panic("Failed to acquire read lock") } // fmt.Println("2nd read lock acquired, waiting...") go func() { time.Sleep(2 * time.Second) lrwm.RUnlock() // fmt.Println("1st read lock released, waiting...") }() go func() {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Config.java
*/ String defaultValue() default ""; /** * Specifies whether the configuration property is read-only. * * @return true if the property is read-only, false otherwise */ boolean readOnly() default false; /** * Property source, which determines when and where the property will be read from or set for consumption.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestInputStream.java
public boolean closed() { return closed; } @Override public int read() throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(); } @Override public int read(byte[] b, int off, int len) throws IOException { throwIf(closed); throwIf(READ_THROWS); return in.read(b, off, len); } @Override public long skip(long n) throws IOException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
val body = body("") val bytes = body.byteStream() assertThat(bytes.read()).isEqualTo(-1) } @Test fun byteStreamSeesBom() { val body = body("efbbbf68656c6c6f") val bytes = body.byteStream() assertThat(bytes.read()).isEqualTo(0xef) assertThat(bytes.read()).isEqualTo(0xbb) assertThat(bytes.read()).isEqualTo(0xbf)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
// Read & Execute int readExecute = ACE.FILE_READ_DATA | ACE.FILE_READ_ATTRIBUTES | ACE.FILE_EXECUTE | ACE.READ_CONTROL; assertTrue((readExecute & ACE.FILE_READ_DATA) != 0, "Read & Execute should include FILE_READ_DATA"); assertTrue((readExecute & ACE.FILE_EXECUTE) != 0, "Read & Execute should include FILE_EXECUTE");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameServicePacketTest.java
NameServicePacket.writeInt2(2, src, 6); NameServicePacket.writeInt2(3, src, 8); NameServicePacket.writeInt2(4, src, 10); int read = packet.readHeaderWireFormat(src, 0); assertEquals(NameServicePacket.HEADER_LENGTH, read); assertEquals(0x1234, packet.nameTrnId); assertTrue(packet.isResponse); assertEquals(NameServicePacket.QUERY, packet.opCode);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
docs/recipes.md
``` ### Response Caching ([.kt][CacheResponseKotlin], [.java][CacheResponseJava]) To cache responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents!
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 47.8K bytes - Click Count (0) -
docs/en/docs/advanced/security/index.md
/// tip The next sections are **not necessarily "advanced"**. And it's possible that for your use case, the solution is in one of them. /// ## Read the Tutorial first { #read-the-tutorial-first } The next sections assume you already read the main [Tutorial - User Guide: Security](../../tutorial/security/index.md).
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 648 bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// Simulate RDMA read operation log.debug("DiSNI RDMA read request: {} bytes from remote address 0x{}", bytesToRead, Long.toHexString(remoteAddress)); return bytesToRead; } catch (Exception e) { state = RdmaConnectionState.ERROR; throw new IOException("DiSNI RDMA read failed", e); } } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (0)