- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,160 for readn (0.02 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
} /** * Attaches [tag] to the request using [T] as a key. Tags can be read from a request using * [Request.tag]. Use null to remove any existing tag assigned for [T]. * * Use this API to attach timing, debugging, or other application data to a request so that * you may read it in interceptors, event listeners, or callbacks. */ @JvmName("reifiedTag")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
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) -
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/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/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
/** * Test for the readSetupWireFormat method. * It should always return 0. */ @Test void testReadSetupWireFormat() { byte[] buffer = new byte[10]; // The method should not read anything and return 0 assertEquals(0, response.readSetupWireFormat(buffer, 0, 10), "readSetupWireFormat should return 0."); } /** * Test for the readParametersWireFormat method.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaTransport.java
} } /** * Performs RDMA read operation. * * @param buffer the buffer to read into * @param remoteAddress remote memory address * @param remoteKey remote access key * @param length number of bytes to read * @return number of bytes read * @throws IOException if operation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt
var b = addressOffset var i = pos while (i < limit) { if (b == address.size) return false // Too many groups. // Read a delimiter. if (b != addressOffset) { if (input[i] != '.') return false // Wrong delimiter. i++ } // Read 1 or more decimal digits for a value in 0..255. var value = 0 val groupOffset = i while (i < limit) { val c = input[i]
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
InputStream in = new FileInputStream(file); ByteArrayOutputStream out = new ByteArrayOutputStream(); byte[] buffer = new byte[100]; int read; while ((read = in.read(buffer)) != -1) { out.write(buffer, 0, read); } return out.toByteArray(); } } private static class FileCharSourceFactory extends FileFactory implements CharSourceFactory {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 17.9K bytes - Viewed (0) -
.github/workflows/labeler.yml
on: pull_request_target: types: - opened - synchronize - reopened # For label-checker - labeled - unlabeled jobs: labeler: permissions: contents: read pull-requests: write runs-on: ubuntu-latest steps: - uses: actions/labeler@v5 if: ${{ github.event.action != 'labeled' && github.event.action != 'unlabeled' }} - run: echo "Done adding labels"
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Oct 07 20:11:20 UTC 2024 - 828 bytes - Viewed (1) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java
byte[] buffer = new byte[256]; int read = trans2QueryFSInfo.readSetupWireFormat(buffer, 0, buffer.length); // Should always return 0 assertEquals(0, read); } @Test @DisplayName("Test readParametersWireFormat returns 0") void testReadParametersWireFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.9K bytes - Viewed (0)