- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 562 for Offset (0.08 seconds)
-
src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java
@DisplayName("writeBytesWireFormat writes StructureSize=4 and Reserved=0 at given offset") void writeBytesWireFormat_writesExpectedValuesAtOffset(int offset) { // Arrange Smb2LogoffRequest req = newRequest(); byte[] buf = new byte[offset + 8]; // extra space for safety // Act int written = req.writeBytesWireFormat(buf, offset); // Assert: should write exactly 4 bytesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
cmd/sftp-server-driver.go
} func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) { w.m.Lock() defer w.m.Unlock() if w.nextOffset == offset { n, err = w.w.Write(b) w.nextOffset += int64(n) } else { if offset > w.nextOffset+ftpMaxWriteOffset { return 0, fmt.Errorf("write offset %d is too far ahead of next offset %d", offset, w.nextOffset) } w.buffer[offset] = make([]byte, len(b)) copy(w.buffer[offset], b)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Feb 10 16:35:49 GMT 2025 - 11.6K bytes - Click Count (0) -
docs_src/sql_databases/tutorial001_an_py310.py
session.commit() session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 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: SessionDep) -> Hero:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ByteSource.java
private final class SlicedByteSource extends ByteSource { final long offset; final long length; SlicedByteSource(long offset, long length) { checkArgument(offset >= 0, "offset (%s) may not be negative", offset); checkArgument(length >= 0, "length (%s) may not be negative", length); this.offset = offset; this.length = length; } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
if (offset >= mappingItemList.size() || offset < 0) { return new PagingList<>(Collections.<CharMappingItem> emptyList(), offset, size, mappingItemList.size()); } int toIndex = offset + size; if (toIndex > mappingItemList.size()) { toIndex = mappingItemList.size(); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 05:56:45 GMT 2025 - 15.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
return this; } /** * Gets the fragment offset. * * @return the fragment offset value */ public int getFragmentOffset() { return fragmentOffset; } /** * Sets the fragment offset with fluent interface. * * @param fragmentOffset the fragment offset value * @return this HighlightInfo instance for method chaining */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 10:17:07 GMT 2026 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComWriteAndX.java
* @param fid the file identifier * @param offset the file offset at which to write * @param remaining the number of bytes remaining to be written * @param b the data buffer containing bytes to write * @param off the offset in the buffer where data starts * @param len the number of bytes to write */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComWrite.java
private int fid, count, offset, remaining, off; private byte[] b; SmbComWrite() { command = SMB_COM_WRITE; } SmbComWrite(final int fid, final int offset, final int remaining, final byte[] b, final int off, final int len) { this.fid = fid; this.count = len; this.offset = offset; this.remaining = remaining; this.b = b;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
SMBUtil.writeInt2(shareType, buffer, bufferIndex); bufferIndex += 2; // Write remark offset (4 bytes) int remarkOffset = shareNameSize + typeSize + offsetSize; SMBUtil.writeInt4(remarkOffset, buffer, bufferIndex); bufferIndex += 4; // Write remark at the calculated offset byte[] remarkBytes = remark.getBytes(StandardCharsets.US_ASCII);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.2K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/FarmHashFingerprint64.java
z = rotateRight(z + w[0], 33) * K1; weakHashLength32WithSeeds(bytes, offset, v[1] * K1, x + w[0], v); weakHashLength32WithSeeds(bytes, offset + 32, z + w[1], y + load64(bytes, offset + 16), w); long tmp = x; x = z; z = tmp; offset += 64; } while (offset != end); long mul = K1 + ((z & 0xFF) << 1); // Operate on the last 64 bytes of input. offset = last64offset;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Aug 11 19:31:30 GMT 2025 - 7.6K bytes - Click Count (0)