- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for basebits (0.24 sec)
-
src/internal/zstd/fse.go
} if e.sym < literalLengthOffset { be.baseline = uint32(e.sym) be.basebits = 0 } else { if e.sym > 35 { return r.makeError(off, "FSE baseline symbol overflow") } idx := e.sym - literalLengthOffset basebits := literalLengthBase[idx] be.baseline = basebits & 0xffffff be.basebits = uint8(basebits >> 24) } baselineTable[i] = be } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:44:06 UTC 2023 - 12.2K bytes - Viewed (0) -
src/internal/zstd/block.go
ptliteral := &r.seqTables[seqLiteral][literalState] add, err := rbr.val(ptoffset.basebits) if err != nil { return err } offset := ptoffset.baseline + add add, err = rbr.val(ptmatch.basebits) if err != nil { return err } match := ptmatch.baseline + add add, err = rbr.val(ptliteral.basebits) if err != nil { return err } literal := ptliteral.baseline + add
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 17:57:43 UTC 2023 - 10.2K bytes - Viewed (0) -
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) -
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) -
src/cmd/internal/src/xpos_test.go
} xpos = xposWith } } if len(tab.baseList) != 1+len(tab.indexMap) { // indexMap omits nil t.Errorf("table length discrepancy: %d != 1+%d", len(tab.baseList), len(tab.indexMap)) } const wantLen = 4 if len(tab.baseList) != wantLen { t.Errorf("got table length %d; want %d", len(tab.baseList), wantLen) } if got := tab.XPos(NoPos); got != NoXPos {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 2.7K bytes - Viewed (0) -
tools/docker-builder/common.go
} } } } return tags } func createArgs(args Args, target string, variant string, architecture string) map[string]string { baseDist := variant if baseDist == DefaultVariant { baseDist = PrimaryVariant } m := map[string]string{ // Base version defines the tag of the base image to use. Typically, set in the Makefile and not overridden. "BASE_VERSION": args.BaseVersion,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 26 13:23:41 UTC 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
*/ static void checkAvalanche(HashFunction function, int trials, double epsilon) { Random rand = new Random(0); int keyBits = 32; int hashBits = function.bits(); for (int i = 0; i < keyBits; i++) { int[] same = new int[hashBits]; int[] diff = new int[hashBits]; // go through trials to compute probability for (int j = 0; j < trials; j++) { int key1 = rand.nextInt();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 25.3K bytes - Viewed (0) -
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) -
src/cmd/internal/src/xpos.go
if base.fileIndex >= 0 { panic("PosBase already registered with a PosTable") } if t.indexMap == nil { t.baseList = append(t.baseList, nil) t.indexMap = make(map[*PosBase]int) t.nameMap = make(map[string]int) } i := len(t.baseList) t.indexMap[base] = i t.baseList = append(t.baseList, base) fileIndex, ok := t.nameMap[base.absFilename] if !ok { fileIndex = len(t.nameMap)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:52:41 UTC 2023 - 4.9K bytes - Viewed (0) -
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)