text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: tests/src/unit-comparison.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-comparison.cpp", "license": "mit", "size": 30690}
### File: tests/src/unit-concepts.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-concepts.cpp", "license": "mit", "size": 5293}
### File: tests/src/unit-constructor1.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-constructor1.cpp", "license": "mit", "size": 54687}
### File: tests/src/unit-constructor2.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-constructor2.cpp", "license": "mit", "size": 4645}
### File: tests/src/unit-convenience.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-convenience.cpp", "license": "mit", "size": 5919}
### File: tests/src/unit-conversions.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SPDX-F...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-conversions.cpp", "license": "mit", "size": 54637}
### File: tests/src/unit-custom-base-class.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>. // ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-custom-base-class.cpp", "license": "mit", "size": 9789}
### File: tests/src/unit-deserialization.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SP...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-deserialization.cpp", "license": "mit", "size": 44703}
### File: tests/src/unit-diagnostics.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SPDX-F...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-diagnostics.cpp", "license": "mit", "size": 8611}
### File: tests/src/unit-disabled_exceptions.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. /...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-disabled_exceptions.cpp", "license": "mit", "size": 1838}
### File: tests/src/unit-element_access1.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SP...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-element_access1.cpp", "license": "mit", "size": 40061}
### File: tests/src/unit-element_access2.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SP...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-element_access2.cpp", "license": "mit", "size": 95999}
### File: tests/src/unit-hash.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SPD...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-hash.cpp", "license": "mit", "size": 4134}
### File: tests/src/unit-inspection.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-inspection.cpp", "license": "mit", "size": 14131}
### File: tests/src/unit-items.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SP...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-items.cpp", "license": "mit", "size": 36170}
### File: tests/src/unit-iterators1.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-iterators1.cpp", "license": "mit", "size": 50621}
### File: tests/src/unit-iterators2.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-iterators2.cpp", "license": "mit", "size": 54923}
### File: tests/src/unit-json_patch.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-json_patch.cpp", "license": "mit", "size": 47997}
### File: tests/src/unit-json_pointer.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-json_pointer.cpp", "license": "mit", "size": 30712}
### File: tests/src/unit-large_json.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-large_json.cpp", "license": "mit", "size": 795}
### File: tests/src/unit-merge_patch.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-merge_patch.cpp", "license": "mit", "size": 7177}
### File: tests/src/unit-meta.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SPD...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-meta.cpp", "license": "mit", "size": 1120}
### File: tests/src/unit-modifiers.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>. // SPDX-Fil...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-modifiers.cpp", "license": "mit", "size": 32426}
### File: tests/src/unit-msgpack.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-msgpack.cpp", "license": "mit", "size": 87159}
### File: tests/src/unit-no-mem-leak-on-adl-serialize.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <htt...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-no-mem-leak-on-adl-serialize.cpp", "license": "mit", "size": 1740}
### File: tests/src/unit-noexcept.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-noexcept.cpp", "license": "mit", "size": 3554}
### File: tests/src/unit-ordered_json.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-ordered_json.cpp", "license": "mit", "size": 2338}
### File: tests/src/unit-ordered_map.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-ordered_map.cpp", "license": "mit", "size": 9631}
### File: tests/src/unit-pointer_access.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-pointer_access.cpp", "license": "mit", "size": 21115}
### File: tests/src/unit-readme.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // S...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-readme.cpp", "license": "mit", "size": 10436}
### File: tests/src/unit-reference_access.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohman...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-reference_access.cpp", "license": "mit", "size": 14292}
### File: tests/src/unit-regression1.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-regression1.cpp", "license": "mit", "size": 55356}
### File: tests/src/unit-regression2.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-regression2.cpp", "license": "mit", "size": 29577}
### File: tests/src/unit-serialization.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.m...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-serialization.cpp", "license": "mit", "size": 11731}
### File: tests/src/unit-testsuites.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-testsuites.cpp", "license": "mit", "size": 104439}
### File: tests/src/unit-to_chars.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-to_chars.cpp", "license": "mit", "size": 34466}
### File: tests/src/unit-type_traits.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-type_traits.cpp", "license": "mit", "size": 1989}
### File: tests/src/unit-ubjson.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // S...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-ubjson.cpp", "license": "mit", "size": 113692}
### File: tests/src/unit-udl.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SPDX...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-udl.cpp", "license": "mit", "size": 1875}
### File: tests/src/unit-udt.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SPDX...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-udt.cpp", "license": "mit", "size": 22700}
### File: tests/src/unit-udt_macro.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> /...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-udt_macro.cpp", "license": "mit", "size": 12964}
### File: tests/src/unit-unicode1.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-unicode1.cpp", "license": "mit", "size": 26988}
### File: tests/src/unit-unicode2.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-unicode2.cpp", "license": "mit", "size": 20459}
### File: tests/src/unit-unicode3.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-unicode3.cpp", "license": "mit", "size": 10969}
### File: tests/src/unit-unicode4.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-unicode4.cpp", "license": "mit", "size": 10976}
### File: tests/src/unit-unicode5.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> //...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-unicode5.cpp", "license": "mit", "size": 10970}
### File: tests/src/unit-user_defined_input.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohm...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-user_defined_input.cpp", "license": "mit", "size": 3255}
### File: tests/src/unit-windows_h.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> /...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-windows_h.cpp", "license": "mit", "size": 543}
### File: tests/src/unit-wstring.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit-wstring.cpp", "license": "mit", "size": 2469}
### File: tests/src/unit.cpp // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ (supporting code) // | | |__ | | | | | | version 3.11.3 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me> // SPDX-Lic...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tests/src/unit.cpp", "license": "mit", "size": 391}
### File: tools/amalgamate/amalgamate.py #!/usr/bin/env python3 # coding=utf-8 # amalgamate.py - Amalgamate C source and header files. # Copyright (c) 2012, Erik Edlund <erik.edlund@32767.se> # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the followi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/nlohmann_json", "path": "tools/amalgamate/amalgamate.py", "license": "mit", "size": 11442}
### File: tools/gdb_pretty_printer/nlohmann-json.py import gdb import re ns_pattern = re.compile(r'nlohmann(::json_abi(?P<tags>\w*)(_v(?P<v_major>\d+)_(?P<v_minor>\d+)_(?P<v_patch>\d+))?)?::(?P<name>.+)') class JsonValuePrinter: "Print a json-value" def __init__(self, val): self.val = val def to_...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/nlohmann_json", "path": "tools/gdb_pretty_printer/nlohmann-json.py", "license": "mit", "size": 1238}
### File: tools/generate_natvis/generate_natvis.py #!/usr/bin/env python3 import argparse import itertools import jinja2 import os import re import sys def semver(v): if not re.fullmatch(r'\d+\.\d+\.\d+', v): raise ValueError return v if __name__ == '__main__': parser = argparse.ArgumentParser() ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/nlohmann_json", "path": "tools/generate_natvis/generate_natvis.py", "license": "mit", "size": 1423}
### File: tools/macro_builder/main.cpp #include <cstdlib> #include <iostream> #include <sstream> using namespace std; void build_code(int max_args) { stringstream ss; ss << "#define NLOHMANN_JSON_EXPAND( x ) x" << endl; ss << "#define NLOHMANN_JSON_GET_MACRO("; for (int i = 0 ; i < max_args ; i++) ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/nlohmann_json", "path": "tools/macro_builder/main.cpp", "license": "mit", "size": 1266}
### File: tools/serve_header/serve_header.py #!/usr/bin/env python3 import contextlib import logging import os import re import shutil import sys import subprocess from datetime import datetime, timedelta from io import BytesIO from threading import Lock, Timer from watchdog.events import FileSystemEventHandler from...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Python", "repo_name": "minhanghuang/nlohmann_json", "path": "tools/serve_header/serve_header.py", "license": "mit", "size": 14710}
### File: init.lua if not vim.g.vscode then require("core") end
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "init.lua", "license": "mit", "size": 45}
### File: lua/core/event.lua local vim = vim local autocmd = {} function autocmd.nvim_create_augroups(definitions) for group_name, definition in pairs(definitions) do vim.api.nvim_command("augroup " .. group_name) vim.api.nvim_command("autocmd!") for _, def in ipairs(definition) do ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/event.lua", "license": "mit", "size": 3598}
### File: lua/core/global.lua local global = {} local os_name = vim.loop.os_uname().sysname function global:load_variables() self.is_mac = os_name == "Darwin" self.is_linux = os_name == "Linux" self.is_windows = os_name == "Windows_NT" self.vim_path = vim.fn.stdpath("config") local path_sep = self....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/global.lua", "license": "mit", "size": 727}
### File: lua/core/init.lua local global = require "core.global" local vim = vim -- Create cache dir and subs dir local createdir = function() local data_dir = { global.cache_dir .. "backup", global.cache_dir .. "session", global.cache_dir .. "swap", global.cache_dir .. "tags", global.cache...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/init.lua", "license": "mit", "size": 5102}
### File: lua/core/mapping.lua local bind = require("keymap.bind") local map_cr = bind.map_cr local map_cu = bind.map_cu local map_cmd = bind.map_cmd -- default map local def_map = { -- Vim map ["n|<C-x>k"] = map_cr("bdelete"):with_noremap():with_silent(), ["n|<C-s>"] = map_cu("write"):with_noremap(), ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/mapping.lua", "license": "mit", "size": 2069}
### File: lua/core/options.lua local global = require("core.global") local function bind_option(options) for k, v in pairs(options) do if v == true then vim.cmd("set " .. k) elseif v == false then vim.cmd("set no" .. k) else vim.cmd("set " .. k .. "=" .. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/options.lua", "license": "mit", "size": 4050}
### File: lua/core/pack.lua local fn, uv, api = vim.fn, vim.loop, vim.api local vim_path = require("core.global").vim_path local data_dir = require("core.global").data_dir local modules_dir = vim_path .. "/lua/modules" local packer_compiled = data_dir .. "packer_compiled.vim" local compile_to_lua = data_dir .. "lua/_co...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/core/pack.lua", "license": "mit", "size": 4253}
### File: lua/keymap/bind.lua local rhs_options = {} function rhs_options:new() local instance = { cmd = "", options = { noremap = false, silent = false, expr = false, nowait = false } } setmetatable(instance, self) self.__index = ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/keymap/bind.lua", "license": "mit", "size": 1884}
### File: lua/keymap/config.lua local vim = vim local t = function(str) return vim.api.nvim_replace_termcodes(str, true, true, true) end _G.enhance_jk_move = function(key) if packer_plugins["accelerated-jk"] and not packer_plugins["accelerated-jk"].loaded then vim.cmd [[packadd accelerated-jk]...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/keymap/config.lua", "license": "mit", "size": 998}
### File: lua/keymap/init.lua local bind = require("keymap.bind") local map_cr = bind.map_cr local map_cu = bind.map_cu local map_cmd = bind.map_cmd require("keymap.config") local plug_map = { -- Format ["n|<C-A-l>"] = map_cu("FormatWrite"):with_noremap():with_silent(), -- Bufferline ["n|gb"] = map_cr(...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/keymap/init.lua", "license": "mit", "size": 9219}
### File: lua/modules/completion/config.lua local config = {} function config.nvim_lsp() require("modules.completion.lsp") end function config.lightbulb() vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'nvim-lightbulb'.update_lightbulb()]] end function config.cmp() vim.cmd [[highlight CmpItemAbbrDepre...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/completion/config.lua", "license": "mit", "size": 9777}
### File: lua/modules/completion/efm/formatters/rustfmt.lua return {formatCommand = "rustfmt", formatStdin = true}
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/completion/efm/formatters/rustfmt.lua", "license": "mit", "size": 55}
### File: lua/modules/completion/formatting.lua local M = {} local xor = function(bool, a, b) if bool then return a else return b end end local format_disabled_var = function() return string.format("format_disabled_%s", vim.bo.filetype) end local format_options_var = function() ret...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/completion/formatting.lua", "license": "mit", "size": 1783}
### File: lua/modules/completion/lsp.lua require("modules.completion.formatting") if not packer_plugins["nvim-lsp-installer"].loaded then vim.cmd [[packadd nvim-lsp-installer]] end if not packer_plugins["lsp_signature.nvim"].loaded then vim.cmd [[packadd lsp_signature.nvim]] end if not packer_plugins["lspsag...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/completion/lsp.lua", "license": "mit", "size": 11102}
### File: lua/modules/completion/plugins.lua local completion = {} local conf = require("modules.completion.config") completion["neovim/nvim-lspconfig"] = { opt = true, event = "BufReadPre", config = conf.nvim_lsp } completion["creativenull/efmls-configs-nvim"] = { opt = false, requires = "neovim/n...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/completion/plugins.lua", "license": "mit", "size": 1873}
### File: lua/modules/editor/config.lua local config = {} local dap_dir = vim.fn.stdpath("data") .. "/dapinstall/" local sessions_dir = vim.fn.stdpath("data") .. "/sessions/" function config.symbols_outline() require("symbols-outline").setup({ highlight_hovered_item = true, width = 60, show...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/editor/config.lua", "license": "mit", "size": 13230}
### File: lua/modules/editor/plugins.lua local editor = {} local conf = require("modules.editor.config") editor["junegunn/vim-easy-align"] = {opt = true, cmd = "EasyAlign"} editor["itchyny/vim-cursorword"] = { opt = true, event = {"BufReadPre", "BufNewFile"}, config = conf.vim_cursorwod } editor["terrortyl...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/editor/plugins.lua", "license": "mit", "size": 3424}
### File: lua/modules/lang/config.lua local config = {} function config.rust_tools() local opts = { tools = { -- rust-tools options -- Automatically set inlay hints (type hints) autoSetHints = true, -- Whether to show hover actions inside the hover window ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/lang/config.lua", "license": "mit", "size": 3348}
### File: lua/modules/lang/plugins.lua local lang = {} local conf = require("modules.lang.config") lang['fatih/vim-go'] = { opt = true, ft = 'go', run = ':GoInstallBinaries', config = conf.lang_go } lang["rust-lang/rust.vim"] = {opt = true, ft = "rust"} lang["simrat39/rust-tools.nvim"] = { opt = tr...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/lang/plugins.lua", "license": "mit", "size": 685}
### File: lua/modules/tools/config.lua local config = {} function config.telescope() if not packer_plugins["sqlite.lua"].loaded then vim.cmd [[packadd sqlite.lua]] end if not packer_plugins["telescope-fzf-native.nvim"].loaded then vim.cmd [[packadd telescope-fzf-native.nvim]] end ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/tools/config.lua", "license": "mit", "size": 7383}
### File: lua/modules/tools/plugins.lua local tools = {} local conf = require("modules.tools.config") tools["RishabhRD/popfix"] = {opt = false} tools["nvim-lua/plenary.nvim"] = {opt = false} tools["nvim-telescope/telescope.nvim"] = { opt = true, module = "telescope", cmd = "Telescope", config = conf.te...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/tools/plugins.lua", "license": "mit", "size": 1536}
### File: lua/modules/ui/config.lua local config = {} function config.edge() vim.cmd [[set background=dark]] vim.g.edge_style = "aura" vim.g.edge_enable_italic = 1 vim.g.edge_disable_italic_comment = 1 vim.g.edge_show_eob = 1 vim.g.edge_better_performance = 1 vim.g.edge_transparent_backgrou...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/ui/config.lua", "license": "mit", "size": 10083}
### File: lua/modules/ui/plugins.lua local ui = {} local conf = require("modules.ui.config") ui["kyazdani42/nvim-web-devicons"] = {opt = false} ui["sainnhe/edge"] = {opt = false, config = conf.edge} ui["rebelot/kanagawa.nvim"] = {opt = false, config = conf.kanagawa} ui["catppuccin/nvim"] = { opt = false, as = ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Lua", "repo_name": "minhanghuang/nvimdots", "path": "lua/modules/ui/plugins.lua", "license": "mit", "size": 1184}
### File: CMakeLists.txt cmake_minimum_required(VERSION 2.8.3) project(ndt_omp) # should use march=native ? add_definitions(-std=c++14 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2) set(CMAKE_CXX_FLAGS "-std=c++14 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2") # pcl 1.7 causes a segfault when it is built with debug mo...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/ndt_omp", "path": "CMakeLists.txt", "license": "bsd-2-clause", "size": 1795}
### File: apps/align.cpp #include <iostream> #include <ros/ros.h> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/registration/ndt.h> #include <pcl/registration/gicp.h> #include <pcl/filters/voxel_grid.h> #include <pcl/visualization/pcl_visualizer.h> #include <pclomp/...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "apps/align.cpp", "license": "bsd-2-clause", "size": 4642}
### File: docker/melodic/Dockerfile FROM ros:melodic RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \ wget nano build-essential libomp-dev clang lld\ ros-melodic-geodesy ros-melodic-pcl-ros ros-melodic-nmea-msgs \ ros-melodic-rviz ros-melodic-tf...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/ndt_omp", "path": "docker/melodic/Dockerfile", "license": "bsd-2-clause", "size": 896}
### File: docker/melodic_llvm/Dockerfile FROM ros:melodic RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \ wget nano build-essential libomp-dev clang lld\ ros-melodic-geodesy ros-melodic-pcl-ros ros-melodic-nmea-msgs \ ros-melodic-rviz ros-melod...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/ndt_omp", "path": "docker/melodic_llvm/Dockerfile", "license": "bsd-2-clause", "size": 986}
### File: docker/noetic/Dockerfile FROM ros:noetic RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \ wget nano build-essential libomp-dev clang lld git\ ros-noetic-geodesy ros-noetic-pcl-ros ros-noetic-nmea-msgs \ ros-noetic-rviz ros-noetic-tf-co...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/ndt_omp", "path": "docker/noetic/Dockerfile", "license": "bsd-2-clause", "size": 891}
### File: docker/noetic_llvm/Dockerfile FROM ros:noetic RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get install -y --no-install-recommends \ wget nano build-essential libomp-dev clang lld git\ ros-noetic-geodesy ros-noetic-pcl-ros ros-noetic-nmea-msgs \ ros-noetic-rviz ros-noetic-...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Dockerfile", "repo_name": "minhanghuang/ndt_omp", "path": "docker/noetic_llvm/Dockerfile", "license": "bsd-2-clause", "size": 981}
### File: include/pclomp/gicp_omp.h /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/gicp_omp.h", "license": "bsd-2-clause", "size": 17085}
### File: include/pclomp/gicp_omp_impl.hpp /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/gicp_omp_impl.hpp", "license": "bsd-2-clause", "size": 22214}
### File: include/pclomp/ndt_omp.h /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2012, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, w...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/ndt_omp.h", "license": "bsd-2-clause", "size": 22833}
### File: include/pclomp/ndt_omp_impl.hpp #include "ndt_omp.h" /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use i...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/ndt_omp_impl.hpp", "license": "bsd-2-clause", "size": 40758}
### File: include/pclomp/voxel_grid_covariance_omp.h /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificati...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/voxel_grid_covariance_omp.h", "license": "bsd-2-clause", "size": 20963}
### File: include/pclomp/voxel_grid_covariance_omp_impl.hpp /* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * mod...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "include/pclomp/voxel_grid_covariance_omp_impl.hpp", "license": "bsd-2-clause", "size": 19490}
### File: src/pclomp/gicp_omp.cpp #include <pclomp/gicp_omp.h> #include <pclomp/gicp_omp_impl.hpp> template class pclomp::GeneralizedIterativeClosestPoint<pcl::PointXYZ, pcl::PointXYZ>; template class pclomp::GeneralizedIterativeClosestPoint<pcl::PointXYZI, pcl::PointXYZI>;
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "src/pclomp/gicp_omp.cpp", "license": "bsd-2-clause", "size": 243}
### File: src/pclomp/ndt_omp.cpp #include <pclomp/ndt_omp.h> #include <pclomp/ndt_omp_impl.hpp> template class pclomp::NormalDistributionsTransform<pcl::PointXYZ, pcl::PointXYZ>; template class pclomp::NormalDistributionsTransform<pcl::PointXYZI, pcl::PointXYZI>;
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "src/pclomp/ndt_omp.cpp", "license": "bsd-2-clause", "size": 232}
### File: src/pclomp/voxel_grid_covariance_omp.cpp #include <pclomp/voxel_grid_covariance_omp.h> #include <pclomp/voxel_grid_covariance_omp_impl.hpp> template class pclomp::VoxelGridCovariance<pcl::PointXYZ>; template class pclomp::VoxelGridCovariance<pcl::PointXYZI>;
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "minhanghuang/ndt_omp", "path": "src/pclomp/voxel_grid_covariance_omp.cpp", "license": "bsd-2-clause", "size": 219}
### File: BSDmakefile .DONE: @echo "Use GNU Make (gmake) to build neovim" .DEFAULT: @echo "Use GNU Make (gmake) to build neovim"
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/neovim", "path": "BSDmakefile", "license": "mit", "size": 109}
### File: CMakeLists.txt # CMAKE REFERENCE # - intro: https://codingnest.com/basic-cmake/ # - best practices (3.0+): https://gist.github.com/mbinna/c61dbb39bca0e4fb7d1f73b0d66a4fd1 # - pitfalls: https://izzys.casa/2019/02/everything-you-never-wanted-to-know-about-cmake/ # - troubleshooting: # - variable_wat...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/neovim", "path": "CMakeLists.txt", "license": "mit", "size": 11537}
### File: Makefile MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST))) MAKEFILE_DIR := $(dir $(MAKEFILE_PATH)) filter-false = $(strip $(filter-out 0 off OFF false FALSE,$1)) filter-true = $(strip $(filter-out 1 on ON true TRUE,$1)) # See contrib/local.mk.example -include local.mk all: nvim CMAKE ?= $(shell (c...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "minhanghuang/neovim", "path": "Makefile", "license": "mit", "size": 5198}
### File: cmake.config/CMakeLists.txt include(CheckTypeSize) include(CheckSymbolExists) include(CheckFunctionExists) include(CheckIncludeFiles) include(CheckCSourceRuns) include(CheckCSourceCompiles) include(TestBigEndian) check_c_source_compiles(" #include <execinfo.h> int main(void) { void *trace[1]; backtrace(t...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/neovim", "path": "cmake.config/CMakeLists.txt", "license": "mit", "size": 5251}
### File: cmake.packaging/CMakeLists.txt set(CPACK_PACKAGE_NAME "Neovim") set(CPACK_PACKAGE_VENDOR "neovim.io") set(CPACK_PACKAGE_FILE_NAME "nvim") set(CPACK_PACKAGE_DIRECTORY ${PROJECT_BINARY_DIR}) # From the GitHub About section set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Vim-fork focused on extensibility and usability."...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/neovim", "path": "cmake.packaging/CMakeLists.txt", "license": "mit", "size": 3058}
### File: cmake/ConvertPo.cmake string(TOUPPER ${INPUT_ENC} upperInputEnc) string(TOLOWER ${INPUT_ENC} lowerInputEnc) get_filename_component(inputName ${INPUT_FILE} NAME) execute_process( COMMAND ${ICONV_PRG} -f ${INPUT_ENC} -t ${OUTPUT_ENC} ${INPUT_FILE} OUTPUT_VARIABLE trans ERROR_VARIABLE err RESULT_VARIABLE...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/neovim", "path": "cmake/ConvertPo.cmake", "license": "mit", "size": 701}
### File: cmake/Deps.cmake set(DEPS_INSTALL_DIR "${CMAKE_BINARY_DIR}/usr") set(DEPS_BIN_DIR "${DEPS_INSTALL_DIR}/bin") set(DEPS_LIB_DIR "${DEPS_INSTALL_DIR}/lib") set(DEPS_SHARE_DIR "${DEPS_INSTALL_DIR}/share/lua/5.1") set(DEPS_BUILD_DIR "${CMAKE_BINARY_DIR}/build") set(DEPS_DOWNLOAD_DIR "${DEPS_BUILD_DIR}/downloads")...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "minhanghuang/neovim", "path": "cmake/Deps.cmake", "license": "mit", "size": 3271}