Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for Colours (0.15 sec)

  1. 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)
  2. 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)
  3. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleConfigurabilityIntegrationSpec.groovy

        }
    
        def "honours jvm sys property that contain a space in gradle.properties"() {
            given:
            file("gradle.properties") << 'org.gradle.jvmargs=-Dsome-prop="i have space"'
    
            expect:
            buildSucceeds """
    assert providers.systemProperty('some-prop').get() == 'i have space'
            """
        }
    
        def "honours jvm option that contain a space in gradle.properties"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. src/encoding/json/example_test.go

    	type ColorGroup struct {
    		ID     int
    		Name   string
    		Colors []string
    	}
    	group := ColorGroup{
    		ID:     1,
    		Name:   "Reds",
    		Colors: []string{"Crimson", "Red", "Ruby", "Maroon"},
    	}
    	b, err := json.Marshal(group)
    	if err != nil {
    		fmt.Println("error:", err)
    	}
    	os.Stdout.Write(b)
    	// Output:
    	// {"ID":1,"Name":"Reds","Colors":["Crimson","Red","Ruby","Maroon"]}
    }
    
    func ExampleUnmarshal() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 6.1K 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/integtests/tooling/m9/GradlePropertiesToolingApiCrossVersionSpec.groovy

        def setup() {
            //this test does not make any sense in embedded mode
            //as we don't own the process
            toolingApi.requireDaemons()
        }
    
        def "tooling api honours jvm args specified in gradle.properties"() {
            file('build.gradle') << """
    assert java.lang.management.ManagementFactory.runtimeMXBean.inputArguments.contains('-Xmx62m')
    assert System.getProperty('some-prop') == 'some-value'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  8. 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)
  9. src/image/color/ycbcr_test.go

    		}
    	}
    }
    
    // TestYCbCrGray tests that YCbCr colors are a superset of Gray colors.
    func TestYCbCrGray(t *testing.T) {
    	for i := 0; i < 256; i++ {
    		c0 := YCbCr{uint8(i), 0x80, 0x80}
    		c1 := Gray{uint8(i)}
    		if err := eq(c0, c1); err != nil {
    			t.Errorf("i=0x%02x:\n%v", i, err)
    		}
    	}
    }
    
    // TestNYCbCrAAlpha tests that NYCbCrA colors are a superset of Alpha colors.
    func TestNYCbCrAAlpha(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 07:51:17 UTC 2016
    - 7.3K bytes
    - Viewed (0)
  10. src/cmd/cover/html.go

    }
    
    // colors generates the CSS rules for coverage colors.
    func colors() template.CSS {
    	var buf strings.Builder
    	for i := 0; i < 11; i++ {
    		fmt.Fprintf(&buf, ".cov%v { color: %v }\n", i, rgb(i))
    	}
    	return template.CSS(buf.String())
    }
    
    var htmlTemplate = template.Must(template.New("html").Funcs(template.FuncMap{
    	"colors": colors,
    }).Parse(tmplHTML))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
Back to top