tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
GCBits
rt
gc
cdgc
bits
Undocumented in source.
struct
GCBits {
const
int
BITS_PER_WORD
;
const
int
BITS_SHIFT
;
const
int
BITS_MASK
;
uint
*
data
;
size_t
nwords
;
size_t
nbits
;
size_t
data_size
();
void
Dtor
(os.Vis vis);
void
alloc
(size_t nbits, os.Vis vis);
uint
test
(size_t i);
void
set
(size_t i);
void
clear
(size_t i);
uint
testClear
(size_t i);
void
zero
();
void
set_all
();
void
set_group
(size_t base, size_t nbits);
void
copy
(GCBits* f);
uint
*
base
();
}
Members
Functions
Dtor
void
Dtor
(os.Vis vis)
Undocumented in source. Be warned that the author may not have intended to support it.
alloc
void
alloc
(size_t nbits, os.Vis vis)
Undocumented in source. Be warned that the author may not have intended to support it.
base
uint
*
base
()
Undocumented in source.
clear
void
clear
(size_t i)
Undocumented in source.
copy
void
copy
(GCBits* f)
Undocumented in source.
data_size
size_t
data_size
()
Get the number of bytes needed to store nbits bits
set
void
set
(size_t i)
Undocumented in source.
set_all
void
set_all
()
Undocumented in source. Be warned that the author may not have intended to support it.
set_group
void
set_group
(size_t base, size_t nbits)
Undocumented in source.
test
uint
test
(size_t i)
Undocumented in source.
testClear
uint
testClear
(size_t i)
Undocumented in source. Be warned that the author may not have intended to support it.
zero
void
zero
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
BITS_MASK
int
BITS_MASK
;
Undocumented in source.
BITS_PER_WORD
int
BITS_PER_WORD
;
Undocumented in source.
BITS_SHIFT
int
BITS_SHIFT
;
Undocumented in source.
data
uint
*
data
;
Undocumented in source.
nbits
size_t
nbits
;
Undocumented in source.
nwords
size_t
nwords
;
Undocumented in source.
Meta
Source
See Implementation
rt
gc
cdgc
bits
structs
GCBits