Handbook
Glossary
tuple
Vocabulary
tools
.
image-analyzer
.
vm
Definition
USING:
classes.struct
vm
;
IN:
tools.image-analyzer.vm
STRUCT:
tuple
{
header
cell_t
initial:
0
}
{
layout
cell_t
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
tools.image-analyzer.vm
;
M:
tuple
clone
clone-underlying
\
tuple
memory>struct
;
inline
USING:
accessors
classes.struct
io
kernel
math
tools.image-analyzer.data-heap-reader
tools.image-analyzer.utils
tools.image-analyzer.vm
vm
;
M:
tuple
read-payload
[
[
layout-address
seek-absolute
seek-input
tuple-layout
read-struct
size>>
-4
shift
]
save-io-excursion
]
keep
cell_t
read-padded-payload
;
USING:
accessors
classes.struct
combinators.smart
tools.image-analyzer.vm
;
M:
tuple
struct-slot-values
{
[
header>>
]
[
layout>>
]
}
cleave>array
;
inline