text
stringlengths
54
60.6k
<commit_before>/* * Copyright 2011 Esrille Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before>/* * Copyright 2011 Esrille Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2022 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the...
<commit_before>/** * \file * \brief SemaphoreOperationsTestCase class implementation * * \author Copyright (C) 2014-2016 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 ...
<commit_before>#include <TestSupport.h> #include <string> #include <DataStructures/StringKeyTable.h> using namespace Passenger; using namespace std; namespace tut { struct DataStructures_StringKeyTableTest { StringKeyTable<string> table; string *value; DataStructures_StringKeyTableTest() { value = NULL; ...
<commit_before>/** * The goal of these tests is to verify the behavior of all blob commands given * the current state is notYetStarted. The initial state. */ #include "firmware_handler.hpp" #include "firmware_unittest.hpp" #include <cstdint> #include <string> #include <vector> #include <gtest/gtest.h> namespace ...
<commit_before>/* * SessionTexEngine.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTA...
<commit_before>/* * SessionData.cpp * * Copyright (C) 2020 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Publi...
<commit_before>/* * --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have purchased from * Numenta, Inc. a separate commercial license for this software code, the * following terms and conditio...
<commit_before>#include "latex_display_driver.hpp" #include "../document/bold_line_element.hpp" #include "../document/italic_line_element.hpp" #include "../document/code_line_element.hpp" #include "../document/url_line_element.hpp" #include <iostream> using namespace std; void LaTeXDisplayDriver::display(Document * ...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright 2010 Dr D Studios Pty Limited (ACN 127 184 954) (Dr. D Studios), // its affiliates and/or its licensors. // // Redistribution and use in source and binary forms, with or without // modification, are permitted p...
<commit_before>// Copyright (c) 2022 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 // // ...
<commit_before>#include "RocketControllerSystem.h" #include "ShipManagerSystem.h" #include "Transform.h" #include "PhysicsBody.h" #include "PhysicsSystem.h" #include <PhysicsController.h> #include "SpawnSoundEffectPacket.h" #include "ShipModule.h" #include "ParticleSystemCreationInfo.h" #include "SpawnExplosionPacket.h...
<commit_before>#include "converter.hpp" #include <iostream> #include "../Server/DataStructures/InternalDataFacade.h" #include "../../../../coding/matrix_traversal.hpp" #include "../../../../coding/internal/file_data.hpp" #include "../../../../base/bits.hpp" #include "../../../../base/logging.hpp" #include "../../../...
<commit_before> //Implementations of the AST objects //Much of the logic of creating these comes from bison grammar #include "node.h" //Symbol table SymbolTable sym_table; //Copy identifier char* dup_char(char* name) { size_t length = strlen(name)+1; char* ident = (char*)GC_MALLOC_ATOMIC(length); memcpy(ident,...
<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-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge, ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: TestCubeAxes3.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>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: liImageRegistrationConsole.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2002 Insight Consortium. All rights reserved. S...
<commit_before>// ------------------------------------------------------------------------- // @FileName : NFGameServerPlugin.cpp // @Author : LvSheng.Huang // @Date : 2012-07-14 08:51 // @Module : NFGameServerPlugin // // ------------------------------...
<commit_before>/************************************************************************* * * $RCSfile: APNDataObject.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2003-10-06 14:39:21 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>#include "render_utility.h" #include "Snapshoot.h" #include "BoundingBox.h" #include "Image.h" #include "ImageSprite.h" #include <gl/glew.h> namespace ee { Sprite* draw_all_to_one_spr(const std::vector<Sprite*>& sprites, Sprite* except) { std::vector<Sprite*> _sprites; for (int i = 0, n = sprites.si...
<commit_before>/* -------------------------------------------------------------------------- * * OpenSim: GimbalJoint.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and ...
<commit_before>AliAnalysisTaskSECharmFraction* AddTaskSECharmFraction(TString fileout="d0D0.root",Int_t switchMC[5],Bool_t readmc=kFALSE,Bool_t usepid=kTRUE,Bool_t likesign=kFALSE,TString cutfile="D0toKpiCharmFractCuts.root",TString containerprefix="c",Int_t ppPbPb=0,Int_t analysLevel=2) { // // Configuration mac...
<commit_before>#include <sstream> #include <Ancona/Framework/Audio/Jukebox.hpp> #include <Ancona/Framework/Resource/ResourceLibrary.hpp> #include <Ancona/Util/Assert.hpp> #include <Ancona/System/Log.hpp> using namespace ild; std::unordered_map<std::string, std::unique_ptr<JukeboxSounds>> Jukebox::_jukeboxSounds = st...
<commit_before>#include <QtCore/QVariant> #include <QtGui/QAction> #include <QtGui/QApplication> #include <QtGui/QButtonGroup> #include <QtGui/QDialog> #include <QtGui/QGridLayout> #include <QtGui/QHBoxLayout> #include <QtGui/QHeaderView> #include <QtGui/QLabel> #include <QtGui/QListWidget> #include <QtGui/QPushButton>...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sdresid.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2007-04-26 08:35:59 $ * * The Contents of this file are made a...
<commit_before>#include "TestScene.h" #include <fstream> #include "ShaderManager.h" #include "Mesh.h" #include "LightCulling.h" #include "Director.h" #include "ResourceManager.h" using namespace Rendering; using namespace Core; using namespace Rendering::Camera; using namespace Rendering::Light; using namespace Resou...
<commit_before>/* @ Kingsley Chen */ #include "stdafx.h" #include "gtest\gtest.h" #include "kbase\strings\string_format.h" #include <iostream> #include <string> namespace { using namespace kbase; using namespace kbase::internal; template<typename CharT> bool ComparePlaceholder(const Placeholder<CharT>& p, unsign...
<commit_before>//Copyright 2016 Adam G. Smith // //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 agree...
<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>/* 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>//--------------------------------------------------------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright ...
<commit_before>/* Persons Model 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 2.1 of...
<commit_before>/* * SessionDependencies.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero G...
<commit_before>/* RawSpeed - RAW file decoder. Copyright (C) 2017 Roman Lebedev 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...
<commit_before>/* Copyright (c) 2012-2014 The SSDB 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 r2m adaptation : remove this //#include "t_hash.h" #include "ssdb_impl.h" #include "codec/encode.h" #include "codec/decode.h" sta...
<commit_before>/* Please refer to license.txt */ #include "interface.hpp" #include <iostream> #include "../graphic/2d/2d.hpp" #include "../graphic/window/window.hpp" #include "../file/file.hpp" namespace GEngine { namespace mui { Interface::Interface() { //d2d = nullptr; cegui_system = nullptr; cegui_configf...
<commit_before>/* Please refer to license.txt */ #include "interface.hpp" #include <iostream> #include "../graphic/2d/2d.hpp" #include "../graphic/window/window.hpp" #include "../file/file.hpp" namespace GEngine { namespace mui { Interface::Interface() { //d2d = nullptr; cegui_system = nullptr; cegui_configf...
<commit_before>#ifndef XGBOOST_IO_PAGE_ROW_ITER_INL_HPP_ #define XGBOOST_IO_PAGE_ROW_ITER_INL_HPP_ /*! * \file page_row_iter-inl.hpp * row iterator based on sparse page * \author Tianqi Chen */ #include "../data.h" #include "../utils/iterator.h" #include "../utils/thread_buffer.h" #include "./simple_fmatrix-inl.hpp...
<commit_before>/* * Concatenate several istreams. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_cat.hxx" #include "istream_oo.hxx" #include "Pointer.hxx" #include "Bucket.hxx" #include "util/ConstBuffer.hxx" #include <boost/intrusive/slist.hpp> #include <iterator> #include <assert.h> #include ...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>#include "AssemblyRegister.h" #include "core/log.h" #include "ProDBGAPI.h" #include <stdlib.h> #include <string.h> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// namespace prodbg { enum { MaxRegisterCount = 256, }; ////////////...
<commit_before>// Sietronics Sieray CPI format // Licence: Lesser GNU Public License 2.1 (LGPL) #define BUILDING_XYLIB #include "cpi.h" #include "util.h" using namespace std; using namespace xylib::util; namespace xylib { const FormatInfo CpiDataSet::fmt_info( "cpi", "Sietronics Sieray CPI", "cpi", ...
<commit_before>#include <QtCore/QFile> #include <QtTest/QtTest> #include <QMimeDatabase> class tst_QMimeType : public QObject { Q_OBJECT public: tst_QMimeType(); ~tst_QMimeType(); private Q_SLOTS: void initTestCase(); void findByName_data(); void findByName(); void findByData_data(); ...
<commit_before>/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full r...
<commit_before>#include "InternetButton/InternetButton.h" InternetButton b = InternetButton(); int ohpm(String command); int j=0; int i=0; int sirenPin = 0; int sirenCounter = 0; int disconnectTimer = 0; boolean alarm = false; boolean light = false; boolean trouble = false; boolean disconnected = false; void ...
<commit_before>/** * @file trace.H * * Internal trace definitions and functions. External users should * not directly include or use this file. trace/interface.H is the external * file. */ #ifndef __TRACE_TRACE_H #define __TRACE_TRACE_H /*********************************************************************...
<commit_before>/* individual.hpp - CS 472 Project #2: Genetic Programming * Copyright 2014 Andrew Schwartzmeyer * * Header file for interface of an individual representing a * gentically generated solution function */ #ifndef _INDIVIDUAL_H_ #define _INDIVIDUAL_H_ #include <vector> #include <memory> #include "../...
<commit_before>/** \copyright * Copyright (c) 2013, Balazs Racz * 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...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrConfigConversionEffect.h" #include "GrContext.h" #include "GrTBackendEffectFactory.h" #include "GrSimpleTextureEffect.h" #include "gl/GrGLEffect.h" ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: hwpf/fapi2/include/target_types.H $ ...
<commit_before>#include "SimpleITKTestHarness.h" #include "sitkImageFileReader.h" #include "sitkCastImageFilter.h" #include "sitkElastixImageFilter.h" #include "sitkTransformixImageFilter.h" namespace itk { namespace simple { bool stfxIsEmpty( const Image image ) { return ( image.GetWidth() == 0 && image.GetHeight(...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifdef HAVE_CMAKE_CONFIG #include "cmake_config.h" #elif defined (HAVE_CONFIG_H) #inc...
<commit_before>/* * * copyright (c) 2010 ZAO Inventos (inventos.ru) * copyright (c) 2010 jk@inventos.ru * copyright (c) 2010 kuzalex@inventos.ru * copyright (c) 2010 artint@inventos.ru * * This file is part of mp4frag. * * mp4grag is free software; you can redistribute it and/or * modify it under the terms o...
<commit_before>/* * * Copyright (c) 2021 Project CHIP 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/l...
<commit_before>#include "zmq.h" #include <iostream> #include "AliHLTDataTypes.h" #include "AliHLTComponent.h" #include "AliHLTMessage.h" #include "TClass.h" #include "TMap.h" #include "TPRegexp.h" #include "TObjString.h" #include "TList.h" #include "TMessage.h" #include "TRint.h" #include "TApplication.h" #include <tim...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: paraprev.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: obo $ $Date: 2006-09-17 04:33:57 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before> /*========================================================================= Program: Visualization Toolkit Module: vtkDICOMImageReader.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. ...
<commit_before>#ifndef TOML11_COLOR_HPP #define TOML11_COLOR_HPP #include <ostream> #include <cstdint> #ifdef TOML11_COLORIZE_ERROR_MESSAGE #define TOML11_COLORED_MESSAGE_ACTIVATED true #else #define TOML11_COLORED_MESSAGE_ACTIVATED false #endif namespace toml { // put ANSI escape sequence to ostream namespace color...
<commit_before>// // Copyright (C) 2013-2018 University of Amsterdam // // 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 versi...
<commit_before>/** \copyright * Copyright (c) 2017, Balazs Racz * 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,...
<commit_before>// testIK.cpp // Author: Ayman Habib based on Peter Loan's version /* Copyright (c) 2005, Stanford University and Peter Loan. * * 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 th...
<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>/* -*- 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>/*========================================================================= Program: Visualization Toolkit Module: vtkOpenGLScalarsToColorsPainter.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm fo...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dflyobj.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-08-14 16:18:44 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: labfmt.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-09 07:29:19 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: frmdlg.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: kz $ $Date: 2007-05-10 16:18:16 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: tbxmgr.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-09 10:47:20 $ * * The Contents of this file are made av...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>// NOLINT(namespace-envoy) #include "proxy_wasm_intrinsics.h" static std::unordered_map<std::string, RootFactory> *root_factories = nullptr; static std::unordered_map<std::string, ContextFactory> *context_factories = nullptr; static std::unordered_map<int32_t, std::unique_ptr<ContextBase>> context_map; ...
<commit_before>// // Copyright (c) 2018 Rokas Kupstys // // 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, modif...
<commit_before>/* * * Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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, ...
<commit_before> /* Include required header */ #include "CoolProp.h" #include "HumidAirProp.h" #include "WolframLibrary.h" /* Return the version of Library Link */ extern "C" DLLEXPORT mint WolframLibrary_getVersion( ) { return WolframLibraryVersion; } /* Initialize Library */ extern "C" DLLEXPORT int WolframLibrary_...
<commit_before>#include "object/object.h" #include "math/intersect.h" //#define ENABLE_LINEAR_HITTEST namespace aten { bool face::hit( const ray& r, real t_min, real t_max, hitrecord& rec) const { vertex v0, v1, v2; VertexManager::getVertex(v0, param.idx[0]); VertexManager::getVertex(v1, param.idx[1]); ...
<commit_before>// // SASolver.h // Procon26 // // Created by Riya.Liel on 2015/06/04. // Copyright (c) 2015年 Riya.Liel. All rights reserved. // #ifndef __GA_SASolver_ #define __GA_SASolver_ #include<cmath> template<class _T,int _STime=1000,int _ETime=1,int _Schedule=99> class SA_Solver{ public: SA_Solver(_T ...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include <direct.h> #include "Foundation.h" #include "ModuleManager.h" #include "HttpUtilities.h" #include "DebugOperatorNew.h" #if defined(_MSC_VER) && defined(MEMORY_LEAK_CHECK) // for reporting memory leaks upon debug ...
<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>// To find the largest and smallest element in a give // L, R range in an array of elememts #include <iostream> #include <algorithm> #include <cmath> #include <cstdio> using namespace std; #define SIZE 1002 void min_sparse_table(int b[SIZE][SIZE], int n) { int y, k; k = log2(n); for(int i = 1; i ...
<commit_before>#include "Limiter.h" #include "Testing.h" #include <iostream> static auto CurrentTime() { return std::chrono::high_resolution_clock::now(); } static constexpr auto oneSecond = std::chrono::seconds(1); std::ostream& operator<<(std::ostream& os, HttpResult::Code code) { const auto str = code == HttpR...
<commit_before>// mmap64_unix.hpp // #pragma once #ifndef __SDL_MEMORY_MMAP64_UNIX_HPP__ #define __SDL_MEMORY_MMAP64_UNIX_HPP__ #include "dataserver/common/common.h" #if defined(SDL_OS_UNIX) #include <sys/mman.h> namespace sdl { namespace mmap64_detail { struct substitution_failure {}; // represent a failure to de...
<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>#include "framework/builder/cfem_framework_builder.h" #include <fstream> #include <streambuf> #include <deal.II/base/mpi.h> #include "calculator/cell/integrated_fission_source.h" #include "calculator/cell/total_aggregated_fission_source.h" #include "convergence/moments/single_moment_checker_l1_norm.h" ...
<commit_before>#pragma once #include <YouBot_monitors/typekit/Types.h> #include <rtt/Service.hpp> #include <rtt/Port.hpp> #include <sensor_msgs/typekit/Types.h> #include <nav_msgs/typekit/Types.h> #include <geometry_msgs/typekit/Types.h> #include <boost/function.hpp> #include <vector> namespace YouBot { using name...
<commit_before>#include "commandProcessor.h" //CommandProcessor CommandProcessor::CommandProcessor ( QString const & ex ) { regex.setPattern(ex); } CommandProcessor::~CommandProcessor() { } bool const CommandProcessor::CanProcess ( QString const & command ) { QStringList rr = command.split(" "); ...
<commit_before>/* * Copyright (c) 2004 The Regents of The University of Michigan * 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 copyri...
<commit_before>#include "transforms/data.hpp" #include "transforms/indexd.hpp" #include "transforms/statistics.hpp" #include "transforms/indexd_leveldb.hpp" <commit_msg>transforms: not leveldb by default<commit_after>#include "transforms/data.hpp" #include "transforms/indexd.hpp" #include "transforms/statistics.hpp" <|...
<commit_before><commit_msg>kth largest 12.11<commit_after><|endoftext|>
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009 - 2014 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribut...
<commit_before>/* * Copyright (c) 2021 dresden elektronik ingenieurtechnik gmbh. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * */ #include <QElapsedTimer> #inc...
<commit_before>#include "ClientAuthOperation_p.hpp" #include "AccountStorage.hpp" #include "CAppInformation.hpp" #include "ConnectionApi_p.hpp" #include "ClientBackend.hpp" #include "ClientConnection.hpp" #include "ClientRpcLayer.hpp" #include "ClientRpcAuthLayer.hpp" #include "ClientRpcAccountLayer.hpp" #include "Con...
<commit_before>// Bell inequalities (CHSH) violation // Source: ./examples/bell_inequalities.cpp #include <qpp.h> using namespace qpp; using std::cout; using std::endl; //TODO: finish the example, incomplete now int main() { ket psi = st.b11; // Measure the singlet Bell state (|01>-|10>)/sqrt(2) idx N = 1; //...
<commit_before>/* * SimplePoggio.cpp * * Created on: Nov 20, 2008 * Author: bjt */ #include "SimplePoggio.hpp" namespace PV { SimplePoggio::SimplePoggio(const char * name, HyPerCol * hc) : HyPerLayer(name, hc) { init(TypeGeneric); } int SimplePoggio::recvSynapticInput(HyPerConn * conn, PVLayerCube * a...
<commit_before>//===----------------------------------------------------------------------===// // // Peloton // // socket_base.cpp // // Identification: src/wire/socket_base.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===--------------------------------------...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2013, OpenNebula Project (OpenNebula.org), C12G Labs */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>// This file is part of the "x0" project // (c) 2009-2015 Christian Parpart <https://github.com/christianparpart> // // x0 is free software: you can redistribute it and/or modify it under // the terms of the GNU Affero General Public License v3.0. // You should have received a copy of the GNU Affero Ge...
<commit_before>/* main.cpp This file is part of Kleopatra, the KDE keymanager Copyright (c) 2001,2002,2004 Klar�vdalens Datakonsult AB Kleopatra 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 Founda...
<commit_before>/* Copyright (c) 2008, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of condi...
<commit_before>// // This file is part of the Marble Desktop 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 2008 Patrick Spendrin <ps_ml@gmx.de> // #include "PlacemarkLoader.h...