- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 907 for status_ (0.04 sec)
-
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(testFuture3.toString()) .matches( "[^\\[]+\\[status=PENDING, setFuture=\\[[^\\[]+\\[status=PENDING," + " info=\\[cause=\\[Someday...]]]]]"); testFuture2.set("result string"); assertThat(testFuture3.toString()) .matches("[^\\[]+\\[status=SUCCESS, result=\\[java.lang.String@\\w+\\]\\]"); } public void testToString_cancelled() throws Exception {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt
} @Test fun negativeStatusCodeThrowsIllegalStateException() { assertFailsWith<IllegalStateException> { newResponse(responseBody("set status code -1"), -1) } } @Test fun zeroStatusCodeIsValid() { val response = newResponse(responseBody("set status code 0"), 0) assertThat(response.code).isEqualTo(0) } @Test fun defaultResponseBodyIsEmpty() { val response = Response
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/path-operation-configuration.md
`404`のように`int`のコードを直接渡すことができます。 しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます: {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *} そのステータスコードはレスポンスで使用され、OpenAPIスキーマに追加されます。 /// note | 技術詳細 また、`from starlette import status`を使用することもできます。 **FastAPI** は開発者の利便性を考慮して、`fastapi.status`と同じ`starlette.status`を提供しています。しかし、これはStarletteから直接提供されています。 /// ## タグRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java
@Override protected boolean isErrorResponseStatus() { final int status = getStatus(); return status != NtStatus.NT_STATUS_INVALID_PARAMETER && ((status != NtStatus.NT_STATUS_INVALID_PARAMETER) || ((this.ctlCode != Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK) && (this.ctlCode != Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE))) && ((status != NtStatus.NT_STATUS_BUFFER_OVERFLOW)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
internal/config/dns/operator_dns.go
return err } resp, err := c.httpClient.Do(req) if err != nil { return err } xhttp.DrainBody(resp.Body) if resp.StatusCode != http.StatusOK { return fmt.Errorf("request to delete the service for bucket %s, failed with status %s", bucket, resp.Status) } return nil } // DeleteRecord - Removes a specific DNS entry // No Op for Operator because operator deals on with bucket entries
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Nov 11 14:51:43 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/DosError.java
/** * Interface defining DOS error codes and their mappings to NT status codes for SMB1 protocol. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */ int[][] DOS_ERROR_CODES =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/DosError.java
package jcifs.smb; /** * Interface defining DOS error codes and their mappings to NT status codes. * Provides lookup tables for converting between DOS and NT error representations. */ public interface DosError { /** * Mapping table from DOS error codes to NT status codes. * Each entry contains a pair of [DOS error code, NT status code]. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
docs_src/security/tutorial003_py39.py
from typing import Union from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from pydantic import BaseModel fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "******@****.***", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": {Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java
@ParameterizedTest @DisplayName("Test readParametersWireFormat with various status values") @ValueSource(ints = { 0, 1, 100, 255, 32767, 65535 }) void testReadParametersWireFormatWithVariousStatus(int status) throws Exception { byte[] buffer = new byte[8]; int bufferIndex = 0; SMBUtil.writeInt2(status, buffer, bufferIndex); bufferIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.2K bytes - Viewed (0) -
tests/test_enforce_once_required_parameter.py
from typing import Optional from fastapi import Depends, FastAPI, Query, status from fastapi.testclient import TestClient app = FastAPI() def _get_client_key(client_id: str = Query(...)) -> str: return f"{client_id}_key" def _get_client_tag(client_id: Optional[str] = Query(None)) -> Optional[str]: if client_id is None: return None return f"{client_id}_tag" @app.get("/foo") def foo_handler(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 16 17:21:48 UTC 2025 - 3.3K bytes - Viewed (0)