- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for allMethods (0.28 sec)
-
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/MethodCache.kt
allMethods().firstAccessibleMatchingMethodOrNull(predicate) internal fun Iterable<Method>.firstAccessibleMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? = find(predicate)?.apply { isAccessible = true } internal fun Class<*>.firstMatchingMethodOrNull(predicate: Method.() -> Boolean): Method? = allMethods().find(predicate) internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/identity.go
// identical. Match this behavior. // TODO(mdempsky): Revisit this. return true case TINTER: if len(t1.AllMethods()) != len(t2.AllMethods()) { return false } for i, f1 := range t1.AllMethods() { f2 := t2.AllMethods()[i] if f1.Sym != f2.Sym || !identical(f1.Type, f2.Type, flags, assumedEqual) { return false } } return true case TSTRUCT:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 20:57:01 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy
then: methods.methodNames() == (["doSomething"] as Set) methods.allMethods().values().flatten()*.name == ["doSomething", "doSomething"] methods.allMethods().values().flatten()*.declaringClass == [Child, Base] methods.allMethods().values()*.declaredAnnotations.flatten()*.annotationType() == [Nullable, Incubating] } @Managed abstract class ManagedType {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 5.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typeset.go
// position. var seen objset var allMethods []*Func mpos := make(map[*Func]syntax.Pos) // method specification or method embedding position, for good error messages addMethod := func(pos syntax.Pos, m *Func, explicit bool) { switch other := seen.insert(m); { case other == nil: allMethods = append(allMethods, m) mpos[m] = pos case explicit: if check != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.6K bytes - Viewed (0) -
src/go/types/typeset.go
// position. var seen objset var allMethods []*Func mpos := make(map[*Func]token.Pos) // method specification or method embedding position, for good error messages addMethod := func(pos token.Pos, m *Func, explicit bool) { switch other := seen.insert(m); { case other == nil: allMethods = append(allMethods, m) mpos[m] = pos case explicit: if check != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 13.7K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/subr.go
func implements(t, iface *types.Type, m, samename **types.Field, ptr *int) bool { t0 := t if t == nil { return false } if t.IsInterface() { i := 0 tms := t.AllMethods() for _, im := range iface.AllMethods() { for i < len(tms) && tms[i].Sym != im.Sym { i++ } if i == len(tms) { *m = im *samename = nil *ptr = 0 return false } tm := tms[i]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 05 19:45:58 UTC 2023 - 20.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/StructSchemaExtractionStrategySupport.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 9.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaSerializationEncodingLookup.kt
return encodings.computeIfAbsent(type) { t -> calculateEncoding(t) }.encoding } private fun calculateEncoding(type: Class<*>): EncodingDetails { val candidates = type.allMethods() val encoding = writeReplaceEncodingFor(candidates) ?: readResolveEncodingFor(candidates) ?: writeObjectEncodingFor(candidates) ?: readObjectEncodingFor(candidates)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.4K bytes - Viewed (0) -
src/go/doc/doc.go
const ( // AllDecls says to extract documentation for all package-level // declarations, not just exported ones. AllDecls Mode = 1 << iota // AllMethods says to show all embedded methods, not just the ones of // invisible (unexported) anonymous fields. AllMethods // PreserveAST says to leave the AST unmodified. Originally, pieces of // the AST such as function bodies were nil-ed out to save memory in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/types/type.go
return t.methods.Slice() } // AllMethods returns a pointer to all the methods (including embedding) for type t. // For an interface type, this is the set of methods that are typically iterated // over. For non-interface types, AllMethods() only returns a valid result after // CalcMethods() has been called at least once. func (t *Type) AllMethods() []*Field { if t.kind == TINTER {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0)