- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 554 for offset (0.89 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
private String readString(byte[] buffer, int offset, int maxLength) { int length = 0; for (int i = offset; i < offset + maxLength && i < buffer.length; i++) { if (buffer[i] == 0) { break; } length++; } return new String(buffer, offset, length); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10; byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data int bufferIndex = offset; // Set up test values int namedPipeState = 0x02; int readDataAvailable = 256; int numberOfMessages = 5;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
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() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 55.4K bytes - Viewed (1) -
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; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (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):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 2.5K bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_an_py39.py
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 443 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_py39.py
from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: FilterParams = Query()):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 462 bytes - Viewed (0) -
src/archive/zip/reader.go
func (rc *ReadCloser) Close() error { return rc.f.Close() } // DataOffset returns the offset of the file's possibly-compressed // data, relative to the beginning of the zip file. // // Most callers should instead use [File.Open], which transparently // decompresses data and verifies checksums. func (f *File) DataOffset() (offset int64, err error) { bodyOffset, err := f.findBodyOffset() if err != nil { return }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (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() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0)