Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for toCharArray (0.06 sec)

  1. src/main/java/org/codelibs/core/xml/DomUtil.java

         *            属性値
         * @return エンコードされた属性値
         */
        public static String encodeAttrQuot(final String s) {
            if (s == null) {
                return null;
            }
            final char[] content = s.toCharArray();
            final StringBuilder buf = new StringBuilder(s.length() + 100);
            for (final char element : content) {
                switch (element) {
                case '<':
                    buf.append("&lt;");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                filePath = "file://" + filePath;
            }
    
            final StringBuilder buf = new StringBuilder(filePath.length() + 100);
            try {
                for (final char c : filePath.toCharArray()) {
                    if (c == ' ') {
                        buf.append("%20");
                    } else {
                        final String str = String.valueOf(c);
                        if (StringUtil.isAsciiPrintable(str)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                return getFirstAddress();
            return this.addresses[ this.addressIndex - 1 ];
        }
    
    
        static String queryLookup ( String query, String param ) {
            char in[] = query.toCharArray();
            int i, ch, st, eq;
    
            st = eq = 0;
            for ( i = 0; i < in.length; i++ ) {
                ch = in[ i ];
                if ( ch == '&' ) {
                    if ( eq > st ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/Ascii.java

       */
      public static String toLowerCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isUpperCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
            for (; i < length; i++) {
              char c = chars[i];
              if (isUpperCase(c)) {
                chars[i] = (char) (c ^ CASE_MASK);
              }
            }
            return String.valueOf(chars);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/KerberosTest.java

            PrincipalName principalName = convertPrincipal(principal);
            KrbAsReqBuilder builder = new KrbAsReqBuilder(principalName, password != null ? password.toCharArray() : new char[0]);
    
            if ( expire != null ) {
                System.out.println("Request expires " + expire);
                KerberosTime till = new KerberosTime(expire);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

       */
      public static char[] toArray(Collection<Character> collection) {
        if (collection instanceof CharArrayAsList) {
          return ((CharArrayAsList) collection).toCharArray();
        }
    
        Object[] boxedArray = collection.toArray();
        int len = boxedArray.length;
        char[] array = new char[len];
        for (int i = 0; i < len; i++) {
          // checkNotNull for GWT (do not optimize)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/BaseEncoding.java

        @CheckForNull final Character paddingChar;
    
        StandardBaseEncoding(String name, String alphabetChars, @CheckForNull Character paddingChar) {
          this(new Alphabet(name, alphabetChars.toCharArray()), paddingChar);
        }
    
        StandardBaseEncoding(Alphabet alphabet, @CheckForNull Character paddingChar) {
          this.alphabet = checkNotNull(alphabet);
          checkArgument(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcHandle.java

         *
         * If the server is absent it is set to "127.0.0.1"
         */
        protected static DcerpcBinding parseBinding ( String str ) throws DcerpcException {
            int state, mark, si;
            char[] arr = str.toCharArray();
            String proto = null, key = null;
            DcerpcBinding binding = null;
    
            state = mark = si = 0;
            do {
                char ch = arr[ si ];
    
                switch ( state ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

         *            名前
         * @return 結果の文字列
         */
        public static String decapitalize(final String name) {
            if (isEmpty(name)) {
                return name;
            }
            final char[] chars = name.toCharArray();
            if (chars.length >= 2 && Character.isUpperCase(chars[0]) && Character.isUpperCase(chars[1])) {
                return name;
            }
            chars[0] = Character.toLowerCase(chars[0]);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

            }
        }
    
        void consultDictionary() throws IOException {
            if (synonymMap == null) {
                return;
            }
            synonyms.clear();
            final char[] key = block.toString().toCharArray();
            for (int start = 0; start < block.length();) {
                final BytesRef matchOutput = getLongestMatchOutput(key, start);
                if (matchOutput == null) {
                    start++;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top