- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 492 for AOffset (0.05 sec)
-
src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java
bufferIndex += 4; // Write comment offset (4 bytes) int commentOffset = serverNameSize + versionSize + typeSize + offsetSize; SMBUtil.writeInt4(commentOffset, buffer, bufferIndex); bufferIndex += 4; // Write comment at the calculated offset byte[] commentBytes = comment.getBytes(StandardCharsets.US_ASCII);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.4K 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 Dec 30 11:13:12 UTC 2025 - Last Modified: Tue May 28 21:41:09 UTC 2024 - 12.1K 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 signatureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java
final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid bufferIndex += 4; final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid bufferIndex += 4; final int saclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to sacl bufferIndex += 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
} @Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10; String expectedFilename = "offsetfile.txt"; byte[] buffer = new byte[200 + offset]; byte[] dataBuffer = createValidBuffer(expectedFilename, "OFFSET~1.TXT", true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
internal/s3select/jstream/decoder.go
} func (d *Decoder) emitAny() (any, error) { if d.pos >= atomic.LoadInt64(&d.end) { return nil, d.mkError(ErrUnexpectedEOF) } offset := d.pos - 1 i, t, err := d.any() if d.willEmit() { d.metaCh <- &MetaValue{ Offset: int(offset), Length: int(d.pos - offset), Depth: d.depth, Value: i, ValueType: t, } } return i, err }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 13.4K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
cmd/ftp-server-driver.go
obj.Close() } }() _, err = obj.Seek(offset, io.SeekStart) if err != nil { return 0, nil, err } info, err := obj.Stat() if err != nil { return 0, nil, err } n = info.Size - offset return n, obj, nil } // PutFile implements ftpDriver func (driver *ftpDriver) PutFile(ctx *ftp.Context, objPath string, data io.Reader, offset int64) (n int64, err error) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.3K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_py39.py
session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: Session = Depends(get_session), offset: int = 0, limit: int = Query(default=100, le=100), ) -> list[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}") def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
@Test @DisplayName("Should decode at different buffer offset") void testDecodeWithOffset() throws SMBProtocolDecodingException { byte[] buffer = new byte[256]; int offset = 100; byte[] responseData = createValidCopyChunkResponse(10, 131072, 1310720); System.arraycopy(responseData, 0, buffer, offset, responseData.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0)