Handbook
Glossary
stop>> ( object -- value )
Vocabulary
accessors
Inputs
object
an
object
Outputs
value
an
object
Definition
IN:
accessors
GENERIC:
stop>>
( object -- value )
Methods
USING:
accessors
classes.struct
classes.struct.private
tools.time.struct
vm
;
M:
benchmark-data-pair
stop>>
T{
struct-slot-spec
{
name
"stop"
}
{
offset 200
}
{
class
benchmark-data
}
{
initial
S{
benchmark-data
{
time 0
}
{
data-room
S{
data-heap-room
{
nursery ~copying-sizes~
}
{
aging ~copying-sizes~
}
{
tenured ~mark-sweep-sizes~
}
{
cards 0
}
{
decks 0
}
{
mark-stack 0
}
}
}
{
code-room
S{
mark-sweep-sizes
{
size 0
}
{
occupied 0
}
{
total-free 0
}
{
contiguous-free 0
}
{
free-block-count 0
}
}
}
{
callback-room
S{
mark-sweep-sizes
{
size 0
}
{
occupied 0
}
{
total-free 0
}
{
contiguous-free 0
}
{
free-block-count 0
}
}
}
}
}
{
type
benchmark-data
}
}
read-struct-slot
;
inline
USING:
accessors
openai
slots.private
;
M:
chat-completion
stop>>
8
slot
;
inline
USING:
accessors
openai
slots.private
;
M:
completion
stop>>
12
slot
;
inline
USING:
accessors
io.streams.limited
slots.private
;
M:
limited-stream
stop>>
7
slot
;
inline