- Sort Score
- Result 10 results
- Languages All
Results 1861 - 1870 of 3,731 for qint (0.03 sec)
-
docs/zh/docs/tutorial/body-nested-models.md
## 任意 `dict` 构成的请求体 你也可以将请求体声明为使用某类型的键和其他类型值的 `dict`。 无需事先知道有效的字段/属性(在使用 Pydantic 模型的场景)名称是什么。 如果你想接收一些尚且未知的键,这将很有用。 --- 其他有用的场景是当你想要接收其他类型的键时,例如 `int`。 这也是我们在接下来将看到的。 在下面的例子中,你将接受任意键为 `int` 类型并且值为 `float` 类型的 `dict`: //// tab | Python 3.9+ ```Python hl_lines="7" {!> ../../docs_src/body_nested_models/tutorial009_py39.py!} ``` ////
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0) -
docs/uk/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 24.2K bytes - Viewed (0) -
internal/grid/types.go
} // Msgsize returns the size of an empty JSON object. func (j *JSON[T]) Msgsize() int { return j.p.emptySz } // NoPayload is a type that can be used for handlers that do not use a payload. type NoPayload struct{} // Msgsize returns 0. func (p NoPayload) Msgsize() int { return 0 } // UnmarshalMsg satisfies the interface, but is a no-op.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 15.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt
/** * Notification that the receiving stream flow control window has changed. * [WindowCounter] generally carries the client view of total and acked bytes. */ fun receivingStreamWindowChanged( streamId: Int, windowCounter: WindowCounter, bufferSize: Long, ) /** * Notification that the receiving connection flow control window has changed.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestBiMapGenerator.java
@GwtCompatible @ElementTypesAreNonnullByDefault public interface TestBiMapGenerator<K extends @Nullable Object, V extends @Nullable Object> extends TestContainerGenerator<BiMap<K, V>, Entry<K, V>> { K[] createKeyArray(int length); V[] createValueArray(int length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenAlias.java
package jcifs.smb1.dcerpc.msrpc; import jcifs.smb1.dcerpc.*; public class MsrpcSamrOpenAlias extends samr.SamrOpenAlias { public MsrpcSamrOpenAlias(SamrDomainHandle handle, int access, int rid, SamrAliasHandle aliasHandle) { super(handle, access, rid, aliasHandle); ptype = 0; flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.smb1.dcerpc.ndr; public class NdrSmall extends NdrObject { public int value; public NdrSmall(int value) { this.value = value & 0xFF; } public void encode(NdrBuffer dst) throws NdrException { dst.enc_ndr_small(value); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return delegate.hashCode(); } @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @Override public boolean isEmpty() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Dispatcher.kt
this.withLock { return Collections.unmodifiableList(runningSyncCalls + runningAsyncCalls.map { it.call }) } fun queuedCallsCount(): Int = this.withLock { readyAsyncCalls.size } fun runningCallsCount(): Int = this.withLock { runningAsyncCalls.size + runningSyncCalls.size } @JvmName("-deprecated_executorService") @Deprecated( message = "moved to val",
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jun 20 14:10:53 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/search/SearchAction.java
}); return redirectToRoot(); } } protected HtmlResponse doMove(final SearchForm form, final int move) { int start = fessConfig.getPagingSearchPageStartAsInteger(); if (form.pn != null) { int pageNumber = form.pn; if (pageNumber > 0) { pageNumber = pageNumber + move; if (pageNumber < 1) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 12.3K bytes - Viewed (0)