text stringlengths 54 60.6k |
|---|
<commit_before>74a2c592-5216-11e5-9995-6c40088e03e4<commit_msg>74a96618-5216-11e5-8594-6c40088e03e4<commit_after>74a96618-5216-11e5-8594-6c40088e03e4<|endoftext|> |
<commit_before>#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <sstream>
using namespace std;
//TODO:
// Create parse function
// Add execute functionality to both classes
// Write loop in main function
class Shell{
public:
She... |
<commit_before>7dd8ddc5-2e4f-11e5-a10a-28cfe91dbc4b<commit_msg>7de0615e-2e4f-11e5-a794-28cfe91dbc4b<commit_after>7de0615e-2e4f-11e5-a794-28cfe91dbc4b<|endoftext|> |
<commit_before>#include "sgct.h"
#include "ParticleSystem.h"
#include "Snow.h"
#include "World.h"
#include "HelperFunctions.h"
#include "Field.h"
#include "DebugField.h"
#include "Gravity.h"
#include "Wind.h"
#include "ObjSystem.h"
#include "SoapBubble.h"
#include "Vortex.h"
#include <iostream>
#include "SimplexNoise.h... |
<commit_before>8431fce3-2d15-11e5-af21-0401358ea401<commit_msg>8431fce4-2d15-11e5-af21-0401358ea401<commit_after>8431fce4-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>2040c44a-2e3a-11e5-9b98-c03896053bdd<commit_msg>2050095a-2e3a-11e5-97cf-c03896053bdd<commit_after>2050095a-2e3a-11e5-97cf-c03896053bdd<|endoftext|> |
<commit_before>4340d17a-2d3d-11e5-88f4-c82a142b6f9b<commit_msg>43c7b06e-2d3d-11e5-b2af-c82a142b6f9b<commit_after>43c7b06e-2d3d-11e5-b2af-c82a142b6f9b<|endoftext|> |
<commit_before>541cf236-2e3a-11e5-94eb-c03896053bdd<commit_msg>5435127e-2e3a-11e5-aa51-c03896053bdd<commit_after>5435127e-2e3a-11e5-aa51-c03896053bdd<|endoftext|> |
<commit_before>2c3113b3-2e4f-11e5-a53c-28cfe91dbc4b<commit_msg>2c375d6b-2e4f-11e5-af63-28cfe91dbc4b<commit_after>2c375d6b-2e4f-11e5-af63-28cfe91dbc4b<|endoftext|> |
<commit_before>2ddc6cc0-2e4f-11e5-a7f7-28cfe91dbc4b<commit_msg>2de496a1-2e4f-11e5-82e0-28cfe91dbc4b<commit_after>2de496a1-2e4f-11e5-82e0-28cfe91dbc4b<|endoftext|> |
<commit_before>5d286578-2d16-11e5-af21-0401358ea401<commit_msg>5d286579-2d16-11e5-af21-0401358ea401<commit_after>5d286579-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>5a314024-2e3a-11e5-b5d2-c03896053bdd<commit_msg>5a3f2558-2e3a-11e5-9ff9-c03896053bdd<commit_after>5a3f2558-2e3a-11e5-9ff9-c03896053bdd<|endoftext|> |
<commit_before>adb56b7a-35ca-11e5-addf-6c40088e03e4<commit_msg>adbc0f7a-35ca-11e5-a223-6c40088e03e4<commit_after>adbc0f7a-35ca-11e5-a223-6c40088e03e4<|endoftext|> |
<commit_before>d17d8db3-2d3e-11e5-a090-c82a142b6f9b<commit_msg>d1d799ba-2d3e-11e5-9540-c82a142b6f9b<commit_after>d1d799ba-2d3e-11e5-9540-c82a142b6f9b<|endoftext|> |
<commit_before>69dca45c-2e3a-11e5-b50d-c03896053bdd<commit_msg>69eb25f4-2e3a-11e5-bf89-c03896053bdd<commit_after>69eb25f4-2e3a-11e5-bf89-c03896053bdd<|endoftext|> |
<commit_before>#include "XmlRpcHttpd.h"
#include <string.h>
#include <string.h>
int opterr = 1;
int optind = 1;
int optopt;
char *optarg;
static int getopt(int argc, char** argv, const char* opts) {
static int sp = 1;
register int c;
register char *cp;
if(sp == 1) {
if(optind >= argc ||
argv[optind][0]... |
<commit_before>b7ebb722-35ca-11e5-809c-6c40088e03e4<commit_msg>b7f27334-35ca-11e5-9dff-6c40088e03e4<commit_after>b7f27334-35ca-11e5-9dff-6c40088e03e4<|endoftext|> |
<commit_before>38c1669e-2e3a-11e5-88c4-c03896053bdd<commit_msg>38cf24c0-2e3a-11e5-b1fa-c03896053bdd<commit_after>38cf24c0-2e3a-11e5-b1fa-c03896053bdd<|endoftext|> |
<commit_before>856278c7-2d15-11e5-af21-0401358ea401<commit_msg>856278c8-2d15-11e5-af21-0401358ea401<commit_after>856278c8-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>0c92f2f6-585b-11e5-b8ec-6c40088e03e4<commit_msg>0c9adcbe-585b-11e5-a0f3-6c40088e03e4<commit_after>0c9adcbe-585b-11e5-a0f3-6c40088e03e4<|endoftext|> |
<commit_before>906d2e42-35ca-11e5-ab22-6c40088e03e4<commit_msg>9073949e-35ca-11e5-8275-6c40088e03e4<commit_after>9073949e-35ca-11e5-8275-6c40088e03e4<|endoftext|> |
<commit_before>67b9cd8f-2e4f-11e5-ac7d-28cfe91dbc4b<commit_msg>67c19ec2-2e4f-11e5-99f7-28cfe91dbc4b<commit_after>67c19ec2-2e4f-11e5-99f7-28cfe91dbc4b<|endoftext|> |
<commit_before>c57ee1e3-2e4e-11e5-97d2-28cfe91dbc4b<commit_msg>c585dceb-2e4e-11e5-8333-28cfe91dbc4b<commit_after>c585dceb-2e4e-11e5-8333-28cfe91dbc4b<|endoftext|> |
<commit_before>2bd3fc7a-2e4f-11e5-aa02-28cfe91dbc4b<commit_msg>2bdaa7de-2e4f-11e5-8bed-28cfe91dbc4b<commit_after>2bdaa7de-2e4f-11e5-8bed-28cfe91dbc4b<|endoftext|> |
<commit_before>a7e2d2d4-35ca-11e5-aa0f-6c40088e03e4<commit_msg>a7ea972e-35ca-11e5-a335-6c40088e03e4<commit_after>a7ea972e-35ca-11e5-a335-6c40088e03e4<|endoftext|> |
<commit_before>7c26b26c-5216-11e5-a796-6c40088e03e4<commit_msg>7c2d843e-5216-11e5-8db9-6c40088e03e4<commit_after>7c2d843e-5216-11e5-8db9-6c40088e03e4<|endoftext|> |
<commit_before>
/*
_______ _______ _ _______ _______ _______ _______ _______________________ _______
( ____ ( ___ ( ( /( ____ \ ( ____ ( ____ ( ____ ( ___ \__ __( ___ ( ____ )
| ( \| ( ) | \ ( | ( \/ | ( \| ( )| ( \| ( ) | ) ( | ( ) | ( )|
| | | | | | \ | ... |
<commit_before>f4e2babd-2e4e-11e5-918e-28cfe91dbc4b<commit_msg>f4ecf5d7-2e4e-11e5-8b0f-28cfe91dbc4b<commit_after>f4ecf5d7-2e4e-11e5-8b0f-28cfe91dbc4b<|endoftext|> |
<commit_before>f0e7c8a6-585a-11e5-b71c-6c40088e03e4<commit_msg>f0eea37e-585a-11e5-9438-6c40088e03e4<commit_after>f0eea37e-585a-11e5-9438-6c40088e03e4<|endoftext|> |
<commit_before>7677596b-2d3d-11e5-8c4e-c82a142b6f9b<commit_msg>76d8982e-2d3d-11e5-816a-c82a142b6f9b<commit_after>76d8982e-2d3d-11e5-816a-c82a142b6f9b<|endoftext|> |
<commit_before>82e03f8a-2e4f-11e5-b7e0-28cfe91dbc4b<commit_msg>82e65b70-2e4f-11e5-b3d8-28cfe91dbc4b<commit_after>82e65b70-2e4f-11e5-b3d8-28cfe91dbc4b<|endoftext|> |
<commit_before>991a5561-2e4f-11e5-836b-28cfe91dbc4b<commit_msg>9920f4ee-2e4f-11e5-83d3-28cfe91dbc4b<commit_after>9920f4ee-2e4f-11e5-83d3-28cfe91dbc4b<|endoftext|> |
<commit_before>a850b611-327f-11e5-8a32-9cf387a8033e<commit_msg>a857560c-327f-11e5-8e72-9cf387a8033e<commit_after>a857560c-327f-11e5-8e72-9cf387a8033e<|endoftext|> |
<commit_before>8d6dfd04-2d14-11e5-af21-0401358ea401<commit_msg>8d6dfd05-2d14-11e5-af21-0401358ea401<commit_after>8d6dfd05-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>d119bbd1-ad5c-11e7-b57f-ac87a332f658<commit_msg>more fixes<commit_after>d1b25a61-ad5c-11e7-b01f-ac87a332f658<|endoftext|> |
<commit_before>8fd048e1-2d14-11e5-af21-0401358ea401<commit_msg>8fd048e2-2d14-11e5-af21-0401358ea401<commit_after>8fd048e2-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>0d0b0c40-2d3f-11e5-b0bc-c82a142b6f9b<commit_msg>0d8e5c8c-2d3f-11e5-b50b-c82a142b6f9b<commit_after>0d8e5c8c-2d3f-11e5-b50b-c82a142b6f9b<|endoftext|> |
<commit_before>0518a2d7-2e4f-11e5-9383-28cfe91dbc4b<commit_msg>051f49a6-2e4f-11e5-a320-28cfe91dbc4b<commit_after>051f49a6-2e4f-11e5-a320-28cfe91dbc4b<|endoftext|> |
<commit_before>7f6cf5d1-2d15-11e5-af21-0401358ea401<commit_msg>7f6cf5d2-2d15-11e5-af21-0401358ea401<commit_after>7f6cf5d2-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>92323b86-2d14-11e5-af21-0401358ea401<commit_msg>92323b87-2d14-11e5-af21-0401358ea401<commit_after>92323b87-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>#include <iostream>
#include <memory>
#include <sstream>
#include <string>
#include <utility>
#include "parse/Parse.hpp"
#include "eval/Eval.hpp"
using namespace parse;
using namespace eval;
using std::cout;
class TreePrinter : public tree::TermVisitor
{
public:
virtual void acceptTerm(const tree... |
<commit_before>#include "gameloop.hpp"
#include "glhead.hpp"
#include "input.hpp"
#include "glresource.hpp"
#include "spinner/vector.hpp"
#include "gpu.hpp"
#include "glx.hpp"
#include "camera.hpp"
// void test0() {
// auto fc = mgr_ft.newFace(mgr_rw.fromFile("/home/slice/.fonts/msgothic.ttc", "r", true), 2);
// aut... |
<commit_before>a6ecc4ae-2e4f-11e5-89ca-28cfe91dbc4b<commit_msg>a6f3930c-2e4f-11e5-9109-28cfe91dbc4b<commit_after>a6f3930c-2e4f-11e5-9109-28cfe91dbc4b<|endoftext|> |
<commit_before>#include <stdio.h>
int main(int ac, char **av) {
printf("Hello, World\n");
}
<commit_msg>Trying to fix git user settings. Deleted .gitconfig by accident.<commit_after>// fixing commit settings.
#include <stdio.h>
int main(int ac, char **av) {
printf("Hello, World\n");
}
<|endoftext|> |
<commit_before>272a7f34-2f67-11e5-862d-6c40088e03e4<commit_msg>27323cec-2f67-11e5-ad9a-6c40088e03e4<commit_after>27323cec-2f67-11e5-ad9a-6c40088e03e4<|endoftext|> |
<commit_before>5f8949c7-2d16-11e5-af21-0401358ea401<commit_msg>5f8949c8-2d16-11e5-af21-0401358ea401<commit_after>5f8949c8-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>917350d1-2e4f-11e5-8ea7-28cfe91dbc4b<commit_msg>917b8c02-2e4f-11e5-882e-28cfe91dbc4b<commit_after>917b8c02-2e4f-11e5-882e-28cfe91dbc4b<|endoftext|> |
<commit_before>42262834-5216-11e5-b9cf-6c40088e03e4<commit_msg>42304594-5216-11e5-adf0-6c40088e03e4<commit_after>42304594-5216-11e5-adf0-6c40088e03e4<|endoftext|> |
<commit_before>364048e3-ad5c-11e7-bc09-ac87a332f658<commit_msg>lets try again<commit_after>36e4bb5e-ad5c-11e7-926a-ac87a332f658<|endoftext|> |
<commit_before>21d45314-2f67-11e5-9d72-6c40088e03e4<commit_msg>21db216e-2f67-11e5-99ae-6c40088e03e4<commit_after>21db216e-2f67-11e5-99ae-6c40088e03e4<|endoftext|> |
<commit_before>37bb69cf-2e4f-11e5-a12f-28cfe91dbc4b<commit_msg>37c327d7-2e4f-11e5-88c7-28cfe91dbc4b<commit_after>37c327d7-2e4f-11e5-88c7-28cfe91dbc4b<|endoftext|> |
<commit_before>
#include <string>
#include <iostream>
#include <libdevcore/Common.h>
#include <libdevcore/CommonData.h>
#include <libdevcore/CommonIO.h>
#include <libsolidity/Scanner.h>
#include <libsolidity/Parser.h>
#include <libsolidity/ASTPrinter.h>
#include <libsolidity/NameAndTypeResolver.h>
#include <libsolidit... |
<commit_before>/*
Copyright (C) 2011 by Nurettin Onur TUĞCU (onur.tugcu@gmail.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights... |
<commit_before>83000dbd-2d15-11e5-af21-0401358ea401<commit_msg>83000dbe-2d15-11e5-af21-0401358ea401<commit_after>83000dbe-2d15-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>1e0c2e30-585b-11e5-952a-6c40088e03e4<commit_msg>1e12d9c6-585b-11e5-a9d1-6c40088e03e4<commit_after>1e12d9c6-585b-11e5-a9d1-6c40088e03e4<|endoftext|> |
<commit_before>72781e05-2e4f-11e5-aa26-28cfe91dbc4b<commit_msg>727e663a-2e4f-11e5-acd1-28cfe91dbc4b<commit_after>727e663a-2e4f-11e5-acd1-28cfe91dbc4b<|endoftext|> |
<commit_before>f2b11cf0-585a-11e5-b785-6c40088e03e4<commit_msg>f2b768d2-585a-11e5-9233-6c40088e03e4<commit_after>f2b768d2-585a-11e5-9233-6c40088e03e4<|endoftext|> |
<commit_before>dddf3da8-327f-11e5-b4bd-9cf387a8033e<commit_msg>dde5d991-327f-11e5-9286-9cf387a8033e<commit_after>dde5d991-327f-11e5-9286-9cf387a8033e<|endoftext|> |
<commit_before>472b4f6c-5216-11e5-afe7-6c40088e03e4<commit_msg>4733ce94-5216-11e5-ad61-6c40088e03e4<commit_after>4733ce94-5216-11e5-ad61-6c40088e03e4<|endoftext|> |
<commit_before>#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
bool isIsogram(const std::string& word)
{
std::unordered_set<char> hash;
for (auto c : word)
if (!hash.insert(c).second || c == ' ')
return false;
return true;
}
bool compare... |
<commit_before>7953edb8-ad5a-11e7-9556-ac87a332f658<commit_msg>My Backup<commit_after>79d9ad19-ad5a-11e7-905a-ac87a332f658<|endoftext|> |
<commit_before>5f8949c2-2d16-11e5-af21-0401358ea401<commit_msg>5f8949c3-2d16-11e5-af21-0401358ea401<commit_after>5f8949c3-2d16-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>2008dbd0-2f67-11e5-802f-6c40088e03e4<commit_msg>200fbe6c-2f67-11e5-a246-6c40088e03e4<commit_after>200fbe6c-2f67-11e5-a246-6c40088e03e4<|endoftext|> |
<commit_before>ff273a91-2e4e-11e5-89af-28cfe91dbc4b<commit_msg>ff2daab0-2e4e-11e5-ab01-28cfe91dbc4b<commit_after>ff2daab0-2e4e-11e5-ab01-28cfe91dbc4b<|endoftext|> |
<commit_before>78d71276-5216-11e5-a508-6c40088e03e4<commit_msg>78ddb1c8-5216-11e5-826a-6c40088e03e4<commit_after>78ddb1c8-5216-11e5-826a-6c40088e03e4<|endoftext|> |
<commit_before>a6f2225e-4b02-11e5-b645-28cfe9171a43<commit_msg>testing<commit_after>a6fd0733-4b02-11e5-ac41-28cfe9171a43<|endoftext|> |
<commit_before>73b8ad11-2e4f-11e5-9718-28cfe91dbc4b<commit_msg>73c0b2dc-2e4f-11e5-acaa-28cfe91dbc4b<commit_after>73c0b2dc-2e4f-11e5-acaa-28cfe91dbc4b<|endoftext|> |
<commit_before>/**
* math.cpp - I got tired of writing flash cards over and over,
* and my son was quite distracted by all the flashy math games.
* I suspect he was paying far more attention to the graphics than
* he was the math. I built this and it was almost an instant hit and
* he seems to be getting far fast... |
<commit_before>// @(#)root/base:$Id$
// Author: Philippe Canal 13/05/2003
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun, Fons Rademakers and al. *
* All rights reserved. *
* ... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2019-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>#include "opt/unroll/unroll_pass.h"
#include "iroha/i_design.h"
#include "iroha/resource_params.h"
#include "opt/loop/loop_block.h"
#include "opt/optimizer_log.h"
#include "opt/unroll/unroller.h"
namespace iroha {
namespace opt {
namespace unroll {
UnrollPass::~UnrollPass() {}
Pass *UnrollPass::Creat... |
<commit_before>#include "orwell/BroadcastServer.hpp"
#include <string>
#include <cstring>
#include <netinet/udp.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <iostream>
#include <unistd.h>
#include <stdlib.h>
#include "orwell/support/GlobalLogger.hpp"
#define UDP_MESSAGE_LIMIT 512
#d... |
<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.
#include <atlbase.h>
#include "base/command_line.h"
#include "base/process_util.h"
#include "base/test/test_suite.h"
#include "base/th... |
<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.
#include <atlbase.h>
#include "base/command_line.h"
#include "base/process_util.h"
#include "base/test/test_suite.h"
#include "base/th... |
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
*... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
... |
<commit_before>/// @file
/// @version 3.5
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
#ifdef _ANDROID
#include <jni.h>
#include <hltypes/harray.h>
#include <hltypes/hlog.h... |
<commit_before>/*
* bacteria-core, core for cellular automaton
* Copyright (C) 2016 Pavel Dolgov
*
* See the LICENSE file for terms of use.
*/
#include <boost/foreach.hpp>
#include <boost/test/unit_test.hpp>
#include "Model.hpp"
typedef int (Implementation::Model::*IntOneArgMethod) (
const Abstract::Point& ... |
<commit_before>/**
* @file
*
* @brief This file contains a function to convert a YAML file to a key set.
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
// -- Imports ------------------------------------------------------------------
#include "convert.hpp"
#include "listener.hpp"
#i... |
<commit_before>#include <chrono>
#include <cstdint>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <thread>
#include <utility>
#include <uv.h>
#include <vector>
#include "../log.h"
#include "../message_buffer.h"
#include "../result.h"
#include "../status.h"
#include "../thread.h"
#incl... |
<commit_before>#include "post_process/adminizer.hpp"
#include <mapnik/params.hpp>
#include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp>
#include <mapnik/featureset.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>
#include ... |
<commit_before>// Copyright (c) 2006, Google Inc.
// 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 ... |
<commit_before>#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
extern bool fWalletUnlockStakingOnly;
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
Q... |
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved.
#ifndef RDB_PROTOCOL_WIRE_FUNC_HPP_
#define RDB_PROTOCOL_WIRE_FUNC_HPP_
#include <functional>
#include <map>
#include <string>
#include <vector>
#include "containers/uuid.hpp"
#include "rdb_protocol/counted_term.hpp"
#include "rdb_protocol/pb_utils... |
<commit_before>/*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2012] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* i... |
<commit_before>/*
* Copyright 2016 <Lennart Nachtigall> <firesurfer65@yahoo.de>
*
* 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
*
*... |
<commit_before>// Copyright 2014 The Crashpad Authors. 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
//
// Unle... |
<commit_before>/*
Copyright (c) Nathan Eloe, 2014
This file is part of MongoDB-Cpp.
MongoDB-Cpp is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your opti... |
<commit_before>// $Id: petsc_interface.C,v 1.26 2004-09-27 14:54:26 jwpeterson Exp $
// The libMesh Finite Element Library.
// Copyright (C) 2002-2004 Benjamin S. Kirk, John W. Peterson
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//... |
<commit_before>#include "cy_hair_loader.h"
#include <stdio.h>
#include <math.h>
namespace embree
{
// -------------------------------------------
// -- Based on the format by Cem Yuksel --
// -- www.cemyuksel.com/research/hairmodels --
// -------------------------------------------
#define CY_HAIR_FILE_S... |
<commit_before>// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifn... |
<commit_before>#include "catch.hpp"
#include <iostream>
#include "Database_Creator.hpp"
#include "Database_Sorter.hpp"
person readPerson(std::string file_name, size_t index) {
person result;
std::ifstream file(file_name);
for (size_t i = 0; i < index + 1; i++) {
file >> result;
}
file.close();
return result;
}... |
<commit_before>#include <stack.hpp>
#include <catch.hpp>
SCENARIO("init", "[init]") {
stack<int> A;
REQUIRE(array_size_() == 0);
REQUIRE(count_() == 0);
}
SCENARIO("Push", "[push]") {
stack<int> A;
A.push(1);
A.push(2);
REQUIRE(A.count_() == 2));
}
SCENARIO("Pop", "[pop]") {
stack<int> A;
A.push(1);
A.push... |
<commit_before>#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include "sphere.cpp"
#include "box.hpp"
#include "color.hpp"
#include <glm/vec3.hpp>
#include <string>
#include <glm/glm.hpp>
#include <glm/gtx/intersect.hpp>
#include <iostream>
#include <fstream>
#include <sdfloader.hpp>
#include <string>
#include <scen... |
<commit_before>/*
* Copyright (C) 2007-2013 German Aerospace Center (DLR/SC)
*
* Created: 2012-10-17 Markus Litz <Markus.Litz@dlr.de>
*
* 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
*
* h... |
<commit_before>
#include <gloperate/base/GLContextUtils.h>
#include <cassert>
#include <cppassist/logging/logging.h>
#include <glbinding/gl/gl.h>
#include <glbinding-aux/ContextInfo.h>
using namespace gl;
namespace gloperate
{
gloperate::GLContextFormat GLContextUtils::retrieveFormat()
{
// Create context... |
<commit_before>/*
C++ interface test
*/
#include "libmemcached/memcached.hpp"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
#include "server.h"
#include "test.h"
#include <strin... |
<commit_before>
#ifndef _CONF_H_
#define _CONF_H_
#include "utility.hpp"
#define VE_VERSION "r1.0.3-20150122"
#define VE_INFO "vdceye Manager r1.0.3 2015"
#ifdef WIN32
#define VE_NVR_CLIENT
#else
#define VE_NVR
#endif
/* NVR Client feature */
#ifdef VE_NVR_CLIENT
#define VE_RECORDER_MGR_CLIENT_SUPPORT
#endif
/... |
<commit_before><commit_msg>Added type info<commit_after><|endoftext|> |
<commit_before>// Cruncher.
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdint.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <pthread.h>
#include <gmp.h>
using namespace std;
#include <vector>
#include <map>
struct Compu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.