Handbook
Glossary
code-size<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
code-size<<
( value object -- )
Methods
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
tools.image
;
M:
image-header.32
code-size<<
T{
struct-slot-spec
{
name
"code-size"
}
{
offset 20
}
{
class
fixnum
}
{
initial 0
}
{
type
u32
}
}
write-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
math
tools.image
;
M:
image-header.64
code-size<<
T{
struct-slot-spec
{
name
"code-size"
}
{
offset 40
}
{
class
integer
}
{
initial 0
}
{
type
u64
}
}
write-struct-slot
;
inline
USING:
accessors
classes.struct
classes.struct.private
math
tools.image.analyzer.vm
vm
;
M:
image-header
code-size<<
T{
struct-slot-spec
{
name
"code-size"
}
{
offset 40
}
{
class
integer
}
{
initial 0
}
{
type
cell_t
}
}
write-struct-slot
;
inline
USING:
accessors
compression.lzw
slots.private
;
M:
lzw
code-size<<
8
set-slot
;
inline