-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_output.jsonl
More file actions
5 lines (5 loc) · 3.64 KB
/
example_output.jsonl
File metadata and controls
5 lines (5 loc) · 3.64 KB
1
2
3
4
5
{"file": "row_035657", "func_name": "rhs", "input_text": "TrackerZip::TrackerZip(TrackerZip &&<ID_1>) noexcept\n : TrackerInterface(), \n m_records(std::move(<ID_1>.m_records)),\n m_last_zipcode(std::move(<ID_1>.m_last_zipcode))\n {}", "target_text": "{\"<ID_1>\": \"rhs\"}"}
{"file": "row_035658", "func_name": "type", "input_text": "std::optional<std::string_view> ConvertMatchTypeToString(AppInstaller::Repository::MatchType <ID_1>)\r\n {\r\n // Match types supported by Rest API schema.\r\n switch (<ID_1>)\r\n {\r\n case MatchType::Exact:\r\n return \"Exact\"sv;\r\n case MatchType::CaseInsensitive:\r\n return \"CaseInsensitive\"sv;\r\n case MatchType::StartsWith:\r\n return \"StartsWith\"sv;\r\n case MatchType::Substring:\r\n return \"Substring\"sv;\r\n case MatchType::Wildcard:\r\n return \"Wildcard\"sv;\r\n case MatchType::Fuzzy:\r\n return \"Fuzzy\"sv;\r\n case MatchType::FuzzySubstring:\r\n return \"FuzzySubstring\"sv;\r\n }\r\n\r\n return {};\r\n }", "target_text": "{\"<ID_1>\": \"type\"}"}
{"file": "row_035659", "func_name": "shorttags", "input_text": "void PnlBrlyRegHeadbar::StgInf::writeXML(\n\t\t\tconst uint ixBrlyVLocale\n\t\t\t, xmlTextWriter* wr\n\t\t\t, string <ID_1>\n\t\t\t, bool shorttags\n\t\t) {\n\tif (<ID_1>.length() == 0) <ID_1> = \"StgInfBrlyRegHeadbar\";\n\n\tstring itemtag;\n\tif (shorttags) itemtag = \"Si\";\n\telse itemtag = \"StgitemInfBrlyRegHeadbar\";\n\n\txmlTextWriterStartElement(wr, BAD_CAST <ID_1>.c_str());\n\t\tif (ixBrlyVLocale == VecBrlyVLocale::ENUS) {\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenAppCptwidth\", \"100\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenAppWidth\", \"176\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenCrdCptwidth\", \"64\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenCrdWidth\", \"323\");\n\t\t} else if (ixBrlyVLocale == VecBrlyVLocale::DECH) {\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenAppCptwidth\", \"100\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenAppWidth\", \"176\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenCrdCptwidth\", \"64\");\n\t\t\twriteStringAttr(wr, itemtag, \"sref\", \"MenCrdWidth\", \"323\");\n\t\t};\n\txmlTextWriterEndElement(wr);\n}", "target_text": "{\"<ID_1>\": \"difftag\"}"}
{"file": "row_035660", "func_name": "edges", "input_text": "vector<int> findSmallestSetOfVertices(int n, vector<vector<int>>& edges) {\n vector<int> <ID_1>, indegrees(n);\n // if indegree > 0, that means it is reachable \n // so we just need to find those nodes with indegree = 0\n for(auto edge:edges) indegrees[edge[1]]++;\n for(int i=0;i<indegrees.size();i++) {\n if(indegrees[i]==0) {\n <ID_1>.push_back(i);\n }\n }\n return <ID_1>;\n }", "target_text": "{\"<ID_1>\": \"ans\"}"}
{"file": "row_035661", "func_name": "stackedWidgetArg", "input_text": "void NamedElementListControllerObject::init(QListWidget* <ID_1>, QStackedWidget* stackedWidgetArg)\n{\n listWidget = <ID_1>;\n stackedWidget = stackedWidgetArg;\n connect(listWidget, &QListWidget::currentRowChanged, this, &NamedElementListControllerObject::currentElementChangeHandler);\n\n listWidget->setContextMenuPolicy(Qt::CustomContextMenu);\n connect(listWidget, &QWidget::customContextMenuRequested, this, &NamedElementListControllerObject::listWidgetContextMenuEventHandler);\n}", "target_text": "{\"<ID_1>\": \"listWidgetArg\"}"}