- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for abc (1.16 sec)
-
src/test/java/org/codelibs/core/lang/StringUtilTest.java
assertEquals("", StringUtil.substringToLast("abc", "c")); assertEquals("c", StringUtil.substringToLast("abc", "b")); assertEquals("c", StringUtil.substringToLast("abcbc", "b")); assertEquals("abc", StringUtil.substringToLast("abc", "")); assertEquals("abc", StringUtil.substringToLast("abc", null)); assertEquals("abc", StringUtil.substringToLast("abc", "dddd")); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java
FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer(); String result = normalizer.normalize("abc あいう 123", "field"); assertEquals("abc あいう 123", result); } @Test public void test_fullWidthSpacePreserved() throws Exception {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/NormalizerChainTest.java
String result = chain.normalize("abc", "field"); assertEquals("abc", result); } @Test public void test_multipleNormalizers() throws Exception { NormalizerChain chain = new NormalizerChain(); chain.add(new FullWidthToHalfWidthAlphabetNormalizer()); chain.add(new HankakuKanaToZenkakuKana()); String result = chain.normalize("abc ガ", "field");Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.3K bytes - Viewed (0) -
src/bytes/bytes_test.go
} type LinesTest struct { a string b []string } var linesTests = []LinesTest{ {a: "abc\nabc\n", b: []string{"abc\n", "abc\n"}}, {a: "abc\r\nabc", b: []string{"abc\r\n", "abc"}}, {a: "abc\r\n", b: []string{"abc\r\n"}}, {a: "\nabc", b: []string{"\n", "abc"}}, {a: "\nabc\n\n", b: []string{"\n", "abc\n", "\n"}}, } func TestLines(t *testing.T) { for _, s := range linesTests {Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 23 23:54:14 UTC 2025 - 62.9K bytes - Viewed (0) -
src/archive/tar/writer_test.go
}, }, { maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7}, tests: []testFnc{ testRemaining{7, 3}, testWrite{"\x00\x00abc\x00\x00", 7, nil}, testRemaining{0, 0}, }, }, { maker: makeSparse{makeReg{3, "abc"}, sparseHoles{{0, 2}, {5, 2}}, 7}, tests: []testFnc{ testRemaining{7, 3}, testReadFrom{fileOps{int64(2), "abc", int64(1), "\x00"}, 7, nil}, testRemaining{0, 0},Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Dec 15 16:34:13 UTC 2025 - 40.2K bytes - Viewed (0) -
fastapi/concurrency.py
from collections.abc import AsyncGenerator from contextlib import AbstractContextManager from contextlib import asynccontextmanager as asynccontextmanager from typing import TypeVar import anyio.to_thread from anyio import CapacityLimiter from starlette.concurrency import iterate_in_threadpool as iterate_in_threadpool # noqa from starlette.concurrency import run_in_threadpool as run_in_threadpool # noqa from starlette.concurrency import ( # noqa
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial001_py310.py
import gzip from collections.abc import Callable 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) self._body = body
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 976 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial002_py310.py
from collections.abc import Callable 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: try:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 935 bytes - Viewed (0) -
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)