mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2024-11-23 00:33:44 +00:00
A pastebin service written in c++, featuring speed and a minimalist look
https://alarmpi.no-ip.org/kamokan/
King_DuckZ
e649e9a196
The corresponding byte in escape_bytes to every to-be-escaped characters in the source buffer gets set to the index of the character in Needle +1. expand() is similar to slow_copy(), except that it doesn't need to re-compare each character in the source buffer to check if it needs to be replaced. Each non-zero byte (that's why indices are 1-based) in parWhich is the index of the sequence that should be used to replace the original character (needles[curr_byte-1]). |
||
---|---|---|
cmake/modules | ||
config | ||
docs | ||
html | ||
lib | ||
oldcode | ||
src | ||
test | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
COPYING | ||
index.html.mstch |