Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for caseInsensitive (0.19 sec)

  1. internal/s3select/sql/parser_test.go

    	"github.com/alecthomas/participle/lexer"
    )
    
    func TestJSONPathElement(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPathElement{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPathElement{}
    	cases := []string{
    		// Key
    		"['name']", ".name", `."name"`,
    
    		// Index
    		"[2]", "[0]", "[100]",
    
    		// Object wildcard
    		".*",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ReflectiveEnvironment.java

            try {
                Class<?> sc = Class.forName("java.lang.ProcessEnvironment");
                Field caseinsensitive = sc.getDeclaredField("theCaseInsensitiveEnvironment");
                caseinsensitive.setAccessible(true);
                @SuppressWarnings("unchecked")
                Map<String, String> result = (Map<String, String>)caseinsensitive.get(null);
                return result;
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultSnapshotHierarchy.java

        private enum EmptySnapshotHierarchy implements SnapshotHierarchy {
            CASE_SENSITIVE(CaseSensitivity.CASE_SENSITIVE),
            CASE_INSENSITIVE(CaseSensitivity.CASE_INSENSITIVE);
    
            private final CaseSensitivity caseSensitivity;
    
            EmptySnapshotHierarchy(CaseSensitivity caseInsensitive) {
                this.caseSensitivity = caseInsensitive;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  4. subprojects/diagnostics/src/main/java/org/gradle/api/tasks/diagnostics/internal/DefaultGroupTaskReportModel.java

            }
            return new DefaultGroupTaskReportModel(groups);
        }
    
        public static final String OTHER_GROUP = "other";
        private static final Comparator<String> STRING_COMPARATOR = GUtil.caseInsensitive();
        private final SetMultimap<String, TaskDetails> groups;
    
        private DefaultGroupTaskReportModel(SetMultimap<String, TaskDetails> groups) {
            this.groups = groups;
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 08 21:50:18 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  5. internal/s3select/sql/jsonpath_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	b, err := io.ReadAll(f)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	p := participle.MustBuild(
    		&JSONPath{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    	)
    	cases := []struct {
    		str string
    		res []interface{}
    	}{
    		{"s.title", []interface{}{"Murder on the Orient Express", "The Robots of Dawn", "Pigs Have Wings"}},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/Path.java

     * Represents a path in Gradle.
     */
    public class Path implements Comparable<Path> {
        public static final Path ROOT = new Path(new String[0], true);
    
        private static final Comparator<String> STRING_COMPARATOR = GUtil.caseInsensitive();
        public static final String SEPARATOR = ":";
    
        public static Path path(@Nullable String path) {
            validatePath(path);
            if (SEPARATOR.equals(path)) {
                return ROOT;
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 13:03:23 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  7. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/internal/PatternSpecFactory.java

            CASE_SENSITIVE(true),
            CASE_INSENSITIVE(false);
    
            CaseSensitivity(boolean caseSensitive) {
                this.caseSensitive = caseSensitive;
            }
    
            public static CaseSensitivity forCaseSensitive(boolean caseSensitive) {
                return caseSensitive
                    ? CASE_SENSITIVE
                    : CASE_INSENSITIVE;
            }
    
            private final boolean caseSensitive;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java

    import com.google.common.annotations.VisibleForTesting;
    
    import java.io.File;
    import java.util.Comparator;
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_INSENSITIVE;
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE;
    
    /**
     * Methods for dealing with paths on the file system.
     *
     * There are methods for checking equality and for comparing two paths.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseInsensitiveVfsRelativePathTest.groovy

            compareChars(char2, char1) == Character.compare(char2, char1)
            !equalChars(char1, char2, CASE_SENSITIVE)
            equalChars(char1, char2, CASE_INSENSITIVE) == (caseInsensitiveResult == 0)
            !equalChars(char2, char1, CASE_SENSITIVE)
            equalChars(char2, char1, CASE_INSENSITIVE) == (caseInsensitiveResult == 0)
    
            where:
            left | right | result
            'a'  | 'A'   | 32
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/HasPrefixAndSuffixPatternStepTest.groovy

    import spock.lang.Specification
    
    class HasPrefixAndSuffixPatternStepTest extends Specification {
        static final boolean CASE_SENSITIVE = true;
        static final boolean CASE_INSENSITIVE = false;
    
        def "matches name case sensitive"() {
            def step = new HasPrefixAndSuffixPatternStep("pre", "suf", CASE_SENSITIVE)
    
            expect:
            step.matches("pre-suf")
            step.matches("presufsuf")
            step.matches("presuf")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top