text
stringlengths
54
60.6k
<commit_before>/***************************************************************************** * Copyright 2011 Sergey Shekyan * * 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://ww...
<commit_before>/***************************************************************************** * Copyright 2011 Sergey Shekyan * * 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://ww...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
<commit_before>#include <libkern/OSAtomic.h> int main() { volatile OSSpinlock lock; OSSpinlockTry(&lock); return 0; } <commit_msg>Fix spinlock-test-darwin.cpp for spinlock detection<commit_after>#include <libkern/OSAtomic.h> int main() { volatile OSSpinLock lock; OSSpinLockTry(&lock); return 0; } <|endoftext|>
<commit_before>#include <cstdlib> #include <cmath> #include <fstream> #include <sstream> #include <iostream> #include <iomanip> #include <string> #include <vector> #include <algorithm> #include <exception> #include <sys/time.h> #include "modules/htmTree.h" #include "modules/kdTree...
<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 "SkGLWidget.h" #if SK_SUPPORT_GPU SkGLWidget::SkGLWidget(SkDebugger* debugger) : QGLWidget() { fDebugger = debugger; } SkGLWidget::~SkGLWidget...
<commit_before>//===--- llvm-as.cpp - The low-level LLVM assembler -----------------------===// // // 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><commit_msg>mipgen: Disambiguated string with std:: prefix. (#741)<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <vector> #include <string> #include <cstring> #include <stdlib.h> #include <sstream> int main(int argc, char** argv) { std::vector<std::string> gccArgs; std::string source; std::string outfile; if(argc <= 1) { return system("g++"); } for(int i = 1; i < argc; i++) ...
<commit_before>// sg_path.cxx -- routines to abstract out path separator differences // between MacOS and the rest of the world // // Written by Curtis L. Olson, started April 1999. // // Copyright (C) 1999 Curtis L. Olson - curt@flightgear.org // // This library is free software; you can redistribute it...
<commit_before>//===----------------------- LSUnit.cpp --------------------------*- C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- Immediate.cpp - the swift immediate mode --------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* */ #include "manifest.h" #include "build.h" #include "debug.h" #include <vector> #include <algorithm> #include <sstream> // stringstream #ifdef _WIN32 # include <Windows.h> #else # include <spawn.h> # include <sys/types.h> # include <sys/stat.h> # include <sys/wait.h> # include <fcntl.h> #endif str...
<commit_before>/* */ #include "manifest.h" #include "debug.h" #include <vector> #include <algorithm> #include <sstream> // stringstream #include "helpers.h" // path #ifdef _WIN32 # include <Windows.h> #else # include <spawn.h> # include <sys/types.h> # include <sys/stat.h> # include <sys/wait.h> # include <fcntl.h...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/include/usr/initservice/mboxRegs.H $ ...
<commit_before>#include <GLFW/glfw3.h> #include "../bench/util.hpp" #include <mapbox/geojson.hpp> #include <mapbox/geojsonvt.hpp> using namespace mapbox::geojsonvt; template <typename T> void drawLine(const T points) { glColor4f(1, 0, 0, 1); glBegin(GL_LINE_STRIP); for (const auto& pt : points) { ...
<commit_before>#pragma once /* * Covariant Mozart Utility Library: Any * * 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 * any later version. * * This program...
<commit_before>/* Copyright (C) 2013 Andreas Hartmetz <ahartmetz@gmail.com> 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 License, or (at your option)...
<commit_before>// @(#)root/tree:$Id$ // Author: Rene Brun 06/04/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the Qt Build Suite. ** ** Commercial License Usage ** Licensees holding valid commercial Qt ...
<commit_before>#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <tiramisu/debug.h> #include <tiramisu/core.h> #include <string.h> #include <Halide.h> #include "wrapper_tutorial_06.h" using namespac...
<commit_before>// KMail Account #include <stdlib.h> #include <unistd.h> #include <assert.h> #include <kapplication.h> #include <klocale.h> #include <kmessagebox.h> #include <kdebug.h> #include "kmacctmgr.h" #include "kmacctfolder.h" #include "kmfoldermgr.h" #include "kmfiltermgr.h" #include "kmsender.h" #include "k...
<commit_before> #pragma once #include <experimental/optional> #include <functional> #include <list> #include <map> #include <memory> #include <string> #include "base/container_iterator.hpp" #include "base/disjoint_sets.hpp" #include "ksp_plugin/frames.hpp" #include "ksp_plugin/identification.hpp" #include "ksp_plugi...
<commit_before>/* This file is part of ksync. Copyright (c) 2001 Cornelius Schumacher <schumacher@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 vers...
<commit_before>#include "include/AgentFactor.h" using namespace std; namespace bwi_actexec { AgentFactory::AgentFactory(Agent* ag) { } } <commit_msg>Restructure for class agent implementation - compile error forward decl?<commit_after><|endoftext|>
<commit_before>// FRAGMENT(includes) #include <seqan/file.h> #include <iostream> using namespace seqan; // FRAGMENT(open_file) int main (int argc, char const * argv[]) { MultiSeqFile multiSeqFile; if (argc < 2 || !open(multiSeqFile.concat, argv[1], OPEN_RDONLY)) return 1; // FRAGMENT(guess_and_split) AutoSeqFor...
<commit_before>/** * @file * @brief Implements the particle generator * @remark Based on code from John Idarraga * @copyright Copyright (c) 2017 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this lice...
<commit_before>/** * Appcelerator Kroll - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include <signal.h> #include "php_module.h" #include <Poco/Path.h> #ifdef ZTS void ***tsrm_ls; #endif na...
<commit_before>/* Copyright 2016 kunming.xie * * 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 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>#include "RootPool.hxx" #include "growing_buffer.hxx" #include "direct.hxx" #include "istream_gb.hxx" #include "istream/istream.hxx" #include "event/Base.hxx" #include "util/ConstBuffer.hxx" #include <glib.h> #include <stdio.h> struct Context final : IstreamHandler { struct pool *pool; bool go...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- #include "RobotDevastation.hpp" bool rd::RobotDevastation::configure(yarp::os::ResourceFinder &rf) { //-- Show help //printf("--------------------------------------------------------------\n"); if (rf.check("help")) { ...
<commit_before>#include <qt/communityfundcreatepaymentrequestdialog.h> #include <qt/communityfundsuccessdialog.h> #include <qt/sendcommunityfunddialog.h> #include <ui_communityfundcreatepaymentrequestdialog.h> #include <QMessageBox> #include <string> #include <base58.h> #include <consensus/cfund.h> #include <qt/guico...
<commit_before>#include "Mailer.h" #include "../Interface/Server.h" #include "../Interface/Database.h" #include "database.h" #include "../urlplugin/IUrlFactory.h" #include "ClientMain.h" #include <math.h> IMutex* Mailer::mutex = NULL; ICondition* Mailer::cond = NULL; bool Mailer::queue_limit = false; bool M...
<commit_before>/* Copyright (c) 2008 Bertjan Broeksema <b.broeksema@kdemail.net> Copyright (c) 2008 Volker Krause <vkrause@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 Fou...
<commit_before>/* * Copyright (C) 2012 Paulo Marques (pjp.marques@gmail.com) * * 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 righ...
<commit_before>// // Created by Umur Gedik on 5/4/16. // #include <fstream> #ifdef _MSC_VER #include <boost/config/compiler/visualc.hpp> #endif #include <boost/property_tree/json_parser.hpp> #include <iostream> #include <boost/filesystem/path.hpp> #include "ConfigParser.h" #include "parsers/EntryTypeParser.h" #include...
<commit_before>/* * Copyright 2018 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 la...
<commit_before>/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "watchman/root/Root.h" using namespace watchman; static json_ref config_get_ignore_vcs(Root* root) { js...
<commit_before>#ifndef ALGORITHM_HPP # define ALGORUTHM_HPP # pragma once #include <cstddef> #include <type_traits> #include <utility> #include "meta.hpp" namespace generic { // min, max template <typename T> constexpr inline T const& max(T const& a, T const& b) noexcept { return a > b ? a : b; } template <typ...
<commit_before>#ifndef KISSFFT_CLASS_HH #include <complex> #include <vector> namespace kissfft_utils { template <typename T_scalar> struct traits { typedef T_scalar scalar_type; typedef std::complex<scalar_type> cpx_type; void fill_twiddles( std::complex<T_scalar> * dst ,int nfft,bool inverse) { ...
<commit_before>/* * libMaia - maiaObject.cpp * Copyright (c) 2003 Frerich Raabe <raabe@kde.org> and * Ian Reinhart Geiser <geiseri@kde.org> * Copyright (c) 2007 Sebastian Wiedenroth <wiedi@frubar.net> * * Redistribution and use in source and binary forms, with or without * modification, are pe...
<commit_before>#include "thrusttest/testframework.h" #include "thrusttest/exceptions.h" #include <cuda_runtime.h> #include <iostream> #include <cstdlib> #include <algorithm> void UnitTestDriver::register_test(UnitTest *test) { UnitTestDriver::s_driver()._test_list.push_back(test); } UnitTest::UnitTest(const char...
<commit_before>#include "mainwindow.h" #include "ui_mainwindow.h" #include "logic/blinkcore.h" #include <QtAlgorithms> #include <QtWidgets/QFileDialog> #include <QtWidgets/QMessageBox> MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), core(new BlinkCore(this)), ui(new Ui::MainWindow)...
<commit_before>/* * Copyright 2013 IoriAYANE * * 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 appli...
<commit_before>#define FTS_FUZZY_MATCH_IMPLEMENTATION #include <QtWidgets> #include "mainwindow.h" #include <fts_fuzzy_match.h> #include <glob.h> #include <string> #include <map> #include <database.h> Window::Window(QWidget *parent) : QMainWindow(parent) { // Initalise database db.setDatabaseName("recipes.db")...
<commit_before>// Copyright (c) 2012 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 "base/message_loop.h" #include "base/memory/scoped_ptr.h" #include "base/utf_string_conversions.h" #include "testing/gtest/inc...
<commit_before>/****************************************************************************** * Copyright 2018 The Apollo 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 ...
<commit_before>#include "drawer.hpp" #include "proto_to_styles.hpp" #include "../std/bind.hpp" #include "../indexer/drawing_rules.hpp" #include "../indexer/scales.hpp" #include "../graphics/defines.hpp" #include "../graphics/screen.hpp" #include "../graphics/resource_manager.hpp" #include "../geometry/screenbase.hp...
<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>/* ffsdumper.cpp Copyright (c) 2015, Nikolaj Schlej. All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org...
<commit_before>/* Copyright (C) 2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is d...
<commit_before>/* * #%L * %% * Copyright (C) 2011 - 2017 BMW Car IT GmbH * %% * 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>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2009-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followi...
<commit_before>#include "con_thread.hpp" #include <unordered_map> #include <cstdint> #include <cstdio> #include <cstddef> #include <errno.h> #include <sys/epoll.h> #include <sys/types.h> #include <unistd.h> #include <boost/coroutine/all.hpp> #include "io_utils.hpp" using namespace std; namespace co = boost::corou...
<commit_before>// LuaWindow.cpp // Implements the cLuaWindow class representing a virtual window that plugins may create and open for the player #include "Globals.h" #include "LuaWindow.h" #include "../Entities/Player.h" #include "../UI/SlotArea.h" #include "PluginLua.h" #include "lua/src/lauxlib.h" // Needed for LU...
<commit_before><commit_msg>Fix special case registers to be per-thread. Remove RMOR.<commit_after><|endoftext|>
<commit_before>#include "MainForm.moc" #include "../assemble.h" #include <tbb/task_scheduler_init.h> MainForm::MainForm(QGraphicsScene* img, nbt* bf, QWidget* parent_) : QGraphicsView(img, parent_), scene_(), bf_(bf), scale_(1), images() { connect(this, SIGNAL(scaleSig()), this, ...
<commit_before>/** * @file Dcm.hpp * * A direction cosine matrix class. * All rotations and axis systems follow the right-hand rule. * * This library uses the convention that premultiplying a three dimensional * vector represented in coordinate system 1 will apply a rotation from coordinate system * 1 to coordi...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2012 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
<commit_before>#include <iostream> #include <fstream> #include <sstream> #include <time.h> #include <stdlib.h> #include <vector> #include <set> #include <iomanip> #include <algorithm> using namespace std; int main() { //srand((unsigned)time(NULL)); //int val = rand(); //char Hex[33]; //itoa(val, Hex, 16); //cou...
<commit_before>/* * Copyright (C) 2012 The Android Open Source Project * * 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>/* * lambda.cpp * * Created on: Jan 14, 2015 * Author: radoslav */ #include "lambda.h" #include "strtok.h" #include "identifier.h" #include <cstring> void Lambda::copy(const Lambda& other) { signature = other.signature; body = other.body->clone(); } void Lambda::destroy() { delete body;...
<commit_before>#include "bookmark.h" /** * @brief Bookmark::Bookmark * @param frame_nbr Frame number associated with the bookmark. * @param frame Frame associated with the bookmark. * @param dir_path Path to the directory to store image in. * @param text Text description of the bookmark. */ Bookmark::Bookmark(in...
<commit_before>/* * Rule.cc * * Copyright (C) 2015 Misgana Bayetta * * Author: Misgana Bayetta <misgana.bayetta@gmail.com> 2015 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundatio...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2018, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/************************************************************************* * * $RCSfile: bootstrapcontext.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2004-06-18 15:49:52 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>// //#include <unistd.h> #include <cstdio> #include <cstdlib> #include <string> #include <ctime> #include <algorithm> #include <cmath> #include "GPIOClass.h" using namespace std; void Pulse(GPIOClass* pin, double cycles); void Wait(double seconds); clock_t timer; double time_to_complete;...
<commit_before>#include "VulkanGraphicsInstance.hpp" #if defined(PLATFORM_WINDOWS) #include <intrin.h> #endif VulkanGraphicsInstance::VulkanGraphicsInstance() : m_alloc_info(reinterpret_cast<void*>(&m_allocs), allocs::pfnAllocation, allocs::pfnReallocation, allocs::pfnFree, allocs::pfnInternalAllocation, allocs::pf...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: AKeys.cxx,v $ * * $Revision: 1.18 $ * * last change: $Author: obo $ $Date: 2006-09-17 02:14:39 $ * * The Contents of this file are made a...
<commit_before>#include <stdio.h> #include <string.h> #include <errno.h> #include "flow.h" #include "ofpbuf.h" #include "pcap-file.h" extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { int retval; FILE *pcap; struct flow flow; struct ofpbuf *packet; uint8_t t[size+24]; (unsigned int ...
<commit_before>#include <UtH\Platform\Graphics.hpp> #include <UtH\Platform\Configuration.hpp> #include <UtH\Platform\OpenGL.hpp> #include <UtH\Platform\OGLCheck.hpp> #include <iostream> #ifdef _DEBUG #pragma comment(lib, "freeglut_staticd.lib") #pragma comment(lib, "glew32sd.lib") #else // Release // FIXME: Static 'Re...
<commit_before>/* string_functions.cc Jeremy Barnes, 7 February 2005 Copyright (c) 2005 Jeremy Barnes. All rights reserved. This file is part of "Jeremy's Machine Learning Library", copyright (c) 1999-2005 Jeremy Barnes. This program is available under the GNU General Public License, the terms ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before>/*=================================================================== 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>cppcheck: variableScope<commit_after><|endoftext|>
<commit_before>//_____________________________________________________________________ AliAnalysisTask *AddTaskJFFlucMapMaster(TString taskName="JFFlucMaster", UInt_t period = 0, double ptmin = 0.5){ // Load Custom Configuration and parameters enum { lhc15o=0, lhc18q=1, lhc18r=2 }; cout << "AddTaskJFFlucMapMaster:: ...
<commit_before>#ifndef _SMRH_ #define _SMRH_ #include <list> #include <vector> #include <algorithm> #include <atomic> #include <boost/thread/tss.hpp> namespace DNFC { typedef void *data_pointer; /** * HazardPointerManager * * This class should not be used through HazardPointer template class. * This singleton ...
<commit_before>// // SerializeSourcemap.cc // drafter // // Created by Pavan Kumar Sunkara on 18/01/15. // Copyright (c) 2015 Apiary Inc. All rights reserved. // #include "SerializeSourcemap.h" using namespace drafter; using snowcrash::SourceMapBase; using snowcrash::SourceMap; using snowcrash::Collection; usin...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/isteps/istep15/host_establish_ex_chiplet.C $ ...
<commit_before>#include <iostream> #include <vector> #include "rev.hpp" int main(int, char*[]) { for (auto& i: gnr::rev({1, 2, 3, 4})) { std::cout << i << std::endl; } auto r(std::vector<int>{1, 2, 3, 4}); for (auto& i: gnr::rev(r)) { std::cout << i << std::endl; i = 0; } } <commit_msg>so...
<commit_before>#ifndef GENERIC_REV_HPP # define GENERIC_REV_HPP # pragma once #include <iterator> #include <type_traits> namespace gnr { namespace detail { template <typename T> class rev_impl { T ref_; public: explicit rev_impl(T&& r) noexcept(noexcept(T(std::forward<T>(r)))) : ref_(std::forward<T>(r)) ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #include "../StroikaPreComp.h" #include "../Debug/Demangle.h" #include "../Execution/Exceptions.h" #include "String_Constant.h" #include "ToString.h" using namespace Stroika::Foundation; using namespace Stroika::Foundation...
<commit_before>/* Q Light Controller efxpreviewarea.cpp Copyright (c) Heikki Junnila 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.tx...
<commit_before>// Copyright (C) 2017 Elviss Strazdins // This file is part of the Ouzel engine. #include <algorithm> #include "AudioDevice.hpp" #include "math/MathUtils.hpp" namespace ouzel { namespace audio { AudioDevice::AudioDevice(Audio::Driver aDriver): driver(aDriver) { ...
<commit_before>// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_DISCRETEFUNCTION_VISUALIZE_HH #define DUNE_GDT_DISCRETEFUNCTION_VISUALIZ...
<commit_before> #ifndef DUNE_GRID_PART_INTERSECTION_WRAPPER_HH #define DUNE_GRID_PART_INTERSECTION_WRAPPER_HH // dune-geometry #include <dune/geometry/type.hh> // dune-grid #include <dune/grid/common/intersection.hh> namespace Dune { namespace grid { namespace Part { namespace Intersection { namespace Wrapper { ...
<commit_before>// ConverterMarket.cpp // Implements the ConverterMarket class #include <iostream> #include <cmath> #include "ConverterMarket.h" #include "ConverterModel.h" #include "IsoVector.h" #include "Logger.h" #include "CycException.h" #include "InputXML.h" //- - - - - - - - - - - - - - - - - - - - - - - - - -...
<commit_before>/* * Copyright 2002,2004 The Apache Software 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 * * Unl...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: iso8601_converter.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: obo $ $Date: 2006-09-17 01:46:43 $ * * The Contents of this file...
<commit_before>/******************************* Copyright (c) 2016-2019 Grégoire Angerand 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 righ...
<commit_before>// Test the behavior of malloc/calloc/realloc when the allocation size is huge. // By default (allocator_may_return_null=0) the process shoudl crash. // With allocator_may_return_null=1 the allocator should return 0. // // RUN: %clangxx_asan -O0 %s -o %t // RUN: not %t malloc 2>&1 | FileCheck %s --check-...
<commit_before>#include "common/RhodesApp.h" #include "common/RhoStd.h" #include "common/RhoConf.h" #include "common/RhoFile.h" #include "common/RhoDefs.h" #include "common/Tokenizer.h" #include "logging/RhoLogConf.h" #include "generated/cpp/LogCaptureBase.h" namespace rho { using namespace apiGenerator; us...
<commit_before>#include <general/nmspc_tensor_extra.h> // -- (textra first) #include "ceres_subspace_functor.h" #include <algorithms/class_algorithm_status.h> #include <config/nmspc_settings.h> #include <iostream> #include <math/rnd.h> #include <tensors/class_tensors_finite.h> #include <tensors/model/class_model_finite...
<commit_before>// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #include "InteriorsExplorerController.h" #include "InteriorsExplorerModel.h" #include "InteriorsExplorerViewModel.h" #include "IInteriorsExplorerView.h" #include "IMenuViewModel.h" #include "IScreenControlViewModel.h" #include "IMyPinCreationInitia...
<commit_before>/**************************************************************************** * * Copyright (c) 2016 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>#ifndef __se3_sample_models_hpp__ #define __se3_sample_models_hpp__ #include "pinocchio/multibody/model.hpp" namespace se3 { namespace buildModels { void humanoid2d( Model& model) { model.addBody(model.getBodyId("universe"),JointModelRX(),SE3::Random(),Inertia::Random(),"ff1"); ...
<commit_before>#include "BoundingBox.hpp" #include "QuadKey.hpp" #include "entities/Element.hpp" #include "entities/Node.hpp" #include "entities/Way.hpp" #include "entities/Area.hpp" #include "entities/Relation.hpp" #include "index/ElementStore.hpp" #include "index/ElementGeometryClipper.hpp" using namespace utymap; u...