- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 491 for Offset (0.09 sec)
-
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should decode at non-zero offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { int offset = 50; SMBUtil.writeInt2(1, buffer, offset); SMBUtil.writeInt2(EncryptionNegotiateContext.CIPHER_AES128_GCM, buffer, offset + 2); EncryptionNegotiateContext context = new EncryptionNegotiateContext();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten); // Verify structure size (4) is written at offset assertEquals(4, SMBUtil.readInt2(buffer, offset)); // Verify reserved field (0) is written at offset + 2
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComReadAndX.java
this.offset = offset; this.maxCount = minCount = maxCount; command = SMB_COM_READ_ANDX; openTimeout = 0xFFFFFFFF; } void setParam(final int fid, final long offset, final int maxCount) { this.fid = fid; this.offset = offset; this.maxCount = minCount = maxCount; } @Override int getBatchLimit(final byte command) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.1K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java
/** * Return the byte or character offset into the input source this location * is pointing to. If the input source is a file or a byte stream then * this is the byte offset into that stream, but if the input source is * a character media then the offset is the character offset. * Returns -1 if there is no offset available. * @return the current offset */ int getCharacterOffset(); /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Mar 25 10:50:01 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/erasure-encode_test.go
{dataBlocks: 4, onDisks: 8, offDisks: 2, blocksize: int64(blockSizeV2), data: oneMiByte, offset: 2, algorithm: DefaultBitrotAlgorithm, shouldFail: false, shouldFailQuorum: false}, // 2
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4); int offset = 0; offset += lock1.encode(buffer, offset); offset += lock2.encode(buffer, offset); offset += lock3.encode(buffer, offset); assertEquals(72, offset); // 3 * 24 // Verify first lock assertEquals(100L, SMBUtil.readInt8(buffer, 0));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
// Encode test data at offset int offset = bufferIndex; SMBUtil.writeInt4(idFileSystem, buffer, offset); offset += 4; SMBUtil.writeInt4(sectPerAlloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) alloc, buffer, offset); offset += 4; SMBUtil.writeInt4((int) free, buffer, offset); offset += 4;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SigningDigest.java
* @param offset the offset in the buffer where data starts * @param len the length of data to digest */ public void update(final byte[] input, final int offset, final int len) { if (LogStream.level >= 5) { log.println("update: " + updates + " " + offset + ":" + len); Hexdump.hexdump(log, input, offset, Math.min(len, 256)); log.flush();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertEquals(descrBytes[i], dst[offset + i]); } offset += descrBytes.length; // 3. Level (2 bytes) assertEquals(0x0001, SMBUtil.readInt2(dst, offset)); offset += 2; // 4. MaxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, offset); assertTrue(maxDataCount > 0); offset += 2; // Verify total bytes written
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0)