- Sort Score
- Result 10 results
- Languages All
Results 5741 - 5750 of 8,559 for class1 (0.13 sec)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
* under the License. */ package org.apache.maven.cli; import java.io.File; import java.nio.file.Paths; /** * Resolve relative file path against the given base directory */ @Deprecated public class ResolveFile { public static File resolveFile(File file, String baseDirectory) { if (file == null) { return null; } else if (file.isAbsolute()) { return file;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 08 08:49:11 UTC 2024 - 1.4K bytes - Viewed (0) -
tests/test_additional_properties.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() class Items(BaseModel): items: dict[str, int] @app.post("/foo") def foo(items: Items): return items.items client = TestClient(app) def test_additional_properties_post(): response = client.post("/foo", json={"items": {"foo": 1, "bar": 2}})
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.6K bytes - Viewed (0) -
tests/test_security_openid_connect_description.py
from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() oid = OpenIdConnect( openIdConnectUrl="/openid", description="OpenIdConnect security scheme" ) class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(oid)): user = User(username=oauth_header) return user @app.get("/users/me")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 2.4K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AcceptedRegressionsRulePostProcess.java
import me.champeau.gradle.japicmp.report.ViolationCheckContextWithViolations; import org.gradle.util.internal.CollectionUtils; import java.util.HashSet; import java.util.Set; public class AcceptedRegressionsRulePostProcess implements PostProcessViolationsRule { @Override @SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jun 09 08:16:49 UTC 2021 - 1.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTask.kt
/** * This [Task][org.gradle.api.Task] reorders the changes in an accepted API changes files * so that they are alphabetically sorted (by type, then member). */ @CacheableTask abstract class SortAcceptedApiChangesTask : AbstractAcceptedApiChangesMaintenanceTask() { @TaskAction fun execute() { val gson: Gson = GsonBuilder().setFormattingStyle(FormattingStyle.PRETTY.withIndent(" ")).create()
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Apr 09 14:09:16 UTC 2025 - 1.5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
// GradleMaster -> Master // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease val DslContext.uuidPrefix: String get() = settingsRoot.id.toString().substringAfter("Gradle") data class VersionedSettingsBranch( val branchName: String, ) { companion object { private const val MASTER_BRANCH = "master" private const val RELEASE_BRANCH = "release"Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 2.5K bytes - Viewed (0) -
internal/s3select/unused-errors.go
} } func errUnsupportedStorageClass(err error) *s3Error { return &s3Error{ code: "UnsupportedStorageClass", message: "Encountered an invalid storage class. Only STANDARD, STANDARD_IA, and ONEZONE_IA storage classes are supported.", statusCode: 400, cause: err, }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 20 08:16:35 UTC 2024 - 17.5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
long negativeProgressedSize = -100L; assertThrows(IllegalArgumentException.class, () -> format.formatProgress(negativeProgressedSize, 10L)); } @Test void testNegativeProgressedSizeBiggerThanSize() { FileSizeFormat format = new FileSizeFormat(); assertThrows(IllegalArgumentException.class, () -> format.formatProgress(100L, 10L)); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 14.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
* * @author Chris Povirk * @author Jared Levy */ @GwtCompatible @NullMarked public class Collections2Test extends TestCase { @J2ktIncompatible @GwtIncompatible // suite @AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(Collections2Test.class.getSimpleName()); suite.addTest(testsForFilter()); suite.addTest(testsForFilterAll());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
docs_src/dependencies/tutorial002_an_py39.py
from typing import Annotated, Union from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 677 bytes - Viewed (0)