Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for alphaNode (0.26 sec)

  1. pkg/controller/garbagecollector/dump_test.go

    					UID: types.UID("bravo"),
    				},
    			},
    			dependents: map[*node]struct{}{
    				alphaNode(): {},
    			},
    		}
    	}
    	charlieNode = func() *node {
    		return &node{
    			identity: objectReference{
    				OwnerReference: metav1.OwnerReference{
    					UID: types.UID("charlie"),
    				},
    			},
    			dependents: map[*node]struct{}{
    				alphaNode(): {},
    			},
    		}
    	}
    	deltaNode = func() *node {
    		return &node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 14 00:05:53 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/image/draw/bench_test.go

    }
    
    func BenchmarkGlyphOver(b *testing.B) {
    	bench(b, color.RGBAModel, nil, color.AlphaModel, Over)
    }
    
    func BenchmarkRGBAMaskOver(b *testing.B) {
    	bench(b, color.RGBAModel, color.RGBAModel, color.AlphaModel, Over)
    }
    
    func BenchmarkGrayMaskOver(b *testing.B) {
    	bench(b, color.RGBAModel, color.GrayModel, color.AlphaModel, Over)
    }
    
    func BenchmarkRGBA64ImageMaskOver(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/image/color/color.go

    var (
    	RGBAModel    Model = ModelFunc(rgbaModel)
    	RGBA64Model  Model = ModelFunc(rgba64Model)
    	NRGBAModel   Model = ModelFunc(nrgbaModel)
    	NRGBA64Model Model = ModelFunc(nrgba64Model)
    	AlphaModel   Model = ModelFunc(alphaModel)
    	Alpha16Model Model = ModelFunc(alpha16Model)
    	GrayModel    Model = ModelFunc(grayModel)
    	Gray16Model  Model = ModelFunc(gray16Model)
    )
    
    func rgbaModel(c Color) Color {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. src/image/png/writer.go

    		} else {
    			e.cb = cbP8
    		}
    	} else {
    		switch m.ColorModel() {
    		case color.GrayModel:
    			e.cb = cbG8
    		case color.Gray16Model:
    			e.cb = cbG16
    		case color.RGBAModel, color.NRGBAModel, color.AlphaModel:
    			if opaque(m) {
    				e.cb = cbTC8
    			} else {
    				e.cb = cbTCA8
    			}
    		default:
    			if opaque(m) {
    				e.cb = cbTC16
    			} else {
    				e.cb = cbTCA16
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. src/image/image.go

    	Pix []uint8
    	// Stride is the Pix stride (in bytes) between vertically adjacent pixels.
    	Stride int
    	// Rect is the image's bounds.
    	Rect Rectangle
    }
    
    func (p *Alpha) ColorModel() color.Model { return color.AlphaModel }
    
    func (p *Alpha) Bounds() Rectangle { return p.Rect }
    
    func (p *Alpha) At(x, y int) color.Color {
    	return p.AlphaAt(x, y)
    }
    
    func (p *Alpha) RGBA64At(x, y int) color.RGBA64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  6. src/image/png/reader_test.go

    func sng(w io.WriteCloser, filename string, png image.Image) {
    	defer w.Close()
    	bounds := png.Bounds()
    	cm := png.ColorModel()
    	var bitdepth int
    	switch cm {
    	case color.RGBAModel, color.NRGBAModel, color.AlphaModel, color.GrayModel:
    		bitdepth = 8
    	default:
    		bitdepth = 16
    	}
    	cpm, _ := cm.(color.Palette)
    	var paletted *image.Paletted
    	if cpm != nil {
    		switch {
    		case len(cpm) <= 2:
    			bitdepth = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 12:12:12 UTC 2022
    - 28.5K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(RGBA64).RGBA", Method, 0},
    		{"(YCbCr).RGBA", Method, 0},
    		{"Alpha", Type, 0},
    		{"Alpha.A", Field, 0},
    		{"Alpha16", Type, 0},
    		{"Alpha16.A", Field, 0},
    		{"Alpha16Model", Var, 0},
    		{"AlphaModel", Var, 0},
    		{"Black", Var, 0},
    		{"CMYK", Type, 5},
    		{"CMYK.C", Field, 5},
    		{"CMYK.K", Field, 5},
    		{"CMYK.M", Field, 5},
    		{"CMYK.Y", Field, 5},
    		{"CMYKModel", Var, 5},
    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. api/go1.txt

    pkg image/color, type YCbCr struct, Cb uint8
    pkg image/color, type YCbCr struct, Cr uint8
    pkg image/color, type YCbCr struct, Y uint8
    pkg image/color, var Alpha16Model Model
    pkg image/color, var AlphaModel Model
    pkg image/color, var Black Gray16
    pkg image/color, var Gray16Model Model
    pkg image/color, var GrayModel Model
    pkg image/color, var NRGBA64Model Model
    pkg image/color, var NRGBAModel Model
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top