- Sort Score
- Result 10 results
- Languages All
Results 701 - 710 of 1,536 for become (0.04 sec)
-
android/guava/src/com/google/common/io/TempFileCreator.java
* were running under a new enough version of Android to support NIO. * * So this is probably just the "Windows Java 8" case. In that case, if we wanted *another* * layer of fallback before consulting the system property, we could try * com.sun.security.auth.module.NTSystem. * * But for now, we use the value from the system property as our best guess. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 29 18:50:14 UTC 2025 - 11.8K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
when(systemSessionMock.getData()).thenReturn(sessionDataMock); Path beforePomFile = Paths.get("src/test/resources/projects/transform/before.pom").toAbsolutePath(); Path afterPomFile = Paths.get("src/test/resources/projects/transform/after.pom").toAbsolutePath(); Path tempFile = Files.createTempFile("", ".pom");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Nov 06 18:32:25 UTC 2025 - 13.3K bytes - Viewed (0) -
docs/en/docs/advanced/response-change-status-code.md
# Response - Change Status Code { #response-change-status-code } You probably read before that you can set a default [Response Status Code](../tutorial/response-status-code.md){.internal-link target=_blank}. But in some cases you need to return a different status code than the default. ## Use case { #use-case } For example, imagine that you want to return an HTTP status code of "OK" `200` by default.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.5K bytes - Viewed (0) -
tests/test_file_and_form_order_issue_9116.py
""" Regression test, Error 422 if Form is declared before File See https://github.com/tiangolo/fastapi/discussions/9116 """ from pathlib import Path from typing import Annotated import pytest from fastapi import FastAPI, File, Form from fastapi.testclient import TestClient app = FastAPI() @app.post("/file_before_form") def file_before_form( file: bytes = File(), city: str = Form(), ):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 2.3K bytes - Viewed (0) -
cmd/decommetric_string.go
// Code generated by "stringer -type=decomMetric -trimprefix=decomMetric erasure-server-pool-decom.go"; DO NOT EDIT. package cmd import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[decomMetricDecommissionBucket-0] _ = x[decomMetricDecommissionObject-1] _ = x[decomMetricDecommissionRemoveObject-2]
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Aug 10 19:46:45 UTC 2022 - 830 bytes - Viewed (0) -
cmd/logging.go
func decomLogIf(ctx context.Context, err error, errKind ...any) { logger.LogIf(ctx, "decom", err, errKind...) } func decomLogOnceIf(ctx context.Context, err error, id string, errKind ...any) { logger.LogOnceIf(ctx, "decom", err, id, errKind...) } func decomLogEvent(ctx context.Context, msg string, args ...any) { logger.Event(ctx, "decom", msg, args...) } func etcdLogIf(ctx context.Context, err error, errKind ...any) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Callback.kt
/** * Called when the request could not be executed due to cancellation, a connectivity problem or * timeout. Because networks can fail during an exchange, it is possible that the remote server * accepted the request before the failure. */ fun onFailure( call: Call, e: IOException, ) /** * Called when the HTTP response was successfully returned by the remote server. The callback may
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006.py
assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(client: TestClient): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.6K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Not authenticated"} def test_security_http_basic_non_basic_credentials(): payload = b64encode(b"johnsecret").decode("ascii") auth_header = f"Basic {payload}" response = client.get("/users/me", headers={"Authorization": auth_header}) assert response.status_code == 401, response.text
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.6K bytes - Viewed (0) -
cmd/data-scanner.go
// before it hits any of the above limits. // This will make the branch rebalance itself when scanned if the distribution of objects has changed. // scanDataFolder will scanner the basepath+cache.Info.Name and return an updated cache. // The returned cache will always be valid, but may not be updated from the existing.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0)