- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for Bitmap (0.14 sec)
-
src/runtime/mbitmap.go
// then s.heapBits() returns a slice containing the bitmap for the whole span. // That is, s.heapBits()[0] holds the goarch.PtrSize*8 bits for the first // goarch.PtrSize*8 words from "start" through "start+63*ptrSize" in the span. // On a related note, small objects are always small enough that their bitmap // fits in goarch.PtrSize*8 bits, so writing out bitmap data takes two bitmap // writes at most (because object boundaries don't generally lie on
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/runtime/mpallocbits.go
// license that can be found in the LICENSE file. package runtime 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) }
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/link/internal/loader/loader.go
} // return current length of bitmap in bits. func (bm Bitmap) Len() int { return len(bm) * 32 } // return the number of bits set. func (bm Bitmap) Count() int { s := 0 for _, x := range bm { s += bits.OnesCount32(x) } return s } func MakeBitmap(n int) Bitmap { return make(Bitmap, (n+31)/32) } // growBitmap insures that the specified bitmap has enough capacity,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/runtime/mheap.go
spans [pagesPerArena]*mspan // pageInUse is a bitmap that indicates which spans are in // state mSpanInUse. This bitmap is indexed by page number, // but only the bit corresponding to the first page in each // span is used. // // Reads and writes are atomic. pageInUse [pagesPerArena / 8]uint8 // pageMarks is a bitmap that indicates which spans have any
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:31:00 UTC 2024 - 78K bytes - Viewed (0) -
pkg/controller/nodeipam/node_ipam_controller.go
cidrAllocator ipam.CIDRAllocator } // NewNodeIpamController returns a new node IP Address Management controller to // sync instances from cloudprovider. // This method returns an error if it is unable to initialize the CIDR bitmap with // podCIDRs it has already allocated to nodes. Since we don't allow podCIDR changes // currently, this should be handled as a fatal error. func NewNodeIpamController( ctx context.Context,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 16:18:38 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
private: int id_; explicit DeviceId(int id) : id_(id) {} int id() const { return id_; } friend class DeviceInfoCache; friend class DeviceSet; }; // A set of DeviceIds, represented as a bitmap. class DeviceSet { public: void Insert(DeviceId device_id); void UnionWith(const DeviceSet& other); bool IsEmpty() const; // Calls `func` on each DeviceId in the set. Stops iterating early if `func`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
fmt.Printf("\n") } // Dumps a slice of bitmaps to a symbol as a sequence of uint32 values. The // first word dumped is the total number of bitmaps. The second word is the // length of the bitmaps. All bitmaps are assumed to be of equal length. The // remaining bytes are the raw bitmaps. func (lv *liveness) emit() (argsSym, liveSym *obj.LSym) { // Size args bitmaps to be just large enough to hold the largest pointer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/runtime/export_test.go
// scavenged bit is set the alloc bit is necessarily unset, so some // of the bits described by scav may be cleared in the final bitmap if // ranges in chunks overlap with them. // // scav is optional, and if nil, the scavenged bitmap will be cleared // (as opposed to all 1s, which it usually is). Furthermore, every // chunk index in scav must appear in chunks; ones that do not are // ignored.
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/net/textproto/reader.go
// VCHAR = %x21-7E func validHeaderValueByte(c byte) bool { // mask is a 128-bit bitmap with 1s for allowed bytes, // so that the byte c can be tested with a shift and an and. // If c >= 128, then 1<<c and 1<<(c-64) will both be zero. // Since this is the obs-text range, we invert the mask to // create a bitmap with 1s for disallowed bytes. const mask = 0 | (1<<(0x7f-0x21)-1)<<0x21 | // VCHAR: %x21-7E
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 22.1K bytes - Viewed (0) -
src/runtime/malloc.go
if !minSizeForMallocHeaderIsSizeClass { throw("min size of malloc header is not a size class boundary") } // Check that the pointer bitmap for all small sizes without a malloc header // fits in a word. if minSizeForMallocHeader/goarch.PtrSize > 8*goarch.PtrSize { throw("max pointer/scan bitmap size for headerless objects is too large") } if minTagBits > taggedPointerBits { throw("taggedPointerbits too small") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0)