Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Colours (0.22 sec)

  1. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThat(executionRequest.getLocalRepositoryPath().toString(), is("." + File.separatorChar + "custom2"));
        }
    
        /**
         * MNG-7032: Disable colours for {@code --version} if {@code --batch-mode} is also given.
         * @throws Exception cli invocation.
         */
        @Test
        void testVersionStringWithoutAnsi() throws Exception {
            // given
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

                    |:a
                    |\\--- :b
                    |     \\--- :a (*)
                    |
                    |(*) - details omitted (listed previously)""".stripMargin()
            }
        }
    
        def "honours mustRunAfter task ordering"() {
            buildFile << """
                task a {
                    mustRunAfter 'b'
                }
                task b
                task c(dependsOn: ['a', 'b'])
                task d
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/html.go

    		colors := [...]string{"#eea24f", "#f38385", "#f4d164", "#ca89fc", "gray"}
    		ci := 0
    		for i := 1; i < len(f.Blocks); i++ {
    			if layoutDrawn[f.Blocks[i].ID] {
    				continue
    			}
    			fmt.Fprintf(pipe, `%s -> %s [color="%s"];`, f.Blocks[i-1], f.Blocks[i], colors[ci])
    			ci = (ci + 1) % len(colors)
    		}
    	}
    	fmt.Fprint(pipe, "}")
    	pipe.Close()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 15:11:40 UTC 2023
    - 34.8K bytes
    - Viewed (0)
  6. src/image/color/ycbcr.go

    	b := yy1 + 116130*cb1
    	if uint32(b)&0xff000000 == 0 {
    		b >>= 8
    	} else {
    		b = ^(b >> 31) & 0xffff
    	}
    
    	return uint32(r), uint32(g), uint32(b), 0xffff
    }
    
    // YCbCrModel is the [Model] for Y'CbCr colors.
    var YCbCrModel Model = ModelFunc(yCbCrModel)
    
    func yCbCrModel(c Color) Color {
    	if _, ok := c.(YCbCr); ok {
    		return c
    	}
    	r, g, b, _ := c.RGBA()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	// colors should be shifted away from grey (to make positive and
    	// negative values easier to distinguish, and to make more use of
    	// the color range.)
    	const shift = 0.7
    
    	// Saturation and value (in hsv colorspace) for background colors.
    	const bgSaturation = 0.1
    	const bgValue = 0.93
    
    	// Saturation and value (in hsv colorspace) for foreground colors.
    	const fgSaturation = 1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  8. maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

    public class Ansi implements Appendable {
    
        private static final char FIRST_ESC_CHAR = 27;
        private static final char SECOND_ESC_CHAR = '[';
    
        /**
         * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#Colors">ANSI 8 colors</a> for fluent API
         */
        public enum Color {
            BLACK(0, "BLACK"),
            RED(1, "RED"),
            GREEN(2, "GREEN"),
            YELLOW(3, "YELLOW"),
            BLUE(4, "BLUE"),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. common/config/.golangci.yml

        local-prefixes: istio.io/
      misspell:
        # Correct spellings using locale preferences for US or UK.
        # Default is to use a neutral variety of English.
        # Setting locale to US will correct the British spelling of 'colour' to 'color'.
        locale: US
        ignore-words:
          - cancelled
      lll:
        # max line length, lines longer will be reported. Default is 120.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy

            result.assertTasksNotSkipped(":compileJava", ":classes", ":jar", ":startScripts", ":distTar", ":distZip", ":assemble", ":build")
            classFile.isFile()
            jarFile.isFile()
        }
    
        def "jar manifest honours build logic inputs"() {
            given:
            buildFile << """
                plugins {
                    id 'java'
                }
    
                jar {
                    manifest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top