Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 605 for vmethods (0.24 sec)

  1. 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)
  2. src/go/types/unify.go

    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    			// len(xmethods) <= len(ymethods)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/unify.go

    				}
    				p = p.prev
    			}
    			// The method set of x must be a subset of the method set
    			// of y or vice versa, and the common methods must unify.
    			xmethods := xset.methods
    			ymethods := yset.methods
    			// The smaller method set must be the subset, if it exists.
    			if len(xmethods) > len(ymethods) {
    				xmethods, ymethods = ymethods, xmethods
    			}
    			// len(xmethods) <= len(ymethods)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/cgo/internal/testplugin/plugin_test.go

    func TestMethod(t *testing.T) {
    	// Exported symbol's method must be live.
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "plugin.so", "./method/plugin.go")
    	goCmd(t, "build", "-o", "method.exe", "./method/main.go")
    	run(t, "./method.exe")
    }
    
    func TestMethod2(t *testing.T) {
    	globalSkip(t)
    	goCmd(t, "build", "-buildmode=plugin", "-o", "method2.so", "./method2/plugin.go")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private
    - Method thing() is not a valid rule method: The declared model element path ':)' is not a valid path: Model element name ':)' has illegal first character ':' (names must start with an ASCII letter or underscore).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/deadcode.go

    			}
    			for i, m := range methodsigs {
    				methods[i].m = m
    				if d.ctxt.Debugvlog > 1 {
    					d.ctxt.Logf("markable method: %v of sym %v %s\n", m, symIdx, d.ldr.SymName(symIdx))
    				}
    			}
    			d.markableMethods = append(d.markableMethods, methods...)
    		}
    	}
    }
    
    // mapinitcleanup walks all pkg init functions and looks for weak relocations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top