- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 979 for buffer (0.03 sec)
-
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
return HEADER_LENGTH; } int readHeaderWireFormat(final InputStream in, final byte[] buffer, int bufferIndex) throws IOException { type = buffer[bufferIndex] & 0xFF; bufferIndex++; length = ((buffer[bufferIndex] & 0x01) << 16) + readInt2(buffer, bufferIndex + 1); return HEADER_LENGTH; } abstract int writeTrailerWireFormat(byte[] dst, int dstIndex);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcSecurityProvider.java
* Wraps outgoing DCERPC message data for security protection * @param outgoing the buffer containing data to be wrapped * @throws DcerpcException if the wrapping operation fails */ void wrap(NdrBuffer outgoing) throws DcerpcException; /** * Unwraps incoming DCERPC message data after security processing * @param incoming the buffer containing data to be unwrappedRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
// Test engineDigest with buffer too small HMACT64 hmac = new HMACT64(TEST_KEY); hmac.engineUpdate(TEST_DATA, 0, TEST_DATA.length); byte[] buffer = new byte[10]; // Should throw exception when buffer is too small assertThrows(IllegalStateException.class, () -> hmac.engineDigest(buffer, 0, 10)); } @Test void testClone() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt
import assertk.assertions.isEqualTo import assertk.assertions.isNull import okio.Buffer import org.junit.jupiter.api.Test class ConfiguredPublicSuffixDatabaseTest { private val list = ConfiguredPublicSuffixList() private val publicSuffixDatabase = PublicSuffixDatabase(list) @Test fun longestMatchWins() { list.bytes = Buffer() .writeUtf8("com\n") .writeUtf8("my.square.com\n")Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
/** * Create new DiSNI memory region * * @param buffer memory buffer to register * @param access access permissions * @param endpoint DiSNI endpoint for registration */ public DisniMemoryRegion(ByteBuffer buffer, EnumSet<RdmaAccess> access, Object endpoint) { super(buffer, access); this.endpoint = endpoint;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java
return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComBlankResponseTest.java
/** * Tests for the SmbComBlankResponse class. */ class SmbComBlankResponseTest { private SmbComBlankResponse response; private byte[] buffer; @BeforeEach void setUp() { response = new SmbComBlankResponse(); buffer = new byte[100]; } /** * Test for the writeParameterWordsWireFormat method. * It should always return 0. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteDirectoryTest.java
byte[] buffer = new byte[10]; int result = sdd.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } /** * Test readBytesWireFormat. */ @Test void testReadBytesWireFormat() { SmbComDeleteDirectory sdd = new SmbComDeleteDirectory("testDir"); byte[] buffer = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.7K bytes - Viewed (0) -
cmd/sftp-server-driver.go
return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset) } w.buffer[offset] = make([]byte, len(b)) copy(w.buffer[offset], b) n = len(b) } again: nextOut, ok := w.buffer[w.nextOffset] if ok { n, err = w.w.Write(nextOut) delete(w.buffer, w.nextOffset) w.nextOffset += int64(n) if n != len(nextOut) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Feb 10 16:35:49 UTC 2025 - 11.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
for (PrimitiveSink sink : sinks) { ByteBuffer buffer = ByteBuffer.wrap(value); Java8Compatibility.position(buffer, pos); Java8Compatibility.limit(buffer, limit); sink.putBytes(buffer); assertEquals(limit, buffer.limit()); assertEquals(limit, buffer.position()); } } }, PUT_STRING() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0)