| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/share/emacs/28.2/lisp/emacs-lisp/ |
Upload File : |
;ELC ;;; Compiled ;;; in Emacs version 28.2 ;;; with all optimizations. #@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 (#$ . 84)]) #@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 (#$ . 255)]) #@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 (#$ . 406)]) #@53 Return INDEX+1, with wraparound. (fn INDEX VECLEN) (defalias 'ring-plus1 #[514 "T\211U\203\n \300\207\207" [0] 5 (#$ . 628)]) #@53 Return INDEX-1, with wraparound. (fn INDEX VECLEN) (defalias 'ring-minus1 #[514 "\300U\203\n \211\202 S\207" [0] 4 (#$ . 763)]) #@55 Return the number of elements in the RING. (fn RING) (defalias 'ring-length #[257 "\211A@\207" [] 2 (#$ . 901)]) #@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 (#$ . 1022)]) #@54 Return t if RING is empty; nil otherwise. (fn RING) (defalias 'ring-empty-p #[257 "\211A@\300U\207" [0] 3 (#$ . 1427)]) #@84 Return the size of RING, the maximum number of elements it can contain. (fn RING) (defalias 'ring-size #[257 "\211AAG\207" [] 2 (#$ . 1554)]) #@35 Return a copy of RING. (fn RING) (defalias 'ring-copy #[257 "\211AA@A@\300!BB\207" [copy-sequence] 8 (#$ . 1703)]) #@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$ \301\"\240\210\207AT\240\210\207" [mod ring-plus1] 11 (#$ . 1831)]) #@180 Remove an item from the RING. Return the removed item. If optional INDEX is nil, remove the oldest item. If it's numeric, remove the element indexed. (fn RING &optional INDEX) (defalias 'ring-remove #[513 "\300!\203\n \301\302!\207@A@AA\211G\303\\S\"\304\204% S\262\305$\262H\262U\204U \306\n\"HI\210\306\"\262\2027 \304I\210AS\240\210\207" [ring-empty-p error "Ring empty" mod nil ring-index ring-plus1] 14 (#$ . 2117)]) #@223 Return RING's INDEX element. INDEX = 0 is the most recently inserted; higher indices correspond to older elements. INDEX need not be <= the ring length; the appropriate modulo operation will be performed. (fn RING INDEX) (defalias 'ring-ref #[514 "\300!\203\n \301\302!\207@A@AA\211\303G$H\207" [ring-empty-p error "Accessing an empty ring" ring-index] 11 (#$ . 2592)]) #@75 Return a list of the elements of RING, in order, newest first. (fn RING) (defalias 'ring-elements #[257 "\211@\300!AA\301A@\302\211W\203( \303\\\"HB\262\211T\262\202 \266\207" [ring-size nil 0 mod] 11 (#$ . 2977)]) #@115 Return index of ITEM if on RING, else nil. Comparison is done via `equal'. The index is 0-based. (fn RING ITEM) (defalias 'ring-member #[514 "\3002&