- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 382 for COffset (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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()]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 443 bytes - Click Count (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()):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 462 bytes - Click Count (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 }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Mar 11 22:19:38 GMT 2025 - 28.4K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
src/main/webapp/css/bootstrap.min.css
auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gut...Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sun Jan 12 06:14:02 GMT 2025 - 227.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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
src/bytes/reader_test.go
t.Errorf("ReadRune: got %d, %d, %v; want 0, 0, io.EOF", ch, size, err) } if offset, err := (&Reader{}).Seek(11, io.SeekStart); offset != 11 || err != nil { t.Errorf("Seek: got %d, %v; want 11, nil", offset, err) } if s := (&Reader{}).Size(); s != 0 { t.Errorf("Size: got %d, want 0", s) } if (&Reader{}).UnreadByte() == nil {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K 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 Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.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: Sat Dec 20 13:44:44 GMT 2025 - 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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0)