- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 783 for Fstatfs (0.04 sec)
-
helm/minio/templates/_helper_custom_command.txt
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sat Feb 19 20:34:14 UTC 2022 - 1.4K bytes - Viewed (0) -
docs/zh/docs/tutorial/path-operation-configuration.md
`status_code` 用于定义*路径操作*响应中的 HTTP 状态码。 可以直接传递 `int` 代码, 比如 `404`。 如果记不住数字码的涵义,也可以用 `status` 的快捷常量: {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *} 状态码在响应中使用,并会被添加到 OpenAPI 概图。 /// note | 技术细节 也可以使用 `from starlette import status` 导入状态码。 **FastAPI** 的`fastapi.status` 和 `starlette.status` 一样,只是快捷方式。实际上,`fastapi.status` 直接继承自 Starlette。 /// ## `tags` 参数Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeInputStreamTest.java
Object resp = inv.getArgument(1); // Set private fields: status on SmbComTransactionResponse and available on TransPeekNamedPipeResponse Field statusField = jcifs.internal.smb1.trans.SmbComTransactionResponse.class.getDeclaredField("status"); statusField.setAccessible(true); statusField.setInt(resp, status);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
cmd/bucket-lifecycle_test.go
expectedErr: errInvalidStorageClass, }, { // no transition ruleRegistered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 31 09:57:57 UTC 2022 - 7K bytes - Viewed (0) -
tests/test_dependency_yield_scope.py
assert response.status_code == 200 assert response.json() == {"status": "ok"} def test_app_level_dep_scope_function() -> None: app = FastAPI(dependencies=[Depends(raise_after_yield, scope="function")]) @app.get("/app-scope-function") def get_app_scope_function(): return {"status": "ok"} with TestClient(app) as client:Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 6.7K bytes - Viewed (0) -
tests/test_repeated_dependency_schema.py
assert response.status_code == status.HTTP_200_OK actual_schema = response.json() assert actual_schema == schema assert ( len(actual_schema["paths"]["/"]["get"]["parameters"]) == 1 ) # primary goal of this test def test_response(): response = client.get("/", headers={"someheader": "hello"}) assert response.status_code == status.HTTP_200_OKRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Thu Mar 06 12:18:57 UTC 2025 - 3.2K bytes - Viewed (0) -
internal/disk/stat_freebsd.go
import ( "errors" "fmt" "syscall" ) // GetInfo returns total and free bytes available in a directory, e.g. `/`. func GetInfo(path string, _ bool) (info Info, err error) { s := syscall.Statfs_t{} err = syscall.Statfs(path, &s) if err != nil { return Info{}, err } reservedBlocks := s.Bfree - uint64(s.Bavail) info = Info{ Total: uint64(s.Bsize) * (s.Blocks - reservedBlocks), Free: uint64(s.Bsize) * uint64(s.Bavail),
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event"); assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event"); assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/StatsTesting.java
// Stats instances: static final Stats EMPTY_STATS_VARARGS = Stats.of(); static final Stats EMPTY_STATS_ITERABLE = Stats.of(ImmutableList.<Double>of()); static final Stats ONE_VALUE_STATS = Stats.of(ONE_VALUE); static final Stats OTHER_ONE_VALUE_STATS = Stats.of(OTHER_ONE_VALUE); static final Stats TWO_VALUES_STATS = Stats.of(TWO_VALUES);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 23.8K bytes - Viewed (0) -
docs_src/response_status_code/tutorial002_py39.py
from fastapi import FastAPI, status app = FastAPI() @app.post("/items/", status_code=status.HTTP_201_CREATED) async def create_item(name: str):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 173 bytes - Viewed (0)