text stringlengths 54 60.6k |
|---|
<commit_before>// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <fstream>
#include <string>
#include <vector>
#include <exception>
// StdAir
#include <stdair/stdair_demand_types.hpp>
#inc... |
<commit_before>#ifndef INTEGER_RANGE_HPP
#define INTEGER_RANGE_HPP
#include <boost/assert.hpp>
#include <type_traits>
#include <cstdint>
namespace osrm
{
namespace util
{
template <typename Integer> class range
{
private:
const Integer last;
Integer iter;
public:
range(Integer start, Integer end) ... |
<commit_before>#include "indexer/feature_visibility.hpp"
#include "indexer/classificator.hpp"
#include "indexer/drawing_rules.hpp"
#include "indexer/scales.hpp"
#include "base/assert.hpp"
#include "std/array.hpp"
template <class ToDo> typename ToDo::ResultType
Classificator::ProcessObjects(uint32_t type, ToDo & toD... |
<commit_before>#include "SQLiteQuery.h"
/**
* The function to call when running the 'index' command.
*/
SQLiteQuery::SQLiteQuery(char * indexdir, EMatrix * ematrix) :
IndexQuery(indexdir, ematrix) {
}
/**
* Destructor
*/
SQLiteQuery::~SQLiteQuery() {
}
/**
* Performs the indexing.
*/
void SQLiteQuery::run(... |
<commit_before>/**
* @file llfloatermap.cpp
* @brief The "mini-map" or radar in the upper right part of the screen.
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or... |
<commit_before>/* $Id$ */
# ifndef CPPAD_EXP_2_INCLUDED
# define CPPAD_EXP_2_INCLUDED
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the... |
<commit_before>// @(#)root/io:$Id$
// Author: Jakob Blomer
/*************************************************************************
* Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#pragma once
#include <limits>
#include <algorithm>
#include <vector>
#include <map>
#include <functional>
using std::max;
using std::make_pair;
using std::min;
using std::abs;
using std::hypot;
using std::vector;
using std::map;
using std::function;
namespace search
{
//
// Lifelong planning... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2015 Mark Charlebois. 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... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/value_type.h>
#include <vespa/searchlib/fef/feature_type.h>
#include <vespa/searchlib/fef/featurenameparser.h>
#in... |
<commit_before>// Copyright (c) 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 "net/proxy/proxy_script_fetcher.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/message_loop... |
<commit_before>#ifndef _ordering_annealing_cpp_included_
#define _ordering_annealing_cpp_included_
// c++ header files
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <fstream>
#include <iostream>
#include <iterator>
#include <string>
#include <utility>
#include <ve... |
<commit_before><commit_msg>set up the basic arena endpoint<commit_after><|endoftext|> |
<commit_before><commit_msg>binding: fix build on *nix<commit_after><|endoftext|> |
<commit_before>#include "Codegen.h"
#include <stdexcept>
#define __ m_Assembler.
namespace snow {
namespace x86_64 {
static const Register* arg_regs[] = { &rdi, &rsi, &rdx, &rcx, &r8, &r9 };
static const Register* tmp_regs[] = { &rax, &r10, &r11, &rbx, &r12, &r13, &r14, &r15 };
static const bool preserve_regs... |
<commit_before><commit_msg>Flush the queue after every run iteration<commit_after><|endoftext|> |
<commit_before>/*
Q Light Controller Plus
audio.cpp
Copyright (c) Massimo Callegari
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.txt... |
<commit_before><commit_msg>config: wrap statefs_variant string in dquotes<commit_after><|endoftext|> |
<commit_before><commit_msg>fcache: convert functions to methods<commit_after><|endoftext|> |
<commit_before><commit_msg>Removed useless preprocessing<commit_after><|endoftext|> |
<commit_before><commit_msg>Delete floppy.cpp<commit_after><|endoftext|> |
<commit_before>#include <iomanip>
#include "server.hpp"
#include "tools.hpp"
#include "test_tool.hpp"
// 🍣🍣🍣 パーサ 🍣🍣🍣
void pcserver::parse(question_data const& problem, answer_type const& answer)
{
// outputに本番サーバと同じ情報、outerrにそれ以外を吐く
std::cerr << "TARGET CAPTURED...\n";
test_tool::emulator emu(probl... |
<commit_before>// Copyright 2016 Strength in Numbers Foundation
#include "giftcardpage.h"
#include "ui_giftcardpage.h"
#include "giftcardtablemodel.h"
#include "optionsmodel.h"
#include "bitcoingui.h"
#include "creategiftdialog.h"
#include "csvmodelwriter.h"
#include "guiutil.h"
#include "paperwallet.h"
#include <Q... |
<commit_before>// Copyright (c) 2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "modaloverlay.h"
#include "ui_modaloverlay.h"
#include "guiutil.h"
#include "chainparams.h"
#include <Q... |
<commit_before><commit_msg>new diagnostics for LRGs<commit_after><|endoftext|> |
<commit_before>#include "optionsmodel.h"
#include "bitcoinunits.h"
#include "headers.h"
#include "init.h"
OptionsModel::OptionsModel(CWallet *wallet, QObject *parent) :
QAbstractListModel(parent),
wallet(wallet),
nDisplayUnit(BitcoinUnits::BTC),
bDisplayAddresses(false)
{
// Read our specific sett... |
<commit_before><commit_msg>remove diagnostics<commit_after><|endoftext|> |
<commit_before>/* ************************
Copyright Terrain Experts Inc.
Terrain Experts Inc (TERREX) reserves all rights to this source code
unless otherwise specified in writing by the President of TERREX.
This copyright may be updated in the future, in which case that version
supercedes this one.
... |
<commit_before>#include "overviewpage.h"
#include "ui_overviewpage.h"
#include "walletmodel.h"
#include "tekcoinunits.h"
#include "optionsmodel.h"
#include "transactiontablemodel.h"
#include "transactionfilterproxy.h"
#include "guiutil.h"
#include "guiconstants.h"
#include <QAbstractItemDelegate>
#include... |
<commit_before>#include "qrcodedialog.h"
#include "ui_qrcodedialog.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include "guiutil.h"
#include "optionsmodel.h"
#include <QPixmap>
#include <QUrl>
#include <qrencode.h>
QRCodeDialog::QRCodeDialog(const QString &addr, const QString &label, bool enableReq, QWid... |
<commit_before>/*
This file is part of KOrganizer.
Copyright (c) 2001 Cornelius Schumacher <[email protected]>
This program 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 Software Foundation; either version 2 of... |
<commit_before>//
// Created by dar on 11/25/15.
//
#include "Renderer.h"
Renderer::Renderer(Core *core) : core(core) { }
bool Renderer::init() {
if (!this->initWindow()) {
printf("Failed to initialize window!\n");
} else if (!this->initGL()) {
printf("Unable to initialize OpenGL!\n");
} ... |
<commit_before>/* RTcmix - Copyright (C) 2005 The RTcmix Development Team
See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for
the license to this software and for a DISCLAIMER OF ALL WARRANTIES.
*/
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <rtcmix_types.h>
#include <tableuti... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2020 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script/standar... |
<commit_before>#include "includes.h"
#ifndef _WIN32
#include <sys/types.h>
#include <dirent.h>
#endif
void prepare_logdir()
{
spdlog::drop_all();
#ifdef _WIN32
system("if not exist logs mkdir logs");
system("del /F /Q logs\\*");
#else
auto rv = system("mkdir -p logs");
if (rv != 0)
{
t... |
<commit_before>#include "apf.h"
#include "apfMDS.h"
#include "apfMesh2.h"
#include "pcu_io.h"
#include "pcu_byteorder.h"
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cstdlib>
/*
read files in the AFLR3 format from Dave Marcum at Mississippi State
-little-endian if file has suffix '.lb8.ugrid'
-bi... |
<commit_before>/* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
#include <realm.hpp>
#include <realm/lang_bind_helper.hpp>
#include "error_handling.hpp"
#include "realm_export_decls.hpp"
#include "marshalling.hpp"
#include "object-store/src/shared_realm.hpp"
#include "object-store... |
<commit_before>/*
* Copyright 2016 WebAssembly Community Group participants
*
* 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
*
* Unl... |
<commit_before>#pragma once
#include "../../types.hpp"
#include "../base.hpp"
#include "counter.hpp"
#include <nlohmann/json.hpp>
#include <pqrs/dispatcher.hpp>
namespace krbn {
namespace manipulator {
namespace manipulators {
namespace mouse_motion_to_scroll {
class mouse_motion_to_scroll final : public base, public... |
<commit_before>/***************************************************************************
* Copyright (C) 2009 by Miguel Chavez Gamboa *
* [email protected] *
* ... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXDE-Qt - a lightweight, Qt based, desktop toolset
* http://razor-qt.org
*
* Copyright: 2012 Razor team
* Authors:
* Johannes Zellner <[email protected]>
*
* This program or library is free software; you can redistribute it
* and/or modify ... |
<commit_before>#include <catch2/catch.hpp>
#include "types.hpp"
#include <set>
TEST_CASE("momentary_switch_event") {
{
krbn::momentary_switch_event e(krbn::key_code::keyboard_a);
REQUIRE(e.make_modifier_flag() == std::nullopt);
REQUIRE(e.modifier_flag() == false);
REQUIRE(e.pointing_button() == fals... |
<commit_before>#ifndef _DATA_TYPES
#define _DATA_TYPES
#include <iostream>
struct dimension {
dimension(void);
dimension(unsigned int w, unsigned int h);
unsigned int width, height;
};
struct position {
position(void);
position(int x, int y);
int x, y;
};
struct rectangle {
rectangle(void);
rectangl... |
<commit_before>/*
This file is part of cpp-ethereum.
cpp-ethereum 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 Software Foundation, either version 3 of the License, or
(at your option) any later version.
cpp-ethereum is dis... |
<commit_before><commit_msg>[NFC] Fix warnings in RHist.hxx<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2010 The WebM 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. All cont... |
<commit_before>/*********************************************************************
*
* Condor ClassAd library
* Copyright (C) 1990-2001, CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI, and Rajesh Raman.
*
* This library is free software; you can redistribute it and/or
* modif... |
<commit_before>/*
*
* Copyright 2017 gRPC authors.
*
* 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 applicab... |
<commit_before>// definition of necessary units
static const double cm=1;
static const double cm3=cm*cm*cm;
static const double volt=1;
static const double C=1; // Coulomb
static const double Qe=-1.6e-19*C; // eletron charge
static const double epsilon0=8.854187817e-14*C/volt/cm; // vacuum permittivity
// https://link.... |
<commit_before>/*************************************************************************
*
* $RCSfile: ndole.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: kz $ $Date: 2004-10-04 18:59:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses... |
<commit_before>// Catch
#include <catch.hpp>
// C++ Standard Library
#include <memory>
// Mantella
#include <mantella>
class TestHillClimbing : public mant::HillClimbing {
public:
TestHillClimbing(
const std::shared_ptr<mant::OptimisationProblem> optimisationProblem)
: mant::HillClimbing(optimisa... |
<commit_before>#ifdef ENABLE_MPI
#include "CellCommunicator.h"
/*!
* \param sysdef System definition
* \param cl MPCD cell list
*/
mpcd::CellCommunicator::CellCommunicator(std::shared_ptr<SystemDefinition> sysdef,
std::shared_ptr<mpcd::CellList> cl)
: m_sysdef(sysdef),
... |
<commit_before>//
// @author @Yue Wang @shbling @Soyn @Yue Wang
//
// Exercise 10.24:
// Use bind and check_size to find the first element in a vector of ints that has a value greater
// than the length of a specified string value.
//
// Discussion over this exercise on StackOverflow
// http://stackoverflow.com/quest... |
<commit_before>#include "dcdsupport.h"
#include "dlangdebughelper.h"
#include <dlangoptionspage.h>
#include <stdexcept>
#include <QProcess>
#include <QTextStream>
#include <QDebug>
#include <projectexplorer/projectexplorer.h>
#include <projectexplorer/project.h>
#include <cpptools/cppmodelmanager.h>
using namespac... |
<commit_before>#ifdef _WIN32
#include <assert.h>
#include "win_fsnotifier.h"
using namespace std;
//
// WatchPoint
//
WatchPoint::WatchPoint(Server* server, const u16string& path)
: path(path) {
wstring pathW(path.begin(), path.end());
HANDLE directoryHandle = CreateFileW(
pathW.c_str(), ... |
<commit_before>/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2020 Hugo Beauzée-Luyssen, Videolabs, VideoLAN
*
* Authors: Hugo Beauzée-Luyssen <[email protected]>
*
* This p... |
<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/notifications/sync_notifier/notification_bitmap_fetcher.h"
#include "base/compiler_specific.h"
#include "chrome/b... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>#include <mtp/ptp/Session.h>
#include <mtp/ptp/Messages.h>
#include <mtp/ptp/Container.h>
#include <mtp/ptp/OperationRequest.h>
namespace mtp
{
#define THROW_INVALID_RESPONSE
void Session::Close()
{
OperationRequest req(OperationCode::CloseSession, 0, _sessionId);
Container container(req);
_pac... |
<commit_before>//===--- lib/CodeGen/DIE.cpp - DWARF Info Entries -------------------------===//
//
// 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 the KDE project
Copyright (C) 2001 Christoph Cullmann <[email protected]>
Copyright (C) 2002 Joseph Wenninger <[email protected]>
Copyright (C) 2002 Anders Lund <[email protected]>
Copyright (C) 2007 Anders Lund <[email protected]>
This library is free software... |
<commit_before><commit_msg>Fixed name for xapiand_max_time_delete<commit_after><|endoftext|> |
<commit_before>/*
* Copyright © 2012 Intel Corporation
*
* 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 to use, copy, mod... |
<commit_before>//===-- PhiElimination.cpp - Eliminate PHI nodes by inserting copies ------===//
//
// 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><commit_msg>natpmp fix<commit_after><|endoftext|> |
<commit_before>/*
* eos - A 3D Morphable Model fitting library written in modern C++11/14.
*
* File: include/eos/render/normals.hpp
*
* Copyright 2014-2019 Patrik Huber
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... |
<commit_before>/*=========================================================================
Program: openCherry 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 or ht... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The Silk Network developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "proofs... |
<commit_before>#include "joedb/journal/Readonly_Journal.h"
#include "joedb/journal/Generic_File.h"
#include "joedb/Exception.h"
#include <sstream>
const uint32_t joedb::Readonly_Journal::version_number = 0x00000004;
const uint32_t joedb::Readonly_Journal::compatible_version = 0x00000004;
const int64_t joedb::Readonly... |
<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 <sstream>
#include "pixels.h"
#include "viewport.h"
#include "rng.h"
#include "screenmessage.h"
#include "setup.h"
#include "state.h"
using namespace std;
Pixels::Pixels (GlobalData* global)
:
global(global), pixels(TPixels(global->setup->pixels)), stepn(1), steps(1),
stepw(1), stepe(1)... |
<commit_before><commit_msg>added the while loop to main and some preliminary function definitions<commit_after><|endoftext|> |
<commit_before>/***************************************************************************/
/**
** @file Option.cpp
** @brief Functions for class tOption
**
** A. Desitter - March 2004
**
** $Id: tOption.cpp,v 1.2 2004-04-01 09:57:28 childcvs Exp $
*/
/**************************************************************... |
<commit_before>/*************************************************************************\
**
** tOutput.cpp: Functions for output objects
**
**
**
** $Id: tOutput.cpp,v 1.4 1998-02-02 17:54:18 gtucker Exp $
\*************************************************************************/
#include "tOutput.h"
/********... |
<commit_before>#ifndef __MALC_CUSTOM_TYPE_HPP__
#define __MALC_CUSTOM_TYPE_HPP__
#include <string>
#include <vector>
#include <type_traits>
#include <bl/base/platform.h>
#include <malcpp/malcpp.hpp>
// base resources to define custom log types. It won't work if you include
// malc_lean.hpp before.
namespace malcpp... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#include <map>
#include <qi/atomic.hpp>
#include <boost/thread/recursive_mutex.hpp>
#include <qitype/signal.hpp>
#include <qitype/genericvalue.hpp>
#include <qitype/genericobject.hpp>
#include "object_p.hpp"
#include "sign... |
<commit_before>#pragma once
/*
MIT License
Copyright (c) 2017 Arlen Keshabyan ([email protected])
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... |
<commit_before>#ifndef VSMC_CORE_PARTICLE_HPP
#define VSMC_CORE_PARTICLE_HPP
#include <vsmc/internal/common.hpp>
#include <vsmc/internal/resampling.hpp>
namespace vsmc {
/// \brief Particle class representing the whole particle set
/// \ingroup Core
///
/// \tparam T Requirement:
/// \li Constructor compatible with
... |
<commit_before>/***************************************************************************
* Copyright (c) 2016, Johan Mabille and Sylvain Corlay *
* *
* Distributed under the terms of the BSD 3-Clause License. ... |
<commit_before>//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//------------------------------------------... |
<commit_before>#include <node.h>
#include <nan.h>
#include <stdlib.h>
#ifdef _MSC_VER
// Windows header
# include <Windows.h>
#else
// Unix header
# include <dirent.h>
# include <sys/stat.h>
#endif
using namespace v8;
// Type signature
bool IsCurrentDir(const wchar_t* path);
bool IsCurrentDir(const char* path);
... |
<commit_before>//===-- Utils.cpp - TransformUtils Infrastructure -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- TypeSymbolTable.cpp - Implement the TypeSymbolTable class ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/**
* @file llviewerchat.cpp
* @brief Builds menus out of items.
*
* $LicenseInfo:firstyear=2002&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the... |
<commit_before>#include "teensy3/WProgram.h"
#include "teensy3/core_pins.h"
#include "teensy3/usb_serial.h"
#define ROWS 15
#define COLS 112
#define SYNC 10
#define CLK 11
#define DAT 12
#define HIBANK 3
#define LOBANK 4
#define BIT0 0
#define BIT1 1
#define BIT2 2
#define bufferSize 2048
int serialbuffer[bufferSiz... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_OPERATORS_ELLIPTIC_HH
#define DUNE_GDT_OPERATORS_ELLIPTIC_HH
#include ... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_SPACES_CONSTRAINTS_HH
#define DUNE_GDT_SPACES_CONSTRAINTS_HH
#include ... |
<commit_before>/*
* class.hpp - Copyright (C) 2007 by Nathan Reed
* Implementation of the class__ class from luabridge.hpp.
*/
/*
* Container for registered class names, with awareness of const types
*/
template <typename T>
struct classname
{
static const char *name_;
static const char *name ()
{
return cl... |
<commit_before>// Copyright (c) 2014-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "validation.h"
#include "net.h"
#include "test/test_gulden.h"
#include <bo... |
<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>#include <taichi/taichi>
#include <taichi/util.h>
TC_NAMESPACE_BEGIN
auto diff_conv = [](const std::vector<std::string> args) {
int grid_resolution = 256;
TC_ASSERT(args.size() == 2);
auto f = fopen(args[0].c_str(), "rb");
int n = pow<3>(grid_resolution);
TC_ASSERT(f);
std::vector<float32... |
<commit_before>#line 2 "togo/serializer.hpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief Serializer interface.
@ingroup serialization
@ingroup serializer
*/
#pragma once
#include <togo/config.hpp>
#include <togo/traits.hpp>
#include <togo/serialization_types.hpp>
#inclu... |
<commit_before>/*
* This program 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 Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2012 Heiko Strathmann
*/
#incl... |
<commit_before>#include <check.hpp>
#include <kdb.hpp>
#include <plugin.hpp>
#include <modules.hpp>
#include <cmdline.hpp>
#include <iostream>
using namespace std;
using namespace kdb;
using namespace kdb::tools;
CheckCommand::CheckCommand()
{}
int printProblems(Key k, std::string action, int off)
{
bool wo = k.... |
<commit_before>#include "tracefilelister.h"
#include "ui_tracefilelister.h"
#include <QVBoxLayout>
#include <QLabel>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QTreeWidgetItem>
#include <QDebug>
TraceFileLister::TraceFileLister(QWidget *parent) :
QDockWidget("Traces", parent)
{
tree = new QT... |
<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) 2008 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:
* 1. Redistributions of source code must retain the above copyright
* notice, ... |
<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>#include "GraphicsHandler.h"
int GraphicsHandler::IncreaseArraySize()
{
GraphicsComponent** newArray = new GraphicsComponent*[this->m_maxGraphicsComponents + ARRAY_INC];
for (int i = 0; i < this->m_maxGraphicsComponents; i++)
{
newArray[i] = this->m_graphicsComponents[i];
}
delete[] this->m_grap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.