- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 725 for bufLen (0.09 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 Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 14.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
dstIndex += 4; // one byte in buffer must be zero dst[ dstIndex ] = 0; dstIndex += 1; return dstIndex - start; } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat ( byte[] buffer, int bufferIndex ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
int writeDataWireFormat( byte[] dst, int dstIndex ) { return 0; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; } public String toString() {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 4.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Response.kt
*/ @Throws(IOException::class) fun peekBody(byteCount: Long): ResponseBody { val peeked = body.source().peek() val buffer = Buffer() peeked.request(byteCount) buffer.write(peeked, minOf(byteCount, peeked.buffer.size)) return buffer.asResponseBody(body.contentType(), buffer.size) } @JvmName("-deprecated_body") @Deprecated( message = "moved to val",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jul 06 09:38:30 UTC 2024 - 15.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
} System.arraycopy( dialects, 0, dst, dstIndex, dialects.length ); return dialects.length; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { return 0; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { return 0; } public String toString() { return new String( "SmbComNegotiate[" + super.toString() +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
static byte[] readSecurityBuffer(byte[] src, int index) { int length = readUShort(src, index); int offset = readULong(src, index + 4); byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(byte[] dest, int offset, int ulong) { dest[offset] = (byte) (ulong & 0xff);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 4.3K bytes - Viewed (0) -
tensorflow/c/c_api.h
// serialized representation of a `RunOptions` protocol buffer. // - `run_metadata` may be NULL, in which case it will be ignored; or // non-NULL, in which case it must point to an empty, freshly allocated // `TF_Buffer` that may be updated to contain the serialized representation // of a `RunMetadata` protocol buffer. // // The caller retains ownership of `input_values` (which can be deleted using
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComRename.java
} dstIndex += writeString( newFileName, dst, dstIndex ); return dstIndex - start; } int readParameterWordsWireFormat( byte[] buffer, int bufferIndex ) { return 0; } int readBytesWireFormat( byte[] buffer, int bufferIndex ) { return 0; } public String toString() { return new String( "SmbComRename[" + super.toString() +
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.3K bytes - Viewed (0) -
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt
import assertk.assertions.isEqualTo import okhttp3.internal.http2.hpackjson.HpackJsonUtil import okhttp3.internal.http2.hpackjson.Story import okio.Buffer /** * Tests Hpack implementation using https://github.com/http2jp/hpack-test-case/ */ open class HpackDecodeTestBase { private val bytesIn = Buffer() private val hpackReader = Hpack.Reader(bytesIn, 4096) protected fun testDecoder(story: Story) { for (testCase in story.cases) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
} fun body(body: Buffer) = body(body.toMockResponseBody()) fun body(body: MockResponseBody) = apply { setHeader("Content-Length", body.contentLength) this.body = body } /** Sets the response body to the UTF-8 encoded bytes of [body]. */ fun body(body: String): Builder = body(Buffer().writeUtf8(body))
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 13.3K bytes - Viewed (0)