- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for basebits (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/runtime/os_windows.go
var mask, sysmask uintptr ret := stdcall3(_GetProcessAffinityMask, currentProcess, uintptr(unsafe.Pointer(&mask)), uintptr(unsafe.Pointer(&sysmask))) if ret != 0 { n := 0 maskbits := int(unsafe.Sizeof(mask) * 8) for i := 0; i < maskbits; i++ { if mask&(1<<uint(i)) != 0 { n++ } } if n != 0 { return int32(n) } } // use GetSystemInfo if GetProcessAffinityMask fails
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/mgc.go
// // nStackRoots == len(stackRoots), but we have nStackRoots for // consistency. nDataRoots, nBSSRoots, nSpanRoots, nStackRoots int // Base indexes of each root type. Set by gcMarkRootPrepare. baseData, baseBSS, baseSpans, baseStacks, baseEnd uint32 // stackRoots is a snapshot of all of the Gs that existed // before the beginning of concurrent marking. The backing // store of this must not be modified because it might be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 62K bytes - Viewed (0)