- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 708 for typeSet (0.2 sec)
-
common/scripts/tracing.sh
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jul 28 15:25:47 UTC 2023 - 4.1K bytes - Viewed (0) -
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) -
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) -
src/cmd/compile/internal/typecheck/stmt.go
} else { // Clause variable is broken; prevent typechecking. nvar.SetTypecheck(1) } ncase.Var = nvar } Stmts(ncase.Body) } } type typeSet struct { m map[string]src.XPos } func (s *typeSet) add(pos src.XPos, typ *types.Type) { if s.m == nil { s.m = make(map[string]src.XPos) } ls := typ.LinkString() if prev, ok := s.m[ls]; ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0) -
src/go/types/union.go
// here, we must have at least two terms in the syntactic term list (but not necessarily // in the term list of the union's type set). if f != nil { tset := f.typeSet() switch { case tset.NumMethods() != 0: check.errorf(tlist[i], InvalidUnion, "cannot use %s in union (%s contains methods)", t, t) case t.typ == universeComparable.Type():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/lookup.go
} } case *Interface: // look for a matching method (interface may be a type parameter) if i, m := t.typeSet().LookupMethod(pkg, name, foldCase); m != nil { assert(m.typ != nil) index = concat(e.index, i) if obj != nil || e.multiples { return nil, index, false // collision } obj = m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 19.8K bytes - Viewed (0) -
src/go/types/lookup.go
} } case *Interface: // look for a matching method (interface may be a type parameter) if i, m := t.typeSet().LookupMethod(pkg, name, foldCase); m != nil { assert(m.typ != nil) index = concat(e.index, i) if obj != nil || e.multiples { return nil, index, false // collision } obj = m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/union.go
// here, we must have at least two terms in the syntactic term list (but not necessarily // in the term list of the union's type set). if f != nil { tset := f.typeSet() switch { case tset.NumMethods() != 0: check.errorf(tlist[i], InvalidUnion, "cannot use %s in union (%s contains methods)", t, t) case t.typ == universeComparable.Type():
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 15 16:16:58 UTC 2023 - 6.3K bytes - Viewed (0) -
src/go/types/methodset.go
// Interface types need to be considered). next = append(next, embeddedType{typ, concat(e.index, i), e.indirect || isPtr, e.multiples}) } } case *Interface: mset = mset.add(t.typeSet().methods, e.index, true, e.multiples) } } // Add methods and collisions at this depth to base if no entries with matching // names exist already. for k, m := range mset {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/subst.go
// If check != nil, check.newInterface will have saved the interface for later completion. if subst.check == nil { // golang/go#61561: all newly created interfaces must be completed iface.typeSet() } return iface } case *Map: key := subst.typ(t.key) elem := subst.typ(t.elem) if key != t.key || elem != t.elem { return &Map{key: key, elem: elem} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:04:07 UTC 2024 - 11K bytes - Viewed (0)