- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 449 for OFFSET (0.09 sec)
-
src/main/java/jcifs/dcerpc/UUID.java
/** * UUID type wrapper * */ public class UUID extends rpc.uuid_t { private 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++) { value <<= 4; switch (arr[ai]) { case '0': case '1':Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
} } /** * Validates array bounds for safe copying * * @param src source array * @param srcOffset source offset * @param dst destination array * @param dstOffset destination offset * @param length copy length * @throws IllegalArgumentException if bounds are invalid */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java
byte[] buffer = new byte[50]; // Test with offset at beginning System.arraycopy(sourceData, 0, buffer, 0, sourceData.length); int result1 = response.readDataWireFormat(buffer, 0, sourceData.length); assertEquals(sourceData.length, result1); // Test with offset in middle byte[] outputBuffer2 = new byte[1024];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
docs_src/query_param_models/tutorial001_py39.py
from typing import 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: FilterParams = Query()):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 422 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_py310.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: Tue Sep 17 18:54:10 UTC 2024 - 462 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an_py310.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: Annotated[FilterParams, Query()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 483 bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
@Test @DisplayName("Should decode with non-zero buffer offset") void testDecodeWithOffset() { byte[] testBuffer = new byte[20]; int offset = 5; ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); // Add padding before actual data bb.position(offset); bb.putShort((short) 24); // pathConsumedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
fmt.Println("Read err:", err) } } }() // First, if there is any unread data, copy it to the client // provided buffer. if cr.offset > 0 { n = copy(buf, cr.buffer[cr.offset:]) if n == len(buf) { cr.offset += n return n, nil } cr.offset = 0 buf = buf[n:] } var size int for { b, err := cr.reader.ReadByte() if err == io.EOF { err = io.ErrUnexpectedEOF
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 18.2K bytes - Viewed (0) -
docs/en/docs/tutorial/request-files.md
* `write(data)`: Writes `data` (`str` or `bytes`) to the file. * `read(size)`: Reads `size` (`int`) bytes/characters of the file. * `seek(offset)`: Goes to the byte position `offset` (`int`) in the file. * E.g., `await myfile.seek(0)` would go to the start of the file. * This is especially useful if you run `await myfile.read()` once and then need to read the contents again.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-files.md
* `write(data)`: Escreve `data` (`str` ou `bytes`) no arquivo. * `read(size)`: Lê `size` (`int`) bytes/caracteres do arquivo. * `seek(offset)`: Vai para o byte na posição `offset` (`int`) no arquivo. * Por exemplo, `await myfile.seek(0)` irá para o início do arquivo. * Isso é especialmente útil se você executar `await myfile.read()` uma vez e precisar ler o conteúdo novamente.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 8.1K bytes - Viewed (0)