- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 859 for floats (0.07 sec)
-
tests/test_validate_response.py
from fastapi.exceptions import ResponseValidationError from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None owner_ids: Optional[List[int]] = None @app.get("/items/invalid", response_model=Item) def get_invalid(): return {"name": "invalid", "price": "foo"}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 2K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor_test.go
test2Want2 := make(map[BucketOptions]Details) test2Want2[BucketOptions{Name: "bucket", ReplicationARN: "arn"}] = Details{ LimitInBytesPerSecond: 1024 * 1024, CurrentBandwidthInBytesPerSecond: exponentialMovingAverage(betaBucket, float64(oneMiB), 2*float64(oneMiB)), } test1ActiveBuckets := make(map[BucketOptions]*bucketMeasurement)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 06 03:21:59 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
} case obj.TYPE_FCONST: switch sz { case 4: nameAddr.Sym.WriteFloat32(p.ctxt, nameAddr.Offset, float32(valueAddr.Val.(float64))) case 8: nameAddr.Sym.WriteFloat64(p.ctxt, nameAddr.Offset, valueAddr.Val.(float64)) default: p.errorf("bad float size for DATA argument: %d", sz) } case obj.TYPE_SCONST: nameAddr.Sym.WriteString(p.ctxt, nameAddr.Offset, int(sz), valueAddr.Val.(string))
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 21 14:11:44 UTC 2024 - 25.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji.jsp
<la:message key="labels.dict_kuromoji_title"/> </h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><la:link href="list"> <la:message key="labels.dict_list_link"/> </la:link></li>
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Mar 27 06:24:23 UTC 2020 - 10.1K bytes - Viewed (0) -
cmd/metrics-v3-logger-webhook.go
for _, t := range tgts { labels := []string{nameL, t.String(), endpointL, t.Endpoint()} m.Set(webhookFailedMessages, float64(t.Stats().FailedMessages), labels...) m.Set(webhookQueueLength, float64(t.Stats().QueueLength), labels...) m.Set(webhookTotalMessages, float64(t.Stats().TotalMessages), labels...) } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:27:33 UTC 2024 - 2K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
// and success cases. func TestCrossDeviceMountPaths(t *testing.T) { successCase := `/dev/0 /path/to/0/1 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java
public String query; @Required @Min(value = 0) @Max(value = 2147483647) @ValidateTypeFailure public Integer maxSize; @Required @ValidateTypeFailure public Float boost; @Size(max = 1000) public String virtualHost; @Size(max = 255) public String createdBy; @ValidateTypeFailure public Long createdTime; public void initialize() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 1.9K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/common/admin/crud/breadcrumb.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <ol class="breadcrumb float-sm-right"> <c:if test="${crudMode == null}"> <li class="breadcrumb-item active"><la:message key="labels.crud_link_list" /></li> </c:if> <c:if test="${crudMode != null}"> <li class="breadcrumb-item"><la:link href="../list"> <la:message key="labels.crud_link_list" /> </la:link></li> </c:if> <c:if test="${crudMode == 1}">
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Feb 07 10:28:50 UTC 2020 - 919 bytes - Viewed (0) -
docs_src/generate_clients/tutorial003.py
def custom_generate_unique_id(route: APIRoute): return f"{route.tags[0]}-{route.name}" app = FastAPI(generate_unique_id_function=custom_generate_unique_id) class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"])
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Mar 04 22:02:18 UTC 2022 - 939 bytes - Viewed (0) -
compat/maven-model-builder/src/test/resources/poms/inheritance/tricky-flat-directory-urls-expected.xml
</parent> <groupId>inheritance</groupId> <artifactId>child-artifact-id</artifactId> <version>11-SNAPSHOT</version> <name>Model urls inheritance test child</name> <description>Flat directory structure case: module = ../child directory path + child directory path != child-artifact-id</description> <!-- 5 inherited urls with ../${project.artifactId} added to parent -->
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0)