- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 327 for insertion (0.07 seconds)
-
src/main/java/jcifs/smb/DfsImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 29.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
/** * Initializes the query field configuration by loading field mappings from FessConfig. * This method is called after dependency injection is complete. * It sets up response fields, search fields, facet fields, sort fields, and other * field configurations based on the application configuration. */ @PostConstruct public void init() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/index.md
# 依赖项 { #dependencies } **FastAPI** 提供了简单直观但功能强大的**<dfn title="也称为:组件、资源、提供者、服务、可注入项">依赖注入</dfn>**系统。 它被设计得非常易用,能让任何开发者都能轻松把其他组件与 **FastAPI** 集成。 ## 什么是「依赖注入」 { #what-is-dependency-injection } 在编程中,**「依赖注入」**指的是,你的代码(本文中为*路径操作函数*)声明其运行所需并要使用的东西:“依赖”。 然后,由该系统(本文中为 **FastAPI**)负责执行所有必要的逻辑,为你的代码提供这些所需的依赖(“注入”依赖)。 当你需要以下内容时,这非常有用: * 共享业务逻辑(同一段代码逻辑反复复用) * 共享数据库连接 * 实施安全、认证、角色权限等要求 * 以及更多其他内容... 同时尽量减少代码重复。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
import java.util.concurrent.atomic.AtomicLong; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.smb.SmbException; /** * Validator for SMB server responses to prevent buffer overflow and injection attacks. * * Features: * - Buffer bounds checking * - Integer overflow prevention * - Size validation * - Protocol compliance checking * - Malformed response detection */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
// is cancelled. future1.cancel(false); // Give the second task a chance to (incorrectly) start up while the first task is running. // (This is the assertion that fails.) assertThat(future2.isDone()).isFalse(); // Stop the first task. The second task should then run. blockingCallable.stop(); executor.shutdown();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 13.6K bytes - Click Count (0) -
fastapi/openapi/docs.py
from fastapi.encoders import jsonable_encoder from starlette.responses import HTMLResponse def _html_safe_json(value: Any) -> str: """Serialize a value to JSON with HTML special characters escaped. This prevents injection when the JSON is embedded inside a <script> tag. """ return ( json.dumps(value) .replace("<", "\\u003c") .replace(">", "\\u003e") .replace("&", "\\u0026") )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 24 09:28:10 GMT 2026 - 12.1K bytes - Click Count (0) -
README.md
} ``` ## 🏗️ Architecture & Design Patterns ### Core Design Principles CoreLib follows a **utility-class pattern** where most functionality is exposed through static methods: - **Assertion-based validation** - All methods validate inputs using `AssertionUtil.assertArgumentNotNull()` and `AssertionUtil.assertArgumentNotEmpty()`
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java
Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, largePomMap); long endTime = System.currentTimeMillis(); // Performance assertion - should complete within reasonable time long duration = endTime - startTime; assertTrue(duration < 5000, "Artifact computation should complete within 5 seconds for 100 POMs");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 17.3K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/index.md
Esse sistema foi pensado para ser fácil de usar, e permitir que qualquer desenvolvedor possa integrar facilmente outros componentes ao **FastAPI**. ## O que é "Injeção de Dependência" { #what-is-dependency-injection }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 10.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
) server.enqueue(MockResponse()) assertFailsWith<SSLPeerUnverifiedException> { execute(url) } } /** * Skips coalescing when hostname verifier is overridden since the intention of the hostname * verification is a black box. */ @Test fun skipsWhenHostnameVerifierUsed() { val verifier = HostnameVerifier { name: String?, session: SSLSession? -> true }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jun 19 11:44:16 GMT 2025 - 19.1K bytes - Click Count (0)