Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 620 for power9 (0.23 sec)

  1. src/runtime/traceallocfree.go

    	return traceArg(uint64(base)-trace.minPageHeapAddr) / fixedStack
    }
    
    // traceCompressStackSize assumes size is a power of 2 and returns log2(size).
    func traceCompressStackSize(size uintptr) traceArg {
    	if size&(size-1) != 0 {
    		throw("goroutine stack size is not a power of 2")
    	}
    	return traceArg(sys.Len64(uint64(size)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:32:51 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Striped64.java

    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Hashing.java

      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = Math.max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  4. src/internal/trace/traceviewer/histogram.go

    )
    
    // TimeHistogram is an high-dynamic-range histogram for durations.
    type TimeHistogram struct {
    	Count                int
    	Buckets              []int
    	MinBucket, MaxBucket int
    }
    
    // Five buckets for every power of 10.
    var logDiv = math.Log(math.Pow(10, 1.0/5))
    
    // Add adds a single sample to the histogram.
    func (h *TimeHistogram) Add(d time.Duration) {
    	var bucket int
    	if d > 0 {
    		bucket = int(math.Log(float64(d)) / logDiv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:58 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/Striped64.java

    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/Striped64.java

    @ElementTypesAreNonnullByDefault
    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Striped64.java

    abstract class Striped64 extends Number {
      /*
       * This class maintains a lazily-initialized table of atomically
       * updated variables, plus an extra "base" field. The table size
       * is a power of two. Indexing uses masked per-thread hash codes.
       * Nearly all declarations in this class are package-private,
       * accessed directly by subclasses.
       *
       * Table entries are of class Cell; a variant of AtomicLong padded
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. src/internal/bytealg/index_ppc64x.go

    // license that can be found in the LICENSE file.
    
    //go:build ppc64 || ppc64le
    
    package bytealg
    
    import "internal/cpu"
    
    const MaxBruteForce = 16
    
    var SupportsPower9 = cpu.PPC64.IsPOWER9
    
    func init() {
    	MaxLen = 32
    }
    
    // Cutover reports the number of failures of IndexByte we should tolerate
    // before switching over to Index.
    // n is the number of bytes processed so far.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 09 05:34:46 UTC 2023
    - 637 bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Hashing.java

      }
    
      private static final int MAX_TABLE_SIZE = Ints.MAX_POWER_OF_TWO;
    
      static int closedTableSize(int expectedEntries, double loadFactor) {
        // Get the recommended table size.
        // Round down to the nearest power of 2.
        expectedEntries = Math.max(expectedEntries, 2);
        int tableSize = Integer.highestOneBit(expectedEntries);
        // Check to make sure that we will not exceed the maximum load factor.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go

    	// CPU features
    	_PPC_FEATURE2_DARN = 0x00200000
    	_PPC_FEATURE2_SCV  = 0x00100000
    )
    
    func doinit() {
    	// HWCAP2 feature bits
    	PPC64.IsPOWER8 = isSet(hwCap2, _PPC_FEATURE2_ARCH_2_07)
    	PPC64.IsPOWER9 = isSet(hwCap2, _PPC_FEATURE2_ARCH_3_00)
    	PPC64.HasDARN = isSet(hwCap2, _PPC_FEATURE2_DARN)
    	PPC64.HasSCV = isSet(hwCap2, _PPC_FEATURE2_SCV)
    }
    
    func isSet(hwc uint, value uint) bool {
    	return hwc&value != 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 775 bytes
    - Viewed (0)
Back to top