Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 145 for Colors (0.38 sec)

  1. src/expvar/expvar_test.go

    func TestMapInit(t *testing.T) {
    	RemoveAll()
    	colors := NewMap("bike-shed-colors")
    	colors.Add("red", 1)
    	colors.Add("blue", 1)
    	colors.Add("chartreuse", 1)
    
    	n := 0
    	colors.Do(func(KeyValue) { n++ })
    	if n != 3 {
    		t.Errorf("after three Add calls with distinct keys, Do should invoke f 3 times; got %v", n)
    	}
    
    	colors.Init()
    
    	n = 0
    	colors.Do(func(KeyValue) { n++ })
    	if n != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:46:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. scripts/docs.py

        new_index_content = f"{missing_translation_snippet}\n\n{en_index_content}"
        new_index_path.write_text(new_index_content, encoding="utf-8")
        typer.secho(f"Successfully initialized: {new_path}", color=typer.colors.GREEN)
        update_languages()
    
    
    @app.command()
    def build_lang(
        lang: str = typer.Argument(
            ..., callback=lang_callback, autocompletion=complete_existing_lang
        ),
    ) -> None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 22 19:26:14 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

            @Override
            public Ansi fg(Color color) {
                return this;
            }
    
            @Override
            public Ansi bg(Color color) {
                return this;
            }
    
            @Override
            public Ansi fgBright(Color color) {
                return this;
            }
    
            @Override
            public Ansi bgBright(Color color) {
                return this;
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    	if obj.color() == white && obj.Type() != nil {
    		obj.setColor(black)
    		return
    	}
    
    	switch obj.color() {
    	case white:
    		assert(obj.Type() == nil)
    		// All color values other than white and black are considered grey.
    		// Because black and white are < grey, all values >= grey are grey.
    		// Use those values to encode the object's index into the object path.
    		obj.setColor(grey + color(check.push(obj)))
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/go/types/decl.go

    	if obj.color() == white && obj.Type() != nil {
    		obj.setColor(black)
    		return
    	}
    
    	switch obj.color() {
    	case white:
    		assert(obj.Type() == nil)
    		// All color values other than white and black are considered grey.
    		// Because black and white are < grey, all values >= grey are grey.
    		// Use those values to encode the object's index into the object path.
    		obj.setColor(grey + color(check.push(obj)))
    		defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. src/image/gif/writer.go

    	// point to the same []color.Color? If so, they are equal so long as the
    	// frame's palette is not longer than the global palette...
    	paddedSize := log2(len(pm.Palette)) // Size of Local Color Table: 2^(1+n).
    	if gp, ok := e.g.Config.ColorModel.(color.Palette); ok && len(pm.Palette) <= len(gp) && &gp[0] == &pm.Palette[0] {
    		e.writeByte(0) // Use the global color table.
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. src/image/png/writer.go

    			e.cb = cbP4
    		} 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)
  8. src/go/types/object.go

    	name      string
    	typ       Type
    	order_    uint32
    	color_    color
    	scopePos_ token.Pos
    }
    
    // color encodes the color of an object (see Checker.objDecl for details).
    type color uint32
    
    // An object may be painted in one of three colors.
    // Color values other than white or black are considered grey.
    const (
    	white color = iota
    	black
    	grey // must be > white and black
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/reference/command_line_interface.adoc

    `--console=(auto,plain,rich,verbose)`::
    Specifies which type of console output to generate.
    +
    Set to `plain` to generate plain text only. This option disables all color and other rich output in the console output. This is the default when Gradle is _not_ attached to a terminal.
    +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/object.go

    	pkg       *Package
    	name      string
    	typ       Type
    	order_    uint32
    	color_    color
    	scopePos_ syntax.Pos
    }
    
    // color encodes the color of an object (see Checker.objDecl for details).
    type color uint32
    
    // An object may be painted in one of three colors.
    // Color values other than white or black are considered grey.
    const (
    	white color = iota
    	black
    	grey // must be > white and black
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top