Handbook
Glossary
align<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
align<<
( value object -- )
Methods
USING:
accessors
compiler.cfg.instructions
slots.private
;
M:
##local-allot
align<<
4
set-slot
;
inline
USING:
accessors
alien.c-types
kernel
math
slots
slots.private
;
M:
abstract-c-type
align<<
[
dup
integer?
[
\
integer
bad-slot-value
]
unless
]
dip
10
set-slot
;
inline
USING:
accessors
slots.private
ui.gadgets.borders
;
M:
border
align<<
22
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
macho
math
;
M:
fat_arch
align<<
T{
struct-slot-spec
{
name
"align"
}
{
offset 16
}
{
class
fixnum
}
{
initial 0
}
{
type
uint
}
}
write-struct-slot
;
inline
USING:
accessors
slots.private
ui.gadgets.packs
;
M:
pack
align<<
20
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
math
slots
slots.private
;
M:
ptx-variable
align<<
[
dup
[
integer?
]
[
t
]
if*
[
maybe{
integer
}
bad-slot-value
]
unless
]
dip
4
set-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
macho
math
;
M:
section
align<<
T{
struct-slot-spec
{
name
"align"
}
{
offset 44
}
{
class
fixnum
}
{
initial 0
}
{
type
uint
}
}
write-struct-slot
;
inline
USING:
accessors
alien.c-types
classes.struct
classes.struct.private
macho
math
;
M:
section_64
align<<
T{
struct-slot-spec
{
name
"align"
}
{
offset 52
}
{
class
fixnum
}
{
initial 0
}
{
type
uint
}
}
write-struct-slot
;
inline