text
stringlengths
54
60.6k
<commit_before><commit_msg>Add analysis for correction maps<commit_after><|endoftext|>
<commit_before>// Scintilla source code edit control /** @file LexSpice.cxx ** Lexer for Spice **/ // Copyright 2006 by Fabien Proriol <proriol.fabien.dev@saint-pal.com> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <ctype.h> #include <str...
<commit_before>#include "LuaCpp/LuaException.hpp" #include "LuaCpp/LuaTable.hpp" namespace luacpp { LuaTable LuaTable::create(lua_State* state) { LuaTable table; lua_newtable(state); table.setReference(LuaReference::create(state)); lua_pop(state, 1); return table; } LuaTable::LuaTable() : LuaValue()...
<commit_before>/*! \file MatTools.cpp \brief Implements the MatTools class used by the Generic Repository \author Kathryn D. Huff */ #include <iostream> #include <fstream> #include <deque> #include <time.h> #include <assert.h> #include "CycException.h" #include "CycLimits.h" #include "MatTools.h" #include "...
<commit_before>/*! \file MatTools.cpp \brief Implements the MatTools class used by the Generic Repository \author Kathryn D. Huff */ #include <iostream> #include <fstream> #include <deque> #include <time.h> #include <assert.h> #include "CycException.h" #include "Logger.h" #include "Timer.h" #include "MatToo...
<commit_before>#include "Material.h" #include "Filesystem.h" #include "kit/log/log.h" #include <boost/filesystem.hpp> #include <vector> #include <fstream> #include <sstream> #include <string> #include <algorithm> using namespace std; namespace fs = boost::filesystem; const std::vector<std::string> Material :: s_ExtraM...
<commit_before>#include "Odometry.h" #include <cstdint> #include "WProgram.h" #include "Device.h" #include "config.h" namespace tamproxy { Odometer::Odometer(Encoder& lEncoder, Encoder& rEncoder, Gyro& gyro, float alpha) : _encL(lEncoder), _encR(rEncoder), _gyro(gyro), ...
<commit_before>// Copyright 2015 Alessio Sclocco <a.sclocco@vu.nl> // // 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>#include "Renderer.h" #include <sstream> #include <GL/glu.h> #include <FTGL/ftgl.h> #include <cmath> #include "GLFW.h" #include "Universe.h" #include "DataStore.h" namespace { double rad2deg(double rad) { return 57.29577951308232087721 * rad; } unsigned int createStarDisplayList(const Textu...
<commit_before> #include <stdlib.h> #include <string.h> #include "SKIP_LIST.h" namespace SKIP_LIST { struct HANDLE { int (*compare) ( void const * node1, void const * node2 ); int max_level; int current_level; double prob; unsigned short rand_state[3]; size_t num_items; struct NODE * he...
<commit_before>#include "Solution.h" #include "Location.h" #include <cmath> #include <cstdlib> #include <utility> #include <stdio.h> Solution::Solution() { //ctor } Solution::Solution(double cost, double infeasibilityCost): cost_(cost), infeasibilityCost_(infeasibilityCost){ } Solution::~Solution...
<commit_before>#include <cassert> #include "tinyxml2.h" #include "onut.h" #include "crypto.h" #include "zlib/zlib.h" namespace onut { TiledMap::sLayer::~sLayer() { } TiledMap::sTileLayer::~sTileLayer() { if (tileIds) delete[] tileIds; } TiledMap::sObjectLayer::~sObjectLayer() ...
<commit_before>// Copyright (c) 2019 ASMlover. 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 list o...
<commit_before>#include "gtest/gtest.h" #include <pistache/net.h> #include <stdexcept> #include <iostream> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> using namespace Pistache; TEST(net_test, port_creation) { Port port1(3000); ASSERT_FALSE(port1.isReserved()); uint16_t value1...
<commit_before>#include "Matrix.h" #include <string> #include <iostream> #include <string> #include <sstream> using namespace std; Matrix::Matrix() { this->rows = 0; this->cols = 0; } Matrix::Matrix(int rows, int cols) { resize(rows, cols); } Matrix::Matrix(const Matrix& m) { int i, j; resize(m.rows, m.cols);...
<commit_before>// geography.cpp // #include "common/common.h" #include "geography.h" #include "math_util.h" #include "system/page_info.h" namespace sdl { namespace db { geo_mem::geo_mem(data_type && m): m_data(std::move(m)) { init_geography(); m_type = init_type(); SDL_ASSERT(m_type != spati...
<commit_before>// Copyright 2019 Google LLC, Andrew Hines // // 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 ap...
<commit_before>/* * Copyright (C) 2015 Dan Leinir Turthra Jensen <admin@leinir.dk> * * 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; either * version 2.1 of the License, or (at your...
<commit_before>#include <QtQuick> #include "person.h" #include "company.h" #include <sailfishapp.h> #include <QScopedPointer> #include <QQuickView> #include <QQmlEngine> #include <QGuiApplication> #include "Logger" #include "LogManager" // Includes below are needed for manual configuration. If you use .conf file fo...
<commit_before>/* * Copyright (C) 2015 Dan Leinir Turthra Jensen <admin@leinir.dk> * * 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; either * version 2.1 of the License, or (at your...
<commit_before>class Solution { public: /** * Get all distinct N-Queen solutions * @param n: The number of queens * @return: All distinct solutions * For example, A string '...Q' shows a queen on forth position */ vector<vector<string> > rt_st; int n; vector<vector<string> > ...
<commit_before>class Solution { public: /** * @param A: A string includes Upper Case letters * @param B: A string includes Upper Case letter * @return: if string A contains all of the characters in B return true * else return false */ typedef map<char,int> charHash; ch...
<commit_before>/* Copyright 2012 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THIS SOFTWARE IS PROVIDED "...
<commit_before>#include <bson.h> #include <stdio.h> #include "hphp/runtime/base/base-includes.h" namespace HPHP { static bool cbson_loads_visit_int64 (const bson_iter_t *iter, const char* key, int64_t v_int64, Array ...
<commit_before>/*! * \file rect_atlas.cpp * \brief file rect_atlas.cpp * * Adapted from: WRATHAtlasBase.cpp and WRATHAtlas.cpp of WRATH: * * Copyright 2013 by Nomovok Ltd. * Contact: info@nomovok.com * This Source Code Form is subject to the * terms of the Mozilla Public License, v. 2.0. * If a copy of the MP...
<commit_before>// Copyright 2008 Paul Hodge #include <iostream> #include <fstream> #include "common_headers.h" #include "ast.h" #include "branch.h" #include "builtins.h" #include "builtin_types.h" #include "cpp_interface.h" #include "function.h" #include "importing.h" #include "list.h" #include "parser.h" #include "...
<commit_before>#include "Ant.hpp" #include "../nav/Node.hpp" #include "../nav/NavGraphHelper.hpp" #include "../worldobject/AntHome.hpp" #include "../goal/AntGoal.hpp" #include "../goal/AntEat.hpp" #include "../goal/AntForage.hpp" #include "../goal/AntExplore.hpp" #include "../goal/AntMoveToNode.hpp" #include "../util/m...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>#include <boost/functional/hash/hash.hpp> #include <deque> #include <unordered_set> #include <vector> #include <assert.h> #include <stddef.h> #include <stdio.h> #include <string.h> #include <strings.h> int board[5][4] = { // 0 1 2 3 { 1, 2, 2, 3, }, // 0 { 1, 2, 2, 3, }, // 1 { 4, 5, 5, ...
<commit_before>/********************************************************************** * File: mainblk.c (Formerly main.c) * Description: Function to call from main() to setup. * Author: Ray Smith * Created: Tue Oct 22 11:09:40 BST 1991 * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed und...
<commit_before>////////////////////////////////////////////////////////////////////////// // // SneezyMUD - All rights reserved, SneezyMUD Coding Team // "task.cc" - All functions related to tasks that keep mobs/PCs busy // ////////////////////////////////////////////////////////////////////////// #if 0 ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2011, The MITRE Corporation * 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 ...
<commit_before>#include "doocore/io/EasyTuple.h" // from STL #include <string> #include <sstream> #include <vector> // from Boost #include <boost/assign/std/vector.hpp> using namespace boost::assign; // from ROOT #include "TFile.h" #include "TTree.h" // from RooFit #include "RooArgSet.h" #include "...
<commit_before>#include "command.hpp" #include <vector> #include <string> namespace cygscript { class ExecCommand : public ICommand { std::vector<std::wstring> _args; public: /** * Constructor. * * @param std::vector<std::wstring> args Wide arguments from main function */ ExecCommand(std::vector<std::wstr...
<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 "GrGradientEffects.h" #include "gl/GrGLProgramStage.h" #include "GrProgramStageFactory.h" ////////////////////////////////////////////////////////////...
<commit_before>// SystemInfo-Win32.cpp // // Copyright 2013 tomas <tomasp@videotron.ca> // // 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 opti...
<commit_before>#include <cmath> #include "ingameelements/weapons/hammer.h" #include "renderer.h" #include "ingameelements/heroes/reinhardt.h" #include "ingameelements/projectiles/firestrike.h" #include "engine.h" void Hammer::init(uint64_t id_, Gamestate &state, EntityPtr owner_) { Weapon::init(id_, state, owner...
<commit_before> #pragma once #include "quantities/named_quantities.hpp" namespace principia { namespace numerics { namespace internal_arrays { using quantities::Quotient; using quantities::SquareRoot; template<typename T> struct CholeskyGenerator; template<typename Scalar, template<typename S> typename UpperTrian...
<commit_before>/** * @File: FootTrajectoryGenerator.cpp * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * foot trajectory for walking */ #include "FootTrajectoryGenerator.h" using namespace std; Pose3D FootTrajectorGenerator::genTrajectory( const Pose3D& oldFoot, const Pose3D& targetFo...
<commit_before>//===-- asan_globals.cc ---------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * RDRAND RNG * (C) 2016,2019 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/rdrand_rng.h> #include <botan/loadstor.h> #include <botan/cpuid.h> #if !defined(BOTAN_USE_GCC_INLINE_ASM) #include <immintrin.h> #endif namespace Botan { namespace ...
<commit_before>#include "RoadWarrior.h" #include "Backend.h" #include "RequestNotes.h" #include "HttpBackend.h" #include "FastCgiBackend.h" #include <x0/http/HttpRequest.h> RoadWarrior::RoadWarrior(x0::HttpWorker* worker) : BackendManager(worker, "__roadwarrior__"), backendsLock_(), backends_() { } RoadWa...
<commit_before>/* * This file is part of crash-reporter * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * Contact: Ville Ilvonen <ville.p.ilvonen@nokia.com> * Author: Riku Halonen <riku.halonen@nokia.com> * * This program is free software; you can redistribute it and/or * modify it unde...
<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>#ifndef SLAAUTOSUPPORTS_HPP_ #define SLAAUTOSUPPORTS_HPP_ #include <libslic3r/ClipperUtils.hpp> #include <libslic3r/Point.hpp> #include <libslic3r/TriangleMesh.hpp> #include <libslic3r/SLA/SLACommon.hpp> #include <boost/container/small_vector.hpp> // #define SLA_AUTOSUPPORTS_DEBUG namespace Slic3r { ...
<commit_before>#ifndef SLAAUTOSUPPORTS_HPP_ #define SLAAUTOSUPPORTS_HPP_ #include <libslic3r/Point.hpp> namespace Slic3r { class ModelObject; class SLAAutoSupports { public: struct Config { float density_at_horizontal; float density_at_45; float minimal_z; }; ...
<commit_before>#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QIMESSAGING_TYPETUPLE_HXX_ #define _QIMESSAGING_TYPETUPLE_HXX_ #include <qi/preproc.hpp> namespace qi { namespace detail { template<typename T> void setFromStorage(T& ref, void* storage) { ...
<commit_before>/* * This file is part of Maliit Plugins * * Copyright (C) 2012 Openismus GmbH * * Contact: maliit-discuss@lists.maliit.org * * 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>// Copyright 2010-2015 RethinkDB, all rights reserved. #ifndef CLUSTERING_TABLE_MANAGER_TABLE_META_CLIENT_HPP_ #define CLUSTERING_TABLE_MANAGER_TABLE_META_CLIENT_HPP_ #include "clustering/table_manager/table_metadata.hpp" #include "concurrency/cross_thread_watchable.hpp" #include "concurrency/watchable_...
<commit_before>// str.cpp see license.txt for copyright and terms of use // code for str.h // Scott McPeak, 1995-2000 This file is public domain. #include "str.h" // this module #include <stdlib.h> // atoi #include <stdio.h> // sprintf #include <ctype.h> // isspace #in...
<commit_before>//! @Alan //! //! Exercise 11.9: //! Define a map that associates words with a list of //! line numbers on which the word might occur. //! //! Exercise 11.10: //! Could we define a map from vector<int>::iterator //! to int? What about from list<int>::iterator to int? //! In each case, if not, why not? //...
<commit_before>// // ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0 // // Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015 // http://www.mkonrad.net // // See LICENSE file in project repository root for the license. // #include "../common_includes.h" #include "grad.h"...
<commit_before>/* * This file is part of the KDE libraries * Copyright (C) 2003 Benjamin C Meyer (ben+kdelibs at meyerhome dot net) * * 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 Found...
<commit_before>// Copyright 2015 Open Source Robotics Foundation, 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 re...
<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 2020 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>/* * opencog/atoms/reduct/PlusLink.cc * * Copyright (C) 2015 Linas Vepstas * All Rights Reserved * * 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 Plus Software Foundation and including t...
<commit_before>// Copyright (c) 2015 // Author: Chrono Law #include <std.hpp> using namespace std; #include <boost/core/lightweight_test.hpp> #include <boost/utility.hpp> #include <boost/dynamic_bitset.hpp> using namespace boost; ////////////////////////////////////////// void case1() { dynamic_bitset<> db1; ...
<commit_before>/* * kinetic-cpp-examples * Copyright (C) 2014 Seagate Technology. * * 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)...
<commit_before>// Copyright Andrew Resch 2008. Use, modification and distribution is // subject to 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) #include <libtorrent/ip_filter.hpp> #include <boost/python.hpp> #include "gil.hpp" usin...
<commit_before>/* Copyright 2017 R. Thomas * Copyright 2017 Quarkslab * * 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 re...
<commit_before><commit_msg>small updates in fitting<commit_after><|endoftext|>
<commit_before>#include "logger.h" // we implement this #include "stream.h" // for tinfra::err #include "trace.h" // for TINFRA_NULL_SOURCE_LOCATION #include "path.h" // for basename #include "exeinfo.h" // for get_exepath #include "thread.h" #ifdef _WIN32 #undef ERROR // defined by WINGDI #endif #include <time.h...
<commit_before>#include "vtpath.h" // we implement this #include "tinfra/tstring.h" #include "tinfra/any.h" #include "tinfra/trace.h" #include <vector> #include <stack> #include <deque> #include <iterator> #include <string> #include <stdexcept> namespace tinfra { // // vtpath_visit // std::vector<const variant*> v...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>/** \file \brief Main header file for dsb::sequence. */ #ifndef DSB_SEQUENCE_HPP #define DSB_SEQUENCE_HPP #include <cassert> #include <iterator> #include <memory> #include "dsb/config.h" namespace dsb { /** \brief Module that defines a sequence iteration abstraction, similar to standard ite...
<commit_before>// Copyright (c) 2006-2008 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/string_util.h" #include "webkit/glue/plugins/test/plugin_client.h" #include "webkit/glue/plugins/test/plugin_argume...
<commit_before>#include <ir/index_manager/index/Indexer.h> #include <ir/index_manager/index/FieldIndexer.h> #include <ir/index_manager/index/TermReader.h> #include <ir/index_manager/index/TermPositions.h> #include <boost/filesystem.hpp> #include <boost/filesystem/path.hpp> using namespace std; namespace bf...
<commit_before>/* * Copyright (C) 2006 Red Hat, Inc * * Sugar 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. * * Sugar is dis...
<commit_before>#include <boost/test/unit_test.hpp> #include <boost/filesystem.hpp> #include <boost/filesystem/path.hpp> #include <boost/random.hpp> #include <boost/thread.hpp> #include <boost/date_time/posix_time/posix_time.hpp> #include <iostream> #include <fstream> #include <map> #include <ir/index_manager/index/I...
<commit_before><commit_msg>fix DHT logging build error<commit_after><|endoftext|>
<commit_before>/* Copyright 2013-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" class NameExpr : public QueryExpr { w_string name; w_ht_t *map; bool caseless; bool wholename; explicit NameExpr(w_ht_t* map, bool caseless, bool wholename) : map(map), ca...
<commit_before>/* =========================================================================== # This is the library for Hover. # # Hover is a development kit that lets you control your hardware projects in a whole new way. # Wave goodbye to physical buttons. Hover detects hand movements in the air for touch-le...
<commit_before>#pragma once #include <iomanip> #include "common.hpp" #include "utils/string.hpp" LEMONBUDDY_NS union rgba { struct { uint8_t r; uint8_t g; uint8_t b; uint8_t a; }; uint32_t v; }; class color; static map<string, color> g_colorstore; class color { public: explicit color(stri...
<commit_before>// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Fri Jan 29 18:58:32 PST 2021 // Last Modified: Sun Jan 31 01:22:56 PST 2021 // Filename: humxml.cpp // URL: https://github.com/craigsapp/humlib/blob/master/cli/humxml.cpp // Syntax: C++11 // vim: ...
<commit_before>// Copyright (c) 2021 Roberto Raggi <roberto.raggi@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 rights...
<commit_before>/** * @file icomponent.hpp * @brief Component(Shared Library) interface * @author Byunghun Hwang<bhhwang@nsynapse.com> * @date 2015. 6. 21 * @details Component interface class */ #ifndef _COSSB_ICOMPONENT_HPP_ #define _COSSB_ICOMPONENT_HPP_ #include <string> #include "iprofile.h...
<commit_before>/* Copyright (c) 2003, Arvid Norberg 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 list of condi...
<commit_before>/* * Copyright 2008, 2009 Google Inc. * Copyright 2007 Nintendo Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
<commit_before>#include "dialog.h" Dialog::Dialog(QWidget *parent) : QDialog(parent) { init(); } Dialog::~Dialog() { } void Dialog::shuffle_animated(){ //lock button btnRandomize->setDown(true); disconnect(btnRandomize,SIGNAL(clicked()),this,SLOT(shuffle_animated())); for(int i=0;i<animatio...
<commit_before>#include "dbreader.h" #define DEBUG if (0) qDebug() << __PRETTY_FUNCTION__ DbReader::DbReader(QObject *parent) : QObject(parent), m_stop(false) { qRegisterMetaType<QList<QSqlRecord> >(); qRegisterMetaType<QSqlDatabase>(); qRegisterMetaType<QSqlQuery>(); qRegisterMetaType<DbReader *>...
<commit_before>/** \copyright * Copyright (c) 2014, Balazs Racz * 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...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkFlags.h" SkFlagInfo* SkFlags::gHead; SkString SkFlags::gUsage; void SkFlags::SetUsage(const char* usage) { gUsage.set(usage); } // Maximum li...
<commit_before>#ifndef V_SMC_INTERNAL_COMMON_HPP #define V_SMC_INTERNAL_COMMON_HPP #ifndef __STDC_CONSTANT_MACROS #define __STDC_CONSTANT_MACROS #endif // __STDC_CONSTANT_MACROS #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <utility> #include <map> #include <set> #include <deque> ...
<commit_before>/** * Copyright (c) 2016 DeepCortex GmbH <legal@eventql.io> * Authors: * - Paul Asmuth <paul@eventql.io> * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License ("the license") as * published by the Free Software Foun...
<commit_before>#include "entitysystem.h" #include "systems/movementsystem.h" #include "systems/updatesystem.h" #include "systems/chatsystem.h" #include "systems/inventorysystem.h" #include "systems/partysystem.h" #include "systems/mapsystem.h" #include "connection.h" #include "cmapclient.h" #include <vector> #include ...
<commit_before>/* * Copyright (c) 2013,2016-2018 ARM Limited * All rights reserved. * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware i...
<commit_before>/* * This file is part of the UnTech Editor Suite. * Copyright (c) 2016 - 2018, Marcus Rowe <undisbeliever@gmail.com>. * Distributed under The MIT License: https://opensource.org/licenses/MIT */ #include "multipleselectiontableview.h" #include "abstractaccessors.h" #include "accessor.h" #include "li...
<commit_before>/* Copyright (c) 2015-2017 Advanced Micro Devices, Inc. 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 the ri...
<commit_before>//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // This utility provides a way to execute LLVM bytecode without static // compilation. This consists of a very simple and slow (but portable) // interpreter, along with capability for system specific dynamic compilers. ...
<commit_before>#include "itkImage.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkCannyEdgeDetectionImageFilter.h" #include "itkRescaleIntensityImageFilter.h" #include <itkNeighborhoodIterator.h> #include "antsUtilities.h" #include <algorithm> #include <iomanip> #include <iostream> ...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<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_OPERATORS_INTERFACES_HH #define DUNE_GDT_OPERATORS_INTERFACES_HH #incl...
<commit_before>// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // // Contributors: Kirsten Weber #ifndef DUNE_STUFF_FUNCTIONS_CONSTANT_...
<commit_before>// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "main.hxx" // dune-stuff #include <dune/stuff/common/logging.hh> #inclu...
<commit_before>#include "client.h" #include "../utils/exception.h" #include "../utils/locker.h" #include "../utils/logger.h" #include "async_connection.h" #include "net_common.h" #include <json/json.hpp> #define BOOST_ASIO_ENABLE_HANDLER_TRACKING #include <boost/asio.hpp> #include <functional> #include <thread> using...
<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 "sandbox/win/src/process_mitigations.h" #include <algorithm> #include "base/win/windows_version.h" #include "sandbox/win/src...
<commit_before>/* This file is part of libkcal. 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 ver...
<commit_before>#pragma once #include "../expr.hpp" namespace wrd { /*class blockExpr : public expr { WRD(CLASS(blockExpr, expr)) public: };*/ } <commit_msg>wrd: feat: add blockExpr<commit_after>#pragma once #include "../expr.hpp" #include "../../frame/frameInteractable.hpp" namespace wrd { ...
<commit_before>#include "vehicle.h" #include "game/resources/vehiclefactory.h" #include <cfloat> #include <random> std::default_random_engine rng; namespace OpenApoc { Vehicle::Vehicle(VehicleDefinition &def) : def(def) { } Vehicle::~Vehicle() { } class VehicleRandomWalk : public VehicleMission { public: std::...