Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,239 for convlit (0.26 sec)

  1. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/LayoutToPropertiesConverterTest.groovy

            then:
            converter.convert(properties, layout).properties.get(DaemonBuildOptions.IdleTimeoutOption.GRADLE_PROPERTY) == "125"
        }
    
        def "configures from -D command line argument"() {
            when:
            def properties = properties("-D$DaemonBuildOptions.IdleTimeoutOption.GRADLE_PROPERTY=125")
            def layout = layout(properties)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  2. cni/pkg/install/cniconfig.go

    	files, err := libcni.ConfFiles(confDir, []string{".conf", ".conflist"})
    	switch {
    	case err != nil:
    		return "", err
    	case len(files) == 0:
    		return "", fmt.Errorf("no networks found in %s", confDir)
    	}
    
    	sort.Strings(files)
    	for _, confFile := range files {
    		var confList *libcni.NetworkConfigList
    		if strings.HasSuffix(confFile, ".conflist") {
    			confList, err = libcni.ConfListFromFile(confFile)
    			if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. test/fixedbugs/bug238.go

    package main
    
    const a *int = 1        // ERROR "convert|wrong|invalid"
    const b [2]int = 2      // ERROR "convert|wrong|invalid"
    const c map[int]int = 3 // ERROR "convert|wrong|invalid"
    const d chan int = 4    // ERROR "convert|wrong|invalid"
    const e func() = 5      // ERROR "convert|wrong|invalid"
    const f struct{} = 6    // ERROR "convert|wrong|invalid"
    const g interface{} = 7 // ERROR "constant|wrong|invalid"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:59 UTC 2012
    - 705 bytes
    - Viewed (0)
  4. test/fixedbugs/issue20812.go

    package p
    
    func f() {
    	_ = int("1")      // ERROR "cannot convert|invalid type conversion"
    	_ = bool(0)       // ERROR "cannot convert|invalid type conversion"
    	_ = bool("false") // ERROR "cannot convert|invalid type conversion"
    	_ = int(false)    // ERROR "cannot convert|invalid type conversion"
    	_ = string(true)  // ERROR "cannot convert|invalid type conversion"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 17:37:52 UTC 2020
    - 544 bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CaseFormatTest.java

        assertEquals("FooBar", UPPER_UNDERSCORE.converterTo(UPPER_CAMEL).convert("FOO_BAR"));
        assertEquals("fooBar", UPPER_UNDERSCORE.converterTo(LOWER_CAMEL).convert("FOO_BAR"));
        assertEquals("FOO_BAR", UPPER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("FooBar"));
        assertEquals("FOO_BAR", LOWER_CAMEL.converterTo(UPPER_UNDERSCORE).convert("fooBar"));
      }
    
      public void testConverterToBackward() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu May 04 09:41:29 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/BuildLayoutConverterTest.groovy

            def dir3 = new File("dir3").absoluteFile
    
            System.setProperty("gradle.user.home", "dir1")
    
            def parameters1 = convert([])
            def parameters2 = convert(["-Dgradle.user.home=dir2"])
            def parameters3 = convert(["--gradle-user-home", "dir3", "-Dgradle.user.home=dir2"])
    
            then:
            parameters1.gradleUserHomeDir == dir1
            parameters2.gradleUserHomeDir == dir2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. test/fixedbugs/issue8438.go

    // array-literal conversion
    
    package main
    
    func main() {
    	_ = []byte{"foo"}   // ERROR "cannot use|incompatible type|cannot convert"
    	_ = []int{"foo"}    // ERROR "cannot use|incompatible type|cannot convert"
    	_ = []rune{"foo"}   // ERROR "cannot use|incompatible type|cannot convert"
    	_ = []string{"foo"} // OK
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 22 17:50:13 UTC 2020
    - 549 bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

            expect:
            def result = event.convert("")
            result.response == 4
            result.newPrompt == null
        }
    
        def "can have negative minimum value"() {
            def event = new IntQuestionPromptEvent(123, "question?", -5, -2)
    
            expect:
            def result = event.convert(input)
            result.response == expected
            result.newPrompt == null
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. subprojects/core-api/src/test/groovy/org/gradle/internal/typeconversion/NotationConverterToNotationParserAdapterTest.groovy

        def "converts notation"() {
            given:
            converter.convert(12, _) >> { Object notation, NotationConvertResult result -> result.converted("12") }
    
            expect:
            parser.parseNotation(12) == "12"
        }
    
        def "can convert to null value"() {
            given:
            converter.convert(12, _) >> { Object notation, NotationConvertResult result -> result.converted(null) }
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.5K bytes
    - Viewed (0)
  10. src/main/assemblies/files/generate-thumbnail

      if [[ ! -f ${tmp_png_file} ]] ; then
        echo "pdftoppm does not work."
        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "ximage" ]] ; then
      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top