text stringlengths 54 60.6k |
|---|
<commit_before>61ae1464-2e4e-11e5-9284-b827eb9e62be<commit_msg>61b321f2-2e4e-11e5-9284-b827eb9e62be<commit_after>61b321f2-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>77f1372a-2e4d-11e5-9284-b827eb9e62be<commit_msg>77f6276c-2e4d-11e5-9284-b827eb9e62be<commit_after>77f6276c-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>fb40282e-2e4e-11e5-9284-b827eb9e62be<commit_msg>fb453a4e-2e4e-11e5-9284-b827eb9e62be<commit_after>fb453a4e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f1532cd6-2e4d-11e5-9284-b827eb9e62be<commit_msg>f15845f4-2e4d-11e5-9284-b827eb9e62be<commit_after>f15845f4-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>6a5baf04-2e4e-11e5-9284-b827eb9e62be<commit_msg>6a60a5f4-2e4e-11e5-9284-b827eb9e62be<commit_after>6a60a5f4-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>cd83fd34-2e4e-11e5-9284-b827eb9e62be<commit_msg>cd8951bc-2e4e-11e5-9284-b827eb9e62be<commit_after>cd8951bc-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>09bc57c0-2e4e-11e5-9284-b827eb9e62be<commit_msg>09c17638-2e4e-11e5-9284-b827eb9e62be<commit_after>09c17638-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>ddc3d4b4-2e4c-11e5-9284-b827eb9e62be<commit_msg>ddc8c62c-2e4c-11e5-9284-b827eb9e62be<commit_after>ddc8c62c-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>cae366c4-2e4d-11e5-9284-b827eb9e62be<commit_msg>cae85d6e-2e4d-11e5-9284-b827eb9e62be<commit_after>cae85d6e-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>281fc228-2e4f-11e5-9284-b827eb9e62be<commit_msg>2824b7b0-2e4f-11e5-9284-b827eb9e62be<commit_after>2824b7b0-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>d4e4cb64-2e4c-11e5-9284-b827eb9e62be<commit_msg>d4e9d550-2e4c-11e5-9284-b827eb9e62be<commit_after>d4e9d550-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>85a0355a-2e4e-11e5-9284-b827eb9e62be<commit_msg>85a53a1e-2e4e-11e5-9284-b827eb9e62be<commit_after>85a53a1e-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>f54f350e-2e4e-11e5-9284-b827eb9e62be<commit_msg>f55436b2-2e4e-11e5-9284-b827eb9e62be<commit_after>f55436b2-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before><commit_msg>d6d70a18-2e4c-11e5-9284-b827eb9e62be<commit_after><|endoftext|> |
<commit_before>fb16ab2a-2e4e-11e5-9284-b827eb9e62be<commit_msg>fb1ba8e6-2e4e-11e5-9284-b827eb9e62be<commit_after>fb1ba8e6-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>6d4f8e7a-2e4d-11e5-9284-b827eb9e62be<commit_msg>6d549b18-2e4d-11e5-9284-b827eb9e62be<commit_after>6d549b18-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>bfe7d6f2-2e4c-11e5-9284-b827eb9e62be<commit_msg>bfecd8d2-2e4c-11e5-9284-b827eb9e62be<commit_after>bfecd8d2-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>80389f72-2e4d-11e5-9284-b827eb9e62be<commit_msg>803d8f28-2e4d-11e5-9284-b827eb9e62be<commit_after>803d8f28-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>47dee7a8-2e4d-11e5-9284-b827eb9e62be<commit_msg>47e3fa90-2e4d-11e5-9284-b827eb9e62be<commit_after>47e3fa90-2e4d-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>fd10f25c-2e4c-11e5-9284-b827eb9e62be<commit_msg>fd15e5dc-2e4c-11e5-9284-b827eb9e62be<commit_after>fd15e5dc-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>2c46a952-2e4f-11e5-9284-b827eb9e62be<commit_msg>2c4baa60-2e4f-11e5-9284-b827eb9e62be<commit_after>2c4baa60-2e4f-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>aeda1b9a-2e4c-11e5-9284-b827eb9e62be<commit_msg>aedf165e-2e4c-11e5-9284-b827eb9e62be<commit_after>aedf165e-2e4c-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>7b630734-2e4e-11e5-9284-b827eb9e62be<commit_msg>7b681b5c-2e4e-11e5-9284-b827eb9e62be<commit_after>7b681b5c-2e4e-11e5-9284-b827eb9e62be<|endoftext|> |
<commit_before>#include "lua_class.h"
#include "../table/table.h"
namespace saki
{
void setupLuaClasses(sol::environment env, LuaUserErrorHandler &error)
{
setupLuaTile(env, error);
setupLuaWho(env);
setupLuaMeld(env);
setupLuaMount(env);
setupLuaTileCount(env);
setupLuaHand(env);
setupL... |
<commit_before>#include <iomanip> //std::setw
#include <iostream> //std::cout, std::cerr
#include <string> //std::string, std::to_string
#include <vector> //std::vector
#include <dirent.h> //dirent, opendir, readdir
#include <errno.h> //errno
#include <grp.h> //getgrgid
#include <pwd.h> //getpwuid
#include <stdio.h> //... |
<commit_before><commit_msg>Add Solution 2<commit_after><|endoftext|> |
<commit_before><commit_msg>fix: flushOneDelOrSet race in evaluation of item state<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.o... |
<commit_before><commit_msg>tdf#92088 - don't invalidate disposed toolbar items.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salogl.cxx,v $
*
* $Revision: 1.18 $
*
* last change: $Author: obo $ $Date: 2006-09-17 12:39:27 $
*
* The Contents of this file are made ... |
<commit_before>// @(#)root/hbook:$Id$
// Author: Rene Brun 20/02/2002
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#include "stack thread safe.hpp"
#include "gtest/gtest.h"
#include <thread>
#include <algorithm>
TEST(Push,HandleBasicOperation){
std::threadsafe::stack<int> stack;
int out;
for (int i = 1;i <= 10;i++){
stack.push(i);
stack.wait_top(out);
EXPECT_EQ(i,out);
EXPECT_EQ(i,stack.size());... |
<commit_before>#ifndef ARABICA_UTILS_GET_PARAM_HPP
#define ARABICA_UTILS_GET_PARAM_HPP
#ifdef HAVE_BOOST
#include <boost/mpl/if.hpp>
#include <boost/type_traits/is_base_and_derived.hpp>
#endif
namespace Arabica
{
struct nil_t { };
#ifdef HAVE_BOOST
template <typename BaseT, typename DefaultT, typename T0, typename ... |
<commit_before>#pragma once
#include <string>
#include "common.hpp"
#include "x11/color.hpp"
#include "x11/randr.hpp"
POLYBAR_NS
struct enum_hash {
template <typename T>
inline typename std::enable_if<std::is_enum<T>::value, size_t>::type operator()(T const value) const {
return static_cast<size_t>(value);
... |
<commit_before>#pragma once
/**
@file
@brief succinct vector
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
@note use -msse4.2 option for popcnt
*/
#include <assert.h>
#include <vector>
#include <cybozu/exception.hpp>
#include <cybozu/bit_operation... |
<commit_before>/**
* This file contains configuration options and macros to stay portable.
*
* If we have access to boost, use their macros to achieve maximum
* portability. Otherwise, roll our own macros and support some common cases.
*
* To signal that boost is available, define the `D2_HAS_BOOST` macro before
... |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>///
/// @file Wheel.hpp
/// @brief Wheel factorization is used to skip multiles of
/// small primes in the sieve of Eratosthenes.
///
/// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level di... |
<commit_before>#ifndef __RANK_FILTER_BASE__
#define __RANK_FILTER_BASE__
#include <deque>
#include <cassert>
#include <functional>
#include <iostream>
#include <iterator>
#include <boost/array.hpp>
#include <boost/container/set.hpp>
#include <boost/container/node_allocator.hpp>
#include <boost/math/special_functions... |
<commit_before>#ifndef GP_UTILITY_VARIABLE
#define GP_UTILITY_VARIABLE
#include <any>
#include <type_traits>
#include <cassert>
#include <exception>
namespace gp::utility {
class Variable {
private:
const bool hasPointer;
std::any variable;
const std::type_info* type;
public:
... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile: mitkPropertyManager.cpp,v $
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Bio... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "CoreComponentsRegistry.h"
#include <android/log.h>
#include <fbjni/fbjni.h>
#include <react/renderer/co... |
<commit_before>/*
* This program is just for personal experiments here on AVR features and C++ stuff
* This one is a proof of concept on adapting new I2C asynchronous handling (ATmega)
* to also fit ATtiny architecture in a degraded (synchronous) way while keeping
* original API.
* As a matter of fact, ATtiny USI... |
<commit_before>// Copyright 2014 Hazy Research (http://i.stanford.edu/hazy)
//
// 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>/****************************************************************************
**
** Author: Miroslav Safr <miroslav.safr@gmail.com>
** Web: http://semaphored.safrm.net/
** Source: https://github.com/safrm/semaphored
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: flags.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 03:47:52 $
*
* The Contents of this file are made ava... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <algorithm>
#include "matrix/Room.hpp"
#include "LabeledProgressBar.hpp"
namespace {
QString room_sort_key(const matrix::Room &r) {
const auto &n = r.display_name();
auto i = std::find_if(n.begin(), n.end(),
[](Q... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "db.h"
#include "commands.h"
#include "iomidi.h"
#include "midiconnectionsmodel.h"
#include "midivaluedelegate.h"
#include "programsmodel.h"
#include "sysexhandler.h"
#include "utils.h"
#include <QApplication>
#include <QComboBox>
#include <QD... |
<commit_before>/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/*
* Copyright (c) 2000 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Foundation; either version 2 of the L... |
<commit_before>/*=========================================================================
File: vtkReplayImageVideoSource.cxx
Author: Chris Wedlake <cwedlake@robarts.ca>
Language: C++
Description:
=========================================================================
Copyright (c) Chris Wedlak... |
<commit_before>/****************************************************************************
* Copyright (C) 2015 by Savoir-Faire Linux *
* Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> *
* ... |
<commit_before>/*
* Copyright (c) 2002-2005 The Regents of The University of Michigan
* 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 c... |
<commit_before>
#include "CWindowManager.h"
#include <GLFW/glfw3.h>
namespace ion
{
void CWindowManager::Init(CGraphicsAPI * GraphicsAPI)
{
this->GraphicsAPI = GraphicsAPI;
if (! glfwInit())
{
std::cerr << "Error initializing glfw! " << std::endl;
}
SingletonPointer<CStateManager>... |
<commit_before>#ifndef JARNGREIPR_PDB_READER_HPP
#define JARNGREIPR_PDB_READER_HPP
#include <jarngreipr/pdb/PDBAtom.hpp>
#include <jarngreipr/pdb/PDBChain.hpp>
#include <mjolnir/util/throw_exception.hpp>
#include <fstream>
#include <sstream>
namespace jarngreipr
{
// lazy pdb reader
template<typename realT>
class PDB... |
<commit_before>#include "model.hpp"
namespace Model {
mesh_t::mesh_t(int w, int h, void (*fn)
(float s, float t, std::vector<float> &vertices)) {
for(int i = 0; i < w; i++) {
for(int j = 0; j < h; j++) {
auto index = 3*(j * w + i), i2 = 3, j2 = w*3;
fn(float(i)/w, float(j)/h, vertices);
if(i < w-1 ... |
<commit_before>/*************************************************************************
*
* $RCSfile: Axis.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: bm $ $Date: 2004-01-26 09:12:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
... |
<commit_before>/*
* Copyright (c) 2017, Ubiquity Robotics
* 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 copyright notice,
* ... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include "pixelboost/data/json/writer.h"
#include "pixelboost/file/fileHelpers.h"
#include "command/manager.h"
#include "http/commands/file.h"
#include "http/commands/record.h"
#include "http/commands/schema.h"
#include "http/ht... |
<commit_before>/*
* W.J. van der Laan 2011-2012
*/
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "util.h"
#include "ui_interface.h"
#include "paymentserver.h"
#inc... |
<commit_before>//
// nthRoot.cpp
// Calculator
//
// Created by Gavin Scheele on 3/27/14.
// Copyright (c) 2014 Gavin Scheele. All rights reserved.
//
#include "nthRoot.h"
nthRoot::nthRoot(int root, int operand, int coefficient) {
this->type = "nthRoot";
this->operand = operand;
this->root = root;
... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<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 "chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h"
#include "base/logging.h"
#include "chrome/browser... |
<commit_before>//=====================================================================//
/*! @file
@brief vplayer メイン関係
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <iostream>
#include "vplayer.hpp"
#include "core/glcore.hpp"
#include <boost/f... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: shapes.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2007-04-26 10:02:10 $
*
* The Contents of this file are made av... |
<commit_before>#include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
using namespace cv;
static const std::string OPENCV_WINDOW = "Image window";
int findBi... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkXRenderWindow.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen.
This software is copyrighted... |
<commit_before>// $Id$
Reve::Track* esd_make_track(Reve::TrackRnrStyle* rnrStyle,
Int_t index,
AliESDtrack* at,
AliExternalTrackParam* tp=0)
{
// Helper function
Double_t pbuf[3], vbuf[3];
Reve::RecTrack rt;
if(tp == 0) tp = at;
rt.label = at->GetL... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ip_type.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-07 16:19:36 $
*
* The Contents of this file are made a... |
<commit_before>#include <iostream>
#include <sstream>
#include <vector>
#include <utility>
#include <string>
#include <stdlib.h>
#include <unistd.h>
#include "../macros.h"
#include "../varkey.h"
#include "../thread.h"
#include "../util.h"
#include "../spinbarrier.h"
#include "bench.h"
using namespace std;
using nam... |
<commit_before>/*=========================================================================
Program: BlueBerry Platform
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt... |
<commit_before>/*=========================================================================
*
* Copyright NumFOCUS
*
* 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:... |
<commit_before>#include <QtGui/QGuiApplication>
#include "player.h"
#include <gst/gst.h>
#include <iostream>
GstElement *findSink(GstElement *pipeline) {
for (int x = 0; x < GST_BIN_NUMCHILDREN (GST_BIN (pipeline)); x++) {
gpointer data = g_list_nth_data (GST_BIN (pipeline)->children, x);
if (GST_IS_ELEMENT ... |
<commit_before><commit_msg>Partial revert of r330042 "Draw the offscreen texture to reflector's surface without extra copy"<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2015] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* i... |
<commit_before>/*
Flexisip, a flexible SIP proxy server with media capabilities.
Copyright (C) 2010 Belledonne Communications SARL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either... |
<commit_before>/*
headers.cpp
⠭
*/
/* Revision: 1.02 11.07.2000 $ */
/*
Modify:
27.06.2000 AT
+ ᤥ ᯮ짮 ।
07.07.2000 SVS
+ stdarg.h - FarAdvControl
11.07.2000 SVS
! 樨 BC & VC
*/
#define STRICT
#if !defined(_INC_WINDOWS) && !defined(_WINDOWS_)
#if defined(_MSC_VER)
#define _WINCON_ // ... |
<commit_before>#include <Poco/UUIDGenerator.h>
#include <Poco/UUID.h>
#include "../lib/rapidjson/prettywriter.h"
#include "../lib/rapidjson/stringbuffer.h"
#include "job.h"
using namespace Batyr;
Job::Job()
: status(FAILED)
{
// generate an UUID as id for the job
Poco::UUIDGenerator & uuidGen = Poco::U... |
<commit_before>// Copyright 2017 The Johns Hopkins University Applied Physics Laboratory.
// Licensed under the MIT License. See LICENSE.txt in the project root for full license information.
#include <cstdio>
#include <ctime>
#include "orthoimage.h"
#include "shr3d.h"
// Print command line arguments.
void pr... |
<commit_before>#include "CppUnitTest.h"
#include <string>
#include <vector>
#include <array>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
using namespace std;
namespace algo
{
template<class Traits>
class tokens
{
typedef vector<typename Traits::type> token_vector;
token_... |
<commit_before>/*************************************************************************
*
* $RCSfile: buffer.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2003-03-18 16:28:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before><commit_msg>coverity#441077 Dereference after null check<commit_after><|endoftext|> |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkPushImageReader.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
S... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkMedicalImageReader2.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details... |
<commit_before>#include <Img/Image.h>
#include <Camera/OpenniProvider.h>
#include <opencv2/opencv.hpp>
namespace Camera{
OpenNIProvider::OpenNIProvider(const std::string& ID)
:
ImageProvider(ID),
_capture(CV_CAP_OPENNI)
{
// if(!_capture.isOpened()){
// _capture.open(cv::CV_CAP_OPENNI2);
... |
<commit_before>/*=========================================================================
Library : Image Registration Toolkit (IRTK)
Copyright : Imperial College, Department of Computing
Visual Information Processing (VIP), 2008 onwards
Date : $Date: 2013-01-14$
Changes : $Author$
=========================... |
<commit_before>/*
Copyright (c) 2007, 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>#include <string>
#include <sstream>
#include <iostream>
#include <cstddef>
#include <iomanip>
#include "ast.hpp"
#include "json.hpp"
#include "context.hpp"
#include "position.hpp"
#include "source_map.hpp"
namespace Sass {
using std::ptrdiff_t;
SourceMap::SourceMap() : current_position(0, 0, 0), f... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>// Simple startrails composition program using OpenCV
// Copyright 2018 Jarno Paananen <jarno.paananen@gmail.com>
// Based on script by Thomas Jacquin
// SPDX-License-Identifier: MIT
using namespace std;
#include <getopt.h>
#include <glob.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <uni... |
<commit_before>#ifndef TELNETPP_TELNETPP_HPP_
#define TELNETPP_TELNETPP_HPP_
// routing_visitor pulls in all of the various routers, and thus all
// of the various token types.
#include "telnetpp/routing_visitor.hpp"
// With the addition of the parser and generator, the client need then only
// include the specific r... |
<commit_before>#ifndef V_SMC_CORE_SAMPLER_HPP
#define V_SMC_CORE_SAMPLER_HPP
#include <iomanip>
#include <iostream>
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <vector>
#include <mkl_cblas.h>
#include <boost/function.hpp>
#include <vSMC/core/buffer.hpp>
#include <vSMC/core/monitor.hpp... |
<commit_before>// Copyright (c) 2018 Benno Straub, licensed under the MIT license. (A copy can be found at the bottom of this file)
// Utilities for 3d textures/voxel engines
#pragma once
#include <algorithm>
#include <cmath>
namespace stx {
// == bitmap =================================================
/// Repre... |
<commit_before>/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lice... |
<commit_before>/**
* @file LLSaleInfo_tut.cpp
* @author Adroit
* @date 2007-03
* @brief Test cases of llsaleinfo.h
*
* $LicenseInfo:firstyear=2007&license=viewergpl$
*
* Copyright (c) 2007-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is prov... |
<commit_before>/*
* bacteria-core, core for cellular automaton
* Copyright (C) 2016 Pavel Dolgov
*
* See the LICENSE file for terms of use.
*/
#include <boost/test/unit_test.hpp>
#include "Model.hpp"
static Implementation::Model* createBaseModel() {
Implementation::Model* model =
Abstract::makeModel... |
<commit_before>/*
* A job that shall be executed in a worker thread.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#ifndef BENG_PROXY_THREAD_JOB_HXX
#define BENG_PROXY_THREAD_JOB_HXX
#include <boost/intrusive/list.hpp>
class ThreadJob
: public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boos... |
<commit_before>/*
* Blink
* Turns on an LED on for one second,
* then off for one second, repeatedly.
*/
#include "Arduino.h"
#ifndef LED_BUILTIN
#define LED_BUILTIN 13
#endif
void setup()
{
// initialize LED digital pin as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
void loop()
{
// turn the LED on (HIGH ... |
<commit_before>//
// trajectory.cpp
// EpiGenMCMC
//
// Created by Lucy Li on 13/04/2016.
// Copyright (c) 2016 Lucy Li, Imperial College London. All rights reserved.
//
#include "trajectory.h"
void Trajectory::initialise_file (std::string filename, int every) {
std::ofstream file(filename);
file << "sta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.