- Sort Score
- Result 10 results
- Languages All
Results 531 - 540 of 954 for buffer1 (0.49 sec)
-
src/bufio/scan_test.go
} } // Test the line splitter, including some carriage returns but no long lines. func TestScanLongLines(t *testing.T) { // Build a buffer of lots of line lengths up to but not exceeding smallMaxTokenSize. tmp := new(bytes.Buffer) buf := new(bytes.Buffer) lineNum := 0 j := 0 for i := 0; i < 2*smallMaxTokenSize; i++ { genLine(tmp, lineNum, j, true) if j < smallMaxTokenSize { j++ } else {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
* * @param config the SMB configuration * @param pipeName the name of the pipe to call * @param data the data buffer to write to the pipe * @param off the offset in the data buffer * @param len the length of data to write */ public TransCallNamedPipe(final Configuration config, final String pipeName, final byte[] data, final int off, final int len) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java
* Constructs a transaction request for a named pipe operation. * * @param config the configuration to use * @param fid the file ID of the named pipe * @param data the data buffer to send * @param off the offset in the data buffer * @param len the length of data to send */ public TransTransactNamedPipe(final Configuration config, final int fid, final byte[] data, final int off, final int len) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
final byte[] buffer = this.getContext().getBufferCache().getBuffer(); try { // synchronize around encode and write so that the ordering for SMB1 signing can be maintained synchronized (this.outLock) { final int n = smb.encode(buffer, 4); Encdec.enc_uint32be(n & 0xFFFF, buffer, 0); /* 4 byte session message header */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java
assertTrue(result >= 0, "writeParameterWordsWireFormat should return non-negative value"); } @Test void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = response.readParameterWordsWireFormat(buffer, 0); // The method should read parameter words assertTrue(result >= 0, "readParameterWordsWireFormat should return non-negative value"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java
void testReadParameterWordsWireFormat() { byte[] buffer = new byte[1024]; int result = setupAndX.readParameterWordsWireFormat(buffer, 0); // The implementation always returns 0 assertEquals(0, result, "readParameterWordsWireFormat returns 0"); } @Test void testReadBytesWireFormat() { byte[] buffer = new byte[1024];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
private val controlFrameBuffer = Buffer() private val messageFrameBuffer = Buffer() /** Lazily initialized on first use. */ private var messageInflater: MessageInflater? = null // Masks are only a concern for server writers. private val maskKey: ByteArray? = if (isClient) null else ByteArray(4) private val maskCursor: Buffer.UnsafeCursor? = if (isClient) null else Buffer.UnsafeCursor() interface FrameCallback {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
} @Override public HashCode hashUnencodedChars(CharSequence input) { int len = input.length(); ByteBuffer buffer = ByteBuffer.allocate(len * 2).order(ByteOrder.LITTLE_ENDIAN); for (int i = 0; i < len; i++) { buffer.putChar(input.charAt(i)); } return hashBytes(buffer.array()); } @Override public HashCode hashString(CharSequence input, Charset charset) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
@Override protected int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt
import okhttp3.ResponseBody import okio.Buffer import okio.Source import okio.Timeout import okio.buffer internal class UnreadableResponseBody( private val mediaType: MediaType?, private val contentLength: Long, ) : ResponseBody(), Source { override fun contentType() = mediaType override fun contentLength() = contentLength override fun source() = buffer() override fun read( sink: Buffer,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 15:19:53 UTC 2025 - 1.7K bytes - Viewed (0)