ahcm / ffindex Goto Github PK
View Code? Open in Web Editor NEWsimple index/database for huge amounts of small files
License: Creative Commons Attribution Share Alike 4.0 International
simple index/database for huge amounts of small files
License: Creative Commons Attribution Share Alike 4.0 International
Hi,
there is some confusion about ffindex releases as you can see here in another project called ffindex which is attached to HH suite. To make things more obvious for users it would be helpful if you tag the code available here with a release number.
Kind regards, Andreas.
Make will not generate any errors. But when I use make test, this return me some errors
$ sudo make test
rm -f /tmp/test.data /tmp/test.ffindex
LD_LIBRARY_PATH=".:" ./ffindex_build -s /tmp/test.data /tmp/test.ffindex ../test/data ../test/data2
LD_LIBRARY_PATH=".:" ./ffindex_get /tmp/test.data /tmp/test.ffindex a b foo | tee /tmp/test.out
a
bb
fooo
fooo
LD_LIBRARY_PATH=".:" ./ffindex_modify -u /tmp/test.ffindex b
LD_LIBRARY_PATH=".:" ./ffindex_get /tmp/test.data /tmp/test.ffindex a b foo | tee /tmp/test-unlink.out
ffindex_get.c:148 ffindex_get key not found in index: b: No such file or directory
a
fooo
fooo
LD_LIBRARY_PATH=".:" ./ffindex_build -a -s /tmp/test.data /tmp/test.ffindex ../test/testfile
======== compare results =========
diff /tmp/test.out test.should
diff /tmp/test-unlink.out test-unlink.should
======== error handling ==========
LD_LIBRARY_PATH=".:" ./ffindex_get /tmp/test.data /tmp/test.ffindex nonexistquery b foo || echo
ffindex_get.c:148 ffindex_get key not found in index: nonexistquery: No such file or directory
ffindex_get.c:148 ffindex_get key not found in index: b: No such file or directory
fooo
fooo
LD_LIBRARY_PATH=".:" ./ffindex_get /nonexist/data /tmp/test.ffindex a foo || echo
/nonexist/data: No such file or directory
ffindex_get.c:76 ffindex_index_db_open failed: ./ffindex_get: No such file or directory
LD_LIBRARY_PATH=".:" ./ffindex_get /tmp/test.data /nonexist/index a foo || echo
/nonexist/index: No such file or directory
ffindex_get.c:76 ffindex_index_db_open failed: ./ffindex_get: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.