text
stringlengths
54
60.6k
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> 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 Lice...
<commit_before>/* This file is part of kdepim. Copyright (c) 2008 Kevin Ottens <ervin@kde.org> 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; either version 2 of the...
<commit_before>/** * Copyright (c) 2016 Los Alamos National Security, LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code ...
<commit_before>/* * * Copyright (c) 2021 Project CHIP 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 * * ...
<commit_before>#include <Common.h> #include <Network/CommonNetwork.h> #include <Network/GamePacketNew.h> #include <Logging/Logger.h> #include <Exd/ExdDataGenerated.h> #include <Network/PacketContainer.h> #include <Network/CommonActorControl.h> #include <Network/PacketDef/Zone/ClientZoneDef.h> #include <Util/Util.h> #i...
<commit_before>//=======- MipsFrameLowering.cpp - Mips Frame Information ------*- C++ -*-====// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- PPCCodeEmitter.cpp - JIT Code Emitter for PowerPC32 -------*- C++ -*-=// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before>/* * 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 * "Li...
<commit_before>/***************************************************************************** * SegmentTimeline.cpp: Implement the SegmentTimeline tag. ***************************************************************************** * Copyright (C) 1998-2007 VLC authors and VideoLAN * $Id$ * * Authors: Hugo Beauzée-...
<commit_before>#include "SolidMaterialProperties.h" #include "R7Conversion.h" template<> InputParameters validParams<SolidMaterialProperties>() { InputParameters params = validParams<GeneralUserObject>(); params.addParam<std::string>("k", "Thermal conductivity"); params.addParam<std::string>("Cp", "Specific hea...
<commit_before>/* * Copyright 2015 BrewPi / Elco Jacobs, Matthew McGowan. * * This file is part of BrewPi. * * BrewPi 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...
<commit_before>#include "layouter.h" #include "utf-8.h" #include <harfbuzz/hb.h> #include <harfbuzz/hb-ft.h> #include <fribidi/fribidi.h> #include <linebreak.h> #include <vector> #include <string> #include <memory> #include <algorithm> typedef struct { std::vector<textLayout_c::commandData> run; int dx, dy; ...
<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>/* * libjingle * Copyright 2014 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of condit...
<commit_before>/*********************************************************************** created: Sun May 25 2014 author: Timotei Dolean *************************************************************************/ /*************************************************************************** * Copyright (C...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // // $Id: dataset.C,v 1.1.4.2 2007/05/10 21:40:37 amoll Exp $ // #include <BALL/VIEW/DATATYPE/dataset.h> #include <BALL/VIEW/WIDGETS/datasetControl.h> #include <BALL/VIEW/KERNEL/common.h> #include <BALL/VIEW/KERNEL/mainControl.h> #include <BALL/VIEW/...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // // $Id: pyWidget.C,v 1.13 2003/11/12 12:31:49 amoll Exp $ // // This include has to be first in order to avoid collisions. #include <Python.h> #include <BALL/VIEW/WIDGETS/pyWidget.h> #include <BALL/VIEW/KERNEL/mainControl.h> #include <BALL/VIEW/DI...
<commit_before>#include "CUVElement.hpp" /* Documentation at: http://www.metroid2002.com/retromodding/wiki/Particle_Script#UV_Elements */ namespace urde { CUVEAnimTexture::CUVEAnimTexture(TToken<CTexture>&& tex, std::unique_ptr<CIntElement>&& tileW, std::unique_ptr<CIntElement>&& til...
<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>#ifndef _A_STAR_HPP_ #define _A_STAR_HPP_ #include <vector> #include <boost/none.hpp> #include <boost/optional.hpp> #include <boost/pool/pool_alloc.hpp> #include <boost/unordered_map.hpp> #include "search/BucketPriorityQueue.hpp" #include "util/PointerOps.hpp" template < class Domain, class Nod...
<commit_before>/** * Licensed under Apache License v2. See LICENSE for more information. */ #include <CppUTest/TestHarness.h> #include "CppUTest/CommandLineTestRunner.h" ...
<commit_before>/* * Copyright 2016, Masayoshi Mizutani, mizutani@sfc.wide.ad.jp * 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...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xlpage.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2005-09-08 19:37:34 $ * * The Contents of this file are made av...
<commit_before>/*************************************************************************/ /* navigation_link_2d.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>namespace CTF_int{ double blres_mdl_init[] = {1.2880E-05, 1.1099E-08}; double long_contig_transp_mdl_init[] = {9.1201E-15, 2.1816E-09}; double shrt_contig_transp_mdl_init[] = {5.5768E-03, 1.7220E-08}; double non_contig_tra...
<commit_before>// Copyright (c) 2012 Intel Corp // Copyright (c) 2012 The Chromium Authors // // 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 limi...
<commit_before>#include <algorithm> #include "SpMP/CSR.hpp" #include "CSR_Interface.h" using namespace std; using namespace SpMP; // w = (alpha*A*x + beta*y + gamma)*z template<class T, bool HAS_VALUE = true, bool HAS_Z = false> static void SpMV_( int m, T *w, T alpha, const int *rowptr, const int *colidx, ...
<commit_before>// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "span_analyzer_frame.h" #include "wx/aboutdlg.h" #include "wx/xrc/xmlres.h" #include "analysis_filter_manager_dialog.h" #include "cable_file_manager_dial...
<commit_before>/** ========================================================================== * Original code made by Robert Engeln. Given as a PUBLIC DOMAIN dedication for * the benefit of g3log. It was originally published at: * http://code-freeze.blogspot.com/2012/01/generating-stack-traces-from-c.html * 2014-...
<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>/* -*- 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: selector.hxx,v $ * * $Revision: 1.13 $ * * last change: $Author: kz $ $Date: 2007-10-09 15:18:31 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: selector.hxx,v $ * * $Revision: 1.11 $ * * last change: $Author: rt $ $Date: 2005-09-08 22:01:43 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fntctl.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: hr $ $Date: 2007-06-27 18:32:27 $ * * The Contents of this file are made av...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: svddrgm1.hxx,v $ * * $Revision: 1.10 $ * * last change: $Author: obo $ $Date: 2008-02-26 07:33:31 $ * * The Contents of this file are mad...
<commit_before>/** * @file posix/wait.cpp * @brief POSIX event/timeout handling * * (c) 2013-2014 by Mega Limited, Wellsford, New Zealand * * This file is part of the MEGA SDK - Client Access Engine. * * Applications using the MEGA API must present a valid application key * and comply with the the rules set fo...
<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>/* * Client Key Exchange Message * (C) 2004-2010 Jack Lloyd * * Released under the terms of the Botan license */ #include <botan/internal/tls_messages.h> #include <botan/internal/tls_reader.h> #include <botan/internal/tls_extensions.h> #include <botan/internal/tls_handshake_io.h> #include <botan/interna...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.o...
<commit_before>/************************************************************************* * * $RCSfile: porfly.hxx,v $ * * $Revision: 1.1.1.1 $ * * last change: $Author: hr $ $Date: 2000-09-19 00:08:25 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: porrst.hxx,v $ * * $Revision: 1.16 $ * * last change: $Author: rt $ $Date: 2005-09-09 05:02:07 $ * * The Contents of this file are made a...
<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 "SkNullCanvas.h" #include "SkCanvas.h" #include "SKNWayCanvas.h" SkCanvas* SkCreateNullCanvas() { // An N-Way canvas forwards calls to N canvas'...
<commit_before>#ifndef __JSON_HPP__ #define __JSON_HPP__ #include <cctype> #include <string> #include <vector> #include <array> #include <regex> namespace JSON { using namespace std; struct Error {}; struct SyntaxError : public Error {}; struct LoadError : public Error {}; struct AccessError : public Error {}; ...
<commit_before>/************************************************************************* * * $RCSfile: lateinitthread.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2004-05-12 08:00:08 $ * * The Contents of this file are made available subject to the terms of * either of the following...
<commit_before>/************************************************************************** ** This file is part of LiteIDE ** ** Copyright (c) 2011-2016 LiteIDE Team. All rights reserved. ** ** This library is free software; you can redistribute it and/or ** modify it under the terms of the GNU Lesser General Public **...
<commit_before><commit_msg>Improve logging<commit_after><|endoftext|>
<commit_before><commit_msg>Fix regression introduced by swapping Close and Quit in the messagebox a few lines above. Quit is now KMessageBox::No<commit_after><|endoftext|>
<commit_before>/** * \file * \brief Scheduler class implementation * * \author Copyright (C) 2014 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 MPL was not * ...
<commit_before>// stress inversion of matrices with varios methods #include "Math/SMatrix.h" #include "TMatrixTSym.h" #include "TDecompChol.h" #include "TDecompBK.h" #include "TRandom.h" #include <vector> #include <string> #include <iostream> #include <cmath> #include <limits> #include "TStopwatch.h" // matrix size...
<commit_before>// Project specific #include <Server.hpp> #include <Doremi/Core/Include/GameCore.hpp> #include <Doremi/Core/Include/EntityComponent/Components/TransformComponent.hpp> #include <Doremi/Core/Include/EntityComponent/EntityHandlerServer.hpp> #include <Doremi/Core/Include/EventHandler/EventHandler.hpp> #inclu...
<commit_before>#include "postprocessing.h" //osg #include <osg/Texture2D> #include <osg/TexEnv> #include <osg/TexGen> #include <osg/TextureCubeMap> #include <osg/TexMat> #include <osg/Material> #include <osg/Geode> #include <osgDB/WriteFile> #include <osg/CullFace> #include <osg/TexGenNode> #include <osgUtil/CullVisito...
<commit_before>#include "coursestablemanager.h" coursesTableManager::coursesTableManager(QTableWidget *ptr, user *usrPtr) { this->gp = NULL; this->us = usrPtr; this->courseTBL = ptr; /* * Initilizing Table */ courseTBL->setRowCount(0); courseTBL->setColumnCount(COURSE_FIELDS); QSt...
<commit_before>// ***************************************************************************** // // Copyright (c) 2014, Southwest Research Institute® (SwRI®) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
<commit_before>#include "enemy.h" Enemy::Enemy(Player* player, float lineOfSight, float forceTowardsPlayer, float forceFromAbstacles, float health, float speed, float damage, int width, int height, unsigned int textureID, b2World * world) : Person::Person(health, speed, damage, width, height, textureID, world) { this...
<commit_before>/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.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 ob...
<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>#pragma once #include <src/batchringbuffer.h> #include <time.h> #include <sys/time.h> #include <gtest/gtest.h> #ifdef __MACH__ #include <mach/clock.h> #include <mach/mach.h> #endif #define MILLIS 1000000LL #define NANOS 1000000000LL class Bench_4_4_1024_buffer : public testing::Test { protected: br...
<commit_before>/* * Copyright (c) 2017, Tier IV, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this ...
<commit_before>/* ############################################################################### # # EGSnrc egs++ shape collection # Copyright (C) 2015 National Research Council Canada # # This file is part of EGSnrc. # # EGSnrc is free software: you can redistribute it and/or modify it under # the terms of the G...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifi...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sqlite3.h> #include <getopt.h> #include <string> #include <vector> #include <map> #include <set> #include <zlib.h> #include <math.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/mman.h> #include <protozero/...
<commit_before><commit_msg>Remove an unused declaration.<commit_after><|endoftext|>
<commit_before>#include "arguments.h" #include "../utils/version.h" #include <iostream> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include <boost/format.hpp> using namespace thewizardplusplus::language_do::arguments; using namespace thewizardplusplus::language_do::utils; using namespace boos...
<commit_before>#include "ImageLoader.h" #include "Utilities/ResourceManager.h" namespace Graphics { namespace ImageLoader { SDL_Surface* LoadImage ( const std::string& path ) { SDL_RWops* rwops = ResourceManager::OpenFile(path); if (!rwops) return NULL; SDL_Surface* surface = IMG_LoadTyped_RW(rwops, 1, const_ca...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // taskwarrior - a command line task list manager. // // Copyright 2006 - 2011, Paul Beckingham, Federico Hernandez. // All rights reserved. // // This program is free software; you can redistribute it and/or modify it under...
<commit_before>// Copyright 2022 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> #include "../Pipeline/Matrix.h" #include <catch.hpp> using namespace generator; TEST_CASE("Matrix types") { IdMatrix matrix(128, 128, 0, 11); matrix.set(33, 33, 0, 5); REQUIRE(matrix.get(33, 33, 0) == 5); for(Size x = 0; x < 128; x++) { for(Size y = 0; y < 128; y++) { ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkFillHolesFilter.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>#include "zmq.h" #include <iostream> #include "AliHLTDataTypes.h" #include "AliHLTComponent.h" #include "AliHLTMessage.h" #include "TClass.h" #include "TCanvas.h" #include "TMap.h" #include "TPRegexp.h" #include "TObjString.h" #include "TDirectory.h" #include "TList.h" #include "AliZMQhelpers.h" #include...
<commit_before>/** * Zillians MMO * Copyright (C) 2007-2010 Zillians.com, Inc. * For more information see http://www.zillians.com * * Zillians MMO is the library and runtime for massive multiplayer online game * development in utility computing model, which runs as a service for every * developer to build their ...
<commit_before>/*----------------------------------------------------------------------------- This source file is part of Hopsan NG Copyright (c) 2011 Mikael Axin, Robert Braun, Alessandro Dell'Amico, Björn Eriksson, Peter Nordin, Karl Pettersson, Petter Krus, Ingo Staack This file is provided "as is", wi...
<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><commit_msg>Create 1255 - Substring Frequency.cpp<commit_after><|endoftext|>
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkImageCacheFilter.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>#define GROUP_TEST(regex, anchor, input, n) \ test_case(_FORMAT(regex, anchor, input)) { \ re2::StringPiece g2[n]; \ re2::StringPiece gj[n]; \ if ( _RE2_RUN(_RE2(regex), input, anchor, g2, n) \ != _R2J_RUN(_R2J(regex), input, anchor, gj, n)) return Result::Fail("inva...
<commit_before> #include <plan_and_run/demo_application.h> /* LOAD PARAMETERS Goal: - Load missing application parameters into the from the ros parameter server. - Use a private NodeHandle in order to load parameters defined in the node's namespace. Hints: - Look at how the 'config_' structure is used...
<commit_before>//===- CallingConvEmitter.cpp - Generate calling conventions --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * PerformanceCounter.cpp 10.08.2006 (mueller) * * Copyright (C) 2006 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten. * Copyright (C) 2005 by Christoph Mueller (christoph.mueller@vis.uni-stuttgart.de). Alle Rechte vorbehalten. */ #ifdef _WIN32 #include <windows.h> #else /* _WI...
<commit_before>// Copyright (c) 2020 The Orbit 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 "OrbitClientModel/CaptureSerializer.h" #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/zero_copy_strea...
<commit_before>// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <cassert> #include <sstream> // StdAir #include <stdair/STDAIR_Service.hpp> // AirSched #include <airsched/basic/BasConst_A...
<commit_before>// // splitter_dbs.cc // P2PSP // // This code is distributed under the GNU General Public License (see // THE_GENERAL_GNU_PUBLIC_LICENSE.txt for extending this information). // Copyright (C) 2016, the P2PSP team. // http://www.p2psp.org // // DBS: Data Broadcasting Set of rules // #include "spli...
<commit_before>//------------------------------------------------------------------------------ // M6567Window.cc //------------------------------------------------------------------------------ #include "M6567Window.h" #include "IMUI/IMUI.h" #include "Util.h" #include "yakc/util/breadboard.h" using namespace Oryol; ...
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Note that although this is not a "browser" test, it runs as part of // browser_tests. This is because WebKit does not work proper...
<commit_before><commit_msg>Added methods for index ptr in python<commit_after><|endoftext|>
<commit_before><commit_msg>ocl: support empty "ptr only" UMat in Kernel::set()<commit_after><|endoftext|>
<commit_before>/****************************************************************************** * Main script for the 2017 RoboFishy Scripps AUV ******************************************************************************/ #include "Mapper.h" // Multithreading #include <pthread.h> #include <sched.h> #include <unistd...
<commit_before>#include <mp/wavy.h> #include <mp/functional.h> #include <mp/signal.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> #include <iostream> using namespace mp::placeholders; bool signal_handler(int signo, int* count, mp::wavy::loop* lo) { std::cout << "signal" << std::endl; if(++(*coun...
<commit_before>#include "test_macros.hpp" #include <matrix/math.hpp> using namespace matrix; int main() { float data[9] = {0, 2, 3, 4, 5, 6, 7, 8, 10 }; float data_check[6] = { 4, 5, 6, 7, 8, 10 }; SquareMatrix<float, 3> A(d...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>#include "MinVRSettings.h" string MinVRSettings::getValueString(string settingName) { map<string, TYPE_ID>::iterator i; i = keyword_to_type.find(settingName); if (i == keyword_to_type.end()) { // translate input into a string string value_column = settingsToValues[se...
<commit_before>#include "urtupdater.h" #include "ui_urtupdater.h" UrTUpdater::UrTUpdater(QWidget *parent) : QMainWindow(parent), ui(new Ui::UrTUpdater) { ui->setupUi(this); updaterVersion = "4.0.1"; QMenu *menuFile = menuBar()->addMenu("&File"); QMenu *menuHelp = menuBar()->addMenu("&Help"); QAc...
<commit_before>/* * Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * th...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>// Copyright 2015-2019 Elviss Strazdins. All rights reserved. #ifndef OUZEL_MATH_MATHUTILS_HPP #define OUZEL_MATH_MATHUTILS_HPP #include <cstdint> #include <cmath> #include <limits> #include <type_traits> #if defined(__ANDROID__) # include <cpu-features.h> #endif namespace ouzel { #if defined(__ARM_N...
<commit_before>/********************************************************************* * NAN - Native Abstractions for Node.js * * Copyright (c) 2018 NAN contributors * * MIT License <https://github.com/nodejs/nan/blob/master/LICENSE.md> ********************************************************************/ #inclu...
<commit_before>// Copyright Yangqing Jia 2013 // pycaffe provides a wrapper of the caffe::Net class as well as some // caffe::Caffe functions so that one could easily call it from Python. // Note that for python, we will simply use float as the data type. #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <bo...
<commit_before> AliAnalysisTaskJetCluster *AddTaskJetCluster(char* bRec = "AOD",char* bGen = "",UInt_t filterMask = 16, UInt_t iPhysicsSelectionFlag = AliVEvent::kMB,Char_t *jf = "KT", Float_t radius = 0.4,Int_t nSkip = 0,Int_t kWriteAOD = kFALSE,char* deltaFile = "",Float_t ptTrackCut = 0.15); Int_t kBackgroundMode =...
<commit_before>/*------------------------------------------------------------------------- * * FILE * pqxx/isolation.hxx * * DESCRIPTION * definitions of transaction isolation levels * Policies and traits describing SQL transaction isolation levels * DO NOT INCLUDE THIS FILE DIRECTLY; include pqxx/...
<commit_before>#pragma once #include <PluginFactory/details/NullPluginService.hpp> #include <PluginFactory/details/PluginHandle.hpp> #include <PluginFactory/details/PolicyHolder.hpp> #include <PluginFactory/details/PluginLoader.hpp> #include <PluginFactory/details/PolicyProperties.hpp> #include <PluginFactory/Exception...
<commit_before>/* * Copyright (c) 2015 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...