text
stringlengths
54
60.6k
<commit_before>#pragma once #include <stdint.h> #include <stddef.h> #include <exception> #include <setjmp.h> #include <list> #include <vector> namespace eosio { namespace chain { class apply_context; namespace eosvmoc { class code_cache_base; class memory; struct code_descriptor; class executor { public: ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: formtoolbars.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: ihi $ $Date: 2007-04-16 16:21:44 $ * * The Contents of this file are ...
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmprop.cxx,v $ * * $Revision: 1.18 $ * * last change: $Author: hr $ $Date: 2006-06-19 15:56:22 $ * * The Contents of this file are made a...
<commit_before>#pragma once #include "configuration_monitor.hpp" #include "console_user_id_monitor.hpp" #include "constants.hpp" #include "frontmost_application_observer.hpp" #include "grabber_client.hpp" #include "input_source_observer.hpp" #include "logger.hpp" #include "menu_process_manager.hpp" #include "receiver....
<commit_before>#include "main.hpp" #include "ParticleRenderer.hpp" #include "Timeline.hpp" void ParticleRenderer::reset() { graphicsPipeline.destroy(); uniforms.clear(); } void ParticleRenderer::setTimeline(std::unique_ptr<Timeline> _timeline) { reset(); timeline = std::move(_timeline); state.clock.setPe...
<commit_before>/************************************************************************** The MIT License (MIT) Copyright (c) 2015 Dmitry Sovetov https://github.com/dmsovetov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
<commit_before>// // PROJECT: Aspia Remote Desktop // FILE: host/host_session.cc // LICENSE: Mozilla Public License Version 2.0 // PROGRAMMERS: Dmitry Chapyshev (dmitry@aspia.ru) // #include "host/host_session.h" #include "host/host_session_launcher.h" #include "base/version_hel...
<commit_before><commit_msg>Planning: bug fix with st-bounds decision.<commit_after><|endoftext|>
<commit_before>//===--- HTMLDiagnostics.cpp - HTML Diagnostics for Paths ----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------...
<commit_before>#include <opengl/draw_info.hpp> #include <iostream> using namespace boomhs; namespace opengl { //////////////////////////////////////////////////////////////////////////////////////////////////// // BufferHandles BufferHandles::BufferHandles() { glGenBuffers(NUM_BUFFERS, &vbo_); glGenBuffers(NUM_BU...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>/* * Copyright (c) 2011, 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>#include "wrappers.hpp" #include "support/simd.hpp" #ifdef CPB_USE_MKL # include <mkl.h> #endif using namespace cpb; PYBIND11_PLUGIN(_pybinding) { auto m = py::module("_pybinding"); wrap_greens(m); wrap_lattice(m); wrap_leads(m); wrap_model(m); wrap_modifiers(m); wrap_paral...
<commit_before> // Copyright (c) 2012, 2013 Lionel MOISAN. // Copyright (c) 2012, 2013 Pascal MONASSE. // Copyright (c) 2012, 2013 Pierre MOULON. // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at ...
<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 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-plat...
<commit_before>/************************************************************************* * * $RCSfile: FTable.hxx,v $ * * $Revision: 1.22 $ * * last change: $Author: oj $ $Date: 2002-07-05 08:07:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <string.h> #if !defined(_WIN32) && !defined(NDEBUG) #include <execinfo.h> #include <signal.h> #endif #include "gason.h" const char *SUITE[] = { u8R"raw("A JSON payload should be an object or array, not a string.")raw", u8R"raw(["Unclosed array")raw", u8R"r...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_Memory_SharedByValue_inl_ #define _Stroika_Foundation_Memory_SharedByValue_inl_ 1 /* ******************************************************************************** **************************...
<commit_before>/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2016 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>#include <bashclass/BashClass.h> #include <iostream> #include <sstream> BashClass::BashClass() { m_global = std::make_shared<BGlobal>(); m_scopeStack.push(m_global); m_focusScope = nullptr; m_focusVariable = nullptr; initHandlers(); } void BashClass::printStructure() { std::cout...
<commit_before>// Copyright (c) 2015 The Bitcoin Core developers // Copyright (c) 2015-2019 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "bench.h" #include "crypto/sha256.h" #include...
<commit_before>#include <sys/time.h> #include <sys/types.h> #include <sys/sysctl.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #include <fstream> #include <map> #include <CoreFoundation/CoreFoundation.h> namespace { CFStringRef applicationID = CFSTR("org.pqrs.PCKeyboardHack"); // ===============...
<commit_before>#include "uploadplugin.h" #include <QDebug> #include <QFile> #include <QUuid> #include <QFileInfo> #include <QTimer> #include <QBuffer> #include "json.h" using QtJson::JsonObject; using QtJson::JsonArray; UploadPlugin::UploadPlugin(QObject * parent) : UploadInterface (parent) { } Q_EXPORT_PLUGIN...
<commit_before>#pragma once #include "Communicator.hpp" #include "CompletionEvent.hpp" #include "Tasking.hpp" #include "Message.hpp" #include "MessagePool.hpp" #include "Delegate.hpp" #include "Collective.hpp" #include "Timestamp.hpp" #include <type_traits> namespace Grappa { /// GlobalCompletionEvent (GCE): /// Syn...
<commit_before>/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date: 2010-03-31 16:40:27 +0200 (Mi, 31 Mrz 2010) $ Version: $Revision: 16011 $ Copyright (c) German Cancer Research Center, Division of Medical and ...
<commit_before>/* * 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 3 of the License, or * (at your option) any later version. * * Copyright (C) 2012 Sergey Lisitsyn */ #inc...
<commit_before>/* * Copyright © 2012 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, mod...
<commit_before>/* * Copyright 2006-2008 The FLWOR 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 required by...
<commit_before>#include "btree/append_prepend.hpp" #include "btree/modify_oper.hpp" #include "buffer_cache/co_functions.hpp" struct btree_append_prepend_oper_t : public btree_modify_oper_t { btree_append_prepend_oper_t(boost::shared_ptr<data_provider_t> _data, bool _append) : data(_data), append(_append) ...
<commit_before>/* * Clever language * Copyright (c) 2010 Clever Team * * 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...
<commit_before>/** * Copyright : falcon build system (c) 2014. * LICENSE : see accompanying LICENSE file for details. */ #include <cassert> #include <git2.h> #include <git2/repository.h> #include "cache_git_directory.h" #include "graph.h" #include "logging.h" namespace falcon { CacheGitDirectory::CacheGitDirec...
<commit_before>/** * Result.cpp * * Class representing a MySQL result set * * @copyright 2014 Copernica BV */ /** * Dependencies */ #include "result.h" #include <iostream> /** * Set up namespace */ namespace ReactPhp { /** * Retrieve row at given offset */ void Result::fetchRow(Php::Parameters &p...
<commit_before>/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2017, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University ...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
<commit_before>// Copyright (C) 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. /* * CBrowseModelVersionDialog.cpp * * Created on: 21 Feb 2016 * Author: Peyman Zarrineh */ #include <QMessageBox> #in...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 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><commit_msg>Using macro for forward declarations<commit_after><|endoftext|>
<commit_before>/// @file /// @author Kresimir Spes /// @author Boris Mikic /// @author Ivan Vucica /// @version 3.3 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php #i...
<commit_before>/* * Copyright 2016 Ivan Ryabov * * 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 o...
<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 distributed WIT...
<commit_before>// // EnvelopeGeneratorBase.cpp // AudioKit Core // // Created by Shane Dunne, revision history on Github. // Copyright © 2018 AudioKit. All rights reserved. // #include "EnvelopeGeneratorBase.hpp" #include <cmath> namespace AudioKitCore { void ExponentialSegmentGenerator::reset(double initialV...
<commit_before>#ifndef assert_hh_INCLUDED #define assert_hh_INCLUDED namespace Kakoune { class StringView; // return true if user asked to ignore the error bool notify_fatal_error(StringView message); void on_assert_failed(const char* message); } #define STRINGIFY(X) #X #define TOSTRING(X) STRINGIFY(X) #ifdef KA...
<commit_before>/* Copyright 2018 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>///////////////////////////////////////// // // OpenLieroX // // code under LGPL, based on JasonBs work, // enhanced by Dark Charlie and Albert Zeyer // // ///////////////////////////////////////// // Client class - Sending routines // Created 22/7/02 // Jason Boettcher #include "LieroX.h"...
<commit_before>/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* Delegate for modifying the predictor in the case of infiltration into dry soil. License: BSD Authors: Ethan Coon (ATS version) (ecoon@lanl.gov) */ #include <boost/math/tools/roots.hpp> #include "predictor_delegate_bc_f...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>#include <iostream> #include <seqan/arg_parse.h> #include <seqan/seq_io.h> using namespace seqan; using namespace std; const char *PROGRAM_NAME = "biotool"; const char *HEADER = "FILENAME\tNUMSEQ\tTOTAL\tMIN\tAVG\tMAX"; const unsigned DEFAULT_MIN_LEN = 0; typedef enum {Error_command_line=1, Error_open...
<commit_before>#include "Item.h" namespace Analytics { uint qHash(const AssociationRule & r) { QString s; foreach (const ItemID & id, r.antecedent) s += QString::number(id) + ':'; s += "=>"; foreach (const ItemID & id, r.consequent) s += QString::number(id) + ':'; return qHash(s); ...
<commit_before>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorith...
<commit_before>// FRAGMENT(includes) #include <iostream> #include <seqan/align.h> #include <seqan/index.h> #include <seqan/misc/misc_random.h> using namespace seqan; // FRAGMENT(matrix_init) template <typename TStringSet, typename TIndexSpec> void k...
<commit_before>#include <stdio.h> #include "Halide.h" using namespace Halide; using namespace Halide::Internal; class FindPowerHvxOn : public IRVisitor { public: bool found = false; void visit(const Call *op) { if (op->name == "halide_hexagon_power_hvx_on") { found = true; } ...
<commit_before>#include <stdio.h> /* printf */ #include <stdlib.h> /* rand */ #include <time.h> /* clock */ #include <set> /* std::set<int> */ #include "scapegoat.h" #define INSERT 0 #define SEARCH 1 #define DELETE 2 #define MAX_OP 3 struct bench_node { int key; unsigned char op : 2; }; inline double time_e...
<commit_before>// File: Message_PrinterOStream.cxx // Created: Sat Jan 6 20:01:38 2001 // Author: OCC Team // Copyright: Open CASCADE S.A. 2005 #include <Message_PrinterOStream.ixx> #include <Message_Gravity.hxx> #include <TCollection_AsciiString.hxx> #include <TCollection_ExtendedString.hxx> #include <Sta...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <math.h> #include <stdlib.h> #include "bloom.h" #include "main.h" #include "script.h" #define LN2SQUARED 0...
<commit_before>#include "board.hpp" #include <cstring> #include <boost/lexical_cast.hpp> #include "exception.hpp" #include "walk_move.hpp" namespace Quoridor { Board::Board(int row_num, int col_num) : row_num_(), col_num_(), occ_fields_(), pawn_pos_(), sides_(), pawn_sides_(), walls_() { set_size(row_...
<commit_before>/***************************************************************************** YASK: Yet Another Stencil Kit Copyright (c) 2014-2020, 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 d...
<commit_before>// Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include <cstddef> #if defined(HAVE_SYS...
<commit_before> // ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // wi...
<commit_before>/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
<commit_before>/******************************************************************************* * Copyright (c) 2015-2016 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
<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 appl...
<commit_before>// Copyright 2015 Charles D. Aylward // // 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 applicabl...
<commit_before>/* * Copyright (c) 2011 by Michael Berlin, Zuse Institute Berlin * * Licensed under the BSD License, see LICENSE file for details. * */ #include <boost/scoped_ptr.hpp> #include <iostream> #include <string> #include <unistd.h> #include "libxtreemfs/client.h" #include "libxtreemfs/file_handle.h" #in...
<commit_before>/* * File: rigResection.cpp * Author: sgaspari * * Created on January 2, 2016, 5:51 PM */ #include "rigResection.hpp" #if HAVE_OPENGV #include <Eigen/Eigen> #include <opengv/absolute_pose/methods.hpp> #include <opengv/absolute_pose/NoncentralAbsoluteAdapter.hpp> #include <opengv/sac/Ransac.hpp...
<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>#include <QWindow> #include <QtDeclarative> #include <QQuickView> int main( int argc, char** argv ) { QGuiApplication app( argc, argv ); QWindow *window = 0; int exitCode = 0; QQuickView* view = new QQuickView(); view->setResizeMode( QQuickView::SizeRootObjectToView ); view->se...
<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 "Lice...
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #ifndef ROSETTASTONE_TORCH_GAME_TO_VEC_HPP #define ROSE...
<commit_before>#pragma once #include <cstdint> #include <stdexcept> #include <type_traits> #include "matrix_connected_components/MatrixUtils.hpp" #include "utils/NotNull.hpp" #include "utils/containers/Matrix.hpp" #include "utils/containers/ValueTypeOf.hpp" namespace matrix_connected_components { template <IsNumeri...
<commit_before>/******************************************************************************* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2011 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as pu...
<commit_before>#include "../../include/cl/cl.h" #include <algorithm> #include <map> using namespace std; namespace ev3cv { namespace cl { list<base_arg *> &args() { static list<base_arg *> the_args; return the_args; } base_arg *next_positional_arg() { list<base_arg *>::iterator i = find_if(args().begin(), ar...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: docchart.cxx,v $ * * $Revision: 1.12 $ * * last change: $Author: hr $ $Date: 2007-09-27 08:33:14 $ * * The Contents of this file are made...
<commit_before>#define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE AutPreprocessor test #include <boost/test/unit_test.hpp> #include <string> #include <vector> #include <iostream> #include "AutPreprocessor.h" void checkStringArrayMatches(std::string model, std::string* arr, int size) { for(int i = 0; i < size; i++...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: swblocks.hxx,v $ * * $Revision: 1.15 $ * * last change: $Author: hr $ $Date: 2007-09-27 08:58:25 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * $RCSfile: instable.cxx,v $ * * $Revision: 1.10 $ * * last change: $Author: rt $ $Date: 2004-08-23 09:09:21 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<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>## Note that this file is not auto generated, it is what generates the ## elog-gen.hpp file // This file was autogenerated. Do not edit! // See elog-gen.py for more details #pragma once #include <string> #include <tuple> #include <type_traits> #include <sdbusplus/exception.hpp> #include <phosphor-loggi...
<commit_before>#include "webcam.hpp" using namespace cv; using namespace std; Mat ellipticKernel(int width, int height = -1) { if (height==-1) { return getStructuringElement(MORPH_ELLIPSE,Size(width,width), Point(width/2, width/2)); } else { return getStructuringElement(MORPH_ELLIPSE,Size(width,height), Point(w...
<commit_before>/*========================================================================= * * Copyright NumFOCUS * * 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) 2012 Microsoft Corporation Module Name: expr_safe_replace.cpp Abstract: Version of expr_replace/expr_substitution that is safe for quantifiers. Author: Nikolaj Bjorner (nbjorner) 2012-11-30 Revision History: --*/ #include "expr_safe_replace.h" #include "rewriter.h...
<commit_before>/****************************************************************************** The MIT License(MIT) Embedded Template Library. https://github.com/ETLCPP/etl https://www.etlcpp.com Copyright(c) 2020 jwellbelove Permission is hereby granted, free of charge, to any person obtaining a copy of this softwa...
<commit_before>#include "data-course.hpp" using namespace std; ////////////// ///////////// // Constructor helper methods /////////// ////////// void Course::init(string identifier) { copy(getCourse(identifier)); } void Course::copy(const Course& c) { id = c.id; title = c.title; description = c.description; ma...
<commit_before>#include "robobo.h" int main(int argc, char** argv) { if (argc > 1) { // analyze arguments if (strcmp(argv[1], "--help") == 0) { // put help here eventually return 0; } if (strcmp(argv[1], "--version") == 0) { std::cout << "RoBoBo-IRC-BoBo Pre-alpha Development Version" << std::endl; ...
<commit_before>/* * Copyright 2007-2017 Content Management AG * 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...
<commit_before>/* The OpenTRV project licenses this file to you under the Apache Licence, Version 2.0 (the "Licence"); you may not use this file except in compliance with the Licence. You may obtain a copy of the Licence at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
<commit_before><commit_msg>CXX, Objects.hxx: Python 3.9 Unicode compilation warning fixes suggested by wmayer on the FC forum.<commit_after><|endoftext|>
<commit_before>/* * bacteria-core, core for cellular automaton * Copyright (C) 2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #include <boost/foreach.hpp> #include <boost/test/unit_test.hpp> #include "Model.hpp" typedef int (Implementation::Model::*IntOneArgMethod) ( const Abstract::Point& ...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "number_process.h" #include <vistk/pipeline/config.h> #include <vist...
<commit_before> #include <fcntl.h> #include <string> #include <tuple> #include <algorithm> #include <map> #include <iostream> #include <functional> #include <google/protobuf/message.h> #include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/io/gzip_stream.h> #include "example1.pb.h" using names...
<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>// Copyright 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/LICENSE-2.0 // // Unless required by applicable law o...
<commit_before>/*************************************************************************** * Copyright (c) 2014 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before>#include <tiramisu/tiramisu.h> #include <tiramisu/utils.h> #include "configure.h" using namespace tiramisu; Halide::Buffer<float> Hfilter(FOUT_BLOCKING, FIN_BLOCKING, K, K, FIN_NB_BLOCKS, FOUT_NB_BLOCKS); void gen_random_dense_weights() { srand(1); Halide::Buffer<float> Hinput(FIN_BLOCKING, N + 2, ...
<commit_before>#include <Arduino.h> #include "state_search.h" #include "settings.h" #include "settings_internal.h" #include "settings_eeprom.h" #include "receiver.h" #include "channels.h" #include "buttons.h" #include "ui.h" #include "pstr_helper.h" enum class ScanDirection : int8_t { UP = 1, DOWN = -1 }; ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2009, 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...
<commit_before>/** * Test: Checks the correctness of the library when used by multiple threads. */ #include <riff/riff.hpp> #include <stdio.h> #include <unistd.h> #include <omp.h> #define CHNAME "ipc:///tmp/demo.ipc" #define ITERATIONS 10000 #define NUM_THREADS 1 #ifndef TOLERANCE #define TOLERANCE 0.1 // Between...
<commit_before>#include <fgt/fgt.hpp> #include <armadillo> #include <gtest/gtest.h> namespace fgt { class Trial : public ::testing::TestWithParam<double> { protected: static const arma::uword NumSourceRows = 1000; static const arma::uword NumTargetRows = 1000; static const arma::uword NumCols = 3; ...