- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 721 for typeSet (0.16 sec)
-
src/go/types/typeparam.go
func (t *TypeParam) is(f func(*term) bool) bool { return t.iface().typeSet().is(f) } // underIs calls f with the underlying types of the specific type terms // of t's constraint and reports whether all calls to f returned true. // If there are no specific terms, underIs returns the result of f(nil). func (t *TypeParam) underIs(f func(Type) bool) bool { return t.iface().typeSet().underIs(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 5.1K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/types2/typestring.go
} default: // For externally defined implementations of Type. // Note: In this case cycles won't be caught. w.string(t.String()) } } // typeSet writes a canonical hash for an interface type set. func (w *typeWriter) typeSet(s *_TypeSet) { assert(w.ctxt != nil) first := true for _, m := range s.methods { if !first { w.byte(';') } first = false w.string(m.name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/typestring.go
} default: // For externally defined implementations of Type. // Note: In this case cycles won't be caught. w.string(t.String()) } } // typeSet writes a canonical hash for an interface type set. func (w *typeWriter) typeSet(s *_TypeSet) { assert(w.ctxt != nil) first := true for _, m := range s.methods { if !first { w.byte(';') } first = false w.string(m.name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/go/types/predicates.go
if reportf != nil { reportf("%s cannot be compared", t) } return false } return true case *Interface: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) { return true } if reportf != nil { if t.typeSet().IsEmpty() { reportf("empty type set") } else { reportf("incomparable types in type set") } } // fallthrough } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeparam.go
func (t *TypeParam) is(f func(*term) bool) bool { return t.iface().typeSet().is(f) } // underIs calls f with the underlying types of the specific type terms // of t's constraint and reports whether all calls to f returned true. // If there are no specific terms, underIs returns the result of f(nil). func (t *TypeParam) underIs(f func(Type) bool) bool { return t.iface().typeSet().underIs(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
if reportf != nil { reportf("%s cannot be compared", t) } return false } return true case *Interface: if dynamic && !isTypeParam(T) || t.typeSet().IsComparable(seen) { return true } if reportf != nil { if t.typeSet().IsEmpty() { reportf("empty type set") } else { reportf("incomparable types in type set") } } // fallthrough } return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/go/types/unify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/unify.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 16:24:39 UTC 2024 - 27.8K bytes - Viewed (0)