- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 3,402 for rint (0.08 sec)
-
docs_src/query_param_models/tutorial002_an_py39.py
from pydantic import BaseModel, Field from typing_extensions import Annotated, Literal 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 493 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_pv1_py310.py
from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): class 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 466 bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2LockRequest.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponse.java
return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { int start = bufferIndex; int elemStart = start; FileNotifyInformationImpl i = new FileNotifyInformationImpl(); bufferIndex += i.decode(buffer, bufferIndex, len);
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java
return 0; } @Override protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) { return 0; } @Override protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException { if ( len > this.outputBuffer.length ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Apr 13 17:05:22 UTC 2020 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java
public SampleIntegers() { super((int) 0, (int) 1, (int) 2, (int) 3, (int) 4); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jun 01 09:32:35 UTC 2023 - 5.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMultiset.java
* A sensible definition of {@link #setCount(Object, int, int)} in terms of {@link #count(Object)} * and {@link #setCount(Object, int)}. If you override either of these methods, you may wish to * override {@link #setCount(Object, int, int)} to forward to this implementation. * * @since 7.0 */ protected boolean standardSetCount(@ParametricNullness E element, int oldCount, int newCount) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
private final int fid; private final byte[] fileId; private boolean open = true; private final long tree_num; // for checking whether the tree changed private SmbTreeHandleImpl tree; private final AtomicLong usageCount = new AtomicLong(1); private final int flags; private final int access; private final int attrs; private final int options; private final String unc;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.6K bytes - Viewed (1) -
guava/src/com/google/common/collect/TreeMultiset.java
return 0; } int[] result = new int[1]; // used as a mutable int reference to hold result AvlNode<E> newRoot = root.add(comparator(), element, occurrences, result); rootReference.checkAndSet(root, newRoot); return result[0]; } @CanIgnoreReturnValue @Override public int remove(@CheckForNull Object element, int occurrences) { checkNonnegative(occurrences, "occurrences");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 34.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
private long offset; private int minimumCount; private int channel; private int remainingBytes; /** * @param config * @param fileId * @param outputBuffer * @param outputBufferOffset */ public Smb2ReadRequest ( Configuration config, byte[] fileId, byte[] outputBuffer, int outputBufferOffset ) { super(config, SMB2_READ); this.fileId = fileId;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 5.2K bytes - Viewed (0)