- Sort Score
- Result 10 results
- Languages All
Results 1571 - 1580 of 3,337 for code3 (0.03 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} fun setResponseCode(code: Int): MockResponse { val reason = when (code) { in 100..199 -> "Informational" in 200..299 -> "OK" in 300..399 -> "Redirection" in 400..499 -> "Client Error" in 500..599 -> "Server Error" else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } } fun clearHeaders() =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 7.1K bytes - Viewed (1) -
docs/ja/docs/tutorial/debugging.md
# デバッグ Visual Studio CodeやPyCharmなどを使用して、エディター上でデバッガーと連携できます。 ## `uvicorn` の実行 FastAPIアプリケーション上で、`uvicorn` を直接インポートして実行します: {* ../../docs_src/debugging/tutorial001.py hl[1,15] *} ### `__name__ == "__main__"` について `__name__ == "__main__"` の主な目的は、ファイルが次のコマンドで呼び出されたときに実行されるコードを用意することです: <div class="termy"> ```console $ python myapp.py ``` </div> ただし、次のように、別のファイルからインポートされるときには呼び出されません: ```PythonRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 18 02:25:44 UTC 2024 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
/** * Gets the installation settings source. * * @return the installation settings source or {@code null} if none */ @Nonnull Optional<Source> getInstallationSettingsSource(); /** * Gets the project settings source. * * @return the project settings source or {@code null} if none */ @Nonnull Optional<Source> getProjectSettingsSource(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
*/ this.futures = null; } enum ReleaseResourcesReason { OUTPUT_FUTURE_DONE, ALL_INPUT_FUTURES_PROCESSED, } /** * If {@code allMustSucceed} is true, called as each future completes; otherwise, if {@code * collectsValues} is true, called for each future when all futures complete. */ abstract void collectOneValue(int index, @ParametricNullness InputT returnValue);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 16K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java
* * <p> * This class handles the registration of rules with the {@link RuleManager} * and provides getter and setter methods for common properties such as * {@code ruleId} and {@code responseProcessor}. * </p> * * <p> * Subclasses should extend this class and implement the abstract methods * defined in the {@link Rule} interface to provide specific rule logic. * </p> * */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 2.8K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
private final List<SettingsProblem> problems; /** * Creates a new exception with the specified problems. * * @param problems The problems that cause this exception, may be {@code null}. */ public SettingsBuildingException(List<SettingsProblem> problems) { super(toMessage(problems)); this.problems = new ArrayList<>(); if (problems != null) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 2.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectRealmCache.java
* cache. * * @param project The project that employs the plugin realm, must not be {@code null}. * @param record The cache record being used for the project, must not be {@code null}. */ void register(MavenProject project, Key key, CacheRecord record);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
throw new RuntimeException(e); } catch (NoSuchMethodException e) { throw new AssertionError(e); } } /** * Ensures that all interface methods of {@code forwarderClass} are forwarded to the {@link * ForwardingObject#delegate}. {@code forwarderClass} is assumed to only implement one interface. */ static <T extends ForwardingObject> void testForwardingObject(Class<T> forwarderClass) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 2.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java
assertFalse(Thread.currentThread().isInterrupted()); } static void clearInterrupt() { Thread.interrupted(); } /** * Retrieves the result of a {@code Future} known to be done but uses the {@code get(long, * TimeUnit)} overload in order to test that method. */ static <V extends @Nullable Object> V getDoneFromTimeoutOverload(Future<V> future) throws ExecutionException {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.7K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial006c.py
mod = importlib.import_module( f"docs_src.query_params_str_validations.{request.param}" ) client = TestClient(mod.app) return client @pytest.mark.xfail( reason="Code example is not valid. See https://github.com/fastapi/fastapi/issues/12419" ) def test_query_params_str_validations_no_query(client: TestClient): response = client.get("/items/") assert response.status_code == 200
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5K bytes - Viewed (0)