Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 531 for _abc (0.04 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            and:
            noImports()
    
            where:
            include       | macro
            'A()'         | 'A'
            'A( )'        | 'A'
            'ABC( )'      | 'ABC'
            '_A$2( )'     | '_A$2'
            'abc( )'      | 'abc'
            'a12  \t(\t)' | 'a12'
        }
    
        def "finds macro function call include with parameters"() {
            when:
            sourceFile << """
        #include ${include}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  2. src/strings/strings_test.go

    	{"x", "a", -1},
    	{"x", "x", 0},
    	{"abc", "a", 0},
    	{"abc", "b", 1},
    	{"abc", "c", 2},
    	{"abc", "x", -1},
    	// test special cases in Index() for short strings
    	{"", "ab", -1},
    	{"bc", "ab", -1},
    	{"ab", "ab", 0},
    	{"xab", "ab", 1},
    	{"xab"[:2], "ab", -1},
    	{"", "abc", -1},
    	{"xbc", "abc", -1},
    	{"abc", "abc", 0},
    	{"xabc", "abc", 1},
    	{"xabc"[:3], "abc", -1},
    	{"xabxc", "abc", -1},
    	{"", "abcd", -1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  3. src/encoding/csv/writer_test.go

    	Comma   rune
    }{
    	{Input: [][]string{{"abc"}}, Output: "abc\n"},
    	{Input: [][]string{{"abc"}}, Output: "abc\r\n", UseCRLF: true},
    	{Input: [][]string{{`"abc"`}}, Output: `"""abc"""` + "\n"},
    	{Input: [][]string{{`a"b`}}, Output: `"a""b"` + "\n"},
    	{Input: [][]string{{`"a"b"`}}, Output: `"""a""b"""` + "\n"},
    	{Input: [][]string{{" abc"}}, Output: `" abc"` + "\n"},
    	{Input: [][]string{{"abc,def"}}, Output: `"abc,def"` + "\n"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:46:20 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy

            def step1 = PatternStepFactory.getStep("*abc", true);
            step1 instanceof HasSuffixPatternStep
            step1.suffix == "abc"
    
            step1.matches("abc")
            step1.matches("thing.abc")
            !step1.matches("thing.java")
    
            and:
            def step2 = PatternStepFactory.getStep("**abc", true);
            step2 instanceof HasSuffixPatternStep
            step2.suffix == "abc"
    
            step2.matches("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)
  5. src/internal/types/testdata/check/lookup1.go

    	_ = s.ABC // ERROR "s.ABC undefined (type struct{x int; aBc int} has no field or method ABC, but does have field aBc)"
    }
    
    func _() {
    	type S struct {
    		x int
    	}
    	var s S
    	_ = s.x
    	_ = s /* ERROR "invalid operation: cannot call non-function s.x (variable of type int)" */ .x()
    	_ = s.X // ERROR "s.X undefined (type S has no field or method X, but does have field x)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/errors/errors_test.go

    			aggregate{fmt.Errorf("abc")},
    			aggregate{fmt.Errorf("abc")},
    		},
    		{
    			aggregate{fmt.Errorf("abc"), fmt.Errorf("def"), fmt.Errorf("ghi")},
    			aggregate{fmt.Errorf("abc"), fmt.Errorf("def"), fmt.Errorf("ghi")},
    		},
    		{
    			aggregate{aggregate{fmt.Errorf("abc")}},
    			aggregate{fmt.Errorf("abc")},
    		},
    		{
    			aggregate{aggregate{aggregate{fmt.Errorf("abc")}}},
    			aggregate{fmt.Errorf("abc")},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jul 24 13:16:21 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  7. src/errors/errors_test.go

    import (
    	"errors"
    	"testing"
    )
    
    func TestNewEqual(t *testing.T) {
    	// Different allocations should not be equal.
    	if errors.New("abc") == errors.New("abc") {
    		t.Errorf(`New("abc") == New("abc")`)
    	}
    	if errors.New("abc") == errors.New("xyz") {
    		t.Errorf(`New("abc") == New("xyz")`)
    	}
    
    	// Same allocation should be equal to itself (not crash).
    	err := errors.New("jkl")
    	if err != err {
    		t.Errorf(`err != err`)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:55:10 UTC 2023
    - 765 bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/StringsTest.java

        // Identical valid surrogate pairs.
        assertEquals(
            "abc\uD8AB\uDCAB", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCABxyz"));
        // Differing valid surrogate pairs.
        assertEquals("abc", Strings.commonPrefix("abc\uD8AB\uDCABdef", "abc\uD8AB\uDCACxyz"));
        // One invalid pair.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertEquals("", StringUtil.substringToLast("abc", "c"));
            assertEquals("c", StringUtil.substringToLast("abc", "b"));
            assertEquals("c", StringUtil.substringToLast("abcbc", "b"));
            assertEquals("abc", StringUtil.substringToLast("abc", ""));
            assertEquals("abc", StringUtil.substringToLast("abc", null));
            assertEquals("abc", StringUtil.substringToLast("abc", "dddd"));
        }
    
        /**
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/internal/coerce/StringToEnumTransformerTest.groovy

            where:
            types              | args           | transformed           | desc
            [TestEnum]         | ["abc"]        | [TestEnum.ABC]        | "one arg"
            [TestEnum, String] | ["abc", "abc"] | [TestEnum.ABC, "abc"] | "two args"
        }
    
        def "returns original args when no transformation is required - #desc"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top