- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 492 for YOffset (0.05 seconds)
-
src/main/java/jcifs/util/ServerResponseValidator.java
} } /** * Validate offset and length for file operations * * @param offset file offset * @param length operation length * @param fileSize total file size * @throws SmbException if parameters are invalid */ public void validateFileOperation(long offset, long length, long fileSize) throws SmbException {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java
public int encode(byte[] buffer, int offset) { int start = offset; // Write context header SMBUtil.writeInt4(0, buffer, offset); // Next (offset to next context, 0 for last) offset += 4; SMBUtil.writeInt2(16, buffer, offset); // NameOffset (from start of context) offset += 2; SMBUtil.writeInt2(4, buffer, offset); // NameLength offset += 2;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt2(0x8004, buffer, 22); // Control flags SMBUtil.writeInt4(0, buffer, 24); // Owner offset SMBUtil.writeInt4(0, buffer, 28); // Group offset SMBUtil.writeInt4(0, buffer, 32); // SACL offset SMBUtil.writeInt4(0, buffer, 36); // DACL offset int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[offset]); assertEquals((byte) 0x00, dst[offset + 1]); assertEquals((byte) 0x00, dst[offset + 2]); assertEquals((byte) 0x00, dst[offset + 3]); } @Test @DisplayName("Test readSetupWireFormat returns 0") void testReadSetupWireFormat() { // Given
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java
@Test @DisplayName("Test decode with buffer offset") void testDecodeWithBufferOffset() throws SMBProtocolDecodingException { // Prepare test data with offset byte[] buffer = new byte[20]; // Extra space to test offset int bufferIndex = 7; // Start at offset 7 long expectedIndexNumber = 0xFEDCBA9876543210L; // Encode test data at offsetCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.1K bytes - Click Count (0) -
src/archive/tar/writer_test.go
Name: "gnu-sparse", Size: 6e10, SparseHoles: []sparseEntry{ {Offset: 0e10, Length: 1e10 - 100}, {Offset: 1e10, Length: 1e10 - 100}, {Offset: 2e10, Length: 1e10 - 100}, {Offset: 3e10, Length: 1e10 - 100}, {Offset: 4e10, Length: 1e10 - 100}, {Offset: 5e10, Length: 1e10 - 100}, }, }, nil}, testReadFrom{fileOps{Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
assertEquals(expected[i], dst[offset + i], () -> "byte index " + idx); } // The region before offset and after the payload must remain untouched. for (int i = 0; i < offset; i++) { final int idx = i; assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified"); } for (int i = offset + 8; i < dst.length; i++) { final int idx = i;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should handle output buffer with offset") void testReadBytesWireFormatWithOutputOffset() throws Exception { // Given int offset = 100; byte[] largeOutputBuffer = new byte[1024]; Smb2ReadResponse offsetResponse = new Smb2ReadResponse(mockConfig, largeOutputBuffer, offset); byte[] buffer = new byte[256]; int bodyStart = 0;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
docs_src/sql_databases/tutorial001_py310.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:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.7K bytes - Click Count (0)