%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/ring.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@49 Return t if X is a ring; nil otherwise. (fn X) (defalias 'ring-p #[257 "\211:\205 \211@\250\205 \211A:\205 \211A@\250\205 \300AA!\207" [vectorp] 3 (#$ . 408)]) #@56 Make a ring that can contain SIZE elements. (fn SIZE) (defalias 'make-ring #[257 "\300\211\301\302\"BB\207" [0 make-vector nil] 6 (#$ . 580)]) #@78 Add to RING the item ITEM, at the front, as the oldest item. (fn RING ITEM) (defalias 'ring-insert-at-beginning #[514 "AA\211G@A@T^\262\300\"\262I\210\240\210A\240\207" [ring-minus1] 9 (#$ . 731)]) #@53 Return INDEX+1, with wraparound. (fn INDEX VECLEN) (defalias 'ring-plus1 #[514 "T\211U\203\f \300\202 \211\207" [0] 5 (#$ . 953)]) #@53 Return INDEX-1, with wraparound. (fn INDEX VECLEN) (defalias 'ring-minus1 #[514 "\300U\203\n \211\202 S\207" [0] 4 (#$ . 1094)]) #@55 Return the number of elements in the RING. (fn RING) (defalias 'ring-length #[257 "\211A@\207" [] 2 (#$ . 1233)]) #@314 Convert nominal ring index INDEX to an internal index. The internal index refers to the items ordered from newest to oldest. HEAD is the index of the oldest element in the ring. RINGLEN is the number of elements currently in the ring. VECLEN is the size of the vector in the ring. (fn INDEX HEAD RINGLEN VECLEN) (defalias 'ring-index #[1028 "\300\"\262\300Z\\S\"\207" [mod] 8 (#$ . 1355)]) #@54 Return t if RING is empty; nil otherwise. (fn RING) (defalias 'ring-empty-p #[257 "\211A@\300U\207" [0] 3 (#$ . 1760)]) #@84 Return the size of RING, the maximum number of elements it can contain. (fn RING) (defalias 'ring-size #[257 "\211AAG\207" [] 2 (#$ . 1887)]) #@35 Return a copy of RING. (fn RING) (defalias 'ring-copy #[257 "\211AA@A@\300!BB\207" [copy-sequence] 8 (#$ . 2036)]) #@137 Insert onto ring RING the item ITEM, as the newest (last) item. If the ring is full, dump the oldest item to make room. (fn RING ITEM) (defalias 'ring-insert #[514 "AA\211G@A@\300\\\"IU\203&