- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 466 for COffset (0.05 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
// Verify all chunks int offset = HEADER_SIZE; assertEquals(0L, SMBUtil.readInt8(buffer, offset)); assertEquals(1024L, SMBUtil.readInt8(buffer, offset + 8)); assertEquals(4096, SMBUtil.readInt4(buffer, offset + 16)); offset += CHUNK_SIZE; assertEquals(4096L, SMBUtil.readInt8(buffer, offset));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
byte[] buffer = new byte[100]; int offset = 10; // When int bytesWritten = request.writeBytesWireFormat(buffer, offset); // Then assertEquals(4, bytesWritten, "Should write 4 bytes"); // Check that structure size (4) is written as 2-byte little-endian assertEquals(4, buffer[offset] | (buffer[offset + 1] << 8), "Structure size should be 4");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
* @param offset * The starting offset in the input data * @param len * The length of data to process */ public void update(final byte[] input, final int offset, final int len) { if (log.isTraceEnabled()) { log.trace("update: " + this.updates + " " + offset + ":" + len);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
assertEquals(12, bytesWritten); assertEquals(1, SMBUtil.readInt2(buffer, offset)); assertEquals(6, SMBUtil.readInt2(buffer, offset + 2)); assertEquals(PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512, SMBUtil.readInt2(buffer, offset + 4)); assertArrayEquals(salt, Arrays.copyOfRange(buffer, offset + 6, offset + 12)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
@Test @DisplayName("Should handle offset correctly in verify") void testVerifyWithOffset() throws Exception { byte[] largeData = new byte[256]; int offset = 64; Arrays.fill(largeData, (byte) 0x00); // Set signed flag at correct offset SMBUtil.writeInt4(ServerMessageBlock2.SMB2_FLAGS_SIGNED, largeData, offset + 16); // Create valid signature
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
int offset = 128; Smb2ReadRequest requestWithBuffer = new Smb2ReadRequest(mockConfig, testFileId, specificBuffer, offset); Smb2ReadResponse response = requestWithBuffer.createResponse(mockContext, requestWithBuffer); assertNotNull(response); // Response should be created with same buffer and offset } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
p.get(',') } } a.Type = obj.TYPE_REGLIST switch p.arch.Family { case sys.ARM: a.Offset = int64(bits) case sys.ARM64: offset, err := arch.ARM64RegisterListOffset(firstReg, regCnt, arrangement) if err != nil { p.errorf("%v", err) } a.Offset = offset default: p.errorf("register list not supported on this architecture") } }
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 14 15:13:11 UTC 2025 - 37.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbTreeHandle.java
* @return the tree is connected */ boolean isConnected(); /** * Gets the server timezone offset in milliseconds * @return server timezone offset * @throws CIFSException if an error occurs retrieving the timezone offset */ long getServerTimeZoneOffset() throws CIFSException; /** * Gets the OEM domain name reported by the server
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.6K bytes - Viewed (0) -
src/archive/zip/struct.go
// timeZone returns a *time.Location based on the provided offset. // If the offset is non-sensible, then this uses an offset of zero. func timeZone(offset time.Duration) *time.Location { const ( minOffset = -12 * time.Hour // E.g., Baker island at -12:00 maxOffset = +14 * time.Hour // E.g., Line island at +14:00 offsetAlias = 15 * time.Minute // E.g., Nepal at +5:45 ) offset = offset.Round(offsetAlias)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
@DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { String fileName = "offset_test.txt"; int action = FileNotifyInformation.FILE_ACTION_MODIFIED; int offset = 50; byte[] smallBuffer = createValidNotificationBuffer(fileName, action); byte[] buffer = new byte[smallBuffer.length + offset + 50];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0)