Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for toCharArray (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt

    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
      override fun getPasswordAuthentication(): PasswordAuthentication? {
        calls.add(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) {
                String username = System.getenv("MVNW_USERNAME");
                char[] password = System.getenv("MVNW_PASSWORD").toCharArray();
                Authenticator.setDefault(new Authenticator() {
                    @Override
                    protected PasswordAuthentication getPasswordAuthentication() {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

                + "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946"
                + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10";
        for (char base : zeros.toCharArray()) {
          for (int offset = 0; offset < 10; offset++) {
            sb.append((char) (base + offset));
          }
        }
        ALL_DIGITS = sb.toString();
      }
    
      /** Sample CharMatcher instances for benchmarking. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/PercentEscaper.java

      private static final char[] plusSign = {'+'};
    
      // Percent escapers output upper case hex digits (uri escapers require this).
      private static final char[] upperHexDigits = "0123456789ABCDEF".toCharArray();
    
      /** If true we should convert space to the {@code +} character. */
      private final boolean plusForSpace;
    
      /**
       * An array of flags where for any {@code char c} if {@code safeOctets[c]} is true then {@code c}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/CharMatcher.java

                + "\u3000\uf8ff\ufeff\ufffb";
    
        static final CharMatcher INSTANCE = new Invisible();
    
        private Invisible() {
          super("CharMatcher.invisible()", RANGE_STARTS.toCharArray(), RANGE_ENDS.toCharArray());
        }
      }
    
      /** Implementation of {@link #singleWidth()}. */
      private static final class SingleWidth extends RangesMatcher {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            this.domain = dom != null ? dom : defDomain != null ? defDomain : "";
            this.username = user != null ? user : defUser != null ? defUser : "";
            this.password = pass != null ? pass.toCharArray() : defPassword != null ? defPassword.toCharArray() : new char[0];
    
            if (type == null) {
                this.type = guessAuthenticationType();
            } else {
                this.type = type;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

          return EMPTY_REPLACEMENT_ARRAY;
        }
        char max = max(map.keySet());
        char[][] replacements = new char[max + 1][];
        for (Character c : map.keySet()) {
          replacements[c] = map.get(c).toCharArray();
        }
        return replacements;
      }
    
      // Immutable empty array for when there are no replacements.
      @SuppressWarnings("ConstantCaseForConstants") // An empty array is a constant.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 01:26:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top