- Sort Score
- Result 10 results
- Languages All
Results 671 - 680 of 954 for bufLen (0.04 sec)
- 
				
				src/main/java/jcifs/dcerpc/msrpc/samr.java_dst.enc_ndr_long(this.idx); _dst.enc_ndr_short(this.name.length); _dst.enc_ndr_short(this.name.maximum_length); _dst.enc_ndr_referent(this.name.buffer, 1); if (this.name.buffer != null) { _dst = _dst.deferred; final int _name_bufferl = this.name.length / 2; final int _name_buffers = this.name.maximum_length / 2; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java_dst.align(4); _dst.enc_ndr_long(idx); _dst.enc_ndr_short(name.length); _dst.enc_ndr_short(name.maximum_length); _dst.enc_ndr_referent(name.buffer, 1); if (name.buffer != null) { _dst = _dst.deferred; final int _name_bufferl = name.length / 2; final int _name_buffers = name.maximum_length / 2; Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.1K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.javafinal int length = readUShort(src, index); final int offset = readULong(src, index + 4); final byte[] buffer = new byte[length]; System.arraycopy(src, offset, buffer, 0, length); return buffer; } static void writeULong(final byte[] dest, final int offset, final int ulong) { dest[offset] = (byte) (ulong & 0xff); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/pac/kerberos/KerberosPacAuthDataTest.javaDataOutputStream dos = new DataOutputStream(baos); // Write header with invalid version dos.writeInt(Integer.reverseBytes(1)); // 1 buffer dos.writeInt(Integer.reverseBytes(999)); // Invalid version // Add minimal buffer entry dos.writeInt(Integer.reverseBytes(PacConstants.LOGON_INFO)); dos.writeInt(Integer.reverseBytes(10)); dos.writeLong(Long.reverseBytes(100)); Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 6.3K bytes - Viewed (0)
- 
				
				okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt* limitations under the License. */ package okhttp3.internal.http2 import okhttp3.SimpleProvider import okhttp3.internal.http2.hpackjson.Case import okhttp3.internal.http2.hpackjson.Story import okio.Buffer import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.params.ParameterizedTest import org.junit.jupiter.params.provider.ArgumentsSource /** * Tests for round-tripping headers through hpack. Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/Smb2EchoResponse.java*/ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java@Test public void testInitialCountIsZero() { assertEquals(0, resp.getCount(), "Initial count should be zero"); } @Test public void testReadParameterWordsUpdatesCount() { // create a buffer with count = 0x1234 (4660 decimal) // Using little-endian byte order as per SMBUtil.readInt2 byte[] buf = new byte[12]; buf[0] = 0x34; // Low byte buf[1] = 0x12; // High byteRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0)
- 
				
				okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.ktimport kotlin.streams.toList import okio.Buffer /** Index [table] for compactness as specified by `IdnaMappingTable`. */ fun buildIdnaMappingTableData(table: SimpleIdnaMappingTable): IdnaMappingTableData { val simplified = mergeAdjacentRanges(table.mappings) val withoutSectionSpans = withoutSectionSpans(simplified) val sections = sections(withoutSectionSpans) val rangesBuffer = Buffer() val mappingsBuffer = StringBuilder() Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0)
- 
				
				okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.ktimport 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 Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb2/session/Smb2LogoffResponse.java* * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Structure size is not 4"); } return 4; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0)