- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 166 for ABC (2.18 sec)
-
docs_src/custom_request_and_route/tutorial001_an_py310.py
import gzip from collections.abc import Callable from typing import Annotated from fastapi import Body, FastAPI, Request, Response from fastapi.routing import APIRoute class GzipRequest(Request): async def body(self) -> bytes: if not hasattr(self, "_body"): body = await super().body() if "gzip" in self.headers.getlist("Content-Encoding"): body = gzip.decompress(body)
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 1015 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial003_py310.py
import time from collections.abc import Callable from fastapi import APIRouter, FastAPI, Request, Response from fastapi.routing import APIRoute class TimedRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: before = time.time()
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeTest.kt
} @Test fun testMultipleParameters() { val mediaType = parse("Message/Partial; number=2; total=3; id=\"oc=abc@example.com\"") assertEquals("2", mediaType.parameter("number")) assertEquals("3", mediaType.parameter("total")) assertEquals("oc=abc@example.com", mediaType.parameter("id")) assertNull(mediaType.parameter("foo")) } @Test fun testRepeatedParameter() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 7.5K bytes - Viewed (0) -
utils/utils_test.go
{"uint8", uint8(math.MaxUint8), "255"}, {"uint16", uint16(math.MaxUint16), "65535"}, {"uint32", uint32(math.MaxUint32), "4294967295"}, {"uint64", uint64(math.MaxUint64), "18446744073709551615"}, {"string", "abc", "abc"}, {"other", true, ""}, } for _, test := range tests { t.Run(test.name, func(t *testing.T) { if out := ToString(test.in); test.out != out {Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 4.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
@Tag("Slowish") class MultipartReaderTest { @Test fun `parse multipart`() { val multipart = """ |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: abc | |abcd |efgh |--simple boundary |Content-Type: text/plain; charset=utf-8 |Content-ID: ijk | |ijkl |mnop | |--simple boundary--Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKanaTest.java
public void test_mixedWithOtherCharacters() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); String result = normalizer.normalize("abc アイウ 123", "field"); assertEquals("abc アイウ 123", result); } @Test public void test_wa() throws Exception { HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
testProperties.setProperty("test.bool.false", "false"); testProperties.setProperty("test.host", "localhost"); testProperties.setProperty("test.invalid.int", "abc"); } @Test @DisplayName("Should get integer property with default value") void testGetIntWithDefault() { assertEquals(123, Config.getInt(testProperties, "test.int", 0));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/MyBean3.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1011 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial002_an_py310.py
from collections.abc import Callable from typing import Annotated from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 974 bytes - Viewed (0) -
docs/en/data/translators.yml
url: https://github.com/ChuyuChoyeon ivan-abc: login: ivan-abc count: 3 avatarUrl: https://avatars.githubusercontent.com/u/36765187?u=c6e0ba571c1ccb6db9d94e62e4b8b5eda811a870&v=4 url: https://github.com/ivan-abc mojtabapaso: login: mojtabapaso count: 3
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Dec 01 06:27:43 UTC 2025 - 19.3K bytes - Viewed (0)