- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 146 for capture (0.29 seconds)
-
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.where( new TypeCapture<Iterable<Map<?, V>>>() {}.capture(), new TypeCapture<Iterable<Map<String, Integer>>>() {}.capture()); assertEquals( new TypeCapture<K>() {}.capture(), resolver.resolveType(new TypeCapture<K>() {}.capture())); assertEquals(Integer.class, resolver.resolveType(new TypeCapture<V>() {}.capture())); } public <T> void testWhere_mapFromWildcard() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.where( new TypeCapture<Iterable<Map<?, V>>>() {}.capture(), new TypeCapture<Iterable<Map<String, Integer>>>() {}.capture()); assertEquals( new TypeCapture<K>() {}.capture(), resolver.resolveType(new TypeCapture<K>() {}.capture())); assertEquals(Integer.class, resolver.resolveType(new TypeCapture<V>() {}.capture())); } public <T> void testWhere_mapFromWildcard() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 9.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertAssignable( TypeToken.of(new TypeCapture<L>() {}.capture()), TypeToken.of(new TypeCapture<L>() {}.capture())); assertNotAssignable( TypeToken.of(new TypeCapture<R>() {}.capture()), TypeToken.of(new TypeCapture<L>() {}.capture())); assertAssignable(TypeToken.of(new TypeCapture<L>() {}.capture()), new TypeToken<List<R>>() {}); } public void testisSupertypeOf_resolved() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 89K bytes - Click Count (0) -
guava/src/com/google/common/reflect/TypeResolver.java
* {@code ArrayList<?>::set}. * * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type. */ static TypeResolver invariantly(Type contextType) { Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0) -
internal/s3select/sql/parser.go
import ( "strings" "github.com/alecthomas/participle" "github.com/alecthomas/participle/lexer" ) // Types with custom Capture interface for parsing // Boolean is a type for a parsed Boolean literal type Boolean bool // Capture interface used by participle func (b *Boolean) Capture(values []string) error { *b = Boolean(strings.EqualFold(values[0], "true")) return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
(ParameterizedType) new TypeCapture<Entry<String, int[][]>>() {}.capture(); ParameterizedType ourType = Types.newParameterizedTypeWithOwner(Map.class, Entry.class, String.class, int[][].class); new EqualsTester() .addEqualityGroup(jvmType, ourType) .addEqualityGroup(new TypeCapture<Entry<String, String>>() {}.capture()) .addEqualityGroup(new TypeCapture<Map<String, Integer>>() {}.capture())
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 15.4K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /** * Captures the actual type of {@code T}. * * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass();Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
/** * An object that can capture objects to be closed later, when a {@link ClosingFuture} pipeline is * done. */ public static final class DeferredCloser { @RetainedWith private final CloseableList list; DeferredCloser(CloseableList list) { this.list = list; } /** * Captures an object to be closed when a {@link ClosingFuture} pipeline is done.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Sep 11 13:51:27 GMT 2025 - 96.9K bytes - Click Count (0) -
tests/test_validation_error_context.py
async def request_validation_handler(request: Request, exc: RequestValidationError): captured_exception.capture(exc) raise exc @app.exception_handler(ResponseValidationError) @sub_app.exception_handler(ResponseValidationError) async def response_validation_handler(_: Request, exc: ResponseValidationError): captured_exception.capture(exc) raise exc @app.exception_handler(WebSocketRequestValidationError)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 06 12:21:57 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* {@code ArrayList<?>::set}. * * <p>Instead, {@code <?>} will be resolved to a capture in the form of a type variable {@code * <capture-of-? extends Object>}, effectively preventing {@code set} from accepting any type. */ static TypeResolver invariantly(Type contextType) { Type invariantContext = WildcardCapturer.INSTANCE.capture(contextType);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 22:30:05 GMT 2025 - 25.3K bytes - Click Count (0)