Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for AllMethods (0.37 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top