- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for AllMethods (0.25 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/go/doc/testdata/e.2.golden
*V2 *V5 } // V6.M should appear as method of V1 and V5 if AllMethods is set. func (V1) M() // type V2 struct { *V3 } // V4.M should appear as method of V2 and V3 if AllMethods is set. func (V2) M() // type V3 struct { *V4 } // V4.M should appear as method of V2 and V3 if AllMethods is set. func (V3) M() // type V4 struct { *V5 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.1K bytes - Viewed (0) -
src/go/doc/testdata/e.go
t2 T2 } // ---------------------------------------------------------------------------- // Don't show embedded methods of exported anonymous fields unless AllMethods // is set. type T4 struct{} // T4.M should appear as method of T5 only if AllMethods is set. func (*T4) M() {} type T5 struct { T4 } // ----------------------------------------------------------------------------
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.8K 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) -
src/go/doc/testdata/e.1.golden
type V3 struct { *V4 } // type V4 struct { *V5 } // V4.M should appear as method of V2 and V3 if AllMethods is set. func (*V4) M() // type V5 struct { *V6 } // type V6 struct{} // V6.M should appear as method of V1 and V5 if AllMethods is set. func (*V6) M() // type t1 struct{} // t1.M should not appear as method in a Tx type.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.8K bytes - Viewed (0) -
src/go/doc/testdata/e.0.golden
type V3 struct { *V4 } // type V4 struct { *V5 } // V4.M should appear as method of V2 and V3 if AllMethods is set. func (*V4) M() // type V5 struct { *V6 } // type V6 struct{} // V6.M should appear as method of V1 and V5 if AllMethods is set.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 1.5K 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) -
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_test.go
} }) } } func Test(t *testing.T) { t.Run("default", func(t *testing.T) { test(t, 0) }) t.Run("AllDecls", func(t *testing.T) { test(t, AllDecls) }) t.Run("AllMethods", func(t *testing.T) { test(t, AllMethods) }) } func TestFuncs(t *testing.T) { fset := token.NewFileSet() file, err := parser.ParseFile(fset, "funcs.go", strings.NewReader(funcsTestFile), parser.ParseComments) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:52 UTC 2022 - 6.7K bytes - Viewed (0)