Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for basebits (0.14 sec)

  1. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/Units.java

            private final BaseUnits<Q> baseUnits;
            private final BigDecimal factor;
    
            public ScaledUnits(BaseUnits<Q> baseUnits, String displaySingular, String displayPlural, BigDecimal factor) {
                super(baseUnits.getType(), displaySingular, displayPlural);
                assert factor.compareTo(BigDecimal.ONE) > 0;
                this.baseUnits = baseUnits;
                this.factor = factor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. src/runtime/mpallocbits.go

    import (
    	"runtime/internal/sys"
    )
    
    // pageBits is a bitmap representing one bit per page in a palloc chunk.
    type pageBits [pallocChunkPages / 64]uint64
    
    // get returns the value of the i'th bit in the bitmap.
    func (b *pageBits) get(i uint) uint {
    	return uint((b[i/64] >> (i % 64)) & 1)
    }
    
    // block64 returns the 64-bit aligned block of bits containing the i'th bit.
    func (b *pageBits) block64(i uint) uint64 {
    	return b[i/64]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                }
                int hashBits = prototype.getDigestLength() * 8;
                try {
                    Object ignored = prototype.clone();
                    return new CloningMessageDigestHashFunction(prototype, hashBits);
                } catch (CloneNotSupportedException e) {
                    return new RegularMessageDigestHashFunction(algorithm, hashBits);
                }
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/measure/DataSeries.java

            this.min = min;
            this.max = max;
    
            BigDecimal sumSquares = BigDecimal.ZERO;
            Units<Q> baseUnits = average.getUnits().getBaseUnits();
            BigDecimal averageValue = average.toUnits(baseUnits).getValue();
            for (Amount<Q> amount : this) {
                BigDecimal diff = amount.toUnits(baseUnits).getValue();
                diff = diff.subtract(averageValue);
                diff = diff.multiply(diff);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/environment/base_test.go

    // checking for:
    //
    //   - No gaps and overlap in library inclusion, including when libraries are version bumped
    //   - RemovedVersion is always greater than IntroducedVersion
    //   - Libraries are not removed once added (although they can be replaced with new versions)
    func TestLibraryCoverage(t *testing.T) {
    	vops := make([]VersionedOptions, len(baseOpts))
    	copy(vops, baseOpts)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/compress/flate/deflate.go

    	// stop things from getting too large.
    	maxFlateBlockTokens = 1 << 14
    	maxStoreBlockSize   = 65535
    	hashBits            = 17 // After 17 performance degrades
    	hashSize            = 1 << hashBits
    	hashMask            = (1 << hashBits) - 1
    	maxHashOffset       = 1 << 24
    
    	skipNever = math.MaxInt32
    )
    
    type compressionLevel struct {
    	level, good, lazy, nice, chain, fastSkipHashing int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/environment/base.go

    // desirable because it means that CEL expressions are portable across a wider range
    // of Kubernetes versions.
    func DefaultCompatibilityVersion() *version.Version {
    	return version.MajorMinor(1, 30)
    }
    
    var baseOpts = append(baseOptsWithoutStrictCost, StrictCostOpt)
    
    var baseOptsWithoutStrictCost = []VersionedOptions{
    	{
    		// CEL epoch was actually 1.23, but we artificially set it to 1.0 because these
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 15:51:08 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/internal/poll/fd_windows.go

    	n := len(b)
    	runes := make([]rune, 0, 256)
    	if len(fd.lastbits) > 0 {
    		b = append(fd.lastbits, b...)
    		fd.lastbits = nil
    
    	}
    	for len(b) >= utf8.UTFMax || utf8.FullRune(b) {
    		r, l := utf8.DecodeRune(b)
    		runes = append(runes, r)
    		b = b[l:]
    	}
    	if len(b) > 0 {
    		fd.lastbits = make([]byte, len(b))
    		copy(fd.lastbits, b)
    	}
    	// syscall.WriteConsole seems to fail, if given large buffer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 16:50:42 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  9. src/runtime/export_test.go

    // SummarizeSlow is a slow but more obviously correct implementation
    // of (*pallocBits).summarize. Used for testing.
    func SummarizeSlow(b *PallocBits) PallocSum {
    	var start, most, end uint
    
    	const N = uint(len(b)) * 64
    	for start < N && (*pageBits)(b).get(start) == 0 {
    		start++
    	}
    	for end < N && (*pageBits)(b).get(N-end-1) == 0 {
    		end++
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  10. src/runtime/mgcmark.go

    	// Calculate base indexes of each root type
    	work.baseData = uint32(fixedRootCount)
    	work.baseBSS = work.baseData + uint32(work.nDataRoots)
    	work.baseSpans = work.baseBSS + uint32(work.nBSSRoots)
    	work.baseStacks = work.baseSpans + uint32(work.nSpanRoots)
    	work.baseEnd = work.baseStacks + uint32(work.nStackRoots)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top