- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 562 for Offset (0.03 seconds)
-
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
} /** * Gets the offset in the data buffer. * * @return the offset */ public final int getOffset() { return this.offset; } /** * Adjusts the offset by the specified amount. * * @param n the amount to adjust the offset */ public void adjustOffset(final int n) { this.offset += n; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/DiscreteDomainTest.java
} public void testLongsOffset() { assertEquals(1, DiscreteDomain.longs().offset(0L, 1).longValue()); assertEquals(Long.MAX_VALUE, DiscreteDomain.longs().offset(0L, Long.MAX_VALUE).longValue()); } public void testLongsOffsetExceptions() { assertThrows(IllegalArgumentException.class, () -> DiscreteDomain.longs().offset(0L, -1)); assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 3.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
int offset = 10; // Write structure size (4) at offset SMBUtil.writeInt2(4, buffer, offset); SMBUtil.writeInt2(0, buffer, offset + 2); // Reserved field // When int bytesRead = response.readBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesRead); } @DisplayName("Should throw exception for invalid structure size")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (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(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 1.9K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.9K bytes - Click Count (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));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (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) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3.1K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
breakReason = readInt4(buffer, offset); offset += 4; // AccessMaskHint (4 bytes) accessMaskHint = readInt4(buffer, offset); offset += 4; // ShareAccessHint (4 bytes) shareAccessHint = readInt4(buffer, offset); offset += 4; return offset - start; } } ``` ### 5.2 Lease Break Acknowledgment ```java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (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}, // 2Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0)