- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 1,160 for readn (0.02 sec)
-
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
} bufferIndex += 4; // Read signature System.arraycopy(buffer, bufferIndex, header.signature, 0, 16); bufferIndex += 16; // Read nonce System.arraycopy(buffer, bufferIndex, header.nonce, 0, 16); bufferIndex += 16; // Read original message size header.originalMessageSize = SMBUtil.readInt4(buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket(); // Create a buffer large enough to hold the read bytes byte[] buffer = new byte[6];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
class IntegrationTests { @Test @DisplayName("Should handle complete read-write cycle") void testCompleteReadWriteCycle() throws SMBProtocolDecodingException { // Given byte[] writeBuffer = new byte[100]; byte[] readBuffer = new byte[100]; // Prepare valid read buffer SMBUtil.writeInt2(4, readBuffer, 10);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseResponseInterceptor.kt
@Throws(IOException::class) override fun read( sink: Buffer, byteCount: Long, ): Long { val buffer = Buffer() val read = delegate.read(buffer, byteCount) if (read != -1L) { sink.write(buffer.readByteString().toAsciiUppercase()) } return read } } }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.8K bytes - Viewed (0) -
docs/en/docs/async.md
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
/** {@link BufferedReader} */ protected final BufferedReader reader; /** The line that has been read */ protected String line = EMPTY; /** * Returns an {@link Iterable} that wraps a {@link LineIterator} for use in enhanced for-loops. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. * @return An {@link Iterable} that wraps a {@link LineIterator}.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/base/AbstractIterator.java
switch (state) { case DONE: return false; case READY: return true; default: } return tryToComputeNext(); } private boolean tryToComputeNext() { state = State.FAILED; // temporary pessimism next = computeNext(); if (state != State.DONE) { state = State.READY; return true; } return false; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0) -
.github/workflows/scorecard.yml
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: '45 9 * * 0' push: branches: [ "master" ] # Declare default permissions as read only. permissions: read-all jobs: analysis: name: Scorecard analysis runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. security-events: write
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 19:19:31 UTC 2025 - 2.9K 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)