- Sort Score
- Num 10 results
- Language All
Results 1361 - 1370 of 4,419 for getI (0.03 seconds)
-
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
public void round(Blackhole bh) { Rounding.Prepared rounder = rounderBuilder.get(); for (int i = 0; i < dates.length; i++) { bh.consume(rounder.round(dates[i])); } } @Benchmark public void nextRoundingValue(Blackhole bh) { Rounding.Prepared rounder = rounderBuilder.get(); for (int i = 0; i < dates.length; i++) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial013_an_py310.py
def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user: raise HTTPException(status_code=403, detail="Not authorized") def generate_stream(query: str): for ch in query: yield ch time.sleep(0.1) @app.get("/generate", dependencies=[Depends(get_user)]) def generate(query: str):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 937 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 18.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
* Retrieves a specific document by ID. * * @param id the document ID to retrieve * @return JSON response containing the document */ // GET /api/admin/searchlist/doc/{doc_id} @Execute public JsonResponse<ApiResult> get$doc(final String id) { return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
} final Path resolved = Paths.get(exportPath, sanitized.toString()).normalize(); final Path baseDir = Paths.get(exportPath).normalize(); if (!resolved.startsWith(baseDir)) { logger.warn("Path traversal detected: url={}, resolved={}", url, resolved); return Paths.get(exportPath, "_invalid", hashString(url) + formatter.getFileExtension()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt
closed.set(true) super.close() } }.buffer() } } assertThat(body.string()).isEqualTo("hello") assertThat(closed.get()).isTrue() } @Test fun readerEmpty() { val body = body("") assertThat(exhaust(body.charStream())).isEqualTo("") } @Test fun readerLooksLikeBomButTooShort() {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
WitnessRegistration registration = client.registerForNotifications("\\\\server\\share", serverAddress, listener).get(5, TimeUnit.SECONDS); assertEquals(1, client.getActiveRegistrationCount()); // Unregister client.unregister(registration).get(5, TimeUnit.SECONDS); assertEquals(0, client.getActiveRegistrationCount());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 9.8K bytes - Click Count (0) -
docs_src/path_operation_configuration/tutorial002_py310.py
tags: set[str] = set() @app.post("/items/", tags=["items"]) async def create_item(item: Item) -> Item: return item @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 12:07:26 GMT 2026 - 524 bytes - Click Count (0) -
tests/test_tutorial/test_body_updates/test_tutorial001.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java
/** Service for managing path mapping configurations */ @Resource private PathMappingService pathMappingService; // GET /api/admin/pathmap // PUT /api/admin/pathmap /** * Returns list of path mapping settings. * Supports both GET and PUT requests for retrieving paginated path mapping configurations. * * @param body search parameters for filtering and paginationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 7.8K bytes - Click Count (0)