text
stringlengths
54
60.6k
<commit_before>//================================================================================================== // // Copyright(c) 2013 - 2015 Naïo Technologies // // 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...
<commit_before>#include "EventAction.hh" #include "HistoManager.hh" #include "G4RunManager.hh" #include "G4Event.hh" #include "G4SDManager.hh" #include "G4HCofThisEvent.hh" #include "G4UnitsTable.hh" #include "Digitizer.hh" #include "G4DigiManager.hh" #include "Randomize.hh" #include <iomanip> #include "G4VUserPrim...
<commit_before>/*! @file @author Albert Semenov @date 08/2008 @module */ #include "precompiled.h" #include "BaseManager.h" #include <MyGUI_OgrePlatform.h> #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32 # include <windows.h> #endif namespace base { #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE #inc...
<commit_before>// FbTime.hh for FbTk - Fluxbox Toolkit // Copyright (c) 2012 Mathias Gumz (akira at fluxbox dot org) // // 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,...
<commit_before>#include "GameWindow.h" GameWindow::GameWindow(QMainWindow *parent) : QMainWindow(parent), m_fpga(this), m_game() { /****General setup****/ this->setWindowTitle("Scorch"); this->setStatusBar(new QStatusBar); this->setWindowIcon(QIcon(QPixmap(":/resources/icon_big.png"))); setFocus(); setStyl...
<commit_before>#include "Genes/Gene.h" #include <cmath> #include <iostream> #include <algorithm> #include <utility> #include <map> #include <fstream> #include <numeric> #include <iterator> #include "Game/Board.h" #include "Game/Color.h" #include "Utility/Random.h" #include "Utility/String.h" #include "Utility/Except...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include "IndexWri...
<commit_before>// Scintilla source code edit control /** @file LineMarker.cxx ** Defines the look of a line marker in the margin . **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include "Platform.h" #in...
<commit_before>#include "MPLauncher.h" MPLauncher::MPLauncher(void) : BWindow(BRect(100, 100, 650, 400), "MasterPiece Launcher", B_TITLED_WINDOW, B_NOT_H_RESIZABLE | B_ASYNCHRONOUS_CONTROLS | B_AUTO_UPDATE_SIZE_LIMITS, B_CURRENT_WORKSPACE) { mainGroup = new BGroupLayout(B_HORIZONTAL, 0.0); newThoughtButton = new B...
<commit_before>#include <MQTTClient.h> void messageArrived(MQTT::MessageData& messageData) { MQTT::Message &message = messageData.message; char * topic = messageData.topicName.lenstring.data; messageReceived(String(topic), (char*)message.payload, message.payloadlen); } MQTTClient::MQTTClient(const char * _hostn...
<commit_before>#include "MainWindow.h" #include "ui_MainWindow.h" #include <QSettings> #include <QMessageBox> #include <QDesktopServices> #include "version.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); QCoreApplication::setOrganizationName("Chai...
<commit_before>#include <babylon/loading/scene_loader_progress_event.h> #include <babylon/loading/progress_event.h> namespace BABYLON { SceneLoaderProgressEvent::SceneLoaderProgressEvent(bool lengthComputable, size_t loaded, size_t total) : lengthComputable{this...
<commit_before>//Copyright (c) 2018 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> #include <limits> #include "Application.h" //To get settings. #include "ExtruderTrain.h" #include "gcodeExport.h" #include "infill.h" #include "LayerPlan.h" #include "PrimeTower.h"...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gconfbecdef.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-07 19:47:01 $ * * The Contents of this file are ma...
<commit_before>//---------------------- tensor_product_polynomials.cc ------------ // $Id$ // Version: $Name$ // // Copyright (C) 2000 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to the file deal.I...
<commit_before>/* * Copyright Andrey Semashev 2013. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) */ /*! * \file uuid/detail/uuid_x86.hpp * * \brief This header contains optimized...
<commit_before>#include <assert.h> #include <QDateTime> #include <QDebug> #include <QStringList> #include <QtConcurrentRun> #include <QTimer> #include <algorithm> #include <AlpinoCorpus/Error.hh> #include "QueryModel.hh" QString const QueryModel::MISSING_ATTRIBUTE("[missing attribute]"); QueryModel::HitsCompare::Hi...
<commit_before>/**************************************************************************** * * Copyright (C) 2013 PX4 Development Team. All rights reserved. * Author: Pavel Kirienko <pavel.kirienko@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitte...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //======================================...
<commit_before>#include <iostream> #include <fstream> #include <ios> #include <string.h> #include <stdio.h> #include <errno.h> /* include */ #include "lzma2_wrapper.h" #include "log.h" /* extern */ #include "Lzma2Encoder.h" #include "C/LzmaLib.h" #include "C/7zTypes.h" #include "C/Alloc.h" /* function implementation f...
<commit_before>#include <iostream> #include <unistd.h> #include <sys/wait.h> #include <sys/types.h> #include <sys/stat.h> #include <wait.h> #include <string.h> #include <string> #include <vector> #include <cstdlib> #include <stdlib.h> #include <stdio.h> #include <boost/tokenizer.hpp> #include <boost/token_iterator.hpp>...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkFEMLinearSystemWrapper.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. Se...
<commit_before>#include "common/upstream/load_stats_reporter.h" #include "common/protobuf/protobuf.h" namespace Envoy { namespace Upstream { LoadStatsReporter::LoadStatsReporter(const envoy::api::v2::core::Node& node, ClusterManager& cluster_manager, Stats::Scope& scope, ...
<commit_before>/* * Database.cpp * * Created on: 21 Aug 2013 * Author: nicholas */ #include "../include/Database.hpp" #include <string> #include <odb/transaction.hxx> #include <odb/result.hxx> #include <odb/schema-catalog.hxx> #include "table/ImageRecord.hpp" #include "table/ImageRecord-odb.hxx" const ch...
<commit_before>#pragma once #include <cstdint> #include <depthai-shared/common/optional.hpp> #include <nlohmann/json.hpp> #include <vector> #include "DatatypeEnum.hpp" #include "RawBuffer.hpp" namespace dai { /** * Median filter config for disparity post-processing */ enum class MedianFilter : int32_t { MEDIAN_OFF...
<commit_before>#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/gregorian/gregorian.hpp> #include <boost/date_time/local_time_adjustor.hpp> #include <boost/date_time/c_local_time_adjustor.hpp> #include <boost/thread.hpp> #include <cassert> #include <ir/index_manager/index/Indexer.h> #inc...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distribu...
<commit_before>#include "Sanitizers.h" #include "IRMutator.h" #include "Debug.h" #include "IRPrinter.h" #include "CodeGen_GPU_Dev.h" #include "IROperator.h" #include <map> namespace Halide { namespace Internal { namespace { class InjectMSANHelpers : public IRMutator { using IRMutator::visit; void visit(cons...
<commit_before>/* * GeoIP C library binding for nodejs * * Licensed under the GNU LGPL 2.1 license */ #include "org.h" #include "global.h" using namespace native; Org::Org() {}; Org::~Org() { if (db) { GeoIP_delete(db); } }; Nan::Persistent<v8::Function> Org::constructor; void Org::Init(v8::Local<v8::Object...
<commit_before>/* * IrcEventMessage.cpp -- on channel message event * * Copyright (c) 2013 David Demelier <markand@malikania.fr> * * 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 permis...
<commit_before>/*! \file io.cxx * \brief this file contains routines for io */ #include "halomergertree.h" ///Read data from a number of snapshot files HaloTreeData *ReadData(Options &opt) { HaloTreeData *HaloTree; fstream Fin;//file is list of halo data files long unsigned j,nparts,haloid; HaloTre...
<commit_before>#ifndef ISOMON_MONEY_HPP #define ISOMON_MONEY_HPP #include "currency.hpp" #include <limits> #include <ostream> #include <iomanip> #include <locale> #include <tr1/cmath> namespace isomon { class money { public: money(); money(int64_t value, currency unit); money(int64_t major_units, int64_t min...
<commit_before> #include "CMainMenuState.h" #include <ionGUI.h> #include "CMainState.h" #include "ColorMappers.h" #include "CDataLoadingThread.h" #include "CGlyphSceneObject.h" #include "CSite.h" #include "SciDataParser.h" CMainMenuState::CMainMenuState() {} void CMainMenuState::Begin() { Cont...
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo 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 ...
<commit_before>#include <iostream> #include <cassert> #include "gl.hpp" #include <GLFW/glfw3.h> #include "ShaderProgram.hpp" bool glInit() { if(gl3wInit()) { return true; } return false; } class glframework { public: static void error_callback(int error, const char* description) { ...
<commit_before>/* mk_baseline_wplane_map.cpp Copyright (C) 2015 Braam Research, LLC. */ #include <omp.h> #include <string.h> #include "common.h" #include "OskarBinReader.h" void mkBlWpMap(const WMaxMin * bl_ws, int numBaselines, double wstep, BlWMap * bl_wis) { double cmax, cmin; for (int i = 0; i < numBasel...
<commit_before>//-------------------------------------------------------------- // ofApp.h //-------------------------------------------------------------- #include "ofMain.h" // ofxGui addon #include "ofXml.h" // ofxOsc addon #include "ofxOscReceiver.h" // ofxInterface #include "ofxInterface.h" // ofxUiEditor addon ...
<commit_before>/**************************************************************************/ /*! Adapted from adafruit ADS1015/ADS1115 library v1.0 - First release */ /**************************************************************************/ #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #e...
<commit_before>// Copyright since 2016 : Evgenii Shatunov (github.com/FrankStain/jnipp-test) // Apache 2.0 License #include <main.h> #include <gtest/gtest.h> <commit_msg>First tests of object handle. Java object creation tested.<commit_after>// Copyright since 2016 : Evgenii Shatunov (github.com/FrankStain/jnip...
<commit_before>/************************************************************ COSC 501 Elliott Plack 19 NOV 2013 Due 25 NOV 2013 Problem: Create a 1-dimensional array with n elements; get the size of the array as user input (validate!), max size should be 10 (declared as class constant)...
<commit_before>/* * Created on: 19 Apr 2014 * Author: Vladimir Ivan * * Copyright (c) 2016, University Of Edinburgh * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Re...
<commit_before>// // Created by Vadim N. on 04/04/2015. // //#include <omp.h> //#include <stdio.h> // //int main() { //#pragma omp parallel // printf("Hello from thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads()); //} #include <ostream> #include "parser.h" #include "probabilisticassemblingmod...
<commit_before>/*------------------------------------------------------------------------- * Vulkan CTS * ---------- * * Copyright (c) 2019 The Khronos Group 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 cop...
<commit_before>/*************************************************************************** adash@cern.ch - last modified on 03/04/2013 // General macro to configure the RSN analysis task. // It calls all configs desired by the user, by means // of the boolean switches defined in the first lines. // --- // ...
<commit_before>/* * Copyright (c) 2016, Egor Pugin * 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, t...
<commit_before>#pragma once #include "pch.hpp" namespace Plang { class Construct; template <class T> class Reference { public: inline Reference() : count(nullptr), ptr(nullptr) { } inline Reference(const T& Value) : count(new size_t(1)), ptr(new T(Value)) { } inline Reference(const Reference& Ref) : count...
<commit_before>// Copyright 2022 Google LLC // // 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...
<commit_before>#pragma ident "$Id$" //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published //...
<commit_before>#include <cstdio> #include <cstring> #include <cstdlib> #include <cstdarg> #include <cerrno> #include <vector> #include <map> #include <string> #include <functional> #include <fcntl.h> #include <unistd.h> #include <sys/mman.h> #include "riscv-types.h" #include "riscv-endian.h" #include "riscv-processor...
<commit_before>/** * Copyright (C) 2003-2006 Funambol * * 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...
<commit_before>// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
<commit_before>/************************************************************************* * * $RCSfile: ViewShellBase.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2004-06-03 11:55:35 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>#include <cstdlib> #include <string> #include <iostream> #include <luna/server.h> //int print_out_key (void *cls, enum MHD_ValueKind kind, // const char *key, const char *value) //{ // std::cout << key << ": " << value << std::endl; // return MHD_YES; //} //static int answer_to_...
<commit_before>#include "statefs.hpp" #include "config.hpp" #include <statefs/provider.h> #include <statefs/util.h> #include <cor/so.hpp> #include <cor/util.h> #include <cor/util.hpp> #include <sys/eventfd.h> #include <iostream> #include <stdio.h> #include <stdbool.h> #include <poll.h> namespace config { namespa...
<commit_before>/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** V4l2Device.cpp ** ** ------------------------...
<commit_before>/// \file urbi/uobject.hh #ifndef URBI_UOBJECT_HH # define URBI_UOBJECT_HH # include <string> # include <libport/fwd.hh> # include <libport/ufloat.h> # include <libport/utime.hh> # include <urbi/fwd.hh> # include <urbi/export.hh> # include <urbi/ucallbacks.hh> # include <urbi/utimer-callback.hh> # inc...
<commit_before>/* * Copyright (C) 2009, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ /// \file libuco/...
<commit_before>#include <iostream> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "filesystem.h" #include "utils.h" #include "fsexcept.h" #define BOOT_OFFSET 0*1024 #define FAT_OFFSET 1*1024 #define ROOTDIR_OFFSET 9*1024 #define DATA_OFFSET 10*1024 FileSystem::FileSystem(co...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008, Image Engine Design 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:...
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>#include "WaveformUI.h" #include "main.h" #include <QQuickFramebufferObject> #include <QOpenGLFunctions> class WaveformRenderer : public QQuickFramebufferObject::Renderer, protected QOpenGLFunctions { QOpenGLShaderProgram *m_program; public: WaveformRenderer() : m_program(0) , ...
<commit_before>#include <algorithm> #include <cmath> #include <iterator> #include <fstream> #include <sstream> #include <string> #include <thread> #include <vector> #include "gzstream.h" #include "readerwriterqueue.h" #include "atomicops.h" namespace mc = moodycamel; template<typename Out> void split(const std::str...
<commit_before> #include "model_builder.hpp" #include "model_basic_primitives.hpp" #include "model_gltf_save.hpp" #include "model_msh_save.hpp" #include "model_scene.hpp" #include "synced_cout.hpp" #include <algorithm> #include <iterator> #include <string_view> #include <tuple> #include <fmt/format.h> #include <gsl/g...
<commit_before>// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2009 Andrew Manson <g.real.ate@gmail.com> // #include "GeoLineStrin...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>#ifndef GUARD_arithmetic_exceptions_hpp #define GUARD_arithmetic_exceptions_hpp /** \file arithmetic_exceptions.hpp * * \brief Exceptions to be used with jewel::Decimal class * * These exceptions should not be inherited. * * \author Matthew Harvey * \date 15 May 2012 * * Copyright (c) 2012, Mat...
<commit_before>#include "Iop_Loadcore.h" #include "Iop_Dynamic.h" #include "IopBios.h" #include "../Log.h" using namespace Iop; #define LOG_NAME "iop_loadcore" #define FUNCTION_FLUSHDCACHE "FlushDcache" #define FUNCTION_REGISTERLIBRARYENTRIES "RegisterLibraryEntries" #define FUNCTION_QUERYBOOTMODE ...
<commit_before>/* * (C) Copyright 2013 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org...
<commit_before>/************************************************************************* > File Name: GameAgent.cpp > Project Name: Hearthstone++ > Author: Young-Joong Kim > Purpose: Hearthstone Game Agent > Created Time: 2017/09/26 > Copyright (c) 2017, Young-Joong Kim ************************************************...
<commit_before>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2016 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
<commit_before>#include "bwpathfinder.hpp" #include "network_simulation.hpp" #include <queue> #include <unordered_set> #include <cstdio> namespace bwpathfinder { __attribute__((weak)) void check_pyerror() { } size_t Node::id_counter = 0; void Network::simulateDeliveredBandwidth() { NetworkSimula...
<commit_before>#include "FileClient.h" #include "../util.h" #include <iostream> #include <cstring> #include <stdint.h> #include <sstream> #define MAX_SIZE 100 #define BYTE_TO_RECEIVE 100 FileClient::FileClient() { } FileClient::~FileClient() { } uint64_t FileClient::send( const std::string & host, std::st...
<commit_before>// // calcPWP.cpp // // // Created by Evan McCartney-Melstad on 1/10/15. // // #include "calcPWP.h" #include <iostream> #include <vector> #include <fstream> #include <thread> #include <string> int calcPWPfromBinaryFile (std::string binaryFile, unsigned long long int numLoci, const int numIndividua...
<commit_before>/* * The MIT License * * Copyright 2017-2018 Norwegian University of Technology * * 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>/***************************************************************************** shared_bus.cpp This file belongs to the KisTA library All rights reserved by the authors (until further License definition) Author: F. Herrera Institution: University of Cantabria Deparment: Electronic Sys...
<commit_before>//===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <iostream> #include <vector> #include <tuple> #include <cereal/archives/portable_binary.hpp> #include <cereal/archives/binary.hpp> #include <cereal/archives/json.hpp> #include "locale" #include "gmpfse.h" #include "Benchmark.h" using namespace std; using namespace forwardsec; using namespace rel...
<commit_before>//===- MapFile.cpp --------------------------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<commit_before>#ifndef POSTFIX_HPP #define POSTFIX_HPP #include <iostream> #include <iterator> #include <stdexcept> namespace dragon {namespace ch2 { class Postfix { public: using Iter = std::istream_iterator<char>; Postfix(): curr{std::cin},eos{} {} void expr() { term(); ...
<commit_before>// // ex13_39.cpp // Exercise 13.39 // // Created by pezy on 2/3/15. // Copyright (c) 2015 pezy. All rights reserved. // // Write your own version of StrVec, including versions of // reserve, capacity (9.4, p. 356), and resize (9.3.5, p. 352). // #include "ex13_39.h" void StrVec::push_back(const ...
<commit_before>#include "ex14_23.h" #include <algorithm> // for_each, equal void StrVec::push_back(const std::string& s) { chk_n_alloc(); alloc.construct(first_free++, s); } std::pair<std::string*, std::string*> StrVec::alloc_n_copy(const std::string* b, ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: prtqry.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2006-06-19 15:26:42 $ * * The Contents of this file are made av...
<commit_before>// // Exponent.cpp // Calculator // // Created by Gavin Scheele on 3/27/14. // Copyright (c) 2014 Gavin Scheele. All rights reserved. // #include "Exponential.h" Exponential::Exponential(Expression* base, Rational* exponent){ this->type = "exponential"; this->base = base; this->exponen...
<commit_before>/************************************************************************* * * $RCSfile: frmpage.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: os $ $Date: 2002-09-25 11:36:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#ifndef GENERIC_STRING_HPP # define GENERIC_STRING_HPP # pragma once #include <cstring> #include <algorithm> #include <sstream> #include <string> #include <vector> namespace generic { // cstrlen ////////////////////////////////////////////////////////////////////////////// template <::std::size_t ...
<commit_before>// $Id$ /* Copyright (c) 2007-2009, Trustees of The Leland Stanford Junior University 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...
<commit_before>/* Copyright (C) 2005 Steven L. Scott 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. This...
<commit_before>/* * libjingle * Copyright 2004 Google Inc. * * 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, * this list of condit...
<commit_before>#include "output-impl.hpp" #include "wayfire/view.hpp" #include "../core/core-impl.hpp" #include "wayfire/signal-definitions.hpp" #include "wayfire/render-manager.hpp" #include "wayfire/output-layout.hpp" #include "wayfire/workspace-manager.hpp" #include "wayfire/compositor-view.hpp" #include "wayfire-sh...
<commit_before>#include "nano.h" #include "class.h" #include "measure.h" #include "text/table.h" #include "accumulator.h" #include "text/cmdline.h" #include "math/random.h" #include "tensor/numeric.h" #include "measure_and_log.h" #include "layers/make_layers.h" #include "tasks/task_charset.h" #include "text/table_row_m...
<commit_before>#include "db_url.h" #include <boost/regex.hpp> using namespace boost; using namespace boost::program_options; inline int DbUrl::from_hex(char ch) { if (ch >= '0' && ch <= '9') { return (ch - '0'); } else if (ch >= 'a' && ch <= 'f') { return (ch - 'a' + 10); } else if (ch >= 'A' && ch <= 'F') {...
<commit_before>#ifndef __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_POS_DEFINITE_HPP__ #define __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_POS_DEFINITE_HPP__ #include <sstream> #include <stan/math/matrix/Eigen.hpp> #include <stan/math/error_handling/default_policy.hpp> #include <stan/math/error_handling/raise_domain_er...
<commit_before>#include "profileshow.hpp" #include "screenrect.hpp" #include "dwrapper.hpp" #include "../gameloophelper.hpp" #include <iomanip> namespace rs { namespace util { // ---------------------- ProfileShow::St_Default ---------------------- struct ProfileShow::St_Default : StateT<St_Default> { WindowRe...
<commit_before>/* * Copyright 2014 Cloudius Systems */ /* * 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 you...
<commit_before>// Copyright (C) 2015 The Regents of the University of California (Regents). // 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 r...
<commit_before>/* * ascutil.cpp * * Arduino Solar Controller * * by karldm, March 2016 */ #include "ascutil.h" #define FUN_NAME_SIZE 20 #define MES_BUF_SIZE 40 static char activefname[] = "ASC"; // id on console messages static char mesbuf[MES_BUF_SIZE]; /* * ##### * Timer * ##### * * declare Timer ti...
<commit_before>// ////////////////////////////////////////////////////////////////////////////////////////// template <const unsigned int d, typename Valid> typename SHA3 <d, Valid>::StateArray SHA3 <d, Valid>::s2sa(const std::string & S) const { SHA3 <d, Valid>::StateArray A = {{0}}; for(uint8_t y = 0; y < 5; ...
<commit_before>#include "stdafx.h" /* * Copyright (c) 2007-2010 SlimDX Group * * 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 "stdafx.h" /* * Copyright (c) 2007-2010 SlimDX Group * * 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>/* * Copyright © 2010 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...