Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for radix (0.04 seconds)

  1. android/guava/src/com/google/common/primitives/UnsignedBytes.java

      public static String toString(byte x, int radix) {
        checkArgument(
            radix >= Character.MIN_RADIX && radix <= Character.MAX_RADIX,
            "radix (%s) must be between Character.MIN_RADIX and Character.MAX_RADIX",
            radix);
        // Benchmarks indicate this is probably not worth optimizing.
        return Integer.toString(toUnsignedInt(x), radix);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

      public void testTryParse_radix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          radixEncodeParseAndAssertEquals(0L, radix);
          radixEncodeParseAndAssertEquals(8000L, radix);
          radixEncodeParseAndAssertEquals(-8000L, radix);
          radixEncodeParseAndAssertEquals(MAX_VALUE, radix);
          radixEncodeParseAndAssertEquals(MIN_VALUE, radix);
          assertWithMessage("Radix: %s", radix)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * unsigned.
       *
       * <p><b>Java 8+ users:</b> use {@link Integer#toUnsignedString(int, int)} instead.
       *
       * @param x the value to convert to a string.
       * @param radix the radix to use while working with {@code x}
       * @throws IllegalArgumentException if {@code radix} is not between {@link Character#MIN_RADIX}
       *     and {@link Character#MAX_RADIX}.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Ints.java

       * @param string the string representation of an integer value
       * @param radix the radix to use when parsing
       * @return the integer value represented by {@code string} using {@code radix}, or {@code null} if
       *     {@code string} has a length of zero or cannot be parsed as an integer value
       * @throws IllegalArgumentException if {@code radix < Character.MIN_RADIX} or {@code radix >
       *     Character.MAX_RADIX}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  5. doc/go_spec.html

    prefix, an integer part (hexadecimal digits), a radix point, a fractional part (hexadecimal digits),
    and an exponent part (<code>p</code> or <code>P</code> followed by an optional sign and decimal digits).
    One of the integer part or the fractional part may be elided; the radix point may be elided as well,
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
Back to Top