Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for addMethods (0.16 sec)

  1. src/go/internal/gcimporter/iimport.go

    					rparams = make([]*types.TypeParam, targs.Len())
    					for i := range rparams {
    						rparams[i], _ = targs.At(i).(*types.TypeParam)
    					}
    				}
    				msig := r.signature(recv, rparams, nil)
    
    				named.AddMethod(types.NewFunc(mpos, r.currPkg, mname, msig))
    			}
    		}
    
    	case 'P':
    		// We need to "declare" a typeparam in order to have a name that
    		// can be referenced recursively (if needed) in the type param's
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. test-site/activator-launch-1.3.2.jar

    org/apache/ivy/util/Configurator$ObjectDescriptor.class package org.apache.ivy.util; final synchronized class Configurator$ObjectDescriptor { private Object obj; private String objName; private java.util.Map createMethods; private java.util.Map addMethods; private java.util.Map addConfiguredMethods; private java.util.Map setMethods; private java.util.Map typeAddMethods; private java.util.Map typeAddConfiguredMet; public void Configurator$ObjectDescriptor(Object, String); public final Object getObject();...
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (1)
  3. src/cmd/compile/internal/types2/decl.go

    			} else {
    				check.errorf(m.pos, DuplicateMethod, "method %s.%s already declared", obj.Name(), m.name)
    			}
    			continue
    		}
    
    		if base != nil {
    			base.AddMethod(m)
    		}
    	}
    }
    
    func (check *Checker) checkFieldUniqueness(base *Named) {
    	if t, _ := base.under().(*Struct); t != nil {
    		var mset objset
    		for i := 0; i < base.NumMethods(); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/parser.go

    			params, isVariadic := p.parseParamList(pkg)
    			results := p.parseResultList(pkg)
    			p.skipInlineBody()
    			p.expectEOL()
    
    			sig := types.NewSignatureType(receiver, nil, nil, params, results, isVariadic)
    			nt.AddMethod(types.NewFunc(token.NoPos, pkg, name, sig))
    		}
    	}
    
    	return nt
    }
    
    func (p *parser) parseInt64() int64 {
    	lit := p.expect(scanner.Int)
    	n, err := strconv.ParseInt(lit, 10, 64)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  5. src/go/types/decl.go

    			} else {
    				check.errorf(m, DuplicateMethod, "method %s.%s already declared", obj.Name(), m.name)
    			}
    			continue
    		}
    
    		if base != nil {
    			base.AddMethod(m)
    		}
    	}
    }
    
    func (check *Checker) checkFieldUniqueness(base *Named) {
    	if t, _ := base.under().(*Struct); t != nil {
    		var mset objset
    		for i := 0; i < base.NumMethods(); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. api/go1.5.txt

    pkg go/types, method (*MethodSet) Len() int
    pkg go/types, method (*MethodSet) Lookup(*Package, string) *Selection
    pkg go/types, method (*MethodSet) String() string
    pkg go/types, method (*Named) AddMethod(*Func)
    pkg go/types, method (*Named) Method(int) *Func
    pkg go/types, method (*Named) NumMethods() int
    pkg go/types, method (*Named) Obj() *TypeName
    pkg go/types, method (*Named) SetUnderlying(Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*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},
    		{"(*Named).Obj", Method, 5},
    		{"(*Named).Origin", Method, 18},
    		{"(*Named).SetTypeParams", Method, 18},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. src/internal/trace/traceviewer/static/trace_viewer_full.html

    exOf('\n*'));methods=methods.split('\n');methods.forEach(this.parseMethod.bind(this));},parseMethod(methodLine){const data=methodLine.split('\t');const methodId=parseInt(data[0]);const methodName=data[1]+'.'+data[2]+data[3];this.addMethod(methodId,methodName);},addMethod(methodId,methodName){this.methods_[methodId]=methodName;},getMethodName(methodId){return this.methods_[methodId];}};tr.importer.Importer.register(DdmsImporter);return{DdmsImporter,};});'use strict';tr.exportTo('tr.e.audits',function(){class...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top