Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for newParam (0.14 sec)

  1. src/go/types/call.go

    				copy(vars, sig.params.vars)
    				last := sig.params.vars[npars-1]
    				typ := last.typ.(*Slice).elem
    				for len(vars) < nargs {
    					vars = append(vars, NewParam(last.pos, last.pkg, last.name, typ))
    				}
    				sigParams = NewTuple(vars...) // possibly nil!
    				adjusted = true
    				npars = nargs
    			} else {
    				// nargs < npars-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/call.go

    				copy(vars, sig.params.vars)
    				last := sig.params.vars[npars-1]
    				typ := last.typ.(*Slice).elem
    				for len(vars) < nargs {
    					vars = append(vars, NewParam(last.pos, last.pkg, last.name, typ))
    				}
    				sigParams = NewTuple(vars...) // possibly nil!
    				adjusted = true
    				npars = nargs
    			} else {
    				// nargs < npars-1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    	//
    	// It must be possible for importers to construct such invalid interfaces.
    	// Previously, this panicked.
    
    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    	//
    	// It must be possible for importers to construct such invalid interfaces.
    	// Previously, this panicked.
    
    	sig1 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[Int])), nil, false)
    	sig2 := NewSignatureType(nil, nil, nil, NewTuple(NewParam(nopos, nil, "", Typ[String])), nil, false)
    
    	methods := []*Func{
    		NewFunc(nopos, nil, "M", sig1),
    		NewFunc(nopos, nil, "M", sig2),
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg go/types, func NewMap(Type, Type) *Map
    pkg go/types, func NewMethodSet(Type) *MethodSet
    pkg go/types, func NewNamed(*TypeName, Type, []*Func) *Named
    pkg go/types, func NewPackage(string, string) *Package
    pkg go/types, func NewParam(token.Pos, *Package, string, Type) *Var
    pkg go/types, func NewPkgName(token.Pos, *Package, string, *Package) *PkgName
    pkg go/types, func NewPointer(Type) *Pointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/main/assemblies/files/fess.bat

    		SET silent=Y
    	)
    	IF "!current!" == "--silent" (
    		SET silent=Y
    	)	
    	
    	IF "!silent!" == "Y" (
    		SET nopauseonerror=Y
    	) ELSE (
    	    IF "x!newparams!" NEQ "x" (
    	        SET newparams=!newparams! !current!
            ) ELSE (
                SET newparams=!current!
            )
    	)
    	
        IF "x!params!" NEQ "x" (
    		GOTO loop
    	)
    )
    
    SET HOSTNAME=%COMPUTERNAME%
    
    CALL "%~dp0fess.in.bat"
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sun May 24 22:24:52 UTC 2020
    - 796 bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/config/param/params.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package param
    
    // Params for a Template.
    type Params map[string]any
    
    // NewParams returns a new Params instance.
    func NewParams() Params {
    	return make(Params)
    }
    
    func (p Params) Get(k string) any {
    	return p[k]
    }
    
    func (p Params) GetWellKnown(k WellKnown) any {
    	return p[k.String()]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/config/builder.go

    	params := s.Params()
    	newParams := param.NewParams()
    	for _, nsKey := range []param.WellKnown{param.Namespace, param.SystemNamespace} {
    		if params.ContainsWellKnown(nsKey) {
    			val := params.GetWellKnown(nsKey)
    			if strVal, ok := val.(string); ok {
    				newParams.SetWellKnown(nsKey, namespace.Static(strVal))
    			}
    		}
    	}
    	return s.WithParams(newParams)
    }
    
    func (b *Builder) addYAML(s Source) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 13 23:42:29 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/rsc.io/markdown/para.go

    	// might have been taken away to start a table.
    	pos := p.pos()
    	pos.EndLine = pos.StartLine + len(b.text) - 1
    	return &Paragraph{
    		pos,
    		p.newText(pos, s),
    	}
    }
    
    func newPara(p *parseState, s line) (line, bool) {
    	// Process paragraph continuation text or start new paragraph.
    	b := p.para()
    	indented := p.lineDepth == len(p.stack)-2 // fully indented, not playing "pargraph continuation text" games
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/parse.go

    	for _, fn := range news {
    		if l, ok := fn(p, s); ok {
    			s = l
    			if s.isBlank() {
    				return
    			}
    			p.lineDepth++
    			goto Prefixes
    		}
    	}
    
    	newPara(p, s)
    }
    
    func (c *rootBuilder) extend(p *parseState, s line) (line, bool) {
    	panic("root extend")
    }
    
    var news = []func(*parseState, line) (line, bool){
    	newQuote,
    	newATXHeading,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top