Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Colours (0.29 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. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultColorMap.java

            }
        }
    
        private static class CompositeColor implements Color {
            private final List<Color> colors;
    
            public CompositeColor(List<Color> colors) {
                this.colors = colors;
            }
    
            @Override
            public void on(Ansi ansi) {
                for (Color color : colors) {
                    color.on(ansi);
                }
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java

                reverse = compareTime(fromHours, fromMinutes, toHours, toMinutes) < 0;
            }
    
            public long getDelay() {
                return delay;
            }
    
            public boolean isTarget(final int hours, final int minutes, final int day) {
                if (!reverse) {
                    return compareTime(fromHours, fromMinutes, hours, minutes) >= 0 && compareTime(hours, minutes, toHours, toMinutes) >= 0
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

    import org.junit.Rule
    import org.junit.Test
    
    
    class ConfigurationCacheKeyTest {
    
        @JvmField
        @Rule
        val testDirectoryProvider = TestNameTestDirectoryProvider(javaClass)
    
        @Test
        fun `cache key honours --include-build`() {
            assertThat(
                cacheKeyStringFromStartParameter {
                    includeBuild(file("included"))
                },
                equalTo(
                    cacheKeyStringFromStartParameter {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. 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)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheDirIntegrationTest.groovy

            when:
            configurationCacheRun 'help'
    
            then:
            file('.gradle/configuration-cache').isDirectory()
        }
    
        def "configuration cache honours --project-cache-dir"() {
            given:
            def configurationCache = newConfigurationCacheFixture()
    
            when:
            configurationCacheRun 'help', '--project-cache-dir', 'custom-cache-dir'
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/AdHocCompositeDependencySubstitutionCrossVersionSpec.groovy

            assert eclipseProject.projectDependencies.size() == 1
            with(eclipseProject.projectDependencies.first()) {
                it.path == 'b1'
            }
        }
    
        def "EclipseProject model honours custom project name"() {
            when:
            buildB.buildFile << """
                subprojects {
                    apply plugin: 'eclipse'
                    eclipse {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. 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)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CleanupFrequency.java

                if (lastCleanupTime == null) {
                    return true;
                } else {
                    return Duration.between(lastCleanupTime, Instant.now())
                        .toHours() >= 24;
                }
            }
        };
    
        /**
         * Trigger cleanup after every build session
         */
        CleanupFrequency ALWAYS = new CleanupFrequency() {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 20:26:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            then:
            assert eclipseProject.classpath.empty
            eclipseProject.projectDependencies.collect {it.path}  == ['b1']
        }
    
        def "EclipseProject model honours custom project name"() {
            when:
            buildB.buildFile << """
                subprojects {
                    apply plugin: 'eclipse'
                    eclipse {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top