text stringlengths 54 60.6k |
|---|
<commit_before>92ee2bae-2d3e-11e5-89e0-c82a142b6f9b<commit_msg>9350cade-2d3e-11e5-a753-c82a142b6f9b<commit_after>9350cade-2d3e-11e5-a753-c82a142b6f9b<|endoftext|> |
<commit_before>8d6dfd35-2d14-11e5-af21-0401358ea401<commit_msg>8d6dfd36-2d14-11e5-af21-0401358ea401<commit_after>8d6dfd36-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>cb0431b8-35ca-11e5-90c1-6c40088e03e4<commit_msg>cb0ac500-35ca-11e5-b576-6c40088e03e4<commit_after>cb0ac500-35ca-11e5-b576-6c40088e03e4<|endoftext|> |
<commit_before>77e0e9ec-2d53-11e5-baeb-247703a38240<commit_msg>77e168f4-2d53-11e5-baeb-247703a38240<commit_after>77e168f4-2d53-11e5-baeb-247703a38240<|endoftext|> |
<commit_before>65836f14-2fa5-11e5-83f3-00012e3d3f12<commit_msg>658591f4-2fa5-11e5-a1c8-00012e3d3f12<commit_after>658591f4-2fa5-11e5-a1c8-00012e3d3f12<|endoftext|> |
<commit_before>1f83d990-585b-11e5-a3d4-6c40088e03e4<commit_msg>1f8ae000-585b-11e5-b14e-6c40088e03e4<commit_after>1f8ae000-585b-11e5-b14e-6c40088e03e4<|endoftext|> |
<commit_before>/*
* pab.cpp
*
* Copyright (C) 1999 Don Sanders <dsanders@kde.org>
*/
#include "abbrowser.h"
#include "browserentryeditor.h"
#include <qkeycode.h>
//#include <kfm.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kglobal.h>
#include <kmenubar.h>
#include <kconfig.h>
#include "undo.h"
#inc... |
<commit_before>69d05b02-2fa5-11e5-b069-00012e3d3f12<commit_msg>69d22fc2-2fa5-11e5-b6ac-00012e3d3f12<commit_after>69d22fc2-2fa5-11e5-b6ac-00012e3d3f12<|endoftext|> |
<commit_before>#include "html5viewer/html5viewer.h"
#include "ClientWrapper.hpp"
#include "Utilities.hpp"
#include <boost/thread.hpp>
#include <bts/blockchain/config.hpp>
#include <signal.h>
#include <QApplication>
#include <QSettings>
#include <QPixmap>
#include <QErrorMessage>
#include <QSplashScreen>
#include <QDi... |
<commit_before>f2afa107-327f-11e5-a75e-9cf387a8033e<commit_msg>f2b58e61-327f-11e5-a10a-9cf387a8033e<commit_after>f2b58e61-327f-11e5-a10a-9cf387a8033e<|endoftext|> |
<commit_before>125b0264-585b-11e5-9104-6c40088e03e4<commit_msg>12629db4-585b-11e5-aa7e-6c40088e03e4<commit_after>12629db4-585b-11e5-aa7e-6c40088e03e4<|endoftext|> |
<commit_before>5ae7ecf9-2d16-11e5-af21-0401358ea401<commit_msg>5ae7ecfa-2d16-11e5-af21-0401358ea401<commit_after>5ae7ecfa-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>b5e8c3f3-2e4f-11e5-9da7-28cfe91dbc4b<commit_msg>b5f0115c-2e4f-11e5-9b98-28cfe91dbc4b<commit_after>b5f0115c-2e4f-11e5-9b98-28cfe91dbc4b<|endoftext|> |
<commit_before>// Copyright (c) 2013, Matthew Harvey. All rights reserved.
/** \file main.cpp
*
* \brief Contains main function, and possibly some small amount
* of other code, relating to Phatbooks application.
*
* \author Matthew Harvey
* \date 04 July 2012.
*
* Copyright (c) 2012, Matthew Harvey. All right... |
<commit_before>13bc61d0-2f67-11e5-ae13-6c40088e03e4<commit_msg>13c4076c-2f67-11e5-a50c-6c40088e03e4<commit_after>13c4076c-2f67-11e5-a50c-6c40088e03e4<|endoftext|> |
<commit_before>a97a00b8-2e4f-11e5-8484-28cfe91dbc4b<commit_msg>a9808b7a-2e4f-11e5-a256-28cfe91dbc4b<commit_after>a9808b7a-2e4f-11e5-a256-28cfe91dbc4b<|endoftext|> |
<commit_before>442859ae-5216-11e5-8a98-6c40088e03e4<commit_msg>442ff6e6-5216-11e5-9a97-6c40088e03e4<commit_after>442ff6e6-5216-11e5-9a97-6c40088e03e4<|endoftext|> |
<commit_before>38722402-ad5a-11e7-acbd-ac87a332f658<commit_msg>TODO: Add a beter commit message<commit_after>38df7573-ad5a-11e7-841c-ac87a332f658<|endoftext|> |
<commit_before>68b463b6-2fa5-11e5-b940-00012e3d3f12<commit_msg>68b63874-2fa5-11e5-b3cb-00012e3d3f12<commit_after>68b63874-2fa5-11e5-b3cb-00012e3d3f12<|endoftext|> |
<commit_before>4e6380d0-5216-11e5-b7de-6c40088e03e4<commit_msg>4e6bcc70-5216-11e5-87d9-6c40088e03e4<commit_after>4e6bcc70-5216-11e5-87d9-6c40088e03e4<|endoftext|> |
<commit_before>e80d2a9c-313a-11e5-babe-3c15c2e10482<commit_msg>e81314c0-313a-11e5-8bb6-3c15c2e10482<commit_after>e81314c0-313a-11e5-8bb6-3c15c2e10482<|endoftext|> |
<commit_before>#include <QtGui/QApplication>
#include "ImageVis3D.h"
int main(int argc, char* argv[])
{
QApplication app( argc, argv );
MainWindow mainWindow(0, Qt::Window);
mainWindow.show();
return app.exec();
}<commit_msg><commit_after>#include <QtGui/QApplication>
#include "ImageVis3D.h"
int main(int argc, ch... |
<commit_before>#include <iostream>
using namespace std;
int main(){
ddddddddddd cout << "this is jenkins test" << endl;
}
<commit_msg>fix build error<commit_after>#include <iostream>
using namespace std;
int main(){
cout << "this is jenkins test" << endl;
}
<|endoftext|> |
<commit_before>8d6dfc93-2d14-11e5-af21-0401358ea401<commit_msg>8d6dfc94-2d14-11e5-af21-0401358ea401<commit_after>8d6dfc94-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>ab7ae724-35ca-11e5-bc47-6c40088e03e4<commit_msg>ab81e678-35ca-11e5-acde-6c40088e03e4<commit_after>ab81e678-35ca-11e5-acde-6c40088e03e4<|endoftext|> |
<commit_before>f3068b54-585a-11e5-9f45-6c40088e03e4<commit_msg>f30d1b0c-585a-11e5-a714-6c40088e03e4<commit_after>f30d1b0c-585a-11e5-a714-6c40088e03e4<|endoftext|> |
<commit_before>5bf67432-2d16-11e5-af21-0401358ea401<commit_msg>5bf67433-2d16-11e5-af21-0401358ea401<commit_after>5bf67433-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>8b33252c-2d14-11e5-af21-0401358ea401<commit_msg>8b33252d-2d14-11e5-af21-0401358ea401<commit_after>8b33252d-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>6e589f0c-2e3a-11e5-ab80-c03896053bdd<commit_msg>6e69b92e-2e3a-11e5-a820-c03896053bdd<commit_after>6e69b92e-2e3a-11e5-a820-c03896053bdd<|endoftext|> |
<commit_before>#include <iostream>
#include <ring.h>
#include <array>
#include <utility>
int main()
{
using namespace std::rel_ops;
std::array< int, 3 > baseArray;
sg14::ring_span< int > ringBuffer( baseArray.begin(), baseArray.end() );
ringBuffer.push_back( 1 );
ringBuffer.push_back( 2 );
ringBuffer.push_back... |
<commit_before>5b03fd36-5216-11e5-ad93-6c40088e03e4<commit_msg>5b0bc00a-5216-11e5-999e-6c40088e03e4<commit_after>5b0bc00a-5216-11e5-999e-6c40088e03e4<|endoftext|> |
<commit_before>9101ad85-2d14-11e5-af21-0401358ea401<commit_msg>9101ad86-2d14-11e5-af21-0401358ea401<commit_after>9101ad86-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>459a0166-2e3a-11e5-bb50-c03896053bdd<commit_msg>45a8f838-2e3a-11e5-b779-c03896053bdd<commit_after>45a8f838-2e3a-11e5-b779-c03896053bdd<|endoftext|> |
<commit_before>8fd048f2-2d14-11e5-af21-0401358ea401<commit_msg>8fd048f3-2d14-11e5-af21-0401358ea401<commit_after>8fd048f3-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>d72c001c-585a-11e5-84b9-6c40088e03e4<commit_msg>d732a0e8-585a-11e5-88d4-6c40088e03e4<commit_after>d732a0e8-585a-11e5-88d4-6c40088e03e4<|endoftext|> |
<commit_before>7f6cf5f1-2d15-11e5-af21-0401358ea401<commit_msg>7f6cf5f2-2d15-11e5-af21-0401358ea401<commit_after>7f6cf5f2-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>e5bc26cc-2e4e-11e5-a1b1-28cfe91dbc4b<commit_msg>e5c43917-2e4e-11e5-9150-28cfe91dbc4b<commit_after>e5c43917-2e4e-11e5-9150-28cfe91dbc4b<|endoftext|> |
<commit_before>5e5893fe-2d16-11e5-af21-0401358ea401<commit_msg>5e5893ff-2d16-11e5-af21-0401358ea401<commit_after>5e5893ff-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>820bf217-2749-11e6-a462-e0f84713e7b8<commit_msg>Did a thing<commit_after>82198f85-2749-11e6-a4c9-e0f84713e7b8<|endoftext|> |
<commit_before>129fd488-2f67-11e5-9a36-6c40088e03e4<commit_msg>12a65e98-2f67-11e5-9350-6c40088e03e4<commit_after>12a65e98-2f67-11e5-9350-6c40088e03e4<|endoftext|> |
<commit_before>6ad4f9c6-2fa5-11e5-9caf-00012e3d3f12<commit_msg>6ad6a774-2fa5-11e5-b768-00012e3d3f12<commit_after>6ad6a774-2fa5-11e5-b768-00012e3d3f12<|endoftext|> |
<commit_before>#include <iostream>
using namespace std;
int main(){
cout << "hola mundo";
retrun 0;
}
<commit_msg>Update main.cpp<commit_after>#include <iostream>
using namespace std;
int main(){
cout << "hola mundo"<<endl;
retrun 0;
}
<|endoftext|> |
<commit_before>db374b2b-313a-11e5-80b8-3c15c2e10482<commit_msg>db3d7663-313a-11e5-abe2-3c15c2e10482<commit_after>db3d7663-313a-11e5-abe2-3c15c2e10482<|endoftext|> |
<commit_before>312c30fe-2f67-11e5-ab69-6c40088e03e4<commit_msg>313321c8-2f67-11e5-9c58-6c40088e03e4<commit_after>313321c8-2f67-11e5-9c58-6c40088e03e4<|endoftext|> |
<commit_before>a2bd12ba-2e4f-11e5-9db4-28cfe91dbc4b<commit_msg>a2ca249e-2e4f-11e5-860a-28cfe91dbc4b<commit_after>a2ca249e-2e4f-11e5-860a-28cfe91dbc4b<|endoftext|> |
<commit_before>cb84e7a4-35ca-11e5-b78d-6c40088e03e4<commit_msg>cb90cc22-35ca-11e5-8d53-6c40088e03e4<commit_after>cb90cc22-35ca-11e5-8d53-6c40088e03e4<|endoftext|> |
<commit_before>f7cdde08-585a-11e5-abfd-6c40088e03e4<commit_msg>f7d4aa08-585a-11e5-8cf0-6c40088e03e4<commit_after>f7d4aa08-585a-11e5-8cf0-6c40088e03e4<|endoftext|> |
<commit_before>e73908f0-313a-11e5-9ffc-3c15c2e10482<commit_msg>e73ec5ee-313a-11e5-a216-3c15c2e10482<commit_after>e73ec5ee-313a-11e5-a216-3c15c2e10482<|endoftext|> |
<commit_before>dd19661c-313a-11e5-8a78-3c15c2e10482<commit_msg>dd203d73-313a-11e5-85a4-3c15c2e10482<commit_after>dd203d73-313a-11e5-85a4-3c15c2e10482<|endoftext|> |
<commit_before>efe76c45-327f-11e5-b4b1-9cf387a8033e<commit_msg>efefaffa-327f-11e5-895d-9cf387a8033e<commit_after>efefaffa-327f-11e5-895d-9cf387a8033e<|endoftext|> |
<commit_before>#include <unistd.h>
#include <getopt.h>
#include <openssl/sha.h>
#include "SHA1.h"
#include "MD5ex.h"
#include "SHA256.h"
#include "SHA512ex.h"
using namespace std;
vector<unsigned char> StringToVector(unsigned char * str)
{
vector<unsigned char> ret;
for(unsigned int x = 0; x < strlen((char*)str); x... |
<commit_before>92323ad9-2d14-11e5-af21-0401358ea401<commit_msg>92323ada-2d14-11e5-af21-0401358ea401<commit_after>92323ada-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>5bf67338-2d16-11e5-af21-0401358ea401<commit_msg>5bf67339-2d16-11e5-af21-0401358ea401<commit_after>5bf67339-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>5c91406e-2748-11e6-bcdb-e0f84713e7b8<commit_msg>almost working<commit_after>5c9d4dab-2748-11e6-bae4-e0f84713e7b8<|endoftext|> |
<commit_before>f737bc54-2e4e-11e5-8932-28cfe91dbc4b<commit_msg>f73e0733-2e4e-11e5-a3d9-28cfe91dbc4b<commit_after>f73e0733-2e4e-11e5-a3d9-28cfe91dbc4b<|endoftext|> |
<commit_before>#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "USART.h"
#include "USART_Debug.h"
#include "DS3231.h"
#include "CommandReader.h"
USART_Data c0d;
USART C0;
TWI_Data twi_d;
DS3231 rtc;
CommandReader cmdReader(&rtc);
void initClocks(){
OSC.CTRL |= OSC_RC32MEN_bm | OSC_RC... |
<commit_before>7085c205-4b02-11e5-8039-28cfe9171a43<commit_msg>fix for the previous fix<commit_after>70908f70-4b02-11e5-b75c-28cfe9171a43<|endoftext|> |
<commit_before>6f8b5934-5216-11e5-994e-6c40088e03e4<commit_msg>6f920286-5216-11e5-b5ba-6c40088e03e4<commit_after>6f920286-5216-11e5-b5ba-6c40088e03e4<|endoftext|> |
<commit_before>25942b63-2e4f-11e5-a7f5-28cfe91dbc4b<commit_msg>259c507a-2e4f-11e5-80f4-28cfe91dbc4b<commit_after>259c507a-2e4f-11e5-80f4-28cfe91dbc4b<|endoftext|> |
<commit_before>#include <iostream>
#include <random>
#include <sys/types.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#define O_BINARY 0
const int RECORD_SIZE = 8 * 1024;
int first_record;
int last_record;
size_t get_file_size(const char *);
void write_records(void);
int main(int argc, char **arg... |
<commit_before>98dfb714-35ca-11e5-b9f4-6c40088e03e4<commit_msg>98e6ba66-35ca-11e5-98f1-6c40088e03e4<commit_after>98e6ba66-35ca-11e5-98f1-6c40088e03e4<|endoftext|> |
<commit_before>32073e5c-2e3a-11e5-8393-c03896053bdd<commit_msg>3216aa7a-2e3a-11e5-928b-c03896053bdd<commit_after>3216aa7a-2e3a-11e5-928b-c03896053bdd<|endoftext|> |
<commit_before>222c6864-2f67-11e5-9c52-6c40088e03e4<commit_msg>22331270-2f67-11e5-a29f-6c40088e03e4<commit_after>22331270-2f67-11e5-a29f-6c40088e03e4<|endoftext|> |
<commit_before>#include <memory>
#include <cstdlib>
#include <stlw/log.hpp>
#include <stlw/result.hpp>
#include <engine/window/window.hpp>
#include <engine/gfx/gfx.hpp>
#include <game/game.hpp>
#include <engine/window/sdl_window.hpp>
#include <engine/gfx/opengl_gfx.hpp>
#include <game/boomhs/boomhs.hpp>
int
main(int... |
<commit_before>
[[noreturn]] int main(int argc, char* argv[]) {
}<commit_msg>main.cxx will serve as my scratchpad for testing<commit_after>#include "binary.hxx"
[[noreturn]] int main(int argc, char* argv[]) {
auto x = 4;
binary<decltype(x)> bin{x};
}<|endoftext|> |
<commit_before>#include <fstream>
#include <iostream>
#include <vector>
#include "templateio.hpp"
#include "parser_combinators.hpp"
#include "profile.hpp"
using namespace std;
//----------------------------------------------------------------------------
// Example Expression Evaluating File Parser.
enum op {add = 0... |
<commit_before>#include "../mtlpp.hpp"
#include "window.hpp"
mtlpp::Device g_device;
mtlpp::CommandQueue g_commandQueue;
mtlpp::Buffer g_vertexBuffer;
mtlpp::RenderPipelineState g_renderPipelineState;
void Render(const Window& win)
{
mtlpp::CommandBuffer commandBuffer = g_commandQ... |
<commit_before>#include "utils.hpp"
void Menu::run(){
sf::RenderWindow window(sf::VideoMode(W_WIDTH, W_HEIGHT), APP_NAME);
//sf::Texture spriteSheet;
//if (!spriteSheet.loadFromFile("./images/spriteSheet.jpg")) std::cout << "Error loading spriteSheet" << std::endl;
sf::RectangleShape bg;... |
<commit_before>/*-
* Copyright (c) 2008 Michael Marner <michael@20papercups.net>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above ... |
<commit_before>/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
Copyright (c) 2003, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Note that the single accessor, Module::Get(), is not actually implemented
// in this file. This is an intentional hook that allows ... |
<commit_before>// Challenge 03:
// Larges prime palendrome less than 1000
#include <iostream>
#include <string>
#include <math.h>
using namespace std;
bool isPrime(int test) {
switch(test) {
case 1 : return false;
case 2 : return true;
default :
// get rid of evens first
... |
<commit_before>// ------------------------------------------------------------------------
// ecasignalview.cpp: A simple command-line tools for monitoring
// signal amplitude.
// Copyright (C) 1999-2002 Kai Vehmanen (kai.vehmanen@wakkanet.fi)
//
// This program is free software; you can redistribute... |
<commit_before>
#include <iostream>
#include <fstream>
#include <utility>
#include <ctime>
// TCLAP
#include "tclap/CmdLine.h"
#include "cereal/archives/json.hpp"
#include "rb-filesystem.hpp"
#include <sdsl/bit_vectors.hpp>
#include <cstdio>
#include <cstdlib>
#include <libgen.h>
#include <sparsepp/spp.h>
#includ... |
<commit_before>#include <iostream>
#include <iomanip>
#include <string>
#include <cctype>
#include <cstdlib>
#include "node.hpp"
using std::string;
using std::stringstream;
using std::cout;
using std::cerr;
using std::endl;
namespace Sass {
size_t Node::fresh = 0;
size_t Node::copied = 0;
Node Node::clone() ... |
<commit_before>// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless require... |
<commit_before>#include "rosplan_knowledge_base/KnowledgeBase.h"
namespace KCL_rosplan {
/*-----------------*/
/* knowledge query */
/*-----------------*/
bool KnowledgeBase::queryKnowledge(rosplan_knowledge_msgs::KnowledgeQueryService::Request &req, rosplan_knowledge_msgs::KnowledgeQueryService::Response &res)... |
<commit_before>//===- ValueNumbering.cpp - Value #'ing Implementation ----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*******************************************************************************
*
* Copyright (c) 2017, DbgVis - The Debugger Visualizer
* Copyright (c) 2017, Peter Andreas Entschev
* All rights reserved.
*
* BSD 3-Clause License
*
* Redistribution and use in source and binary forms, with or wit... |
<commit_before>#ifndef FALCON_CONTROLLER
#define FALCON_CONTROLLER
#include <falcon/core/FalconDevice.h>
#include <falcon/grip/FalconGripFourButton.h>
#include <falcon/firmware/FalconFirmwareNovintSDK.h>
#include <falcon/util/FalconFirmwareBinaryNvent.h>
#include <falcon/kinematic/stamper/StamperUtils.h>
#include <fal... |
<commit_before>#include <QApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#include <QtSingleApplication>
int main(int argc, char *argv[])
{
QtSingleApplication app(argc, argv);
QQmlApplicationEngine engine;
app.setWindowIcon(... |
<commit_before>#include "opencv2/ts.hpp"
#include "precomp.hpp"
#include <climits>
#include <algorithm>
#include <cstdarg>
namespace cv{namespace optim{
using std::vector;
const void dprintf(const char* format,...){
#ifdef ALEX_DEBUG
va_list args;
va_start (args,format);
vprintf(format,args);
va_end(args);
#endif... |
<commit_before>// Copyright (C) 2010-2013 Joshua Boyce.
// See the file COPYING for copying permission.
#include <memory>
#include <string>
#include <vector>
#include <sstream>
#include <iostream>
#include <algorithm>
#include <hadesmem/detail/warning_disable_prefix.hpp>
#include <boost/program_options.hpp... |
<commit_before>#include <cmath>
#include <dish.hpp>
#include <item.hpp>
#include <engineLimits.hpp>
#include <debug.hpp>
#include <errors.hpp>
Dish::Dish(std::string name, Food* food, uint64_t foodMass, uint64_t amountOfPeople) :
Stats {name, DISH_MIN_MASS, DISH_MAX_MASS, DISH_MIN_PRICE, DISH_MAX_PRICE,
... |
<commit_before>/**
* @file src/tools/graphviz/GraphvizExportTool.cpp
* @date Jul. 2016
* @author PhRG - opticalp.fr
*/
/*
Copyright (c) 2016 Ph. Renaud-Goud / Opticalp
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software... |
<commit_before>
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>#include <PageFrameAllocator.hh>
#include <Parameters.hh>
#include <Memory.hh>
#include <Multiboot.hh>
#include <Debug.hh>
#include <Templates.hh>
#include <Modules.hh>
#include <Memory.hh>
#include <Hal.hh>
#include <X86/ThreadContext.hh>
#include <cstring>
#undef DEBUG
#ifdef DEBUG
# define D(x) x
... |
<commit_before>#include "allocore/sound/al_AudioScene.hpp"
namespace al{
Spatializer::Spatializer(const SpeakerLayout& sl){
unsigned numSpeakers = sl.speakers().size();
for(unsigned i=0;i<numSpeakers;++i){
mSpeakers.push_back(sl.speakers()[i]);
}
};
void AudioSceneObject::updateHistory(){
mPosHistory(mPose.p... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributi... |
<commit_before>#include "stdafx.h"
#include "libutils.h"
#include "Config.h"
#include "Exception.h"
#include <fstream>
#include <iostream>
//#include "strutils.h"
CConfig::CConfig(void)
{
}
CConfig::~CConfig(void)
{
#ifdef _LIBUTILS_USE_XML_LIBXML2
m_Document.Close();
#endif
}
void CConfig::Clo... |
<commit_before>/*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permiss... |
<commit_before>#include "filtergraph.h"
#include "camerafilter.h"
#include "kvazaarfilter.h"
#include "rgb32toyuv.h"
#include "openhevcfilter.h"
#include "yuvtorgb32.h"
#include "framedsourcefilter.h"
#include "rtpsinkfilter.h"
#include "displayfilter.h"
#include "audiocapturefilter.h"
#include "audiooutputdevice.h"... |
<commit_before>//===-- JIT.cpp - LLVM Just in Time Compiler ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//... |
<commit_before>#ifndef _adb97dcb_a440_45a7_a9d4_3b33e43100d4
#define _adb97dcb_a440_45a7_a9d4_3b33e43100d4
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#pragma GCC diagnostic ignored "-Wuninitialized"
#endif
namespace fn
{
template<typename T> class optional;
namesp... |
<commit_before>#include "Networking.hpp"
std::mutex coutMutex;
std::string serializeMapSize(const hlt::Map & map) {
std::string returnString = "";
std::ostringstream oss;
oss << map.map_width << ' ' << map.map_height << ' ';
returnString = oss.str();
return returnString;
}
std::string serializeProductions(const... |
<commit_before>//===- lib/ReaderWriter/ELF/WriterELF.cpp ---------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>/* Copyright (C) 2003 Scott Wheeler <wheeler@kde.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list ... |
<commit_before>#pragma once
// `krbn::event_queue::entry` can be used safely in a multi-threaded environment.
#include "event_queue/event.hpp"
#include "event_queue/event_time_stamp.hpp"
#include "json_utility.hpp"
#include "types.hpp"
namespace krbn {
namespace event_queue {
class entry final {
public:
// Constru... |
<commit_before>// Copyright (c) 2010 - 2013 Leap Motion. All rights reserved. Proprietary and confidential.
#include "stdafx.h"
#include "ExceptionFilterTest.h"
#include "EventReceiver.h"
#include "ExceptionFilter.h"
#include <stdexcept>
#include <sstream>
#include <iostream>
using namespace std;
string FormatMessage... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.