This is the cl-libpuzzle Reference Manual, version 0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Tue Jul 15 04:03:43 2025 GMT+0.
The main system appears first, followed by any subsystem dependency.
cl-libpuzzlelibpuzzle(http://www.pureftpd.org/project/libpuzzle) binding for Common Lisp
Masato Sogame
LLGPL
# Cl-Libpuzzle
libpuzzle binding for Common Lisp
## Usage
cl-libpuzzle provides libpuzzle FFI interface.
### Extra
Provide macro interface for easy use.
(with-context-cvecs ctx (cv1 cv2)
(puzzle-fill-cvec-from-file ctx cv1 "/path/to/your/file1")
(puzzle-fill-cvec-from-file ctx cv2 "/path/to/your/file2")
(puzzle-vector-normalized-distance ctx cv1 cv2 1))
=>
(CFFI:WITH-FOREIGN-OBJECTS ((CTX ’CL-LIBPUZZLE::PUZZLE-CONTEXT)
(CV1 ’CL-LIBPUZZLE::PUZZLE-CVEC)
(CV2 ’CL-LIBPUZZLE::PUZZLE-CVEC))
(UNWIND-PROTECT
(PROGN
(PUZZLE-INIT-CONTEXT CTX)
(PUZZLE-INIT-CVEC CTX CV1)
(PUZZLE-INIT-CVEC CTX CV2)
(PUZZLE-FILL-CVEC-FROM-FILE CTX CV1
"/path/to/your/file1")
(PUZZLE-FILL-CVEC-FROM-FILE CTX CV2
"/path/to/your/file2")
(PUZZLE-VECTOR-NORMALIZED-DISTANCE CTX CV1 CV2 1))
(PUZZLE-FREE-CVEC CTX CV1)
(PUZZLE-FREE-CVEC CTX CV2)
(PUZZLE-FREE-CONTEXT CTX)))
## Author
* Masato Sogame (poketo7878@gmail.com)
## Copyright
Copyright (c) 2013 Masato Sogame (poketo7878@gmail.com)
0.1
cffi (system).
src (module).
Modules are listed depth-first from the system components tree.
cl-libpuzzle/srccl-libpuzzle (system).
cl-libpuzzle.lisp (file).
Files are sorted by type and then listed depth-first from the systems components trees.
cl-libpuzzle/cl-libpuzzle.asdcl-libpuzzle (system).
cl-libpuzzle/src/cl-libpuzzle.lispsrc (module).
*similarity-high-threshold* (special variable).
*similarity-low-threshold* (special variable).
*similarity-lower-threshold* (special variable).
*similarity-threshold* (special variable).
puzzle-compress-cvec (function).
puzzle-cvec-cksum (function).
puzzle-dump-cvec (function).
puzzle-dump-dvec (function).
puzzle-fill-cvec-from-dvec (function).
puzzle-fill-cvec-from-file (function).
puzzle-fill-dvec-from-file (function).
puzzle-free-compressed-cvec (function).
puzzle-free-context (function).
puzzle-free-cvec (function).
puzzle-free-dvec (function).
puzzle-init-compressed-cvec (function).
puzzle-init-context (function).
puzzle-init-cvec (function).
puzzle-init-dvec (function).
puzzle-set-autocrop (function).
puzzle-set-contrast-barrier-for-cropping (function).
puzzle-set-lambdas (function).
puzzle-set-max-cropping-ratio (function).
puzzle-set-max-height (function).
puzzle-set-max-width (function).
puzzle-set-noise-cutoff (function).
puzzle-set-p-ratio (function).
puzzle-uncompress-cvec (function).
puzzle-vector-euclidean-length (function).
puzzle-vector-normalized-distance (function).
puzzle-vector-sub (function).
translate-from-foreign (method).
with-context-cvecs (macro).
puzzle-code-error (condition).
puzzle-code-type (class).
puzzle-compressed-cvec-tclass (class).
puzzle-context-tclass (class).
puzzle-cvec-tclass (class).
puzzle-dvec-tclass (class).
puzzle-error-code (reader method).
Packages are listed by definition order.
cl-libpuzzlecffi.
common-lisp.
*similarity-high-threshold* (special variable).
*similarity-low-threshold* (special variable).
*similarity-lower-threshold* (special variable).
*similarity-threshold* (special variable).
puzzle-compress-cvec (function).
puzzle-cvec-cksum (function).
puzzle-dump-cvec (function).
puzzle-dump-dvec (function).
puzzle-fill-cvec-from-dvec (function).
puzzle-fill-cvec-from-file (function).
puzzle-fill-dvec-from-file (function).
puzzle-free-compressed-cvec (function).
puzzle-free-context (function).
puzzle-free-cvec (function).
puzzle-free-dvec (function).
puzzle-init-compressed-cvec (function).
puzzle-init-context (function).
puzzle-init-cvec (function).
puzzle-init-dvec (function).
puzzle-set-autocrop (function).
puzzle-set-contrast-barrier-for-cropping (function).
puzzle-set-lambdas (function).
puzzle-set-max-cropping-ratio (function).
puzzle-set-max-height (function).
puzzle-set-max-width (function).
puzzle-set-noise-cutoff (function).
puzzle-set-p-ratio (function).
puzzle-uncompress-cvec (function).
puzzle-vector-euclidean-length (function).
puzzle-vector-normalized-distance (function).
puzzle-vector-sub (function).
with-context-cvecs (macro).
puzzle-code-error (condition).
puzzle-code-type (class).
puzzle-compressed-cvec-tclass (class).
puzzle-context-tclass (class).
puzzle-cvec-tclass (class).
puzzle-dvec-tclass (class).
puzzle-error-code (generic reader).
Definitions are sorted by export status, category, package, and then by lexicographic order.
puzzle-code-type)) ¶cffi.
puzzle-code-error)) ¶condition.
:puzzle-code
This slot is read-only.
enhanced-foreign-type.
| Initarg | Value |
|---|---|
:actual-type | (quote (int)) |
foreign-struct-type.
translatable-foreign-type.
foreign-struct-type.
translatable-foreign-type.
foreign-struct-type.
translatable-foreign-type.
foreign-struct-type.
translatable-foreign-type.
| Jump to: | F G M P T W |
|---|
| Jump to: | F G M P T W |
|---|
| Jump to: | $
*
S |
|---|
| Jump to: | $
*
S |
|---|
| Jump to: | C F M P S |
|---|
| Jump to: | C F M P S |
|---|