conversations listlengths 2 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Enable exceptions for this test case to speculatively fix the build bots.\n\nHopefully corrects: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/15666\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@310732 91177308-0d34-0410-b5e6-9623... | c++ | chosen |
[
{
"from": "system",
"value": "Handle a little bug with empty files.\n\nWhen giving a length of 0 to mmap(2) we get an EINVAL so the exception\nthrown was not accurate.\n"
},
{
"from": "human",
"value": "#include \"mapped_file.h\"\n\n#include <exception/os.h>\n\n#include <fcntl.h>\n#include <sys/... | c++ | chosen |
[
{
"from": "system",
"value": "Remove confusing transpose() in setLinSpaced() docs.\n"
},
{
"from": "human",
"value": "VectorXf v;\nv.setLinSpaced(5,0.5f,1.5f).transpose();\ncout << v << endl;\n"
},
{
"from": "gpt",
"value": "VectorXf v;\nv.setLinSpaced(5,0.5f,1.5f);\ncout << v << end... | c++ | chosen |
[
{
"from": "system",
"value": "Mark another test as flaky\n\nReported on the NetBSD 8 buildbot.\n\n\ngit-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@352064 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "//===-----------------------------------------------------------... | c++ | chosen |
[
{
"from": "system",
"value": "Send correct exit code on test failure.\n"
},
{
"from": "human",
"value": "\n#include <cppunit/XmlOutputter.h>\n#include <cppunit/extensions/TestFactoryRegistry.h>\n#include <cppunit/ui/text/TestRunner.h>\n#include <cppunit/TestResult.h>\n#include <cppunit/TestResul... | c++ | chosen |
[
{
"from": "system",
"value": "Make early exits, when active, more efficient\n"
},
{
"from": "human",
"value": "#include \"common.th\"\n\n// c <- multiplicand\n// d <- multiplier\n// b -> product\n.global imul\nimul:\n pushall(h,i,j)\n\n b <- 0\n#if IMUL_EARLY_EXITS\n i <- d == 0\n i ... | c++ | chosen |
[
{
"from": "system",
"value": "Use progran name as default log entry prefix.\n"
},
{
"from": "human",
"value": "/** \\file SysLog.h\n * \\brief Declaration of class SysLog.\n * \\author Dr. Johannes Ruscheinski\n */\n\n/*\n * Copyright 2020 University Library of Tübingen\n *\n * This pr... | c++ | chosen |
[
{
"from": "system",
"value": "Make snippet run successfully again:\n the snippet for 'eval' was taking m=m.transpose() as an example of code\n that needs an explicit call to eval(), but that doesn't work anymore now\n that we have the clever assert detecting aliasing issues.\n"
},
{
"from": "human",... | c++ | chosen |
[
{
"from": "system",
"value": "Fix a syscall number for 64-bit arm\n\n\nFormer-commit-id: 3009473fe53734890768250e4b4ae81a42df9c85"
},
{
"from": "human",
"value": "#define SYS_CLOCK_GETTIME 263\n#include \"linux_clock.cpp\"\n"
},
{
"from": "gpt",
"value": "#ifdef BITS_64\n#define SYS_... | c++ | chosen |
[
{
"from": "system",
"value": "chrome: Check idle state for Ozone platform\n\nX11 screen savers are special ones but we hope that most of the Ozone\nimplementations won't need these special treatment as in here. Therefore just\nreturn false.\n\nBUG=295089\n\nReview URL: https://chromiumcodereview.appspot.com... | c++ | chosen |
[
{
"from": "system",
"value": "Remove stale CHECK lines that should have been included in r277478\n\nWe no longer assign ids to unregistered threads. We don't have any stack\ntrace for thread creation for these worker threads, so this shouldn't\naffect report quality much.\n\ngit-svn-id: c199f293c43da69278be... | c++ | chosen |
[
{
"from": "system",
"value": "Fix broken synth reg A gen\n"
},
{
"from": "human",
"value": "#include <stdint.h>\n#include \"receiver.h\"\n\n\nReceiver::Receiver(\n uint8_t spiClockPin,\n uint8_t spiDataPin,\n uint8_t spiSelectPin\n) {\n this->driver.init(spiClockPin, spiDataPin, spiS... | c++ | chosen |
[
{
"from": "system",
"value": "Fix to avoid empty files. Could still be improved, but it is enough for\nnow.\n"
},
{
"from": "human",
"value": "// Copyright 2015 Alessio Sclocco <a.sclocco@vu.nl>\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this fi... | c++ | chosen |
[
{
"from": "system",
"value": "Check IR instead of assembly in this test.\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@196275 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// REQUIRES: x86-registered-target,x86-64-registered-target\n// RUN: %clang_cc1 -triple ... | c++ | chosen |
[
{
"from": "system",
"value": "Add actual documentation link into calibration checker output\n\nThe output was generated when we didn't have the final repository available.\nHowever, updating the output got lost over time...\n"
},
{
"from": "human",
"value": "// this is for emacs file handling -*... | c++ | chosen |
[
{
"from": "system",
"value": "[asan] Speed up ASan unit tests by turning off symbolication\n\nASan unit tests don't depend on the symbolizer and they never test its output, but currently they still run it for every crash. This patch simply disables the symbolizer for unit tests, which provides some speed up... | c++ | chosen |
[
{
"from": "system",
"value": "Load the denoiser module after initializing OSPRay\n"
},
{
"from": "human",
"value": "// Copyright 2018-2020 Intel Corporation\n// SPDX-License-Identifier: Apache-2.0\n\n#include \"GLFWOSPRayWindow.h\"\n#include \"example_common.h\"\n\nusing namespace ospray;\nusing... | c++ | chosen |
[
{
"from": "system",
"value": "Fix plugin data refreshing to work again.\n\nR=ojan\n\nReview URL: http://codereview.chromium.org/9767\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@5216 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
"from": "human",
"value": "// Copyright (c) 2008 The Chro... | c++ | chosen |
[
{
"from": "system",
"value": "Test was restored, interval [<v>-1,<v>+1] was set for hue, saturation and value.\n"
},
{
"from": "human",
"value": "#include <gtest/gtest.h>\n\n#include \"photoeffects.hpp\"\n\nusing namespace cv;\n\nTEST(photoeffects, SepiaFakeTest) {\n Mat src(10, 10, CV_8UC1),... | c++ | chosen |
[
{
"from": "system",
"value": "Add more iterator concept ordering tests.\n"
},
{
"from": "human",
"value": "/**\n * Test suite for the iterator_concepts_ordering.hpp header.\n */\n\n#include <duck/detail/iterator_concepts_ordering.hpp>\n\n#include <boost/mpl/assert.hpp>\n\n\nBOOST_MPL_ASSERT((duc... | c++ | chosen |
[
{
"from": "system",
"value": "Check vs Remove - not so not so clear\n"
},
{
"from": "human",
"value": "#include <vector>\n#include <iostream> \n#include <algorithm> \n\n#ifndef REMOVE_VALUES\n#ifndef CHECK_VALUES\n#error \"define one of REMOVE_VALUES or CH... | c++ | chosen |
[
{
"from": "system",
"value": "Change fgetln (osx specific) in favour of getline (both osx and linux)\n"
},
{
"from": "human",
"value": "// Copyright 2004-present Facebook. All Rights Reserved.\n\n#include <stdio.h>\n#include <string.h>\n\n#include \"osquery/database.h\"\n\nnamespace osquery {\nn... | c++ | chosen |
[
{
"from": "system",
"value": "Make change parallel to guide\n"
},
{
"from": "human",
"value": "#include <proton/default_container.hpp>\n#include <proton/messaging_handler.hpp>\n\n#include <string>\n\nclass ExampleHandler: public proton::messaging_handler {\n std::string url_;\n \n // Th... | c++ | chosen |
[
{
"from": "system",
"value": "Fix compilation error in the focus manager by returning NULL from unimplemented function.\n\nReview URL: http://codereview.chromium.org/152001\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@19649 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
"from": "human",
... | c++ | chosen |
[
{
"from": "system",
"value": "Remove test that compared an empty string to bool\n"
},
{
"from": "human",
"value": "#include \"TestCommon.h\"\n\nUSING_NAMESPACE_KAI\n\nstruct TestString : TestCommon\n{\nprotected:\n void AddrequiredClasses() override\n {\n Reg().AddClass<bool>();\n ... | c++ | chosen |
[
{
"from": "system",
"value": "Set org name and app name\n"
},
{
"from": "human",
"value": "#include <QApplication>\n#include \"mainwindow.h\"\n\nint main(int argc, char *argv[])\n{\n QApplication a(argc, argv);\n MainWindow w;\n w.show();\n \n return a.exec();\n}\n"
},
{
"... | c++ | chosen |
[
{
"from": "system",
"value": "Add explicit <string> include to byteswap test\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 - 2017 gtalent2@gmail.com\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distribute... | c++ | chosen |
[
{
"from": "system",
"value": "Fix missing member initialization on Mac OS\n\nTBR=ager@google.com\n\nFix Mac OS build\\n\\nTBR=ager@google.com\n\nBUG=\nTEST=\n\nReview URL: https://chromiumcodereview.appspot.com//9694037\n\ngit-svn-id: c93d8a2297af3b929165606efe145742a534bc71@5400 260f80e4-7a28-3924-810f-c04... | c++ | chosen |
[
{
"from": "system",
"value": "Remove dependency on importing std into global namespace.\n\n\nFormer-commit-id: 4d4303aea38d8b3039d377b599b2a39ad30604de"
},
{
"from": "human",
"value": "#include <cstdlib>\n#include <stdio.h>\n#include <string.h>\n#include <set>\n#include <string>\n#include <asser... | c++ | chosen |
[
{
"from": "system",
"value": "Fix bug when timing is not set inc hannel\n"
},
{
"from": "human",
"value": "#include \"channel.h\"\n#include \"timing/timingfactory.h\"\n\nclass Channel::Private\n{\npublic:\n Private()\n : id(0)\n {\n }\n\n int id;\n QString target;\n QString ... | c++ | chosen |
[
{
"from": "system",
"value": "Add some CL options for android\n"
},
{
"from": "human",
"value": "#include <jni.h>\n#include \"Device.h\"\n\nnamespace crown\n{\n\n//-----------------------------------------------------------------------------\nextern \"C\" JNIEXPORT void JNICALL Java_crown_androi... | c++ | chosen |
[
{
"from": "system",
"value": "Fix wrong size for index buffer\n"
},
{
"from": "human",
"value": "// Copyright (c) 2017 Pierre Fourgeaud\n// Use of this source code is governed by the MIT license that can be\n// found in the LICENSE file.\n\n#include \"rendersystems/GL/indexbufferGL.h\"\n#include... | c++ | chosen |
[
{
"from": "system",
"value": "Add basic command line flag handling using cppassist/cmdline\n"
},
{
"from": "human",
"value": "\nint main(int argc, char* argv[])\n{\n\n}"
},
{
"from": "gpt",
"value": "#include <iostream>\n#include <string>\n\n#include <cppassist/cmdline/ArgumentParser... | c++ | chosen |
[
{
"from": "system",
"value": "Set TopLeft button text as QtChronos\n"
},
{
"from": "human",
"value": "#include \"headers/mainwindow.h\"\n#include \"ui_mainwindow.h\"\n\nMainWindow::MainWindow(QWidget *parent) :\n QMainWindow(parent),\n ui(new Ui::MainWindow) {\n ui->setupUi(this);\n\n ... | c++ | chosen |
[
{
"from": "system",
"value": "Update recently-added test to use new __c11_ form of atomic builtins.\n\n\ngit-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@154514 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// RUN: %clang_cc1 %s -emit-llvm -o - -triple=i686-apple-da... | c++ | chosen |
[
{
"from": "system",
"value": "[sanitizer] Replace cast with unsigned literals in tests\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@330048 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "//===-- sanitizer_vector_test.cc -----------------------------------------... | c++ | chosen |
[
{
"from": "system",
"value": "Clear spurious timing code from bounds_interence\n\n\nFormer-commit-id: 156b142583ceeee9c10e34aff5f8da769b38a2d4"
},
{
"from": "human",
"value": "#include <Halide.h>\n#include <sys/time.h>\n\nusing namespace Halide;\n\ndouble currentTime() {\n timeval t;\n get... | c++ | chosen |
[
{
"from": "system",
"value": "Add a missing target requirement.\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@230430 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// RUN: rm -rf %t\n// RUN: pp-trace -ignore FileChanged,MacroDefined %s -x objective-c++ -undef -... | c++ | chosen |
[
{
"from": "system",
"value": "Set console log level to debug\n"
},
{
"from": "human",
"value": "#include \"spaghetti/logger.h\"\n\nnamespace spaghetti::log {\n\nLogger g_loggerConsole{};\nLogger g_loggerFile{};\n\nvoid init()\n{\n if (!g_loggerConsole) g_loggerConsole = spdlog::stdout_color_mt(... | c++ | chosen |
[
{
"from": "system",
"value": "Fix some more debugging fallout\n"
},
{
"from": "human",
"value": "/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\n/*\n * This file is part of the libone project.\n *\n * This Source Code Form is subject to the terms of the Mozilla P... | c++ | chosen |
[
{
"from": "system",
"value": "Comms: Fix basic issue with connecting using TCP"
},
{
"from": "human",
"value": "#include <QInputDialog>\n\n#include \"QGCTCPLinkConfiguration.h\"\n#include \"ui_QGCTCPLinkConfiguration.h\"\n#include <stdint.h>\n\nQGCTCPLinkConfiguration::QGCTCPLinkConfiguration(TC... | c++ | chosen |
[
{
"from": "system",
"value": "AuthDialog: Set focus on password field\n"
},
{
"from": "human",
"value": "#include \"authdialog.h\"\n\n#include <qconnman/manager.h>\n#include <qconnman/agent.h>\n\n#include <QDebug>\n\nAuthDialog::AuthDialog(Manager *manager, QWidget *parent):\n QDialog(parent)... | c++ | chosen |
[
{
"from": "system",
"value": "Remove problemanic on VS test\n"
},
{
"from": "human",
"value": "// Copyright 2017, Dawid Kurek, <dawikur@gmail.com>\n\n#include \"lel/operation/unary.hpp\"\n\n#include \"gtest/gtest.h\"\n\nTEST(unary_test, logical_not_can_be_used_in_constexpr) {\n std::logical_not... | c++ | chosen |
[
{
"from": "system",
"value": "Add glfw window to texture demo\n"
},
{
"from": "human",
"value": "\n#include <iostream>\n\n#include <texturebased/polarmapped.h>\n\n\nint main(int /*argc*/, char* /*argv*/[])\n{\n\n // TODO: glfw\n\n return 0;\n}\n"
},
{
"from": "gpt",
"value": "\... | c++ | chosen |
[
{
"from": "system",
"value": "Add sleep of 16 milliseconds for reduce framerate (High framerate make than my GPU do sharp creepy sound)\n"
},
{
"from": "human",
"value": "#include \"ImwWindowManagerDX11.h\"\n#include \"ImwPlatformWindowDX11.h\"\n\n#include <imgui_impl_dx11.h>\n\nusing namespace ... | c++ | chosen |
[
{
"from": "system",
"value": "Create element for recorder endpoint\n\nChange-Id: Ife20bb15b855e1d201450c51af86a003f7331abc\n"
},
{
"from": "human",
"value": "/*\n * RecorderEndPoint.cpp - Kurento Media Server\n *\n * Copyright (C) 2013 Kurento\n * Contact: Miguel París Díaz <mparisdiaz@gmail.com... | c++ | chosen |
[
{
"from": "system",
"value": "Include platform header before determining OS\n"
},
{
"from": "human",
"value": "// This file is distributed under the MIT license.\n// See the LICENSE file for details.\n\n#include <visionaray/detail/macros.h>\n\n#if defined(VSNRAY_OS_WIN32)\n#include <windows.h>\n... | c++ | chosen |
[
{
"from": "system",
"value": "Remove unnecessary zeroing out of output buffer\n"
},
{
"from": "human",
"value": "#include <iostream>\n\n#include \"floaxie/dtoa.h\"\n\nusing namespace std;\nusing namespace floaxie;\n\nint main(int, char**)\n{\n\tdouble pi = 0.1;\n\tchar buffer[128];\n\n\tfor (int... | c++ | chosen |
[
{
"from": "system",
"value": "client: Fix compilation error by including a more specific header file.\n\nThe compilation error was:\n[ 5%] Building CXX object CMakeFiles/xtreemfs.dir/src/libxtreemfs/interrupt.cpp.o\nIn file included from /usr/include/boost/date_time/local_time/tz_database.hpp:14,\n ... | c++ | chosen |
[
{
"from": "system",
"value": "Fix compilation issue on older mac (< 10.12)\n\nError was:\nIn file included from src/lib/entropy/getentropy/getentropy.cpp:13:\n/usr/include/sys/random.h:37:32: error: unknown type name 'u_int'\nvoid read_random(void* buffer, u_int numBytes);\n ^\... | c++ | chosen |
[
{
"from": "system",
"value": "Fix bug where directories would fail to open when recursing\n"
},
{
"from": "human",
"value": "//\n// src/utils/directory.cc\n// tbd\n//\n// Created by inoahdev on 10/17/17.\n// Copyright © 2017 inoahdev. All rights reserved.\n//\n\n#include \"directory.h\"\n\nn... | c++ | chosen |
[
{
"from": "system",
"value": "Remove a line included to test the parser.\n"
},
{
"from": "human",
"value": "#include \"robobo.h\"\n#include \"configuration.cpp\"\n#include \"servercapab.cpp\"\n#include \"socket.cpp\"\n\nstd::string input, command, currentNick;\nstd::vector<std::string> inputPara... | c++ | chosen |
[
{
"from": "system",
"value": "DM: Apply initial transform in --skr mode.\n\nBUG=skia:2378\nR=reed@google.com, mtklein@google.com\n\nAuthor: mtklein@chromium.org\n\nReview URL: https://codereview.chromium.org/263853005\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@14521 2bbb7eff-a529-9590-31e7-b000... | c++ | chosen |
[
{
"from": "system",
"value": "Make deleted special member functions private.\n"
},
{
"from": "human",
"value": "// http://www.nuonsoft.com/blog/2017/08/10/implementing-a-thread-safe-singleton-with-c11-using-magic-statics/\n// http://blog.mbedded.ninja/programming/languages/c-plus-plus/magic-stat... | c++ | chosen |
[
{
"from": "system",
"value": "Update to use static versions.\n\nsvn path=/trunk/kdesupport/qca/; revision=359801\n"
},
{
"from": "human",
"value": "#include\"qca.h\"\n#include<stdio.h>\n\nint main(int argc, char **argv)\n{\n\tQCA::Initializer init;\n\tQCString cs = (argc >= 2) ? argv[1] : \"hell... | c++ | chosen |
[
{
"from": "system",
"value": "Update Problem 8 test case\n"
},
{
"from": "human",
"value": "#include \"catch.hpp\"\n\n#include \"StringToInteger.hpp\"\n\nTEST_CASE(\"String To Integer\") {\n Solution s;\n\n SECTION(\"Normal tests\") {\n REQUIRE(s.myAtoi(\"1\") == 1);\n }\n\n SECTION(\"Nor... | c++ | chosen |
[
{
"from": "system",
"value": "Change entity test to use fixtures\n\nThis allows me to reuse thes same data structures in teh tests.\n"
},
{
"from": "human",
"value": "\n#include \"component.h\"\n#include \"entity.h\"\n#include \"gtest/gtest.h\"\n\n/*\nclass TestC : public aronnax::Component {\n ... | c++ | chosen |
[
{
"from": "system",
"value": "Fix incorrect operator in OrderingInfo\n\nXOR is not the same thing as exponentiation\n"
},
{
"from": "human",
"value": "#include \"orderinginfo.h\"\n#include \"defs.h\"\n#include \"eval.h\"\n#include <cstring>\n\nOrderingInfo::OrderingInfo(const TranspTable* tt) {\... | c++ | chosen |
[
{
"from": "system",
"value": "Use proper base 64 encoding for the watermark\n"
},
{
"from": "human",
"value": "#include <utils/unique_alias.hpp>\n\n#include <atomic>\n#include <chrono>\n#include <sstream>\n\nstatic std::atomic<int> __counter(0);\n\nutils::unique_alias::unique_alias()\n{\n std... | c++ | chosen |
[
{
"from": "system",
"value": "Add '<', '=', '>' as search delimeters.\n"
},
{
"from": "human",
"value": "#include \"utf8_string.hpp\"\n\n#include \"../std/iterator.hpp\"\n\n#include \"../3party/utfcpp/source/utf8/unchecked.h\"\n\nnamespace utf8_string\n{\n bool Split(string const & str, vector<... | c++ | chosen |
[
{
"from": "system",
"value": "Add a test case for operator *\n"
},
{
"from": "human",
"value": "// Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.\n#include \"stdafx.h\"\n#include <autowiring/observable.h>\n\nclass ObservableTest:\n public testing::Test\n{};\n\nTEST_F(ObservableT... | c++ | chosen |
[
{
"from": "system",
"value": "Add some headers so we can use NanoVG to render NanoSVG.\n"
},
{
"from": "human",
"value": "#include \"SVGImage.h\"\n\n#define NANOSVG_IMPLEMENTATION \n#include <nanosvg.h>\n\n\nSVGImage::SVGImage() : _nanoSvgImage(nullptr) {\n}\n\nSVGImage::SVGImage(const boost::fi... | c++ | chosen |
[
{
"from": "system",
"value": "Remove bit field logic where not necessary\n"
},
{
"from": "human",
"value": "\n#include <cppfs/FileEventHandler.h>\n\n#include <cppfs/FileHandle.h>\n\n\nnamespace cppfs\n{\n\n\nFileEventHandler::FileEventHandler()\n{\n}\n\nFileEventHandler::~FileEventHandler()\n{\n... | c++ | chosen |
[
{
"from": "system",
"value": "Add example of creating BC for Laplaces eqn\n"
},
{
"from": "human",
"value": "#include \"LinearEllipticPDE.hpp\"\n\ndouble f1(Point const & point) {\n\treturn point.x() * point.x();\n}\n\ndouble f2(Point const & point) {\n\treturn point.y() * point.y();\n}\n\nint m... | c++ | chosen |
[
{
"from": "system",
"value": "Fix wrong animation of boss arm\n\nSigned-off-by: Matheus Miranda <6faf3a473c1bf7863f2eb74400dd6142ec07131e@gmail.com>\n"
},
{
"from": "human",
"value": "#include \"level.hpp\"\n\nusing namespace engine;\n\nvoid Level::load(){\n for(auto game_object : objects){\n ... | c++ | chosen |
[
{
"from": "system",
"value": "Add test scene with test scene system.\n"
},
{
"from": "human",
"value": "//\n// Copyright (C) Alexandr Vorontsov. 2017\n// Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).\n//\n\n#include \"stdafx.h\"\n\n#include <Kioto.h... | c++ | chosen |
[
{
"from": "system",
"value": "Allow repeated input to reset frame counter\n"
},
{
"from": "human",
"value": "#include \"InputHandler.h\"\n#include \"SFML/Window.hpp\"\n#include \"SFData.h\"\n\nPlayer::Direction InputHandler::LastInput;\nint InputHandler::InputTime;\nbool InputHandler::WindowClos... | c++ | chosen |
[
{
"from": "system",
"value": "Implement required tracing API for UnitTestWebKitPlatformSupport.\n\nReview URL: https://chromiumcodereview.appspot.com/9325048\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@120632 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
"from": "human",
"value": "// ... | c++ | chosen |
[
{
"from": "system",
"value": "Add missing initialization of ManagedThread::run_state_\n"
},
{
"from": "human",
"value": "#include \"vm/vm.hpp\"\n\n#include \"util/thread.hpp\"\n#include \"gc/managed.hpp\"\n#include \"shared_state.hpp\"\n\nnamespace rubinius {\n thread::ThreadData<ManagedThread*... | c++ | chosen |
[
{
"from": "system",
"value": "Work around a build error in a very hackish way.\n\nui::CreateInputMethod()'s second parameter is not a pointer. 0 does not make\nthings much better either, but this is an area we are not particularly\ninterested in at the moment.\n"
},
{
"from": "human",
"value": "... | c++ | chosen |
[
{
"from": "system",
"value": "Make a full json buffer first\n"
},
{
"from": "human",
"value": "#include \"../http/client-channel.hh\"\n#include \"http-call.hh\"\n#include \"json.hh\"\n\nnamespace mimosa\n{\nnamespace rpc\n{\n\nbool httpCall(const std::string &url,\n co... | c++ | chosen |
[
{
"from": "system",
"value": "Add a RUN: line so this test doesn't fail.\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@26790 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// %llvmgcc %s -S -o -\nnamespace std {\n class exception { };\n\n class type_info {\... | c++ | chosen |
[
{
"from": "system",
"value": "[clang-tidy] Make a test independent of the default check set.\n\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@223232 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// RUN: clang-tidy %s -- --serialize-diagnostics %t | FileCheck %s... | c++ | chosen |
[
{
"from": "system",
"value": "Simplify this due to changes in the tblgen side\n\n\ngit-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@23908 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//\n... | c++ | chosen |
[
{
"from": "system",
"value": "Update libraries to reflect screen hardware change"
},
{
"from": "human",
"value": "#include \"lcd.h\"\n#include <TFT.h> // Arduino LCD library\n\n// pin definition for LCD\n#define LCD_CS 10\n#define LCD_DC 9\n#define LCD_RST 8\n\nnamespace LCD {\n TFT TFTsc... | c++ | chosen |
[
{
"from": "system",
"value": "[Android] Allow connections from the same user to DevTools server socket\n\nAllow connections to DevTools web debugging socket from the apps that run under\nthe same UID than the browser app process itself. This requires signing the\ncorresponding APK with the same keys than th... | c++ | chosen |
[
{
"from": "system",
"value": "Fix compilation error in HDD's unittest\n"
},
{
"from": "human",
"value": "#include \"../src/utility.h\"\n#include \"../src/HDD/HardDrive.h\"\n\nvoid unittest(){\n const size_t emptyOff = 0x80120;\n\n HDD first(1,true);\n first.init();\n\n int data[1000]... | c++ | chosen |
[
{
"from": "system",
"value": "Disable test that is failing on linux trybots.\n\nBUG=223447\nNOTRY=True\nTBR=jeremya@chromium.org\n\n\nReview URL: https://chromiumcodereview.appspot.com/13031005\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@190294 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
... | c++ | chosen |
[
{
"from": "system",
"value": "Add fileExists and fileSize expression functions\n"
},
{
"from": "human",
"value": "#include \"stdafx.h\"\n#include \"ExpressionFunctions.h\"\n#include \"Misc.h\"\n#include \"Common.h\"\n\nExpressionValue expressionFunctionEndianness(const std::vector<ExpressionValu... | c++ | chosen |
[
{
"from": "system",
"value": "Revert rCTE349288 'Fix a lit test failure after MallocChecker changes'\n\n\ngit-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@349341 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// REQUIRES: static-analyzer\n// RUN: clang-tidy %s -check... | c++ | chosen |
[
{
"from": "system",
"value": "Fix gl error debug print.\n\n\n\ngit-svn-id: e8541e15acce502a64c929015570ad1648e548cd@2356 2bbb7eff-a529-9590-31e7-b0007b416f81\n"
},
{
"from": "human",
"value": "\n/*\n * Copyright 2011 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license ... | c++ | chosen |
[
{
"from": "system",
"value": "Disable some shared lock tests\n\nSince the shared lock is unimplemented, these tests aren't showing the\nexpected behaviour.\n\nSigned-off-by: Robert Young <42c59959a3f4413d6a1b4d7b4f99db457d199e49@gmail.com>\n"
},
{
"from": "human",
"value": "#include <Pith/Config... | c++ | chosen |
[
{
"from": "system",
"value": "Fix wrong number of max open files\n\ngit-svn-id: 9714148d14941aebeae8d7f7841217f5ffc02bc5@1163 4143565c-f3ec-42ea-b729-f8ce0cf5cbc3\n"
},
{
"from": "human",
"value": "\n#include \"ReadFileManager.h\" // Own interface\n#include \"ReadFile.h\" //... | c++ | chosen |
[
{
"from": "system",
"value": "Fix logging resolution as chars.\n"
},
{
"from": "human",
"value": "//\n// WindowSettings.cpp\n// Hume\n//\n// Created by Marshall Clyburn on 7/11/14.\n// Copyright (c) 2014 Marshall Clyburn. All rights reserved.\n//\n\n#include \"WindowSettings.h\"\n\nnamespace... | c++ | chosen |
[
{
"from": "system",
"value": "Update return datatype function 'createRandomPopulation'.\n"
},
{
"from": "human",
"value": "#include <iostream>\n#include <cstdlib>\n\n#include \"population.h\"\n\nint **POPULATION::initializePopulation(int individuals, int genes, bool FILL_ZERO)\n{\n int **popula... | c++ | chosen |
[
{
"from": "system",
"value": "Fix case where received message was potentially dropped in C++ bot\n\nThe read_until() may leave trailing data to read buffer, and this\nwas not handled properly by the sample bot.\n\nBig thanks to Mika Urtela for spotting this.\n\nSigned-off-by: Harri Salokorpi <eefb23b8deb8c3... | c++ | chosen |
[
{
"from": "system",
"value": "Fix flashing in WebContents we create\n\nIf the embedding app creates them it's up to them to fix this.\n"
},
{
"from": "human",
"value": "#include \"browser/inspectable_web_contents.h\"\n\n#include \"browser/inspectable_web_contents_impl.h\"\n\nnamespace brightray ... | c++ | chosen |
[
{
"from": "system",
"value": "Disable one MSAN test in AArch64 until we have a proper fix\n\ngit-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@248008 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "// RUN: %clangxx_msan -fsanitize-memory-track-origins -O0 %s -o %t && n... | c++ | chosen |
[
{
"from": "system",
"value": "[libc++abi] Remove missed use of config.h\n\ngit-svn-id: 6a9f6578bdee8d959f0ed58970538b4ab6004734@299143 91177308-0d34-0410-b5e6-96231b3b80d8\n"
},
{
"from": "human",
"value": "//===------------------------- cxa_exception.cpp --------------------------===//\n//\n// ... | c++ | chosen |
[
{
"from": "system",
"value": "Adjust minor animated tiles transgression\n"
},
{
"from": "human",
"value": "#include <QtPlugin>\n\\\n#include \"animatedtilesplugin.h\"\n#include \"animatedtilesitem.h\"\n\n\nAnimatedTilesPlugin::AnimatedTilesPlugin()\n{\n this->mName = \"AnimatedTiles\";\n /... | c++ | chosen |
[
{
"from": "system",
"value": "UAS: Fix altitude not being reported in metres to PFD"
},
{
"from": "human",
"value": "#include \"AbsPositionOverview.h\"\n\nAbsPositionOverview::AbsPositionOverview(QObject *parent) :\n QObject(parent)\n{\n}\n\nvoid AbsPositionOverview::parseGpsRawInt(LinkInterf... | c++ | chosen |
[
{
"from": "system",
"value": "Modify a couple tests to use asserts.\n\n\nFormer-commit-id: 60bee038bc7d01fa0eed5cb4f4a34a70650de97b [formerly 13be900e6fa1f86d7bd68dbcd5a408d00b432c2c]\nFormer-commit-id: 87eae1ec908b0a38284b4f477a38e13008c30d31"
},
{
"from": "human",
"value": "#include \"gtest/gt... | c++ | chosen |
[
{
"from": "system",
"value": "Add support for reading input files from the command line.\n\nSigned-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>\n"
},
{
"from": "human",
"value": "#include <iostream>\n#include \"version.h\"\n#include \"parser.h\"\nusing names... | c++ | chosen |
[
{
"from": "system",
"value": "Fix random drawing of cards\n"
},
{
"from": "human",
"value": "/*\n * Deck.cpp\n *\n * Created on: 11.01.2017\n * Author: Stefan\n */\n\n#include <memory>\n#include <random>\n#include \"Deck.h\"\n#include \"Card.h\"\n#include \"GlobalDeclarations.h\"\n\nvoid D... | c++ | chosen |
[
{
"from": "system",
"value": "Add extra argument to toggle board printing\n"
},
{
"from": "human",
"value": "#include <iostream>\n#include <thread>\n#include <vector>\n#include \"World.h\"\n\nusing namespace std;\n\nint main(int argc, char * argv[]) {\n\n if (argc != 4) {\n std::cerr <... | c++ | chosen |
[
{
"from": "system",
"value": "Fix for Release build break\n\nReview URL: http://codereview.chromium.org/293050\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@29656 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
"from": "human",
"value": "// Copyright (c) 2009 The Chromium Authors. All rig... | c++ | chosen |
[
{
"from": "system",
"value": "Fix Tools compilation under OS X\n\n__unix__ is defined only on Linux. Use OS X specific define.\n"
},
{
"from": "human",
"value": "#ifdef __unix__\n\n#include <iostream>\n#include <signal.h>\n#include <stdio.h>\n#include <unistd.h>\n\n#include \"Types.h\"\n\n#inclu... | c++ | chosen |
[
{
"from": "system",
"value": "Fix weird undefined reference to HookNative (GCC 4.5.2)\n"
},
{
"from": "human",
"value": "// Copyright (c) 2011 Zeex\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// Y... | c++ | chosen |
[
{
"from": "system",
"value": "Add further note to future self.\n"
},
{
"from": "human",
"value": "//\n// SNA.cpp\n// Clock Signal\n//\n// Created by Thomas Harte on 24/04/2021.\n// Copyright © 2021 Thomas Harte. All rights reserved.\n//\n\n#include \"SNA.hpp\"\n\nusing namespace Storage::Sta... | c++ | chosen |
[
{
"from": "system",
"value": "Add missing call to begin() for MCP3208 object\n"
},
{
"from": "human",
"value": "/*\n High_Temp.cpp\n\n 2014 Copyright (c) Seeed Technology Inc. All right reserved.\n\n Loovee\n 2013-4-14\n\n This library is free software; you can redistribute it and/or\n mo... | c++ | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.