Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for toCharArray (0.79 sec)

  1. src/main/java/jcifs/dcerpc/UUID.java

        /**
         * Construct a UUID from string
         *
         * @param str
         *            the string representation of the UUID to parse
         */
        public UUID(final String str) {
            final 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        UnicodeEscaper wrappingEscaper =
            new ArrayBasedUnicodeEscaper(NO_REPLACEMENTS, 'A', 'Z', null) {
              @Override
              protected char[] escapeUnsafe(int c) {
                return ("{" + (char) c + "}").toCharArray();
              }
            };
        EscaperAsserts.assertBasic(wrappingEscaper);
        // '[' and '@' lie either side of [A-Z].
        assertThat(wrappingEscaper.escape("[FOO@BAR]")).isEqualTo("{[}FOO{@}BAR{]}");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Lmhosts.java

                        throw new IOException("no lmhosts alternate includes loaded");
                    }
                } else if (Character.isDigit(line.charAt(0))) {
                    final char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
                    ip = i = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. android/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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

            // Test all valid URL characters in a comprehensive way
            String validChars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-*_:/+%=&?#[]@~!$'(),;";
            for (char c : validChars.toCharArray()) {
                assertTrue("Character '" + c + "' should be a valid URL character", CharUtil.isUrlChar(c));
            }
        }
    
        public void test_isUrlChar_boundaryChars() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/UUID.java

        /**
         * Constructs a UUID from a string representation
         *
         * @param str the string representation of the UUID to parse
         */
        public UUID(final String str) {
            final char[] arr = str.toCharArray();
            time_low = hex_to_bin(arr, 0, 8);
            time_mid = S(hex_to_bin(arr, 9, 4));
            time_hi_and_version = S(hex_to_bin(arr, 14, 4));
            clock_seq_hi_and_reserved = B(hex_to_bin(arr, 19, 2));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

                        throw new IOException("no lmhosts alternate includes loaded");
                    }
                } else if (Character.isDigit(line.charAt(0))) {
                    final char[] data = line.toCharArray();
                    int ip, i, j;
                    Name name;
                    NbtAddress addr;
                    char c = '.';
    
                    ip = i = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. 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();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top