Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for caseInsensitive (0.19 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/file/TestFiles.java

    import org.gradle.util.TestUtil;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.util.Collection;
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_INSENSITIVE;
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE;
    import static org.gradle.util.TestUtil.objectFactory;
    import static org.gradle.util.TestUtil.providerFactory;
    
    public class TestFiles {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/VfsRelativePath.java

        }
    
        private static int computeCombinedCompare(int previousCombinedValue, char charInPath1, char charInPath2, boolean caseSensitive) {
            if (!caseSensitive) {
                return 0;
            }
            return previousCombinedValue == 0
                ? compareChars(charInPath1, charInPath2)
                : previousCombinedValue;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/service/scopes/VirtualFileSystemServices.java

    import org.slf4j.LoggerFactory;
    
    import java.io.File;
    import java.util.Optional;
    import java.util.function.Predicate;
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_INSENSITIVE;
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE;
    
    public class VirtualFileSystemServices extends AbstractGradleModuleServices {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(VirtualFileSystemServices.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/FixedPatternStep.java

        private final boolean caseSensitive;
    
        public FixedPatternStep(String value, boolean caseSensitive) {
            this.value = value;
            this.caseSensitive = caseSensitive;
        }
    
        @Override
        public String toString() {
            return "{match: " + value + "}";
        }
    
        @Override
        public boolean matches(String candidate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy

            1 * selectedChild.store(searchedPath.pathFromChild(selectedChildPath), CASE_SENSITIVE, snapshot, diffListener) >> updatedChild
        }
    
        def "querying the snapshot for non-existing child #vfsSpec.searchedPath finds nothings (#vfsSpec)"() {
            setupTest(vfsSpec)
    
            when:
            def resultRoot = initialRoot.getSnapshot(searchedPath, CASE_SENSITIVE)
            then:
            !resultRoot.present
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternStepFactory.java

        private static final AnyWildcardPatternStep ANY_WILDCARD_PATTERN_STEP = new AnyWildcardPatternStep();
    
        public static PatternStep getStep(String source, boolean caseSensitive) {
            if (source.length() == 0) {
                return new FixedPatternStep(source, caseSensitive);
            }
    
            // Here, we try to avoid using the reg exp backed pattern step, as it is expensive in terms of performance and heap usage.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternMatcherFactory.java

        }
    
        public static PatternMatcher getPatternMatcher(boolean partialMatchDirs, boolean caseSensitive, String pattern) {
            PathMatcher pathMatcher = compile(caseSensitive, pattern);
            return new DefaultPatternMatcher(partialMatchDirs, pathMatcher);
        }
    
        public static PathMatcher compile(boolean caseSensitive, String pattern) {
            if (pattern.length() == 0) {
                return END_OF_PATH_MATCHER;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/tasks/util/internal/CachingPatternSpecFactory.java

            private final boolean caseSensitive;
            private final int hashCode;
    
            private SpecKey(ImmutableList<String> patterns, boolean include, boolean caseSensitive) {
                this.patterns = patterns;
                this.include = include;
                this.caseSensitive = caseSensitive;
                this.hashCode = Objects.hashCode(patterns, include, caseSensitive);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 20 05:40:52 UTC 2018
    - 4.9K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

    import org.gradle.internal.file.FileMetadata.AccessType
    import org.gradle.internal.file.FileType
    import org.gradle.internal.hash.TestHashCodes
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE
    
    class DirectoryNodeTest extends AbstractFileSystemNodeWithChildrenTest<FileSystemNode, FileSystemLocationSnapshot> {
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/PartialDirectoryNodeTest.groovy

     * limitations under the License.
     */
    
    package org.gradle.internal.snapshot
    
    import org.gradle.internal.file.FileType
    
    import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE
    
    class PartialDirectoryNodeTest extends AbstractIncompleteFileSystemNodeTest<PartialDirectoryNode> {
    
        @Override
        protected PartialDirectoryNode createInitialRootNode(ChildMap<FileSystemNode> children) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top