text
stringlengths
54
60.6k
<commit_before><commit_msg>IVGCVSW-1929: Optimize function signature change<commit_after><|endoftext|>
<commit_before>#include "DataTreatment.h" //Empty constructor DataTreatment::DataTreatment() { m_myFileName = ""; m_myProfileName = ""; m_numberOfFriends = 0; m_peopleList = 0; }//End class' empty constructor //Class constructor DataTreatment::DataTreatment(QString myFileName, ...
<commit_before>/** * For conditions of distribution and use, see copyright notice in license.txt * * @file VoiceToolWidget.cpp * @brief Widget for voice communication control * */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "VoiceToolWidget.h" #include "CommunicationsServi...
<commit_before>#ifndef ITER_ENUMERATE_H_ #define ITER_ENUMERATE_H_ #include "iterbase.hpp" #include <utility> #include <iterator> #include <functional> #include <initializer_list> #include <type_traits> // enumerate functionality for python-style for-each enumerate loops // for (auto e : enumerate(vec)) { // st...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/diag/prdf/common/plat/pegasus/prdfP8ExExtraSig.H $ ...
<commit_before>// Solution to problem from Crack Coding interviews. Implement an // algorithm to determine if a string has all unique characters #include "check_unique_char.h" CheckUniqueChar::CheckUniqueChar() { } CheckUniqueChar::~CheckUniqueChar() { } // Takes O(n) running time bool CheckUniqueChar::solver_boo...
<commit_before>#include "QtSqlLiteTest.h" #include <QDebug> #include <QSqlError> #include <QSqlQuery> #include <QHBoxLayout> #include <QVBoxLayout> #include <QTextCodec> #include <QSqlTableModel> QtSqlLiteTest::QtSqlLiteTest(QWidget *parent) : QWidget(parent) { // 打开数据库 if(createDB("/debug", "myDB.db")) ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include <iostream> #include <typeinfo> using namespace std; class JsonNode {}; class JsonList : public JsonNode { public: vector<JsonNode> children; }; class JsonNumber : public JsonNode { public: stri...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include <iostream> #include <typeinfo> #include <exception> #include "json.h" using namespace std; int skip_whitespace(string message, int start){ int ret = 0; while(start + ret < message.length()){ switch(mes...
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "app/gfx/gl/gl_implementation.h" #include <algorithm> #include <string> #include "app/app_switches.h" #include "base/at_exit...
<commit_before>#include <iostream> #include <string> #include <vector> #include <tuple> #include "acmacs-base/argv.hh" #include "acmacs-base/filesystem.hh" #include "acmacs-base/named-type.hh" #include "acmacs-chart-2/factory-import.hh" #include "acmacs-chart-2/chart.hh" // -------------------------------------------...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> typedef char int8_t; typedef unsigned char bool; char *numConv[]={ "", "Ҽ", "", "", "", "", "½", "", "", "" }; #define DISP_10 "ʰ" #define DISP_100 "" #define DISP_1000 "Ǫ" #define DISP_10000 "" #define DISP_1E8 "...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: astconstant.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-09-17 08:10:58 $ * * The Contents of this file are m...
<commit_before><commit_msg>Create a string instead of strdup'ing a cstring.<commit_after><|endoftext|>
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/freq/mss_freq_scoreboard.C...
<commit_before><commit_msg>CImgSmooth: fix<commit_after><|endoftext|>
<commit_before><commit_msg>Use a switch. NFC.<commit_after><|endoftext|>
<commit_before>// ArduinoJson - https://arduinojson.org // Copyright © 2014-2022, Benoit BLANCHON // MIT License #pragma once #include <ArduinoJson/Memory/Alignment.hpp> #include <ArduinoJson/Polyfills/assert.hpp> #include <ArduinoJson/Polyfills/mpl/max.hpp> #include <ArduinoJson/Strings/StringAdapters.hpp> #include ...
<commit_before> #undef NDEBUG #include "ospray/common/ospcommon.h" #include "apps/common/xml/xml.h" #include "model.h" #include "common/sys/filename.h" namespace ospray { namespace particle { struct Particle { double x,y,z; }; // struct MPM { // std::vector<vec3f> pos; // }; // MPM ...
<commit_before> #include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules #include "DispenserEntity.h" #include "../Chunk.h" #include "../BlockInfo.h" #include "../Defines.h" #include "../World.h" #include "../Entities/Boat.h" #include "../Entities/ProjectileEntity.h" #include "../...
<commit_before>#ifndef DUNE_STUFF_FUNCTION_AFFINEPARAMETRIC_DEFAULT_HH #define DUNE_STUFF_FUNCTION_AFFINEPARAMETRIC_DEFAULT_HH #include <memory> #include <vector> #include <dune/common/shared_ptr.hh> #include <dune/stuff/common/parameter.hh> #include <dune/stuff/common/string.hh> #include <dune/stuff/common/color.hh...
<commit_before>// $Id: AST.hh,v 1.3 2004/01/25 21:21:54 stefan Exp $ // // Copyright (C) 2004 Stefan Seefeld // All rights reserved. // Licensed to the public under the terms of the GNU LGPL (>= 2), // see the file COPYING for details. // #ifndef _Synopsis_AST_AST_hh #define _Synopsis_AST_AST_hh #include <Synopsis/Ob...
<commit_before>#ifndef THREAD_POOL_HPP_INCLUDED #define THREAD_POOL_HPP_INCLUDED /** @file thread_pool.hpp @author François Becker MIT License Copyright (c) 2015-2018 François Becker Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
<commit_before>// ========================================================================== // // This file is part of DO-CV, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2013 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // Lice...
<commit_before>/** * @file * json.hxx * * @brief json structure to build json with application specific stats. */ #pragma once #include <cmath> #include <cstdio> #include <ctime> #include <time.h> #include <vector> // RapidJSON includes (required) #include <rapidjson/document.h> #include <rapidjson/filewritestr...
<commit_before>// // inpal_algorithm.hpp // Inverse Palindrome Library // // Created by Bryan Triana on 7/22/16. // Copyright © 2016 Inverse Palindrome. All rights reserved. // #ifndef inpal_algorithm_hpp #define inpal_algorithm_hpp #include <cstdlib> #include <string> namespace inpal { namespace algorithm ...
<commit_before>/* Copyright (C) 2004-2005 Cory Nelson This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including co...
<commit_before>using namespace System; using namespace System::Reflection; using namespace System::Runtime::CompilerServices; using namespace System::Runtime::InteropServices; using namespace System::Security::Permissions; // // General Information about an assembly is controlled through the following // set of attrib...
<commit_before>/* Copyright (C) 2014-2018 Nicolas Brown 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, modify, merge, p...
<commit_before>// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/BasicMaterial.hpp> #include <Nazara/Core/Algorithm.hpp> #include <Nazara/Core/ErrorFlags.hpp> #inclu...
<commit_before>/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aa...
<commit_before>/****************************************************************************/ /** ** @file tInputFile.cpp ** @brief Member functions for class tInputFile. ** ** (see tInputFile.h for a description of this class) ** ** Greg Tucker, November 1997 ** Re-written, AD, July 2003 ** ** $Id: tInputFile.cp...
<commit_before>// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // // Contributors: Kirsten Weber #ifndef DUNE_STUFF_FUNCTIONS_CONSTANT_...
<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. Some parts of this code ar...
<commit_before>/* * Copyright 2019-2020 Diligent Graphics LLC * Copyright 2015-2019 Egor Yusov * * 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>/** * @file offboard_velocity.cpp * @brief Example that demonstrates offboard velocity control in local NED and body coordinates * * @authors Author: Julian Oes <julian@oes.ch>, * Shakthi Prashanth <shakthi.prashanth.m@intel.com> * @date 2017-10-17 */ #include <iostream> #include...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fwkutil.cxx,v $ * * $Revision: 1.25 $ * * last change: $Author: obo $ $Date: 2006-09-16 17:48:18 $ * * The Contents of this file are made...
<commit_before>// Copyright (C) 2010-2014 Joshua Boyce. // See the file COPYING for copying permission. #include "character_manager.hpp" #include <cstdio> #include <hadesmem/read.hpp> #include "offsets.hpp" std::vector<Character*> DumpCharacterArray(hadesmem::Process const& process, ...
<commit_before>/** * \file * <!-- * Copyright 2015 Develer S.r.l. (http://www.develer.com/) * --> * * \brief OutputManager class implementation * * \author Aurelien Rainone <aurelien@develer.org> */ #include "outputmanager.h" OutputManager::OutputManager(QObject *parent) : QObject(parent) { } void OutputMa...
<commit_before><commit_msg>INTEGRATION: CWS chart19 (1.5.10); FILE MERGED 2008/01/08 12:14:59 iha 1.5.10.3: #i37823# clockwise pie charts 2007/12/18 13:45:20 bm 1.5.10.2: RESYNC: (1.5-1.6); FILE MERGED 2007/12/15 13:00:58 iha 1.5.10.1: #i16776# starting angle for pie charts<commit_after><|endoftext|>
<commit_before>#include "mitkImageMapper2D.h" #include "mitkRenderWindow.h" #include "widget.h" #include "picimage.h" #include "pic2vtk.h" #include "PlaneGeometry.h" #include "BaseRenderer.h" #include "DataTreeNode.h" #include "mitkColorProperty.h" #include "mitkLevelWindowProperty.h" #include "mitkFloatProperty.h" #i...
<commit_before>/* Copyright (C) 2012-2014 Soomla 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 law or agreed t...
<commit_before>#ifndef __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_POSITIVE_ORDERED_HPP__ #define __STAN__MATH__ERROR_HANDLING__MATRIX__CHECK_POSITIVE_ORDERED_HPP__ #include <sstream> #include <stan/math/matrix/Eigen.hpp> #include <stan/math/error_handling/raise_domain_error.hpp> namespace stan { namespace math { ...
<commit_before>/* csPerfThread.hpp: Copyright (C) 2005 Istvan Varga This file is part of Csound. The Csound 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 vers...
<commit_before>/* * Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version. * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2005-2...
<commit_before>/* * Unit tests for the TTAverage Object for Jamoma DSP * Copyright © 2011, Nils Peters, Tim Place * * License: This code is licensed under the terms of the "New BSD License" * http://creativecommons.org/licenses/BSD/ */ #include "TTAverage.h" TTErr TTAverage::test(TTValue& returnedTestInfo) {...
<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 2019 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 applica...
<commit_before>#ifndef _SNARKFRONT_SECURE_HASH_STD_HPP_ #define _SNARKFRONT_SECURE_HASH_STD_HPP_ #include <cassert> #include <cstdint> #include <ostream> #include <string> #include "DataBuffer.hpp" namespace snarkfront { //////////////////////////////////////////////////////////////////////////////// // FIPS PUB 180...
<commit_before>// Copyright 2013 Yangqing Jia #include <cmath> #include <cstring> #include <cuda_runtime.h> #include "gtest/gtest.h" #include "caffe/blob.hpp" #include "caffe/common.hpp" #include "caffe/filler.hpp" #include "caffe/vision_layers.hpp" #include "caffe/test/test_gradient_check_util.hpp" #include "caffe/...
<commit_before>#include <cmd_hints_handler.h> #include <QJsonArray> CmdHintsHandler::CmdHintsHandler(){ m_vInputs.push_back(CmdInputDef("questid").required().integer_().description("Quest id")); } QString CmdHintsHandler::cmd(){ return "hints"; } bool CmdHintsHandler::accessUnauthorized(){ return true; } bool Cm...
<commit_before>#include "pixelboost/debug/assert.h" #include "pixelboost/logic/entity.h" #include "pixelboost/logic/message/update.h" #include "pixelboost/logic/scene.h" #include "pixelboost/logic/system.h" using namespace pb; Scene::Scene() { _NextFreeUid = (1<<24) + 1; } Scene::~Scene() { for (EntityMap::i...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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.or...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the...
<commit_before>#include <string.h> #include <stdlib.h> #include <iostream> #include <sys/socket.h> #include <arpa/inet.h> #include <transport/TSocket.h> #include <transport/TBufferTransports.h> #include <protocol/TCompactProtocol.h> #include "proxy/AccumuloProxy.h" using namespace std; using namespace accumulo; using ...
<commit_before>/************************************************************************* * * $RCSfile: targetdragcontext.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2003-10-06 14:38:51 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2016 dune-gdt developers and contributors. All rights reserved. // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // Authors: // Felix Schindler (2015 - 2016) #i...
<commit_before>#include <iostream> #include <immintrin.h> #include <x86intrin.h> using namespace std; int main () { float src_a[8], dest[8]; for (int i = 0; i < 8; ++i) src_a[i] = float(i); __m256 a,b,c; a = _mm256_loadu_ps(&src_a[0]); b = _mm256_set1_ps(100.0f); __m256 mask; c = a*b-a; mask = _mm...
<commit_before>/* * LRUCache_test.cpp * * Created on: Sep 21, 2013 * Author: dumoulma */ #include <gmock/gmock.h> #include <gtest/gtest.h> #include <string> #include "LRUCache.h" #include "ICurl.h" using std::string; using namespace testing; using ::testing::Return; class ICurlMock: public ICurl { public:...
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2010. // (C) Copyright Gennadiy Rozental & Ullrich Koethe 2001. // 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) // See http://www.boost.org/libs/test...
<commit_before>#include <gsl/span> #include "gtest/gtest.h" #include "gmock/gmock.h" #include "fs/ExperimentFile.hpp" #include "mock/FsMock.hpp" #include "mock/time.hpp" using testing::NiceMock; using testing::Return; using testing::InSequence; using testing::Eq; using testing::_; using namespace experim...
<commit_before>/************************************************************************* * * $RCSfile: statusbarwrapper.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2005-03-01 19:44:04 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>/* * Copyright (c) 2018-2019 Arm Limited and affiliates. * SPDX-License-Identifier: Apache-2.0 * * 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...
<commit_before>/** * @file GameSymbols.cpp * * @author <a href="mailto:mellmann@informatik.hu-berlin.de">Heinrich Mellmann</a> * Implementation of class GameSymbols */ #include "GameSymbols.h" using namespace naoth; using namespace std; void GameSymbols::registerSymbols(xabsl::Engine& engine) { // enum type for te...
<commit_before>// // Name: BuildingDlg.cpp // // Copyright (c) 2001 Virtual Terrain Project // Free for all uses, see license.txt for details. // #ifdef __GNUG__ #pragma implementation "BuildingDlg.cpp" #endif // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifndef WX_PRECO...
<commit_before>#include "Manager.h" #include "Util.h" #include "SearchCubePruning.h" #include "StaticData.h" #include "InputType.h" #include "TranslationOptionCollection.h" #include <boost/foreach.hpp> using namespace std; namespace Moses { class BitmapContainerOrderer { public: bool operator()(const BitmapContainer...
<commit_before>#include <mu_coin_qt/qt.hpp> #include <thread> int main (int argc, char ** argv) { QApplication application (argc, argv); auto service (boost::make_shared <boost::asio::io_service> ()); auto pool (boost::make_shared <boost::network::utils::thread_pool> ()); mu_coin::processor_service pr...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commer...
<commit_before>/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with ...
<commit_before>#pragma once #include "fwd.hpp" #include "traceback.hpp" #include "Converter.hpp" #include <configure/error.hpp> namespace configure { namespace lua { inline std::string empty_function_name() { return ""; } template<typename Ret, typename Fn, typename FnName = std::string(*)()> Ret store_excepti...
<commit_before>/** * Copyright (C) 2017 3D Repo Ltd * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * T...
<commit_before>/****************************************************************************** * This file is part of the Mula project * Copyright (c) 2011 Laszlo Papp <lpapp@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * L...
<commit_before>/* * * Copyright 2018 gRPC authors. * * 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 applicab...
<commit_before>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted p...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
<commit_before>/*! @file @author Albert Semenov @date 07/2012 */ #include "Precompiled.h" #include "ListBoxItemControl.h" namespace tools { void ListBoxItemControl::getCellDimension(MyGUI::Widget* _sender, MyGUI::IntCoord& _coord, bool _drop) { int height = MyGUI::utility::parseValue<int>(_sender-...
<commit_before>int test() { int y, m, d; assert_equal(2451545, dateToInt(2000, 1, 1)); intToDate(2451545, y, m, d); assert_equal(2000, y); assert_equal(1, m); assert_equal(1, d); for (int i = 1; i <= 31; i++) assert_equal((6 + i - 1) % 7, dateToInt(2012, 1, i) % 7); for (int i = 1; i <=...
<commit_before>#include "BinaryFileStorageDriver.h" bool BinaryFileStorageDriver::openConnection(const std::string path, bool withTrunc) { if (!file.is_open()) { if (withTrunc) { file.open(path.c_str(), std::fstream::in | std::fstream::out | std::fstream::trunc); } else { file.open(path.c_str(), ...
<commit_before>#include "SPlotFit2.h" // from STL #include <string> // from ROOT #include "TIterator.h" // from RooFit #include "RooAbsArg.h" #include "RooCategory.h" #include "RooCmdArg.h" #include "RooDataHist.h" #include "RooDataSet.h" #include "RooLinkedListIter.h" #include "RooRealVar.h" #include "RooArgList.h"...
<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>#include "ga_callbacks.h" #include "gate_helper.h" #include "gpu_task.h" #include "EACglobals.h" #include "evaluators/IEvaluator.h" #include "circuit/gate/GateInterpreter.h" float ga_callbacks::evaluator(GAGenome& genome) { static const size_t vec_count = pGlobals->settings->testVectors.setSize; ...
<commit_before>#include "PackRegularRect.h" #include "check_params.h" #include <drag2d.h> #include <easypacker.h> namespace edb { std::string PackRegularRect::Command() const { return "pack-rect"; } std::string PackRegularRect::Description() const { return "pack regular rects which edge are times of 4"; } std::s...
<commit_before>// Copyright 2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "elang/optimizer/transforms/clean_pass.h" #include "elang/api/pass_controller.h" #include "elang/optimizer/depth_firs...
<commit_before>#ifndef _VERTEX_HPP_ #define _VERTEX_HPP_ #include <iostream> #include "Arc.hpp" template<class T, class C> class Graph; template<class T, class C> class Arc; template<class T, class C> class Vertex { private: friend class Graph<T,C>; T key; Arc<T,C>* ady; Vertex* n...
<commit_before>#include "pch.h" #include "Core\Event.h" #include "Systems\UILayoutSystem.h" #include "Components\UIPanelComponent.h" #include "Components\BoundsComponent.h" #include "Components\ScreenPositionComponent.h" using namespace Windows::ApplicationModel; using namespace PinnedDownClient::Systems; using name...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkAzimuthElevationToCartesianTransformTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2001 Insight Consortium All rights...
<commit_before>/**************************************************************************** * * Copyright 2018 Samsung Electronics 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>/* For lseek64() */ #define _LARGEFILE64_SOURCE #include <cstdio> // DEBUG #include <limits.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <mycpp/native_file.h> #include <mycpp/util.h> #include <mycpp/io.h> #define DEBUG(a) ; namesp...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bastypes.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-07 20:18:21 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: dlgedobj.hxx,v $ * * $Revision: 1.15 $ * * last change: $Author: vg $ $Date: 2003-03-26 12:51:16 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>// ----------------------------------------------------------------------- // pion-common: a collection of common libraries used by the Pion Platform // ----------------------------------------------------------------------- // Copyright (C) 2007 Atomic Labs, Inc. (http://www.atomiclabs.com) // // Distr...
<commit_before>/* * Copyright 2016 Intel Corporation * * 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 applica...
<commit_before>// Copyright 2012 Cloudera 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 law or ...
<commit_before>/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // A benchmark designed to isolate the constant overheads of picture recording. // We record a very tiny (one op) picture; one op is better than none, as it for...
<commit_before>/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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...
<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 QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LI...
<commit_before>// Copyright (c) 2020 by Apex.AI Inc. 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...
<commit_before>//---------------------------------------------------------------------------// /*! * \file moab_transfer_1.cpp * \author Stuart R. Slattery * \brief Moab mesh transfer example. */ //---------------------------------------------------------------------------// #include <iostream> #include <vector> #...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: SalGtkFilePicker.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-20 00:13:47 $ * * The Contents of this file a...
<commit_before> #include "AConfig.h" #if(HAS_STD_PILOT) #include "Device.h" #include "Pin.h" #include "Pilot.h" #include "Timer.h" Timer pilotTimer; bool _headingHoldEnabled = false; int _headingHoldTarget = 0; int hdg = 0; int hdg_Error; int raw_Left, raw_Right; int left, right; // motor outputs in microseconds, +/...