- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 224 for 18 (0.02 seconds)
-
docs/zh/docs/tutorial/testing.md
通过传入你的**FastAPI**应用创建一个 `TestClient` 。 创建名字以 `test_` 开头的函数(这是标准的 `pytest` 约定)。 像使用 `httpx` 那样使用 `TestClient` 对象。 为你需要检查的地方用标准的Python表达式写个简单的 `assert` 语句(重申,标准的`pytest`)。 {* ../../docs_src/app_testing/tutorial001.py hl[2,12,15:18] *} /// tip | 提示 注意测试函数是普通的 `def`,不是 `async def`。 还有client的调用也是普通的调用,不是用 `await`。 这让你可以直接使用 `pytest` 而不会遇到麻烦。 /// /// note | 技术细节 你也可以用 `from starlette.testclient import TestClient`。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 5.9K bytes - Click Count (0) -
.bazelrc
common:release_cpu_linux_clang_local --config=release_cpu_linux common:release_cpu_linux_clang_local --config=clang_local common:release_cpu_linux_clang_local --repo_env=CC="/usr/lib/llvm-18/bin/clang" common:release_cpu_linux_clang_local --repo_env=BAZEL_COMPILER="/usr/lib/llvm-18/bin/clang" common:release_cpu_linux_clang_local --crosstool_top="@local_config_cuda//crosstool:toolchain" common:release_cpu_linux_clang_local --repo_env=TF_SYSROOT="/dt9"
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Dec 26 23:20:26 GMT 2025 - 56.8K bytes - Click Count (0) -
guava/src/com/google/common/hash/Murmur3_128HashFunction.java
k1 ^= (long) toUnsignedInt(bb.get(3)) << 24; // fall through case 3: k1 ^= (long) toUnsignedInt(bb.get(2)) << 16; // fall through case 2: k1 ^= (long) toUnsignedInt(bb.get(1)) << 8; // fall through case 1: k1 ^= (long) toUnsignedInt(bb.get(0)); break; default: throw new AssertionError("Should never get here."); } h1 ^= mixK1(k1);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 5.8K bytes - Click Count (0) -
ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh
# need to fix up all the links to stay within /${TARGET}. /fixlinks.sh "/${TARGET}" # Patch to allow non-glibc 2.12 compatible builds to work. sed -i '54i#define TCP_USER_TIMEOUT 18' "/${TARGET}/usr/include/netinet/tcp.h" # Download specific version of libstdc++ shared library based on the value of # the `VERSION` parameter case "${VERSION}" in devtoolset-7)Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Tue Sep 24 20:45:58 GMT 2024 - 8K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/dependencies-with-yield.md
Y, a su vez, `dependency_b` necesita que el valor de `dependency_a` (aquí llamado `dep_a`) esté disponible para su código de salida. {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *} De la misma manera, podrías tener algunas dependencias con `yield` y otras dependencias con `return`, y hacer que algunas de esas dependan de algunas de las otras.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 13.7K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/dependencies-with-yield.md
И, в свою очередь, `dependency_b` нуждается в том, чтобы значение из `dependency_a` (здесь `dep_a`) было доступно для её кода выхода. {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *} Точно так же можно иметь часть зависимостей с `yield`, часть — с `return`, и какие-то из них могут зависеть друг от друга.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 19.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/body.md
```JSON { "name": "Foo", "price": 45.2 } ``` ## パラメータとして宣言 *パスオペレーション* に加えるために、パスパラメータやクエリパラメータと同じ様に宣言します: {* ../../docs_src/body/tutorial001.py hl[18] *} ...そして、作成したモデル `Item` で型を宣言します。 ## 結果 そのPythonの型宣言だけで **FastAPI** は以下のことを行います: * リクエストボディをJSONとして読み取ります。 * 適当な型に変換します(必要な場合)。 * データを検証します。 * データが無効な場合は、明確なエラーが返され、どこが不正なデータであったかを示します。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Jul 26 10:48:11 GMT 2025 - 7.8K bytes - Click Count (0) -
guava/src/com/google/common/io/BaseEncoding.java
bitBuffer |= bytes[off + i] & 0xFF; bitBuffer <<= 8; // Add additional zero byte in the end. } // Position of first character is length of bitBuffer minus bitsPerChar. int bitOffset = (len + 1) * 8 - alphabet.bitsPerChar; int bitsProcessed = 0; while (bitsProcessed < len * 8) { int charIndex = (int) (bitBuffer >>> (bitOffset - bitsProcessed)) & alphabet.mask;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 06 14:51:47 GMT 2025 - 41.7K bytes - Click Count (0) -
docs/en/data/people.yml
- login: sehraramiz count: 18 avatarUrl: https://avatars.githubusercontent.com/u/14166324?u=8fac65e84dfff24245d304a5b5b09f7b5bd69dc9&v=4 url: https://github.com/sehraramiz - login: retnikt count: 18 avatarUrl: https://avatars.githubusercontent.com/u/24581770?v=4 url: https://github.com/retnikt - login: zoliknemet count: 18
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Sep 05 08:57:16 GMT 2025 - 28.6K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/dependencies-with-yield.md
Und wiederum benötigt `dependency_b` den Wert von `dependency_a` (hier `dep_a` genannt) für seinen Exit-Code. {* ../../docs_src/dependencies/tutorial008_an_py39.py hl[18:19,26:27] *} Auf die gleiche Weise könnten Sie einige Abhängigkeiten mit `yield` und einige andere Abhängigkeiten mit `return` haben, und alle können beliebig voneinander abhängen.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 14.7K bytes - Click Count (0)