- Timestamp:
- 01/06/07 04:42:00 (18 years ago)
- Location:
- branches/home/psmith/restructure
- Files:
-
- 6 added
- 3 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/home/psmith/restructure/patches/cffi_0.9.2-mem_rw.diff ¶
r25 r27 19 19 > (loop for i below count 20 20 > for off from offset by (%foreign-type-size type) 21 > do ( setf (%mem-ref ptr type off) (aref vector i))21 > do (%mem-set (aref vector i) ptr type off) 22 22 > finally (return i))) 23 23 > -
TabularUnified branches/home/psmith/restructure/run-yarpc.lisp ¶
r25 r27 1 1 (push :nio-debug *features*) 2 2 (require :asdf) 3 (require :nio- http)4 (nio:start-server 'identity 'identity 'nio- http:http-state-machine :host "127.0.0.1")3 (require :nio-yarpc) 4 (nio:start-server 'identity 'identity 'nio-yarpc:yarpc-state-machine :host "127.0.0.1") -
TabularUnified branches/home/psmith/restructure/src/buffer/buffer.lisp ¶
r14 r27 130 130 ;;TODO 131 131 ;;mem-write-vector (vector ptr type &optional (count (length vector)) (offset 0)) 132 (defmethod bytebuffer-write-string((byte-buffer byte-buffer) str &optional (index 0) )132 (defmethod bytebuffer-write-string((byte-buffer byte-buffer) str &optional (index 0) (external-format :ascii)) 133 133 :documentation "Returns number of bytes written to bytebuffer" 134 (bytebuffer-write-vector byte-buffer (sb-ext:string-to-octets str :external-format :ascii)))134 (bytebuffer-write-vector byte-buffer (sb-ext:string-to-octets str :external-format external-format))) 135 135 136 136 ;;TODO rename -
TabularUnified branches/home/psmith/restructure/src/buffer/nio-buffer-package.lisp ¶
r19 r27 28 28 29 29 (:export 30 byte-buffer free-buffer remaining inc-position get-string buffer-buf bytebuffer-write-vector flip map-to-foreign30 byte-buffer free-buffer remaining inc-position get-string buffer-buf bytebuffer-write-vector bytebuffer-write-string flip map-to-foreign 31 31 ))
Note: See TracChangeset
for help on using the changeset viewer.