Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for 1a2b (0.26 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/VersionParserTest.groovy

            expect:
            def version = parse(versionStr)
            version.parts as List == parts
    
            where:
            versionStr       | parts
            'abc123'         | ['abc', '123']
            '1a2b'           | ['1', 'a', '2', 'b']
            '1\u03b12\u03b2' | ['1', '\u03b1', '2', '\u03b2']
        }
    
        def "base version includes the first . separated parts"() {
            expect:
            def version = parse(versionStr)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

            step8 instanceof RegExpPatternStep
            step8.matches("abc")
            step8.matches("1a2b3c4")
            !step8.matches("")
            !step8.matches("ab")
            !step8.matches("1a2b")
        }
    
        def "creates step for non-wildcard segment"() {
            expect:
            def step = PatternStepFactory.getStep("abc", true);
            step instanceof FixedPatternStep
            step.value == "abc"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. src/debug/dwarf/testdata/typedef.c

    t_ptr_func_int_of_float_double *a7;
    t_func_ptr_int_of_char_schar_uchar *a8;
    t_func_void_of_char *a9;
    t_func_void_of_void *a10;
    t_func_void_of_ptr_char_dots *a11;
    t_my_struct *a12;
    t_my_struct1 *a12a;
    t_my_union *a12b;
    t_my_enum *a13;
    t_my_list *a14;
    t_my_tree *a15;
    t_ptr_func_int_of_float_complex *a16;
    t_ptr_func_int_of_double_complex *a17;
    t_ptr_func_int_of_long_double_complex *a18;
    
    int main()
    {
    	return 0;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 02 19:56:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/ExactVersionSelectorTest.groovy

        }
    
        def "does not accept candidate version that differs in separator"() {
            expect:
            !accept("1.0", "1_0")
            !accept("1_0", "1-0")
            !accept("1-0", "1+0")
            !accept("1.a.2", "1a2")
        }
    
        def "does not accept candidate version that has different number of trailing .0's"() {
            expect:
            !accept("1.0.0", "1.0")
            !accept("1", "1.0.0")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

        def "versions that differ only in separators are equal"() {
            expect:
            compare("1.0", "1_0") == 0
            compare("1_0", "1-0") == 0
            compare("1-0", "1+0") == 0
            compare("1.a.2", "1a2") == 0 // number-word and word-number boundaries are considered separators
        }
    
        def "leading zeros in numeric parts are ignored"() {
            expect:
            compare("01.0", "1.0") == 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top