- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 40 for DataLength (0.1 seconds)
-
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 9.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
while (this.pad-- > 0) { dst[dstIndex] = (byte) 0xEE; dstIndex++; } System.arraycopy(this.b, this.off, dst, dstIndex, this.dataLength); dstIndex += this.dataLength; return dstIndex - start; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
} } @Test fun readPaddedDataFrame() { val dataLength = 1123 val expectedData = ByteArray(dataLength) Arrays.fill(expectedData, 2.toByte()) val paddingLength = 254 val padding = ByteArray(paddingLength) Arrays.fill(padding, 0.toByte()) writeMedium(frame, dataLength + paddingLength + 1) frame.writeByte(Http2.TYPE_DATA) frame.writeByte(FLAG_PADDED)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 28.1K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
int numNames = 10; int dataLength = 1 + (18 * numNames) + 6 + 6; byte[] src = new byte[dataLength]; int srcIndex = 0; Field rDataLengthField = NameServicePacket.class.getDeclaredField("rDataLength"); rDataLengthField.setAccessible(true); rDataLengthField.set(response, dataLength); // Number of names src[srcIndex] = (byte) numNames;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
assertEquals(0, SMBUtil.readInt2(buffer, 8)); // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding) assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataLength field (4 bytes) - should be 32 (lease V1 structure size) assertEquals(32, SMBUtil.readInt4(buffer, 12)); // Verify context name is encoded at offset 16 byte[] nameBytes = new byte[4];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
assertEquals(0, SMBUtil.readInt2(buffer, 8)); // Reserved assertEquals(24, SMBUtil.readInt2(buffer, 10)); // DataOffset assertEquals(52, SMBUtil.readInt4(buffer, 12)); // DataLength // Verify context name byte[] nameBytes = new byte[4]; System.arraycopy(buffer, 16, nameBytes, 0, 4); assertEquals("DLse", new String(nameBytes));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateResponse.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
if (dstIndex + this.dataLength > dst.length) { throw new IllegalArgumentException( String.format("Data exceeds buffer size ( remain buffer: %d data length: %d)", dst.length - dstIndex, this.dataLength)); } System.arraycopy(this.data, this.dataOffset, dst, dstIndex, this.dataLength); dstIndex += this.dataLength;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
LockFreeBitArray dataArray = new LockFreeBitArray(Math.multiplyExact(dataLength, 64L)); for (int i = 0; i < dataLength; i++) { dataArray.putData(i, din.readLong()); } return new BloomFilter<>(dataArray, numHashFunctions, funnel, strategy); } catch (IOException e) { throw e; } catch (Exception e) { // sneaky checked exception String message =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextRequest.java
dstIndex += 2; SMBUtil.writeInt2(24, dst, dstIndex); // DataOffset (from start of context) dstIndex += 2; SMBUtil.writeInt4(52, dst, dstIndex); // DataLength dstIndex += 4; // Write context name System.arraycopy(CONTEXT_NAME_BYTES, 0, dst, dstIndex, 4); dstIndex += 4; // Padding to align data to 8-byte boundaryCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 6.2K bytes - Click Count (0)