Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 63 for toCharArray (0.29 sec)

  1. src/main/java/jcifs/netbios/Lmhosts.java

                        throw new IOException("no lmhosts alternate includes loaded");
                    }
                }
                else if ( Character.isDigit(line.charAt(0)) ) {
                    char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c;
    
                    c = '.';
                    ip = i = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/UUID.java

            this.node[ 5 ] = uuid.node[ 5 ];
        }
    
    
        /**
         * Construct a UUID from string
         * 
         * @param str
         */
        public UUID ( String str ) {
            char[] arr = str.toCharArray();
            this.time_low = hex_to_bin(arr, 0, 8);
            this.time_mid = S(hex_to_bin(arr, 9, 4));
            this.time_hi_and_version = S(hex_to_bin(arr, 14, 4));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/escape/CharEscaperBuilder.java

       */
      public char[] @Nullable [] toArray() {
        char[][] result = new char[max + 1][];
        for (Entry<Character, String> entry : map.entrySet()) {
          result[entry.getKey()] = entry.getValue().toCharArray();
        }
        return result;
      }
    
      /**
       * Convert this builder into a char escaper which is just a decorator around the underlying array
       * of replacement char[]s.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
            final StringBuilder buf = new StringBuilder(url.length() + 100);
            for (final char c : url.toCharArray()) {
                if (CharUtil.isUrlChar(c)) {
                    buf.append(c);
                } else {
                    try {
                        buf.append(URLEncoder.encode(String.valueOf(c), enc));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

          dummy ^= lhs.equalsIgnoreCase(rhs);
        }
        return dummy;
      }
    
      @Benchmark
      boolean isUpperCase(int reps) {
        // This benchmark has no concept of "noWorkToDo".
        char[] chars = testString.toCharArray();
    
        boolean dummy = false;
        for (int i = 0; i < reps; i++) {
          for (int n = 0; n < chars.length; n++) {
            dummy ^= Ascii.isUpperCase(chars[n]);
          }
        }
        return dummy;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/LineBufferTest.java

            new LineBuffer() {
              @Override
              protected void handleLine(String line, String end) {
                lines.add(line + end);
              }
            };
        char[] chars = input.toCharArray();
        int off = 0;
        while (off < chars.length) {
          int len = min(chars.length, off + chunk) - off;
          lineBuf.add(chars, off, len);
          off += len;
        }
        lineBuf.finish();
        return lines;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/UniAddress.java

                int i, len, dots;
                char[] data;
    
                i = dots = 0; /* quick IP address validation */
                len = hostname.length();
                data = hostname.toCharArray();
                while ( i < len && Character.isDigit(data[ i++ ]) ) {
                    if ( i == len && dots == 3 ) {
                        // probably an IP address
                        return true;
                    }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Name.java

            String n = this.name;
    
            // fix MSBROWSE name
            if ( n == null ) {
                n = "null";
            }
            else if ( n.charAt(0) == 0x01 ) {
                char c[] = n.toCharArray();
                c[ 0 ] = '.';
                c[ 1 ] = '.';
                c[ 14 ] = '.';
                n = new String(c);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/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: Fri Mar 22 21:10:40 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top