- Sort Score
- Result 10 results
- Languages All
Results 971 - 980 of 3,659 for qint (0.03 sec)
-
tests/test_starlette_urlconvertors.py
from fastapi import FastAPI, Path, Query from fastapi.testclient import TestClient app = FastAPI() @app.get("/int/{param:int}") def int_convertor(param: int = Path()): return {"int": param} @app.get("/float/{param:float}") def float_convertor(param: float = Path()): return {"float": param} @app.get("/path/{param:path}") def path_convertor(param: str = Path()): return {"path": param}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Nov 27 14:46:06 UTC 2022 - 1.7K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004.py
class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: int = Body(gt=0), q: Union[str, None] = None, ): results = {"item_id": item_id, "item": item, "user": user, "importance": importance} if q: results.update({"q": q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 10 18:49:18 UTC 2023 - 653 bytes - Viewed (0) -
guava/src/com/google/common/hash/LittleEndianByteArray.java
*/ static long load64Safely(byte[] input, int offset, int length) { long result = 0; // Due to the way we shift, we can stop iterating once we've run out of data, the rest // of the result already being filled with zeros. // This loop is critical to performance, so please check HashBenchmark if altering it. int limit = min(length, 8); for (int i = 0; i < limit; i++) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 9.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/Pac.java
int bufferCount = pacStream.readInt(); int version = pacStream.readInt(); if ( version != PacConstants.PAC_VERSION ) { throw new PACDecodingException("Unrecognized PAC version " + version); } for ( int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++ ) { int bufferType = pacStream.readInt();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/HashBiMap.java
private transient int size; private transient int mask; private transient int modCount; private HashBiMap(int expectedSize) { init(expectedSize); } private void init(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); int tableSize = Hashing.closedTableSize(expectedSize, LOAD_FACTOR);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 24.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
private static final Logger log = LoggerFactory.getLogger(AndXServerMessageBlock.class); private static final int ANDX_COMMAND_OFFSET = 1; private static final int ANDX_RESERVED_OFFSET = 2; private static final int ANDX_OFFSET_OFFSET = 3; private byte andxCommand = (byte) 0xFF; private int andxOffset = 0; private ServerMessageBlock andx;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Nov 28 10:56:27 UTC 2022 - 14.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBenchmark.java
Constructor<?> constructor = Class.forName(className).getConstructor(int.class); queue = (BlockingQueue<String>) constructor.newInstance(capacity); strings = new String[capacity]; for (int i = 0; i < capacity; i++) { strings[i] = String.valueOf(Math.random()); } } @Benchmark void addsAndRemoves(int reps) { int capacity = this.capacity; BlockingQueue<String> queue = this.queue;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java
abstract List<E> delegateList(); public int indexOf(@Nullable Object object) { return delegateList().indexOf(object); } public int lastIndexOf(@Nullable Object object) { return delegateList().lastIndexOf(object); } public E get(int index) { return delegateList().get(index); } public ImmutableList<E> subList(int fromIndex, int toIndex) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/io/CountingInputStream.java
public long getCount() { return count; } @Override public int read() throws IOException { int result = in.read(); if (result != -1) { count++; } return result; } @Override public int read(byte[] b, int off, int len) throws IOException { int result = in.read(b, off, len); if (result != -1) { count += result; } return result;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.idl
ACB_DONT_REQUIRE_PREAUTH = 0x00010000 /* 1 = Preauth not required */ } SamrAcctFlags; [op(0x01)] int SamrCloseHandle([in] policy_handle *handle); [op(0x39)] int SamrConnect2([in,string,unique] wchar_t *system_name, [in] uint32_t access_mask, [out] policy_handle *handle); [op(0x3e)] int SamrConnect4([in,string,unique] wchar_t *system_name, [in] uint32_t unknown, [in] uint32_t access_mask,
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0)