- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for Bitmap (0.13 sec)
-
pkg/registry/core/service/allocator/bitmap.go
} // NewAllocationMap creates an allocation bitmap using the random scan strategy. func NewAllocationMap(max int, rangeSpec string) *AllocationBitmap { return NewAllocationMapWithOffset(max, rangeSpec, 0) } // NewAllocationMapWithOffset creates an allocation bitmap using a random scan strategy that // allows to pass an offset that divides the allocation bitmap in two blocks.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 25 20:32:40 UTC 2023 - 7.6K bytes - Viewed (0) -
src/runtime/mcheckmark.go
arena := mheap_.arenas[ai.l1()][ai.l2()] bitmap := arena.checkmarks if bitmap == nil { // Allocate bitmap on first use. bitmap = (*checkmarksMap)(persistentalloc(unsafe.Sizeof(*bitmap), 0, &memstats.gcMiscSys)) if bitmap == nil { throw("out of memory allocating checkmarks bitmap") } arena.checkmarks = bitmap } else { // Otherwise clear the existing bitmap. clear(bitmap.b[:]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 2.8K bytes - Viewed (0) -
test/fixedbugs/issue29362b.go
// There are 2 arg bitmaps for this function, each with 2 bits. // In the first, p and q are both live, so that bitmap is 11. // In the second, only p is live, so that bitmap is 10. // Bitmaps are byte aligned, so if the first bitmap is interpreted as // extending across the entire argument area, we incorrectly concatenate // the bitmaps and end up using 110000001. That bad bitmap causes a6 // to be considered a pointer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 03 23:37:42 UTC 2019 - 1.4K bytes - Viewed (0) -
pkg/registry/core/service/allocator/storage/storage_test.go
if _, err := storage.Allocate(2); err != nil { t.Fatal(err) } // Release the item in the local bitmap // emulating it's out of sync with the storage err := backing.Release(2) if err != nil { t.Fatal(err) } // It should fail trying to allocate it deespite it's free // in the local bitmap because it's not in the storage ok, err := storage.Allocate(2) if ok || err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 01 20:54:26 UTC 2021 - 4.8K bytes - Viewed (0) -
src/internal/abi/abi.go
} // IntArgRegBitmap is a bitmap large enough to hold one bit per // integer argument/return register. type IntArgRegBitmap [(IntArgRegs + 7) / 8]uint8 // Set sets the i'th bit of the bitmap to 1. func (b *IntArgRegBitmap) Set(i int) { b[i/8] |= uint8(1) << (i % 8) } // Get returns whether the i'th bit of the bitmap is set. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 23 15:51:32 UTC 2023 - 3.1K bytes - Viewed (0) -
test/fixedbugs/issue11286.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that pointer bitmaps of types with large scalar tails are // correctly repeated when unrolled into the heap bitmap. package main import "runtime" const D = 57 type T struct { a [D]float64 b map[string]int c [D]float64 } var ts []T
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 23 18:37:17 UTC 2015 - 600 bytes - Viewed (0) -
src/reflect/export_test.go
argSize = abid.stackCallArgsSize retOffset = abid.retOffset frametype = toType(ft) // Expand stack pointer bitmap into byte-map. for i := uint32(0); i < abid.stackPtrs.n; i++ { stack = append(stack, abid.stackPtrs.data[i/8]>>(i%8)&1) } // Expand register pointer bitmaps into byte-maps. bool2byte := func(b bool) byte { if b { return 1 } return 0 } for i := 0; i < intArgRegs; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 15:10:48 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/mime.map
image/x-portable-anymap pnm # image/x-portable-bitmap pbm # image/x-portable-graymap pgm # image/x-portable-pixmap ppm # image/x-rgb rgb # RGB Image File image/x-xbitmap xbm # X-bitmap Image File image/x-xpixmap xpm # X-pixmap Image File image/x-xwindowdump xwd #
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 5.9K bytes - Viewed (0) -
test/fixedbugs/issue15747.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 15747: liveness analysis was marking heap-escaped params live too much, // and worse was using the wrong bitmap bits to do so. package p var global *[]byte type Q struct{} type T struct{ M string } var b bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.1K bytes - Viewed (0) -
src/runtime/mpagecache.go
// a pageCachePages*pageSize chunk of memory with 0 or more free // pages in it. type pageCache struct { base uintptr // base address of the chunk cache uint64 // 64-bit bitmap representing free pages (1 means free) scav uint64 // 64-bit bitmap representing scavenged pages (1 means scavenged) } // empty reports whether the page cache has no free pages. func (c *pageCache) empty() bool { return c.cache == 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 14:30:00 UTC 2023 - 5.6K bytes - Viewed (0)