text
stringlengths
54
60.6k
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>#pragma once #include <type_traits> #include <vector> #include "graphi.hpp" template<template<bool, typename> class GraphImp, bool Dir, typename T> class Graph { public: Graph(); virtual ~Graph() = default; int add_vertex(const Vertex<T> &vertex); void rm_vertex(const Vertex<T> &vertex...
<commit_before>// @(#)root/base:$Name: $:$Id: TVirtualViewer3D.cxx,v 1.9 2007/01/29 15:10:48 brun Exp $ // Author: Olivier Couet 05/10/2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>#include <stdio.h> #include <stdlib.h> #include "fortune_points/geom/line.h" #include "fortune_points/__tests__/algorithm/test_helper/samples_reader.h" #include <string> #include <vector> /* The read_algorithm_output matches the test_output_generator.cpp output format. */ void read_algorithm_outpu...
<commit_before><commit_msg>gui: add back missing display control set command<commit_after><|endoftext|>
<commit_before>// Ouzel by Elviss Strazdins #ifndef OUZEL_CORE_WORKERPOOL_HPP #define OUZEL_CORE_WORKERPOOL_HPP #include <condition_variable> #include <functional> #include <memory> #include <mutex> #include <queue> #include <vector> #include "../thread/Thread.hpp" #include "../utils/Log.hpp" namespace ouzel::core {...
<commit_before> {%partial doc .%} NAN_METHOD({{ cppClassName }}::{{ cppFunctionName }}) { NanScope(); {%partial guardArguments .%} if (args.Length() == {{args|jsArgsCount}} || !args[{{args|jsArgsCount}}]->IsFunction()) { return NanThrowError("Callback is required and must be a Function."); } {{ cppFuncti...
<commit_before>// Copyright (c) 2017-2018 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy,...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: finalthreadmanager.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: obo $ $Date: 2007-07-18 13:33:14 $ * * The Contents of this fil...
<commit_before>// marked_iostream.hpp #ifndef _MARKED_STREAMBUF_H_ #define _MARKED_STREAMBUF_H_ #include <streambuf> #include <iostream> #include <string> #include "Buffer.hpp" // each thread should create its own marked_fifo_streambuf (and associated iostreams) // using the same BufferFifo... // the iostreams shou...
<commit_before>#include "FileHdrWrapper.h" #include "PEFile.h" #include <time.h> #include <QDateTime> QString getDateString(const quint64 timestamp) { const time_t rawtime = (const time_t)timestamp; QString format = "dddd, dd.MM.yyyy hh:mm:ss"; QDateTime date1(QDateTime(QDateTime::fromTime_t(rawtime))); ...
<commit_before>/************************************************************************* * * $RCSfile: XMLExportSharedData.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2004-09-08 13:49:26 $ * * The Contents of this file are made available subject to the terms of * either of the foll...
<commit_before>// csastil_includeorder.cpp -*-C++-*- #include <clang/Basic/IdentifierTable.h> #include <clang/Basic/SourceLocation.h> #include <clang/Basic/SourceManager.h> #include <clang/Lex/Token.h> #include <csabase_analyser.h> #include <csabase_diagnostic_builder.h> #incl...
<commit_before>#include "iOSCFClient.h" #include "BasicAuth.h" #include <cstdio> #include <cstring> #include <cassert> #include <iostream> #include <CoreFoundation/CoreFoundation.h> #include <CFNetwork/CFNetwork.h> #include <CFNetwork/CFHTTPStream.h> using namespace std; class iOSCFClient : public HTTPClient { pu...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <stdlib.h> #include <string> void find_smallest_mulltiple(int x, int n){ std::cout << "x: " << x << " n: " << n << std::endl; } int main(int argc, char* argv[]){ if(argc != 2){ std::cerr << "usage: ./moan <filename>" << std::endl;...
<commit_before>/* * Copyright (c) 2012 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 "iotsa.h" #include "iotsaConfigFile.h" #include "iotsaFS.h" #ifdef ESP32 #include <esp_log.h> #include <rom/rtc.h> #endif // // Global variable initialization // IotsaConfig iotsaConfig; #ifdef IOTSA_WITH_HTTPS #include "iotsaConfigDefaultCert512.h" #endif void IotsaConfig::loop() { if (re...
<commit_before>/** * JACUI - Just Another C++ User Interface Library * * Copyright (C) 2011 The JACUI Project * * http://code.google.com/p/jacui/ * * 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...
<commit_before>/* Copyright 2015 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>/** \file * * Copyright (c) 2012-2014 by Travis Gockel. All rights reserved. * * This program is free software: you can redistribute it and/or modify it under the terms of the Apache License * as published by the Apache Software Foundation, either version 2 of the License, or (at your option) a...
<commit_before>/** File: SymbolTable.cpp Project: DCPU-16 Tools Component: LibDCPU-ci-lang Authors: Patrick Flick Description: Defines the SymbolTable class. **/ #include "SymbolTypes.h" #include "SymbolTableScope.h" #include "SymbolTable.h" SymbolTable::Symbo...
<commit_before>#include "Halide.h" // This is a test of using the old buffer_t struct and having it // auto-upgrade to the new one. We need some generator for which // bounds inference does something, and with an extern definition. class OldBufferT : public Halide::Generator<OldBufferT> { public: Input<Buffer<int3...
<commit_before><commit_msg>Fix KTX image test on Windows<commit_after><|endoftext|>
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkMySQLDatabase.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2010-2016 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade 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 Soft...
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2004. // 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 for the library home page. // // File : $RCSfile$ ...
<commit_before>/* _______ __ __ __ ______ __ __ _______ __ __ * / _____/\ / /\ / /\ / /\ / ____/\ / /\ / /\ / ___ /\ / |\/ /\ * / /\____\// / // / // / // /\___\// /_// / // /\_/ / // , |/ / / * / / /__ / / // / // / // / / / __...
<commit_before>#include <mart-common/experimental/DynArray.h> #include <catch2/catch.hpp> #include <span> TEST_CASE( "experimental_DynArrayTrivial_has_correct_size", "[experimental][dynarray]" ) { mart::DynArrayTriv<int> arr1; CHECK( arr1.size() == 0 ); mart::DynArrayTriv<int> arr2( 5 ); CHECK( arr2.size() == 5...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>// Copyright 2016 Google 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 ...
<commit_before>// Copyright 2016 Google 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 ...
<commit_before>#pragma once #include <random> #include "Moe.hpp" namespace moe { namespace Crossover { enum : const unsigned int { OnePoint = 0, TwoPoint, Uniform }; } } template <typename GenotypeType> class Crossover { public: Crossover(std::default_random_engine& _...
<commit_before>#ifndef RASPBERRY_HPP #define RASPBERRY_HPP #include <memory> #include <utility> /// Implementation detail for RASPBERRY_DECL_METHOD. Unstable. #define RASPBERRY_DETAIL_QUALIFIED_METHOD(ConceptName, FuncName, CVQualifier, RefQualifier) \ template <typename R, typename... Args> \ struct ConceptName<R(Ar...
<commit_before>#include <map> #include <stack> #include <string> #include <functional> #include <random> #include <cstddef> namespace usagi { namespace imgui { /// @brief ImGui の menu 系 API のステートフルラッパー /// add( value_type( "", ), ... ) template < typename FUNCTOR_TYPE = void > struct statefull_men...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_UI_BUTTON_HPP #define RJ_UI_BUTTON_HPP #include <rectojump/global/common.hpp> #include <rectojump/shared/input.hpp> namespace rj { class button : public sf::Drawable { protected: sf::RectangleShape ...
<commit_before>// This file is distributed under the MIT license. // See the LICENSE file for details. #include "../stack.h" namespace visionaray { template <typename T, typename B> VSNRAY_FUNC inline hit_record<basic_ray<T>, primitive<unsigned>> intersect ( basic_ray<T> const& ray, B const& b ) { using...
<commit_before>//--------------------------------------------------------------------*- C++ -*- // CLING - the C++ LLVM-based InterpreterG :) // author: Roman Zulak // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Lesser General Public Lic...
<commit_before>#ifndef VSMC_UTILITY_STDTBB_HPP #define VSMC_UTILITY_STDTBB_HPP #include <vsmc/internal/common.hpp> #include <thread> #if VSMC_HAS_CXX11LIB_FUTURE #include <future> #endif namespace vsmc { /// \brief Blocked range /// \ingroup STDTBB template <typename T> class BlockedRange { public : typed...
<commit_before>#include <Eigen/Core> USING_PART_OF_NAMESPACE_EIGEN namespace Eigen { template<typename Scalar, typename Derived> void echelon(MatrixBase<Scalar, Derived>& m) { const int N = std::min(m.rows(), m.cols()); for(int k = 0; k < N; k++) { int rowOfBiggest, colOfBiggest; int cornerRows = m.ro...
<commit_before>/** * 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 you under the Apache License, Version 2.0 (the * ...
<commit_before>/* * Copyright 2014 CNRS. * * 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 agr...
<commit_before>/* * Copyright (c) 2003-2011 Rony Shapiro <ronys@users.sourceforge.net>. * All rights reserved. Use of the code is allowed under the * Artistic License 2.0 terms, as specified in the LICENSE file * distributed with this code, or available from * http://www.opensource.org/licenses/artistic-license-2.0.php...
<commit_before>#ifndef __sitksimpletransformix_hxx_ #define __sitksimpletransformix_hxx_ #include "sitkSimpleTransformix.h" namespace itk { namespace simple { template<typename TInputImage > Image SimpleTransformix::ExecuteInternal( void ) { typedef elastix::TransformixFilter< TInputImage > TransformixFilterTyp...
<commit_before>// // Copyright (C) 2003-2019 Greg Landrum and Rational Discovery LLC // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #incl...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_SPACES_CONTINUOUSLAGRANGE_PDELAB_HH #define DUNE_GDT_SPACES_CONTINUOUSL...
<commit_before>#include <iostream> #include <functional> #include <memory> #include <future> #include "integration_test_helper.h" #include "dronecore.h" using namespace dronecore; using namespace std::placeholders; // for `_1` static std::shared_ptr<MissionItem> add_mission_item(double latitude_deg, ...
<commit_before>/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> 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, ei...
<commit_before> /// casting PyObject* to Sofa types /// contains only inlined functions and must be included at the right place (!) /// getting a T::SPtr from a PyObject* /// @warning for T inherited from Base template<class T> inline typename T::SPtr get_sptr(PyObject* obj) { return ((PySPtr<T>*)obj)->object;...
<commit_before>// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); you may not // use this file except in compliance with the License. You may obtain a copy of // the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>// Copyright (c) 2014 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/renderer/api/atom_api_spell_check_client.h" #include <map> #include <vector> #include "atom/common/native_mate_converters/string16_converter.h" #include...
<commit_before>#include "ConsoleController.h" #include "ConsoleOption.h" #include "ConsoleReader.h" #include "PlayerCharacter.h" #include "NonPlayerCharacter.h" #include "ConsoleOutputStream.h" #include "ConsoleInputStream.h" #include "AutoConsoleOption.h" #include "GameConditions.h" using namespace std; int main(){ ...
<commit_before>#pragma once // ---------------------------------------------------------------------- // std::vector<std::string> split(const std::string& s, const std::string& delim, bool keep_empty = Split::KeepEmpty) // Split string by delimiter into array of substrings // std::vector<std::string> split(const std::...
<commit_before>#include <SDL2/SDL.h> #include "PrjHndl.h" #include "TxtRead.h" #include "Resource.h" #include "compression/KidDec.h" #include "compression/ReadPlain.h" #include "FW_KENSC/comper.h" #include "FW_KENSC/enigma.h" #include "FW_KENSC/kosinski.h" #include "FW_KENSC/nemesis.h" #include "FW_KENSC/saxman.h" c...
<commit_before>/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2020 Baldur Karlsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
<commit_before> /* * Copyright (C) 2010, Directed Edge, Inc. | Licensed under the MPL and LGPL */ #include <QActiveResource.h> #include <QDateTime> #include <QDebug> #include <ruby.h> typedef VALUE(*ARGS)(...); typedef int(*ITERATOR)(...); /* * Modules */ static VALUE rb_mQAR; static VALUE rb_mActiveResource; ...
<commit_before>/*! \copyright (c) RDO-Team, 2011 \file rdo_fuzzy.cpp \author (rdo@rk9.bmstu.ru) \date 24.07.2008 \brief \indent 4T */ // ---------------------------------------------------------------------------- PCH #include "simulator/runtime/pch/stdpch.h" // ---------...
<commit_before>#include "AliFMDAnalysisTaskSE.h" #include "AliESDEvent.h" #include "iostream" #include "AliESDFMD.h" #include "AliMCEventHandler.h" #include "AliAnalysisManager.h" #include "AliFMDAnaParameters.h" #include "AliLog.h" ClassImp(AliFMDAnalysisTaskSE) //____________________________________________________...
<commit_before>// $Id: $ AliAnalysisTaskEMCALClusterizeFast* AddTaskClusterizerFW( const char* trigType = "L0", // Trigger type: it can be "L0" (4x4, with 2x2 sliding inside SM), //"L1GAMMA" (4x4, with 2x2 sliding through SMs), "L1JET" (40x40 with 4x4 sliding through SMs) const Bool_t fOR = ...
<commit_before>//if like define a different number of signal for TPC PID //by default the task is anyway computing 1, 2 and 3 sigmas const Bool_t theRareOn = kFALSE; const Bool_t anaType = 1;//0 HD; 1 UU; const Bool_t doImp = kFALSE;// imp par studies //---------------------------------------------------- A...
<commit_before>/* ndhs.c - dhcp server * * (c) 2011-2014 Nicholas J. Kain <njkain at gmail dot com> * 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 mus...
<commit_before>/* * Copyright 2013-2014 BlackBerry Limited. * * 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>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<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) 2008 Renato Araujo Oliveira Filho <renatox@gmail.com> Copyright (c) 2000-2009 To...
<commit_before>#include "ModuleTerminal.hpp" #include "../Core/Core.hpp" void ModuleTerminal::ArgumentNameList::onKeyPressed(char inputed) { class CodeInputer : public LG::InputWindow { public: FUNC_TO_CALLER(ModuleTerminal) virtual NEObject& clone() const { return *(new CodeInputer(*this)); } CodeInputer(NE...
<commit_before><commit_msg>FEM: vtk Post, ensure correct data visuliation with non-continious node id's, workaround for issue #3617<commit_after><|endoftext|>
<commit_before>#include <SenseKit.h> #include <SenseKitAPI.h> #include <Plugins/StreamServiceProxy.h> SENSEKIT_BEGIN_DECLS SENSEKIT_LOCAL StreamServiceProxyBase* __sensekit_api_proxy_ptr = nullptr; SENSEKIT_API_PROXY StreamServiceProxyBase* sensekit_api_get_proxy() { return __sensekit_api_proxy_ptr; } SENSEKIT_...
<commit_before>#include <future> #include <QSqlDatabase> #include <QSqlQuery> #include <QSqlError> #include <QSqlRecord> #include <QQmlContext> #include <QThread> #include "kernel.h" #include "connectorinterface.h" #include "resource.h" #include "ilwisobject.h" #include "raster.h" #include "mastercatalog.h" #include "c...
<commit_before>#include "mitkBoundingObject.h" #include "vtkTransform.h" #include "mitkVector.h" mitk::BoundingObject::BoundingObject() : m_Positive(true) { m_Geometry3D->Initialize(); } mitk::BoundingObject::~BoundingObject() { } void mitk::BoundingObject::SetRequestedRegionToLargestPossibleRegion() { } bool...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2013, 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>// Tests to make sure that type conversions happen only when they should #include <chaiscript/chaiscript.hpp> void f1(int) { } void f4(std::string) { } void f2(int) { } void f3(double) { } int main() { chaiscript::ChaiScript chai; chai.add(chaiscript::fun(&f1), "f1"); chai.add(chaiscript::f...
<commit_before>// Copyright 2013 The Flutter 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 "flutter/shell/platform/android/android_context_gl.h" #include <EGL/eglext.h> #include <utility> #include "flutter/fml/trace_eve...
<commit_before>#include "arch/runtime/starter.hpp" #include "serializer/config.hpp" #include "unittest/mock_file.hpp" #include "unittest/gtest.hpp" namespace unittest { // This test is completely vacuous, and will need to be expanded in the future. void run_CreateConstructDestroy() { mock_file_opener_t file_open...
<commit_before>#include <model_game.h> #include <utils_logger.h> #include <iostream> #include <algorithm> // --------------------------------------------------------------------- std::vector<std::string> ModelGame::TYPES = {"jeopardy"}; std::vector<std::string> ModelGame::FORMS = {"online", "offline"}; std::vector<st...
<commit_before>#include <silicium/tcp_acceptor.hpp> #include <silicium/coroutine.hpp> #include <silicium/total_consumer.hpp> #include <silicium/flatten.hpp> #include <silicium/socket_observable.hpp> #include <silicium/sending_observable.hpp> #include <silicium/received_from_socket_source.hpp> #include <silicium/observa...
<commit_before>#include "nanyc-utils.h" #include <yuni/string.h> #include <iostream> namespace ny { namespace print { int noInputScript(const char* const argv0) { std::cerr << argv0 << ": no input script file\n"; return EXIT_FAILURE; } int usage(const char* const argv0) { std::cout << "Usage: " << argv0 << " [o...
<commit_before>/* * Poker.cpp * * Created on: Oct 28, 2013 * Author: Eli Siskind * Description: Main method */ //#include "Gui.h" #include "Display.h" #include "Game.h" #include "Layout.h" #include "../GameObject.h" #include <cstdlib> #include <iostream> using namespace std; GameObject *game; int runG...
<commit_before>// @(#)root/foam:$Name: $:$Id: TFoamVect.cxx,v 1.7 2005/04/13 13:15:27 brun Exp $ // Author: S. Jadach <mailto:Stanislaw.jadach@ifj.edu.pl>, P.Sawicki <mailto:Pawel.Sawicki@ifj.edu.pl> //_____________________________________________________________________________ // ...
<commit_before>/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /*********************************************...
<commit_before>#include "ResourceLibExporter.h" ResourceLibExporter::ResourceLibExporter() { m_Output = new std::ofstream(); } ResourceLibExporter::~ResourceLibExporter() { delete m_Output; } ResourceLibExporter * ResourceLibExporter::GetInstance() { static ResourceLibExporter resourceLibExporter; return &re...
<commit_before>/* Copyright 2013-present Barefoot Networks, 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 b...
<commit_before>#pragma once /* * Author(s): * - Chris Kilner <ckilner@aldebaran-robotics.com> * - Cedric Gestes <gestes@aldebaran-robotics.com> * - Herve Cuche <hcuche@aldebaran-robotics.com> * * Copyright (C) 2010, 2011 Aldebaran Robotics */ /** @file * @brief Convenient log macro */ #ifndef LOG_HPP...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2013 Jolla Ltd. ** Copyright (c) 2021 Open Mobile Platform LLC. ** Contact: Petri M. Gerdt <petri.gerdt@jolla.com> ** Contact: Raine Makelainen <raine.makelainen@jolla.com> ** *******************************...
<commit_before>/* Copyright 2021 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
<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 "app/surface/transport_dib.h" #include <unistd.h> #include <sys/stat.h> #include "base/eintr_wrapper.h" #include "base/loggi...
<commit_before>#include "ncd_gateway.h" #include "spark_wiring_eeprom.h" String firmware_version = "000029"; String eventReturns[5]; unsigned long tOut = 3000; int SerialLock = 0; void init_gateway(){ Particle.function("deviceComm", gatewayCommand); Particle.subscribe("ncd_deviceCom", commandHandler, MY...
<commit_before>#include "DisplayDashboard/DisplayDashboardUI/DisplayDashboardUI.h" #include "RaceModeDisplay/RaceModeDisplayUI/RaceModeDashboardUI.h" #include "DisplayDashboard/DisplayDashboardView/DisplayDashboardView.h" #include "RaceModeDisplay/RaceModeDashboardView.h" #include "Faults/BatteryFaults/BatteryFaultList...
<commit_before><commit_msg>cppcheck: redundantAssignment<commit_after><|endoftext|>
<commit_before>/* yahoochatselectorwidget.h Copyright (c) 2006 by Andre Duffeck <andre@duffeck.de> Kopete (c) 2002-2006 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* * ...
<commit_before>#ifdef HAVE_PERL #include "main.h" #include "User.h" #include "Nick.h" #include "Modules.h" #include "Chan.h" // perl stuff #include <EXTERN.h> #include <perl.h> #include <XSUB.h> class CModPerl; static CModPerl *g_ModPerl = NULL; class CModPerl : public CModule { public: MODCONSTRUCTOR( CModPerl )...
<commit_before>#include "eeprom_access.h" //typedef struct reading { // String data; //Assuming a maximum of 30 characters // struct reading * next; //} reading_t; //reading_t * reading_queue_head = NULL; void storeData(String msg) { int position; int offset; EEPROM.put(0, DATA_IN_EEP); ...
<commit_before>#include "StdAfx.h" #include "MFCDateTime.h" //////////////////////////////////////////////// // CMFCMonthCalCtrl CMFCMonthCalCtrl::CMFCMonthCalCtrl(CDuiObject* pParentObj, UINT msg, UINT id) : CMonthCalCtrl() { m_DbClick = false; m_nMsgClick = msg; m_pParentObj = pParentObj; m_ControlID = id; } C...
<commit_before>#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QI_MESSAGING_URL_HPP_ #define _QI_MESSAGING_URL_HPP_ #include <string> #include <vector> #include <qi/api.hpp> namespace qi { class UrlPrivate; /** qi::Url is an address represented by a protoco...
<commit_before>/** Copyright (C) 2018 European Spallation Source ERIC */ /** @file * * @brief Unit tests. */ #include <gtest/gtest.h> #include "../AdcReadoutBase.h" #include "TestUDPServer.h" #include <random> #ifdef TROMPLELOEIL_AVAILABLE #include <trompeloeil.hpp> #endif std::uint16_t GetPortNumber() { stat...
<commit_before>//=====================================================================// /*! @file @brief R8C MAX7219 メイン @n P1_0: DIN @n P1_1: /CS @n P1_2: CLK @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.co...
<commit_before>// ----------------------------------------------------------------------------- // Copyright : (C) 2014 Andreas-C. Bernstein // License : MIT (see the file LICENSE) // Maintainer : Andreas-C. Bernstein <andreas.bernstein@uni-weimar.de> // Stability : experimental // // Renderer // -----------------...
<commit_before><commit_msg>revert SparseBatchLR.cpp<commit_after>#include "SparseBatchLR.h" #include <cmath> #include <cstdio> #include <cstdlib> #include <fstream> #include <iostream> #include "ML/Common/string_util.h" #include "ML/Common/log.h" // public interface void SparseBatchLR::load_data_file(const std::string...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>//----------------------------------------------------------------------------- // All code is property of Matthew Loesby // Contact at Loesby.dev@gmail.com for permission to use // Or to discuss ideas // (c) 2017 // Systems/Time.cpp // The boilerplate system code, to ease new system creation #include ...
<commit_before>/* * Copyright © 2017 Collabora Ltd. * * This file is part of vkmark. * * vkmark 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 o...