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