Handbook
Glossary
short-array
Vocabulary
specialized-arrays
.
instances
.
alien
.
c-types
.
short
Definition
USING:
alien
sequences.private
;
IN:
specialized-arrays.instances.alien.c-types.short
TUPLE:
short-array
{
underlying
c-ptr
read-only
initial:
f
}
{
length
array-capacity
read-only
initial:
0
}
;
final
Methods
USING:
prettyprint.custom
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
>pprint-sequence
;
USING:
accessors
kernel
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
clone
[
underlying>>
clone
]
[
length>>
]
bi
<direct-short-array>
;
inline
USING:
kernel
specialized-arrays.instances.alien.c-types.short
specialized-arrays.private
;
M:
short-array
direct-like
drop
<direct-short-array>
;
inline
USING:
alien
alien.c-types
kernel
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
element-size
drop
\
short
heap-size
;
inline
USING:
classes
kernel
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
equal?
over
short-array
instance?
[
sequence=
]
[
2drop
f
]
if
;
USING:
accessors
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
length
length>>
;
inline
USING:
accessors
alien
alien.c-types
alien.data
classes
kernel
sequences
specialized-arrays.instances.alien.c-types.short
specialized-vectors.instances.alien.c-types.short
;
M:
short-array
like
drop
dup
short-array
instance?
[
dup
short-vector
instance?
[
[
>c-ptr
]
[
length>>
]
bi
<direct-short-array>
]
[
\
short
>c-array
]
if
]
unless
;
inline
USING:
kernel
sequences
specialized-arrays.instances.alien.c-types.short
specialized-vectors.instances.alien.c-types.short
;
M:
short-array
new-resizable
drop
<short-vector>
;
inline
USING:
kernel
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
new-sequence
drop
(short-array)
;
inline
USING:
accessors
alien
alien.c-types
kernel
specialized-arrays.instances.alien.c-types.short
specialized-arrays.private
;
M:
short-array
nth-c-ptr
underlying>>
\
short
array-accessor
drop
swap
<displaced-alien>
;
inline
USING:
accessors
alien.c-types
kernel
math
sequences.private
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
nth-unsafe
[
integer>fixnum
]
dip
underlying>>
\
short
alien-element
;
inline
USING:
kernel
prettyprint.custom
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
pprint-delims
drop
\
short-array{
\
}
;
USING:
accessors
alien.c-types
byte-arrays
kernel
math
sequences.private
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
resize
[
[
\
short
heap-size
*
]
[
underlying>>
]
bi*
resize-byte-array
]
[
drop
]
2bi
<direct-short-array>
;
inline
USING:
accessors
alien.c-types
kernel
math
sequences.private
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
set-nth-unsafe
[
integer>fixnum
]
dip
underlying>>
\
short
set-alien-element
;
inline
USING:
alien.c-types
kernel
specialized-arrays
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
underlying-type
drop
\
short
;
USING:
alien.c-types
math
math.vectors
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
v*high
[
*
\
short
heap-size
neg
shift
]
2map
;
inline
USING:
alien.c-types
math
math.vectors
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
vs*
[
*
\
short
c-type-clamp
]
2map
;
inline
USING:
alien.c-types
math
math.vectors
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
vs+
[
+
\
short
c-type-clamp
]
2map
;
inline
USING:
alien.c-types
math
math.vectors
sequences
specialized-arrays.instances.alien.c-types.short
;
M:
short-array
vs-
[
-
\
short
c-type-clamp
]
2map
;
inline