Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 95 of 95 for MethodGet (0.21 sec)

  1. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*Map).Elem", Method, 5},
    		{"(*Map).Key", Method, 5},
    		{"(*Map).String", Method, 5},
    		{"(*Map).Underlying", Method, 5},
    		{"(*MethodSet).At", Method, 5},
    		{"(*MethodSet).Len", Method, 5},
    		{"(*MethodSet).Lookup", Method, 5},
    		{"(*MethodSet).String", Method, 5},
    		{"(*Named).AddMethod", Method, 5},
    		{"(*Named).Method", Method, 5},
    		{"(*Named).NumMethods", Method, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  2. src/go/types/call.go

    			//           method set method doesn't match (no copy there). There
    			///          may be other situations.
    			disabled := true
    			if !disabled && debug {
    				// Verify that LookupFieldOrMethod and MethodSet.Lookup agree.
    				// TODO(gri) This only works because we call LookupFieldOrMethod
    				// _before_ calling NewMethodSet: LookupFieldOrMethod completes
    				// any incomplete interfaces so they are available to NewMethodSet
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/reflect/value.go

    		valueRet := add(valueFrame, valueABI.retOffset, "valueFrame's size > retOffset")
    		methodRet := add(methodFrame, methodABI.retOffset, "methodFrame's size > retOffset")
    		// This copies to the stack. Write barriers are not needed.
    		memmove(valueRet, methodRet, retSize)
    	}
    
    	// Tell the runtime it can now depend on the return values
    	// being properly initialized.
    	*retValid = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/api_test.go

    		{"type ( E1[P any] struct{ f P }; E2[P any] struct{}; x struct{ E1[int]; *E2[int] }); func (E2[P]) f() {}", false, []int{1, 0}, false},
    
    		// outside methodset
    		// (*T).f method exists, but value of type T is not addressable
    		{"var x T; type T struct{}; func (*T) f() {}", false, nil, true},
    
    		// outside method set of a generic type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		{"type ( E1[P any] struct{ f P }; E2[P any] struct{}; x struct{ E1[int]; *E2[int] }); func (E2[P]) f() {}", false, []int{1, 0}, false},
    
    		// outside methodset
    		// (*T).f method exists, but value of type T is not addressable
    		{"var x T; type T struct{}; func (*T) f() {}", false, nil, true},
    
    		// outside method set of a generic type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top