- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for equalChars (0.1 sec)
-
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
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-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractCaseVfsRelativePathTest.groovy
compareCharsIgnoringCase(backslash, slash) == 0 compareChars(slash, backslash) == 0 compareChars(backslash, slash) == 0 equalChars(slash, backslash, caseSensitivity) equalChars(backslash, slash, caseSensitivity) } def "can compare path separator chars correctly (#left - #right = #result)"() { def char1 = left as char
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java
? 0 : -1 : isFileSeparator(char2) ? 1 : Character.compare(char1, char2); } @VisibleForTesting static boolean equalChars(char char1, char char2, CaseSensitivity caseSensitivity) { if (char1 == char2) { return true; } if (isFileSeparator(char1) && isFileSeparator(char2)) { return true;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 8.2K bytes - Viewed (0)