Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for interfaceType (0.27 sec)

  1. guava-testlib/src/com/google/common/testing/DummyProxy.java

        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

       * is.
       */
      public <T> void testForwarding(
          Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) {
        checkNotNull(wrapperFunction);
        checkArgument(interfaceType.isInterface(), "%s isn't an interface", interfaceType);
        Method[] methods = getMostConcreteMethods(interfaceType);
        AccessibleObject.setAccessible(methods, true);
        for (Method method : methods) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/isolated/IsolationScheme.java

    public class IsolationScheme<IMPLEMENTATION, PARAMS> {
        private final Class<IMPLEMENTATION> interfaceType;
        private final Class<PARAMS> paramsType;
        private final Class<? extends PARAMS> noParamsType;
    
        public IsolationScheme(Class<IMPLEMENTATION> interfaceType, Class<PARAMS> paramsType, Class<? extends PARAMS> noParamsType) {
            this.interfaceType = interfaceType;
            this.paramsType = paramsType;
            this.noParamsType = noParamsType;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        private final TypeToken<?> interfaceType;
    
        DummyHandler(TypeToken<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        protected @Nullable Object handleInvocation(
            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        private final int identity = generateInt();
        private final Class<?> interfaceType;
    
        FreshInvocationHandler(Class<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        @CheckForNull
        protected Object handleInvocation(Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. pkg/typemap/map.go

    type TypeMap struct {
    	inner map[reflect.Type]any
    }
    
    func NewTypeMap() TypeMap {
    	return TypeMap{make(map[reflect.Type]any)}
    }
    
    func Set[T any](t TypeMap, v T) {
    	interfaceType := reflect.TypeOf((*T)(nil)).Elem()
    	t.inner[interfaceType] = v
    }
    
    func Get[T any](t TypeMap) *T {
    	v, f := t.inner[reflect.TypeFor[T]()]
    	if f {
    		return ptr.Of(v.(T))
    	}
    	return nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 16:38:40 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. src/internal/abi/switch.go

    package abi
    
    type InterfaceSwitch struct {
    	Cache  *InterfaceSwitchCache
    	NCases int
    
    	// Array of NCases elements.
    	// Each case must be a non-empty interface type.
    	Cases [1]*InterfaceType
    }
    
    type InterfaceSwitchCache struct {
    	Mask    uintptr                      // mask for index. Must be a power of 2 minus 1
    	Entries [1]InterfaceSwitchCacheEntry // Mask+1 entries total
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        private final int identity = generateInt();
        private final Class<?> interfaceType;
    
        FreshInvocationHandler(Class<?> interfaceType) {
          this.interfaceType = interfaceType;
        }
    
        @Override
        @CheckForNull
        protected Object handleInvocation(Object proxy, Method method, @Nullable Object[] args) {
          return interfaceMethodCalled(interfaceType, method);
        }
    
        @Override
        public int hashCode() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 17 16:33:44 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/iexport.go

    //             Name     stringOff
    //             Type     typeOff
    //             Embedded bool
    //             Note     stringOff
    //         }
    //     }
    //
    //     type InterfaceType struct {
    //         Tag     itag // interfaceType
    //         PkgPath stringOff
    //         Embeddeds []struct {
    //             Pos  Pos
    //             Type typeOff
    //         }
    //         Methods []struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 21 02:40:02 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top