- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,123 for annotation (0.05 seconds)
-
tests/test_response_model_as_return_annotation.py
@app.get("/no_response_model-annotation-return_same_model") def no_response_model_annotation_return_same_model() -> User: return User(name="John", surname="Doe") @app.get("/no_response_model-annotation-return_exact_dict") def no_response_model_annotation_return_exact_dict() -> User: return {"name": "John", "surname": "Doe"} @app.get("/no_response_model-annotation-return_invalid_dict")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 50.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import com.google.errorprone.annotations.FormatMethod; import java.lang.annotation.Annotation; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
final UriType annotation2 = field2.getAnnotation(UriType.class); assertNotNull(annotation1, "First annotation should exist"); assertNotNull(annotation2, "Second annotation should exist"); // Annotations with different protocol types should not be equal assertFalse("Annotations with different protocol types should not be equal", annotation1.equals(annotation2)); // Test with same field
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeTest.java
package org.codelibs.fess.validation; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.PARAMETER; import java.lang.annotation.Annotation; import java.lang.annotation.Documented; import java.lang.annotation.ElementType;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.4K bytes - Click Count (0) -
fastapi/_compat/shared.py
or is_dataclass(annotation) ) def field_annotation_is_complex(annotation: type[Any] | None) -> bool: origin = get_origin(annotation) if origin is Union or origin is UnionType: return any(field_annotation_is_complex(arg) for arg in get_args(annotation)) if origin is Annotated: return field_annotation_is_complex(get_args(annotation)[0]) return (
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/annotation/SecuredTest.java
*/ package org.codelibs.fess.annotation; import static org.junit.jupiter.api.Assertions.assertNotSame; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.lang.reflect.Method; import java.util.Arrays;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
import com.google.errorprone.annotations.FormatMethod; import java.lang.annotation.Annotation; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Method; import java.util.Locale; import junit.framework.TestCase; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertEquals(0, annotation.groups().length); assertEquals(0, annotation.payload().length); } // Test annotation target elements @Test public void test_annotationTargetElements() { CronExpression.class.isAnnotation(); assertTrue(CronExpression.class.isAnnotation()); // Check that annotation can be applied to METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
android/pom.xml
<annotation>com.google.common.hash.IgnoreJRERequirement</annotation> <annotation>com.google.common.io.IgnoreJRERequirement</annotation> <annotation>com.google.common.math.IgnoreJRERequirement</annotation> <annotation>com.google.common.primitives.IgnoreJRERequirement</annotation> <annotation>com.google.common.reflect.IgnoreJRERequirement</annotation>
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 17 19:12:41 GMT 2026 - 26.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
final CustomSize annotation = createBasicAnnotation(); validator.initialize(annotation); // Test null context - should return true for null value regardless of context assertTrue(validator.isValid(null, null)); } @Test public void test_initialize_withValidParameters() { final CustomSize annotation = createBasicAnnotation();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0)