- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for gcbits (0.24 sec)
-
src/reflect/export_test.go
for i, offs := range offset { rodata := sections[i] for _, off := range offs { typ := (*rtype)(resolveTypeOff(rodata, off)) r = append(r, typ.String()) } } return r } var GCBits = gcbits func gcbits(any) []byte // provided by runtime func MapBucketOf(x, y Type) Type { return toType(bucketOf(x.common(), y.common())) } func CachedBucketOf(m Type) Type { t := m.(*rtype)
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/runtime/cgocheck.go
// bytes, and throws if it finds an unpinned Go pointer. The gcbits mark each // pointer value. The src pointer is off bytes into the gcbits. // //go:nosplit //go:nowritebarrier func cgoCheckBits(src unsafe.Pointer, gcbits *byte, off, size uintptr) { skipMask := off / goarch.PtrSize / 8 skipBytes := skipMask * goarch.PtrSize * 8 ptrmask := addb(gcbits, skipMask) src = add(src, skipBytes) off -= skipBytes
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 7.6K bytes - Viewed (0) -
src/runtime/gcinfo_test.go
// // The Go runtime's pointer/scalar iterator generates pointers beyond // the size of the type, up to the size of the size class. This space // is safe for the GC to scan since it's zero, and GCBits checks to // make sure that's true. But we need to handle the fact that the bitmap // may be larger than we expect. return } t.Errorf("bad GC program for %v:\nwant %+v\ngot %+v", name, mask0, mask) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 19:58:08 UTC 2023 - 6K bytes - Viewed (0) -
src/vendor/golang.org/x/net/http2/hpack/huffman.go
// cur is the bit buffer that has not been fed into n. // cbits is the number of low order bits in cur that are valid. // sbits is the number of bits of the symbol prefix being decoded. cur, cbits, sbits := uint(0), uint8(0), uint8(0) for _, b := range v { cur = cur<<8 | uint(b) cbits += 8 sbits += 8 for cbits >= 8 { idx := byte(cur >> (cbits - 8)) n = n.children[idx] if n == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 05 19:54:32 UTC 2022 - 5.8K bytes - Viewed (0) -
src/cmd/link/internal/sym/symkind.go
STYPE, SSTRING, SGOSTRING, SGOFUNC, SGCBITS, SRODATA, SFUNCTAB, } // RelROMap describes the transformation of read-only symbols to rel-ro // symbols. var RelROMap = map[SymKind]SymKind{ STYPE: STYPERELRO, SSTRING: SSTRINGRELRO, SGOSTRING: SGOSTRINGRELRO, SGOFUNC: SGOFUNCRELRO, SGCBITS: SGCBITSRELRO, SRODATA: SRODATARELRO, SFUNCTAB: SFUNCTABRELRO, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 5.6K bytes - Viewed (0) -
src/runtime/cgo/gcc_freebsd_sigaction.c
} else { oldgoact->handler = (uintptr_t)(oldact.sa_handler); } for (i = 0 ; i < _SIG_WORDS; i++) { oldgoact->mask.__bits[i] = 0; } for (i = 0; i < 8 * sizeof(oldgoact->mask); i++) { if (sigismember(&oldact.sa_mask, i+1) == 1) { oldgoact->mask.__bits[i/32] |= (uint32_t)(1)<<(i&31); } } oldgoact->flags = oldact.sa_flags; } _cgo_tsan_release(); return ret;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 24 22:38:02 UTC 2023 - 2K bytes - Viewed (0) -
src/internal/zstd/bits.go
cnt uint32 // number of valid bits in the bits field } // makeBitReader makes a bit reader starting at off. func (r *Reader) makeBitReader(data block, off int) bitReader { return bitReader{ r: r, data: data, off: uint32(off), } } // moreBits is called to read more bits. // This ensures that at least 16 bits are available. func (br *bitReader) moreBits() error { for br.cnt < 16 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
src/math/bits.go
Russ Cox <******@****.***> 1643915146 -0500
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:52:29 UTC 2022 - 1.9K bytes - Viewed (0) -
test/codegen/bits.go
func bitSetTest(x int) bool { // amd64:"ANDL\t[$]9, AX" // amd64:"CMPQ\tAX, [$]9" return x&9 == 9 } // mask contiguous one bits func cont1Mask64U(x uint64) uint64 { // s390x:"RISBGZ\t[$]16, [$]47, [$]0," return x & 0x0000ffffffff0000 } // mask contiguous zero bits func cont0Mask64U(x uint64) uint64 { // s390x:"RISBGZ\t[$]48, [$]15, [$]0," return x & 0xffff00000000ffff }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 7.8K bytes - Viewed (0) -
src/cmd/link/internal/sym/symkind_string.go
var x [1]struct{} _ = x[Sxxx-0] _ = x[STEXT-1] _ = x[SELFRXSECT-2] _ = x[SMACHOPLT-3] _ = x[STYPE-4] _ = x[SSTRING-5] _ = x[SGOSTRING-6] _ = x[SGOFUNC-7] _ = x[SGCBITS-8] _ = x[SRODATA-9] _ = x[SFUNCTAB-10] _ = x[SELFROSECT-11] _ = x[STYPERELRO-12] _ = x[SSTRINGRELRO-13] _ = x[SGOSTRINGRELRO-14] _ = x[SGOFUNCRELRO-15] _ = x[SGCBITSRELRO-16] _ = x[SRODATARELRO-17]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 13:29:54 UTC 2024 - 2.7K bytes - Viewed (0)