- Sort Score
- Result 10 results
- Languages All
Results 5051 - 5060 of 8,559 for class1 (0.1 sec)
-
guava/src/com/google/common/base/Java8Compatibility.java
import java.nio.Buffer; /** * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See * https://github.com/google/guava/issues/3990 */ @J2ktIncompatible @GwtIncompatible final class Java8Compatibility { static void clear(Buffer b) { b.clear(); } static void flip(Buffer b) { b.flip(); } static void limit(Buffer b, int limit) { b.limit(limit); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/TestArtifactResolver.java
import javax.inject.Singleton; import org.apache.maven.artifact.metadata.ArtifactMetadataSource; import org.apache.maven.artifact.resolver.DefaultArtifactResolver; @Named("classpath") @Singleton @Deprecated public class TestArtifactResolver extends DefaultArtifactResolver { private ArtifactMetadataSource source; @Inject public TestArtifactResolver(final @Named("classpath") ArtifactMetadataSource source) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/WagonMock.java
* under the License. */ package org.apache.maven.repository.legacy; import org.apache.maven.wagon.providers.file.FileWagon; /** * Mock of a Wagon for testing * */ public class WagonMock extends FileWagon { /** * A field that can be configured in the Wagon * * @component.configuration default="configurableField" */ private String configurableField = null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainFactoryException.java
package org.apache.maven.api.services; /** * Exception thrown when toolchain factory operations fail. * * <p>This exception wraps errors that occur during toolchain creation or initialization.</p> */ public class ToolchainFactoryException extends MavenException { public ToolchainFactoryException(String message) { super(message); } public ToolchainFactoryException(String message, Throwable cause) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 1.3K bytes - Viewed (0) -
tests/test_security_api_key_header_optional.py
from fastapi.security import APIKeyHeader from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyHeader(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(api_key)): if oauth_header is None: return None user = User(username=oauth_header) return user
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/VersionedSettingsBranchTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ class VersionedSettingsBranchTest { @ParameterizedTest @CsvSource( value = [ "master, 0", "release, 1", "release6x, 2", "release7x, 3",Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 1.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JApiCmpExtensions.kt
get() = when (this) { is JApiClass -> this is JApiField -> this.getjApiClass() is JApiBehavior -> this.getjApiClass() else -> error("Unsupported japicmp member type '${this::class}'") } internal val JApiClass.isKotlin: Boolean get() = newClass.orElse(null)?.isKotlin ?: false internal val JApiClass.simpleName: String
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 1.5K bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial002_an_py39.py
from typing import Annotated, Callable from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 947 bytes - Viewed (0) -
docs_src/custom_request_and_route/tutorial002_py310.py
from collections.abc import Callable from fastapi import Body, FastAPI, HTTPException, Request, Response from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 10 08:55:32 UTC 2025 - 935 bytes - Viewed (0) -
build-logic/documentation/src/test/resources/org/gradle/test/sub/SubClass.java
package org.gradle.test.sub; public class SubClass {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 56 bytes - Viewed (0)