- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 96 for caseInsensitive (0.36 sec)
-
src/os/exec/exec.go
} // dedupEnvCase is dedupEnv with a case option for testing. // If caseInsensitive is true, the case of keys is ignored. // If nulOK is false, items containing NUL characters are allowed. func dedupEnvCase(caseInsensitive, nulOK bool, env []string) ([]string, error) { // Construct the output in reverse order, to preserve the // last occurrence of each key.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java
public static <V, T extends Collection<? super V>> T addToCollection(T dest, Iterable<? extends V>... srcs) { return addToCollection(dest, false, srcs); } public static Comparator<String> caseInsensitive() { return new Comparator<String>() { @Override public int compare(String o1, String o2) { int diff = o1.compareToIgnoreCase(o2); if (diff != 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 21.3K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/CaseSensitiveVfsRelativePathTest.groovy
VfsRelativePath.of(searchedChild).compareToFirstSegment(child, CASE_SENSITIVE) } assert foundIndex == i } } def "children #children are sorted the same with path sensitive and path insensitive compare"() { def caseInsensitiveSorted = children.toSorted(getPathComparator(CaseSensitivity.CASE_INSENSITIVE))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/CaseSensitivity.java
* since it seems that the methods can be better inlined by the JIT compiler if they are static. */ public enum CaseSensitivity { CASE_SENSITIVE, CASE_INSENSITIVE
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1011 bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/RegExpPatternStep.java
private static final String ESCAPE_CHARS = "\\[]^-&.{}()$+|<=!"; private final Pattern pattern; public RegExpPatternStep(String pattern, boolean caseSensitive) { this.pattern = Pattern.compile(getRegExPattern(pattern), caseSensitive?0:Pattern.CASE_INSENSITIVE); } @Override public String toString() { return "{regexp: " + pattern + "}"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LauncherServices.java
import org.gradle.tooling.internal.provider.continuous.ContinuousBuildActionExecutor; import java.util.List; import static org.gradle.internal.snapshot.CaseSensitivity.CASE_INSENSITIVE; import static org.gradle.internal.snapshot.CaseSensitivity.CASE_SENSITIVE; public class LauncherServices extends AbstractGradleModuleServices { @Override public void registerGlobalServices(ServiceRegistration registration) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 13:01:53 UTC 2024 - 12.9K bytes - Viewed (0)