- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AllFree (0.18 sec)
-
src/runtime/mpagecache_test.go
beforeScav map[ChunkIdx][]BitRange hits []PageCache // expected base addresses and patterns afterAlloc map[ChunkIdx][]BitRange afterScav map[ChunkIdx][]BitRange } tests := map[string]test{ "AllFree": { beforeAlloc: map[ChunkIdx][]BitRange{ BaseChunkIdx: {}, }, beforeScav: map[ChunkIdx][]BitRange{ BaseChunkIdx: {{1, 1}, {64, 64}}, }, hits: []PageCache{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 06 19:16:48 UTC 2021 - 10.8K bytes - Viewed (0) -
src/runtime/mpallocbits_test.go
hits: []PallocSum{ PackPallocSum(0, 5, 0), }, } tests["One"] = test{ free: []BitRange{{2, 1}}, hits: []PallocSum{ PackPallocSum(0, 1, 0), }, } tests["AllFree"] = test{ free: []BitRange{{0, PallocChunkPages}}, hits: []PallocSum{ emptySum, }, } for name, v := range tests { v := v t.Run(name, func(t *testing.T) { b := makePallocBits(v.free)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 17 22:00:17 UTC 2020 - 13.7K bytes - Viewed (0) -
src/runtime/mgcscavenge_test.go
max: PallocChunkPages, want: BitRange{85, 1}, }, } // Try out different page minimums. for m := uintptr(1); m <= 64; m *= 2 { suffix := fmt.Sprintf("Min%d", m) tests["AllFree"+suffix] = test{ min: m, max: PallocChunkPages, want: BitRange{0, PallocChunkPages}, } tests["AllScavenged"+suffix] = test{ scavenged: []BitRange{{0, PallocChunkPages}}, min: m,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 25.2K bytes - Viewed (0)