- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,312 for Class (0.02 seconds)
-
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
OldBase returnTypeOverridenMethod() { return null } } static class OldSub extends OldBase { OldSub returnTypeOverridenMethod() { return null } } static class NewSuperInternal {} static class NewBase extends NewSuperInternal {} static class NewSub extends NewBase {} Map classes = [:] def setup() {Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelperTest.java
java.lang.reflect.Field field = TestBean.class.getDeclaredField("directField"); // First access helper.setProperty(bean1, "directField", String.class, config); boolean accessibilityAfterFirst = field.canAccess(bean1); // Second access with different bean config.setValue("value2"); helper.setProperty(bean2, "directField", String.class, config);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 8.7K bytes - Click Count (0) -
okhttp/src/jvmTest/java/okhttp3/CallJavaTest.java
Call call = client.newCall(request); assertEquals(5, call.tag(Integer.class)); assertEquals("hello", call.tag(String.class)); assertEquals(null, call.tag(Boolean.class)); assertEquals(null, call.tag(Object.class)); } @Test public void tagsCanBeComputed() { Request request = new Request.Builder() .url(HttpUrl.get("https://square.com/")) .build(); Call call = client.newCall(request);
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/en/docs/how-to/custom-request-and-route.md
And an `APIRoute` subclass to use that custom request class. ### Create a custom `GzipRequest` class { #create-a-custom-gziprequest-class } /// tip This is a toy example to demonstrate how it works, if you need Gzip support, you can use the provided [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank}. ///Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 4.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt
contentLength = contentLength, isSocket = false, ) } @Throws(IOException::class) fun flushRequest() { try { codec.flushRequest() } catch (e: IOException) { call.eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() { try { codec.finishRequest() } catch (e: IOException) {Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 10.5K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 5.1K bytes - Click Count (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
return when (methodJsonNode.get("name")?.asText()) { null -> None None::class.simpleName -> None TestDistribution::class.simpleName -> TestDistribution TestDistributionAlpine::class.simpleName -> TestDistributionAlpine TeamCityParallelTests::class.simpleName -> TeamCityParallelTests(Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 09 05:26:45 GMT 2025 - 5.3K bytes - Click Count (0) -
fastapi/exceptions.py
WebSocketErrorModel: type[BaseModel] = create_model("WebSocket") class FastAPIError(RuntimeError): """ A generic, FastAPI-specific error. """ class DependencyScopeError(FastAPIError): """ A dependency declared that it depends on another dependency with an invalid (narrower) scope. """ class ValidationException(Exception): def __init__( self,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java
assertThrows(IllegalStateException.class, n1AdjacentNodes::size)); assertNodeRemovedFromGraphErrorMessage( assertThrows(IllegalStateException.class, n1Predecessors::size)); assertNodeRemovedFromGraphErrorMessage( assertThrows(IllegalStateException.class, n1Successors::size)); assertNodeRemovedFromGraphErrorMessage( assertThrows(IllegalStateException.class, n1IncidentEdges::size));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 17.3K bytes - Click Count (0)