- Sort Score
- Result 10 results
- Languages All
Results 3851 - 3860 of 3,913 for getD (0.2 sec)
-
guava-tests/test/com/google/common/primitives/DoublesTest.java
// Make sure it returned a copy list.set(0, (double) 4); assertThat(newArray).isEqualTo(new double[] {(double) 0, (double) 1, (double) 2}); newArray[1] = (double) 5; assertThat((double) list.get(1)).isEqualTo((double) 1); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { double[] array = {(double) 0, (double) 1, (double) 2, (double) 3};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
// Make sure it returned a copy list.set(0, (float) 4); assertThat(newArray).isEqualTo(new float[] {(float) 0, (float) 1, (float) 2}); newArray[1] = (float) 5; assertThat((float) list.get(1)).isEqualTo((float) 1); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { float[] array = {(float) 0, (float) 1, (float) 2, (float) 3};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
// Make sure it returned a copy list.set(0, (long) 4); assertThat(newArray).isEqualTo(new long[] {(long) 0, (long) 1, (long) 2}); newArray[1] = (long) 5; assertThat((long) list.get(1)).isEqualTo((long) 1); } // This test stems from a real bug found by andrewk public void testAsList_subList_toArray_roundTrip() { long[] array = {(long) 0, (long) 1, (long) 2, (long) 3};
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
docs/em/docs/tutorial/sql-databases.md
``` ...& ↩️ 👥 ⚙️: ```Python user = db.query(User).first() ``` ⤴️ 👥 🔜 📣 *➡ 🛠️ 🔢* & 🔗 🍵 `async def`, ⏮️ 😐 `def`,: ```Python hl_lines="2" @app.get("/users/{user_id}", response_model=schemas.User) def read_user(user_id: int, db: Session = Depends(get_db)): db_user = crud.get_user(db, user_id=user_id) ... ``` /// info
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 25K bytes - Viewed (0) -
docs/ko/docs/deployment/docker.md
* 빈 파일 `__init__.py`을 생성합니다. * 다음과 같은 `main.py`을 생성합니다: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @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} ``` ### 도커파일
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Aug 12 21:47:53 UTC 2024 - 42.7K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
if len(tag) != 0 { allEmpty = false break } } if allEmpty { c.PartETags = nil } if len(c.PartActualSizes) == 0 { c.PartActualSizes = nil } // Get a 64 bit CRC crc := hashDeterministicString(c.MetaUser) crc ^= hashDeterministicBytes(c.MetaSys) // Nil fields. c.MetaSys = nil c.MetaUser = nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1) -
docs/zh/docs/tutorial/bigger-applications.md
```Python hl_lines="5-10 16 21" title="app/routers/items.py" {!../../docs_src/bigger_applications/app/routers/items.py!} ``` 由于每个*路径操作*的路径都必须以 `/` 开头,例如: ```Python hl_lines="1" @router.get("/{item_id}") async def read_item(item_id: str): ... ``` ...前缀不能以 `/` 作为结尾。 因此,本例中的前缀为 `/items`。 我们还可以添加一个 `tags` 列表和额外的 `responses` 列表,这些参数将应用于此路由器中包含的所有*路径操作*。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 18.4K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1/generated.proto
// with CSIVolumeSource and their lifecycle is tied to the lifecycle of that pod. // A driver has to be aware of this because it is only going to get a NodePublishVolume call for such a volume. // // For more information about implementing this mode, see // https://kubernetes-csi.github.io/docs/ephemeral-local-volumes.html
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 24.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
} @CanIgnoreReturnValue @Override @CheckForNull public E poll() { return isEmpty() ? null : removeAndGet(0); } @SuppressWarnings("unchecked") // we must carefully only allow Es to get in E elementData(int index) { /* * requireNonNull is safe as long as we're careful to call this method only with populated * indexes. */ return (E) requireNonNull(queue[index]); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 34.1K bytes - Viewed (0) -
docs/ja/docs/contributing.md
<div class="termy"> ```console $ which pip some/directory/fastapi/env/bin/pip ``` </div> //// //// tab | Windows PowerShell <div class="termy"> ```console $ Get-Command pip some/directory/fastapi/env/bin/pip ``` </div> //// `env/bin/pip`に`pip`バイナリが表示される場合は、正常に機能しています。🎉 /// tip | "豆知識" この環境で`pip`を使って新しいパッケージをインストールするたびに、仮想環境を再度有効化します。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 16.6K bytes - Viewed (0)