text
stringlengths
54
60.6k
<commit_before>/* * qihdr.cpp * * Created by Tobias Wood on 11/06/2015. * Copyright (c) 2015 Tobias Wood. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/....
<commit_before>/********** 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 later version. (See <http://www.gnu.org/copyleft/lesser.htm...
<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 "webkit/plugins/ppapi/ppapi_webplugin_impl.h" #include <cmath> #include "base/message_loop.h" #include "googleurl/src/gurl.h...
<commit_before>/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2012 Clifford Wolf <[email protected]> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission ...
<commit_before>#include <iostream> using namespace std; struct Numero { int cifras[30]; int ncifras; }; int main() { int tam; string s; Numero N; cin >> s; int tam = s.size(); for (int i = 0; i < tam; ++i) { char digito = s[i]; } }<commit_msg>the structure of proyect is completed<commit_after>#include <io...
<commit_before> #include <Onsang/utility.hpp> #include <Onsang/detail/gr_ceformat.hpp> #include <Onsang/Log.hpp> #include <Onsang/asio.hpp> #include <Onsang/Net/CmdStreamer.hpp> #include <Hord/Error.hpp> #include <Hord/ErrorCode.hpp> #include <duct/IO/arithmetic.hpp> #include <cassert> #include <mutex> #include <iom...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: NamedBoolPropertyHdl.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2007-06-27 15:25:30 $ * * The Contents of this fi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PageMasterPropMapper.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: hr $ $Date: 2007-06-27 15:28:18 $ * * The Contents of this f...
<commit_before>/* kcodecaction.cpp Copyright (c) 2003 by Jason Keirstead <[email protected]> Kopete (c) 2003 by the Kopete developers <[email protected]> ************************************************************************* * ...
<commit_before>#include "AudioPluginUtil.h" #include "FFTConvolver/FFTConvolver.h" #include "FFTConvolver/TwoStageFFTConvolver.h" #include <utility> #include <mysofa.h> //#include <ATK/Special/ConvolutionFilter.h> // Our plugin will be encapsulated within a namespace // This namespace is later used to indicate that...
<commit_before>#include "ghost/config.h" #include "ghost/types.h" #include "ghost/densemat.h" #include "ghost/util.h" #include "ghost/math.h" #include "ghost/tsmttsm.h" #include "ghost/tsmttsm_gen.h" #include "ghost/tsmttsm_avx_gen.h" #include <map> using namespace std; static bool operator<(const ghost_tsmttsm_para...
<commit_before>// -*-c++-*- #include <osgProducer/Viewer> #include <osgDB/ReadFile> #include <osg/Geode> #include <osg/Geometry> #include <osg/StateSet> #include <osg/Material> #include <osg/Texture2D> #include <osg/TextureRectangle> #include <osg/TexMat> #include <osg/CullFace> #include <osgGA/TrackballManipulator...
<commit_before>#include<stdio.h> #include<malloc.h> #define ERROR 0 #define OK 1 #define ElemType int typedef int Status; typedef struct LNode { int data; struct LNode *next; }LNode,*LinkList; int CreateLink_L(LinkList &L,int n){ // 创建含有n个元素的单链表 LinkList p,q; int i; ElemType e; L = (LinkList)malloc(sizeof...
<commit_before>/* vcflib C++ library for parsing and manipulating VCF files Copyright © 2010-2022 Erik Garrison Copyright © 2020-2022 Pjotr Prins This software is published under the MIT License. See the LICENSE file. */ #include <algorithm> #include <string> #include <ranges> #include <set> #include...
<commit_before> void partialReconstructValsPQCpp(int* rowInds, int*colInds, double* P, double* Q, double* values, int size, int numCols) { /* * Go through and reconstruct PQ^T for the given indices */ int i, j; int sum; for(i=0;i<size;i++) { sum = 0; for(j=0;j<numCols;j+...
<commit_before>#include "utils.h" void SerializeMatrix3(Matrix3 &mtx, double *output) { Point3 row; row = mtx.GetRow(0); output[0] = row.x; output[1] = -row.z; output[2] = -row.y; row = mtx.GetRow(2); output[3] = -row.x; output[4] = row.z; output[5] = row.y; row = mtx.GetRow(1); output[...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>#pragma onece #include<QString> #include<QDir> const QString app_name = "MCSwitch"; // Application Full Name. const QString app_ver = "0.0.1-dev"; // Application Version. const QString app_license = "MIT"; // Application License. const QString mcswitch_dir = QDir::homePath() + "/.MCSwitch"; //Applicati...
<commit_before>/* * Copyright 2016 Andrei Pangin * * 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 ...
<commit_before> #include <functional> #ifdef INCLUDE_BOTAN_ALL_H #include "botan_all.h" #else #include <botan/botan.h> #include <botan/tls_session.h> #include <botan/tls_alert.h> #include <botan/tls_policy.h> #include <botan/credentials_manager.h> #include <botan/tls_channel.h> #include <botan/pkcs8.h> #include <botan...
<commit_before>#include "indexer.h" #include "util.h" #include <memory.h> const int KMER = 16; // 512M bloom filter const unsigned int BLOOM_FILTER_SIZE = 1<<29; const unsigned int BLOOM_FILTER_BITS = BLOOM_FILTER_SIZE - 1; Indexer::Indexer(string refFile, vector<Fusion>& fusions) { mRefFile = refFile; mFusio...
<commit_before>#include <unistd.h> #include <fcntl.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/ptrace.h> #include <sys/syscall.h> #include <sys/user.h> #include <sys/types.h> #include <sys/wait.h> #include "seccomp_bpf.h" #include <iostream> using namespace std; static bool install_syscall_filt...
<commit_before> #include "stdafx.h" #include "Tese.h" String^ TeseCpp::Tese::Serialize(Object^ obj) { array<Byte>^ bytes; { MemoryStream^ mem = gcnew MemoryStream(); Serialize(obj, mem); bytes = mem->ToArray(); mem->Close(); } return Encoding::UTF8->GetString(bytes); } generic <typename T> T TeseCpp::Te...
<commit_before>#include <iostream> #include <unordered_map> #include <tuple> #include <exception> #include <vector> namespace TM { enum SHIFT { LEFT = -1, RIGHT = 1, HOLD = 0 }; bool operator==(const std::tuple<int, char> &a, const std::tuple<int, char> &b) { return std::get<0>(a) ==...
<commit_before>/************************************************************************* * * $RCSfile: animobjs.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2004-01-20 11:47:42 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * $RCSfile: animobjs.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2005-06-14 16:23:40 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/// @file /// @copyright The code is licensed under the BSD License /// <http://opensource.org/licenses/BSD-2-Clause>, /// Copyright (c) 2012-2015 Alexandre Hamez. /// @author Alexandre Hamez #pragma once #include <functional> // reference_wrapper #include <limits> #include <numeri...
<commit_before>/* Copyright (c) 2011 Volker Krause <[email protected]> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) a...
<commit_before>#include "mainwindow.h" #include "paramwindows.h" #include "ui_mainwindow.h" #include <QMessageBox> #include <QDialog> #include "windowstatistics.h" #include "windowserveur.h" #include "launchsologame.h" #include "widgetchat.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(n...
<commit_before>#include "vmas.h" #include "debug.h" #include <stdlib.h> #include <string.h> VMAddrSpace::VMAddrSpace() { stack = NULL; code = NULL; data = NULL; stacksize = DEFAULT_STACKSIZE; codesize = DEFAULT_CODESIZE; datasize = DEFAULT_DATASIZE; allocate(); return; } VMAddrSpace::V...
<commit_before>#include "photoeffects.hpp" using namespace cv; int fadeColor(cv::InputArray src, cv::OutputArray dst) { return image.rows*image.cols; } <commit_msg>edit errors<commit_after>#include "photoeffects.hpp" using namespace cv; int fadeColor(cv::InputArray src, cv::OutputArray dst) { return src.row...
<commit_before>/****************************** * Qt player using libVLC * * By protonux * * * * Under WTFPL * ******************************/ #include "player.h" #include <vlc/vlc.h> #define qtu( i ) ((i).toUtf8().constData()) #include <QtGui> Mwindow...
<commit_before><commit_msg>print message before calling the start function.<commit_after><|endoftext|>
<commit_before>namespace mant { namespace robotic { class ParallelKinematicMachine3PRRR { public: inline explicit ParallelKinematicMachine3PRRR() noexcept; inline arma::Mat<double>::fixed<2, 3> getLinkLengths() const noexcept; inline void setLinkLengths( const arma::Mat...
<commit_before><commit_msg>[spaces.fv] add missing includes<commit_after><|endoftext|>
<commit_before><commit_msg>Removed extra debug info.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mailmodel.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-03-27 09:37:18 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: impframe.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-07 19:27:12 $ * * The Contents of this file are made ...
<commit_before>#include "opencv2/highgui/highgui.hpp" #include "opencv2/core/core.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> using namespace std; using namespace cv; int main(int argc, char ** argv){ VideoCapture in; VideoWriter out; VideoWriter test; if(argc >1){ in.open(argv[1]); // int...
<commit_before>#include "app/SimpleApp.h" #include "sys/AbstractThread.h" #include "sys/StopWatch.h" #include "trace/log.h" #include "trace/UdpBackEnd.h" //#define PERFORMANCE_TEST 1 namespace { class Th1 : public ::sys::AbstractThread { public: explicit Th1( const uint32_t id ) : ::sy...
<commit_before>/** * * \file main.cpp * \brief test/demo program * \author Arthur Brainville * * Annwvyn test program http://annwvyn.org/ * */ #include "stdafx.h" //Annwvyn #include <Annwvyn.h> #include "TestLevel.hpp" #include <AnnSplashLevel.hpp> using namespace std; using namespace Annwvyn; timerID demoTimer; c...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved */ #include "../StroikaPreComp.h" #include <thread> #if qPlatform_POSIX #include <unistd.h> #include <fstream> #elif qPlatform_Windows #include <Windows.h> #endif #include "../Characters/SDKString.h" #i...
<commit_before><commit_msg>update AddTask for MC<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2010 Toni Gundogdu. * * 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. * * This progra...
<commit_before>// // calcCOVARchunks.cpp // // // Created by Evan McCartney-Melstad on 2/13/15. // // #include "calcCOVARchunks.h" #include <iostream> #include <vector> #include <fstream> #include <thread> #include <string> int calcCOVARfromBinaryFile (std::string binaryFile, unsigned long long int numLoci, cons...
<commit_before>#include "SpecializeClampedRamps.h" #include "IRMutator.h" #include "IROperator.h" #include "Simplify.h" #include "Substitute.h" namespace Halide { namespace Internal { namespace { class PredicateFinder : public IRMutator { public: Expr min_predicate, max_predicate; PredicateFinder() : min_pred...
<commit_before>// Copyright 2004-present Facebook. All Rights Reserved. #include "src/StandardReactiveSocket.h" #include <folly/ExceptionWrapper.h> #include <folly/Memory.h> #include <folly/MoveWrapper.h> #include <folly/io/async/EventBase.h> #include "src/ClientResumeStatusCallback.h" #include "src/ConnectionAutomat...
<commit_before>#pragma once #include <cmath> #include <string> #include "base/macros.hpp" namespace principia { namespace quantities { template<int64_t LengthExponent, int64_t MassExponent, int64_t TimeExponent, int64_t CurrentExponent, int64_t TemperatureExponent, int64_t AmountExponent, int64_t ...
<commit_before> #include <string> #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/BIPM.hpp" #include "quantities/constants.hpp" #include "quantities/dimensionless.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/quantities.hpp" #inclu...
<commit_before>#include <string> #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/BIPM.hpp" #include "quantities/constants.hpp" #include "quantities/dimensionless.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/quantities.hpp" #includ...
<commit_before>// bslmt_threadutil.cpp -*-C++-*- // ---------------------------------------------------------------------------- // NOTICE // // This component is not up to date with current BDE coding standards, and // should not be used ...
<commit_before>// set of classes to compare the performance of STL vector versus // native Root TClonesArray. // See main program bench.cxx #include "TRandom.h" #include "TFile.h" #include "TTree.h" #include "TClass.h" //the next include must be the last one on systems like Windows/NT #include "TBench.h" THit hit;...
<commit_before>#include <crv.h> #include <crvBezier.h> #include <gmi_analytic.h> #include <gmi_null.h> #include <apfMDS.h> #include <apfMesh2.h> #include <apf.h> #include <apfShape.h> #include <PCU.h> #include <math.h> #include <cassert> /* This test file uses an alternative and more traditional method to * compute ...
<commit_before>/* This file is part of the KDE project. Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 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, eith...
<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 "app/gfx/font.h" #include "app/gfx/text_elider.h" #include "base/file_path.h" #include "base/string_util.h" #include "goo...
<commit_before>#define DEBUG 1 /** * File : C2.cpp * Author : Kazune Takahashi * Created : 2019-6-3 00:42:00 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack>...
<commit_before>/* * Copyright (C) 2018 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 version 3 of the License, or * (at your op...
<commit_before>// Copyright (c) 2017 Kai Luo <[email protected]>. All rights reserved. #include "logger.h" #include "testkit.h" class L {}; TEST(L, DefaultLogger) { KL_DEBUG("message from %s", "rofl"); KL_DEBUG_L(kl::logging::Logger::DefaultLogger(), "message from %s", "wtf"); auto discard = kl::logging::Logger(...
<commit_before>/*************************************************************************** * @file main.cpp * @author Alan.W * @date 16 Feb 2014 * @remark This code is for the exercises from C++ Primer 5th Edition * @note *****************************************************************...
<commit_before>/*************************************************************************** * @file main.cpp * @author Queequeg * @date 25 Nov 2014 * @remark This code is for the exercises from C++ Primer 5th Edition * @note *********************************************************************...
<commit_before>#include <locale> #include "test_helpers.hxx" using namespace pqxx; // Initial test program for libpqxx. Test functionality that doesn't require a // running database. namespace { void check(std::string ref, std::string val, std::string vdesc) { PQXX_CHECK_EQUAL(val, ref, "String mismatch for " +...
<commit_before>// Time: O(nlogn) // Space: O(1) class Solution { public: bool isReflected(vector<pair<int, int>>& points) { if (points.empty()) { return true; } sort(points.begin(), points.end()); sort(points.begin(), points.begin() + distance(points.begin(), points.end...
<commit_before>/* Copyright (C) 2003 MySQL AB 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 the License, or (at your option) any later version. This program is d...
<commit_before><commit_msg>coverity#704836 Dereference after null check<commit_after><|endoftext|>
<commit_before>#define CDM_CONFIGURE_NAMESPACE a0038898 #include "../../cdm/application/using_many_libs/cdm.hpp" #include "log.hpp" #include "temporary.hpp" #include <boost/test/unit_test.hpp> #include <silicium/sink/ostream_sink.hpp> #include <ventura/file_operations.hpp> #include <cdm/locate_cache.hpp> #if !defined(...
<commit_before>/* Copyright 2013-present Barefoot Networks, 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 b...
<commit_before>/* Copyright 2015 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>#include "mainwidget.h" MainWidget::MainWidget(QWidget *parent) : QWidget(parent) { CpuRate_Label = new QLabel(this); RamRate_Label = new QLabel(this); Speed_Label = new QLabel(this); m_timer = new QTimer(this); connect(m_timer, SIGNAL(timeout()), this, SLOT(timeout_slot())); ...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "aboutdialog.h" #include "instructionsdialog.h" #include "robotpath.h" #include "robotgriditem.h" #include "robotgridmatrix.h" #include "map.h" #include <QMessageBox> #include <QPixmap> #include <QGraphicsPixmapItem> MainWindow::MainWindow(QWid...
<commit_before>#include <QFileDialog> #include <QImageReader> #include <QLabel> #include <QMessageBox> #include "canvaswidget.h" #include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setAttribute(Qt::WA_Qu...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include <QObject> #include <QtWidgets> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), _ui(new Ui::MainWindow), _mainWindowIcon(":/Resources/icons/mainWindowIcon.jpg"), _isPlaying(false), _prevButtonIcon(":/Resources...
<commit_before>#include "mainwindow.hpp" #include "screenshotter.hpp" #include "screenshotutil.hpp" #include "ui_mainwindow.h" #include <QAction> #include <QCloseEvent> #include <QCoreApplication> #include <QDoubleSpinBox> #include <QListWidgetItem> #include <QMenu> #include <QStatusBar> #include <QSystemTrayIcon> #inc...
<commit_before>#include "actions.h" #include "componentactions.h" #include "menus.h" #include "menuactions.h" #include "setup.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), _ui(new Ui::MainWindow), _mainWindowIcon(":/Resources/icons/mainWindowIcon.png"), _c...
<commit_before>/** * \file * <!-- * Copyright 2015 Develer S.r.l. (http://www.develer.com/) * --> * * \brief main cutecom-ng window * * \author Aurelien Rainone <[email protected]> */ #include <algorithm> #include <iterator> #include <QUiLoader> #include <QLineEdit> #include <QPropertyAnimation> #include ...
<commit_before>#include "PythonInteractor.h" #include "Scene.h" #include <SofaPython/PythonCommon.h> #include <SofaPython/PythonEnvironment.h> #include <SofaPython/ScriptEnvironment.h> #include <SofaPython/PythonMacros.h> #include <SofaPython/PythonScriptController.h> #include <SofaPython/PythonScriptFunction.h> #inc...
<commit_before>#include <gtest/gtest.h> TEST (basic, basic) { ASSERT_TRUE (true); }<commit_msg>Adding asan trip test case.<commit_after>#include <gtest/gtest.h> TEST (basic, basic) { ASSERT_TRUE (true); } TEST (asan, DISABLED_memory) { uint8_t array [1]; auto value (array [-0x800000]); }<|endoftext|>
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CDirEntry.cpp,v $ $Revision: 1.19 $ $Name: $ $Author: shoops $ $Date: 2006/09/08 14:14:59 $ End CVS Header */ // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc. and ...
<commit_before><commit_msg>[core] fix clang-tidy in TApplication (#7412)<commit_after><|endoftext|>
<commit_before>/** * @file Sort_test.cpp * @brief Unit tests for the Sort class. * @author Dominique LaSalle <[email protected]> * Copyright 2018 * @version 1 * @date 2018-08-23 */ #include "Sort.hpp" #include "UnitTest.hpp" #include <random> namespace sl { UNITTEST(Sort, FixedKeys) { std::vector<int> keys...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before><commit_msg>Add Latin 2015 A<commit_after><|endoftext|>
<commit_before>#include <elevator/scheduler.h> #include <elevator/restartwrapper.h> namespace elevator { Scheduler::Scheduler( int localId, HeartBeat &hb, BasicDriverInfo info, ConcurrentQueue< StateChange > &stateUpdateIn, ConcurrentQueue< StateChange > &stateUpdateOut, ConcurrentQueue< Comma...
<commit_before>/* * This file is part of the libsumo - a reverse-engineered library for * controlling Parrot's connected toy: Jumping Sumo * * Copyright (C) 2014 I. Loreen * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as ...
<commit_before>#include "DistributeDriver.h" #include "MasterManagerBase.h" #include "DistributeRequestHooker.h" #include "RequestLog.h" #include "DistributeTest.hpp" #include <util/scheduler.h> #include <util/driver/Reader.h> #include <util/driver/Writer.h> #include <util/driver/writers/JsonWriter.h> #include <util/d...
<commit_before> #include <cppexpose/reflection/Object.h> #include <cassert> #include <typeinfo> #include <unordered_set> #include <cppexpose/base/string_helpers.h> #include <cppexpose/variant/Variant.h> namespace { static const char g_separator = '.'; static const std::string g_separatorString = "."; s...
<commit_before>/* * Copyright (C) 2013 Daniel Nicoletti <[email protected]> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option...
<commit_before>#pragma once namespace Channel9 { // Forward declare stuff to avoid loops in headers. union Value; class Environment; class CallableContext; struct String; struct Tuple; struct RunningContext; struct RunnableContext; class IStream; class Message; enum ValueType { POSITIVE_NUMBER = 0x00, ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation ([email protected]) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>// $Id: Quaternion_test.C,v 1.6 2000/05/26 19:25:04 amoll Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/MATHS/matrix44.h> #include <BALL/MATHS/vector3.h> #include <BALL/MATHS/quaternion.h> /////////////////////////// START_TEST(class_name, "$Id: Quaternion_test.C,...
<commit_before>/** * \file * \brief Stack class implementation * * \author Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distrib...
<commit_before>// // Aspia Project // Copyright (C) 2018 Dmitry Chapyshev <[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 3 of the License, or // (at your ...
<commit_before>/* * TTBlue Audio Signal Class * Copyright © 2008, Timothy Place * * License: This code is licensed under the terms of the GNU LGPL * http://www.gnu.org/licenses/lgpl.html */ #include "TTAudioSignal.h" /******************************************************************************************...
<commit_before>#include <sys/types.h> #include <sys/mman.h> #include <stdlib.h> #include <unistd.h> //#include "atexit.h" //#include "thread_private.h" #include <iostream> #include <vector> #include <unordered_map> #include <map> #include <algorithm> #include <sstream> #include "xstring.h" #define NO_ALLOC_MACRO_OVE...
<commit_before>#include <glow/memory.h> #include <glow/global.h> #include <glow/Extension.h> namespace { GLint getMemoryInformation(GLenum pname) { if (!glow::hasExtension("NVX_gpu_memory_info")) return -1; return glow::getInteger(pname); } } namespace glow { namespace memory { GLint total() { ...
<commit_before>#include <cassert> #include <GL/glew.h> #include <glow/logging.h> #include <glow/global.h> #include <glow/Error.h> #include <GLFW/glfw3.h> // specifies APIENTRY, should be after Error.h include, // which requires APIENTRY in windows.. #include <glowwindow/Context.h> using nam...
<commit_before> // MIT License // // Copyright (c) 2017 Thibault Martinez // // 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>#include <iostream> #include <map> #include <Ice/Ice.h> #include "server.h" // TODO: remove this global variable Ice::CommunicatorPtr ic; class MetaServer : public Player::IMetaServer { public: MetaServer(); virtual void add(const std::string& endpointStr, const Player::Song& s, const Ice::Curren...
<commit_before>// Copyright (c) 2012 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/renderer/extensions/miscellaneous_bindings.h" #include <map> #include <string> #include "base/basictypes.h" #include...
<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/file_util.h" #include "chrome/renderer/print_web_view_helper.h" #include "chrome/test/render_view_test.h" #include "prin...