Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,851 for methods_ (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutableClassDetails.java

            }
            return property;
        }
    
        void superType(Class<?> type) {
            superTypes.add(type);
        }
    
        void method(Method method) {
            methods.add(method);
        }
    
        void instanceMethod(Method method) {
            instanceMethods.add(method);
        }
    
        MutablePropertyDetails property(String propertyName) {
            MutablePropertyDetails property = properties.get(propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/decls2/decls2a.go

    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    func (int /* ERROR "cannot define new methods on non-local type int" */ ) m() {}
    func ([ /* ERROR "invalid receiver" */ ]int) m() {}
    func (time /* ERROR "cannot define new methods on non-local type time.Time" */ .Time) m() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
     * parameter, the object containing the method will not be able to register for event delivery from
     * the {@link EventBus}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
     * parameter, the object containing the method will not be able to register for event delivery from
     * the {@link EventBus}.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/typeinst1.go

    func (_ A[P]) a() {}
    
    var _ T5[A[int], int]
    
    // Invoking methods with parameterized receiver types uses
    // type inference to determine the actual type arguments matching
    // the receiver type parameters from the actual receiver argument.
    // Go does implicit address-taking and dereferenciation depending
    // on the actual receiver and the method's receiver type. To make
    // type inference work, the type-checker matches "pointer-ness"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/net/http/routing_tree.go

    }
    
    // matchingMethods adds to methodSet all the methods that would result in a
    // match if passed to routingNode.match with the given host and path.
    func (root *routingNode) matchingMethods(host, path string, methodSet map[string]bool) {
    	if host != "" {
    		root.findChild(host).matchingMethodsPath(path, methodSet)
    	}
    	root.emptyChild.matchingMethodsPath(path, methodSet)
    	if methodSet["GET"] {
    		methodSet["HEAD"] = true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:43:24 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. src/os/types.go

    import (
    	"io/fs"
    	"syscall"
    )
    
    // Getpagesize returns the underlying system's memory page size.
    func Getpagesize() int { return syscall.Getpagesize() }
    
    // File represents an open file descriptor.
    //
    // The methods of File are safe for concurrent use.
    type File struct {
    	*file // os specific
    }
    
    // A FileInfo describes a file and is returned by [Stat] and [Lstat].
    type FileInfo = fs.FileInfo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/selection.go

    // package-level objects, and may be nil.
    //
    // Examples:
    //
    //	"field (T) f int"
    //	"method (T) f(X) Y"
    //	"method expr (T) f(X) Y"
    func SelectionString(s *Selection, qf Qualifier) string {
    	var k string
    	switch s.kind {
    	case FieldVal:
    		k = "field "
    	case MethodVal:
    		k = "method "
    	case MethodExpr:
    		k = "method expr "
    	default:
    		panic("unreachable")
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/go/types/interface.go

    	if len(methods) == 0 && len(embeddeds) == 0 {
    		return &emptyInterface
    	}
    
    	// set method receivers if necessary
    	typ := (*Checker)(nil).newInterface()
    	for _, m := range methods {
    		if sig := m.typ.(*Signature); sig.recv == nil {
    			sig.recv = NewVar(m.pos, m.pkg, "", typ)
    		}
    	}
    
    	// sort for API stability
    	sortMethods(methods)
    
    	typ.methods = methods
    	typ.embeddeds = embeddeds
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. src/go/types/selection.go

    // package-level objects, and may be nil.
    //
    // Examples:
    //
    //	"field (T) f int"
    //	"method (T) f(X) Y"
    //	"method expr (T) f(X) Y"
    func SelectionString(s *Selection, qf Qualifier) string {
    	var k string
    	switch s.kind {
    	case FieldVal:
    		k = "field "
    	case MethodVal:
    		k = "method "
    	case MethodExpr:
    		k = "method expr "
    	default:
    		panic("unreachable")
    	}
    	var buf bytes.Buffer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top