├── .clang-format ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── enhancement.md │ ├── feature_request.md │ └── question.md ├── pull_request_template.md └── workflows │ ├── build.yml │ ├── gh-pages.yml │ └── test.yml ├── .gitignore ├── .gitmodules ├── .gitpod.yml ├── CMakeFiles ├── 3.22.1 │ ├── CMakeCCompiler.cmake │ ├── CMakeCXXCompiler.cmake │ ├── CMakeDetermineCompilerABI_C.bin │ ├── CMakeDetermineCompilerABI_CXX.bin │ ├── CMakeSystem.cmake │ ├── CompilerIdC │ │ ├── CMakeCCompilerId.c │ │ └── a.out │ └── CompilerIdCXX │ │ ├── CMakeCXXCompilerId.cpp │ │ └── a.out ├── CMakeDirectoryInformation.cmake ├── CMakeOutput.log ├── Makefile.cmake ├── Makefile2 ├── TargetDirectories.txt ├── cmake.check_cache └── progress.marks ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CTestTestfile.cmake ├── Doxyfile ├── License ├── Makefile ├── NOTICE ├── README.md ├── benchmark ├── CMakeFiles │ ├── CMakeDirectoryInformation.cmake │ ├── bplus_tree_concurrency_test.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ ├── progress.marks │ ├── record_manager_concurrency_test.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ └── server_concurrency_test.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make ├── CMakeLists.txt ├── Makefile ├── bplus_tree_concurrency_test.cpp ├── cmake_install.cmake ├── integer_generator.h ├── record_manager_concurrency_test.cpp └── server_concurrency_test.cpp ├── build.sh ├── cmake └── readline.cmake ├── cmake_install.cmake ├── deps ├── 3rd │ ├── benchmark │ │ ├── .clang-format │ │ ├── .clang-tidy │ │ ├── .github │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ ├── bug_report.md │ │ │ │ └── feature_request.md │ │ │ ├── install_bazel.sh │ │ │ ├── libcxx-setup.sh │ │ │ └── workflows │ │ │ │ ├── bazel.yml │ │ │ │ ├── build-and-test-min-cmake.yml │ │ │ │ ├── build-and-test-perfcounters.yml │ │ │ │ ├── build-and-test.yml │ │ │ │ ├── clang-format-lint.yml │ │ │ │ ├── clang-tidy.yml │ │ │ │ ├── doxygen.yml │ │ │ │ ├── pylint.yml │ │ │ │ ├── sanitizer.yml │ │ │ │ ├── test_bindings.yml │ │ │ │ └── wheels.yml │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── .ycm_extra_conf.py │ │ ├── AUTHORS │ │ ├── BUILD.bazel │ │ ├── CMakeLists.txt │ │ ├── CONTRIBUTING.md │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── WORKSPACE │ │ ├── _config.yml │ │ ├── appveyor.yml │ │ ├── bazel │ │ │ └── benchmark_deps.bzl │ │ ├── bindings │ │ │ └── python │ │ │ │ ├── BUILD │ │ │ │ ├── google_benchmark │ │ │ │ ├── BUILD │ │ │ │ ├── __init__.py │ │ │ │ ├── benchmark.cc │ │ │ │ └── example.py │ │ │ │ ├── nanobind.BUILD │ │ │ │ ├── python_headers.BUILD │ │ │ │ └── requirements.txt │ │ ├── cmake │ │ │ ├── AddCXXCompilerFlag.cmake │ │ │ ├── CXXFeatureCheck.cmake │ │ │ ├── Config.cmake.in │ │ │ ├── GetGitVersion.cmake │ │ │ ├── GoogleTest.cmake │ │ │ ├── GoogleTest.cmake.in │ │ │ ├── benchmark.pc.in │ │ │ ├── gnu_posix_regex.cpp │ │ │ ├── llvm-toolchain.cmake │ │ │ ├── posix_regex.cpp │ │ │ ├── pthread_affinity.cpp │ │ │ ├── split_list.cmake │ │ │ ├── std_regex.cpp │ │ │ ├── steady_clock.cpp │ │ │ └── thread_safety_attributes.cpp │ │ ├── docs │ │ │ ├── AssemblyTests.md │ │ │ ├── _config.yml │ │ │ ├── dependencies.md │ │ │ ├── index.md │ │ │ ├── perf_counters.md │ │ │ ├── platform_specific_build_instructions.md │ │ │ ├── python_bindings.md │ │ │ ├── random_interleaving.md │ │ │ ├── reducing_variance.md │ │ │ ├── releasing.md │ │ │ ├── tools.md │ │ │ └── user_guide.md │ │ ├── include │ │ │ └── benchmark │ │ │ │ ├── benchmark.h │ │ │ │ └── export.h │ │ ├── requirements.txt │ │ ├── setup.py │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── arraysize.h │ │ │ ├── benchmark.cc │ │ │ ├── benchmark_api_internal.cc │ │ │ ├── benchmark_api_internal.h │ │ │ ├── benchmark_main.cc │ │ │ ├── benchmark_name.cc │ │ │ ├── benchmark_register.cc │ │ │ ├── benchmark_register.h │ │ │ ├── benchmark_runner.cc │ │ │ ├── benchmark_runner.h │ │ │ ├── check.cc │ │ │ ├── check.h │ │ │ ├── colorprint.cc │ │ │ ├── colorprint.h │ │ │ ├── commandlineflags.cc │ │ │ ├── commandlineflags.h │ │ │ ├── complexity.cc │ │ │ ├── complexity.h │ │ │ ├── console_reporter.cc │ │ │ ├── counter.cc │ │ │ ├── counter.h │ │ │ ├── csv_reporter.cc │ │ │ ├── cycleclock.h │ │ │ ├── internal_macros.h │ │ │ ├── json_reporter.cc │ │ │ ├── log.h │ │ │ ├── mutex.h │ │ │ ├── perf_counters.cc │ │ │ ├── perf_counters.h │ │ │ ├── re.h │ │ │ ├── reporter.cc │ │ │ ├── statistics.cc │ │ │ ├── statistics.h │ │ │ ├── string_util.cc │ │ │ ├── string_util.h │ │ │ ├── sysinfo.cc │ │ │ ├── thread_manager.h │ │ │ ├── thread_timer.h │ │ │ ├── timers.cc │ │ │ └── timers.h │ │ ├── test │ │ │ ├── AssemblyTests.cmake │ │ │ ├── BUILD │ │ │ ├── CMakeLists.txt │ │ │ ├── args_product_test.cc │ │ │ ├── basic_test.cc │ │ │ ├── benchmark_gtest.cc │ │ │ ├── benchmark_min_time_flag_iters_test.cc │ │ │ ├── benchmark_min_time_flag_time_test.cc │ │ │ ├── benchmark_name_gtest.cc │ │ │ ├── benchmark_random_interleaving_gtest.cc │ │ │ ├── benchmark_setup_teardown_test.cc │ │ │ ├── benchmark_test.cc │ │ │ ├── clobber_memory_assembly_test.cc │ │ │ ├── commandlineflags_gtest.cc │ │ │ ├── complexity_test.cc │ │ │ ├── cxx03_test.cc │ │ │ ├── diagnostics_test.cc │ │ │ ├── display_aggregates_only_test.cc │ │ │ ├── donotoptimize_assembly_test.cc │ │ │ ├── donotoptimize_test.cc │ │ │ ├── filter_test.cc │ │ │ ├── fixture_test.cc │ │ │ ├── internal_threading_test.cc │ │ │ ├── link_main_test.cc │ │ │ ├── map_test.cc │ │ │ ├── memory_manager_test.cc │ │ │ ├── min_time_parse_gtest.cc │ │ │ ├── multiple_ranges_test.cc │ │ │ ├── options_test.cc │ │ │ ├── output_test.h │ │ │ ├── output_test_helper.cc │ │ │ ├── perf_counters_gtest.cc │ │ │ ├── perf_counters_test.cc │ │ │ ├── register_benchmark_test.cc │ │ │ ├── repetitions_test.cc │ │ │ ├── report_aggregates_only_test.cc │ │ │ ├── reporter_output_test.cc │ │ │ ├── skip_with_error_test.cc │ │ │ ├── spec_arg_test.cc │ │ │ ├── spec_arg_verbosity_test.cc │ │ │ ├── state_assembly_test.cc │ │ │ ├── statistics_gtest.cc │ │ │ ├── string_util_gtest.cc │ │ │ ├── templated_fixture_test.cc │ │ │ ├── time_unit_gtest.cc │ │ │ ├── user_counters_tabular_test.cc │ │ │ ├── user_counters_test.cc │ │ │ └── user_counters_thousands_test.cc │ │ └── tools │ │ │ ├── BUILD.bazel │ │ │ ├── compare.py │ │ │ ├── gbench │ │ │ ├── Inputs │ │ │ │ ├── test1_run1.json │ │ │ │ ├── test1_run2.json │ │ │ │ ├── test2_run.json │ │ │ │ ├── test3_run0.json │ │ │ │ ├── test3_run1.json │ │ │ │ ├── test4_run.json │ │ │ │ ├── test4_run0.json │ │ │ │ └── test4_run1.json │ │ │ ├── __init__.py │ │ │ ├── report.py │ │ │ └── util.py │ │ │ ├── libpfm.BUILD.bazel │ │ │ ├── requirements.txt │ │ │ └── strip_asm.py │ ├── googletest │ │ ├── .clang-format │ │ ├── .github │ │ │ ├── ISSUE_TEMPLATE │ │ │ │ ├── 00-bug_report.yml │ │ │ │ ├── 10-feature_request.yml │ │ │ │ └── config.yml │ │ │ └── workflows │ │ │ │ └── gtest-ci.yml │ │ ├── .gitignore │ │ ├── BUILD.bazel │ │ ├── CMakeLists.txt │ │ ├── CONTRIBUTING.md │ │ ├── CONTRIBUTORS │ │ ├── LICENSE │ │ ├── README.md │ │ ├── WORKSPACE │ │ ├── ci │ │ │ ├── linux-presubmit.sh │ │ │ ├── macos-presubmit.sh │ │ │ └── windows-presubmit.bat │ │ ├── docs │ │ │ ├── _config.yml │ │ │ ├── _data │ │ │ │ └── navigation.yml │ │ │ ├── _layouts │ │ │ │ └── default.html │ │ │ ├── _sass │ │ │ │ └── main.scss │ │ │ ├── advanced.md │ │ │ ├── assets │ │ │ │ └── css │ │ │ │ │ └── style.scss │ │ │ ├── community_created_documentation.md │ │ │ ├── faq.md │ │ │ ├── gmock_cheat_sheet.md │ │ │ ├── gmock_cook_book.md │ │ │ ├── gmock_faq.md │ │ │ ├── gmock_for_dummies.md │ │ │ ├── index.md │ │ │ ├── pkgconfig.md │ │ │ ├── platforms.md │ │ │ ├── primer.md │ │ │ ├── quickstart-bazel.md │ │ │ ├── quickstart-cmake.md │ │ │ ├── reference │ │ │ │ ├── actions.md │ │ │ │ ├── assertions.md │ │ │ │ ├── matchers.md │ │ │ │ ├── mocking.md │ │ │ │ └── testing.md │ │ │ └── samples.md │ │ ├── googlemock │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── cmake │ │ │ │ ├── gmock.pc.in │ │ │ │ └── gmock_main.pc.in │ │ │ ├── docs │ │ │ │ └── README.md │ │ │ ├── include │ │ │ │ └── gmock │ │ │ │ │ ├── gmock-actions.h │ │ │ │ │ ├── gmock-cardinalities.h │ │ │ │ │ ├── gmock-function-mocker.h │ │ │ │ │ ├── gmock-matchers.h │ │ │ │ │ ├── gmock-more-actions.h │ │ │ │ │ ├── gmock-more-matchers.h │ │ │ │ │ ├── gmock-nice-strict.h │ │ │ │ │ ├── gmock-spec-builders.h │ │ │ │ │ ├── gmock.h │ │ │ │ │ └── internal │ │ │ │ │ ├── custom │ │ │ │ │ ├── README.md │ │ │ │ │ ├── gmock-generated-actions.h │ │ │ │ │ ├── gmock-matchers.h │ │ │ │ │ └── gmock-port.h │ │ │ │ │ ├── gmock-internal-utils.h │ │ │ │ │ ├── gmock-port.h │ │ │ │ │ └── gmock-pp.h │ │ │ ├── src │ │ │ │ ├── gmock-all.cc │ │ │ │ ├── gmock-cardinalities.cc │ │ │ │ ├── gmock-internal-utils.cc │ │ │ │ ├── gmock-matchers.cc │ │ │ │ ├── gmock-spec-builders.cc │ │ │ │ ├── gmock.cc │ │ │ │ └── gmock_main.cc │ │ │ └── test │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── gmock-actions_test.cc │ │ │ │ ├── gmock-cardinalities_test.cc │ │ │ │ ├── gmock-function-mocker_test.cc │ │ │ │ ├── gmock-internal-utils_test.cc │ │ │ │ ├── gmock-matchers-arithmetic_test.cc │ │ │ │ ├── gmock-matchers-comparisons_test.cc │ │ │ │ ├── gmock-matchers-containers_test.cc │ │ │ │ ├── gmock-matchers-misc_test.cc │ │ │ │ ├── gmock-matchers_test.h │ │ │ │ ├── gmock-more-actions_test.cc │ │ │ │ ├── gmock-nice-strict_test.cc │ │ │ │ ├── gmock-port_test.cc │ │ │ │ ├── gmock-pp-string_test.cc │ │ │ │ ├── gmock-pp_test.cc │ │ │ │ ├── gmock-spec-builders_test.cc │ │ │ │ ├── gmock_all_test.cc │ │ │ │ ├── gmock_ex_test.cc │ │ │ │ ├── gmock_leak_test.py │ │ │ │ ├── gmock_leak_test_.cc │ │ │ │ ├── gmock_link2_test.cc │ │ │ │ ├── gmock_link_test.cc │ │ │ │ ├── gmock_link_test.h │ │ │ │ ├── gmock_output_test.py │ │ │ │ ├── gmock_output_test_.cc │ │ │ │ ├── gmock_output_test_golden.txt │ │ │ │ ├── gmock_stress_test.cc │ │ │ │ ├── gmock_test.cc │ │ │ │ └── gmock_test_utils.py │ │ ├── googletest │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── cmake │ │ │ │ ├── Config.cmake.in │ │ │ │ ├── gtest.pc.in │ │ │ │ ├── gtest_main.pc.in │ │ │ │ ├── internal_utils.cmake │ │ │ │ └── libgtest.la.in │ │ │ ├── docs │ │ │ │ └── README.md │ │ │ ├── include │ │ │ │ └── gtest │ │ │ │ │ ├── gtest-assertion-result.h │ │ │ │ │ ├── gtest-death-test.h │ │ │ │ │ ├── gtest-matchers.h │ │ │ │ │ ├── gtest-message.h │ │ │ │ │ ├── gtest-param-test.h │ │ │ │ │ ├── gtest-printers.h │ │ │ │ │ ├── gtest-spi.h │ │ │ │ │ ├── gtest-test-part.h │ │ │ │ │ ├── gtest-typed-test.h │ │ │ │ │ ├── gtest.h │ │ │ │ │ ├── gtest_pred_impl.h │ │ │ │ │ ├── gtest_prod.h │ │ │ │ │ └── internal │ │ │ │ │ ├── custom │ │ │ │ │ ├── README.md │ │ │ │ │ ├── gtest-port.h │ │ │ │ │ ├── gtest-printers.h │ │ │ │ │ └── gtest.h │ │ │ │ │ ├── gtest-death-test-internal.h │ │ │ │ │ ├── gtest-filepath.h │ │ │ │ │ ├── gtest-internal.h │ │ │ │ │ ├── gtest-param-util.h │ │ │ │ │ ├── gtest-port-arch.h │ │ │ │ │ ├── gtest-port.h │ │ │ │ │ ├── gtest-string.h │ │ │ │ │ └── gtest-type-util.h │ │ │ ├── samples │ │ │ │ ├── prime_tables.h │ │ │ │ ├── sample1.cc │ │ │ │ ├── sample1.h │ │ │ │ ├── sample10_unittest.cc │ │ │ │ ├── sample1_unittest.cc │ │ │ │ ├── sample2.cc │ │ │ │ ├── sample2.h │ │ │ │ ├── sample2_unittest.cc │ │ │ │ ├── sample3-inl.h │ │ │ │ ├── sample3_unittest.cc │ │ │ │ ├── sample4.cc │ │ │ │ ├── sample4.h │ │ │ │ ├── sample4_unittest.cc │ │ │ │ ├── sample5_unittest.cc │ │ │ │ ├── sample6_unittest.cc │ │ │ │ ├── sample7_unittest.cc │ │ │ │ ├── sample8_unittest.cc │ │ │ │ └── sample9_unittest.cc │ │ │ ├── src │ │ │ │ ├── gtest-all.cc │ │ │ │ ├── gtest-assertion-result.cc │ │ │ │ ├── gtest-death-test.cc │ │ │ │ ├── gtest-filepath.cc │ │ │ │ ├── gtest-internal-inl.h │ │ │ │ ├── gtest-matchers.cc │ │ │ │ ├── gtest-port.cc │ │ │ │ ├── gtest-printers.cc │ │ │ │ ├── gtest-test-part.cc │ │ │ │ ├── gtest-typed-test.cc │ │ │ │ ├── gtest.cc │ │ │ │ └── gtest_main.cc │ │ │ └── test │ │ │ │ ├── BUILD.bazel │ │ │ │ ├── googletest-break-on-failure-unittest.py │ │ │ │ ├── googletest-break-on-failure-unittest_.cc │ │ │ │ ├── googletest-catch-exceptions-test.py │ │ │ │ ├── googletest-catch-exceptions-test_.cc │ │ │ │ ├── googletest-color-test.py │ │ │ │ ├── googletest-color-test_.cc │ │ │ │ ├── googletest-death-test-test.cc │ │ │ │ ├── googletest-death-test_ex_test.cc │ │ │ │ ├── googletest-env-var-test.py │ │ │ │ ├── googletest-env-var-test_.cc │ │ │ │ ├── googletest-failfast-unittest.py │ │ │ │ ├── googletest-failfast-unittest_.cc │ │ │ │ ├── googletest-filepath-test.cc │ │ │ │ ├── googletest-filter-unittest.py │ │ │ │ ├── googletest-filter-unittest_.cc │ │ │ │ ├── googletest-global-environment-unittest.py │ │ │ │ ├── googletest-global-environment-unittest_.cc │ │ │ │ ├── googletest-json-outfiles-test.py │ │ │ │ ├── googletest-json-output-unittest.py │ │ │ │ ├── googletest-list-tests-unittest.py │ │ │ │ ├── googletest-list-tests-unittest_.cc │ │ │ │ ├── googletest-listener-test.cc │ │ │ │ ├── googletest-message-test.cc │ │ │ │ ├── googletest-options-test.cc │ │ │ │ ├── googletest-output-test-golden-lin.txt │ │ │ │ ├── googletest-output-test.py │ │ │ │ ├── googletest-output-test_.cc │ │ │ │ ├── googletest-param-test-invalid-name1-test.py │ │ │ │ ├── googletest-param-test-invalid-name1-test_.cc │ │ │ │ ├── googletest-param-test-invalid-name2-test.py │ │ │ │ ├── googletest-param-test-invalid-name2-test_.cc │ │ │ │ ├── googletest-param-test-test.cc │ │ │ │ ├── googletest-param-test-test.h │ │ │ │ ├── googletest-param-test2-test.cc │ │ │ │ ├── googletest-port-test.cc │ │ │ │ ├── googletest-printers-test.cc │ │ │ │ ├── googletest-setuptestsuite-test.py │ │ │ │ ├── googletest-setuptestsuite-test_.cc │ │ │ │ ├── googletest-shuffle-test.py │ │ │ │ ├── googletest-shuffle-test_.cc │ │ │ │ ├── googletest-test-part-test.cc │ │ │ │ ├── googletest-throw-on-failure-test.py │ │ │ │ ├── googletest-throw-on-failure-test_.cc │ │ │ │ ├── googletest-uninitialized-test.py │ │ │ │ ├── googletest-uninitialized-test_.cc │ │ │ │ ├── gtest-typed-test2_test.cc │ │ │ │ ├── gtest-typed-test_test.cc │ │ │ │ ├── gtest-typed-test_test.h │ │ │ │ ├── gtest-unittest-api_test.cc │ │ │ │ ├── gtest_all_test.cc │ │ │ │ ├── gtest_assert_by_exception_test.cc │ │ │ │ ├── gtest_dirs_test.cc │ │ │ │ ├── gtest_environment_test.cc │ │ │ │ ├── gtest_help_test.py │ │ │ │ ├── gtest_help_test_.cc │ │ │ │ ├── gtest_json_test_utils.py │ │ │ │ ├── gtest_list_output_unittest.py │ │ │ │ ├── gtest_list_output_unittest_.cc │ │ │ │ ├── gtest_main_unittest.cc │ │ │ │ ├── gtest_no_test_unittest.cc │ │ │ │ ├── gtest_pred_impl_unittest.cc │ │ │ │ ├── gtest_premature_exit_test.cc │ │ │ │ ├── gtest_prod_test.cc │ │ │ │ ├── gtest_repeat_test.cc │ │ │ │ ├── gtest_skip_check_output_test.py │ │ │ │ ├── gtest_skip_environment_check_output_test.py │ │ │ │ ├── gtest_skip_in_environment_setup_test.cc │ │ │ │ ├── gtest_skip_test.cc │ │ │ │ ├── gtest_sole_header_test.cc │ │ │ │ ├── gtest_stress_test.cc │ │ │ │ ├── gtest_test_macro_stack_footprint_test.cc │ │ │ │ ├── gtest_test_utils.py │ │ │ │ ├── gtest_testbridge_test.py │ │ │ │ ├── gtest_testbridge_test_.cc │ │ │ │ ├── gtest_throw_on_failure_ex_test.cc │ │ │ │ ├── gtest_unittest.cc │ │ │ │ ├── gtest_xml_outfile1_test_.cc │ │ │ │ ├── gtest_xml_outfile2_test_.cc │ │ │ │ ├── gtest_xml_outfiles_test.py │ │ │ │ ├── gtest_xml_output_unittest.py │ │ │ │ ├── gtest_xml_output_unittest_.cc │ │ │ │ ├── gtest_xml_test_utils.py │ │ │ │ ├── production.cc │ │ │ │ └── production.h │ │ └── googletest_deps.bzl │ ├── jsoncpp │ │ ├── .clang-format │ │ ├── .clang-tidy │ │ ├── .gitattributes │ │ ├── .github │ │ │ └── ISSUE_TEMPLATE │ │ │ │ ├── bug_report.md │ │ │ │ └── feature_request.md │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── .travis_scripts │ │ │ ├── cmake_builder.sh │ │ │ ├── meson_builder.sh │ │ │ ├── run-clang-format.py │ │ │ ├── run-clang-format.sh │ │ │ ├── travis.before_install.linux.sh │ │ │ ├── travis.before_install.osx.sh │ │ │ ├── travis.install.linux.sh │ │ │ └── travis.install.osx.sh │ │ ├── AUTHORS │ │ ├── BUILD.bazel │ │ ├── CMakeLists.txt │ │ ├── CONTRIBUTING.md │ │ ├── CTestConfig.cmake │ │ ├── LICENSE │ │ ├── README.md │ │ ├── amalgamate.py │ │ ├── appveyor.yml │ │ ├── cmake │ │ │ └── JoinPaths.cmake │ │ ├── dev.makefile │ │ ├── devtools │ │ │ ├── __init__.py │ │ │ ├── agent_vmw7.json │ │ │ ├── agent_vmxp.json │ │ │ ├── antglob.py │ │ │ ├── batchbuild.py │ │ │ ├── fixeol.py │ │ │ ├── licenseupdater.py │ │ │ └── tarball.py │ │ ├── doc │ │ │ ├── doxyfile.in │ │ │ ├── footer.html │ │ │ ├── header.html │ │ │ ├── jsoncpp.dox │ │ │ ├── readme.txt │ │ │ ├── roadmap.dox │ │ │ └── web_doxyfile.in │ │ ├── doxybuild.py │ │ ├── example │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── readFromStream │ │ │ │ ├── errorFormat.json │ │ │ │ ├── readFromStream.cpp │ │ │ │ └── withComment.json │ │ │ ├── readFromString │ │ │ │ └── readFromString.cpp │ │ │ ├── streamWrite │ │ │ │ └── streamWrite.cpp │ │ │ └── stringWrite │ │ │ │ └── stringWrite.cpp │ │ ├── get_version.pl │ │ ├── include │ │ │ ├── CMakeLists.txt │ │ │ ├── PreventInBuildInstalls.cmake │ │ │ ├── PreventInSourceBuilds.cmake │ │ │ └── json │ │ │ │ ├── allocator.h │ │ │ │ ├── assertions.h │ │ │ │ ├── config.h │ │ │ │ ├── forwards.h │ │ │ │ ├── json.h │ │ │ │ ├── json_features.h │ │ │ │ ├── reader.h │ │ │ │ ├── value.h │ │ │ │ ├── version.h │ │ │ │ └── writer.h │ │ ├── jsoncpp-namespaced-targets.cmake │ │ ├── jsoncppConfig.cmake.in │ │ ├── meson.build │ │ ├── meson_options.txt │ │ ├── pkg-config │ │ │ └── jsoncpp.pc.in │ │ ├── reformat.sh │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── jsontestrunner │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── main.cpp │ │ │ ├── lib_json │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── json_reader.cpp │ │ │ │ ├── json_tool.h │ │ │ │ ├── json_value.cpp │ │ │ │ ├── json_valueiterator.inl │ │ │ │ └── json_writer.cpp │ │ │ └── test_lib_json │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── fuzz.cpp │ │ │ │ ├── fuzz.dict │ │ │ │ ├── fuzz.h │ │ │ │ ├── jsontest.cpp │ │ │ │ ├── jsontest.h │ │ │ │ └── main.cpp │ │ ├── test │ │ │ ├── cleantests.py │ │ │ ├── data │ │ │ │ ├── fail_invalid_quote.json │ │ │ │ ├── fail_test_array_01.json │ │ │ │ ├── fail_test_array_02.json │ │ │ │ ├── fail_test_object_01.json │ │ │ │ ├── fail_test_stack_limit.json │ │ │ │ ├── legacy_test_array_01.expected │ │ │ │ ├── legacy_test_array_01.json │ │ │ │ ├── legacy_test_array_02.expected │ │ │ │ ├── legacy_test_array_02.json │ │ │ │ ├── legacy_test_array_03.expected │ │ │ │ ├── legacy_test_array_03.json │ │ │ │ ├── legacy_test_array_04.expected │ │ │ │ ├── legacy_test_array_04.json │ │ │ │ ├── legacy_test_array_05.expected │ │ │ │ ├── legacy_test_array_05.json │ │ │ │ ├── legacy_test_array_06.expected │ │ │ │ ├── legacy_test_array_06.json │ │ │ │ ├── legacy_test_array_07.expected │ │ │ │ ├── legacy_test_array_07.json │ │ │ │ ├── legacy_test_basic_01.expected │ │ │ │ ├── legacy_test_basic_01.json │ │ │ │ ├── legacy_test_basic_02.expected │ │ │ │ ├── legacy_test_basic_02.json │ │ │ │ ├── legacy_test_basic_03.expected │ │ │ │ ├── legacy_test_basic_03.json │ │ │ │ ├── legacy_test_basic_04.expected │ │ │ │ ├── legacy_test_basic_04.json │ │ │ │ ├── legacy_test_basic_05.expected │ │ │ │ ├── legacy_test_basic_05.json │ │ │ │ ├── legacy_test_basic_06.expected │ │ │ │ ├── legacy_test_basic_06.json │ │ │ │ ├── legacy_test_basic_07.expected │ │ │ │ ├── legacy_test_basic_07.json │ │ │ │ ├── legacy_test_basic_08.expected │ │ │ │ ├── legacy_test_basic_08.json │ │ │ │ ├── legacy_test_basic_09.expected │ │ │ │ ├── legacy_test_basic_09.json │ │ │ │ ├── legacy_test_comment_00.expected │ │ │ │ ├── legacy_test_comment_00.json │ │ │ │ ├── legacy_test_comment_01.expected │ │ │ │ ├── legacy_test_comment_01.json │ │ │ │ ├── legacy_test_comment_02.expected │ │ │ │ ├── legacy_test_comment_02.json │ │ │ │ ├── legacy_test_complex_01.expected │ │ │ │ ├── legacy_test_complex_01.json │ │ │ │ ├── legacy_test_integer_01.expected │ │ │ │ ├── legacy_test_integer_01.json │ │ │ │ ├── legacy_test_integer_02.expected │ │ │ │ ├── legacy_test_integer_02.json │ │ │ │ ├── legacy_test_integer_03.expected │ │ │ │ ├── legacy_test_integer_03.json │ │ │ │ ├── legacy_test_integer_04.expected │ │ │ │ ├── legacy_test_integer_04.json │ │ │ │ ├── legacy_test_integer_05.expected │ │ │ │ ├── legacy_test_integer_05.json │ │ │ │ ├── legacy_test_integer_06_64bits.expected │ │ │ │ ├── legacy_test_integer_06_64bits.json │ │ │ │ ├── legacy_test_integer_07_64bits.expected │ │ │ │ ├── legacy_test_integer_07_64bits.json │ │ │ │ ├── legacy_test_integer_08_64bits.expected │ │ │ │ ├── legacy_test_integer_08_64bits.json │ │ │ │ ├── legacy_test_large_01.expected │ │ │ │ ├── legacy_test_large_01.json │ │ │ │ ├── legacy_test_object_01.expected │ │ │ │ ├── legacy_test_object_01.json │ │ │ │ ├── legacy_test_object_02.expected │ │ │ │ ├── legacy_test_object_02.json │ │ │ │ ├── legacy_test_object_03.expected │ │ │ │ ├── legacy_test_object_03.json │ │ │ │ ├── legacy_test_object_04.expected │ │ │ │ ├── legacy_test_object_04.json │ │ │ │ ├── legacy_test_preserve_comment_01.expected │ │ │ │ ├── legacy_test_preserve_comment_01.json │ │ │ │ ├── legacy_test_real_01.expected │ │ │ │ ├── legacy_test_real_01.json │ │ │ │ ├── legacy_test_real_02.expected │ │ │ │ ├── legacy_test_real_02.json │ │ │ │ ├── legacy_test_real_03.expected │ │ │ │ ├── legacy_test_real_03.json │ │ │ │ ├── legacy_test_real_04.expected │ │ │ │ ├── legacy_test_real_04.json │ │ │ │ ├── legacy_test_real_05.expected │ │ │ │ ├── legacy_test_real_05.json │ │ │ │ ├── legacy_test_real_06.expected │ │ │ │ ├── legacy_test_real_06.json │ │ │ │ ├── legacy_test_real_07.expected │ │ │ │ ├── legacy_test_real_07.json │ │ │ │ ├── legacy_test_real_08.expected │ │ │ │ ├── legacy_test_real_08.json │ │ │ │ ├── legacy_test_real_09.expected │ │ │ │ ├── legacy_test_real_09.json │ │ │ │ ├── legacy_test_real_10.expected │ │ │ │ ├── legacy_test_real_10.json │ │ │ │ ├── legacy_test_real_11.expected │ │ │ │ ├── legacy_test_real_11.json │ │ │ │ ├── legacy_test_real_12.expected │ │ │ │ ├── legacy_test_real_12.json │ │ │ │ ├── legacy_test_real_13.expected │ │ │ │ ├── legacy_test_real_13.json │ │ │ │ ├── legacy_test_string_01.expected │ │ │ │ ├── legacy_test_string_01.json │ │ │ │ ├── legacy_test_string_02.expected │ │ │ │ ├── legacy_test_string_02.json │ │ │ │ ├── legacy_test_string_03.expected │ │ │ │ ├── legacy_test_string_03.json │ │ │ │ ├── legacy_test_string_04.expected │ │ │ │ ├── legacy_test_string_04.json │ │ │ │ ├── legacy_test_string_05.expected │ │ │ │ ├── legacy_test_string_05.json │ │ │ │ ├── legacy_test_string_unicode_01.expected │ │ │ │ ├── legacy_test_string_unicode_01.json │ │ │ │ ├── legacy_test_string_unicode_02.expected │ │ │ │ ├── legacy_test_string_unicode_02.json │ │ │ │ ├── legacy_test_string_unicode_03.expected │ │ │ │ ├── legacy_test_string_unicode_03.json │ │ │ │ ├── legacy_test_string_unicode_04.expected │ │ │ │ ├── legacy_test_string_unicode_04.json │ │ │ │ ├── legacy_test_string_unicode_05.expected │ │ │ │ ├── legacy_test_string_unicode_05.json │ │ │ │ ├── test_array_08.expected │ │ │ │ ├── test_array_08.json │ │ │ │ ├── test_object_05.expected │ │ │ │ └── test_object_05.json │ │ │ ├── generate_expected.py │ │ │ ├── jsonchecker │ │ │ │ ├── fail1.json │ │ │ │ ├── fail10.json │ │ │ │ ├── fail11.json │ │ │ │ ├── fail12.json │ │ │ │ ├── fail13.json │ │ │ │ ├── fail14.json │ │ │ │ ├── fail15.json │ │ │ │ ├── fail16.json │ │ │ │ ├── fail17.json │ │ │ │ ├── fail18.json │ │ │ │ ├── fail19.json │ │ │ │ ├── fail2.json │ │ │ │ ├── fail20.json │ │ │ │ ├── fail21.json │ │ │ │ ├── fail22.json │ │ │ │ ├── fail23.json │ │ │ │ ├── fail24.json │ │ │ │ ├── fail25.json │ │ │ │ ├── fail26.json │ │ │ │ ├── fail27.json │ │ │ │ ├── fail28.json │ │ │ │ ├── fail29.json │ │ │ │ ├── fail3.json │ │ │ │ ├── fail30.json │ │ │ │ ├── fail31.json │ │ │ │ ├── fail32.json │ │ │ │ ├── fail33.json │ │ │ │ ├── fail4.json │ │ │ │ ├── fail5.json │ │ │ │ ├── fail6.json │ │ │ │ ├── fail7.json │ │ │ │ ├── fail8.json │ │ │ │ ├── fail9.json │ │ │ │ ├── pass1.json │ │ │ │ ├── pass2.json │ │ │ │ ├── pass3.json │ │ │ │ └── readme.txt │ │ │ ├── pyjsontestrunner.py │ │ │ ├── runjsontests.py │ │ │ └── rununittests.py │ │ └── version.in │ └── libevent │ │ ├── .clang-format │ │ ├── .github │ │ └── workflows │ │ │ ├── abi.yml │ │ │ ├── linux.yml │ │ │ ├── macos.yml │ │ │ ├── mingw.yml │ │ │ └── windows.yml │ │ ├── .gitignore │ │ ├── .mailmap │ │ ├── .uncrustify │ │ ├── CMakeLists.txt │ │ ├── CONTRIBUTING.md │ │ ├── ChangeLog │ │ ├── ChangeLog-1.4 │ │ ├── ChangeLog-2.0 │ │ ├── Doxyfile │ │ ├── LICENSE │ │ ├── Makefile.am │ │ ├── Makefile.nmake │ │ ├── README.md │ │ ├── Vagrantfile │ │ ├── WIN32-Code │ │ ├── getopt.c │ │ ├── getopt.h │ │ ├── getopt_long.c │ │ ├── nmake │ │ │ ├── evconfig-private.h │ │ │ └── event2 │ │ │ │ └── event-config.h │ │ └── tree.h │ │ ├── arc4random.c │ │ ├── autogen.sh │ │ ├── buffer.c │ │ ├── buffer_iocp.c │ │ ├── bufferevent-internal.h │ │ ├── bufferevent.c │ │ ├── bufferevent_async.c │ │ ├── bufferevent_filter.c │ │ ├── bufferevent_openssl.c │ │ ├── bufferevent_pair.c │ │ ├── bufferevent_ratelim.c │ │ ├── bufferevent_sock.c │ │ ├── changelist-internal.h │ │ ├── checkpatch.sh │ │ ├── cmake │ │ ├── AddCompilerFlags.cmake │ │ ├── AddEventLibrary.cmake │ │ ├── COPYING-CMAKE-SCRIPTS │ │ ├── CheckConstExists.cmake │ │ ├── CheckFileOffsetBits.c │ │ ├── CheckFileOffsetBits.cmake │ │ ├── CheckFunctionKeywords.cmake │ │ ├── CheckPrototypeDefinition.c.in │ │ ├── CheckPrototypeDefinition.cmake │ │ ├── CheckWorkingKqueue.cmake │ │ ├── CodeCoverage.cmake │ │ ├── Copyright.txt │ │ ├── LibeventConfig.cmake.in │ │ ├── LibeventConfigVersion.cmake.in │ │ ├── Macros.cmake │ │ ├── Uninstall.cmake.in │ │ ├── UseDoxygen.cmake │ │ └── VersionViaGit.cmake │ │ ├── compat │ │ └── sys │ │ │ └── queue.h │ │ ├── configure.ac │ │ ├── defer-internal.h │ │ ├── devpoll.c │ │ ├── doxygen.am │ │ ├── epoll.c │ │ ├── epoll_sub.c │ │ ├── epolltable-internal.h │ │ ├── evbuffer-internal.h │ │ ├── evconfig-private.h.cmake │ │ ├── evconfig-private.h.in │ │ ├── evdns.3 │ │ ├── evdns.c │ │ ├── event-config.h.cmake │ │ ├── event-internal.h │ │ ├── event.3 │ │ ├── event.c │ │ ├── event_iocp.c │ │ ├── event_rpcgen.py │ │ ├── event_tagging.c │ │ ├── evmap-internal.h │ │ ├── evmap.c │ │ ├── evport.c │ │ ├── evrpc-internal.h │ │ ├── evrpc.c │ │ ├── evsignal-internal.h │ │ ├── evthread-internal.h │ │ ├── evthread.c │ │ ├── evthread_pthread.c │ │ ├── evthread_win32.c │ │ ├── evutil.c │ │ ├── evutil_rand.c │ │ ├── evutil_time.c │ │ ├── extra │ │ ├── abi-check │ │ │ ├── README.md │ │ │ ├── abi_check.sh │ │ │ └── libevent.json │ │ ├── lsan.supp │ │ └── tsan.supp │ │ ├── ht-internal.h │ │ ├── http-internal.h │ │ ├── http.c │ │ ├── include │ │ ├── evdns.h │ │ ├── event.h │ │ ├── event2 │ │ │ ├── buffer.h │ │ │ ├── buffer_compat.h │ │ │ ├── bufferevent.h │ │ │ ├── bufferevent_compat.h │ │ │ ├── bufferevent_ssl.h │ │ │ ├── bufferevent_struct.h │ │ │ ├── dns.h │ │ │ ├── dns_compat.h │ │ │ ├── dns_struct.h │ │ │ ├── event.h │ │ │ ├── event_compat.h │ │ │ ├── event_struct.h │ │ │ ├── http.h │ │ │ ├── http_compat.h │ │ │ ├── http_struct.h │ │ │ ├── keyvalq_struct.h │ │ │ ├── listener.h │ │ │ ├── rpc.h │ │ │ ├── rpc_compat.h │ │ │ ├── rpc_struct.h │ │ │ ├── tag.h │ │ │ ├── tag_compat.h │ │ │ ├── thread.h │ │ │ ├── util.h │ │ │ └── visibility.h │ │ ├── evhttp.h │ │ ├── evrpc.h │ │ ├── evutil.h │ │ └── include.am │ │ ├── iocp-internal.h │ │ ├── ipv6-internal.h │ │ ├── kqueue-internal.h │ │ ├── kqueue.c │ │ ├── libevent.pc.in │ │ ├── libevent_core.pc.in │ │ ├── libevent_extra.pc.in │ │ ├── libevent_openssl.pc.in │ │ ├── libevent_pthreads.pc.in │ │ ├── listener.c │ │ ├── log-internal.h │ │ ├── log.c │ │ ├── m4 │ │ ├── ac_backport_259_ssizet.m4 │ │ ├── acx_pthread.m4 │ │ ├── ax_check_funcs_ex.m4 │ │ ├── ax_prog_doxygen.m4 │ │ ├── libevent_openssl.m4 │ │ └── ntp_pkg_config.m4 │ │ ├── make-event-config.sed │ │ ├── make_epoll_table.py │ │ ├── minheap-internal.h │ │ ├── mm-internal.h │ │ ├── openssl-compat.h │ │ ├── poll.c │ │ ├── ratelim-internal.h │ │ ├── sample │ │ ├── dns-example.c │ │ ├── event-read-fifo.c │ │ ├── hello-world.c │ │ ├── hostcheck.c │ │ ├── hostcheck.h │ │ ├── http-connect.c │ │ ├── http-server.c │ │ ├── https-client.c │ │ ├── include.am │ │ ├── le-proxy.c │ │ ├── openssl_hostname_validation.c │ │ ├── openssl_hostname_validation.h │ │ ├── signal-test.c │ │ └── time-test.c │ │ ├── select.c │ │ ├── signal.c │ │ ├── strlcpy-internal.h │ │ ├── strlcpy.c │ │ ├── test-export │ │ ├── CMakeLists.txt │ │ ├── test-export.c │ │ └── test-export.py │ │ ├── test │ │ ├── Makefile.nmake │ │ ├── bench.c │ │ ├── bench_cascade.c │ │ ├── bench_http.c │ │ ├── bench_httpclient.c │ │ ├── check-dumpevents.py │ │ ├── include.am │ │ ├── print-winsock-errors.c │ │ ├── regress.c │ │ ├── regress.h │ │ ├── regress.rpc │ │ ├── regress_buffer.c │ │ ├── regress_bufferevent.c │ │ ├── regress_dns.c │ │ ├── regress_et.c │ │ ├── regress_finalize.c │ │ ├── regress_http.c │ │ ├── regress_iocp.c │ │ ├── regress_listener.c │ │ ├── regress_main.c │ │ ├── regress_minheap.c │ │ ├── regress_rpc.c │ │ ├── regress_ssl.c │ │ ├── regress_testutils.c │ │ ├── regress_testutils.h │ │ ├── regress_thread.c │ │ ├── regress_thread.h │ │ ├── regress_util.c │ │ ├── regress_zlib.c │ │ ├── rpcgen_wrapper.sh │ │ ├── test-changelist.c │ │ ├── test-closed.c │ │ ├── test-dumpevents.c │ │ ├── test-eof.c │ │ ├── test-fdleak.c │ │ ├── test-init.c │ │ ├── test-ratelim.c │ │ ├── test-ratelim.sh │ │ ├── test-time.c │ │ ├── test-weof.c │ │ ├── test.sh │ │ ├── tinytest.c │ │ ├── tinytest.h │ │ ├── tinytest_demo.c │ │ ├── tinytest_local.h │ │ └── tinytest_macros.h │ │ ├── time-internal.h │ │ ├── util-internal.h │ │ ├── whatsnew-2.0.txt │ │ ├── whatsnew-2.1.txt │ │ └── win32select.c ├── CMakeFiles │ ├── CMakeDirectoryInformation.cmake │ └── progress.marks ├── CMakeLists.txt ├── Makefile ├── cmake_install.cmake └── common │ ├── CMakeFiles │ ├── CMakeDirectoryInformation.cmake │ ├── common.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── cmake_clean_target.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ └── progress.marks │ ├── CMakeLists.txt │ ├── Makefile │ ├── cmake_install.cmake │ ├── conf │ ├── ini.cpp │ └── ini.h │ ├── defs.h │ ├── io │ ├── io.cpp │ ├── io.h │ ├── roll_select_dir.cpp │ ├── roll_select_dir.h │ └── select_dir.h │ ├── lang │ ├── bitmap.cpp │ ├── bitmap.h │ ├── comparator.cpp │ ├── comparator.h │ ├── defer.h │ ├── lower_bound.h │ ├── lru_cache.h │ ├── mutex.cpp │ ├── mutex.h │ ├── serializable.h │ ├── string.cpp │ └── string.h │ ├── log │ ├── log.cpp │ └── log.h │ ├── math │ ├── md5.cpp │ ├── md5.h │ ├── random_generator.cpp │ ├── random_generator.h │ ├── regex.cpp │ └── regex.h │ ├── metrics │ ├── console_reporter.cpp │ ├── console_reporter.h │ ├── histogram_snapshot.cpp │ ├── histogram_snapshot.h │ ├── log_reporter.cpp │ ├── log_reporter.h │ ├── metric.h │ ├── metrics.cpp │ ├── metrics.h │ ├── metrics_registry.cpp │ ├── metrics_registry.h │ ├── reporter.cpp │ ├── reporter.h │ ├── reservoir.cpp │ ├── reservoir.h │ ├── sampler.cpp │ ├── sampler.h │ ├── snapshot.h │ ├── timer_snapshot.cpp │ ├── timer_snapshot.h │ ├── uniform_reservoir.cpp │ └── uniform_reservoir.h │ ├── mm │ ├── debug_new.h │ ├── mem.h │ ├── mem_pool.cpp │ └── mem_pool.h │ ├── os │ ├── os.cpp │ ├── os.h │ ├── path.cpp │ ├── path.h │ ├── pidfile.cpp │ ├── pidfile.h │ ├── process.cpp │ ├── process.h │ ├── process_param.cpp │ ├── process_param.h │ ├── signal.cpp │ └── signal.h │ ├── seda │ ├── callback.cpp │ ├── callback.h │ ├── class_factory.h │ ├── event_dispatcher.cpp │ ├── event_dispatcher.h │ ├── example_stage.cpp │ ├── example_stage.h │ ├── init.cpp │ ├── init.h │ ├── kill_thread.cpp │ ├── kill_thread.h │ ├── metrics_report_event.cpp │ ├── metrics_report_event.h │ ├── metrics_stage.cpp │ ├── metrics_stage.h │ ├── seda_config.cpp │ ├── seda_config.h │ ├── seda_defs.h │ ├── stage.cpp │ ├── stage.h │ ├── stage_event.cpp │ ├── stage_event.h │ ├── stage_factory.h │ ├── thread_pool.cpp │ ├── thread_pool.h │ ├── timer_stage.cpp │ └── timer_stage.h │ └── time │ ├── datetime.cpp │ ├── datetime.h │ ├── timeout_info.cpp │ └── timeout_info.h ├── docker ├── Dockerfile ├── README.md ├── bin │ ├── starter-code.sh │ ├── starter-sshd.sh │ └── starter.sh └── docker-compose.yml ├── docs ├── book.toml └── src │ ├── SUMMARY.md │ ├── design │ ├── images │ │ ├── bplus-tree.jpg │ │ ├── miniob-bplus-tree-deletion-migration.png │ │ ├── miniob-bplus-tree-deletion-move.png │ │ ├── miniob-bplus-tree-deletion-move2.png │ │ ├── miniob-bplus-tree-deletion.png │ │ ├── miniob-bplus-tree-index-file.png │ │ ├── miniob-bplus-tree-internal-node.png │ │ ├── miniob-bplus-tree-internal-struct.png │ │ ├── miniob-bplus-tree-internal-struct2.png │ │ ├── miniob-bplus-tree-leaf-node.png │ │ ├── miniob-bplus-tree-leaf-page.png │ │ ├── miniob-bplus-tree-pages-in-file.png │ │ ├── miniob-buffer-pool-directory.png │ │ ├── miniob-buffer-pool-implementation.png │ │ ├── miniob-buffer-pool-page.png │ │ ├── miniob-buffer-pool-record.png │ │ ├── miniob-overview.png │ │ ├── mysql-auth.png │ │ ├── mysql-command-packet.png │ │ ├── mysql-error-packet.png │ │ ├── mysql-flow.png │ │ ├── mysql-handshake.png │ │ ├── mysql-ok-eof-packet.png │ │ ├── mysql-ok-packet.png │ │ ├── mysql-packet-flow.png │ │ └── mysql-result-set-packet.png │ ├── introduction.md │ ├── miniob-bplus-tree-concurrency.md │ ├── miniob-bplus-tree.md │ ├── miniob-buffer-pool.md │ ├── miniob-clog.md │ ├── miniob-how-to-add-new-sql.md │ ├── miniob-mysql-protocol.md │ ├── miniob-sql-expression.md │ ├── miniob-sql-parser.md │ └── miniob-transaction.md │ ├── dev-env │ ├── dev_by_gitpod.md │ ├── how-to-dev-using-docker.md │ ├── how_to_dev_in_docker_container_by_vscode.md │ ├── how_to_dev_miniob_by_docker_on_windows.md │ ├── how_to_dev_miniob_by_vscode.md │ ├── images │ │ ├── dev_by_gitpod_build_init.png │ │ ├── dev_by_gitpod_build_init_output.png │ │ ├── dev_by_gitpod_build_others.png │ │ ├── dev_by_gitpod_build_output.png │ │ ├── dev_by_gitpod_build_run_build_task.png │ │ ├── dev_by_gitpod_build_run_task.png │ │ ├── dev_by_gitpod_dashboard.png │ │ ├── dev_by_gitpod_debug_breakpoint.png │ │ ├── dev_by_gitpod_debug_console.png │ │ ├── dev_by_gitpod_debug_debugging_view.png │ │ ├── dev_by_gitpod_debug_start.png │ │ ├── dev_by_gitpod_debug_take_breakpoint.png │ │ ├── dev_by_gitpod_debug_terminal.png │ │ ├── dev_by_gitpod_fork_repo.png │ │ ├── dev_by_gitpod_git_auth.png │ │ ├── dev_by_gitpod_git_auth1.png │ │ ├── dev_by_gitpod_git_commit.png │ │ ├── dev_by_gitpod_git_edit_permissions.png │ │ ├── dev_by_gitpod_git_operations.png │ │ ├── dev_by_gitpod_git_pre_edit_permissions.png │ │ ├── dev_by_gitpod_git_push_error.png │ │ ├── dev_by_gitpod_gitpod_new_workspace.png │ │ ├── dev_by_gitpod_ides.png │ │ ├── dev_by_gitpod_miniob_workspace.png │ │ ├── dev_by_gitpod_open_gitpod.png │ │ ├── dev_by_gitpod_open_miniob.jpg │ │ ├── dev_by_gitpod_vscode_homepage.png │ │ ├── dev_by_gitpod_workspace.png │ │ ├── vsc_add_new_ssh_host.png │ │ ├── vsc_config_file.png │ │ ├── vsc_container_started.png │ │ ├── vsc_cpp_extensions.png │ │ ├── vsc_debug.png │ │ ├── vsc_kit_for_miniob.png │ │ ├── vsc_open_folder.png │ │ ├── vsc_pwd.png │ │ ├── vsc_remote_ssh_connect_cmd.png │ │ ├── vsc_remote_ssh_extension.png │ │ ├── vsc_server_started.png │ │ ├── vsc_ssh_connect.png │ │ ├── vscode_C++_plugs_detail.png │ │ ├── vscode_break_point.png │ │ ├── vscode_build_ouput.png │ │ ├── vscode_cmake.png │ │ ├── vscode_debug_miniob.png │ │ ├── vscode_search_plugs.png │ │ ├── windows-enable-disable-functions.png │ │ ├── windows-enable-service.png │ │ ├── windows-functions.png │ │ ├── windows-search-service.png │ │ ├── windows-terminal-mutli-shell.png │ │ ├── windows-terminal.png │ │ └── windows-wsl.png │ ├── introduction.md │ └── miniob-how-to-debug.md │ ├── game │ ├── debug-output.md │ ├── gitee-instructions.md │ ├── images │ │ ├── add-members.png │ │ ├── create-repo.png │ │ ├── create-repo2.png │ │ ├── invite-users.png │ │ └── reporter.png │ ├── introduction.md │ ├── miniob-date-implementation.md │ ├── miniob-drop-table-implementation.md │ ├── miniob-output-convention.md │ ├── miniob-test-comment-date.md │ └── miniob_topics.md │ ├── how_to_build.md │ ├── how_to_run.md │ ├── images │ ├── miniob-introduction-running-the-client.png │ ├── miniob-introduction-running-the-server.png │ └── miniob-introduction-sql-flow.png │ ├── lectures │ ├── copyright.md │ ├── images │ │ ├── 1-1.png │ │ ├── 1.3.1.3-1.png │ │ ├── 1.3.1.3-2.png │ │ ├── 2-1.png │ │ ├── 2-2.png │ │ ├── 2-3.png │ │ ├── 2-4.png │ │ ├── 2-5.png │ │ ├── 2-6.png │ │ ├── 2-7.png │ │ ├── 2-8.png │ │ ├── 3-1.png │ │ ├── 3-2-a.png │ │ ├── 3-2-b.png │ │ ├── 3-2-c.png │ │ ├── 3-3-a.png │ │ ├── 3-3-b.png │ │ ├── 3-3-c.png │ │ ├── 3-4.png │ │ ├── 3-5.png │ │ ├── 3-6-a.png │ │ ├── 3-6-b.png │ │ ├── 3-7-a.png │ │ ├── 3-7-b.png │ │ ├── 3-7-c.png │ │ ├── 4-1.png │ │ ├── 4-2.png │ │ ├── 4-3.png │ │ ├── 4-4.png │ │ ├── 4-5.png │ │ ├── 4-6.png │ │ ├── 5-1.png │ │ ├── 5.2.1.1-1.png │ │ ├── 5.2.1.1-2.png │ │ ├── 5.2.1.1-3.png │ │ ├── 5.2.1.1-4.png │ │ ├── 5.2.2.1-1.png │ │ ├── 5.3.1.1-4.png │ │ ├── 6-1.png │ │ ├── 6-2.png │ │ ├── 6-3.png │ │ └── 6-4.png │ ├── index.md │ ├── lecture-1.md │ ├── lecture-2.md │ ├── lecture-3.md │ ├── lecture-4.md │ ├── lecture-5.md │ ├── lecture-6.md │ └── references.md │ ├── miniob-introduction.md │ └── miniob │ └── db │ └── sys │ ├── clog │ ├── t.data │ ├── t.table │ ├── t2.data │ ├── t2.table │ ├── t3.data │ ├── t3.table │ ├── test.data │ ├── test.table │ ├── test1.data │ ├── test1.table │ ├── test2.data │ ├── test2.table │ ├── w.data │ └── w.table ├── etc └── observer.ini ├── miniob └── db │ └── sys │ └── clog ├── src ├── obclient │ ├── CMakeFiles │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── obclient.dir │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── compiler_depend.make │ │ │ ├── compiler_depend.ts │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── link.txt │ │ │ └── progress.make │ │ └── progress.marks │ ├── CMakeLists.txt │ ├── Makefile │ ├── client.cpp │ ├── cmake_install.cmake │ ├── input.txt │ └── miniob │ │ └── db │ │ └── sys │ │ └── clog └── observer │ ├── CMakeFiles │ ├── CMakeDirectoryInformation.cmake │ ├── observer.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ ├── observer_static.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── cmake_clean_target.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ └── progress.marks │ ├── CMakeLists.txt │ ├── Makefile │ ├── cmake_install.cmake │ ├── common │ ├── global_context.cpp │ ├── global_context.h │ ├── ini_setting.h │ ├── init.cpp │ ├── init.h │ ├── rc.cpp │ ├── rc.h │ ├── types.h │ └── util │ │ ├── date.h │ │ └── miniob │ │ └── db │ │ └── sys │ │ └── clog │ ├── event │ ├── session_event.cpp │ ├── session_event.h │ ├── sql_debug.cpp │ ├── sql_debug.h │ ├── sql_event.cpp │ ├── sql_event.h │ └── storage_event.h │ ├── main.cpp │ ├── miniob │ └── db │ │ └── sys │ │ ├── clog │ │ ├── t.data │ │ └── t.table │ ├── net │ ├── buffered_writer.cpp │ ├── buffered_writer.h │ ├── cli_communicator.cpp │ ├── cli_communicator.h │ ├── communicator.cpp │ ├── communicator.h │ ├── miniob │ │ └── db │ │ │ └── sys │ │ │ └── clog │ ├── mysql_communicator.cpp │ ├── mysql_communicator.h │ ├── plain_communicator.cpp │ ├── plain_communicator.h │ ├── ring_buffer.cpp │ ├── ring_buffer.h │ ├── server.cpp │ ├── server.h │ └── server_param.h │ ├── session │ ├── miniob │ │ └── db │ │ │ └── sys │ │ │ └── clog │ ├── session.cpp │ ├── session.h │ ├── session_stage.cpp │ ├── session_stage.h │ ├── thread_data.cpp │ └── thread_data.h │ ├── sql │ ├── executor │ │ ├── command_executor.cpp │ │ ├── command_executor.h │ │ ├── create_index_executor.cpp │ │ ├── create_index_executor.h │ │ ├── create_table_executor.cpp │ │ ├── create_table_executor.h │ │ ├── desc_table_executor.cpp │ │ ├── desc_table_executor.h │ │ ├── drop_table_executor.cpp │ │ ├── drop_table_executor.h │ │ ├── execute_stage.cpp │ │ ├── execute_stage.h │ │ ├── help_executor.h │ │ ├── load_data_executor.cpp │ │ ├── load_data_executor.h │ │ ├── miniob │ │ │ └── db │ │ │ │ └── sys │ │ │ │ └── clog │ │ ├── set_variable_executor.h │ │ ├── show_tables_executor.h │ │ ├── sql_result.cpp │ │ ├── sql_result.h │ │ ├── trx_begin_executor.h │ │ └── trx_end_executor.h │ ├── expr │ │ ├── expression.cpp │ │ ├── expression.h │ │ ├── tuple.h │ │ ├── tuple_cell.cpp │ │ └── tuple_cell.h │ ├── operator │ │ ├── calc_logical_operator.h │ │ ├── calc_physical_operator.h │ │ ├── delete_logical_operator.cpp │ │ ├── delete_logical_operator.h │ │ ├── delete_physical_operator.cpp │ │ ├── delete_physical_operator.h │ │ ├── explain_logical_operator.h │ │ ├── explain_physical_operator.cpp │ │ ├── explain_physical_operator.h │ │ ├── index_scan_physical_operator.cpp │ │ ├── index_scan_physical_operator.h │ │ ├── insert_logical_operator.cpp │ │ ├── insert_logical_operator.h │ │ ├── insert_physical_operator.cpp │ │ ├── insert_physical_operator.h │ │ ├── join_logical_operator.h │ │ ├── join_physical_operator.cpp │ │ ├── join_physical_operator.h │ │ ├── logical_operator.cpp │ │ ├── logical_operator.h │ │ ├── miniob │ │ │ └── db │ │ │ │ └── sys │ │ │ │ └── clog │ │ ├── physical_operator.cpp │ │ ├── physical_operator.h │ │ ├── predicate_logical_operator.cpp │ │ ├── predicate_logical_operator.h │ │ ├── predicate_physical_operator.cpp │ │ ├── predicate_physical_operator.h │ │ ├── project_logical_operator.cpp │ │ ├── project_logical_operator.h │ │ ├── project_physical_operator.cpp │ │ ├── project_physical_operator.h │ │ ├── string_list_physical_operator.h │ │ ├── table_get_logical_operator.cpp │ │ ├── table_get_logical_operator.h │ │ ├── table_scan_physical_operator.cpp │ │ ├── table_scan_physical_operator.h │ │ ├── update_logical_operator.cpp │ │ ├── update_logical_operator.h │ │ ├── update_physical_operator.cpp │ │ └── update_physical_operator.h │ ├── optimizer │ │ ├── comparison_simplification_rule.cpp │ │ ├── comparison_simplification_rule.h │ │ ├── conjunction_simplification_rule.cpp │ │ ├── conjunction_simplification_rule.h │ │ ├── expression_rewriter.cpp │ │ ├── expression_rewriter.h │ │ ├── logical_plan_generator.cpp │ │ ├── logical_plan_generator.h │ │ ├── miniob │ │ │ └── db │ │ │ │ └── sys │ │ │ │ └── clog │ │ ├── optimize_stage.cpp │ │ ├── optimize_stage.h │ │ ├── physical_plan_generator.cpp │ │ ├── physical_plan_generator.h │ │ ├── predicate_pushdown_rewriter.cpp │ │ ├── predicate_pushdown_rewriter.h │ │ ├── predicate_rewrite.cpp │ │ ├── predicate_rewrite.h │ │ ├── rewrite_rule.h │ │ ├── rewriter.cpp │ │ └── rewriter.h │ ├── parser │ │ ├── gen_parser.sh │ │ ├── lex_sql.cpp │ │ ├── lex_sql.h │ │ ├── lex_sql.l │ │ ├── miniob │ │ │ └── db │ │ │ │ └── sys │ │ │ │ └── clog │ │ ├── parse.cpp │ │ ├── parse.h │ │ ├── parse_defs.h │ │ ├── parse_stage.cpp │ │ ├── parse_stage.h │ │ ├── resolve_stage.cpp │ │ ├── resolve_stage.h │ │ ├── value.cpp │ │ ├── value.h │ │ ├── yacc_sql.cpp │ │ ├── yacc_sql.hpp │ │ └── yacc_sql.y │ ├── plan_cache │ │ ├── plan_cache_stage.cpp │ │ └── plan_cache_stage.h │ ├── query_cache │ │ ├── query_cache_stage.cpp │ │ └── query_cache_stage.h │ └── stmt │ │ ├── calc_stmt.h │ │ ├── create_index_stmt.cpp │ │ ├── create_index_stmt.h │ │ ├── create_table_stmt.cpp │ │ ├── create_table_stmt.h │ │ ├── delete_stmt.cpp │ │ ├── delete_stmt.h │ │ ├── desc_table_stmt.cpp │ │ ├── desc_table_stmt.h │ │ ├── drop_table_stmt.cpp │ │ ├── drop_table_stmt.h │ │ ├── exit_stmt.h │ │ ├── explain_stmt.cpp │ │ ├── explain_stmt.h │ │ ├── filter_stmt.cpp │ │ ├── filter_stmt.h │ │ ├── help_stmt.h │ │ ├── insert_stmt.cpp │ │ ├── insert_stmt.h │ │ ├── load_data_stmt.cpp │ │ ├── load_data_stmt.h │ │ ├── miniob │ │ └── db │ │ │ └── sys │ │ │ └── clog │ │ ├── select_stmt.cpp │ │ ├── select_stmt.h │ │ ├── set_variable_stmt.h │ │ ├── show_tables_stmt.h │ │ ├── stmt.cpp │ │ ├── stmt.h │ │ ├── trx_begin_stmt.h │ │ ├── trx_end_stmt.h │ │ ├── update_stmt.cpp │ │ └── update_stmt.h │ └── storage │ ├── buffer │ ├── disk_buffer_pool.cpp │ ├── disk_buffer_pool.h │ ├── frame.cpp │ ├── frame.h │ └── page.h │ ├── clog │ ├── clog.cpp │ └── clog.h │ ├── common │ ├── condition_filter.cpp │ ├── condition_filter.h │ ├── meta_util.cpp │ └── meta_util.h │ ├── db │ ├── db.cpp │ └── db.h │ ├── default │ ├── default_handler.cpp │ └── default_handler.h │ ├── field │ ├── field.cpp │ ├── field.h │ ├── field_meta.cpp │ ├── field_meta.h │ └── miniob │ │ └── db │ │ └── sys │ │ └── clog │ ├── index │ ├── bplus_tree.cpp │ ├── bplus_tree.h │ ├── bplus_tree_index.cpp │ ├── bplus_tree_index.h │ ├── index.cpp │ ├── index.h │ ├── index_meta.cpp │ ├── index_meta.h │ ├── index_type.h │ ├── miniob │ │ ├── db │ │ │ └── sys │ │ │ │ └── clog │ │ └── index_type.cpp │ └── observe.log.20230911 │ ├── persist │ ├── persist.cpp │ └── persist.h │ ├── record │ ├── record.h │ ├── record_manager.cpp │ └── record_manager.h │ ├── table │ ├── miniob │ │ └── db │ │ │ └── sys │ │ │ └── clog │ ├── observe.log.20230905 │ ├── observe.log.20230908 │ ├── observe.log.20230910 │ ├── observe.log.20230911 │ ├── table.cpp │ ├── table.h │ ├── table_meta.cpp │ └── table_meta.h │ └── trx │ ├── latch_memo.cpp │ ├── latch_memo.h │ ├── miniob │ └── db │ │ └── sys │ │ └── clog │ ├── mvcc_trx.cpp │ ├── mvcc_trx.h │ ├── trx.cpp │ ├── trx.h │ ├── vacuous_trx.cpp │ └── vacuous_trx.h ├── test ├── case │ ├── README.md │ ├── miniob_test.py │ ├── result │ │ ├── basic.result │ │ ├── primary-aggregation-func.result │ │ ├── primary-complex-sub-query.result │ │ ├── primary-date.result │ │ ├── primary-drop-table.result │ │ ├── primary-expression.result │ │ ├── primary-group-by.result │ │ ├── primary-insert.result │ │ ├── primary-join-tables.result │ │ ├── primary-multi-index.result │ │ ├── primary-null.result │ │ ├── primary-order-by.result │ │ ├── primary-select-meta.result │ │ ├── primary-select-tables.result │ │ ├── primary-simple-sub-query.result │ │ ├── primary-text.result │ │ ├── primary-unique.result │ │ └── primary-update.result │ └── test │ │ ├── basic.test │ │ ├── primary-aggregation-func.test │ │ ├── primary-complex-sub-query.test │ │ ├── primary-date.test │ │ ├── primary-drop-table.test │ │ ├── primary-expression.test │ │ ├── primary-group-by.test │ │ ├── primary-insert.test │ │ ├── primary-join-tables.test │ │ ├── primary-multi-index.test │ │ ├── primary-null.test │ │ ├── primary-order-by.test │ │ ├── primary-select-meta.test │ │ ├── primary-select-tables.test │ │ ├── primary-simple-sub-query.test │ │ ├── primary-text.test │ │ ├── primary-unique.test │ │ └── primary-update.test ├── perf │ ├── CMakeFiles │ │ ├── CMakeDirectoryInformation.cmake │ │ ├── client_performance_test.dir │ │ │ ├── DependInfo.cmake │ │ │ ├── build.make │ │ │ ├── cmake_clean.cmake │ │ │ ├── compiler_depend.make │ │ │ ├── compiler_depend.ts │ │ │ ├── depend.make │ │ │ ├── flags.make │ │ │ ├── link.txt │ │ │ └── progress.make │ │ └── progress.marks │ ├── CMakeLists.txt │ ├── Makefile │ ├── client_performance_test.cpp │ └── cmake_install.cmake └── sysbench │ ├── miniob_common.lua │ └── miniob_insert.lua ├── tools ├── CMakeFiles │ ├── CMakeDirectoryInformation.cmake │ ├── clog_reader.dir │ │ ├── DependInfo.cmake │ │ ├── build.make │ │ ├── cmake_clean.cmake │ │ ├── compiler_depend.make │ │ ├── compiler_depend.ts │ │ ├── depend.make │ │ ├── flags.make │ │ ├── link.txt │ │ └── progress.make │ └── progress.marks ├── CMakeLists.txt ├── Makefile ├── clog_reader_cmd.cpp └── cmake_install.cmake └── unittest ├── CMakeFiles ├── CMakeDirectoryInformation.cmake ├── arithmetic_expression_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── bitmap_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── bp_manager_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── bplus_tree_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── clog_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── log_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── lower_bound_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── md5_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── mem_pool_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── persist_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── pidfile_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── progress.marks ├── record_manager_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make └── ring_buffer_test.dir │ ├── DependInfo.cmake │ ├── build.make │ ├── cmake_clean.cmake │ ├── compiler_depend.make │ ├── compiler_depend.ts │ ├── depend.make │ ├── flags.make │ ├── link.txt │ └── progress.make ├── CMakeLists.txt ├── CTestTestfile.cmake ├── Makefile ├── arithmetic_expression_test.cpp ├── arithmetic_expression_test[1]_include.cmake ├── bitmap_test.cpp ├── bitmap_test[1]_include.cmake ├── bp_manager_test.cpp ├── bp_manager_test[1]_include.cmake ├── bplus_tree_test.cpp ├── bplus_tree_test[1]_include.cmake ├── clog_test.cpp ├── clog_test[1]_include.cmake ├── cmake_install.cmake ├── log_test.cpp ├── log_test.h ├── log_test[1]_include.cmake ├── lower_bound_test.cpp ├── lower_bound_test[1]_include.cmake ├── md5_test.cpp ├── md5_test.h ├── md5_test[1]_include.cmake ├── mem_pool_test.cpp ├── mem_pool_test[1]_include.cmake ├── persist_test.cpp ├── persist_test[1]_include.cmake ├── pidfile_test.cpp ├── pidfile_test[1]_include.cmake ├── record_manager_test.cpp ├── record_manager_test[1]_include.cmake ├── ring_buffer_test.cpp └── ring_buffer_test[1]_include.cmake /.github/ISSUE_TEMPLATE/enhancement.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Enhancement 3 | about: I want to make an enhancement. 4 | title: '' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Enhancement** 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Question 3 | about: I have a question. 4 | title: '' 5 | labels: question 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Question** 11 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | ### What problem were solved in this pull request? 2 | 3 | Issue Number: close #xxx 4 | 5 | Problem: 6 | 7 | ### What is changed and how it works? 8 | 9 | ### Other information 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ./deps/3rd 2 | ./deps/libevent 3 | ./deps/googletest 4 | ./deps/jsoncpp 5 | ./deps/benchmark 6 | .vscode 7 | !.vscode/tasks.json 8 | !.vscode/launch.json 9 | ./docs/doxy/ 10 | build/* 11 | build_* 12 | cmake-build-*/* 13 | build 14 | .cache/* 15 | .DS_Store 16 | .idea 17 | .ccls-cache 18 | compile_commands.json 19 | ./.name 20 | ./miniob.iml 21 | ./vcs.xml 22 | ./workspace.xml 23 | ./modules.xml 24 | GRTAGS 25 | GPATH 26 | GTAGS 27 | docs/book 28 | ./.vscode 29 | observe.log.* 30 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "deps/3rd/libevent"] 2 | path = deps/3rd/libevent 3 | url = https://github.com/libevent/libevent 4 | [submodule "deps/3rd/jsoncpp"] 5 | path = deps/3rd/jsoncpp 6 | url = https://github.com/open-source-parsers/jsoncpp 7 | [submodule "deps/3rd/googletest"] 8 | path = deps/3rd/googletest 9 | url = https://github.com/google/googletest 10 | [submodule "deps/3rd/benchmark"] 11 | path = deps/3rd/benchmark 12 | url = https://github.com/google/benchmark 13 | -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- 1 | github: 2 | prebuilds: 3 | master: false 4 | branches: false 5 | tasks: 6 | - name: install dependencies 7 | init: | 8 | sudo apt install cmake flex bison texinfo libreadline-dev -y 9 | sudo bash build.sh init 10 | echo -e "\033[32m\nDependency installed successfully\033[0m" 11 | -------------------------------------------------------------------------------- /CMakeFiles/3.22.1/CMakeDetermineCompilerABI_C.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_C.bin -------------------------------------------------------------------------------- /CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/CMakeFiles/3.22.1/CMakeDetermineCompilerABI_CXX.bin -------------------------------------------------------------------------------- /CMakeFiles/3.22.1/CMakeSystem.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_HOST_SYSTEM "Linux-5.15.90.1-microsoft-standard-WSL2") 2 | set(CMAKE_HOST_SYSTEM_NAME "Linux") 3 | set(CMAKE_HOST_SYSTEM_VERSION "5.15.90.1-microsoft-standard-WSL2") 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") 5 | 6 | 7 | 8 | set(CMAKE_SYSTEM "Linux-5.15.90.1-microsoft-standard-WSL2") 9 | set(CMAKE_SYSTEM_NAME "Linux") 10 | set(CMAKE_SYSTEM_VERSION "5.15.90.1-microsoft-standard-WSL2") 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") 12 | 13 | set(CMAKE_CROSSCOMPILING "FALSE") 14 | 15 | set(CMAKE_SYSTEM_LOADED 1) 16 | -------------------------------------------------------------------------------- /CMakeFiles/3.22.1/CompilerIdC/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/CMakeFiles/3.22.1/CompilerIdC/a.out -------------------------------------------------------------------------------- /CMakeFiles/3.22.1/CompilerIdCXX/a.out: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/CMakeFiles/3.22.1/CompilerIdCXX/a.out -------------------------------------------------------------------------------- /CMakeFiles/cmake.check_cache: -------------------------------------------------------------------------------- 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file 2 | -------------------------------------------------------------------------------- /CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 100 2 | -------------------------------------------------------------------------------- /CTestTestfile.cmake: -------------------------------------------------------------------------------- 1 | # CMake generated Testfile for 2 | # Source directory: /home/warrior/project/miniob 3 | # Build directory: /home/warrior/project/miniob 4 | # 5 | # This file includes the relevant testing commands required for 6 | # testing this directory and lists subdirectories to be tested as well. 7 | subdirs("deps") 8 | subdirs("src/obclient") 9 | subdirs("src/observer") 10 | subdirs("test/perf") 11 | subdirs("benchmark") 12 | subdirs("tools") 13 | subdirs("unittest") 14 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/bplus_tree_concurrency_test" 3 | "../bin/bplus_tree_concurrency_test.pdb" 4 | "CMakeFiles/bplus_tree_concurrency_test.dir/bplus_tree_concurrency_test.cpp.o" 5 | "CMakeFiles/bplus_tree_concurrency_test.dir/bplus_tree_concurrency_test.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/bplus_tree_concurrency_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for bplus_tree_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for bplus_tree_concurrency_test. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for bplus_tree_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/bplus_tree_concurrency_test.dir/bplus_tree_concurrency_test.cpp.o -o ../bin/bplus_tree_concurrency_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lbenchmark ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/bplus_tree_concurrency_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 4 3 | 4 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 81 2 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/record_manager_concurrency_test" 3 | "../bin/record_manager_concurrency_test.pdb" 4 | "CMakeFiles/record_manager_concurrency_test.dir/record_manager_concurrency_test.cpp.o" 5 | "CMakeFiles/record_manager_concurrency_test.dir/record_manager_concurrency_test.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/record_manager_concurrency_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for record_manager_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for record_manager_concurrency_test. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for record_manager_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/record_manager_concurrency_test.dir/record_manager_concurrency_test.cpp.o -o ../bin/record_manager_concurrency_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lbenchmark ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/record_manager_concurrency_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 96 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/server_concurrency_test" 3 | "../bin/server_concurrency_test.pdb" 4 | "CMakeFiles/server_concurrency_test.dir/server_concurrency_test.cpp.o" 5 | "CMakeFiles/server_concurrency_test.dir/server_concurrency_test.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/server_concurrency_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for server_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for server_concurrency_test. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for server_concurrency_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/server_concurrency_test.dir/server_concurrency_test.cpp.o -o ../bin/server_concurrency_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lbenchmark ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /benchmark/CMakeFiles/server_concurrency_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 99 2 | CMAKE_PROGRESS_2 = 100 3 | 4 | -------------------------------------------------------------------------------- /benchmark/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | find_package(benchmark CONFIG REQUIRED) 2 | 3 | INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/observer) 4 | 5 | FILE(GLOB_RECURSE ALL_SRC *.cpp) 6 | # AUX_SOURCE_DIRECTORY 类似功能 7 | FOREACH (F ${ALL_SRC}) 8 | get_filename_component(prjName ${F} NAME_WE) 9 | MESSAGE("Build ${prjName} according to ${F}") 10 | ADD_EXECUTABLE(${prjName} ${F}) 11 | TARGET_LINK_LIBRARIES(${prjName} common pthread dl benchmark observer_static) 12 | ENDFOREACH (F) 13 | -------------------------------------------------------------------------------- /cmake/readline.cmake: -------------------------------------------------------------------------------- 1 | 2 | MACRO (MINIOB_FIND_READLINE) 3 | 4 | FIND_PATH(READLINE_INCLUDE_DIR readline.h PATH_SUFFIXES readline) 5 | FIND_LIBRARY(READLINE_LIBRARY NAMES readline) 6 | IF (READLINE_INCLUDE_DIR AND READLINE_LIBRARY) 7 | SET(HAVE_READLINE 1) 8 | ELSE () 9 | MESSAGE("cannot find readline") 10 | ENDIF() 11 | 12 | ENDMACRO (MINIOB_FIND_READLINE) 13 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | Language: Cpp 3 | BasedOnStyle: Google 4 | PointerAlignment: Left 5 | ... 6 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: 'clang-analyzer-*,readability-redundant-*,performance-*' 3 | WarningsAsErrors: 'clang-analyzer-*,readability-redundant-*,performance-*' 4 | HeaderFilterRegex: '.*' 5 | AnalyzeTemporaryDtors: false 6 | FormatStyle: none 7 | User: user 8 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/.github/install_bazel.sh: -------------------------------------------------------------------------------- 1 | if ! bazel version; then 2 | arch=$(uname -m) 3 | if [ "$arch" == "aarch64" ]; then 4 | arch="arm64" 5 | fi 6 | echo "Installing wget and downloading $arch Bazel binary from GitHub releases." 7 | yum install -y wget 8 | wget "https://github.com/bazelbuild/bazel/releases/download/6.0.0/bazel-6.0.0-linux-$arch" -O /usr/local/bin/bazel 9 | chmod +x /usr/local/bin/bazel 10 | else 11 | # bazel is installed for the correct architecture 12 | exit 0 13 | fi 14 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/.github/workflows/clang-format-lint.yml: -------------------------------------------------------------------------------- 1 | name: clang-format-lint 2 | on: 3 | push: {} 4 | pull_request: {} 5 | 6 | jobs: 7 | build: 8 | runs-on: ubuntu-latest 9 | 10 | steps: 11 | - uses: actions/checkout@v3 12 | - uses: DoozyX/clang-format-lint-action@v0.13 13 | with: 14 | source: './include/benchmark ./src ./test' 15 | extensions: 'h,cc' 16 | clangFormatVersion: 12 17 | style: Google 18 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/.github/workflows/pylint.yml: -------------------------------------------------------------------------------- 1 | name: pylint 2 | 3 | on: 4 | push: 5 | branches: [ main ] 6 | pull_request: 7 | branches: [ main ] 8 | 9 | jobs: 10 | pylint: 11 | 12 | runs-on: ubuntu-latest 13 | 14 | steps: 15 | - uses: actions/checkout@v3 16 | - name: Set up Python 3.8 17 | uses: actions/setup-python@v1 18 | with: 19 | python-version: 3.8 20 | 21 | - name: Install dependencies 22 | run: | 23 | python -m pip install --upgrade pip 24 | pip install pylint pylint-exit conan 25 | 26 | - name: Run pylint 27 | run: | 28 | pylint `find . -name '*.py'|xargs` || pylint-exit $? 29 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/WORKSPACE: -------------------------------------------------------------------------------- 1 | workspace(name = "com_github_google_benchmark") 2 | 3 | load("//:bazel/benchmark_deps.bzl", "benchmark_deps") 4 | 5 | benchmark_deps() 6 | 7 | load("@rules_foreign_cc//foreign_cc:repositories.bzl", "rules_foreign_cc_dependencies") 8 | 9 | rules_foreign_cc_dependencies() 10 | 11 | load("@rules_python//python:pip.bzl", pip3_install="pip_install") 12 | 13 | pip3_install( 14 | name = "py_deps", 15 | requirements = "//:requirements.txt", 16 | ) 17 | 18 | new_local_repository( 19 | name = "python_headers", 20 | build_file = "@//bindings/python:python_headers.BUILD", 21 | path = "", # May be overwritten by setup.py. 22 | ) 23 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-midnight 2 | markdown: GFM 3 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/bindings/python/BUILD: -------------------------------------------------------------------------------- 1 | exports_files(glob(["*.BUILD"])) 2 | exports_files(["build_defs.bzl"]) 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/bindings/python/python_headers.BUILD: -------------------------------------------------------------------------------- 1 | cc_library( 2 | name = "python_headers", 3 | hdrs = glob(["**/*.h"]), 4 | includes = ["."], 5 | visibility = ["//visibility:public"], 6 | ) 7 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/bindings/python/requirements.txt: -------------------------------------------------------------------------------- 1 | absl-py>=0.7.1 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/Config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include (CMakeFindDependencyMacro) 4 | 5 | find_dependency (Threads) 6 | 7 | include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") 8 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/benchmark.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=${prefix} 3 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 4 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 5 | 6 | Name: @PROJECT_NAME@ 7 | Description: Google microbenchmark framework 8 | Version: @VERSION@ 9 | 10 | Libs: -L${libdir} -lbenchmark 11 | Libs.private: -lpthread 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/gnu_posix_regex.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | std::string str = "test0159"; 5 | regex_t re; 6 | int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 7 | if (ec != 0) { 8 | return ec; 9 | } 10 | return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/llvm-toolchain.cmake: -------------------------------------------------------------------------------- 1 | find_package(LLVMAr REQUIRED) 2 | set(CMAKE_AR "${LLVMAR_EXECUTABLE}" CACHE FILEPATH "" FORCE) 3 | 4 | find_package(LLVMNm REQUIRED) 5 | set(CMAKE_NM "${LLVMNM_EXECUTABLE}" CACHE FILEPATH "" FORCE) 6 | 7 | find_package(LLVMRanLib REQUIRED) 8 | set(CMAKE_RANLIB "${LLVMRANLIB_EXECUTABLE}" CACHE FILEPATH "" FORCE) 9 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/posix_regex.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | std::string str = "test0159"; 5 | regex_t re; 6 | int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 7 | if (ec != 0) { 8 | return ec; 9 | } 10 | int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 | regfree(&re); 12 | return ret; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/pthread_affinity.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() { 3 | cpu_set_t set; 4 | CPU_ZERO(&set); 5 | for (int i = 0; i < CPU_SETSIZE; ++i) { 6 | CPU_SET(i, &set); 7 | CPU_CLR(i, &set); 8 | } 9 | pthread_t self = pthread_self(); 10 | int ret; 11 | ret = pthread_getaffinity_np(self, sizeof(set), &set); 12 | if (ret != 0) return ret; 13 | ret = pthread_setaffinity_np(self, sizeof(set), &set); 14 | if (ret != 0) return ret; 15 | return 0; 16 | } 17 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/split_list.cmake: -------------------------------------------------------------------------------- 1 | macro(split_list listname) 2 | string(REPLACE ";" " " ${listname} "${${listname}}") 3 | endmacro() 4 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/std_regex.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main() { 4 | const std::string str = "test0159"; 5 | std::regex re; 6 | re = std::regex("^[a-z]+[0-9]+$", 7 | std::regex_constants::extended | std::regex_constants::nosubs); 8 | return std::regex_search(str, re) ? 0 : -1; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/steady_clock.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | typedef std::chrono::steady_clock Clock; 5 | Clock::time_point tp = Clock::now(); 6 | ((void)tp); 7 | } 8 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/cmake/thread_safety_attributes.cpp: -------------------------------------------------------------------------------- 1 | #define HAVE_THREAD_SAFETY_ATTRIBUTES 2 | #include "../src/mutex.h" 3 | 4 | int main() {} 5 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/docs/_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal 2 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/docs/dependencies.md: -------------------------------------------------------------------------------- 1 | # Build tool dependency policy 2 | 3 | We follow the [Foundational C++ support policy](https://opensource.google/documentation/policies/cplusplus-support) for our build tools. In 4 | particular the ["Build Systems" section](https://opensource.google/documentation/policies/cplusplus-support#build-systems). 5 | 6 | ## CMake 7 | 8 | The current supported version is CMake 3.10 as of 2023-08-10. Most modern 9 | distributions include newer versions, for example: 10 | 11 | * Ubuntu 20.04 provides CMake 3.16.3 12 | * Debian 11.4 provides CMake 3.18.4 13 | * Ubuntu 22.04 provides CMake 3.22.1 14 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/docs/index.md: -------------------------------------------------------------------------------- 1 | # Benchmark 2 | 3 | * [Assembly Tests](AssemblyTests.md) 4 | * [Dependencies](dependencies.md) 5 | * [Perf Counters](perf_counters.md) 6 | * [Platform Specific Build Instructions](platform_specific_build_instructions.md) 7 | * [Python Bindings](python_bindings.md) 8 | * [Random Interleaving](random_interleaving.md) 9 | * [Reducing Variance](reducing_variance.md) 10 | * [Releasing](releasing.md) 11 | * [Tools](tools.md) 12 | * [User Guide](user_guide.md) 13 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy == 1.22 2 | scipy == 1.5.4 3 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/src/check.cc: -------------------------------------------------------------------------------- 1 | #include "check.h" 2 | 3 | namespace benchmark { 4 | namespace internal { 5 | 6 | static AbortHandlerT* handler = &std::abort; 7 | 8 | BENCHMARK_EXPORT AbortHandlerT*& GetAbortHandler() { return handler; } 9 | 10 | } // namespace internal 11 | } // namespace benchmark 12 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/test/link_main_test.cc: -------------------------------------------------------------------------------- 1 | #include "benchmark/benchmark.h" 2 | 3 | void BM_empty(benchmark::State& state) { 4 | for (auto _ : state) { 5 | auto iterations = state.iterations(); 6 | benchmark::DoNotOptimize(iterations); 7 | } 8 | } 9 | BENCHMARK(BM_empty); 10 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/test/templated_fixture_test.cc: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | #include 4 | 5 | #include "benchmark/benchmark.h" 6 | 7 | template 8 | class MyFixture : public ::benchmark::Fixture { 9 | public: 10 | MyFixture() : data(0) {} 11 | 12 | T data; 13 | }; 14 | 15 | BENCHMARK_TEMPLATE_F(MyFixture, Foo, int)(benchmark::State& st) { 16 | for (auto _ : st) { 17 | data += 1; 18 | } 19 | } 20 | 21 | BENCHMARK_TEMPLATE_DEFINE_F(MyFixture, Bar, double)(benchmark::State& st) { 22 | for (auto _ : st) { 23 | data += 1.0; 24 | } 25 | } 26 | BENCHMARK_REGISTER_F(MyFixture, Bar); 27 | 28 | BENCHMARK_MAIN(); 29 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/BUILD.bazel: -------------------------------------------------------------------------------- 1 | load("@py_deps//:requirements.bzl", "requirement") 2 | 3 | py_library( 4 | name = "gbench", 5 | srcs = glob(["gbench/*.py"]), 6 | deps = [ 7 | requirement("numpy"), 8 | requirement("scipy"), 9 | ], 10 | ) 11 | 12 | py_binary( 13 | name = "compare", 14 | srcs = ["compare.py"], 15 | python_version = "PY2", 16 | deps = [ 17 | ":gbench", 18 | ], 19 | ) 20 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/gbench/Inputs/test4_run0.json: -------------------------------------------------------------------------------- 1 | { 2 | "context": { 3 | "date": "2016-08-02 17:44:46", 4 | "num_cpus": 4, 5 | "mhz_per_cpu": 4228, 6 | "cpu_scaling_enabled": false, 7 | "library_build_type": "release" 8 | }, 9 | "benchmarks": [ 10 | { 11 | "name": "whocares", 12 | "run_type": "aggregate", 13 | "aggregate_name": "zz", 14 | "aggregate_unit": "percentage", 15 | "iterations": 1000, 16 | "real_time": 0.01, 17 | "cpu_time": 0.10, 18 | "time_unit": "ns" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/gbench/Inputs/test4_run1.json: -------------------------------------------------------------------------------- 1 | { 2 | "context": { 3 | "date": "2016-08-02 17:44:46", 4 | "num_cpus": 4, 5 | "mhz_per_cpu": 4228, 6 | "cpu_scaling_enabled": false, 7 | "library_build_type": "release" 8 | }, 9 | "benchmarks": [ 10 | { 11 | "name": "whocares", 12 | "run_type": "aggregate", 13 | "aggregate_name": "zz", 14 | "aggregate_unit": "percentage", 15 | "iterations": 1000, 16 | "real_time": 0.005, 17 | "cpu_time": 0.15, 18 | "time_unit": "ns" 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/gbench/__init__.py: -------------------------------------------------------------------------------- 1 | """Google Benchmark tooling""" 2 | 3 | __author__ = 'Eric Fiselier' 4 | __email__ = 'eric@efcs.ca' 5 | __versioninfo__ = (0, 5, 0) 6 | __version__ = '.'.join(str(v) for v in __versioninfo__) + 'dev' 7 | 8 | __all__ = [] 9 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/libpfm.BUILD.bazel: -------------------------------------------------------------------------------- 1 | # Build rule for libpfm, which is required to collect performance counters for 2 | # BENCHMARK_ENABLE_LIBPFM builds. 3 | 4 | load("@rules_foreign_cc//foreign_cc:defs.bzl", "make") 5 | 6 | filegroup( 7 | name = "pfm_srcs", 8 | srcs = glob(["**"]), 9 | ) 10 | 11 | make( 12 | name = "libpfm", 13 | lib_source = ":pfm_srcs", 14 | lib_name = "libpfm", 15 | copts = [ 16 | "-Wno-format-truncation", 17 | "-Wno-use-after-free", 18 | ], 19 | visibility = [ 20 | "//visibility:public", 21 | ], 22 | ) 23 | -------------------------------------------------------------------------------- /deps/3rd/benchmark/tools/requirements.txt: -------------------------------------------------------------------------------- 1 | scipy>=1.5.0 -------------------------------------------------------------------------------- /deps/3rd/googletest/.clang-format: -------------------------------------------------------------------------------- 1 | # Run manually to reformat a file: 2 | # clang-format -i --style=file 3 | Language: Cpp 4 | BasedOnStyle: Google 5 | -------------------------------------------------------------------------------- /deps/3rd/googletest/.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Get Help 4 | url: https://github.com/google/googletest/discussions 5 | about: Please ask and answer questions here. 6 | -------------------------------------------------------------------------------- /deps/3rd/googletest/docs/_config.yml: -------------------------------------------------------------------------------- 1 | title: GoogleTest 2 | -------------------------------------------------------------------------------- /deps/3rd/googletest/docs/assets/css/style.scss: -------------------------------------------------------------------------------- 1 | --- 2 | --- 3 | 4 | @import "jekyll-theme-primer"; 5 | @import "main"; 6 | -------------------------------------------------------------------------------- /deps/3rd/googletest/docs/community_created_documentation.md: -------------------------------------------------------------------------------- 1 | # Community-Created Documentation 2 | 3 | The following is a list, in no particular order, of links to documentation 4 | created by the Googletest community. 5 | 6 | * [Googlemock Insights](https://github.com/ElectricRCAircraftGuy/eRCaGuy_dotfiles/blob/master/googletest/insights.md), 7 | by [ElectricRCAircraftGuy](https://github.com/ElectricRCAircraftGuy) 8 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googlemock/cmake/gmock.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: gmock 5 | Description: GoogleMock (without main() function) 6 | Version: @PROJECT_VERSION@ 7 | URL: https://github.com/google/googletest 8 | Requires: gtest = @PROJECT_VERSION@ 9 | Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@ 10 | Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ 11 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googlemock/cmake/gmock_main.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: gmock_main 5 | Description: GoogleMock (with main() function) 6 | Version: @PROJECT_VERSION@ 7 | URL: https://github.com/google/googletest 8 | Requires: gmock = @PROJECT_VERSION@ 9 | Libs: -L${libdir} -lgmock_main @CMAKE_THREAD_LIBS_INIT@ 10 | Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ 11 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googlemock/docs/README.md: -------------------------------------------------------------------------------- 1 | # Content Moved 2 | 3 | We are working on updates to the GoogleTest documentation, which has moved to 4 | the top-level [docs](../../docs) directory. 5 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googlemock/include/gmock/internal/custom/README.md: -------------------------------------------------------------------------------- 1 | # Customization Points 2 | 3 | The custom directory is an injection point for custom user configurations. 4 | 5 | ## Header `gmock-port.h` 6 | 7 | The following macros can be defined: 8 | 9 | ### Flag related macros: 10 | 11 | * `GMOCK_DECLARE_bool_(name)` 12 | * `GMOCK_DECLARE_int32_(name)` 13 | * `GMOCK_DECLARE_string_(name)` 14 | * `GMOCK_DEFINE_bool_(name, default_val, doc)` 15 | * `GMOCK_DEFINE_int32_(name, default_val, doc)` 16 | * `GMOCK_DEFINE_string_(name, default_val, doc)` 17 | * `GMOCK_FLAG_GET(flag_name)` 18 | * `GMOCK_FLAG_SET(flag_name, value)` 19 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h: -------------------------------------------------------------------------------- 1 | // IWYU pragma: private, include "gmock/gmock.h" 2 | // IWYU pragma: friend gmock/.* 3 | 4 | #ifndef GOOGLEMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ 5 | #define GOOGLEMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ 6 | 7 | #endif // GOOGLEMOCK_INCLUDE_GMOCK_INTERNAL_CUSTOM_GMOCK_GENERATED_ACTIONS_H_ 8 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googletest/cmake/Config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | include(CMakeFindDependencyMacro) 3 | if (@GTEST_HAS_PTHREAD@) 4 | set(THREADS_PREFER_PTHREAD_FLAG @THREADS_PREFER_PTHREAD_FLAG@) 5 | find_dependency(Threads) 6 | endif() 7 | 8 | include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake") 9 | check_required_components("@project_name@") 10 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googletest/cmake/gtest.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: gtest 5 | Description: GoogleTest (without main() function) 6 | Version: @PROJECT_VERSION@ 7 | URL: https://github.com/google/googletest 8 | Libs: -L${libdir} -lgtest @CMAKE_THREAD_LIBS_INIT@ 9 | Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ 10 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googletest/cmake/gtest_main.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: gtest_main 5 | Description: GoogleTest (with main() function) 6 | Version: @PROJECT_VERSION@ 7 | URL: https://github.com/google/googletest 8 | Requires: gtest = @PROJECT_VERSION@ 9 | Libs: -L${libdir} -lgtest_main @CMAKE_THREAD_LIBS_INIT@ 10 | Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ 11 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googletest/cmake/libgtest.la.in: -------------------------------------------------------------------------------- 1 | # libgtest.la - a libtool library file 2 | # Generated by libtool (GNU libtool) 2.4.6 3 | 4 | # Please DO NOT delete this file! 5 | # It is necessary for linking the library. 6 | 7 | # Names of this library. 8 | library_names='libgtest.so' 9 | 10 | # Is this an already installed library? 11 | installed=yes 12 | 13 | # Should we warn about portability when linking against -modules? 14 | shouldnotlink=no 15 | 16 | # Files to dlopen/dlpreopen 17 | dlopen='' 18 | dlpreopen='' 19 | 20 | # Directory that this library needs to be installed in: 21 | libdir='@CMAKE_INSTALL_FULL_LIBDIR@' 22 | -------------------------------------------------------------------------------- /deps/3rd/googletest/googletest/docs/README.md: -------------------------------------------------------------------------------- 1 | # Content Moved 2 | 3 | We are working on updates to the GoogleTest documentation, which has moved to 4 | the top-level [docs](../../docs) directory. 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: LLVM 2 | DerivePointerAlignment: false 3 | PointerAlignment: Left 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.clang-tidy: -------------------------------------------------------------------------------- 1 | --- 2 | Checks: 'google-readability-casting,modernize-deprecated-headers,modernize-loop-convert,modernize-use-auto,modernize-use-default-member-init,modernize-use-using,readability-else-after-return,readability-redundant-member-init,readability-redundant-string-cstr' 3 | WarningsAsErrors: '' 4 | HeaderFilterRegex: '' 5 | AnalyzeTemporaryDtors: false 6 | FormatStyle: none 7 | CheckOptions: 8 | - key: modernize-use-using.IgnoreMacros 9 | value: '0' 10 | ... 11 | 12 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.h text 3 | *.cpp text 4 | *.json text 5 | *.in text 6 | *.sh eol=lf 7 | *.bat eol=crlf 8 | *.vcproj eol=crlf 9 | *.vcxproj eol=crlf 10 | *.sln eol=crlf 11 | devtools/agent_vm* eol=crlf 12 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. 16 | 17 | **Expected behavior** 18 | A clear and concise description of what you expected to happen. 19 | 20 | **Desktop (please complete the following information):** 21 | - OS: [e.g. iOS] 22 | - Meson version 23 | - Ninja version 24 | 25 | **Additional context** 26 | Add any other context about the problem here. 27 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.travis_scripts/run-clang-format.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" 4 | python $DIR/run-clang-format.py -r $DIR/../src/**/ $DIR/../include/**/ 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.travis_scripts/travis.before_install.linux.sh: -------------------------------------------------------------------------------- 1 | set -vex 2 | 3 | # Preinstalled versions of python are dependent on which Ubuntu distribution 4 | # you are running. The below version needs to be updated whenever we roll 5 | # the Ubuntu version used in Travis. 6 | # https://docs.travis-ci.com/user/languages/python/ 7 | 8 | pyenv global 3.7.1 9 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.travis_scripts/travis.before_install.osx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/deps/3rd/jsoncpp/.travis_scripts/travis.before_install.osx.sh -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.travis_scripts/travis.install.linux.sh: -------------------------------------------------------------------------------- 1 | set -vex 2 | 3 | pip3 install --user meson ninja 4 | which meson 5 | which ninja 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/.travis_scripts/travis.install.osx.sh: -------------------------------------------------------------------------------- 1 | # NOTHING TO DO HERE 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ## This file should be placed in the root directory of your project. 2 | ## Then modify the CMakeLists.txt file in the root directory of your 3 | ## project to incorporate the testing dashboard. 4 | ## 5 | ## # The following are required to submit to the CDash dashboard: 6 | ## ENABLE_TESTING() 7 | ## INCLUDE(CTest) 8 | 9 | set(CTEST_PROJECT_NAME "jsoncpp") 10 | set(CTEST_NIGHTLY_START_TIME "01:23:45 UTC") 11 | 12 | set(CTEST_DROP_METHOD "https") 13 | set(CTEST_DROP_SITE "my.cdash.org") 14 | set(CTEST_DROP_LOCATION "/submit.php?project=jsoncpp") 15 | set(CTEST_DROP_SITE_CDASH TRUE) 16 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/devtools/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright 2010 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | # module 7 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/doc/readme.txt: -------------------------------------------------------------------------------- 1 | The documentation is generated using doxygen (http://www.doxygen.org). 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/doc/roadmap.dox: -------------------------------------------------------------------------------- 1 | /*! \page roadmap JsonCpp roadmap 2 | Moved to: https://github.com/open-source-parsers/jsoncpp/wiki/Roadmap 3 | */ 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/example/readFromStream/errorFormat.json: -------------------------------------------------------------------------------- 1 | { 2 | 1: "value" 3 | } -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/example/readFromStream/withComment.json: -------------------------------------------------------------------------------- 1 | // comment head 2 | { 3 | // comment before 4 | "key" : "value" 5 | // comment after 6 | }// comment tail 7 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/example/streamWrite/streamWrite.cpp: -------------------------------------------------------------------------------- 1 | #include "json/json.h" 2 | #include 3 | #include 4 | /** \brief Write the Value object to a stream. 5 | * Example Usage: 6 | * $g++ streamWrite.cpp -ljsoncpp -std=c++11 -o streamWrite 7 | * $./streamWrite 8 | * { 9 | * "Age" : 20, 10 | * "Name" : "robin" 11 | * } 12 | */ 13 | int main() { 14 | Json::Value root; 15 | Json::StreamWriterBuilder builder; 16 | const std::unique_ptr writer(builder.newStreamWriter()); 17 | 18 | root["Name"] = "robin"; 19 | root["Age"] = 20; 20 | writer->write(root, &std::cout); 21 | 22 | return EXIT_SUCCESS; 23 | } 24 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/get_version.pl: -------------------------------------------------------------------------------- 1 | while (<>) { 2 | if (/version : '(.+)',/) { 3 | print "$1"; 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/include/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB INCLUDE_FILES "json/*.h") 2 | install(FILES 3 | ${INCLUDE_FILES} 4 | DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/json) 5 | 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/include/PreventInBuildInstalls.cmake: -------------------------------------------------------------------------------- 1 | string(TOLOWER "${CMAKE_INSTALL_PREFIX}" _PREFIX) 2 | string(TOLOWER "${ITK_BINARY_DIR}" _BUILD) 3 | if("${_PREFIX}" STREQUAL "${_BUILD}") 4 | message(FATAL_ERROR 5 | "The current CMAKE_INSTALL_PREFIX points at the build tree:\n" 6 | " ${CMAKE_INSTALL_PREFIX}\n" 7 | "This is not supported." 8 | ) 9 | endif() 10 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/include/json/json.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef JSON_JSON_H_INCLUDED 7 | #define JSON_JSON_H_INCLUDED 8 | 9 | #include "config.h" 10 | #include "json_features.h" 11 | #include "reader.h" 12 | #include "value.h" 13 | #include "writer.h" 14 | 15 | #endif // JSON_JSON_H_INCLUDED 16 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/jsoncpp-namespaced-targets.cmake: -------------------------------------------------------------------------------- 1 | if (TARGET jsoncpp_static) 2 | add_library(JsonCpp::JsonCpp INTERFACE IMPORTED) 3 | set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_static") 4 | elseif (TARGET jsoncpp_lib) 5 | add_library(JsonCpp::JsonCpp INTERFACE IMPORTED) 6 | set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib") 7 | endif () -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/jsoncppConfig.cmake.in: -------------------------------------------------------------------------------- 1 | cmake_policy(PUSH) 2 | cmake_policy(VERSION 3.0) 3 | 4 | @PACKAGE_INIT@ 5 | 6 | include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-targets.cmake" ) 7 | include ( "${CMAKE_CURRENT_LIST_DIR}/jsoncpp-namespaced-targets.cmake" ) 8 | 9 | check_required_components(JsonCpp) 10 | 11 | cmake_policy(POP) 12 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/meson_options.txt: -------------------------------------------------------------------------------- 1 | option( 2 | 'tests', 3 | type : 'boolean', 4 | value : true, 5 | description : 'Enable building tests') 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/pkg-config/jsoncpp.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@libdir_for_pc_file@ 4 | includedir=@includedir_for_pc_file@ 5 | 6 | Name: jsoncpp 7 | Description: A C++ library for interacting with JSON 8 | Version: @PROJECT_VERSION@ 9 | URL: https://github.com/open-source-parsers/jsoncpp 10 | Libs: -L${libdir} -ljsoncpp 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/reformat.sh: -------------------------------------------------------------------------------- 1 | find src -name '*.cpp' -or -name '*.h' | xargs clang-format -i 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(lib_json) 2 | if(JSONCPP_WITH_TESTS) 3 | add_subdirectory(jsontestrunner) 4 | add_subdirectory(test_lib_json) 5 | endif() 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/src/test_lib_json/fuzz.h: -------------------------------------------------------------------------------- 1 | // Copyright 2007-2010 The JsonCpp Authors 2 | // Distributed under MIT license, or public domain if desired and 3 | // recognized in your jurisdiction. 4 | // See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | #ifndef FUZZ_H_INCLUDED 7 | #define FUZZ_H_INCLUDED 8 | 9 | #include 10 | #include 11 | 12 | extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size); 13 | 14 | #endif // ifndef FUZZ_H_INCLUDED 15 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/cleantests.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | """Removes all files created during testing.""" 7 | 8 | import glob 9 | import os 10 | 11 | paths = [] 12 | for pattern in [ '*.actual', '*.actual-rewrite', '*.rewrite', '*.process-output' ]: 13 | paths += glob.glob('data/' + pattern) 14 | 15 | for path in paths: 16 | os.unlink(path) 17 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/fail_invalid_quote.json: -------------------------------------------------------------------------------- 1 | {'//this is bad JSON.'} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/fail_test_array_01.json: -------------------------------------------------------------------------------- 1 | [ 1 2 3] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/fail_test_array_02.json: -------------------------------------------------------------------------------- 1 | [1,,] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/fail_test_object_01.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234,, } 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_01.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_01.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_02.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_02.json: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_03.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]=2 4 | .[2]=3 5 | .[3]=4 6 | .[4]=5 7 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_03.json: -------------------------------------------------------------------------------- 1 | [ 1, 2 , 3,4,5] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_04.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | .[1]="abc" 4 | .[2]=12.3 5 | .[3]=-4 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_04.json: -------------------------------------------------------------------------------- 1 | [1, "abc" , 12.3, -4] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_05.json: -------------------------------------------------------------------------------- 1 | [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_06.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" 3 | .[1]="bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb" 4 | .[2]="ccccccccccccccccccccccc" 5 | .[3]="dddddddddddddddddddddddddddddddddddddddddddddddddddd" 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_array_06.json: -------------------------------------------------------------------------------- 1 | [ "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", 2 | "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", 3 | "ccccccccccccccccccccccc", 4 | "dddddddddddddddddddddddddddddddddddddddddddddddddddd" ] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_01.expected: -------------------------------------------------------------------------------- 1 | .=123456789 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_01.json: -------------------------------------------------------------------------------- 1 | 0123456789 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_02.expected: -------------------------------------------------------------------------------- 1 | .=-123456789 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_02.json: -------------------------------------------------------------------------------- 1 | -0123456789 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_03.expected: -------------------------------------------------------------------------------- 1 | .=1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_03.json: -------------------------------------------------------------------------------- 1 | 1.2345678 2 | 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_04.expected: -------------------------------------------------------------------------------- 1 | .="abcdef" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_04.json: -------------------------------------------------------------------------------- 1 | "abcdef" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_05.expected: -------------------------------------------------------------------------------- 1 | .=null 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_05.json: -------------------------------------------------------------------------------- 1 | null 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_06.expected: -------------------------------------------------------------------------------- 1 | .=true 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_06.json: -------------------------------------------------------------------------------- 1 | true 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_07.expected: -------------------------------------------------------------------------------- 1 | .=false 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_07.json: -------------------------------------------------------------------------------- 1 | false 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_08.expected: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | .=null 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_08.json: -------------------------------------------------------------------------------- 1 | // C++ style comment 2 | null 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_09.expected: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | .=null 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_basic_09.json: -------------------------------------------------------------------------------- 1 | /* C style comment 2 | */ 3 | null 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_00.expected: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | .=[] 3 | // Comment within array 4 | .[0]="one-element" 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_00.json: -------------------------------------------------------------------------------- 1 | // Comment for array 2 | [ 3 | // Comment within array 4 | "one-element" 5 | ] 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | // Comment for array 3 | .test=[] 4 | // Comment within array 5 | .test[0]={} 6 | .test[0].a="aaa" 7 | .test[1]={} 8 | .test[1].b="bbb" 9 | .test[2]={} 10 | .test[2].c="ccc" 11 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "test": 3 | // Comment for array 4 | [ 5 | // Comment within array 6 | { "a" : "aaa" }, // Comment for a 7 | { "b" : "bbb" }, // Comment for b 8 | { "c" : "ccc" } // Comment for c 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | .c-test={} 6 | .c-test.a=1 7 | /* Internal comment c-style */ 8 | .c-test.b=2 9 | // C++-style comment 10 | .cpp-test={} 11 | // Multiline comment cpp-style 12 | // Second line 13 | .cpp-test.c=3 14 | // Comment before double 15 | .cpp-test.d=4.1 16 | // Comment before string 17 | .cpp-test.e="e-string" 18 | // Comment before true 19 | .cpp-test.f=true 20 | // Comment before false 21 | .cpp-test.g=false 22 | // Comment before null 23 | .cpp-test.h=null 24 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_comment_02.json: -------------------------------------------------------------------------------- 1 | { 2 | /* C-style comment 3 | 4 | C-style-2 comment */ 5 | "c-test" : { 6 | "a" : 1, 7 | /* Internal comment c-style */ 8 | "b" : 2 9 | }, 10 | // C++-style comment 11 | "cpp-test" : { 12 | // Multiline comment cpp-style 13 | // Second line 14 | "c" : 3, 15 | // Comment before double 16 | "d" : 4.1, 17 | // Comment before string 18 | "e" : "e-string", 19 | // Comment before true 20 | "f" : true, 21 | // Comment before false 22 | "g" : false, 23 | // Comment before null 24 | "h" : null 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_complex_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute=[] 3 | .attribute[0]="random" 4 | .attribute[1]="short" 5 | .attribute[2]="bold" 6 | .attribute[3]=12 7 | .attribute[4]={} 8 | .attribute[4].height=7 9 | .attribute[4].width=64 10 | .count=1234 11 | .name={} 12 | .name.aka="T.E.S.T." 13 | .name.id=123987 14 | .test={} 15 | .test.1={} 16 | .test.1.2={} 17 | .test.1.2.3={} 18 | .test.1.2.3.coord=[] 19 | .test.1.2.3.coord[0]=1 20 | .test.1.2.3.coord[1]=2 21 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_complex_01.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : { "aka" : "T.E.S.T.", "id" : 123987 }, 4 | "attribute" : [ 5 | "random", 6 | "short", 7 | "bold", 8 | 12, 9 | { "height" : 7, "width" : 64 } 10 | ], 11 | "test": { "1" : 12 | { "2" : 13 | { "3" : { "coord" : [ 1,2] } 14 | } 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_01.expected: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | .=2147483647 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_01.json: -------------------------------------------------------------------------------- 1 | // Max signed integer 2 | 2147483647 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_02.expected: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | .=-2147483648 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_02.json: -------------------------------------------------------------------------------- 1 | // Min signed integer 2 | -2147483648 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_03.expected: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | .=4294967295 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_03.json: -------------------------------------------------------------------------------- 1 | // Max unsigned integer 2 | 4294967295 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_04.expected: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | .=0 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_04.json: -------------------------------------------------------------------------------- 1 | // Min unsigned integer 2 | 0 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_05.expected: -------------------------------------------------------------------------------- 1 | .=1 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_05.json: -------------------------------------------------------------------------------- 1 | 1 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_06_64bits.expected: -------------------------------------------------------------------------------- 1 | .=9223372036854775808 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_06_64bits.json: -------------------------------------------------------------------------------- 1 | 9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_07_64bits.expected: -------------------------------------------------------------------------------- 1 | .=-9223372036854775808 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_07_64bits.json: -------------------------------------------------------------------------------- 1 | -9223372036854775808 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_08_64bits.expected: -------------------------------------------------------------------------------- 1 | .=18446744073709551615 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_integer_08_64bits.json: -------------------------------------------------------------------------------- 1 | 18446744073709551615 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_01.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_01.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_02.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_02.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234 } 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_03.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .attribute="random" 3 | .count=1234 4 | .name="test" 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_03.json: -------------------------------------------------------------------------------- 1 | { 2 | "count" : 1234, 3 | "name" : "test", 4 | "attribute" : "random" 5 | } 6 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_04.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .=1234 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_object_04.json: -------------------------------------------------------------------------------- 1 | { 2 | "" : 1234 3 | } 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_preserve_comment_01.expected: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | .={} 5 | .first=1 6 | /* Comment before 'second' 7 | */ 8 | .second=2 9 | /* A comment at 10 | the end of the file. 11 | */ 12 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_preserve_comment_01.json: -------------------------------------------------------------------------------- 1 | /* A comment 2 | at the beginning of the file. 3 | */ 4 | { 5 | "first" : 1, // comment after 'first' on the same line 6 | 7 | /* Comment before 'second' 8 | */ 9 | "second" : 2 10 | } 11 | 12 | /* A comment at 13 | the end of the file. 14 | */ 15 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_01.expected: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | .=8589934592 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_01.json: -------------------------------------------------------------------------------- 1 | // 2^33 => out of integer range, switch to double 2 | 8589934592 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_02.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_02.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_03.expected: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | .=-4294967295 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_03.json: -------------------------------------------------------------------------------- 1 | // -2^32 => out of signed integer range, switch to double 2 | -4294967295 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_04.expected: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | .=1.2345678 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_04.json: -------------------------------------------------------------------------------- 1 | // 1.2345678 2 | 12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_05.expected: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | .=1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_05.json: -------------------------------------------------------------------------------- 1 | // 1234567.8 2 | 0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_06.expected: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | .=-1.2345678 3 | 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_06.json: -------------------------------------------------------------------------------- 1 | // -1.2345678 2 | -12345678e-7 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_07.expected: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | .=-1234567.8 3 | 4 | 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_07.json: -------------------------------------------------------------------------------- 1 | // -1234567.8 2 | -0.12345678e7 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_08.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=4300000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_08.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit integer range, switch to double in 32-bit mode. Length the 2 | // same as UINT_MAX in base 10 and digit less than UINT_MAX's last digit in 3 | // order to catch a bug in the parsing code. 4 | 4300000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_09.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | .=1.9e+19 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_09.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit integer range, switch to double in all modes. Length the same 2 | // as ULONG_MAX in base 10 and digit less than ULONG_MAX's last digit in order 3 | // to catch a bug in the parsing code. 4 | 19000000000000000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_10.expected: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-2200000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_10.json: -------------------------------------------------------------------------------- 1 | // Out of 32-bit signed integer range, switch to double in all modes. Length 2 | // the same as INT_MIN in base 10 and digit less than INT_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -2200000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_11.expected: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | .=-9.3e+18 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_11.json: -------------------------------------------------------------------------------- 1 | // Out of 64-bit signed integer range, switch to double in all modes. Length 2 | // the same as LONG_MIN in base 10 and digit less than LONG_MIN's last digit in 3 | // order to catch a bug in the parsing code. 4 | -9300000000000000001 5 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_12.expected: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | .=1.844674407370955e+19 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_12.json: -------------------------------------------------------------------------------- 1 | // 2^64 -> switch to double. 2 | 18446744073709551616 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_13.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=-inf 3 | .[1]=inf 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_real_13.json: -------------------------------------------------------------------------------- 1 | [-1e+9999, 1e+9999] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_01.expected: -------------------------------------------------------------------------------- 1 | .="!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_01.json: -------------------------------------------------------------------------------- 1 | "!\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_03.expected: -------------------------------------------------------------------------------- 1 | .="http://jsoncpp.sourceforge.net/" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_03.json: -------------------------------------------------------------------------------- 1 | "http:\/\/jsoncpp.sourceforge.net\/" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_04.expected: -------------------------------------------------------------------------------- 1 | .=""abc\def"" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_04.json: -------------------------------------------------------------------------------- 1 | "\"abc\\def\"" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_05.expected: -------------------------------------------------------------------------------- 1 | .="\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_05.json: -------------------------------------------------------------------------------- 1 | "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_01.expected: -------------------------------------------------------------------------------- 1 | .="a" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_01.json: -------------------------------------------------------------------------------- 1 | "\u0061" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_02.expected: -------------------------------------------------------------------------------- 1 | .="¢" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_02.json: -------------------------------------------------------------------------------- 1 | "\u00A2" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_03.expected: -------------------------------------------------------------------------------- 1 | .="€" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_03.json: -------------------------------------------------------------------------------- 1 | "\u20AC" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_04.expected: -------------------------------------------------------------------------------- 1 | .="𝄞" 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_04.json: -------------------------------------------------------------------------------- 1 | "\uD834\uDD1E" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_05.expected: -------------------------------------------------------------------------------- 1 | .="Zażółć gęślą jaźń" 2 | 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/legacy_test_string_unicode_05.json: -------------------------------------------------------------------------------- 1 | "Zażółć gęślą jaźń" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/test_array_08.expected: -------------------------------------------------------------------------------- 1 | .=[] 2 | .[0]=1 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/test_array_08.json: -------------------------------------------------------------------------------- 1 | [1,] 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/test_object_05.expected: -------------------------------------------------------------------------------- 1 | .={} 2 | .count=1234 3 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/data/test_object_05.json: -------------------------------------------------------------------------------- 1 | { "count" : 1234, } 2 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/generate_expected.py: -------------------------------------------------------------------------------- 1 | # Copyright 2007 Baptiste Lepilleur and The JsonCpp Authors 2 | # Distributed under MIT license, or public domain if desired and 3 | # recognized in your jurisdiction. 4 | # See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE 5 | 6 | from __future__ import print_function 7 | import glob 8 | import os.path 9 | for path in glob.glob('*.json'): 10 | text = file(path,'rt').read() 11 | target = os.path.splitext(path)[0] + '.expected' 12 | if os.path.exists(target): 13 | print('skipping:', target) 14 | else: 15 | print('creating:', target) 16 | file(target,'wt').write(text) 17 | 18 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail1.json: -------------------------------------------------------------------------------- 1 | "A JSON payload should be an object or array, not a string." -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail10.json: -------------------------------------------------------------------------------- 1 | {"Extra value after close": true} "misplaced quoted value" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail11.json: -------------------------------------------------------------------------------- 1 | {"Illegal expression": 1 + 2} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail12.json: -------------------------------------------------------------------------------- 1 | {"Illegal invocation": alert()} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail13.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot have leading zeroes": 013} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail14.json: -------------------------------------------------------------------------------- 1 | {"Numbers cannot be hex": 0x14} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail15.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \x15"] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail16.json: -------------------------------------------------------------------------------- 1 | [\naked] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail17.json: -------------------------------------------------------------------------------- 1 | ["Illegal backslash escape: \017"] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail18.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail19.json: -------------------------------------------------------------------------------- 1 | {"Missing colon" null} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail2.json: -------------------------------------------------------------------------------- 1 | ["Unclosed array" -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail20.json: -------------------------------------------------------------------------------- 1 | {"Double colon":: null} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail21.json: -------------------------------------------------------------------------------- 1 | {"Comma instead of colon", null} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail22.json: -------------------------------------------------------------------------------- 1 | ["Colon instead of comma": false] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail23.json: -------------------------------------------------------------------------------- 1 | ["Bad value", truth] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail24.json: -------------------------------------------------------------------------------- 1 | ['single quote'] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail25.json: -------------------------------------------------------------------------------- 1 | [" tab character in string "] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail26.json: -------------------------------------------------------------------------------- 1 | ["tab\ character\ in\ string\ "] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail27.json: -------------------------------------------------------------------------------- 1 | ["line 2 | break"] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail28.json: -------------------------------------------------------------------------------- 1 | ["line\ 2 | break"] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail29.json: -------------------------------------------------------------------------------- 1 | [0e] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail3.json: -------------------------------------------------------------------------------- 1 | {unquoted_key: "keys must be quoted"} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail30.json: -------------------------------------------------------------------------------- 1 | [0e+] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail31.json: -------------------------------------------------------------------------------- 1 | [0e+-1] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail32.json: -------------------------------------------------------------------------------- 1 | {"Comma instead if closing brace": true, -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail33.json: -------------------------------------------------------------------------------- 1 | ["mismatch"} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail4.json: -------------------------------------------------------------------------------- 1 | ["extra comma",] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail5.json: -------------------------------------------------------------------------------- 1 | ["double extra comma",,] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail6.json: -------------------------------------------------------------------------------- 1 | [ , "<-- missing value"] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail7.json: -------------------------------------------------------------------------------- 1 | ["Comma after the close"], -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail8.json: -------------------------------------------------------------------------------- 1 | ["Extra close"]] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/fail9.json: -------------------------------------------------------------------------------- 1 | {"Extra comma": true,} -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/pass2.json: -------------------------------------------------------------------------------- 1 | [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]] -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/pass3.json: -------------------------------------------------------------------------------- 1 | { 2 | "JSON Test Pattern pass3": { 3 | "The outermost value": "must be an object or array.", 4 | "In this test": "It is an object." 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/test/jsonchecker/readme.txt: -------------------------------------------------------------------------------- 1 | Test suite from http://json.org/JSON_checker/. 2 | 3 | If the JSON_checker is working correctly, it must accept all of the pass*.json files and reject all of the fail*.json files. 4 | -------------------------------------------------------------------------------- /deps/3rd/jsoncpp/version.in: -------------------------------------------------------------------------------- 1 | @JSONCPP_VERSION@ 2 | -------------------------------------------------------------------------------- /deps/3rd/libevent/.mailmap: -------------------------------------------------------------------------------- 1 | # name -> email 2 | Azat Khuzhin 3 | yuangongji 4 | 5 | # primary email -> alias 6 | 7 | yuangongji <82787816@qq.com> 8 | -------------------------------------------------------------------------------- /deps/3rd/libevent/WIN32-Code/nmake/evconfig-private.h: -------------------------------------------------------------------------------- 1 | #if !defined(EVENT_EVCONFIG__PRIVATE_H_) && !defined(__MINGW32__) 2 | #define EVENT_EVCONFIG__PRIVATE_H_ 3 | 4 | /* Nothing to see here. Move along. */ 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /deps/3rd/libevent/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | MAKE=make 4 | if command -v gmake >/dev/null 2>/dev/null; then 5 | MAKE=gmake 6 | fi 7 | $MAKE maintainer-clean >/dev/null 2>/dev/null 8 | 9 | if [ -x "`which autoreconf 2>/dev/null`" ] ; then 10 | exec autoreconf -ivf 11 | fi 12 | 13 | LIBTOOLIZE=libtoolize 14 | SYSNAME=`uname` 15 | if [ "x$SYSNAME" = "xDarwin" ] ; then 16 | LIBTOOLIZE=glibtoolize 17 | fi 18 | aclocal -I m4 && \ 19 | autoheader && \ 20 | $LIBTOOLIZE && \ 21 | autoconf && \ 22 | automake --add-missing --force-missing --copy 23 | -------------------------------------------------------------------------------- /deps/3rd/libevent/cmake/AddCompilerFlags.cmake: -------------------------------------------------------------------------------- 1 | include(CheckCCompilerFlag) 2 | 3 | macro(add_compiler_flags) 4 | foreach(flag ${ARGN}) 5 | string(REGEX REPLACE "[-.+/:= ]" "_" _flag_esc "${flag}") 6 | 7 | check_c_compiler_flag("${flag}" check_c_compiler_flag_${_flag_esc}) 8 | 9 | if (check_c_compiler_flag_${_flag_esc}) 10 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}") 11 | endif() 12 | endforeach() 13 | endmacro() 14 | -------------------------------------------------------------------------------- /deps/3rd/libevent/cmake/CheckFileOffsetBits.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define KB ((off_t)1024) 4 | #define MB ((off_t)1024 * KB) 5 | #define GB ((off_t)1024 * MB) 6 | #define TB ((off_t)1024 * GB) 7 | int t2[(((64 * GB -1) % 671088649) == 268434537) 8 | && (((TB - (64 * GB -1) + 255) % 1792151290) == 305159546)? 1: -1]; 9 | 10 | int main() 11 | { 12 | ; 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /deps/3rd/libevent/cmake/CheckFunctionKeywords.cmake: -------------------------------------------------------------------------------- 1 | include(CheckCSourceCompiles) 2 | 3 | macro(check_function_keywords _wordlist) 4 | set(${_result} "") 5 | foreach(flag ${_wordlist}) 6 | string(REGEX REPLACE "[-+/ ()]" "_" flagname "${flag}") 7 | string(TOUPPER "${flagname}" flagname) 8 | set(have_flag "HAVE_${flagname}") 9 | check_c_source_compiles("${flag} void func(); void func() { } int main() { func(); return 0; }" ${have_flag}) 10 | if(${have_flag} AND NOT ${_result}) 11 | set(${_result} "${flag}") 12 | endif(${have_flag} AND NOT ${_result}) 13 | endforeach(flag) 14 | endmacro(check_function_keywords) 15 | -------------------------------------------------------------------------------- /deps/3rd/libevent/cmake/CheckPrototypeDefinition.c.in: -------------------------------------------------------------------------------- 1 | @CHECK_PROTOTYPE_DEFINITION_HEADER@ 2 | 3 | static void cmakeRequireSymbol(int dummy, ...) { 4 | (void) dummy; 5 | } 6 | 7 | static void checkSymbol(void) { 8 | #ifndef @CHECK_PROTOTYPE_DEFINITION_SYMBOL@ 9 | cmakeRequireSymbol(0, &@CHECK_PROTOTYPE_DEFINITION_SYMBOL@); 10 | #endif 11 | } 12 | 13 | @CHECK_PROTOTYPE_DEFINITION_PROTO@ { 14 | return @CHECK_PROTOTYPE_DEFINITION_RETURN@; 15 | } 16 | 17 | #ifdef __CLASSIC_C__ 18 | int main() { 19 | int ac; 20 | char*av[]; 21 | #else 22 | int main(int ac, char *av[]) { 23 | #endif 24 | checkSymbol(); 25 | if (ac > 1000) { 26 | return *av[0]; 27 | } 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /deps/3rd/libevent/cmake/LibeventConfigVersion.cmake.in: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION "@EVENT_PACKAGE_VERSION@") 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /deps/3rd/libevent/extra/abi-check/libevent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Name": "libevent", 3 | "Title": "Libevent", 4 | "SourceUrl": "https://github.com/libevent/libevent/tags", 5 | "Git": "https://github.com/libevent/libevent.git", 6 | "Maintainer": "Nick Mathewson, Azat Khuzhin and Niels Provos", 7 | "MaintainerUrl": "https://libevent.org", 8 | "BuildSystem": "Autotools", 9 | "HeadersDiff": "On", 10 | "Package": "release-", 11 | "ReleasePattern": "\A([\d\-\.\_]+)(|\-beta|\-rc|\-stable)\Z", 12 | } 13 | -------------------------------------------------------------------------------- /deps/3rd/libevent/extra/lsan.supp: -------------------------------------------------------------------------------- 1 | # TODO: temporary, until tests itself will be fixed 2 | leak:libcrypto.so 3 | leak:libssl.so 4 | -------------------------------------------------------------------------------- /deps/3rd/libevent/extra/tsan.supp: -------------------------------------------------------------------------------- 1 | # https://github.com/libevent/libevent/issues/777 2 | race:event_debug_mode_too_late 3 | -------------------------------------------------------------------------------- /deps/3rd/libevent/libevent.pc.in: -------------------------------------------------------------------------------- 1 | #libevent pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: libevent 9 | Description: libevent is an asynchronous notification event loop library 10 | Version: @VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} -levent 14 | Libs.private: @LIBS@ 15 | Cflags: -I${includedir} 16 | 17 | -------------------------------------------------------------------------------- /deps/3rd/libevent/libevent_core.pc.in: -------------------------------------------------------------------------------- 1 | #libevent pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: libevent_core 9 | Description: libevent_core 10 | Version: @VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} -levent_core 14 | Libs.private: @LIBS@ 15 | Cflags: -I${includedir} 16 | 17 | -------------------------------------------------------------------------------- /deps/3rd/libevent/libevent_extra.pc.in: -------------------------------------------------------------------------------- 1 | #libevent pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: libevent_extra 9 | Description: libevent_extra 10 | Version: @VERSION@ 11 | Requires: 12 | Conflicts: 13 | Libs: -L${libdir} -levent_extra 14 | Libs.private: @LIBS@ 15 | Cflags: -I${includedir} 16 | 17 | -------------------------------------------------------------------------------- /deps/3rd/libevent/libevent_openssl.pc.in: -------------------------------------------------------------------------------- 1 | #libevent pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: libevent_openssl 9 | Description: libevent_openssl adds openssl-based TLS support to libevent 10 | Version: @VERSION@ 11 | Requires: libevent 12 | Conflicts: 13 | Libs: -L${libdir} -levent_openssl 14 | Libs.private: @LIBS@ @OPENSSL_LIBS@ 15 | Cflags: -I${includedir} @OPENSSL_INCS@ 16 | 17 | -------------------------------------------------------------------------------- /deps/3rd/libevent/libevent_pthreads.pc.in: -------------------------------------------------------------------------------- 1 | #libevent pkg-config source file 2 | 3 | prefix=@prefix@ 4 | exec_prefix=@exec_prefix@ 5 | libdir=@libdir@ 6 | includedir=@includedir@ 7 | 8 | Name: libevent_pthreads 9 | Description: libevent_pthreads adds pthreads-based threading support to libevent 10 | Version: @VERSION@ 11 | Requires: libevent 12 | Conflicts: 13 | Libs: -L${libdir} -levent_pthreads 14 | Libs.private: @LIBS@ @PTHREAD_LIBS@ 15 | Cflags: -I${includedir} @PTHREAD_CFLAGS@ 16 | 17 | -------------------------------------------------------------------------------- /deps/3rd/libevent/m4/ac_backport_259_ssizet.m4: -------------------------------------------------------------------------------- 1 | AN_IDENTIFIER([ssize_t], [AC_TYPE_SSIZE_T]) 2 | AC_DEFUN([AC_TYPE_SSIZE_T], [AC_CHECK_TYPE(ssize_t, int)]) 3 | 4 | -------------------------------------------------------------------------------- /deps/3rd/libevent/strlcpy-internal.h: -------------------------------------------------------------------------------- 1 | #ifndef STRLCPY_INTERNAL_H_INCLUDED_ 2 | #define STRLCPY_INTERNAL_H_INCLUDED_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "event2/event-config.h" 9 | #include "event2/visibility.h" 10 | #include "evconfig-private.h" 11 | 12 | #ifndef EVENT__HAVE_STRLCPY 13 | #include 14 | EVENT2_EXPORT_SYMBOL 15 | size_t event_strlcpy_(char *dst, const char *src, size_t siz); 16 | #define strlcpy event_strlcpy_ 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif 24 | 25 | -------------------------------------------------------------------------------- /deps/3rd/libevent/test-export/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1.2) 2 | if (POLICY CMP0074) 3 | cmake_policy(SET CMP0074 NEW) 4 | endif() 5 | project(verify) 6 | # set(CMAKE_VERBOSE_MAKEFILE 1) 7 | if(NOT ${EVENT__CODE_COMPONENT} STREQUAL "") 8 | string(TOUPPER ${EVENT__CODE_COMPONENT} _UPPER_COMPONENT) 9 | endif() 10 | find_package(Libevent 2.1.0 REQUIRED COMPONENTS ${EVENT__LINK_COMPONENT}) 11 | add_definitions(-DEVENT_EXPORT_TEST_COMPONENT_${_UPPER_COMPONENT}) 12 | add_executable(test-export test-export.c) 13 | target_link_libraries(test-export ${LIBEVENT_LIBRARIES}) 14 | enable_testing() 15 | add_test(test-export test-export) 16 | -------------------------------------------------------------------------------- /deps/3rd/libevent/test/regress.rpc: -------------------------------------------------------------------------------- 1 | /* tests data packing and unpacking */ 2 | 3 | struct msg { 4 | string /* sender */ from_name = 1; /* be verbose */ 5 | string to_name = 2; 6 | optional struct[kill] attack = 3; 7 | array struct[run] run = 4; 8 | } 9 | 10 | struct kill { 11 | string weapon = 0x10121; 12 | string action = 2; 13 | array int how_often = 3; 14 | } 15 | 16 | struct run { 17 | string how = 1; 18 | optional bytes some_bytes = 2; 19 | 20 | bytes fixed_bytes[24] = 3; 21 | array string notes = 4; 22 | 23 | optional int64 large_number = 5; 24 | array int other_numbers = 6; 25 | } 26 | -------------------------------------------------------------------------------- /deps/3rd/libevent/test/tinytest_local.h: -------------------------------------------------------------------------------- 1 | 2 | #include "util-internal.h" 3 | #ifdef _WIN32 4 | #include 5 | #endif 6 | 7 | #include "event2/util.h" 8 | 9 | #ifdef snprintf 10 | #undef snprintf 11 | #endif 12 | #define snprintf evutil_snprintf 13 | -------------------------------------------------------------------------------- /deps/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /deps/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | ADD_SUBDIRECTORY(common) 3 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/common.dir/cmake_clean_target.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../../lib/libcommon.a" 3 | ) 4 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/common.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for common. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/common.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for common. 3 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/common.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for common. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/common.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/deps/common 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /deps/common/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 24 2 | -------------------------------------------------------------------------------- /docker/README.md: -------------------------------------------------------------------------------- 1 | # 构建 2 | docker-compose build 3 | 4 | # 启动容器 5 | docker-compose up -d 6 | 7 | -d 表示后台启动 8 | 9 | # 进入容器 10 | docker exec -it miniob bash 11 | -------------------------------------------------------------------------------- /docker/bin/starter-sshd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HOST_KEY_DIR=/etc/ssh/ssh_host_rsa_key 4 | 5 | if [ ! -f "${HOST_KEY_DIR}" ]; then 6 | ssh-keygen -A 7 | fi 8 | /usr/sbin/sshd 9 | 10 | echo sshd started! 11 | -------------------------------------------------------------------------------- /docker/bin/starter.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ls -lld $PWD/*starter-* | awk '{print $9;}' | xargs -L 1 bash -c 3 | echo 'starter scripts run successfully!' 4 | tail -f /dev/null 5 | -------------------------------------------------------------------------------- /docs/book.toml: -------------------------------------------------------------------------------- 1 | [book] 2 | language = "cn" 3 | multilingual = false 4 | src = "src" 5 | title = "MiniOB" 6 | 7 | [output.html] 8 | git-repository-url = "https://github.com/oceanbase/miniob" 9 | 10 | [output.html.fold] 11 | enable = true 12 | level = 1 13 | 14 | [output.html.code] 15 | -------------------------------------------------------------------------------- /docs/src/design/images/bplus-tree.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/bplus-tree.jpg -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-deletion-migration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-deletion-migration.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-deletion-move.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-deletion-move.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-deletion-move2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-deletion-move2.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-deletion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-deletion.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-index-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-index-file.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-internal-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-internal-node.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-internal-struct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-internal-struct.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-internal-struct2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-internal-struct2.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-leaf-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-leaf-node.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-leaf-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-leaf-page.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-bplus-tree-pages-in-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-bplus-tree-pages-in-file.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-buffer-pool-directory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-buffer-pool-directory.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-buffer-pool-implementation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-buffer-pool-implementation.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-buffer-pool-page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-buffer-pool-page.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-buffer-pool-record.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-buffer-pool-record.png -------------------------------------------------------------------------------- /docs/src/design/images/miniob-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/miniob-overview.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-auth.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-command-packet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-command-packet.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-error-packet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-error-packet.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-flow.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-handshake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-handshake.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-ok-eof-packet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-ok-eof-packet.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-ok-packet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-ok-packet.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-packet-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-packet-flow.png -------------------------------------------------------------------------------- /docs/src/design/images/mysql-result-set-packet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/design/images/mysql-result-set-packet.png -------------------------------------------------------------------------------- /docs/src/design/introduction.md: -------------------------------------------------------------------------------- 1 | # 功能模块设计说明 2 | 3 | - [存储实现](./miniob-buffer-pool.md) 4 | - [事务](./miniob-transaction.md) 5 | - [CLog](./miniob-clog.md) 6 | - [SQL Parser](./miniob-sql-parser.md) 7 | - [如何新增支持一种新类型SQL](./miniob-how-to-add-new-sql.md) 8 | - [表达式解析](./miniob-sql-expression.md) 9 | - [MySQL Protocol](./miniob-mysql-protocol.md) 10 | - [B+树实现](./miniob-bplus-tree.md) 11 | - [并发B+树实现](./miniob-bplus-tree-concurrency.md) 12 | - [Doxy文档](./doxy/html/index.html) -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_init.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_init.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_init_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_init_output.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_others.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_others.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_output.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_run_build_task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_run_build_task.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_build_run_task.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_build_run_task.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_dashboard.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_breakpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_breakpoint.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_console.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_debugging_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_debugging_view.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_start.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_take_breakpoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_take_breakpoint.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_debug_terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_debug_terminal.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_fork_repo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_fork_repo.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_auth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_auth.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_auth1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_auth1.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_commit.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_edit_permissions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_edit_permissions.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_operations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_operations.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_pre_edit_permissions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_pre_edit_permissions.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_git_push_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_git_push_error.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_gitpod_new_workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_gitpod_new_workspace.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_ides.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_ides.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_miniob_workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_miniob_workspace.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_open_gitpod.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_open_gitpod.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_open_miniob.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_open_miniob.jpg -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_vscode_homepage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_vscode_homepage.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/dev_by_gitpod_workspace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/dev_by_gitpod_workspace.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_add_new_ssh_host.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_add_new_ssh_host.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_config_file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_config_file.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_container_started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_container_started.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_cpp_extensions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_cpp_extensions.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_debug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_debug.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_kit_for_miniob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_kit_for_miniob.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_open_folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_open_folder.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_pwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_pwd.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_remote_ssh_connect_cmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_remote_ssh_connect_cmd.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_remote_ssh_extension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_remote_ssh_extension.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_server_started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_server_started.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vsc_ssh_connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vsc_ssh_connect.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_C++_plugs_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_C++_plugs_detail.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_break_point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_break_point.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_build_ouput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_build_ouput.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_cmake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_cmake.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_debug_miniob.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_debug_miniob.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/vscode_search_plugs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/vscode_search_plugs.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-enable-disable-functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-enable-disable-functions.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-enable-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-enable-service.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-functions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-functions.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-search-service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-search-service.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-terminal-mutli-shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-terminal-mutli-shell.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-terminal.png -------------------------------------------------------------------------------- /docs/src/dev-env/images/windows-wsl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/dev-env/images/windows-wsl.png -------------------------------------------------------------------------------- /docs/src/dev-env/introduction.md: -------------------------------------------------------------------------------- 1 | # 搭建开发环境 2 | 3 | MiniOB 当前可以在Linux/MacOS上编译,所以开发环境最好是Linux或者MacOS。Windows上可以使用WSL2,或者使用Docker。这里有几个文档,大家可以参考并选择自己的开发环境。另外,很多同学喜欢使用visual studio code开发,MiniOB 中也将vscode的一些配置文件放在了仓库中,比如 .vscode/tasks.json 和 .vscode/launch.json,可以参考使用。 4 | 5 | - [使用 GitPod 开发 MiniOB](dev_by_gitpod.md) 6 | - [开发环境搭建(本地调试, 适用 Linux 和 Mac)](how_to_dev_miniob_by_vscode.md) 7 | - [开发环境搭建(远程调试, 适用于 Window, Linux 和 Mac)](how_to_dev_in_docker_container_by_vscode.md) 8 | - [Windows 使用Docker开发MiniOB](how_to_dev_miniob_by_docker_on_windows.md) 9 | - [使用Docker开发MiniOB](how-to-dev-using-docker.md) 10 | - [MiniOB 调试](./dev-env/miniob-how-to-debug.md) -------------------------------------------------------------------------------- /docs/src/game/images/add-members.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/game/images/add-members.png -------------------------------------------------------------------------------- /docs/src/game/images/create-repo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/game/images/create-repo.png -------------------------------------------------------------------------------- /docs/src/game/images/create-repo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/game/images/create-repo2.png -------------------------------------------------------------------------------- /docs/src/game/images/invite-users.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/game/images/invite-users.png -------------------------------------------------------------------------------- /docs/src/game/images/reporter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/game/images/reporter.png -------------------------------------------------------------------------------- /docs/src/images/miniob-introduction-running-the-client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/images/miniob-introduction-running-the-client.png -------------------------------------------------------------------------------- /docs/src/images/miniob-introduction-running-the-server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/images/miniob-introduction-running-the-server.png -------------------------------------------------------------------------------- /docs/src/images/miniob-introduction-sql-flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/images/miniob-introduction-sql-flow.png -------------------------------------------------------------------------------- /docs/src/lectures/copyright.md: -------------------------------------------------------------------------------- 1 | # 版权声明 2 | 3 | 本版权声明仅针对《数据库管理系统实现基础讲义》(以下简称“本教材”)的所有内容。 4 | 5 | 1. 本教材刊载的所有内容,包括但不限于文字报道、图片、视频、图表、标志标识、商标、版面设计、专栏目录与名称、内容分类标准等,均受《中华人民共和国著作权法》、《中华人民共和国商标法》、《中华人民共和国专利法》及适用之国际公约中有关著作权、商标权、专利权以及或其它财产所有权法律的保护,相应的版权或许可使用权均属华中科技大学谢美意老师、左琼老师所有。 6 | 2. 凡未经华中科技大学谢美意老师、左琼老师授权,任何媒体、网站及个人不得转载、复制、重制、改动、展示或使用《数据库管理系统实现基础讲义》的局部或全部的内容。如果已转载,请自行删除。同时,我们保留进一步追究相关行为主体的法律责任的权利。 7 | 3. 本教材刊载的所有内容授权给北京奥星贝斯科技有限公司。 8 | 9 | -------------------------------------------------------------------------------- /docs/src/lectures/images/1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/1-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/1.3.1.3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/1.3.1.3-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/1.3.1.3-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/1.3.1.3-2.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-2.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-3.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-4.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-5.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-6.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-7.png -------------------------------------------------------------------------------- /docs/src/lectures/images/2-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/2-8.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-2-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-2-a.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-2-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-2-b.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-2-c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-2-c.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-3-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-3-a.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-3-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-3-b.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-3-c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-3-c.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-4.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-5.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-6-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-6-a.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-6-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-6-b.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-7-a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-7-a.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-7-b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-7-b.png -------------------------------------------------------------------------------- /docs/src/lectures/images/3-7-c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/3-7-c.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-2.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-3.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-4.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-5.png -------------------------------------------------------------------------------- /docs/src/lectures/images/4-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/4-6.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.2.1.1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.2.1.1-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.2.1.1-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.2.1.1-2.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.2.1.1-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.2.1.1-3.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.2.1.1-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.2.1.1-4.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.2.2.1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.2.2.1-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/5.3.1.1-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/5.3.1.1-4.png -------------------------------------------------------------------------------- /docs/src/lectures/images/6-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/6-1.png -------------------------------------------------------------------------------- /docs/src/lectures/images/6-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/6-2.png -------------------------------------------------------------------------------- /docs/src/lectures/images/6-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/6-3.png -------------------------------------------------------------------------------- /docs/src/lectures/images/6-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/lectures/images/6-4.png -------------------------------------------------------------------------------- /docs/src/lectures/index.md: -------------------------------------------------------------------------------- 1 | # 数据库管理系统实现基础讲义 2 | 3 | 作者 华中科技大学谢美意 左琼 4 | 5 | [版权声明](copyright.md) 6 | 7 | [第1章 数据库管理系统概述](lecture-1.md) 8 | 9 | [第2章 数据库的存储结构](lecture-2.md) 10 | 11 | [第3章 索引结构](lecture-3.md) 12 | 13 | [第4章 查询处理](lecture-4.md) 14 | 15 | [第5章 查询优化](lecture-5.md) 16 | 17 | [第6章 事务处理](lecture-6.md) 18 | 19 | [参考资料](references.md) 20 | -------------------------------------------------------------------------------- /docs/src/lectures/references.md: -------------------------------------------------------------------------------- 1 | # 参考资料 2 | 3 | 1. 王珊, 萨师煊. 数据库系统概论(第5版). 北京: 高等教育出版社, 2014 4 | 2. Hector Garcia-Mlina, Jeffrey D. Ullman, Jennifer Widom. 杨冬青 等译. 数据库系统实现. 北京: 机械工业出版社, 2010 5 | 3. Abraham Silberschatz, Henry F.Korth, S. Sudarshan. 杨冬青 等译. 数据库系统概念(第6版). 北京: 机械工业出版社, 2012 6 | 4. 李海翔. 数据库查询优化器的艺术原理解析与SQL性能优化. 北京: 机械工业出版社, 2014 7 | 5. [CMU 15445](https://15445.courses.cs.cmu.edu/fall2020/schedule.html) 8 | 9 | -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/docs/src/miniob/db/sys/clog -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/t.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "id", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | }, 11 | { 12 | "len" : 4, 13 | "name" : "age", 14 | "offset" : 4, 15 | "type" : "ints", 16 | "visible" : true 17 | } 18 | ], 19 | "indexes" : null, 20 | "table_id" : 5, 21 | "table_name" : "t" 22 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/t2.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "chars", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 4, 14 | "table_name" : "t2" 15 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/t3.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 5, 14 | "table_name" : "t3" 15 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/test.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 0, 14 | "table_name" : "test" 15 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/test1.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 1, 14 | "table_name" : "test1" 15 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/test2.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 2, 14 | "table_name" : "test2" 15 | } -------------------------------------------------------------------------------- /docs/src/miniob/db/sys/w.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "col", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 3, 14 | "table_name" : "w" 15 | } -------------------------------------------------------------------------------- /miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../../bin/obclient" 3 | "../../bin/obclient.pdb" 4 | "CMakeFiles/obclient.dir/client.cpp.o" 5 | "CMakeFiles/obclient.dir/client.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/obclient.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for obclient. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for obclient. 3 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for obclient. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/obclient.dir/client.cpp.o -o ../../bin/obclient -L/usr/local/lib -Wl,-rpath,/usr/local/lib: ../../lib/libcommon.a -lpthread -ldl 2 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/obclient.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 39 3 | 4 | -------------------------------------------------------------------------------- /src/obclient/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 25 2 | -------------------------------------------------------------------------------- /src/obclient/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/obclient/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../../bin/observer" 3 | "../../bin/observer.pdb" 4 | "CMakeFiles/observer.dir/main.cpp.o" 5 | "CMakeFiles/observer.dir/main.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/observer.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for observer. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for observer. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for observer. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/observer.dir/main.cpp.o -o ../../bin/observer -L/usr/local/lib -Wl,-rpath,/usr/local/lib: ../../lib/libobserver.a ../../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 40 3 | 4 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer_static.dir/cmake_clean_target.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../../lib/libobserver.a" 3 | ) 4 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer_static.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for observer_static. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer_static.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for observer_static. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer_static.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for observer_static. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/observer_static.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /src/observer/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 78 2 | -------------------------------------------------------------------------------- /src/observer/common/util/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/common/util/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/miniob/db/sys/t.table: -------------------------------------------------------------------------------- 1 | { 2 | "fields" : 3 | [ 4 | { 5 | "len" : 4, 6 | "name" : "column0", 7 | "offset" : 0, 8 | "type" : "ints", 9 | "visible" : true 10 | } 11 | ], 12 | "indexes" : null, 13 | "table_id" : 0, 14 | "table_name" : "t" 15 | } -------------------------------------------------------------------------------- /src/observer/net/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/net/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/session/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/session/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/sql/executor/drop_table_executor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "common/rc.h" 4 | 5 | class SQLStageEvent; 6 | 7 | /** 8 | * @brief 删除表的执行器 9 | * @ingroup Executor 10 | */ 11 | class DropTableExecutor 12 | { 13 | public: 14 | DropTableExecutor() = default; 15 | virtual ~DropTableExecutor() = default; 16 | 17 | RC execute(SQLStageEvent *sql_event); 18 | }; -------------------------------------------------------------------------------- /src/observer/sql/executor/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/sql/executor/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/sql/operator/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/sql/operator/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/sql/operator/update_logical_operator.cpp: -------------------------------------------------------------------------------- 1 | #include "sql/operator/update_logical_operator.h" 2 | 3 | UpdateLogicalOperator::UpdateLogicalOperator(Table* table, Value& value, const char* field_name) 4 | : table_(table), value_(value) { 5 | // 复制 field_name 6 | field_name_ = new char[strlen(field_name) + 1]; 7 | strcpy(field_name_, field_name); 8 | } 9 | 10 | -------------------------------------------------------------------------------- /src/observer/sql/optimizer/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/sql/optimizer/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/sql/parser/gen_parser.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | flex --outfile lex_sql.cpp --header-file=lex_sql.h lex_sql.l 3 | `which bison` -d --output yacc_sql.cpp yacc_sql.y 4 | -------------------------------------------------------------------------------- /src/observer/sql/parser/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/sql/parser/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/sql/stmt/drop_table_stmt.cpp: -------------------------------------------------------------------------------- 1 | #include "sql/stmt/drop_table_stmt.h" 2 | #include "event/sql_debug.h" 3 | 4 | RC DropTableStmt::create(Db* db, const DropTableSqlNode& drop_table, Stmt*& stmt) { 5 | stmt = new DropTableStmt(drop_table.relation_name); 6 | sql_debug("drop table statement: table name %s", drop_table.relation_name.c_str()); 7 | return RC::SUCCESS; 8 | } -------------------------------------------------------------------------------- /src/observer/sql/stmt/drop_table_stmt.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | #include "sql/stmt/stmt.h" 7 | 8 | class DropTableStmt : public Stmt { 9 | public: 10 | DropTableStmt(const std::string& table_name) 11 | : table_name_(table_name) {} 12 | virtual ~DropTableStmt() = default; 13 | 14 | StmtType type() const override { return StmtType::DROP_TABLE; } 15 | const std::string& table_name() const { return table_name_; } 16 | static RC create(Db* db, const DropTableSqlNode& drop_table, Stmt*& stmt); 17 | 18 | private: 19 | std::string table_name_; 20 | }; -------------------------------------------------------------------------------- /src/observer/sql/stmt/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/sql/stmt/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/storage/field/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/storage/field/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/storage/index/index_type.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | #include 6 | 7 | enum class IndexType { 8 | IDX_NORMAL, 9 | IDX_UNIQUE 10 | }; 11 | 12 | extern std::unordered_map stringToIndexMap; 13 | 14 | IndexType stringToIndex(const std::string& str); 15 | 16 | std::string indexToString(IndexType index); -------------------------------------------------------------------------------- /src/observer/storage/index/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/storage/index/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/storage/table/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/storage/table/miniob/db/sys/clog -------------------------------------------------------------------------------- /src/observer/storage/trx/miniob/db/sys/clog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/warr99/miniob-test/653c1165b174f2d541713ab1feb347eaf9b49d3f/src/observer/storage/trx/miniob/db/sys/clog -------------------------------------------------------------------------------- /test/case/README.md: -------------------------------------------------------------------------------- 1 | # miniob-test 2 | miniob自动化功能测试 3 | 4 | 运行所有测试用例: 5 | ```bash 6 | python3 miniob_test.py 7 | ``` 8 | 9 | 运行 basic 测试用例 10 | ```bash 11 | python3 miniob_test.py --test-cases=basic 12 | ``` 13 | 14 | > 如果要运行多个测试用例,则在 --test-cases 参数中使用 ',' 分隔写多个即可 15 | 16 | 更多运行方法和参数可以参考 miniob_test.py 17 | 18 | -------------------------------------------------------------------------------- /test/case/result/primary-insert.result: -------------------------------------------------------------------------------- 1 | INITIALIZATION 2 | CREATE TABLE insert_table(id int, t_name char, col1 int, col2 int); 3 | SUCCESS 4 | 5 | 1. INSERT 6 | INSERT INTO insert_table VALUES (1,'N1',1,1); 7 | SUCCESS 8 | INSERT INTO insert_table VALUES (2,'N2',1,1),(3,'N3',2,1); 9 | SUCCESS 10 | 11 | 2. ERROR 12 | INSERT INTO insert_table VALUES (4,'N4',1,1),(1,1,1); 13 | FAILURE 14 | INSERT INTO insert_table VALUES (4,'N4',1,1),(1,1,1,1); 15 | FAILURE 16 | 17 | 3. SELECT 18 | SELECT * FROM insert_table; 19 | 1 | N1 | 1 | 1 20 | 2 | N2 | 1 | 1 21 | 3 | N3 | 2 | 1 22 | ID | T_NAME | COL1 | COL2 23 | -------------------------------------------------------------------------------- /test/case/result/primary-select-meta.result: -------------------------------------------------------------------------------- 1 | INITIALIZATION 2 | CREATE TABLE Select_meta(id int, age int); 3 | SUCCESS 4 | 5 | 1. SELECT FROM A NON-EXISTENT TABLE 6 | select * from no_table; 7 | FAILURE 8 | 9 | 2. SELECT FROM A NON-EXISTENT COLUMN 10 | select home from Select_meta; 11 | FAILURE 12 | select * from Select_meta where home='001'; 13 | FAILURE 14 | -------------------------------------------------------------------------------- /test/case/result/primary-unique.result: -------------------------------------------------------------------------------- 1 | INITIALIZATION 2 | CREATE TABLE unique_table(id int, col1 int, col2 int); 3 | SUCCESS 4 | INSERT INTO unique_table VALUES (1,1,1); 5 | SUCCESS 6 | 7 | 1. UNIQUE TEST 8 | CREATE UNIQUE INDEX index_id on unique_table(id); 9 | SUCCESS 10 | INSERT INTO unique_table VALUES (2,1,1); 11 | SUCCESS 12 | CREATE UNIQUE INDEX index_id on unique_table(id); 13 | FAILURE 14 | INSERT INTO unique_table VALUES (3,2,1); 15 | SUCCESS 16 | INSERT INTO unique_table VALUES (1,2,1); 17 | FAILURE 18 | 19 | 2. SELECT 20 | SELECT * FROM unique_table; 21 | 1 | 1 | 1 22 | 2 | 1 | 1 23 | 3 | 2 | 1 24 | ID | COL1 | COL2 25 | -------------------------------------------------------------------------------- /test/case/test/primary-insert.test: -------------------------------------------------------------------------------- 1 | -- echo initialization 2 | CREATE TABLE insert_table(id int, t_name char, col1 int, col2 int); 3 | 4 | -- echo 1. insert 5 | INSERT INTO insert_table VALUES (1,'N1',1,1); 6 | INSERT INTO insert_table VALUES (2,'N2',1,1),(3,'N3',2,1); 7 | 8 | -- echo 2. error 9 | INSERT INTO insert_table VALUES (4,'N4',1,1),(1,1,1); 10 | INSERT INTO insert_table VALUES (4,'N4',1,1),(1,1,1,1); 11 | 12 | -- echo 3. select 13 | -- sort SELECT * FROM insert_table; -------------------------------------------------------------------------------- /test/case/test/primary-select-meta.test: -------------------------------------------------------------------------------- 1 | -- echo initialization 2 | CREATE TABLE Select_meta(id int, age int); 3 | 4 | -- echo 1. select from a non-existent table 5 | select * from no_table; 6 | 7 | -- echo 2. select from a non-existent column 8 | select home from Select_meta; 9 | select * from Select_meta where home='001'; 10 | -------------------------------------------------------------------------------- /test/case/test/primary-unique.test: -------------------------------------------------------------------------------- 1 | -- echo initialization 2 | CREATE TABLE unique_table(id int, col1 int, col2 int); 3 | INSERT INTO unique_table VALUES (1,1,1); 4 | 5 | -- echo 1. unique test 6 | CREATE UNIQUE INDEX index_id on unique_table(id); 7 | INSERT INTO unique_table VALUES (2,1,1); 8 | CREATE UNIQUE INDEX index_id on unique_table(id); 9 | INSERT INTO unique_table VALUES (3,2,1); 10 | INSERT INTO unique_table VALUES (1,2,1); 11 | 12 | -- echo 2. select 13 | -- sort SELECT * FROM unique_table; -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../../bin/client_performance_test" 3 | "../../bin/client_performance_test.pdb" 4 | "CMakeFiles/client_performance_test.dir/client_performance_test.cpp.o" 5 | "CMakeFiles/client_performance_test.dir/client_performance_test.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/client_performance_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for client_performance_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for client_performance_test. 3 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for client_performance_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/client_performance_test.dir/client_performance_test.cpp.o -o ../../bin/client_performance_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../../lib/libcommon.a -lpthread -ldl ../../lib/libobserver.a ../../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/client_performance_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 6 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /test/perf/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 78 2 | -------------------------------------------------------------------------------- /test/perf/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | #get_filename_component( FileName 3 | # PATH|ABSOLUTE|NAME|EXT|NAME_WE|REALPATH 4 | # [CACHE]) 5 | FILE(GLOB_RECURSE ALL_SRC *.cpp) 6 | # AUX_SOURCE_DIRECTORY 类似功能 7 | FOREACH (F ${ALL_SRC}) 8 | get_filename_component(prjName ${F} NAME_WE) 9 | MESSAGE("Build ${prjName} according to ${F}") 10 | ADD_EXECUTABLE(${prjName} ${F}) 11 | TARGET_LINK_LIBRARIES(${prjName} common pthread dl observer_static) 12 | 13 | ENDFOREACH (F) -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/clog_reader" 3 | "../bin/clog_reader.pdb" 4 | "CMakeFiles/clog_reader.dir/clog_reader_cmd.cpp.o" 5 | "CMakeFiles/clog_reader.dir/clog_reader_cmd.cpp.o.d" 6 | ) 7 | 8 | # Per-language clean rules from dependency scanning. 9 | foreach(lang CXX) 10 | include(CMakeFiles/clog_reader.dir/cmake_clean_${lang}.cmake OPTIONAL) 11 | endforeach() 12 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for clog_reader. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for clog_reader. 3 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for clog_reader. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/clog_reader.dir/clog_reader_cmd.cpp.o -o ../bin/clog_reader -L/usr/local/lib -Wl,-rpath,/usr/local/lib: ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /tools/CMakeFiles/clog_reader.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 7 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /tools/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 78 2 | -------------------------------------------------------------------------------- /tools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_EXECUTABLE(clog_reader) 2 | MESSAGE("Begin to build clog_reader") 3 | 4 | SET(CLOG_READER_SRC clog_reader_cmd.cpp) 5 | 6 | TARGET_SOURCES(clog_reader PRIVATE ${CLOG_READER_SRC}) 7 | TARGET_LINK_LIBRARIES(clog_reader observer_static) 8 | TARGET_INCLUDE_DIRECTORIES(clog_reader PRIVATE ${PROJECT_SOURCE_DIR}/src/observer/) 9 | 10 | # Target 必须在定义 ADD_EXECUTABLE 之后, programs 不受这个限制 11 | # TARGETS和PROGRAMS 的默认权限是OWNER_EXECUTE, GROUP_EXECUTE, 和WORLD_EXECUTE,即755权限, programs 都是处理脚步类 12 | # 类型分为RUNTIME/LIBRARY/ARCHIVE, prog 13 | INSTALL(TARGETS clog_reader RUNTIME DESTINATION bin) 14 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/arithmetic_expression_test" 3 | "../bin/arithmetic_expression_test.pdb" 4 | "CMakeFiles/arithmetic_expression_test.dir/arithmetic_expression_test.cpp.o" 5 | "CMakeFiles/arithmetic_expression_test.dir/arithmetic_expression_test.cpp.o.d" 6 | "arithmetic_expression_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/arithmetic_expression_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for arithmetic_expression_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for arithmetic_expression_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for arithmetic_expression_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/arithmetic_expression_test.dir/arithmetic_expression_test.cpp.o -o ../bin/arithmetic_expression_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/arithmetic_expression_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 1 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/bitmap_test" 3 | "../bin/bitmap_test.pdb" 4 | "CMakeFiles/bitmap_test.dir/bitmap_test.cpp.o" 5 | "CMakeFiles/bitmap_test.dir/bitmap_test.cpp.o.d" 6 | "bitmap_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/bitmap_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for bitmap_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for bitmap_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for bitmap_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/bitmap_test.dir/bitmap_test.cpp.o -o ../bin/bitmap_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bitmap_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 2 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/bp_manager_test" 3 | "../bin/bp_manager_test.pdb" 4 | "CMakeFiles/bp_manager_test.dir/bp_manager_test.cpp.o" 5 | "CMakeFiles/bp_manager_test.dir/bp_manager_test.cpp.o.d" 6 | "bp_manager_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/bp_manager_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for bp_manager_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for bp_manager_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for bp_manager_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/bp_manager_test.dir/bp_manager_test.cpp.o -o ../bin/bp_manager_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bp_manager_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 3 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/bplus_tree_test" 3 | "../bin/bplus_tree_test.pdb" 4 | "CMakeFiles/bplus_tree_test.dir/bplus_tree_test.cpp.o" 5 | "CMakeFiles/bplus_tree_test.dir/bplus_tree_test.cpp.o.d" 6 | "bplus_tree_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/bplus_tree_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for bplus_tree_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for bplus_tree_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for bplus_tree_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/bplus_tree_test.dir/bplus_tree_test.cpp.o -o ../bin/bplus_tree_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/bplus_tree_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 5 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/clog_test" 3 | "../bin/clog_test.pdb" 4 | "CMakeFiles/clog_test.dir/clog_test.cpp.o" 5 | "CMakeFiles/clog_test.dir/clog_test.cpp.o.d" 6 | "clog_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/clog_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for clog_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for clog_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for clog_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/clog_test.dir/clog_test.cpp.o -o ../bin/clog_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/clog_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 8 2 | CMAKE_PROGRESS_2 = 9 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/log_test" 3 | "../bin/log_test.pdb" 4 | "CMakeFiles/log_test.dir/log_test.cpp.o" 5 | "CMakeFiles/log_test.dir/log_test.cpp.o.d" 6 | "log_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/log_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for log_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for log_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for log_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/log_test.dir/log_test.cpp.o -o ../bin/log_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/log_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 34 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/lower_bound_test" 3 | "../bin/lower_bound_test.pdb" 4 | "CMakeFiles/lower_bound_test.dir/lower_bound_test.cpp.o" 5 | "CMakeFiles/lower_bound_test.dir/lower_bound_test.cpp.o.d" 6 | "lower_bound_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/lower_bound_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for lower_bound_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for lower_bound_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for lower_bound_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/lower_bound_test.dir/lower_bound_test.cpp.o -o ../bin/lower_bound_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/lower_bound_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 35 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/md5_test" 3 | "../bin/md5_test.pdb" 4 | "CMakeFiles/md5_test.dir/md5_test.cpp.o" 5 | "CMakeFiles/md5_test.dir/md5_test.cpp.o.d" 6 | "md5_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/md5_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for md5_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for md5_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for md5_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/md5_test.dir/md5_test.cpp.o -o ../bin/md5_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/md5_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 36 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/mem_pool_test" 3 | "../bin/mem_pool_test.pdb" 4 | "CMakeFiles/mem_pool_test.dir/mem_pool_test.cpp.o" 5 | "CMakeFiles/mem_pool_test.dir/mem_pool_test.cpp.o.d" 6 | "mem_pool_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/mem_pool_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for mem_pool_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for mem_pool_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for mem_pool_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/mem_pool_test.dir/mem_pool_test.cpp.o -o ../bin/mem_pool_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/mem_pool_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 37 2 | CMAKE_PROGRESS_2 = 38 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/persist_test" 3 | "../bin/persist_test.pdb" 4 | "CMakeFiles/persist_test.dir/persist_test.cpp.o" 5 | "CMakeFiles/persist_test.dir/persist_test.cpp.o.d" 6 | "persist_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/persist_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for persist_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for persist_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for persist_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/persist_test.dir/persist_test.cpp.o -o ../bin/persist_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/persist_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 94 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/pidfile_test" 3 | "../bin/pidfile_test.pdb" 4 | "CMakeFiles/pidfile_test.dir/pidfile_test.cpp.o" 5 | "CMakeFiles/pidfile_test.dir/pidfile_test.cpp.o.d" 6 | "pidfile_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/pidfile_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for pidfile_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for pidfile_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for pidfile_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/pidfile_test.dir/pidfile_test.cpp.o -o ../bin/pidfile_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/pidfile_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 2 | CMAKE_PROGRESS_2 = 95 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/progress.marks: -------------------------------------------------------------------------------- 1 | 92 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/record_manager_test" 3 | "../bin/record_manager_test.pdb" 4 | "CMakeFiles/record_manager_test.dir/record_manager_test.cpp.o" 5 | "CMakeFiles/record_manager_test.dir/record_manager_test.cpp.o.d" 6 | "record_manager_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/record_manager_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for record_manager_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for record_manager_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for record_manager_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/record_manager_test.dir/record_manager_test.cpp.o -o ../bin/record_manager_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/record_manager_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 97 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/cmake_clean.cmake: -------------------------------------------------------------------------------- 1 | file(REMOVE_RECURSE 2 | "../bin/ring_buffer_test" 3 | "../bin/ring_buffer_test.pdb" 4 | "CMakeFiles/ring_buffer_test.dir/ring_buffer_test.cpp.o" 5 | "CMakeFiles/ring_buffer_test.dir/ring_buffer_test.cpp.o.d" 6 | "ring_buffer_test[1]_tests.cmake" 7 | ) 8 | 9 | # Per-language clean rules from dependency scanning. 10 | foreach(lang CXX) 11 | include(CMakeFiles/ring_buffer_test.dir/cmake_clean_${lang}.cmake OPTIONAL) 12 | endforeach() 13 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/compiler_depend.make: -------------------------------------------------------------------------------- 1 | # Empty compiler generated dependencies file for ring_buffer_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/compiler_depend.ts: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Timestamp file for compiler generated dependencies management for ring_buffer_test. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/depend.make: -------------------------------------------------------------------------------- 1 | # Empty dependencies file for ring_buffer_test. 2 | # This may be replaced when dependencies are built. 3 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/flags.make: -------------------------------------------------------------------------------- 1 | # CMAKE generated file: DO NOT EDIT! 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.22 3 | 4 | # compile CXX with /usr/bin/c++ 5 | CXX_DEFINES = -DENABLE_DEBUG -DLINUX -DUNIX 6 | 7 | CXX_INCLUDES = -I/home/warrior/project/miniob/. -I/home/warrior/project/miniob/deps -I/home/warrior/project/miniob/src/observer 8 | 9 | CXX_FLAGS = -std=gnu++20 10 | 11 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/link.txt: -------------------------------------------------------------------------------- 1 | /usr/bin/c++ CMakeFiles/ring_buffer_test.dir/ring_buffer_test.cpp.o -o ../bin/ring_buffer_test -L/usr/local/lib -Wl,-rpath,/usr/local/lib ../lib/libcommon.a -lpthread -ldl -lgtest -lgtest_main ../lib/libobserver.a ../lib/libcommon.a -lpthread -ldl /usr/local/lib/libevent_pthreads.a /usr/local/lib/libevent_core.a -Wl,-Bstatic -ljsoncpp -Wl,-Bdynamic 2 | -------------------------------------------------------------------------------- /unittest/CMakeFiles/ring_buffer_test.dir/progress.make: -------------------------------------------------------------------------------- 1 | CMAKE_PROGRESS_1 = 98 2 | CMAKE_PROGRESS_2 = 3 | 4 | -------------------------------------------------------------------------------- /unittest/arithmetic_expression_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/arithmetic_expression_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/arithmetic_expression_test[1]_tests.cmake") 3 | else() 4 | add_test(arithmetic_expression_test_NOT_BUILT arithmetic_expression_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/bitmap_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/bitmap_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/bitmap_test[1]_tests.cmake") 3 | else() 4 | add_test(bitmap_test_NOT_BUILT bitmap_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/bp_manager_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/bp_manager_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/bp_manager_test[1]_tests.cmake") 3 | else() 4 | add_test(bp_manager_test_NOT_BUILT bp_manager_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/bplus_tree_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/bplus_tree_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/bplus_tree_test[1]_tests.cmake") 3 | else() 4 | add_test(bplus_tree_test_NOT_BUILT bplus_tree_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/clog_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/clog_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/clog_test[1]_tests.cmake") 3 | else() 4 | add_test(clog_test_NOT_BUILT clog_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/log_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/log_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/log_test[1]_tests.cmake") 3 | else() 4 | add_test(log_test_NOT_BUILT log_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/lower_bound_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/lower_bound_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/lower_bound_test[1]_tests.cmake") 3 | else() 4 | add_test(lower_bound_test_NOT_BUILT lower_bound_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/md5_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/md5_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/md5_test[1]_tests.cmake") 3 | else() 4 | add_test(md5_test_NOT_BUILT md5_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/mem_pool_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/mem_pool_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/mem_pool_test[1]_tests.cmake") 3 | else() 4 | add_test(mem_pool_test_NOT_BUILT mem_pool_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/persist_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/persist_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/persist_test[1]_tests.cmake") 3 | else() 4 | add_test(persist_test_NOT_BUILT persist_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/pidfile_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/pidfile_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/pidfile_test[1]_tests.cmake") 3 | else() 4 | add_test(pidfile_test_NOT_BUILT pidfile_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/record_manager_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/record_manager_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/record_manager_test[1]_tests.cmake") 3 | else() 4 | add_test(record_manager_test_NOT_BUILT record_manager_test_NOT_BUILT) 5 | endif() 6 | -------------------------------------------------------------------------------- /unittest/ring_buffer_test[1]_include.cmake: -------------------------------------------------------------------------------- 1 | if(EXISTS "/home/warrior/project/miniob/unittest/ring_buffer_test[1]_tests.cmake") 2 | include("/home/warrior/project/miniob/unittest/ring_buffer_test[1]_tests.cmake") 3 | else() 4 | add_test(ring_buffer_test_NOT_BUILT ring_buffer_test_NOT_BUILT) 5 | endif() 6 | --------------------------------------------------------------------------------