Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for makeArg (0.16 sec)

  1. src/image/jpeg/scan.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package jpeg
    
    import (
    	"image"
    )
    
    // makeImg allocates and initializes the destination image.
    func (d *decoder) makeImg(mxx, myy int) {
    	if d.nComp == 1 {
    		m := image.NewGray(image.Rect(0, 0, 8*mxx, 8*myy))
    		d.img1 = m.SubImage(image.Rect(0, 0, d.width, d.height)).(*image.Gray)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/syscall/js/js.go

    	// value chosen for being power of two, and enough to handle all web APIs
    	// in particular, note that WebGL2's texImage2D takes up to 10 arguments
    	const maxStackArgs = 16
    	if size <= maxStackArgs {
    		// as long as makeArgs is inlined, these will be stack-allocated
    		argVals = make([]Value, size, maxStackArgs)
    		argRefs = make([]ref, size, maxStackArgs)
    	} else {
    		// allocates on the heap, but exceeding maxStackArgs should be rare
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go

    			return true
    		}
    	}
    	return false
    }
    
    func openBrowser(url string, o *plugin.Options) {
    	// Construct URL.
    	baseURL, _ := gourl.Parse(url)
    	current := currentConfig()
    	u, _ := current.makeURL(*baseURL)
    
    	// Give server a little time to get ready.
    	time.Sleep(time.Millisecond * 500)
    
    	for _, b := range browsers() {
    		args := strings.Split(b, " ")
    		if len(args) == 0 {
    			continue
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/text/language/match.go

    	// TODO: add preferred region to -u-rg-.
    	if e := w.Extensions(); len(e) > 0 {
    		b := language.Builder{}
    		b.SetTag(tt)
    		for _, e := range e {
    			b.AddExt(e)
    		}
    		tt = b.Make()
    	}
    	return makeTag(tt), index, c
    }
    
    // ErrMissingLikelyTagsData indicates no information was available
    // to compute likely values of missing tags.
    var ErrMissingLikelyTagsData = errors.New("missing likely tags data")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 25.1K bytes
    - Viewed (0)
Back to top