- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 540 for AOffset (0.05 seconds)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals((byte) 0xFE, buffer[offset]); assertEquals((byte) 'S', buffer[offset + 1]); assertEquals((byte) 'M', buffer[offset + 2]); assertEquals((byte) 'B', buffer[offset + 3]); } @Test @DisplayName("Should handle deep message chaining") void testDeepMessageChaining() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 39.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
} return this; } /** * Calculates padding needed for the given offset * @param offset * the current offset * @return padding size in bytes */ protected int pad(final int offset) { final int p = offset % getPadding(); if (p == 0) { return 0; } return getPadding() - p; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0) -
docs_src/sql_databases/tutorial002_an_py310.py
session.refresh(db_hero) return db_hero @app.get("/heroes/", response_model=list[HeroPublic]) def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ): heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}", response_model=HeroPublic) def read_hero(hero_id: int, session: SessionDep):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @param off offset in the buffer * @param length maximum length to receive * @return number of bytes received * @throws IOException if an I/O error occurs */ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send * @param off offset in the bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
/** * Copies the contents of this immutable collection into the specified array at the specified * offset. Returns {@code offset + size()}. */ @CanIgnoreReturnValue int copyIntoArray(@Nullable Object[] dst, int offset) { for (E e : this) { dst[offset++] = e; } return offset; } @J2ktIncompatible @GwtIncompatible Object writeReplace() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 21.4K bytes - Click Count (0) -
cmd/httprange.go
// Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1} // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1} type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 } // GetLength - get length of rangeCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
response.setDataCount(infoData.length); int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); } // Helper methods to create mock buffers for different file information types private byte[] createMockFileBasicInfoBuffer() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java
} /** * Decode from byte array * * @param data source data * @param offset starting offset * @return decoded response */ public static SmbDirectNegotiateResponse decode(byte[] data, int offset) { if (data.length - offset < 32) { throw new IllegalArgumentException("Invalid SMB Direct Negotiate Response length"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 9.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
* @param offset the starting position in the array * @param length the number of hex digits to convert * @return the integer value of the hex digits */ public static int hex_to_bin(final char[] arr, final int offset, final int length) { int value = 0; int ai, count; count = 0; for (ai = offset; ai < arr.length && count < length; ai++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(0, ndrBuffer.index); assertEquals(0, ndrBuffer.length); assertSame(ndrBuffer, ndrBuffer.deferred); assertSame(buffer, ndrBuffer.buf); // Test with a different start offset NdrBuffer offsetBuffer = new NdrBuffer(buffer, 10); assertEquals(10, offsetBuffer.start); assertEquals(10, offsetBuffer.index); assertEquals(0, offsetBuffer.length); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0)