Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for typeSet (0.17 sec)

  1. guava/src/com/google/common/reflect/TypeToken.java

       *
       * @since 13.0
       */
      public class TypeSet extends ForwardingSet<TypeToken<? super T>> implements Serializable {
    
        @CheckForNull private transient ImmutableSet<TypeToken<? super T>> types;
    
        TypeSet() {}
    
        /** Returns the types that are interfaces implemented by this type. */
        public TypeSet interfaces() {
          return new InterfaceSet(this);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

       *
       * @since 13.0
       */
      public class TypeSet extends ForwardingSet<TypeToken<? super T>> implements Serializable {
    
        @CheckForNull private transient ImmutableSet<TypeToken<? super T>> types;
    
        TypeSet() {}
    
        /** Returns the types that are interfaces implemented by this type. */
        public TypeSet interfaces() {
          return new InterfaceSet(this);
        }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<A>() {}.capture()).getTypes();
        makeUnmodifiable(types.rawTypes())
            .containsExactly(Interface1.class, Interface2.class, Interface3.class, Iterable.class);
      }
    
      private static void assertSubtypeFirst(TypeToken<?>.TypeSet types) {
        assertSubtypeTokenBeforeSupertypeToken(types);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<A>() {}.capture()).getTypes();
        makeUnmodifiable(types.rawTypes())
            .containsExactly(Interface1.class, Interface2.class, Interface3.class, Iterable.class);
      }
    
      private static void assertSubtypeFirst(TypeToken<?>.TypeSet types) {
        assertSubtypeTokenBeforeSupertypeToken(types);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  5. src/go/types/expr.go

    			return Typ[UntypedNil], nil, 0
    		default:
    			return nil, nil, InvalidUntypedConversion
    		}
    	case *Interface:
    		if isTypeParam(target) {
    			if !u.typeSet().underIs(func(u Type) bool {
    				if u == nil {
    					return false
    				}
    				t, _, _ := check.implicitTypeAndValue(x, u)
    				return t != nil
    			}) {
    				return nil, nil, InvalidUntypedConversion
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    			if !isString(target) {
    				return nil, nil, InvalidUntypedConversion
    			}
    		default:
    			return nil, nil, InvalidUntypedConversion
    		}
    	case *Interface:
    		if isTypeParam(target) {
    			if !u.typeSet().underIs(func(u Type) bool {
    				if u == nil {
    					return false
    				}
    				t, _, _ := check.implicitTypeAndValue(x, u)
    				return t != nil
    			}) {
    				return nil, nil, InvalidUntypedConversion
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/go/parser/parser.go

    			f.name = nil
    
    		case token.TILDE:
    			if typeSetsOK {
    				f.typ = p.embeddedElem(nil)
    				return
    			}
    
    		case token.OR:
    			if typeSetsOK {
    				// name "|" typeset
    				f.typ = p.embeddedElem(f.name)
    				f.name = nil
    				return
    			}
    		}
    
    	case token.MUL, token.ARROW, token.FUNC, token.LBRACK, token.CHAN, token.MAP, token.STRUCT, token.INTERFACE, token.LPAREN:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/out.go

    #define GO_CGO_PROLOGUE_H
    
    typedef signed char GoInt8;
    typedef unsigned char GoUint8;
    typedef short GoInt16;
    typedef unsigned short GoUint16;
    typedef int GoInt32;
    typedef unsigned int GoUint32;
    typedef long long GoInt64;
    typedef unsigned long long GoUint64;
    typedef GoIntGOINTBITS GoInt;
    typedef GoUintGOINTBITS GoUint;
    typedef size_t GoUintptr;
    typedef float GoFloat32;
    typedef double GoFloat64;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

     public:
    #if GTEST_OS_WINDOWS
      typedef __int64 Int;
      typedef unsigned __int64 UInt;
    #else
      typedef long long Int;  // NOLINT
      typedef unsigned long long UInt;  // NOLINT
    #endif  // GTEST_OS_WINDOWS
    };
    
    // Integer types of known sizes.
    typedef TypeWithSize<4>::Int Int32;
    typedef TypeWithSize<4>::UInt UInt32;
    typedef TypeWithSize<8>::Int Int64;
    typedef TypeWithSize<8>::UInt UInt64;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  10. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

     public:
    #if GTEST_OS_WINDOWS
      typedef __int64 Int;
      typedef unsigned __int64 UInt;
    #else
      typedef long long Int;  // NOLINT
      typedef unsigned long long UInt;  // NOLINT
    #endif  // GTEST_OS_WINDOWS
    };
    
    // Integer types of known sizes.
    typedef TypeWithSize<4>::Int Int32;
    typedef TypeWithSize<4>::UInt UInt32;
    typedef TypeWithSize<8>::Int Int64;
    typedef TypeWithSize<8>::UInt UInt64;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
Back to top