- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,174 for readN (1.82 sec)
-
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access"); assertFalse(region.hasAccess(RdmaAccess.REMOTE_READ), "Should not have remote read access"); // Test cleanup region.close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
/** * Lock and read operation is supported capability. */ int CAP_LOCK_AND_READ = 0x0100; /** * NT find operations are supported capability. */ int CAP_NT_FIND = 0x0200; /** * DFS operations are supported capability. */ int CAP_DFS = 0x1000; /** * Large read operations are supported capability. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
trans2QueryPathInfo = new Trans2QueryPathInformation(config, TEST_FILENAME, TEST_INFO_LEVEL); byte[] buffer = new byte[256]; int read = trans2QueryPathInfo.readSetupWireFormat(buffer, 0, buffer.length); // Should read nothing (returns 0) assertEquals(0, read); } @Test void testReadParametersWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(2, buffer[2]); // Padding assertEquals(0x01, buffer[3]); // Read flags assertEquals(4096, SMBUtil.readInt4(buffer, 4)); // Read length assertEquals(8192L, SMBUtil.readInt8(buffer, 8)); // Offset assertArrayEquals(testFileId, Arrays.copyOfRange(buffer, 16, 32)); // File ID
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
public void testOpenStream() throws IOException { Reader reader = source.openStream(); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertExpectedString(writer.toString()); } public void testOpenBufferedStream() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.9K bytes - Viewed (0) -
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 = -1L
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
} } /** * Returns an InputStream to read the content from the cache. * If the content is stored in a file, a FileInputStream is returned. * Otherwise, a ByteArrayInputStream is returned to read the data from memory. * * @return an InputStream to read the cached content * @throws IOException if an I/O error occurs while creating the InputStream */
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
// Flags should not be set for partial read assertFalse(d.getParametersDone(), "parametersDone should be false for partial read"); assertFalse(d.getDataDone(), "dataDone should be false for partial read"); assertTrue(d.getHasMore(), "hasMore should remain true for partial read"); } /** * Test scenario with no data to read */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (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)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-testlib/pom.xml
--> <compilerArgs combine.self="override"> <arg>-sourcepath</arg> <arg>${project.basedir}/src</arg> <arg>--add-reads=com.google.common=ALL-UNNAMED</arg> <arg>--add-reads=com.google.common.testlib=ALL-UNNAMED</arg> <!-- https://errorprone.info/docs/installation#maven --> <arg>-XDcompilePolicy=simple</arg>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Mar 19 17:26:38 UTC 2025 - 4.9K bytes - Viewed (0)