├── .github └── workflows │ └── semgrep.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── ac.cxx ├── ac.h ├── ac_fast.cxx ├── ac_fast.hpp ├── ac_lua.cxx ├── ac_slow.cxx ├── ac_slow.hpp ├── ac_util.hpp ├── load_ac.lua ├── mytest.cxx └── tests ├── Makefile ├── ac_bench.cxx ├── ac_test_aggr.cxx ├── ac_test_simple.cxx ├── dict ├── README.txt └── dict1.txt ├── load_ac_test.lua ├── lua_test.lua ├── test_base.hpp ├── test_bigfile.cxx └── test_main.cxx /.github/workflows/semgrep.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/.github/workflows/semgrep.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/README.md -------------------------------------------------------------------------------- /ac.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac.cxx -------------------------------------------------------------------------------- /ac.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac.h -------------------------------------------------------------------------------- /ac_fast.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_fast.cxx -------------------------------------------------------------------------------- /ac_fast.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_fast.hpp -------------------------------------------------------------------------------- /ac_lua.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_lua.cxx -------------------------------------------------------------------------------- /ac_slow.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_slow.cxx -------------------------------------------------------------------------------- /ac_slow.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_slow.hpp -------------------------------------------------------------------------------- /ac_util.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/ac_util.hpp -------------------------------------------------------------------------------- /load_ac.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/load_ac.lua -------------------------------------------------------------------------------- /mytest.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/mytest.cxx -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/ac_bench.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/ac_bench.cxx -------------------------------------------------------------------------------- /tests/ac_test_aggr.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/ac_test_aggr.cxx -------------------------------------------------------------------------------- /tests/ac_test_simple.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/ac_test_simple.cxx -------------------------------------------------------------------------------- /tests/dict/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains pattern set of benchmark purpose. 2 | -------------------------------------------------------------------------------- /tests/dict/dict1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/dict/dict1.txt -------------------------------------------------------------------------------- /tests/load_ac_test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/load_ac_test.lua -------------------------------------------------------------------------------- /tests/lua_test.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/lua_test.lua -------------------------------------------------------------------------------- /tests/test_base.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/test_base.hpp -------------------------------------------------------------------------------- /tests/test_bigfile.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/test_bigfile.cxx -------------------------------------------------------------------------------- /tests/test_main.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudflare/lua-aho-corasick/HEAD/tests/test_main.cxx --------------------------------------------------------------------------------