th-quant-ranges-array - Factor Documentation

th-quant-ranges-array


Vocabulary
specialized-arrays .instances .ogg .theora .th-quant-ranges

Definition
USING: alien sequences.private ;

IN: specialized-arrays.instances.ogg.theora.th-quant-ranges

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


Methods
USING: prettyprint.custom
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array >pprint-sequence ;


USING: accessors kernel
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array clone
[ underlying>> clone ] [ length>> ] bi
<direct-th-quant-ranges-array> ; inline


USING: kernel
specialized-arrays.instances.ogg.theora.th-quant-ranges
specialized-arrays.private ;

M: th-quant-ranges-array direct-like
drop <direct-th-quant-ranges-array> ; inline


USING: alien alien.c-types kernel ogg.theora
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array element-size
drop \ th-quant-ranges heap-size ; inline


USING: classes kernel sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: accessors sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array length length>> ; inline


USING: alien.data classes kernel ogg.theora sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: kernel sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array new-sequence
drop (th-quant-ranges-array) ; inline


USING: accessors alien alien.c-types kernel ogg.theora
specialized-arrays.instances.ogg.theora.th-quant-ranges
specialized-arrays.private ;

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


USING: accessors alien.c-types kernel math ogg.theora
sequences.private
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: kernel prettyprint.custom
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array pprint-delims
drop \ th-quant-ranges-array{ \ } ;


USING: accessors alien.c-types byte-arrays kernel math
ogg.theora sequences.private
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: accessors alien.c-types kernel math ogg.theora
sequences.private
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: kernel ogg.theora specialized-arrays
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array underlying-type
drop \ th-quant-ranges ;


USING: alien.c-types math math.vectors ogg.theora sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: alien.c-types math math.vectors ogg.theora sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: alien.c-types math math.vectors ogg.theora sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

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


USING: alien.c-types math math.vectors ogg.theora sequences
specialized-arrays.instances.ogg.theora.th-quant-ranges ;

M: th-quant-ranges-array vs-
[ - \ th-quant-ranges c-type-clamp ] 2map ; inline

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