text stringlengths 54 60.6k |
|---|
<commit_before>//
// StaticAnalyser.cpp
// Clock Signal
//
// Created by Thomas Harte on 15/09/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#include "StaticAnalyser.hpp"
#include "../Disassembler/Disassembler6502.hpp"
using namespace StaticAnalyser::Atari;
static void DeterminePagingFor2kCart... |
<commit_before>#include "HalideRuntime.h"
#include "scoped_mutex_lock.h"
extern "C" {
struct _halide_runtime_internal_registered_filter_t {
struct _halide_runtime_internal_registered_filter_t *next;
const halide_filter_metadata_t* metadata;
int (*argv_func)(void **args);
};
};
namespace Halide { namespa... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkShapedFloodFilledImageFunctionConditionalConstIteratorTest1.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Softw... |
<commit_before>#include "../include/selector_numeric.hpp"
selector_numeric::selector_numeric(const std::string &label, ALLEGRO_FONT *font, const int min, const int max):
font_(font),
label_(label),
value_(min),
max_(max),
min_(min),
x_(0),
y_(0),
r_mouse_inside_(false),
r_mouse_pres... |
<commit_before>/** accuracy.cc
Jeremy Barnes, 16 December 2014
Copyright (c) 2014 Datacratic Inc. All rights reserved.
This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved.
Implementation of an ACCURACY algorithm for embedding of a dataset.
*/
#include "accuracy.h"
#include "mat... |
<commit_before>/* Copyright (C) 2010-2011, Snares <snares@users.sourceforge.net>
Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com>
Copyright (C) 2011, Ryan Austin <ryan@gameforcecenters.com>
Copyright (C) 2012, Bojan Hartmann <bogie@bawki.de>
All rights reserved.
Redistribution and use in ... |
<commit_before>// Copyright 2013 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 "chrome/browser/extensions/api/networking_private/networking_private_api.h"
#include "base/bind.h"
#include "base/bind_helpers.h"... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 *
* (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH *
* ... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// task - a command line task list manager.
//
// Copyright 2006 - 2010, Paul Beckingham.
// All rights reserved.
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU Ge... |
<commit_before>/*
* Layer.cpp
*
* Created on: Jun 19, 2016
* Author: mad
*/
#include <vnl/ThreadEngine.h>
#include <vnl/Layer.h>
#include <vnl/Random.h>
#include <vnl/Pool.h>
#include <vnl/Process.h>
#include <vnl/ProcessClient.hxx>
#include <iostream>
#include <mutex>
#include <dirent.h>
namespace vnl {... |
<commit_before>// Scintilla source code edit control
/** @file LexVB.cxx
** Lexer for Visual Basic and VBScript.
**/
// Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#inc... |
<commit_before>// Scintilla source code edit control
/** @file LexVB.cxx
** Lexer for Visual Basic and VBScript.
**/
// Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdlib.h>
#include <string.h>
#inc... |
<commit_before>/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs
*
* Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr>
*
* This program is f... |
<commit_before>/* Copyright 2017 The TensorFlow 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
Unless required by appl... |
<commit_before>//
// mc.cpp
//
// manage c++ code
//
// Created by Daniel Kozitza
//
#include <iostream>
#include <cstdlib>
#include <string.h>
#include <csignal>
#include "tools.hpp"
using namespace tools;
string Args;
vector<string> Argv;
string VfnmakeSystemCall = "vfnmake";
int help_message() {
... |
<commit_before>class diddy
{
public:
// stub
static int systemMillisecs() {
return 0;
}
// stub
static int flushKeys() {
return 0;
}
}<commit_msg>Added code for Flushkeys and millisecs for GLFW Target<commit_after>#include <time.h>
class diddy
{
public:
// only accurate to 1 second
... |
<commit_before>//===-- main.cpp ------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "NewRefereeModule.hpp"
#include <Network.hpp>
#include <multicast.hpp>
#include <Utils.hpp>
#include <unistd.h>
#include <QMutexLocker>
#include <QUdpSocket>
#include <stdexcept>
namespace NewRefereeModuleEnums {
std::string stringFromStage(Stage s) {
switch (s) {
case NORMAL_FIRST... |
<commit_before>/***************************************************************************
* Copyright (C) 2003 by Unai Garro *
* uga@ee.ed.ac.uk *
* ... |
<commit_before>/*
* simple_tree.cpp
*
* Created on: Aug 12, 2010
* Author: programmer
*/
#include "../system/discursive_system.h"
#include "./initial_agents.h"
#include "repository_access.h"
#include <Magick++.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "../model/surrogate_tree_n... |
<commit_before>// Copyright 2019 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>// 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 "remoting/client/plugin/chromoting_scriptable_object.h"
#include "base/logging.h"
#include "ppapi/cpp/var.h"
#include "remoti... |
<commit_before>//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>#include <iostream>
#include "serverconnection.hpp"
#include "constants.hpp"
#include "agfsio.hpp"
#include <unistd.h>
#include <cstring>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <fuse.h>
#include <fcntl.h>
#include <arpa/inet... |
<commit_before>/* File: lcds.cpp
* Synchronous lcd hd44780 interface.
*/
/* Copyright (c) 2012-2013 Domen Ipavec (domen.ipavec@z-v.si)
*
* 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 ... |
<commit_before>#include "../include/rotulo.h"
//construtor
Rotulo::Rotulo(std::string nome, bool flag, int inicio){
this->name = nome;
this->alreadyDeclared = flag;
if (flag){
this->address = inicio;
} else {
this->address = -1;
}
}
//Caso o rotulo ja tenha sido identificado, mas ... |
<commit_before>// Copyright (c) 2009-2012 Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "net.h"
#include "bitcoinrpc.h"
#include <QString>
#includ... |
<commit_before>/*mchen046
SID: 861108671
CS100 Spring 2015: hw0-rshell
https://www.github.com/mchen046/rshell/src/main.cpp
*/
/*
Worklist:
bug when running: ls -a; echo hello; mkdir test;
the command exits when mkdir test finishes.
concatenates an extra " e" after original command
fix memory leaks
*/
/*
Fixed:
proble... |
<commit_before>#include <iostream>
#include <vector>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string>
#include <string.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <limits>
using namespace std;
void displayPrompt(){
char *user = getlogin(); //I assign the... |
<commit_before>#include<iostream>
#include<string.h>
#include<string>
#include<vector>
#include<sys/types.h>
#include<sys/wait.h>
#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<cstring>
#include<boost/tokenizer.hpp>
#include<algorithm>
#include<iterator>
#include<sstream>
using namespace std;
using ... |
<commit_before>#include <iostream>
#include <unistd.h>
#include <string>
#include <memory>
#include <vector>
#include <list>
#include <sstream>
#include <algorithm>
#include <boost/tokenizer.hpp>
const std::vector<std::string>
DEFINED_OPERATORS =
{"&&", "||", ";"};
void CombineDefinedOps(std::list<std::string>& inpu... |
<commit_before>#include <tree_sitter/parser.h>
#include <vector>
#include <cwctype>
#include <cstring>
#include <cassert>
#include <stdio.h>
namespace {
using std::vector;
using std::iswspace;
using std::memcpy;
enum TokenType {
NEWLINE,
INDENT,
DEDENT,
STRING_START,
STRING_CONTENT,
STRING_END,
};
struct... |
<commit_before>/**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... |
<commit_before>/*=========================================================================
*
* Copyright The University of North Carolina at Chapel Hill
* All rights reserved.
*
* Licensed under the MADAI Software License. You may obtain a copy of
* this license at
*
* https://madai-public.cs.unc.ed... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2008 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documenta... |
<commit_before>/*
* Copyright (C) 2005-2008 by Marc Boris Duerner
*
* 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
* version 2.1 of the License, or (at your option) any lat... |
<commit_before>#include "api/plugin_instance.h"
#include "core/core.h"
#include "core/log.h"
#include "core/math.h"
#include "core/plugin_handler.h"
#include "session/session.h"
#include "settings.h"
//#include <imgui.h>
#include "ui/imgui_setup.h"
#include "ui/ui_layout.h"
#include "ui/menu.h"
#include "ui/dialogs.h"
... |
<commit_before>// Copyright (c) 2006-2008 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 "base/logging.h"
#include "base/scoped_ptr.h"
#include "sandbox/src/sharedmem_ipc_server.h"
#include "sandbox/src/sharedm... |
<commit_before>/*
Copyright (C) 2012-2014 Soomla Inc.
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 or agreed t... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2014-2015 Esteban Tovagliari, The appleseedhq Organization
//
// Permission is hereby granted, free of charge... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xlstream.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 19:09:58 $
*
* The Contents of this file are made ... |
<commit_before>/*
* Copyright (c) 2018 Nuvoton Technology Corp.
* Copyright (c) 2018 ARM Limited
*
* 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/license... |
<commit_before>/*
* Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com>
*/
#include <unistd.h>
#include <zubax_chibios/sys/sys.h>
#include <uavcan_stm32/uavcan_stm32.hpp>
#include <uavcan/protocol/global_time_sync_slave.hpp>
#include <uavcan/protocol/dynamic_node_id_client.hpp>
#include "board/board.hpp"
n... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<commit_before><commit_msg>cppcheck: memset on union containing floating pointer number<commit_after><|endoftext|> |
<commit_before>
/*
* Copyright 2006 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBlurMaskFilter.h"
#include "SkBlurMask.h"
#include "SkFlattenableBuffers.h"
#include "SkMaskFilter.h"
class SkBlurMaskFilterIm... |
<commit_before>#include "line.h"
#include <QDebug>
#include <QMatrix>
#include <QDebug>
Line::Line(QObject *parent, QColor newColor, unsigned int uiSeed) :
QObject(parent)
{
m_seed = uiSeed;
m_start = QPointF(0, 0);
m_end = QPointF(0, 10);
m_color = newColor;
}
Line::Line(const Line & oldLine) :
QObject(oldLine... |
<commit_before>// Problem1
// hyungyu.jang@lge.com
#if defined _EXTERNAL_DEBUGGER && defined _DEBUG
#include <code/debug.h>
#else
#define trace printf
#endif
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
using namespace std;
class Line {
public:
... |
<commit_before>/* AFE Firmware for smart home devices
LICENSE: https://github.com/tschaban/AFE-Firmware/blob/master/LICENSE
DOC: https://www.smartnydom.pl/afe-firmware-pl/ */
#include "AFE-Wifi.h"
AFEWiFi::AFEWiFi() {}
void AFEWiFi::begin(uint8_t mode) {
AFEDataAccess Data;
AFEDevice Device;
networkConfig... |
<commit_before>//===- lib/MC/MCMachOStreamer.cpp - Mach-O Object Output ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------... |
<commit_before>// $Id: selectable.C,v 1.4 2000/01/07 21:57:54 oliver Exp $
#include <BALL/CONCEPT/selectable.h>
#include <BALL/CONCEPT/persistenceManager.h>
using namespace std;
namespace BALL
{
Selectable::Selectable()
: selected_(BALL_SELECTABLE_DEFAULT_SELECTION)
{
}
Selectable::Selectable(const Selectab... |
<commit_before>#ifndef DynamicImage_HPP
#define DynamicImage_HPP
#include "Streamer.hpp"
#include "DataObject.hpp"
#include <vector>
#include <boost/unordered_map.hpp>
#include <boost/interprocess/sync/interprocess_semaphore.hpp>
#include "ProcessObject.hpp"
namespace fast {
template <class T>
class DynamicData : pu... |
<commit_before>#include <stdint.h>
#include "allfiles.h"
#include "errors.h"
#include "moreio.h"
#include "version.h"
#include "sludger.h"
#include "colours.h"
#include "backdrop.h"
#include "graphics.h"
#include "newfatal.h"
bool freeze ();
void unfreeze (bool); // Because FREEZE.H needs a load of other includes
in... |
<commit_before>/*************************************************************************
*
* $RCSfile: MNSInclude.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: fs $ $Date: 2002-05-17 12:08:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>#ifndef CLUSTERING_GENERIC_NONOVERLAPPING_REGIONS_HPP_
#define CLUSTERING_GENERIC_NONOVERLAPPING_REGIONS_HPP_
#include <set>
#include "errors.hpp"
#include "http/json/json_adapter.hpp"
#include "rpc/serialize_macros.hpp"
template <class protocol_t>
class nonoverlapping_regions_t {
public:
nonoverl... |
<commit_before>#include <babylon/cameras/arc_rotate_camera.h>
#include <babylon/core/random.h>
#include <babylon/engines/scene.h>
#include <babylon/interfaces/irenderable_scene.h>
#include <babylon/lights/point_light.h>
#include <babylon/materials/standard_material.h>
#include <babylon/maths/vector3.h>
#include <babylo... |
<commit_before>#include "World.hpp"
#include "json.hpp"
#include <fstream>
World::World(thor::ResourceHolder<sf::Texture, std::string>& textures)
: m_textures{textures}
{
load_level("res/level01.json");
}
void World::load_level(const std::string& filename)
{
nlohmann::json level;
std::fstream file(fil... |
<commit_before>// Copyright (c) 2011 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 "base/bind.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/file_util.h"
#include "base/memory/ref... |
<commit_before>//=======================================================================
// Copyright (c) 2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>#include "Logger.h"
#include <signal.h>
#include <execinfo.h>
Logger::Logger()
{
}
void Logger::Log(std::string stg)
{
#ifndef RELEASE
PRINT(stg);
#endif
logFile << stg << std::endl;
}
void Logger::CreateLogFile()
{
logFile.open(LOGFILE,std::ios_base::out);
if(!logFile.is_open())
... |
<commit_before>#include "gtest/gtest.h"
#include "ECSE/Common.h"
TEST(LerpTest, GeneralTest)
{
ASSERT_EQ(5.0f, ECSE::lerp(0.f, 10.f, 0.5f));
}
TEST(LerpTest, ZeroTest)
{
ASSERT_EQ(50.0f, ECSE::lerp(50.f, 100.f, 0.f));
}
TEST(LerpTest, OneTest)
{
ASSERT_EQ(42.0f, ECSE::lerp(12.f, 42.f, 1.f));
}
TEST(Lerp... |
<commit_before>#ifndef RDB_PROTOCOL_SCOPE_HPP_
#define RDB_PROTOCOL_SCOPE_HPP_
#include <deque>
#include <map>
#include <set>
#include <string>
#include <vector>
template <class T>
inline void assert_T(const T &) { }
template <>
inline void assert_T<boost::shared_ptr<scoped_cJSON_t> >(const boost::shared_ptr<scoped_... |
<commit_before>/*Copyright 2011 George Karagoulis
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 or agreed to in w... |
<commit_before>#ifndef __MUTEX_HPP__
#define __MUTEX_HPP__
struct mutex {
private:
uint8_t nr;
public:
mutex();
void give();
void take();
void take(uint32_t timeout);
};
#endif /* __MUTEX_HPP__ */
<commit_msg>mutex function signature change<commit_after>#ifndef __MUTEX_HPP__
#define __MUTEX_HPP_... |
<commit_before>/*
* Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
* All rights reserved.
*
* For use for simulation and test purposes only
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistrib... |
<commit_before>#include"panelview.h"
#include<QString>
#include<QSize>
#include<QUrl>
#include<QGraphicsView>
#include<QGraphicsScene>
#include<QWidget>
#include<QDesktopWidget>
#include<QGLFramebufferObject>
#include<QPainter>
#include<QPaintEvent>
#include<QKeyEvent>
#include<QMouseEvent>
#include<QTabletEvent>
... |
<commit_before>#define _BSD_SOURCE
#include <stdio.h>
#include <stdlib.h>
extern "C"
{
#include "../src/classifiers/dynamic_classifiers/flow_table/flow_table.h"
#include "../libs/memory_management/memory_management.h"
#include "../libs/thread_pool/thread_pool.h"
}
#include "gtest/gtest.h"
#define NB_NUMBERS 100... |
<commit_before>/*
* Copyright (c) 2012, 2013 Aldebaran Robotics. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the COPYING file.
*/
#include <fstream>
#include <boost/uuid/uuid.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/uuid/uuid_io.hp... |
<commit_before>// Copyright Paul Dardeau, SwampBits LLC 2014
// BSD License
#include <stdio.h>
#include <string.h>
#include "HttpRequestHandler.h"
#include "Socket.h"
#include "SocketRequest.h"
#include "HttpServer.h"
#include "HTTP.h"
#include "HttpRequest.h"
#include "HttpResponse.h"
#include "Thread.h"
#include "B... |
<commit_before>#include "signal.hpp"
namespace dafs
{
Signal::Signal()
{
flag = false;
}
void
Signal::Set()
{
flag = true;
condition.notify_one();
}
void
Signal::Wait()
{
std::unique_lock<std::mutex> lock(mutex);
condition.wait(lock, [&... |
<commit_before>//== BodyFarm.cpp - Factory for conjuring up fake bodies ----------*- C++ -*-//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/**
* @file snyder.cpp
* @brief implementation of the MetricsRegistry
* @author Daniel Schauenberg <d@unwiredcouch.com>
*/
#include "snyder/metrics_registry.h"
using namespace Snyder;
MetricsRegistry::MetricsRegistry() : counterMutex(), gaugesMutex() {
}
MetricsRegistry::~MetricsRegistry() {
}
si... |
<commit_before>//===- LoopInfo.cpp - Natural Loop Calculator -----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//=== FlatStore.cpp - Flat region-based store model -------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===--- CGDeclCXX.cpp - Emit LLVM Code for C++ declarations --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
This file is part of HadesMem.
Copyright (C) 2011 Joshua Boyce (a.k.a. RaptorFactor).
<http://www.raptorfactor.com/> <raptorfactor@raptorfactor.com>
HadesMem is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free So... |
<commit_before>/* Copyright (c) 2011-2015, AOYAMA Kazuharu
* All rights reserved.
*
* This software may be used and distributed according to the terms of
* the New BSD License, which is incorporated herein by reference.
*/
#include <TAccessValidator>
#include <TAbstractUser>
#include <TActionContext>
#include <TA... |
<commit_before>/* Copyright (c) 2011-2013, AOYAMA Kazuharu
* All rights reserved.
*
* This software may be used and distributed according to the terms of
* the New BSD License, which is incorporated herein by reference.
*/
#include <TAccessValidator>
#include <TAbstractUser>
#include <TActionContext>
#include <TA... |
<commit_before>// @(#)root/tmva/tmva/dnn:$Id$
// Author: Simon Pfreundschuh 21/07/16
/*************************************************************************
* Copyright (C) 2016, Simon Pfreundschuh *
* All rights reserved. *
* ... |
<commit_before>adddbfc7-2e4f-11e5-ad81-28cfe91dbc4b<commit_msg>ade4bcba-2e4f-11e5-a298-28cfe91dbc4b<commit_after>ade4bcba-2e4f-11e5-a298-28cfe91dbc4b<|endoftext|> |
<commit_before>#include <ctime>
#include <cctype>
#include "core/RoleFactory.h"
#include "config/constraints.h"
#include "EventLogger.h"
#include "msgpack_decode.h"
static RoleConfigGroup el_config("eventlogger");
static ConfigVariable<std::string> bind_addr("bind", "0.0.0.0:7197", el_config);
static ConfigVariable<... |
<commit_before>#include <iostream>
#include <vector>
#include <string>
#include <system_error>
#include <filesystem>
#include <memory>
#include "../../WinUtil/System.hpp"
#include "../../WinUtil/Security.hpp"
using namespace std;
using namespace std::tr2;
using namespace WinUtil;
static wchar_t const * const uninstal... |
<commit_before>// STL
#include <sstream>
#include <fstream>
#include <string>
// CPPUNIT
#include <extracppunit/CppUnitCore.hpp>
// StdAir
#include <stdair/STDAIR_Types.hpp>
#include <stdair/STDAIR_Service.hpp>
#include <stdair/basic/DemandCharacteristics.hpp>
#include <stdair/basic/DemandDistribution.hpp>
#include <st... |
<commit_before>// My main file for HR_MO+
// Data: July27 2015
// Authur: Yuding Ai
#include "MC.h"
#include <iostream>
using namespace std;
int main()
{
stringstream t;
double start = clock();
// ======================= Plotting the final config ========================
vector<HR> VR,HR,UR;
MC m(1E5L,8,64,64,64... |
<commit_before>//
// Alert system
//
// Copyright (c) 2013-2014 Dogecoin Developers
#include <algorithm>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/foreach.hpp>
#include <map>
#include "alert.h"
#include "key.h"
#include "net.h"
#include "sync.h... |
<commit_before>18b6c2f8-2e4f-11e5-be92-28cfe91dbc4b<commit_msg>18bda1b0-2e4f-11e5-8c38-28cfe91dbc4b<commit_after>18bda1b0-2e4f-11e5-8c38-28cfe91dbc4b<|endoftext|> |
<commit_before>5c0f0e7a-2d3e-11e5-895d-c82a142b6f9b<commit_msg>5c8aedb8-2d3e-11e5-8133-c82a142b6f9b<commit_after>5c8aedb8-2d3e-11e5-8133-c82a142b6f9b<|endoftext|> |
<commit_before>#include "openmc/source.h"
#include <algorithm> // for move
#include <sstream> // for stringstream
#include <dlfcn.h> // for dlopen
#include <fmt/core.h>
#include "xtensor/xadapt.hpp"
#include "openmc/bank.h"
#include "openmc/cell.h"
#include "openmc/error.h"
#include "openmc/file_utils.h"
#include "o... |
<commit_before>68ba2d21-ad58-11e7-aaf7-ac87a332f658<commit_msg>Initial commit.2<commit_after>692501e8-ad58-11e7-8bf6-ac87a332f658<|endoftext|> |
<commit_before>
// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.
#include "Addressing.hpp"
... |
<commit_before>/**
* @file rodsdownloadthread.h
* @brief Implementation of class RodsDownloadThread
*
* The RodsDownloadThread class extends the Qt thread management class
* QThread and implements a worker thread for a download (get) operation.
*
* Copyright (C) 2014-2015 University of Jyväskylä. All rights rese... |
<commit_before>640fbad4-2fa5-11e5-be09-00012e3d3f12<commit_msg>64118f94-2fa5-11e5-9e55-00012e3d3f12<commit_after>64118f94-2fa5-11e5-9e55-00012e3d3f12<|endoftext|> |
<commit_before>#include "ROOT/TDataFrame.hxx"
#include "TRandom.h"
#include "TROOT.h"
#include "gtest/gtest.h"
#include <limits>
using namespace ROOT::Experimental;
using namespace ROOT::Experimental::TDF;
using namespace ROOT::Detail::TDF;
/********* FIXTURES *********/
static constexpr ULong64_t gNEvents = 8ull;
//... |
<commit_before>/**
* @file rodsmetadatawindow.cpp
* @brief Implementation of class RodsMetadataWindow
*
* The RodsMetadataWindow class extends the Qt window class QMainWindow
* and implements an iRODS object metadata manager window.
*
* Copyright (C) 2014-2015 University of Jyväskylä. All rights reserved.
* Lic... |
<commit_before>2b13bf85-2e4f-11e5-833c-28cfe91dbc4b<commit_msg>2b1ddda3-2e4f-11e5-969b-28cfe91dbc4b<commit_after>2b1ddda3-2e4f-11e5-969b-28cfe91dbc4b<|endoftext|> |
<commit_before>/*
* NovelChapterParser.cpp
*
* Created on: 2014年11月28日
* Author: nemo
*/
#include "header/NovelChapterParser.h"
#include "Utility/FileUtils.h"
#include <iostream>
#include <dirent.h>
NovelChapterParser::NovelChapterParser()
{
_tempDir = "temp";
_resultDir = "result";
FileUtils::createD... |
<commit_before>#include <irrlicht/irrlicht.h>
#include <irrlicht/driverChoice.h>
//#pragma comment(lib, "Irrlicht.lib")
using namespace irr;
//using namespace core;
//using namespace scene;
//using namespace video;
//using namespace io;
//using namespace gui;
//
enum {
// I use this ISceneNode ID to indicate a scen... |
<commit_before>26b9640f-ad5d-11e7-a968-ac87a332f658<commit_msg>No longer crashes if X<commit_after>272af89e-ad5d-11e7-a599-ac87a332f658<|endoftext|> |
<commit_before>76e6d704-2d53-11e5-baeb-247703a38240<commit_msg>76e75b5c-2d53-11e5-baeb-247703a38240<commit_after>76e75b5c-2d53-11e5-baeb-247703a38240<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.