Elf32_Shdr-array - Factor Documentation

Elf32_Shdr-array


Vocabulary
specialized-arrays .instances .elf .Elf32_Shdr

Definition
USING: alien sequences.private ;

IN: specialized-arrays.instances.elf.Elf32_Shdr

TUPLE: Elf32_Shdr-array
{ underlying c-ptr read-only initial: f }
{ length array-capacity read-only initial: 0 } ; final


Methods
USING: prettyprint.custom
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array >pprint-sequence ;


USING: accessors kernel
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array clone
[ underlying>> clone ] [ length>> ] bi
<direct-Elf32_Shdr-array> ; inline


USING: kernel specialized-arrays.instances.elf.Elf32_Shdr
specialized-arrays.private ;

M: Elf32_Shdr-array direct-like
drop <direct-Elf32_Shdr-array> ; inline


USING: alien alien.c-types elf kernel
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array element-size drop \ Elf32_Shdr heap-size
; inline


USING: classes kernel sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array equal?
over Elf32_Shdr-array instance? [ sequence= ] [ 2drop f ] if
;


USING: accessors sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array length length>> ; inline


USING: alien.data classes elf kernel sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array like
drop dup Elf32_Shdr-array instance?
[ \ Elf32_Shdr >c-array ] unless ; inline


USING: kernel sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array new-sequence drop (Elf32_Shdr-array) ;
inline


USING: accessors alien alien.c-types elf kernel
specialized-arrays.instances.elf.Elf32_Shdr
specialized-arrays.private ;

M: Elf32_Shdr-array nth-c-ptr
underlying>> \ Elf32_Shdr array-accessor drop
swap <displaced-alien> ; inline


USING: accessors alien.c-types elf kernel math sequences.private
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array nth-unsafe
[ integer>fixnum ] dip
underlying>> \ Elf32_Shdr alien-element ; inline


USING: kernel prettyprint.custom
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array pprint-delims drop \ Elf32_Shdr-array{ \ } ;


USING: accessors alien.c-types byte-arrays elf kernel math
sequences.private specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array resize
[
[ \ Elf32_Shdr heap-size * ] [ underlying>> ] bi*
resize-byte-array
] keepd <direct-Elf32_Shdr-array> ; inline


USING: accessors alien.c-types elf kernel math sequences.private
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array set-nth-unsafe
[ integer>fixnum ] dip
underlying>> \ Elf32_Shdr set-alien-element ; inline


USING: elf kernel specialized-arrays
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array underlying-type drop \ Elf32_Shdr ;


USING: alien.c-types elf math math.vectors sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array v*high
[ * \ Elf32_Shdr heap-size neg shift ] 2map ; inline


USING: alien.c-types elf math math.vectors sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array vs* [ * \ Elf32_Shdr c-type-clamp ] 2map
; inline


USING: alien.c-types elf math math.vectors sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array vs+ [ + \ Elf32_Shdr c-type-clamp ] 2map
; inline


USING: alien.c-types elf math math.vectors sequences
specialized-arrays.instances.elf.Elf32_Shdr ;

M: Elf32_Shdr-array vs- [ - \ Elf32_Shdr c-type-clamp ] 2map
; inline

AltStyle によって変換されたページ (->オリジナル) /