text
stringlengths
24
1.04M
metadata
stringlengths
233
497
### File: examples/terminal/telnetd/main.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "examples/terminal/telnetd/main.cpp", "license": "mit", "size": 5237}
### File: examples/util/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This fi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "examples/util/Makefile", "license": "mit", "size": 718}
### File: examples/util/json_deep_loader/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights rese...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "examples/util/json_deep_loader/Makefile", "license": "mit", "size": 832}
### File: examples/util/json_deep_loader/main.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "examples/util/json_deep_loader/main.cpp", "license": "mit", "size": 1176}
### File: modules/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This file is ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/Makefile", "license": "mit", "size": 683}
### File: modules/alarm/CMakeLists.txt # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # T...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/CMakeLists.txt", "license": "mit", "size": 2525}
### File: modules/alarm/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This fi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/Makefile", "license": "mit", "size": 1203}
### File: modules/alarm/alarm.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/alarm.cpp", "license": "mit", "size": 4190}
### File: modules/alarm/alarm.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/alarm.h", "license": "mit", "size": 3112}
### File: modules/alarm/cron_alarm.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights res...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/cron_alarm.cpp", "license": "mit", "size": 1805}
### File: modules/alarm/cron_alarm.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/cron_alarm.h", "license": "mit", "size": 1932}
### File: modules/alarm/oneshot_alarm.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/oneshot_alarm.cpp", "license": "mit", "size": 1668}
### File: modules/alarm/oneshot_alarm.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/oneshot_alarm.h", "license": "mit", "size": 1746}
### File: modules/alarm/weekly_alarm.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights r...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/weekly_alarm.cpp", "license": "mit", "size": 2090}
### File: modules/alarm/weekly_alarm.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights res...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/weekly_alarm.h", "license": "mit", "size": 1994}
### File: modules/alarm/workday_alarm.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/workday_alarm.cpp", "license": "mit", "size": 2133}
### File: modules/alarm/workday_alarm.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/workday_alarm.h", "license": "mit", "size": 1850}
### File: modules/alarm/workday_calendar.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/workday_calendar.cpp", "license": "mit", "size": 1670}
### File: modules/alarm/workday_calendar.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/workday_calendar.h", "license": "mit", "size": 2272}
### File: modules/alarm/workday_calendar_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/alarm/workday_calendar_test.cpp", "license": "mit", "size": 1811}
### File: modules/base/CMakeLists.txt # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # Th...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/CMakeLists.txt", "license": "mit", "size": 2724}
### File: modules/base/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This fil...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/Makefile", "license": "mit", "size": 1478}
### File: modules/base/assert.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/assert.h", "license": "mit", "size": 1167}
### File: modules/base/backtrace.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/backtrace.cpp", "license": "mit", "size": 2024}
### File: modules/base/backtrace.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserve...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/backtrace.h", "license": "mit", "size": 935}
### File: modules/base/backtrace_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/backtrace_test.cpp", "license": "mit", "size": 793}
### File: modules/base/cabinet.hpp #ifndef TBOX_BASE_CABINET_HPP_20180415 #define TBOX_BASE_CABINET_HPP_20180415 /** * 实现一个对象储物柜 Cabinet * 其特征在于: * 1) 存储一个对象指针后,将获得一个 Token,即称:"凭据"; * 2) 该 Token 无法单位访问到对象,需要通过 Cabinet.at(token) 才能获取到对象; * 3) 如果 Token 对应的对象被删除,那么该 Token 就会失效。失效了的 Token 取不出对象; * 3) 使用 Token 获取对象、存...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/cabinet.hpp", "license": "mit", "size": 4587}
### File: modules/base/cabinet_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/cabinet_test.cpp", "license": "mit", "size": 2658}
### File: modules/base/cabinet_token.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights res...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/cabinet_token.h", "license": "mit", "size": 2348}
### File: modules/base/cabinet_token_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rig...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/cabinet_token_test.cpp", "license": "mit", "size": 1488}
### File: modules/base/catch_throw.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights res...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/catch_throw.cpp", "license": "mit", "size": 2449}
### File: modules/base/catch_throw.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/catch_throw.h", "license": "mit", "size": 1567}
### File: modules/base/catch_throw_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all right...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/catch_throw_test.cpp", "license": "mit", "size": 2428}
### File: modules/base/defines.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/defines.h", "license": "mit", "size": 2573}
### File: modules/base/json.hpp #ifndef TBOX_BASE_JSON_IMP_H_20211227 #define TBOX_BASE_JSON_IMP_H_20211227 #include "json_fwd.h" #include <nlohmann/json.hpp> //! 如果找到不该文件,则从 github 下载: //! https://github.com/nlohmann/json/blob/v3.10.4/single_include/nlohmann/json.hpp //! 下载链接:https://raw.githubusercontent.com/nlohma...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/json.hpp", "license": "mit", "size": 468}
### File: modules/base/json_fwd.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/json_fwd.h", "license": "mit", "size": 1133}
### File: modules/base/json_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reser...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/json_test.cpp", "license": "mit", "size": 1812}
### File: modules/base/lifetime_tag.hpp #ifndef TBOX_LIFETIME_TAG_H_20221215 #define TBOX_LIFETIME_TAG_H_20221215 namespace tbox { /** * 生命期标签 * * 在有些情况下,我们需要将一个对象的指针传给其它对象,使得其它对象可以随时对该指针所 * 指向的对象进行访问。然而这存在一个风险:如果这个对象被提前析构了,而访问者并不知晓 * 如果继续访问那将会出现不可预计的错误。 * 为了解决这个问题,需要有一个标签,标识被标记的对象生命期是否有效。 * 这就是本模块的设计初宗。 * *...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/lifetime_tag.hpp", "license": "mit", "size": 4102}
### File: modules/base/lifetime_tag_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/lifetime_tag_test.cpp", "license": "mit", "size": 2737}
### File: modules/base/log.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. * ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log.h", "license": "mit", "size": 3451}
### File: modules/base/log_imp.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserve...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log_imp.cpp", "license": "mit", "size": 4524}
### File: modules/base/log_imp.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log_imp.h", "license": "mit", "size": 1742}
### File: modules/base/log_output.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights rese...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log_output.cpp", "license": "mit", "size": 3037}
### File: modules/base/log_output.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserv...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log_output.h", "license": "mit", "size": 839}
### File: modules/base/log_output_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/log_output_test.cpp", "license": "mit", "size": 1392}
### File: modules/base/memblock.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/memblock.h", "license": "mit", "size": 806}
### File: modules/base/object_pool.hpp #ifndef TBOX_OBJECT_POOL_H #define TBOX_OBJECT_POOL_H #include <cstdlib> #include <new> #include <limits> #include <utility> #include <limits> #include "assert.h" namespace tbox { /** * ObjectPool,对象池 * * 用于减少特定场景下频繁 new 与 delete 对象过程的性能。 * 实现原理是: * - 在 ObjectPool 中有一个空闲块...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/object_pool.hpp", "license": "mit", "size": 3992}
### File: modules/base/object_pool_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all right...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/object_pool_test.cpp", "license": "mit", "size": 3402}
### File: modules/base/scope_exit.hpp #ifndef TBOX_BASE_SCOPE_EXIT_H_20171104 #define TBOX_BASE_SCOPE_EXIT_H_20171104 #include <functional> #include "defines.h" namespace tbox { //! 退出区域的时候执行的动作 class ScopeExitActionGuard { using ScopeExitFunc = std::function<void()>; ScopeExitFunc func_; public: Scop...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/scope_exit.hpp", "license": "mit", "size": 829}
### File: modules/base/scope_exit_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/scope_exit_test.cpp", "license": "mit", "size": 1420}
### File: modules/base/version.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserve...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/version.cpp", "license": "mit", "size": 784}
### File: modules/base/version.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/base/version.h", "license": "mit", "size": 768}
### File: modules/coroutine/CMakeLists.txt # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. #...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/CMakeLists.txt", "license": "mit", "size": 2590}
### File: modules/coroutine/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # Thi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/Makefile", "license": "mit", "size": 1173}
### File: modules/coroutine/broadcast.hpp #ifndef TBOX_COROUTINE_BROADCAST_HPP_20180527 #define TBOX_COROUTINE_BROADCAST_HPP_20180527 #include <vector> #include "scheduler.h" namespace tbox { namespace coroutine { //! 广播信号 class Broadcast { public: Broadcast(Scheduler &sch) : sch_(sch) { } bool wait() { ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/broadcast.hpp", "license": "mit", "size": 648}
### File: modules/coroutine/broadcast_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all ri...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/broadcast_test.cpp", "license": "mit", "size": 1743}
### File: modules/coroutine/channel.hpp #ifndef TBOX_COROUTINE_CHANNEL_HPP_20180527 #define TBOX_COROUTINE_CHANNEL_HPP_20180527 #include "scheduler.h" #include <queue> namespace tbox { namespace coroutine { //! 参考 Golang 的 chan,实现一个通道 template <class T> class Channel { public: Channel (Scheduler &sch) : sch_(s...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/channel.hpp", "license": "mit", "size": 1215}
### File: modules/coroutine/channel_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/channel_test.cpp", "license": "mit", "size": 4974}
### File: modules/coroutine/condition.hpp #ifndef TBOX_COROUTINE_CONDITION_HPP_20180605 #define TBOX_COROUTINE_CONDITION_HPP_20180605 #include <set> #include "scheduler.h" namespace tbox { namespace coroutine { /** * 条件,可以同时等待多个条件同时满足,也可以等待多个条件任一满足 * * 使用示例: * 协程A要在协程B与协程C都完成了某个动作后才能执行,这时候使用All条件 */ template ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/condition.hpp", "license": "mit", "size": 1526}
### File: modules/coroutine/condition_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all ri...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/condition_test.cpp", "license": "mit", "size": 3514}
### File: modules/coroutine/mutex.hpp #ifndef TBOX_COROUTINE_MUTEX_HPP_20180527 #define TBOX_COROUTINE_MUTEX_HPP_20180527 #include <queue> #include "scheduler.h" namespace tbox { namespace coroutine { //! 信号量 class Mutex { public: class Locker { public: Locker(Mutex &m) : m_(m) { m_.lock(); } ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/mutex.hpp", "license": "mit", "size": 1610}
### File: modules/coroutine/mutex_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/mutex_test.cpp", "license": "mit", "size": 4892}
### File: modules/coroutine/scheduler.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/scheduler.cpp", "license": "mit", "size": 9280}
### File: modules/coroutine/scheduler.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/scheduler.h", "license": "mit", "size": 2892}
### File: modules/coroutine/scheduler_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all ri...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/scheduler_test.cpp", "license": "mit", "size": 7789}
### File: modules/coroutine/semaphore.hpp #ifndef TBOX_COROUTINE_SEMAPHORE_HPP_20180527 #define TBOX_COROUTINE_SEMAPHORE_HPP_20180527 #include <queue> #include "scheduler.h" namespace tbox { namespace coroutine { //! 信号量 class Semaphore { public: Semaphore(Scheduler &sch, int init_num) : sch_(sch), count_(init...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/semaphore.hpp", "license": "mit", "size": 1097}
### File: modules/coroutine/semaphore_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all ri...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/coroutine/semaphore_test.cpp", "license": "mit", "size": 2777}
### File: modules/crypto/CMakeLists.txt # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/CMakeLists.txt", "license": "mit", "size": 2303}
### File: modules/crypto/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This f...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/Makefile", "license": "mit", "size": 1000}
### File: modules/crypto/aes.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/aes.cpp", "license": "mit", "size": 8786}
### File: modules/crypto/aes.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/aes.h", "license": "mit", "size": 1805}
### File: modules/crypto/aes_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights rese...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/aes_test.cpp", "license": "mit", "size": 1119}
### File: modules/crypto/md5.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/md5.cpp", "license": "mit", "size": 10741}
### File: modules/crypto/md5.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/md5.h", "license": "mit", "size": 1661}
### File: modules/crypto/md5_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights rese...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/crypto/md5_test.cpp", "license": "mit", "size": 1959}
### File: modules/event/CMakeLists.txt # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # T...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "CMake", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/CMakeLists.txt", "license": "mit", "size": 2850}
### File: modules/event/Makefile # # .============. # // M A K E / \ # // C++ DEV / \ # // E A S Y / \/ \ # ++ ----------. \/\ . # \\ \ \ /\ / # \\ \ \ / # \\ \ \ / # -============' # # Copyright (c) 2018 Hevake and contributors, all rights reserved. # # This fi...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "Makefile", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/Makefile", "license": "mit", "size": 1330}
### File: modules/event/common_loop.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights re...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop.cpp", "license": "mit", "size": 4125}
### File: modules/event/common_loop.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights rese...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop.h", "license": "mit", "size": 5522}
### File: modules/event/common_loop_run.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all right...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop_run.cpp", "license": "mit", "size": 6782}
### File: modules/event/common_loop_signal.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all ri...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop_signal.cpp", "license": "mit", "size": 8632}
### File: modules/event/common_loop_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop_test.cpp", "license": "mit", "size": 15581}
### File: modules/event/common_loop_timer.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rig...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/common_loop_timer.cpp", "license": "mit", "size": 4661}
### File: modules/event/engins/epoll/fd_event.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/engins/epoll/fd_event.cpp", "license": "mit", "size": 4107}
### File: modules/event/engins/epoll/fd_event.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all r...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/engins/epoll/fd_event.h", "license": "mit", "size": 1750}
### File: modules/event/engins/epoll/loop.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rig...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/engins/epoll/loop.cpp", "license": "mit", "size": 3616}
### File: modules/event/engins/epoll/loop.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all right...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/engins/epoll/loop.h", "license": "mit", "size": 1678}
### File: modules/event/engins/epoll/types.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all righ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/engins/epoll/types.h", "license": "mit", "size": 1102}
### File: modules/event/event.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/event.h", "license": "mit", "size": 1197}
### File: modules/event/fd_event.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserve...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/fd_event.h", "license": "mit", "size": 1212}
### File: modules/event/fd_event_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/fd_event_test.cpp", "license": "mit", "size": 11206}
### File: modules/event/forward.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/forward.h", "license": "mit", "size": 827}
### File: modules/event/loop.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/loop.cpp", "license": "mit", "size": 1040}
### File: modules/event/loop.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/loop.h", "license": "mit", "size": 4360}
### File: modules/event/misc.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved....
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/misc.cpp", "license": "mit", "size": 1218}
### File: modules/event/misc.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights reserved. ...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/misc.h", "license": "mit", "size": 824}
### File: modules/event/signal_event.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rights res...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/signal_event.h", "license": "mit", "size": 1290}
### File: modules/event/signal_event_impl.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rig...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/signal_event_impl.cpp", "license": "mit", "size": 2331}
### File: modules/event/signal_event_impl.h /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all right...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/signal_event_impl.h", "license": "mit", "size": 1972}
### File: modules/event/signal_event_test.cpp /* * .============. * // M A K E / \ * // C++ DEV / \ * // E A S Y / \/ \ * ++ ----------. \/\ . * \\ \ \ /\ / * \\ \ \ / * \\ \ \ / * -============' * * Copyright (c) 2018 Hevake and contributors, all rig...
{"idx": "gitee_code", "domain": "code", "domain2": "gitee-permissive", "header_footer": "", "lang": "en", "source": "gitee_code-0.jsonl", "prog_lang": "C++", "repo_name": "vincent_personan/cpp-tbox", "path": "modules/event/signal_event_test.cpp", "license": "mit", "size": 15969}