Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for pix1 (0.05 sec)

  1. src/os/exec_unix.go

    	}
    
    	var (
    		status syscall.WaitStatus
    		rusage syscall.Rusage
    		pid1   int
    		e      error
    	)
    	for {
    		pid1, e = syscall.Wait4(p.Pid, &status, 0, &rusage)
    		if e != syscall.EINTR {
    			break
    		}
    	}
    	if e != nil {
    		return nil, NewSyscallError("wait", e)
    	}
    	p.pidDeactivate(statusDone)
    	return &ProcessState{
    		pid:    pid1,
    		status: status,
    		rusage: &rusage,
    	}, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. buildscripts/verify-healing.sh

    	done
    
    	"${MINIO[@]}" --address ":$((start_port + 1))" $args >"${WORK_DIR}/dist-minio-server1.log" 2>&1 &
    	pid1=$!
    	disown ${pid1}
    
    	"${MINIO[@]}" --address ":$((start_port + 2))" $args >"${WORK_DIR}/dist-minio-server2.log" 2>&1 &
    	pid2=$!
    	disown $pid2
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/image/png/reader.go

    						a = 0x00
    					}
    					pix[i+0] = r
    					pix[i+1] = g
    					pix[i+2] = b
    					pix[i+3] = a
    					i += 4
    					j += 3
    				}
    				pixOffset += nrgba.Stride
    			} else {
    				pix, i, j := rgba.Pix, pixOffset, 0
    				for x := 0; x < width; x++ {
    					pix[i+0] = cdat[j+0]
    					pix[i+1] = cdat[j+1]
    					pix[i+2] = cdat[j+2]
    					pix[i+3] = 0xff
    					i += 4
    					j += 3
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. test/fixedbugs/bug322.dir/main.go

    }
    
    func main() {
    	var t lib.T
    	t.M()
    	t.PM()
    
    	// This is still an error.
    	// var i1 I = t
    	// i1.M()
    	
    	// This combination is illegal because
    	// PM requires a pointer receiver.
    	// var pi1 PI = t
    	// pi1.PM()
    
    	var pt = &t
    	pt.M()
    	pt.PM()
    
    	var i2 I = pt
    	i2.M()
    
    	var pi2 PI = pt
    	pi2.PM()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 24 23:48:19 UTC 2011
    - 540 bytes
    - Viewed (0)
  5. src/math/cmplx/tan.go

    	if math.Abs(x) < reduceThreshold {
    		// Use Cody-Waite reduction in three parts.
    		const (
    			// PI1, PI2 and PI3 comprise an extended precision value of PI
    			// such that PI ~= PI1 + PI2 + PI3. The parts are chosen so
    			// that PI1 and PI2 have an approximately equal number of trailing
    			// zero bits. This ensures that t*PI1 and t*PI2 are exact for
    			// large integer values of t. The full precision PI3 ensures the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  6. src/image/png/writer.go

    			} else if nrgba != nil {
    				stride, pix = nrgba.Stride, nrgba.Pix
    			}
    			if stride != 0 {
    				j0 := (y - b.Min.Y) * stride
    				j1 := j0 + b.Dx()*4
    				for j := j0; j < j1; j += 4 {
    					cr0[i+0] = pix[j+0]
    					cr0[i+1] = pix[j+1]
    					cr0[i+2] = pix[j+2]
    					i += 3
    				}
    			} else {
    				for x := b.Min.X; x < b.Max.X; x++ {
    					r, g, b, _ := m.At(x, y).RGBA()
    					cr0[i+0] = uint8(r >> 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. src/image/draw/draw_test.go

    	if rgba, ok := m.(*image.RGBA); ok {
    		return &slowestRGBA{
    			Pix:    append([]byte(nil), rgba.Pix...),
    			Stride: rgba.Stride,
    			Rect:   rgba.Rect,
    		}
    	}
    	rgba := image.NewRGBA(m.Bounds())
    	Draw(rgba, rgba.Bounds(), m, m.Bounds().Min, Src)
    	return &slowestRGBA{
    		Pix:    rgba.Pix,
    		Stride: rgba.Stride,
    		Rect:   rgba.Rect,
    	}
    }
    
    func init() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. src/image/jpeg/writer.go

    			sj = ymax
    		}
    		offset := (sj-b.Min.Y)*m.Stride - b.Min.X*4
    		for i := 0; i < 8; i++ {
    			sx := p.X + i
    			if sx > xmax {
    				sx = xmax
    			}
    			pix := m.Pix[offset+sx*4:]
    			yy, cb, cr := color.RGBToYCbCr(pix[0], pix[1], pix[2])
    			yBlock[8*j+i] = int32(yy)
    			cbBlock[8*j+i] = int32(cb)
    			crBlock[8*j+i] = int32(cr)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/importdecl0/importdecl0b.go

    	"a!b" /* ERROR "invalid import path" */
    	"abc\xffdef" /* ERROR "invalid import path" */
    )
    
    // using "math" in this file doesn't affect its use in other files
    const Pi0 = math.Pi
    const Pi1 = m.Pi
    
    type _ T // use "testing"
    
    func _() func() interface{} {
    	return func() interface{} {
    		return Println // use "fmt"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 742 bytes
    - Viewed (0)
  10. src/image/internal/imageutil/impl.go

    	y0 := r.Min.Y - dst.Rect.Min.Y
    	y1 := r.Max.Y - dst.Rect.Min.Y
    	switch src.SubsampleRatio {
    
    	case image.YCbCrSubsampleRatio444:
    		for y, sy := y0, sp.Y; y != y1; y, sy = y+1, sy+1 {
    			dpix := dst.Pix[y*dst.Stride:]
    			yi := (sy-src.Rect.Min.Y)*src.YStride + (sp.X - src.Rect.Min.X)
    
    			ci := (sy-src.Rect.Min.Y)*src.CStride + (sp.X - src.Rect.Min.X)
    			for x := x0; x != x1; x, yi, ci = x+4, yi+1, ci+1 {
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top