- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 354 for 14 (0.17 sec)
-
android/guava-tests/test/com/google/common/net/InetAddressesTest.java
assertEquals( InetAddresses.fromLittleEndianByteArray( new byte[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}), InetAddress.getByAddress( new byte[] {16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1})); assertThrows( UnknownHostException.class, () -> InetAddresses.fromLittleEndianByteArray(new byte[3])); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 31.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(keySet).containsExactly(9, 0, 1, 2, 10, 11, 12, 6, 7, 8); // evict 9, 0, 1 getAll(cache, asList(13, 14, 15)); CacheTesting.drainRecencyQueues(cache); assertThat(keySet).containsExactly(2, 10, 11, 12, 6, 7, 8, 13, 14, 15); } public void testEviction_weightedLru() { // test weighted lru within a single segment IdentityLoader<Integer> loader = identityLoader();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 14.9K bytes - Viewed (0) -
docs/ko/docs/tutorial/body-nested-models.md
# 본문 - 중첩 모델 **FastAPI**를 이용하면 (Pydantic 덕분에) 단독으로 깊이 중첩된 모델을 정의, 검증, 문서화하며 사용할 수 있습니다. ## 리스트 필드 어트리뷰트를 서브타입으로 정의할 수 있습니다. 예를 들어 파이썬 `list`는: ```Python hl_lines="14" {!../../../docs_src/body_nested_models/tutorial001.py!} ``` 이는 `tags`를 항목 리스트로 만듭니다. 각 항목의 타입을 선언하지 않더라도요. ## 타입 매개변수가 있는 리스트 필드 하지만 파이썬은 내부의 타입이나 "타입 매개변수"를 선언할 수 있는 특정 방법이 있습니다: ### typing의 `List` 임포트 먼저, 파이썬 표준 `typing` 모듈에서 `List`를 임포트합니다:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 7.6K bytes - Viewed (0) -
docs/en/docs/tutorial/handling-errors.md
You probably won't need to use it directly in your code. But in case you needed it for an advanced scenario, you can add custom headers: ```Python hl_lines="14" {!../../../docs_src/handling_errors/tutorial002.py!} ``` ## Install custom exception handlers
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.1K bytes - Viewed (0) -
docs/es/docs/python-types.md
El editor aún sabe que es un `str` y provee soporte para ello. #### Tuples y Sets Harías lo mismo para declarar `tuple`s y `set`s: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` Esto significa: * La variable `items_t` es un `tuple` con 3 ítems, un `int`, otro `int`, y un `str`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 9.2K bytes - Viewed (0) -
docs/em/docs/tutorial/extra-data-types.md
* `datetime.date`: * 🐍 `datetime.date`. * 📨 & 📨 🔜 🎨 `str` 💾 8️⃣6️⃣0️⃣1️⃣ 📁, 💖: `2008-09-15`. * `datetime.time`: * 🐍 `datetime.time`. * 📨 & 📨 🔜 🎨 `str` 💾 8️⃣6️⃣0️⃣1️⃣ 📁, 💖: `14:23:55.003`. * `datetime.timedelta`: * 🐍 `datetime.timedelta`. * 📨 & 📨 🔜 🎨 `float` 🌐 🥈.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 2.6K bytes - Viewed (0) -
docs/zh/docs/python-types.md
声明 `tuple` 和 `set` 的方法也是一样的: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` 这表示: * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。 * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。 #### 字典 定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。 第一个子类型声明 `dict` 的所有键。 第二个子类型声明 `dict` 的所有值: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial008.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 8.6K bytes - Viewed (0) -
docs/ru/docs/tutorial/extra-data-types.md
* `datetime.time`: * Встроенный в Python `datetime.time`. * В запросах и ответах будет представлен как `str` в формате ISO 8601, например: `14:23:55.003`. * `datetime.timedelta`: * Встроенный в Python `datetime.timedelta`. * В запросах и ответах будет представлен в виде общего количества секунд типа `float`.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 4.7K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an_py39.py
with path.open("rb") as file: response = client.post("/files/", files={"file": file}) assert response.status_code == 200, response.text assert response.json() == {"file_size": 14} @needs_py39 def test_post_upload_file(tmp_path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 6.2K bytes - Viewed (0) -
docs/ja/docs/python-types.md
`tuple`と`set`の宣言も同様です: ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial007.py!} ``` つまり: * 変数`items_t`は`int`、`int`、`str`の3つの項目を持つ`tuple`です * 変数`items_s`はそれぞれの項目が`bytes`型である`set`です。 #### `Dict` `dict`を宣言するためには、カンマ区切りで2つの型パラメータを渡します。 最初の型パラメータは`dict`のキーです。 2番目の型パラメータは`dict`の値です。 ```Python hl_lines="1 4" {!../../../docs_src/python_types/tutorial008.py!}
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.8K bytes - Viewed (0)