text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2016, LAAS-CNRS // Authors: Pierre Fernbach (pierre.fernbach@laas.fr) // // This file is part of hpp-core // hpp-core 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, ei...
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 L...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: lateinitthread.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 21:30:47 $ * * The Contents of this file are...
<commit_before>/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
<commit_before>#ifndef MJOLNIR_READ_SIMULATOR #define MJOLNIR_READ_SIMULATOR #include <extlib/toml/toml.hpp> #include <mjolnir/core/MolecularDynamicsSimulator.hpp> #include <mjolnir/core/SteepestDescentSimulator.hpp> #include <mjolnir/core/SimulatedAnnealingSimulator.hpp> #include <mjolnir/util/make_unique.hpp> #includ...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see htt...
<commit_before>#include <occa/internal/lang/statement/ifStatement.hpp> #include <occa/internal/lang/statement/elifStatement.hpp> #include <occa/internal/lang/statement/elseStatement.hpp> namespace occa { namespace lang { ifStatement::ifStatement(blockStatement *up_, token_t *source_)...
<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 "base/command_line.h" #include "base/files/file_util.h" #include "base/threading/platform_thread.h" #include "content/browser/...
<commit_before>/** * \file * \brief MutexControlBlock class implementation * * \author Copyright (C) 2014-2015 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 no...
<commit_before>#include "StdAfx.h" #include <algorithm> #include <common/rhoconf.h> #include "BrowserFactory.h" #include "CEBrowserEngine.h" #include "IEBrowserEngine.h" ////////////////////////////////////////////////////////////////////////// extern "C" HINSTANCE rho_wmimpl_get_appinstance(); extern "C" const ch...
<commit_before><?hh namespace Plenty\Plugin\Routing; use Dingo\Api\Routing\Router; /** * Api router service */ abstract class ApiRouter { abstract public function version( array<string> $version, mixed $second, mixed $third = NULL ):void; /** * Register a new GET route with the router. */ abstrac...
<commit_before>/* Chemfiles, an efficient IO library for chemistry file formats * Copyright (C) 2015 Guillaume Fraux * * 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>#include "Stdafx.h" using namespace System; using namespace System::Reflection; using namespace System::Runtime::CompilerServices; using namespace System::Runtime::InteropServices; using namespace System::Security::Permissions; [assembly:AssemblyTitle("CefSharp")]; [assembly:AssemblyCompany("Anthony Ta...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2006 Torus Knot Software Ltd Also see acknowledgements in Readme.html This pro...
<commit_before>#include <iostream> #include <cstring> // memcmp() #include <string> #include <queue> #include <limits> #include <openssl/sha.h> #include <byteswap.h> #include <mpi.h> using namespace std; #include "alphabet.h" #include "brute.h" // clear text password entered by user string pwd; // contains the hash...
<commit_before>#include <bonefish/dealer/wamp_dealer.hpp> #include <bonefish/dealer/wamp_dealer_invocation.hpp> #include <bonefish/dealer/wamp_dealer_registration.hpp> #include <bonefish/messages/wamp_call_message.hpp> #include <bonefish/messages/wamp_error_message.hpp> #include <bonefish/messages/wamp_invocation_messa...
<commit_before>#ifndef __CMD_ARGS_HPP__ #define __CMD_ARGS_HPP__ #include "config/args.hpp" #include <stdint.h> #include <sys/types.h> #include <string> #include <vector> #include "serializer/types.hpp" #include "arch/arch.hpp" #define NEVER_FLUSH -1 /* Private serializer dynamic configuration values */ struct log...
<commit_before>/* Resembla https://github.com/tuem/resembla Copyright 2017 Takashi Uemura 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 req...
<commit_before>// Fill out your copyright notice in the Description page of Project Settings. #include "UE4_TurnBased.h" #include "TB_AimComponent.h" #include "TB_Character.h" #include "TB_Weapon.h" #include "TB_Library.h" #include <algorithm> #include <cmath> void UTB_AimComponent::UpdateValues() { Ch...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Vesa-Matti Hartikainen <vesa-matti.hartikainen@jollamobile.com> ** ****************************************************************************/ /* This Source Code Form is subje...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2009, 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 // ...
<commit_before>#include "MainFrame.h" #include "RGBModel.h" #include "HSLModel.h" #include "CMYKModel.h" #include "HtmlHexOutput.h" #include <wx/aboutdlg.h> #include <wx/dcscreen.h> #include <wx/graphics.h> #include <wx/dcmemory.h> #include <wx/dialog.h> #include <wx/gdicmn.h> #include <wx/dnd.h> #include <wx/dataob...
<commit_before>/* Siconos-IO, Copyright INRIA 2005-2011. * Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * Siconos is a free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Soft...
<commit_before>// // IWM.hpp // Clock Signal // // Created by Thomas Harte on 05/05/2019. // Copyright © 2019 Thomas Harte. All rights reserved. // #ifndef IWM_hpp #define IWM_hpp #include "../../ClockReceiver/ClockReceiver.hpp" #include "../../ClockReceiver/ClockingHintSource.hpp" #include "../../Storage/Disk/Dr...
<commit_before>/*************************************************************************** * Copyright (c) 2016 Ian Rees <ian.rees@gmail.com> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/CopasiDataModel/CCopasiDataModel.cpp,v $ $Revision: 1.7 $ $Name: $ $Author: shoops $ $Date: 2005/02/24 19:38:29 $ End CVS Header */ #include "copasi.h" #include "copasiversion.h" #include "CCopasiDataModel....
<commit_before>/* * bonjour.cpp * * Copyright (C) 2014 William Markezana <william.markezana@me.com> * */ #include "bonjour.h" #include <muduo/base/Logging.h> #include <signal.h> void *avahi_service(void *arg); /* * constructor * */ bonjour::bonjour() { mIniFile = new ini_parser((string)...
<commit_before>/* * Copyright 2009-2020 The VOTCA Development Team * (http://www.votca.org) * * 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 * *...
<commit_before>#include "line_accumulator.h" #include <cassert> #include <iostream> #include <algorithm> namespace { static std::mt19937 generator; std::uint8_t getRandomIndex( const int seed, const std::uint8_t n ) { generator.seed(seed); return std::uniform_int_distribution<std::uint8_t>{0, n}(gener...
<commit_before>#include "AliHLTPHOSDDLPackedFileWriter.h" AliHLTPHOSDDLPackedFileWriter::AliHLTPHOSDDLPackedFileWriter() { } AliHLTPHOSDDLPackedFileWriter::~AliHLTPHOSDDLPackedFileWriter() { } int AliHLTPHOSDDLPackedFileWriter::WriteFile(const AliHLTComponentEventData& evtData, const AliHLTComponentBlockD...
<commit_before><commit_msg>fix Mac build<commit_after><|endoftext|>
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkBoostBreadthFirstSearchTree.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for...
<commit_before>// The MIT License (MIT) // Copyright (c) 2013-2016 Rapptz, ThePhD and contributors // 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>//Convers centimeters to inches double cm2inches(double cm){ double c=0.3937; //for inches to centimeters c=2.54 return cm*c; } <commit_msg>Update cm2inches.cpp<commit_after>//Convers centimeters to inches double cm2inches(double cm){ return cm*0.3937; //for inches ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkAreaPicker.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. T...
<commit_before>/* * Copyright © 2011 Stéphane Raimbault <stephane.raimbault@gmail.com> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your optio...
<commit_before> #include "ImwPlatformWindow.h" #include "ImwWindowManager.h" #include <imgui/imgui.h> #include <imgui/imgui_internal.h> using namespace ImWindow; ImwPlatformWindow::ImwPlatformWindow(bool bMain, bool bIsDragWindow) { m_bMain = bMain; m_bIsDragWindow = bIsDragWindow; m_pContainer = new ImwContainer...
<commit_before>/* * * PreferencesBackend * ledger-core * * Created by Pierre Pollastri on 10/01/2017. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"...
<commit_before>/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. Green Enery * Corp licenses this file to you under the Apache License, Version 2...
<commit_before>template <PetscInt dim> PetscErrorCode NavierStokesSolver<dim>::writeSimulationInfo() { PetscErrorCode ierr; PetscInt rank, maxits; PC pc; PCType pcType; KSPType kspType; PetscReal rtol; ierr = MPI_Comm_rank(PETSC_COMM_WORLD, &rank); CHKERRQ(ierr); ierr = ...
<commit_before>#ifndef STAN_SERVICES_UTIL_READ_DIAG_MASS_MATRIX_HPP #define STAN_SERVICES_UTIL_READ_DIAG_MASS_MATRIX_HPP #include <stan/callbacks/writer.hpp> #include <stan/io/var_context.hpp> #include <stan/math/prim/mat.hpp> #include <limits> #include <sstream> #include <string> #include <vector> namespace stan { ...
<commit_before>/*************************************************** This is a library for the HDC1000 Humidity & Temp Sensor Designed specifically to work with the HDC1008 sensor from Adafruit ----> https://www.adafruit.com/products/2635 These sensors use I2C to communicate, 2 pins are required to interf...
<commit_before>// ProgStatusBar.cpp : ʵļ // #include "stdafx.h" #include "DacrsUI.h" #include "ProgStatusBar.h" #include "afxdialogex.h" // CProgStatusBar Ի IMPLEMENT_DYNAMIC(CProgStatusBar, CDialogBar) CProgStatusBar::CProgStatusBar() { m_pBmp = NULL ; m_bProgressType = false; m_prosshiden = false; m_Progres...
<commit_before>#include <algorithm> #include <fmo/assert.hpp> #include <fmo/image.hpp> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> namespace fmo { namespace { /// Get the number of bytes of data that an image requires, given its format and dimensions. ...
<commit_before> /*************************************************************************** jabberregister.cpp - Register dialog for Jabber ------------------- begin : Sun Jul 11 2004 copyright : (C) 2004 by Till Gerken <till@tantalo.n...
<commit_before>#include <core/mat4.h> #include "core/draw.h" #include "core/random.h" #include "core/shufflebag.h" #include "core/filesystem.h" #include "core/mat4.h" #include "core/axisangle.h" #include "core/aabb.h" #include "core/texturetypes.h" #include "core/filesystemimagegenerator.h" #include "core/path.h" #incl...
<commit_before>#include "Observador.h" NS_LOG_COMPONENT_DEFINE ("Observador"); Observador::Observador() { m_enviados=0; m_recibidos=0; m_perdidos=0; m_QoS=0; m_usuarios=0; } Observador::~Observador() { } void Observador::PktEnviado(Ptr<const Packet>paquete) { /*suponemos que el paquete está en la es...
<commit_before><commit_msg>update<commit_after><|endoftext|>
<commit_before>// // Created by david on 2019-06-24. // #include <config/nmspc_settings.h> #include <math/eig.h> #include <math/eig/arpack_solver/matrix_product_hamiltonian.h> #include <tensors/class_tensors_finite.h> #include <tensors/edges/class_edges_finite.h> #include <tensors/model/class_model_finite.h> #include ...
<commit_before>// // RemotePhotoTool - remote camera control software // Copyright (C) 2008-2020 Michael Fink // /// \file UsbDriverSwitcherDlg.cpp USB driver switcher dialog // #include "stdafx.h" #include "resource.h" #include "UsbDriverSwitcherDlg.hpp" /// timer ID for refreshing USB devices list const UINT_PTR c_t...
<commit_before>#include <string> /* public class TennisGame4 implements TennisGame { int serverScore; int receiverScore; String server; String receiver; public TennisGame4(String player1, String player2) { this.server = player1; this.receiver = player2; } @java.lang.Overr...
<commit_before>///////////////////////////////////////////////////////////////////////// // $Id: stack64.cc,v 1.9 2002/11/19 05:47:43 bdenney Exp $ ///////////////////////////////////////////////////////////////////////// // // Copyright (C) 2001 MandrakeSoft S.A. // // MandrakeSoft S.A. // 43, rue d'Aboukir //...
<commit_before>/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * **********************...
<commit_before>#ifndef EXECUTORS_H #define EXECUTORS_H /* An Executor is effectively the core of a function. Arc functions are represented by a closure structure, which has an attached Executor object. */ /* Calling convention: The Executor is given a Process which is the process within which it must execute itself. ...
<commit_before>#ifndef GENERIC_FORWARDER_HPP # define GENERIC_FORWARDER_HPP # pragma once #include <cassert> #include <cstddef> #include <cstdint> #include <type_traits> #include <utility> namespace generic { template<typename F, ::std::size_t N = 4 * sizeof(::std::uintptr_t)> class forwarder; template<typename...
<commit_before>#include <iostream> using namespace std; int main(void) { cout<<"hello, world!"<<endl; return 0; }<commit_msg>rm file<commit_after><|endoftext|>
<commit_before><commit_msg>added usage of the new profiler<commit_after><|endoftext|>
<commit_before>#include "ModifierBlock.h" #include "Character.h" using namespace std; ModifierBlock::ModifierBlock(ModifierBlock& other) : LogicBlock(){ target = other.target; previous_modifier = other.previous_modifier; modifiers = other.modifiers; } void ModifierBlock::set_target(Character* new_target...
<commit_before>#pragma once #include "apple_hid_usage_tables.hpp" #include "console_user_client.hpp" #include "constants.hpp" #include "hid_report.hpp" #include "human_interface_device.hpp" #include "iokit_user_client.hpp" #include "iokit_utility.hpp" #include "logger.hpp" #include "manipulator.hpp" #include "userspac...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before> #pragma once /** * Graph.hpp * Purpose: An class for the representation of attributed graphs and digraphs. * * @author Kevin A. Naudé * @version 1.1 */ #include <algorithm> #include <assert.h> #include <string> #include <limits> #include <vector> #include <unordered_map> #include <memory> #inclu...
<commit_before>// Copyright (c) 2019-2020 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 <consensus/merkle.h> #include <consensus/validation.h> #include <core_io.h> ...
<commit_before>#include <string> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include "Joystick.h" namespace RhIO { bool Joystick::JoystickEvent::isPressed() { return value; } float Joystick::Jo...
<commit_before>// Copyright (c) 2014-2015 The Dash developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "masternode-sync.h" #include "masternode-payments.h" #include "masternode-budget.h" #in...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGLocation.cpp Author: Jon S. Berndt Date started: 04/04/2004 Purpose: Store an arbitrary location on the globe ------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) ------------------ --...
<commit_before>// Copyright (c) 2014-2015 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 "main.h" #include "test/test_bitcoin.h" #include <boost/signals2/signal.hp...
<commit_before>#include <allegro.h> #include <iostream> #include "util/file-system.h" #include "mugen/character.h" #include "mugen/mugen_exception.h" using namespace std; int main(){ install_allegro(SYSTEM_NONE, &errno, atexit); set_color_depth(16); set_color_conversion(COLORCONV_NONE); // for (int ...
<commit_before>#ifndef SHAPE_HPP_ #define SHAPE_HPP_ #include <iostream> #include <vector> #include <opencv2/opencv.hpp> #include "PointXY.hpp" class Shape { public: Shape() { } cv::Point getCentroid() { std::pair<int,int> centroid; for(unsigned short i = 0; i < m_point_list.size(); ++i) {...
<commit_before>/* created by Ghabriel Nunes <ghabriel.nunes@gmail.com> [2017] */ #ifndef UTILS_DEBUG_HPP #define UTILS_DEBUG_HPP #include <csignal> #include <functional> #include <iostream> #include <sstream> #include <tuple> #include <unordered_map> #include <utility> #ifndef ALLOW_DEBUG_USAGE #define ALLOW_DEBUG_US...
<commit_before>#ifndef FRAME_HPP #define FRAME_HPP #include <stdint.h> /*! One L2 Frame. * This datastructure represents one ethernet frame. */ struct frame { uint8_t* buf_ptr; //!< pointer to the buffer which holds the frame (must be at least MTU+14 sized) uint16_t len; //!< length of the L2-PDU uint16_t iface;...
<commit_before>#pragma once #include "common.hpp" #include "debug.hpp" #include <cassert> #include <climits> #include <omp.h> template<typename SizeType, typename WordType> void copy_bits(WordType* const dst, WordType const* const src, SizeType& dst_off_ref, SizeType& src_...
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LPMF_HPP #define STAN_MATH_PRIM_SCAL_PROB_NEG_BINOMIAL_2_LPMF_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/scal/err/check_consistent_sizes.hpp> #include <stan/math/prim/scal/err/check_positive_finite.hpp> #include <stan/math/prim/scal/er...
<commit_before>/// /// @file pmath.hpp /// /// Copyright (C) 2014 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef PMATH_HPP #define PMATH_HPP #include <int128.hpp> #include <stdint.h> #include <algorithm> #...
<commit_before>/* * The MIT License (MIT) * * Copyright (c) <2016> <Stephan Gatzka> * * 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 limitati...
<commit_before>/* * Copyright (c) 2015 Mikhail Baranov * Copyright (c) 2015 Victor Gaydov * * 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/. */ #include <CppUTest...
<commit_before>void testJetFinderHits(Int_t evNumber1=0, Int_t evNumber2=0) { //*-- Author: Andreas Morsch (CERN) // Dynamically link some shared libs if (gClassTable->GetID("AliRun") < 0) { gROOT->LoadMacro("../macros/loadlibs.C"); loadlibs(); } // Connect the Root Galice file containing...
<commit_before>#pragma once #include <algorithm> #include <cassert> namespace { template <typename T> void swapEndian (T* p) { uint8_t* q = reinterpret_cast<uint8_t*>(p); std::reverse(q, q + sizeof(T)); } } template <typename T> struct TypedFixedSlice { T* begin; T* end; TypedFixedSlice () : begin(nullpt...
<commit_before>#ifndef STACK_HPP #define STACK_HPP #include <cstdlib> #include <iostream> #include <memory> using namespace std; template <typename T> class stack { public: stack(); size_t count() const; void push(T const &); T pop(); ~stack(); stack(const stack &b); stack & operator=(const stack &b); bool ope...
<commit_before>#ifndef KLMR_LISP_CPP_VALUE_HPP #define KLMR_LISP_CPP_VALUE_HPP #include <iosfwd> #include <string> #include <vector> #include <unordered_map> #include <boost/variant.hpp> #include <boost/range/sub_range.hpp> namespace klmr { namespace lisp { struct symbol { std::string repr; }; inline auto oper...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mailmodelapi.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: obo $ $Date: 2006-03-27 09:29:51 $ * * The Contents of this file are ...
<commit_before>#include "filesystem_test.h" #include <boost/filesystem.hpp> #include <fstream> void mu::core_test::filesystem_test::run () { run_1 (); run_2 (); } void mu::core_test::filesystem_test::run_1 () { auto path (::boost::filesystem::initial_path ()); path /= L"test"; path /= L"test"; ...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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 ...
<commit_before>/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) Version 1.2.0, packaged on September 2009. http://glc-lib.sourceforge.net GLC-lib is free software; you can...
<commit_before> /* This file is part of indexlib. * Copyright (C) 2005 Luís Pedro Coelho <luis@luispedro.org> * * Indexlib is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License, version 2, as * published by the Free Software Foundation and available as file ...
<commit_before>//===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===// // // 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>//===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===// // // FIXME: Document. // //===----------------------------------------------------------------------===// #include "CodeEmitterGen.h" #include "Record.h" #include "Support/Debug.h" void CodeEmitterGen::run(std::ostream &o...
<commit_before>// // Created by michael on 10.08.15. // #include <Template/TemplateEngine.h> using namespace std; using namespace weave; shared_ptr<QuestTemplate> TemplateEngine::GetTemplateForNewQuest() { if (factories.size() == 0) { throw ContractFailedException("No factory defined to create template....
<commit_before>/* * This file is part of meego-im-framework * * * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * Contact: Nokia Corporation (directui@nokia.com) * * If you have questions regarding the use of this file, please contact * Nokia at directui@nokia.com. * ...
<commit_before>/*! \copyright (c) RDO-Team, 2011 \file main.cpp \author Урусов Андрей (rdo@rk9.bmstu.ru) \authors Пройдаков Евгений (lord.tiran@gmail.com) \date 10.05.2009 \brief Тест common-библиотеки \indent 4T */ // ----------------------------------------------------------------...
<commit_before>/* QSyncable Project Author: Ben Lau License: Apache-2.0 Web: https://github.com/benlau/qsyncable */ #include "qspatch.h" class QSPatchPriv : public QSharedData { public: QSPatchPriv() { from = 0; to = 0; type = QSPatch::Null; count = 0; } QSPatch::T...
<commit_before>#ifndef __SIMFQT_SVC_SIMFQT_SERVICE_HPP #define __SIMFQT_SVC_SIMFQT_SERVICE_HPP // ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // StdAir #include <stdair/stdair_basic_types.hpp> #includ...
<commit_before>// commands.cxx - encapsulated commands. // Started Spring 2001 by David Megginson, david@megginson.com // This code is released into the Public Domain. // // $Id$ #include "commands.hxx" //////////////////////////////////////////////////////////////////////// // Implementation of SGCommandMgr class...
<commit_before> #include "qt/info_dialog.hpp" #include "qt/mainwindow.hpp" #include "platform/platform.hpp" #include "platform/settings.hpp" #include "coding/file_reader.hpp" #include "base/logging.hpp" #include "base/macros.hpp" #include "base/object_tracker.hpp" #include "std/cstdio.hpp" #include "3party/Alohaly...
<commit_before>#define DEBUG 1 /** * File : D4.cpp * Author : Kazune Takahashi * Created : 2/21/2019, 12:09:38 AM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector...
<commit_before>#define DEBUG 1 /** * File : E2.cpp * Author : Kazune Takahashi * Created : 2020/1/20 0:19:15 * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <cmath> #include <complex> #include <cstdint> #include <cstdio> ...
<commit_before>#include "Renderer.hpp" static const char* gammaVertShader = AL_STRINGIFY ( void main(void) { gl_TexCoord[0] = gl_MultiTexCoord0; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } ); static const char* gammaFragShader = AL_STRINGIFY ( uniform sampler2D texture; ...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>#include "Semaphore.h" #ifdef WINDOWS #define WIN32_LEAN_AND_MEAN #include <Windows.h> #elif defined POSIX #include <errno.h> #endif using namespace Utilities; Semaphore::Semaphore() { #ifdef WINDOWS this->BaseSemaphore = CreateSemaphore(NULL, 0, 4294967295, NULL); #elif defined POSIX this->BaseS...
<commit_before>/* * Copyright (C) 2008-2014 The Communi Project * * 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 of the License, or (at your * option) any later version....
<commit_before>#include "Tests.h" #include "../Test/UnitTest++/UnitTest++.h" #include "Scheduler.h" //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// namespace SimpleTask { static int sourceData = 0xFF33FF; static int resultDa...