Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 141 for chardata (0.16 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java

                int len2 = rightPath.length();
                int lim = Math.min(len1, len2);
    
                int k = 0;
                while (k < lim) {
                    char c1 = leftPath.charAt(k);
                    char c2 = rightPath.charAt(k);
                    if (c1 != c2) {
                        if (c1 == File.separatorChar) {
                            return -1;
                        }
                        if (c2 == File.separatorChar) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/resource/local/GroupedAndNamedUniqueFileStore.java

        // used to store files in the binary cache with a checksum which removes
        // the leading zeros
        private String stripLeadingZeros(String checksumPart) {
            if (checksumPart.charAt(0) == '0') {
                int i = 1;
                while (checksumPart.charAt(i) == '0') {
                    i++;
                }
                return checksumPart.substring(i);
            }
            return checksumPart;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 02 16:14:10 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                final StringBuilder sb = new StringBuilder();
                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                final StringBuilder sb = new StringBuilder();
                for (int i = 0; i < s.length(); i++) {
                    final char ch = s.charAt(i);
                    if (ch == '\\' && i < s.length() - 1) {
                        i++;
                        sb.append(s.charAt(i));
                    } else {
                        sb.append(ch);
                    }
                }
                return sb.toString();
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/PathUtil.java

            int accumulatedValue = 0;
            for (int pos = 0; pos < maxPos; pos++) {
                char charInPath1 = relativePath1.charAt(pos);
                char charInPath2 = relativePath2.charAt(pos);
                int comparedChars = compareCharsIgnoringCase(charInPath1, charInPath2);
                if (comparedChars != 0) {
                    return comparedChars;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/util/VersionNumber.java

                    return pos < str.length() && Character.isDigit(str.charAt(pos));
                }
    
                boolean isSeparatorAndDigit(char... separators) {
                    return pos < str.length() - 1 && oneOf(separators) && Character.isDigit(str.charAt(pos + 1));
                }
    
                private boolean oneOf(char... separators) {
                    char current = str.charAt(pos);
                    for (int i = 0; i < separators.length; i++) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy

            def instr = new DisconnectableInputStream(stream("abc"), toActionExecuter(executorFactory))
    
            assertThat((char) instr.read(), equalTo('a'.charAt(0)))
            assertThat((char) instr.read(), equalTo('b'.charAt(0)))
            assertThat((char) instr.read(), equalTo('c'.charAt(0)))
            assertThat(instr.read(), equalTo(-1))
    
            instr.close()
        }
    
        @Test
        void canReadUsingZeroLengthBuffer() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 07 08:18:46 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Lmhosts.java

            while(( line = br.readLine() ) != null ) {
                line = line.toUpperCase().trim();
                if( line.length() == 0 ) {
                    continue;
                } else if( line.charAt( 0 ) == '#' ) {
                    if( line.startsWith( "#INCLUDE " )) {
                        line = line.substring( line.indexOf( '\\' ));
                        String url = "smb1:" + line.replace( '\\', '/' );
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java

            }
        }
    
        private static boolean isWindowsRootDirectory(String scheme) {
            return scheme.length() == 2 && Character.isLetter(scheme.charAt(0)) && scheme.charAt(1) == ':' && OperatingSystem.current().isWindows();
        }
    
        private static void convertToUrl(String notationString, NotationConvertResult<? super Object> result) {
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 01:09:38 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Utf8.java

        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
        while (i < utf16Length && sequence.charAt(i) < 0x80) {
          i++;
        }
    
        // This loop optimizes for chars less than 0x800.
        for (; i < utf16Length; i++) {
          char c = sequence.charAt(i);
          if (c < 0x800) {
            utf8Length += ((0x7f - c) >>> 31); // branch free!
          } else {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 10 14:11:51 UTC 2023
    - 7K bytes
    - Viewed (0)
Back to top