lispdoc - results for vector |
(vector &rest objects) | Function: Construct a SIMPLE-VECTOR from the given objects.
|
Example:(defun resolve-hostname (name) (cond ((eql name :any) #(0 0 0 0)) ((typep name '(vector * 4)) name) (t (car (sb-bsd-sockets:host-ent-addresses (sb-bsd-sockets:get-host-by-name name)))))) | Mentioned in: CLtL2 - 17.1. Array Creation CLtL2 - 18. Strings CLtL2 - 19.5. Defstruct Options CLtL2 - 19.7.2. Named Structures CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 2.5.1. Vectors CLtL2 - 2.5.2. Strings CLtL2 - 26.6. Iteration Control CLtL2 - 28.1.4. Integrating Types and Classes CLtL2 - 4.2. Type Specifier Lists CLtL2 - 4.5. Type Specifiers That Specialize CLtL2 - 4.8. Type Conversion Function CLtL2 - 6.2.1. General Type Predicates CLtL2 - A.2.1. Scanners CLtL2 - A.2.5. Collectors CLtL2 - A.3.4. Declarations HyperSpec - Function VECTOR HyperSpec - System Class VECTOR PCL - vectors PCL - whole sequence manipulations Successful Lisp - chapter12 Successful Lisp - characters |
(vectorp object) | Function: Return true if OBJECT is a VECTOR, and NIL otherwise.
|
| Mentioned in: CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function VECTORP | |
vectors | |
| Mentioned in: HyperSpec - 15.1.1.3.1 Vectors HyperSpec - 18.1.2.2.2 Visible Modification of Bit Vectors and Strings with respect to EQUAL HyperSpec - 22.1.3.6 Printing Bit Vectors HyperSpec - 22.1.3.7 Printing Other Vectors | |
(vector-pop array) | Function: Decrease the fill pointer by 1 and return the element pointed to by the new fill pointer.
|
Example:(defun undo-bindings! (old-trail) "Undo all bindings back to a given point in the trail." (loop until (= (fill-pointer *trail*) old-trail) do (setf (var-binding (vector-pop *trail*)) unbound))) | Mentioned in: CLtL2 - 17.5. Fill Pointers HyperSpec - Function VECTOR-POP PCL - destructive operations PCL - hash table iteration PCL - vectors |
bit-vector | Undocumented
|
| Mentioned in: CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 4.5. Type Specifiers That Specialize HyperSpec - System Class BIT-VECTOR | |
(vector-push new-el array) | Function: Attempt to set the element of ARRAY designated by its fill pointer to NEW-EL, and increment the fill pointer by one. If the fill pointer is too large, NIL is returned, otherwise the index of the pushed element is returned.
|
Example:(defun leave (n) (let ((s (gethash n harbor))) (remhash n harbor) (vector-push s pool))) | Mentioned in: CLtL2 - 17.5. Fill Pointers CLtL2 - 21.2. Creating New Streams HyperSpec - Function VECTOR-PUSH, VECTOR-PUSH-EXTEND PCL - destructive operations PCL - hash table iteration PCL - vectors |
simple-vector | Undocumented
|
| Mentioned in: CLtL2 - 17.2. Array Access CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types CLtL2 - 4.9. Determining the Type of an Object HyperSpec - Type SIMPLE-VECTOR | |
(bit-vector-p object) | Function: Return true if OBJECT is a BIT-VECTOR, and NIL otherwise.
|
Example:(defun self-evaluating? (x) (or (null x) (numberp x) (characterp x) (stringp x) (bit-vector-p x) (keywordp x))) | Mentioned in: CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function BIT-VECTOR-P |
(simple-vector-p object) | Function: Return true if OBJECT is a SIMPLE-VECTOR, and NIL otherwise.
|
| Mentioned in: CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function SIMPLE-VECTOR-P | |
simple-bit-vector | Undocumented
|
| Mentioned in: CLtL2 - 2.15. Overlap, Inclusion, and Disjointness of Types HyperSpec - Type SIMPLE-BIT-VECTOR | |
(vector-push-extend new-element vector &optional
(min-extension
(let ((length (length vector)))
(min (1+ length) (- array-dimension-limit length))))) | Undocumented
|
Example:(defun push-op (op ops-buffer) (vector-push-extend op ops-buffer)) | Mentioned in: CLtL2 - 17.5. Fill Pointers CLtL2 - 21.2. Creating New Streams HyperSpec - Function VECTOR-PUSH, VECTOR-PUSH-EXTEND PCL - hash table iteration PCL - vectors |
(ql-allegro:read-vector &rest args) | Undocumented
|
(simple-bit-vector-p object) | Function: Return true if OBJECT is a SIMPLE-BIT-VECTOR, and NIL otherwise.
|
| Mentioned in: CLtL2 - 6.2.2. Specific Data Type Predicates HyperSpec - Function SIMPLE-BIT-VECTOR-P | |
flexi-streams:vector-stream | Type: A VECTOR-STREAM is a mixin for IN-MEMORY streams where the underlying sequence is a vector.
|
(babel:vector-size-in-chars vector &key (start 0) end (max -1 maxp) (errorp (not *suppress-character-coding-errors*)) (encoding *default-character-encoding*)) | Undocumented
|
(usocket:hbo-to-vector-quad integer) | Function: Host-byte-order integer to dotted-quad string conversion utility.
|
(babel-encodings:with-simple-vector ((v vector) (s start) (e end)) &body body) | Function: If VECTOR is a displaced or adjustable array, binds V to the underlying simple vector, adds an adequate offset to START and END and binds those offset values to S and E. Otherwise, if VECTOR is already a simple array, it's simply bound to V with no further changes. START and END are unchecked and assumed to be within bounds. Note that in some Lisps, a slow copying implementation is necessary to obtain a simple vector thus V will be bound to a copy of VECTOR coerced to a simple-vector. Therefore, you shouldn't attempt to modify V.
|
(usocket:dotted-quad-to-vector-quad string) | Undocumented
|
(usocket:vector-quad-to-dotted-quad vector) | Undocumented
|
(cffi-sys:make-shareable-byte-vector size) | Function: Create a Lisp vector of SIZE bytes can passed to WITH-POINTER-TO-VECTOR-DATA.
|
(cffi-sys:with-pointer-to-vector-data (ptr-var vector) &body body) | Function: Bind PTR-VAR to a foreign pointer to the data in VECTOR.
|
(babel-encodings:with-checked-simple-vector ((v vector) (s start) (e end)) &body body) | Function: Like WITH-SIMPLE-VECTOR but bound-checks START and END.
|
(alexandria.0.dev:read-file-into-byte-vector pathname) | Function: Read PATHNAME into a freshly allocated (unsigned-byte 8) vector.
|
(alexandria.0.dev:write-byte-vector-into-file bytes pathname &key (if-exists error) if-does-not-exist) | Function: Write BYTES to PATHNAME.
|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |