Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,027 for methods_ (0.24 sec)

  1. src/cmd/compile/internal/types2/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, 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)
  2. src/go/types/typeset.go

    	})
    }
    
    // NumMethods returns the number of methods available.
    func (s *_TypeSet) NumMethods() int { return len(s.methods) }
    
    // Method returns the i'th method of type set s for 0 <= i < s.NumMethods().
    // The methods are ordered by their unique ID.
    func (s *_TypeSet) Method(i int) *Func { return s.methods[i] }
    
    // LookupMethod returns the index of and method with matching package and name, or (-1, 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)
  3. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                // now get the 'public method', the method declared by a
                // public interface or class (because the actual implementing
                // class may be a facade...)
    
                Method publicMethod = getPublicMethod(method);
    
                // it is entirely possible that there is no public method for
                // the methods of this class (i.e. in the facade, a method
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/lookup.go

    // field or method. If addressable is set, T is the type of an addressable
    // variable (only matters for method lookups). T must not be nil.
    //
    // The last index entry is the field or method index in the (possibly embedded)
    // type where the entry was found, either:
    //
    //  1. the list of declared methods of a named type; or
    //  2. the list of all methods (method set) of an interface type; or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  5. src/go/types/lookup.go

    // field or method. If addressable is set, T is the type of an addressable
    // variable (only matters for method lookups). T must not be nil.
    //
    // The last index entry is the field or method index in the (possibly embedded)
    // type where the entry was found, either:
    //
    //  1. the list of declared methods of a named type; or
    //  2. the list of all methods (method set) of an interface type; or
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/internal/reflectlite/type.go

    						continue
    					}
    				}
    				if i++; i >= len(t.Methods) {
    					return true
    				}
    			}
    		}
    		return false
    	}
    
    	v := V.Uncommon()
    	if v == nil {
    		return false
    	}
    	i := 0
    	vmethods := v.Methods()
    	for j := 0; j < int(v.Mcount); j++ {
    		tm := &t.Methods[i]
    		tmName := rT.nameOff(tm.Name)
    		vm := vmethods[j]
    		vmName := rV.nameOff(vm.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  7. src/reflect/type.go

    // NumMethod returns the number of interface methods in the type's method set.
    func (t *interfaceType) NumMethod() int { return len(t.Methods) }
    
    // MethodByName method with the given name in the type's method set.
    func (t *interfaceType) MethodByName(name string) (m Method, ok bool) {
    	if t == nil {
    		return
    	}
    	var p *abi.Imethod
    	for i := range t.Methods {
    		p = &t.Methods[i]
    		if t.nameOff(p.Name).Name() == name {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/types2/object.go

    //
    // The result is nil for methods of types in the Universe scope,
    // like method Error of the error built-in interface type.
    func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
    
    // hasPtrRecv reports whether the receiver is of the form *T for the given method obj.
    func (obj *Func) hasPtrRecv() bool {
    	// If a method's receiver type is set, use that as the source of truth for the receiver.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top