Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,733 for MethodA (0.37 sec)

  1. src/go/doc/testdata/generics.1.golden

    	func Constructor[lowerCase any]() Type[lowerCase]
    
    	// MethodA uses a different name for its receiver type parameter. 
    	func (t Type[A]) MethodA(p A)
    
    	// MethodB has a blank receiver type parameter. 
    	func (t Type[_]) MethodB()
    
    	// MethodC has a lower-case receiver type parameter. 
    	func (t Type[c]) MethodC()
    
    	// int16 shadows the predeclared type int16. 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            MethodMetaData methodA = method('a', classMetaData)
            MethodMetaData methodB = method('b', classMetaData)
            MethodMetaData methodBOverload = method('b', classMetaData)
            MethodDoc methodAOverridden = methodDoc('a')
            MethodDoc methodC = methodDoc('c')
            MethodDoc methodD = methodDoc('d')
            MethodDoc methodE = methodDoc('e')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.4K bytes
    - Viewed (0)
  3. src/go/doc/testdata/generics.0.golden

    	// MethodB has a blank receiver type parameter. 
    	func (t Type[_]) MethodB()
    
    	// MethodC has a lower-case receiver type parameter. 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. src/go/doc/testdata/generics.2.golden

    	// MethodB has a blank receiver type parameter. 
    	func (t Type[_]) MethodB()
    
    	// MethodC has a lower-case receiver type parameter. 
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. src/go/doc/testdata/generics.go

    func Constructor[lowerCase any]() Type[lowerCase] {
    	return Type[lowerCase]{}
    }
    
    // MethodA uses a different name for its receiver type parameter.
    func (t Type[A]) MethodA(p A) {}
    
    // MethodB has a blank receiver type parameter.
    func (t Type[_]) MethodB() {}
    
    // MethodC has a lower-case receiver type parameter.
    func (t Type[c]) MethodC() {}
    
    // Constraint is a constraint interface with two type parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java

            protected int doHash(Method method) {
                return new HashCodeBuilder()
                    .append(method.getName())
                    .append(method.getParameterTypes())
                    .toHashCode();
            }
        };
    
        /**
         * Equivalence of methods based on method name, the number, type and order of parameters, and return types.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. src/internal/types/testdata/examples/methods.go

    // This file shows some examples of methods on type-parameterized types.
    
    package p
    
    // Parameterized types may have methods.
    type T1[A any] struct{ a A }
    
    // When declaring a method for a parameterized type, the "instantiated"
    // receiver type acts as an implicit declaration of the type parameters
    // for the receiver type. In the example below, method m1 on type T1 has
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. src/cmd/vet/testdata/method/method.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file contains the code to check canonical methods.
    
    package method
    
    import "fmt"
    
    type MethodTest int
    
    func (t *MethodTest) Scan(x fmt.ScanState, c byte) { // ERROR "should have signature Scan\(fmt\.ScanState, rune\) error"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 20 15:46:42 UTC 2019
    - 394 bytes
    - Viewed (0)
  9. test/method2.go

    	val() int
    }
    
    var _ = (*Val).val // ERROR "method|type \*Val is pointer to interface, not interface"
    
    var v Val
    var pv = &v
    
    var _ = pv.val() // ERROR "undefined|pointer to interface"
    var _ = pv.val   // ERROR "undefined|pointer to interface"
    
    func (t *T) g() int { return t.a }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 22:48:40 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  10. test/method4.go

    // rundir
    
    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test method expressions with arguments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 07 21:22:01 UTC 2012
    - 230 bytes
    - Viewed (0)
Back to top