├── .gitignore ├── .gitmodules ├── LICENSE ├── Makefile ├── README.md ├── check_config.sh ├── cpp_queue ├── .gitignore ├── CMakeLists.txt ├── Makefile ├── README.md ├── main.cpp ├── persistent_queue.cpp ├── persistent_queue.hpp ├── volatile_queue.cpp └── volatile_queue.hpp ├── employees ├── Employee.java ├── EmployeeList.java ├── Makefile ├── README.md └── config.properties ├── find_all ├── Makefile ├── create_test_tree.sh ├── find-all-pm.cpp └── find-all.cpp ├── hello_world ├── Makefile ├── libpmem │ ├── Makefile │ ├── README.md │ └── hello_libpmem.c ├── libpmemblk │ ├── Makefile │ ├── README.md │ └── hello_libpmemblk.c ├── libpmemobj++ │ ├── Makefile │ ├── README.md │ ├── hello_libpmemobj++.cpp │ └── hello_libpmemobj++.hpp ├── libpmemobj │ ├── Makefile │ ├── README.md │ └── hello_libpmemobj.c ├── llpl │ ├── Hello_llpl.java │ ├── Makefile │ └── README.md └── pcj │ ├── Hello_pcj.java │ ├── Makefile │ ├── README.md │ └── config.properties ├── mapreduce ├── LICENSE ├── Makefile ├── README.md ├── helpers.cpp ├── helpers.hpp ├── list_entry.cpp ├── list_entry.hpp ├── main.cpp ├── persistent_string.cpp ├── persistent_string.hpp ├── pm_mapreduce.cpp ├── pm_mapreduce.hpp ├── task_list.cpp └── task_list.hpp ├── p_pool ├── Makefile ├── README.md ├── pPool.cpp └── pPool.hpp ├── pmem_leak ├── Makefile ├── README.md ├── checker.cpp ├── common.hpp ├── fixer.cpp ├── leaker.cpp └── normal.cpp └── simple_grep ├── Makefile ├── README.md ├── grep ├── Makefile └── grep.cpp ├── pmemgrep ├── Makefile └── pmemgrep.cpp └── pmemgrep_thx ├── Makefile └── pmemgrep.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/README.md -------------------------------------------------------------------------------- /check_config.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/check_config.sh -------------------------------------------------------------------------------- /cpp_queue/.gitignore: -------------------------------------------------------------------------------- 1 | cpp_queue 2 | -------------------------------------------------------------------------------- /cpp_queue/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/CMakeLists.txt -------------------------------------------------------------------------------- /cpp_queue/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/Makefile -------------------------------------------------------------------------------- /cpp_queue/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/README.md -------------------------------------------------------------------------------- /cpp_queue/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/main.cpp -------------------------------------------------------------------------------- /cpp_queue/persistent_queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/persistent_queue.cpp -------------------------------------------------------------------------------- /cpp_queue/persistent_queue.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/persistent_queue.hpp -------------------------------------------------------------------------------- /cpp_queue/volatile_queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/volatile_queue.cpp -------------------------------------------------------------------------------- /cpp_queue/volatile_queue.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/cpp_queue/volatile_queue.hpp -------------------------------------------------------------------------------- /employees/Employee.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/employees/Employee.java -------------------------------------------------------------------------------- /employees/EmployeeList.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/employees/EmployeeList.java -------------------------------------------------------------------------------- /employees/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/employees/Makefile -------------------------------------------------------------------------------- /employees/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/employees/README.md -------------------------------------------------------------------------------- /employees/config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/employees/config.properties -------------------------------------------------------------------------------- /find_all/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/find_all/Makefile -------------------------------------------------------------------------------- /find_all/create_test_tree.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/find_all/create_test_tree.sh -------------------------------------------------------------------------------- /find_all/find-all-pm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/find_all/find-all-pm.cpp -------------------------------------------------------------------------------- /find_all/find-all.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/find_all/find-all.cpp -------------------------------------------------------------------------------- /hello_world/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/Makefile -------------------------------------------------------------------------------- /hello_world/libpmem/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmem/Makefile -------------------------------------------------------------------------------- /hello_world/libpmem/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmem/README.md -------------------------------------------------------------------------------- /hello_world/libpmem/hello_libpmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmem/hello_libpmem.c -------------------------------------------------------------------------------- /hello_world/libpmemblk/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemblk/Makefile -------------------------------------------------------------------------------- /hello_world/libpmemblk/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemblk/README.md -------------------------------------------------------------------------------- /hello_world/libpmemblk/hello_libpmemblk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemblk/hello_libpmemblk.c -------------------------------------------------------------------------------- /hello_world/libpmemobj++/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj++/Makefile -------------------------------------------------------------------------------- /hello_world/libpmemobj++/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj++/README.md -------------------------------------------------------------------------------- /hello_world/libpmemobj++/hello_libpmemobj++.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj++/hello_libpmemobj++.cpp -------------------------------------------------------------------------------- /hello_world/libpmemobj++/hello_libpmemobj++.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj++/hello_libpmemobj++.hpp -------------------------------------------------------------------------------- /hello_world/libpmemobj/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj/Makefile -------------------------------------------------------------------------------- /hello_world/libpmemobj/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj/README.md -------------------------------------------------------------------------------- /hello_world/libpmemobj/hello_libpmemobj.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/libpmemobj/hello_libpmemobj.c -------------------------------------------------------------------------------- /hello_world/llpl/Hello_llpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/llpl/Hello_llpl.java -------------------------------------------------------------------------------- /hello_world/llpl/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/llpl/Makefile -------------------------------------------------------------------------------- /hello_world/llpl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/llpl/README.md -------------------------------------------------------------------------------- /hello_world/pcj/Hello_pcj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/pcj/Hello_pcj.java -------------------------------------------------------------------------------- /hello_world/pcj/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/pcj/Makefile -------------------------------------------------------------------------------- /hello_world/pcj/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/pcj/README.md -------------------------------------------------------------------------------- /hello_world/pcj/config.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/hello_world/pcj/config.properties -------------------------------------------------------------------------------- /mapreduce/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/LICENSE -------------------------------------------------------------------------------- /mapreduce/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/Makefile -------------------------------------------------------------------------------- /mapreduce/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/README.md -------------------------------------------------------------------------------- /mapreduce/helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/helpers.cpp -------------------------------------------------------------------------------- /mapreduce/helpers.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/helpers.hpp -------------------------------------------------------------------------------- /mapreduce/list_entry.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/list_entry.cpp -------------------------------------------------------------------------------- /mapreduce/list_entry.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/list_entry.hpp -------------------------------------------------------------------------------- /mapreduce/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/main.cpp -------------------------------------------------------------------------------- /mapreduce/persistent_string.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/persistent_string.cpp -------------------------------------------------------------------------------- /mapreduce/persistent_string.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/persistent_string.hpp -------------------------------------------------------------------------------- /mapreduce/pm_mapreduce.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/pm_mapreduce.cpp -------------------------------------------------------------------------------- /mapreduce/pm_mapreduce.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/pm_mapreduce.hpp -------------------------------------------------------------------------------- /mapreduce/task_list.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/task_list.cpp -------------------------------------------------------------------------------- /mapreduce/task_list.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/mapreduce/task_list.hpp -------------------------------------------------------------------------------- /p_pool/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/p_pool/Makefile -------------------------------------------------------------------------------- /p_pool/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/p_pool/README.md -------------------------------------------------------------------------------- /p_pool/pPool.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/p_pool/pPool.cpp -------------------------------------------------------------------------------- /p_pool/pPool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/p_pool/pPool.hpp -------------------------------------------------------------------------------- /pmem_leak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/Makefile -------------------------------------------------------------------------------- /pmem_leak/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/README.md -------------------------------------------------------------------------------- /pmem_leak/checker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/checker.cpp -------------------------------------------------------------------------------- /pmem_leak/common.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/common.hpp -------------------------------------------------------------------------------- /pmem_leak/fixer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/fixer.cpp -------------------------------------------------------------------------------- /pmem_leak/leaker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/leaker.cpp -------------------------------------------------------------------------------- /pmem_leak/normal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/pmem_leak/normal.cpp -------------------------------------------------------------------------------- /simple_grep/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/Makefile -------------------------------------------------------------------------------- /simple_grep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/README.md -------------------------------------------------------------------------------- /simple_grep/grep/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/grep/Makefile -------------------------------------------------------------------------------- /simple_grep/grep/grep.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/grep/grep.cpp -------------------------------------------------------------------------------- /simple_grep/pmemgrep/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/pmemgrep/Makefile -------------------------------------------------------------------------------- /simple_grep/pmemgrep/pmemgrep.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/pmemgrep/pmemgrep.cpp -------------------------------------------------------------------------------- /simple_grep/pmemgrep_thx/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/pmemgrep_thx/Makefile -------------------------------------------------------------------------------- /simple_grep/pmemgrep_thx/pmemgrep.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pmem/pmdk-examples/HEAD/simple_grep/pmemgrep_thx/pmemgrep.cpp --------------------------------------------------------------------------------