- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 954 for buffer2 (0.03 sec)
-
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Expected structureSize = 9"); } final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
public void testBufferCreation() throws UnsupportedEncodingException { byte[] dataBytes = { 1, 2, 3, 4 }; String params = "test"; byte[] buffer = createBuffer(10, dataBytes, params); // Verify buffer structure assertTrue(buffer.length >= 14, "Buffer should contain header, params and data"); } @Test public void testByteOperations() {
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/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java
* readAndXWireFormat without reading the non-existent header. */ @Override int decode(final byte[] buffer, int bufferIndex) { final int start = headerStart = bufferIndex; bufferIndex += readHeaderWireFormat(buffer, bufferIndex); bufferIndex += readAndXWireFormat(buffer, bufferIndex); length = bufferIndex - start; return length; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.9K bytes - Viewed (0) -
src/archive/tar/writer_test.go
t.Fatal(err) } if hdr.Name != longName { t.Fatal("Couldn't recover long name") } } func TestValidTypeflagWithPAXHeader(t *testing.T) { var buffer bytes.Buffer tw := NewWriter(&buffer) fileName := strings.Repeat("ab", 100) hdr := &Header{ Name: fileName, Size: 4, Typeflag: 0, } if err := tw.WriteHeader(hdr); err != nil {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 39.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt
random.nextBytes(buf) assertRoundTrip(buf.toByteString()) } private fun assertRoundTrip(data: ByteString) { val encodeBuffer = Buffer() encode(data, encodeBuffer) assertThat(encodedLength(data).toLong()).isEqualTo(encodeBuffer.size) val decodeBuffer = Buffer() decode(encodeBuffer, encodeBuffer.size, decodeBuffer) assertEquals(data, decodeBuffer.readByteString()) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java
return 0; } @Override int readSetupWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) { return 0; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
buffer.putInt(0); // nextEntryOffset (0 = last entry) buffer.putInt(FileNotifyInformation.FILE_ACTION_MODIFIED); buffer.putInt(fileNameBytes3.length); buffer.put(fileNameBytes3); // Return only the used portion of the buffer byte[] result = new byte[buffer.position()]; buffer.rewind(); buffer.get(result); return result; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Response.java
/** * Verifies the signature of this response. * * @param buffer the buffer containing the signature data * @param i the starting index in the buffer * @param size the size of the signature data * @return whether signature verification is successful */ boolean verifySignature(byte[] buffer, int i, int size); /** * Checks if signature verification failed. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
final int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16); this.lengthInBytes = lHigh << 32 | lLow; return 20; } this.pid = SMBUtil.readInt2(buffer, bufferIndex); this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2); this.lengthInBytes = SMBUtil.readInt4(buffer, bufferIndex + 6); return 10; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0)