Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 49 for radix (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

      @GwtIncompatible // too slow
      public void testToStringRadix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
            assertThat(value.toString(radix)).isEqualTo(value.bigIntegerValue().toString(radix));
          }
        }
      }
    
      public void testToStringRadixQuick() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. 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)
  3. guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        // loops through all legal radix values.
        for (int r = Character.MIN_RADIX; r <= Character.MAX_RADIX; r++) {
          int radix = r;
          // tests can successfully parse a number string with this radix.
          String maxAsString = max.toString(radix);
          assertThat(UnsignedLongs.parseUnsignedLong(maxAsString, radix)).isEqualTo(max.longValue());
    
          assertThrows(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/IntsTest.java

        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          radixEncodeParseAndAssertEquals(0, radix);
          radixEncodeParseAndAssertEquals(8000, radix);
          radixEncodeParseAndAssertEquals(-8000, radix);
          radixEncodeParseAndAssertEquals(GREATEST, radix);
          radixEncodeParseAndAssertEquals(LEAST, radix);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/primitives/Longs.java

       *
       * @param string the string representation of a long value
       * @param radix the radix to use when parsing
       * @return the long value represented by {@code string} using {@code radix}, or {@code null} if
       *     {@code string} has a length of zero or cannot be parsed as a long 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: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  8. 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)
  9. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    quest
    
    // racing : Premier Registry Limited
    // https://www.iana.org/domains/root/db/racing.html
    racing
    
    // radio : European Broadcasting Union (EBU)
    // https://www.iana.org/domains/root/db/radio.html
    radio
    
    // read : Amazon Registry Services, Inc.
    // https://www.iana.org/domains/root/db/read.html
    read
    
    // realestate : dotRealEstate LLC
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 309.7K bytes
    - Click Count (1)
  10. go.sum

    github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M=
    github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
    github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
    github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 79.8K bytes
    - Click Count (0)
Back to Top