Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,039 for charAt (0.08 sec)

  1. guava/src/com/google/common/base/CaseFormat.java

        return normalizeWord(word);
      }
    
      private static String firstCharOnlyToUpper(String word) {
        return word.isEmpty()
            ? word
            : Ascii.toUpperCase(word.charAt(0)) + Ascii.toLowerCase(word.substring(1));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/PipeTest.java

                String server = handle.getServerWithDfs();
                int dot = server.indexOf('.');
                if ( dot > 0 && Character.isDigit(server.charAt(0)) == false )
                    server = server.substring(0, dot);
    
                try ( LsaPolicyHandle policyHandle = new LsaPolicyHandle(handle, "\\\\" + server, 0x00000800) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        static String unescape( String str ) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            byte[] b = new byte[1];
    
            if( str == null ) {
                return null;
            }
    
            len = str.length();
            out = new char[len];
            state = 0;
            for( i = j = 0; i < len; i++ ) {
                switch( state ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

            for (int i = 0; i < id.length(); i++) {
                char c = id.charAt(i);
                if (!isValidCoordinateIdCharacter(c)) {
                    return false;
                }
            }
            return true;
        }
    
        private boolean isValidCoordinateIdCharacter(char c) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_FIRST2);
            if ( filename.equals("\\") ) {
                this.path = filename;
            }
            else if ( filename.charAt(filename.length() - 1) != '\\' ) {
                this.path = filename + "\\";
            }
            else {
                this.path = filename;
            }
            this.wildcard = wildcard;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            if (cs == null || cs.isEmpty()) {
                return false;
            }
            final int sz = cs.length();
            for (int i = 0; i < sz; i++) {
                if (!Character.isDigit(cs.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
        private static Integer getNextIntegerToken(String s) {
            if ((s.length() > 1) && s.startsWith("0")) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

        if (!PART_CHAR_MATCHER.matchesAllOf(asciiChars)) {
          return false;
        }
    
        // No initial or final dashes or underscores.
    
        if (DASH_MATCHER.matches(part.charAt(0))
            || DASH_MATCHER.matches(part.charAt(part.length() - 1))) {
          return false;
        }
    
        /*
         * Note that we allow (in contravention of a strict interpretation of the relevant RFCs) domain
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/UniAddress.java

         * 
         * @param hostname
         * @return whether this is an IP address
         */
        public static boolean isDotQuadIP ( String hostname ) {
            if ( Character.isDigit(hostname.charAt(0)) ) {
                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java

        }
    
        private static boolean isLastSpaceChar(final StringBuilder buf) {
            if (buf.length() == 0) {
                return false;
            }
            return buf.charAt(buf.length() - 1) == ' ';
        }
    
        private static boolean removeLastDuplication(final StringBuilder buf, final int size, final boolean isSpace,
                final Set<String> termCache) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top