- Sort Score
- Result 10 results
- Languages All
Results 411 - 420 of 954 for buffer1 (1.3 sec)
-
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
} @Test @DisplayName("Should reject null data buffer in sign method") void testSignNullDataBuffer() { assertThrows(IllegalArgumentException.class, () -> digest.sign(null, 0, 100, request, response), "Should throw IllegalArgumentException for null data buffer"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
val buffer = Buffer() body.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo(expected) } @Test fun buildEmptyForm() { val body = FormBody.Builder().build() val expected = "" assertThat(body.contentLength()).isEqualTo(expected.length.toLong()) val buffer = Buffer() body.writeTo(buffer) assertThat(buffer.readUtf8()).isEqualTo(expected)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java
void testReadSetupWireFormat() { querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, 0x1234, OWNER_SECURITY_INFORMATION); byte[] buffer = new byte[100]; int result = querySecurityDesc.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test @DisplayName("Test readParametersWireFormat returns zero")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
update(b, 0, b.length); } /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */ protected void update(byte[] b, int off, int len) { for (int i = off; i < off + len; i++) { update(b[i]); } } /** Updates this hasher with bytes from the given buffer. */ protected void update(ByteBuffer b) { if (b.hasArray()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.idl
* USHORT Length; * USHORT MaximumLength; * [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT * Buffer; * } UNICODE_STRING; */ typedef struct { uint16_t length; uint16_t maximum_length; [length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer; } unicode_string; /* * typedef struct _SID_IDENTIFIER_AUTHORITY { * UCHAR Value[6];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.idl
* USHORT Length; * USHORT MaximumLength; * [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT * Buffer; * } UNICODE_STRING; */ typedef struct { uint16_t length; uint16_t maximum_length; [length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer; } unicode_string; /* * typedef struct _SID_IDENTIFIER_AUTHORITY { * UCHAR Value[6];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContext.java
* @see jcifs.Decodable#decode(byte[], int, int) */ @Override public int decode(final byte[] buffer, int bufferIndex, final int len) throws SMBProtocolDecodingException { final int start = bufferIndex; final int nalgos = SMBUtil.readInt2(buffer, bufferIndex); final int nsalt = SMBUtil.readInt2(buffer, bufferIndex + 2); bufferIndex += 4; this.hashAlgos = new int[nalgos];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
@Override public String toString() { StringBuilder buffer = new StringBuilder(64); buffer.append("{enabled="); buffer.append(enabled); buffer.append(", checksums="); buffer.append(checksumPolicy); buffer.append(", updates="); buffer.append(updatePolicy); buffer.append('}'); return buffer.toString(); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
encodeSockaddr(buffer, 20); return buffer; } private void encodeSockaddr(byte[] buffer, int offset) { if (ipv6) { // IPv6 sockaddr_in6 structure writeInt2(buffer, offset, 23); // AF_INET6 writeInt2(buffer, offset + 2, 445); // Port writeInt4(buffer, offset + 4, 0); // Flow info
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
// Test wire format writing byte[] buffer = new byte[512]; int bytesWritten = request.writeBytesWireFormat(buffer, 64); // Verify all fields in the buffer assertEquals(33, SMBUtil.readInt2(buffer, 64)); // Structure size assertEquals((byte) 0x02, buffer[66]); // Info type assertEquals((byte) 0x08, buffer[67]); // File info class
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.9K bytes - Viewed (0)