text
stringlengths
54
60.6k
<commit_before>#ifndef QCAN_NETWORK_HPP_ #define QCAN_NETWORK_HPP_ #include <QTcpServer> #include <QTcpSocket> #include <QMutex> #include <QPointer> #include <QTimer> #include "qcan_frame.hpp" #include "qcan_frame_api.hpp" #include "qcan_frame_error.hpp" class QCanInterface; //----------------------------------...
<commit_before>/* Lantern - A path tracer * * Lantern is the legal property of Adrian Astley * Copyright Adrian Astley 2015 - 2016 */ #include "renderer/renderer.h" #include "common/global_args.h" #include "scene/mesh_elements.h" #include "graphics/atomic_frame_buffer.h" namespace Lantern { Renderer::Renderer(Gl...
<commit_before>/* Copyright © 2001-2014, Canal TP and/or its affiliates. All rights reserved. This file is part of Navitia, the software to build cool stuff with public transport. Hope you'll enjoy and contribute to this project, powered by Canal TP (www.canaltp.fr). Help us simplify mobility and open publ...
<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_path.h" #include "base/file_util.h" #include "base/test/test_timeouts.h" #include "chrome/test/automation/tab_proxy...
<commit_before>// Copyright 2014 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 "content/common/gpu/client/gl_helper_readback_support.h" #include "base/logging.h" namespace content { GLHelperReadbackSupport::...
<commit_before>//===-- MachineInstr.cpp --------------------------------------------------===// // // 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>// Copyright 2020 Chia Network Inc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in coiance 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 agr...
<commit_before>// dune-multiscale // Copyright Holders: Patrick Henning, Rene Milk // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "common.hh" #include <dune/multiscale/msfem/algorithm.hh> #include <dune/multiscale/problems/elliptic/selector.hh> int main(int argc, char** argv)...
<commit_before>#include "catch.hpp" // mapnik vector tile tile class #include "vector_tile_tile.hpp" TEST_CASE("Vector tile base class") { mapnik::box2d<double> global_extent(-20037508.342789,-20037508.342789,20037508.342789,20037508.342789); SECTION("default constructed") { mapnik::vector_tile_i...
<commit_before>/****************************************************************************** * * Project: integrating laszip into liblas - http://liblas.org - * Purpose: * Author: Martin Isenburg * isenburg at cs.unc.edu * ********************************************************************...
<commit_before>#include <stdio.h> #include <climits> #include "engine/engine.hpp" #include "engine/pathfinding/astar.hpp" #include "engine/pathfinding/path.hpp" namespace qrw { Engine::Engine() : board(0), status(EES_UNDEFINED) { players[0].setName("Player The First"); players[0].setId(0); players[1].setN...
<commit_before><commit_msg>removed wrong assert<commit_after><|endoftext|>
<commit_before>#include "libmesh/vectormap.h" #include <cppunit/extensions/HelperMacros.h> #include <cppunit/TestCase.h> #define VECTORMAPOBJECTTEST \ CPPUNIT_TEST( testCreate ); \ using namespace libMesh; class VectormapTest : public CppUnit::TestCase { public: CPPUNIT_TEST_SUITE ( VectormapTest ); CPPUNIT...
<commit_before>//---------------------------------------------------------- -*- Mode: C++ -*- // $Id$ // // Created 2006/11/01 // Author: Blake Lewis (Kosmix Corp.) // // Copyright 2006 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed under the Apache License, Version 2.0 // (the "Licen...
<commit_before>/* Copyright (c) 2010, The Barbarian Group 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 co...
<commit_before>/****************************************************************************** * Copyright (c) 2012, Howard Butler, hobu.inc@gmail.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions ar...
<commit_before>#include "forwardserver.h" #include "utils.h" namespace forwarder { ReturnCode ForwardServer::initCommon(rapidjson::Value& serverConfig) { desc = serverConfig["desc"].GetString(); peerLimit = serverConfig["peers"].GetInt(); port = serverConfig["port"].GetInt(); admin = serverConfig.HasMember("...
<commit_before>/* * InterColComm.cpp * * Created on: Aug 28, 2008 * Author: rasmussn */ #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> #include "InterColComm.hpp" #include "HyPerCol.hpp" #include "../connections/PVConnection.h" namespace PV { InterColComm::InterColComm(int...
<commit_before>/* * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved * * Contact: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
<commit_before>#include "contractresult.h" #include "ui_contractresult.h" #include "guiconstants.h" #include "contractabi.h" #include <QMessageBox> ContractResult::ContractResult(QWidget *parent) : QStackedWidget(parent), ui(new Ui::ContractResult) { ui->setupUi(this); ui->groupBoxCallContra...
<commit_before>#include <mfapi.h> //#include <mfobjects.h> #include <mfidl.h> #include <mferror.h> #include "webmmfbytestreamhandler.hpp" #include "webmmfsource.hpp" #include <new> #include <cassert> #ifdef _DEBUG #include "odbgstream.hpp" using std::endl; #endif _COM_SMARTPTR_TYPEDEF(IMFMediaSource, __uu...
<commit_before><commit_msg>Pull in r182656 from upstream llvm trunk:<commit_after><|endoftext|>
<commit_before>/* This file implements the classes defined in Match.h: Match, Capability, and Client A Match object contains all of the information a startd needs about a given match, such as the capability, the client of this match, etc. The capability in the match is just a pointer to a Capability...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved */ #include "../StroikaPreComp.h" #include <algorithm> #include <cstdlib> #include <fstream> #include <sstream> #if qPlatform_POSIX #include <sys/types.h> #include <unistd.h> #include <signal.h> #endif #include "../../Foun...
<commit_before>/* Copyright 2017 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 "palabos3D.h" #include "palabos3D.hh" #include <vector> #include <cmath> using namespace plb; using namespace plb::descriptors; using namespace std; typedef double T; typedef Array<T,3> Velocity; //#define DESCRIPTOR descriptors::D3Q27Descriptor #define DESCRIPTOR MRTD3Q19Descriptor typedef ...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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>/* * Copyright (c) 2007 Digital Bazaar, Inc. All rights reserved. */ #include <map> #include "db/util/Math.h" #include "db/util/Date.h" #include "db/logging/Logger.h" using namespace std; using namespace db::io; using namespace db::util; using namespace db::logging; std::multimap<const char*, Logg...
<commit_before>/* * STDPConn.hpp * * Created on: Jan 28, 2011 * Author: sorenrasmussen */ #ifndef STDPCONN_HPP_ #define STDPCONN_HPP_ #include "HyPerConn.hpp" namespace PV { class STDPConn : HyPerConn { public: STDPConn(); STDPConn(const char * name, HyPerCol * hc, HyPerLayer * pre, HyPerLayer * po...
<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 distr...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2012. All rights reserved */ #include "../StroikaPreComp.h" #include "Event.h" using namespace Stroika::Foundation; using namespace Stroika::Foundation::Execution; /* * Design notes: * * o The use of condition variables is no...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/* * Copyright 2002-2005 The Apache Software Foundation. * * 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 ...
<commit_before>/* * (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others. * * 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/...
<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>#ifndef ENTT_CORE_TYPE_INFO_HPP #define ENTT_CORE_TYPE_INFO_HPP #include "../config/config.h" #include "../core/attribute.h" #include "hashed_string.hpp" #ifndef ENTT_PRETTY_FUNCTION # define ENTT_TYPE_ID_API ENTT_API #else # define ENTT_TYPE_ID_API #endif #ifndef ENTT_PRETTY_FUNCTION /** * @c...
<commit_before> AliAnalysisTaskElectronEfficiencyV2* AddTask_jjung_efficiency(TString name = "name", Bool_t isAOD, Bool_t getFromAlien = kFALSE, TString configFile="Config_jjung_lowmass.C", Bool_t DoCentralityCorrection = kFALSE) { std::cout << "########################################\nADDTASK of ANALYSIS started\n...
<commit_before>// Copyright 2013 Alessio Sclocco <a.sclocco@vu.nl> // // 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 requir...
<commit_before>/* Persons Model Example Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 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...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: mediawindowbase_impl.cxx,v $ * $...
<commit_before>/// Learn from https://github.com/p-ranav/indicators #ifndef BAULK_INDICATORS_HPP #define BAULK_INDICATORS_HPP #include <bela/stdwriter.hpp> #include <algorithm> #include <atomic> #include <cassert> #include <chrono> #include <cmath> #include <thread> #include <condition_variable> #include <me...
<commit_before>#ifndef VEXCL_SPMAT_INLINE_SPMV_HPP #define VEXCL_SPMAT_INLINE_SPMV_HPP /* The MIT License Copyright (c) 2012-2013 Denis Demidov <ddemidov@ksu.ru> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
<commit_before>/************************************************************************* * * $RCSfile: macros.hxx,v $ * * $Revision: 1.15 $ * * last change: $Author: hr $ $Date: 2003-04-28 16:26:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>// fidi_request_handler.cc --- -*- mode: c++; -*- // Copyright 2018-2019 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/...
<commit_before>// Virvo - Virtual Reality Volume Rendering // Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University // Contact: Jurgen P. Schulze, jschulze@ucsd.edu // // This file is part of Virvo. // // Virvo is free software; you can redistribute it and/or // modify it under the terms of the GN...
<commit_before>// Copyright (c) 2016 Tchernopyatov Alexey. Contacts: alexey@tchernopyatov.com // Under MIT license, view LICENSE.txt #include "createexercisedialog.h" #include <QWidget> #include <QLabel> #include <QBoxLayout> #include <QSpinBox> #include <QPushButton> #include <QFileDialog> #include <QApplication> #in...
<commit_before>#include "tidyup_state_creators/stateCreatorFromPlanningScene.h" #include "tidyup_utils/stringutil.h" #include <pluginlib/class_list_macros.h> #include <ros/ros.h> #include <tf/tf.h> #include <moveit/move_group/capability_names.h> #include <moveit_msgs/GetPlanningScene.h> #include <moveit_msgs/PlanningSc...
<commit_before>#include "mlp_cv.hpp" /// PROJECT #include <csapex/msg/io.h> #include <csapex/utility/register_apex_plugin.h> #include <csapex/param/parameter_factory.h> #include <csapex/model/node_modifier.h> #include <csapex/msg/generic_vector_message.hpp> #include <csapex/signal/slot.h> #include <QFile> CSAPEX_REGIS...
<commit_before>/* * Copyright (c) 2012, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * ...
<commit_before>//=====================================================================// /*! @file @brief img メイン関係 @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <iostream> #include "img_main.hpp" #include "core/glcore.hpp" #include "widgets/wi...
<commit_before>/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2011 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associat...
<commit_before>/* * Copyright (C) 1999 Lars Knoll (knoll@kde.org) * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights reserved. * Copyright (C...
<commit_before>/* * This file is part of QtZeitgeist. * * Copyright (C) 2010 Collabora Ltd. <http://www.collabora.co.uk/> * * 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 ...
<commit_before>/* * Copyright (C) 2003 Tommi Maekitalo * * 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....
<commit_before>#include "llvm/Pass.h" #include "llvm/IR/Function.h" #include "llvm/Support/raw_ostream.h" #include "llvm/IR/Instructions.h" #include "llvm/InstVisitor.h" using namespace llvm; namespace { struct CustomInstVisitor : public InstVisitor<CustomInstVisitor> { CustomInstVisitor() : InstVisitor()...
<commit_before>/* * Copyright (c) 2019 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>// @(#)root/gui:$Name: $:$Id: TRootContextMenu.cxx,v 1.4 2002/04/04 17:32:14 rdm Exp $ // Author: Fons Rademakers 12/02/98 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redistr...
<commit_before>#include <windows.h> #include <tchar.h> #include <time.h> HWND hMainWnd = NULL; HANDLE hMutex = NULL; HANDLE hSemaphore = NULL; HANDLE phThreads[2] = { 0 }; BOOL bStopTherads = FALSE; int arrQueue[65536] = { 0 }; int nQueueSize = 0; TCHAR szText[256] = { 0 }; // // Helper's functions // void AddQueueI...
<commit_before>//---------------------------------------------------------------------------// //! //! \file Utility_TetrahedronHelpers.cpp //! \author Alex Robinson, Eli Moll //! \brief Tetrahedron helper functions //! //---------------------------------------------------------------------------// // Std Lib Incl...
<commit_before>// -*- mode: c++; coding: utf-8 -*- #pragma once #include <sstream> #include <boost/program_options.hpp> inline std::string flags_into_string( const boost::program_options::options_description& desc, const boost::program_options::variables_map& vm) { std::ostringstream oss;...
<commit_before>#pragma once #include "system/Config.hpp" #include "Common.hpp" #include <thread> /** \brief Performs system basic operations such as directory creation, timing, threading, file picking. \ingroup System */ class System { public: /** The file picker mode. */ enum class Picker { Load, ///< Load...
<commit_before>/* * NiceConnection.cpp * * Created on: Mar 8, 2012 * Author: pedro */ #include <glib.h> #include <nice/nice.h> #include "NiceConnection.h" #include "WebRtcConnection.h" #include "SdpInfo.h" namespace erizo { guint stream_id; GSList* lcands; int streamsGathered; int rec, sen; int length; i...
<commit_before> /* Copyright (c) 2007, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of cond...
<commit_before>//===--- AndroidTidyModule.cpp - clang-tidy--------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/private/SkMacros.h" #include "src/core/SkArenaAlloc.h" #include "src/core/SkColorSpacePriv.h" #include "src/core/SkColorSpaceXformSteps.h" #in...
<commit_before>// This file is part of Poseidon. // Copyleft 2022, LH_Mouse. All wrongs reserved. #ifndef POSEIDON_CORE_CHARBUF_256_ #define POSEIDON_CORE_CHARBUF_256_ #include "../fwd.hpp" namespace poseidon { // This class provides 256-byte storage for temporary use. class charbuf_256 { private: char m_da...
<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>// 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. // TODO(port): the ifdefs in here are a first step towards trying to determine // the correct abstraction for all the OS functiona...
<commit_before>// Copyright (c) 2009 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/common/child_thread.h" #include "base/string_util.h" #include "base/command_line.h" #include "chrome/common/child_pro...
<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 "base/message_loop.h" #include "base/perf_test_suite.h" #include "chrome/common/chrome_paths.cc" int main(int argc, char...
<commit_before>/************************************************************************* * Copyright (c) 2013 eProsima. All rights reserved. * * This copy of FastCdr is licensed to you under the terms described in the * EPROSIMARTPS_LIBRARY_LICENSE file included in this distribution. * **************************...
<commit_before>/* * * Copyright 2015, 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: * * * Redistributions of source code must retain the above copyright * notice, thi...
<commit_before>#pragma once #include <ShaderManager.h> namespace Rendering { namespace Factory { class [ClassName] { private: Rendering::Manager::ShaderManager *_shaderMgr; public: [ClassName](Rendering::Manager::ShaderManager*& shaderManager) { _shaderMgr = shaderManager; } ~[ClassName...
<commit_before>#include "SysControl.h" #include "ControlsApp.h" #include "ControlsXPad360.h" //ƽַ̨ #ifdef _WIN32 #pragma execution_character_set("utf-8") #endif using namespace MathLib; class CSysControlLocal : public CSysControl { public: CSysControlLocal(); virtual ~CSysControlLocal(); virtual void Init(); ...
<commit_before>MatrixXd ones = MatrixXd::Ones(3,3); EigenSolver<MatrixXd> es(ones); cout << "The first eigenvector of the 3x3 matrix of ones is:" << endl << es.eigenvectors().col(1) << endl; <commit_msg>Typo in the example for Eigen::SelfAdjointEigenSolver::eigenvectors, the first eigenvector should be col(0) not...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>/* * Copyright (c) 2014 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 "AST/ast.h" #include "Parse/parser.h" #include "Sema/symbolcollector.h" #include "Sema/symboltable.h" #include "Sema/typechecker.h" #include "Utils/astprinter.h" // TODO: include codegen #include <iostream> static void Compile(const std::string& programFile) { TosLang::FrontEnd::Parser pa...
<commit_before>#ifndef _VINECPP_HEADER_HPP_ #define _VINECPP_HEADER_HPP_ // headers #include <iostream> #include <string> #define _USE_MATH_DEFINES #include <cmath> #include <vector> #include <nlopt.hpp> #include <algorithm> #include <utility> #include <omp.h> #include <stdlib.h> #include <stdio.h> #include<fstream>...
<commit_before>/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/* Copyright (c) 2016 PaddlePaddle 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 applic...
<commit_before>/* * Copyright 2016 Stoned Xander * * 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>/* * Copyright (C) 2008, 2009 Nokia Corporation. * * Contact: Marius Vollmer <marius.vollmer@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as published by the Free Software Foundation....
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2019. All rights reserved */ #ifndef _Stroika_Foundation_IO_Network_InternetAddress_inl_ #define _Stroika_Foundation_IO_Network_InternetAddress_inl_ 1 /* ******************************************************************************** *****************...
<commit_before>/*========================================================================= Program: BlueBerry Platform Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.t...
<commit_before>/* * Copyright (C) 2015-2018 Dubalu LLC. All rights reserved. * * 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 right...
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz // // Permission is hereby granted, free of charge, to any person obt...
<commit_before>//UPCOMING BOOST LOCALE! //http://cppcms.sourceforge.net/boost_locale/html/index.html //#include <unicode/ustring.h> //#include <boost/regex/icu.hpp> /* http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf#G13708 boost reg expressions and icu http://www.boost.org/libs/regex/doc/icu_strings.ht...
<commit_before>/* $Id: alara.C,v 1.15 2002-05-06 18:03:24 wilsonp Exp $ */ #include "alara.h" #include "Input/Input.h" #include "Chains/Root.h" #include "Util/Statistics.h" #include "Output/Result.h" /* See why Paul is using these silly STL things? */ int chainCode = 0; /*! This list of elemental symbols is specia...
<commit_before>/* * Copyright 2007-2022 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before>/****************************************************************************** * Copyright 2017 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>/** @file Chunk decoding. @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to y...
<commit_before>#include "MeshLodTests.h" #include "OgreDefaultHardwareBufferManager.h" #include "OgreVertexIndexData.h" #include "OgreEdgeListBuilder.h" #include "OgreMesh.h" #include "OgreMeshManager.h" #include "OgreSubMesh.h" #include "OgreMeshSerializer.h" #include "OgreRoot.h" #include "OgreException.h" #include "...
<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-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>/** \file generate_vufind_translation_files.cc * \brief A tool for creating the ".ini" files VuFind uses based on data in the SQL translations table. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2016,2017, Library of the University of Tübingen This program is free software:...
<commit_before>#include <irrlicht.h> #include <iostream> namespace ic = irr::core; namespace iv = irr::video; // Serialize an irrlicht vector3df std::ostream& operator<<(std::ostream& out, const ic::vector3df vec) { out << "(" << vec.X << "," << vec.Y << "," << vec.Z << ")"; return out...