Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 112 for radix (0.05 sec)

  1. android/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() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  2. 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);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (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}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. 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}.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 13.4K bytes
    - Viewed (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((long) 0, radix);
          radixEncodeParseAndAssertEquals((long) 8000, radix);
          radixEncodeParseAndAssertEquals((long) -8000, radix);
          radixEncodeParseAndAssertEquals(MAX_VALUE, radix);
          radixEncodeParseAndAssertEquals(MIN_VALUE, radix);
          assertWithMessage("Radix: " + radix)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  6. 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}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  7. 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}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/op_or_arg_name_mapper.cc

      while (true) {
        probe_name.resize(probe_prefix_size);
        // TODO(jpienaar): Subtract one so that the initial suffix is 0 instead
        // of 1.
        // TODO(jpienaar): Switch to radix 36 and update tests.
        llvm::APInt(32, val++).toString(probe_name, /*Radix=*/10, /*Signed=*/false);
        if (IsUnique(probe_name)) {
          // Insert/find if prefix with appended number is unique.
          auto probe_name_it = name_to_count_.try_emplace(probe_name, 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/scanner_test.go

    		{IntLit, "0b01a0", "0b01 a0", ""}, // only accept 0-9
    
    		{FloatLit, "0b.", "0b.", "invalid radix point in binary literal"},
    		{FloatLit, "0b.1", "0b.1", "invalid radix point in binary literal"},
    		{FloatLit, "0b1.0", "0b1.0", "invalid radix point in binary literal"},
    		{FloatLit, "0b1e10", "0b1e10", "'e' exponent requires decimal mantissa"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 14 16:11:21 UTC 2022
    - 21.9K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_64bit.go

    )
    
    // levelBits is the number of bits in the radix for a given level in the super summary
    // structure.
    //
    // The sum of all the entries of levelBits should equal heapAddrBits.
    var levelBits = [summaryLevels]uint{
    	summaryL0Bits,
    	summaryLevelBits,
    	summaryLevelBits,
    	summaryLevelBits,
    	summaryLevelBits,
    }
    
    // levelShift is the number of bits to shift to acquire the radix for a given level
    // in the super summary structure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 03 11:00:10 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top