Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for radix (0.12 sec)

  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() {
    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/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns a string representation of the {@code UnsignedInteger} value, in base {@code radix}. If
       * {@code radix < Character.MIN_RADIX} or {@code radix > Character.MAX_RADIX}, the radix {@code
       * 10} is used.
       */
      public String toString(int radix) {
        return UnsignedInts.toString(value, radix);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/UnsignedInteger.java

      }
    
      /**
       * Returns a string representation of the {@code UnsignedInteger} value, in base {@code radix}. If
       * {@code radix < Character.MIN_RADIX} or {@code radix > Character.MAX_RADIX}, the radix {@code
       * 10} is used.
       */
      public String toString(int radix) {
        return UnsignedInts.toString(value, radix);
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/math/big/floatconv.go

    	// special-case 0
    	if len(z.mant) == 0 {
    		z.prec = prec
    		z.acc = Exact
    		z.form = zero
    		f = z
    		return
    	}
    	// len(z.mant) > 0
    
    	// The mantissa may have a radix point (fcount <= 0) and there
    	// may be a nonzero exponent exp. The radix point amounts to a
    	// division by b**(-fcount). An exponent means multiplication by
    	// ebase**exp. Finally, mantissa normalization (shift left) requires
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. guava/src/com/google/thirdparty/publicsuffix/TrieParser.java

    import com.google.common.base.Joiner;
    import com.google.common.collect.ImmutableMap;
    import java.util.Deque;
    
    /** Parser for a map of reversed domain names stored as a serialized radix tree. */
    @GwtCompatible
    final class TrieParser {
    
      private static final Joiner DIRECT_JOINER = Joiner.on("");
    
      /**
       * Parses a serialized trie representation of a map of reversed public suffixes into an immutable
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Oct 13 19:20:43 UTC 2022
    - 4K bytes
    - Viewed (0)
  10. src/runtime/mpagealloc_32bit.go

    // space is only 2^32 bytes in size (see heapAddrBits).
    
    package runtime
    
    import (
    	"unsafe"
    )
    
    const (
    	// The number of levels in the radix tree.
    	summaryLevels = 4
    
    	// Constants for testing.
    	pageAlloc32Bit = 1
    	pageAlloc64Bit = 0
    
    	// Number of bits needed to represent all indices into the L1 of the
    	// chunks map.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top