- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for basebits (0.14 sec)
-
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/internal/zstd/huff.go
if err != nil { return 0, 0, err } state1, err := rbr.val(uint8(fseBits)) if err != nil { return 0, 0, err } state2, err := rbr.val(uint8(fseBits)) if err != nil { return 0, 0, err } // There are two independent FSE streams, tracked by // state1 and state2. We decode them alternately. for { pt := &fseTable[state1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 4.7K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/policy_static.go
bitmask.IterateBitMasks(numaNodes, func(mask bitmask.BitMask) { maskBits := mask.GetBits() singleNUMAHint := len(maskBits) == 1 totalFreeSize := map[v1.ResourceName]uint64{} totalAllocatableSize := map[v1.ResourceName]uint64{} // calculate total free and allocatable memory for the node mask for _, nodeID := range maskBits { for resourceName := range requestedResources {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Nov 12 07:34:55 UTC 2023 - 34K 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/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) -
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/syscall_windows_test.go
// It returns new affinity mask. func removeOneCPU(mask uintptr) (uintptr, error) { if mask == 0 { return 0, fmt.Errorf("cpu affinity mask is empty") } maskbits := int(unsafe.Sizeof(mask) * 8) for i := 0; i < maskbits; i++ { newmask := mask & ^(1 << uint(i)) if newmask != mask { return newmask, nil } } panic("not reached") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 31 16:31:35 UTC 2023 - 32.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)