commit
stringlengths
40
40
old_file
stringlengths
2
205
new_file
stringlengths
2
205
old_contents
stringlengths
0
32.9k
new_contents
stringlengths
1
38.9k
subject
stringlengths
3
9.4k
message
stringlengths
6
9.84k
lang
stringlengths
3
13
license
stringclasses
13 values
repos
stringlengths
6
115k
b27d2b3cd43db8f8b9251ff3fa370c4802770b44
modules/SofaGraphComponent/SofaGraphComponent_test/SceneChecker_test.cpp
modules/SofaGraphComponent/SofaGraphComponent_test/SceneChecker_test.cpp
#include <SofaTest/Sofa_test.h> using sofa::Sofa_test; #include <SofaGraphComponent/SceneCheckerVisitor.h> using sofa::simulation::SceneCheckerVisitor ; #include <SofaGraphComponent/SceneChecks.h> using namespace sofa::simulation::scenecheckers ; #include <sofa/helper/system/PluginManager.h> using sofa::helper::syst...
#include <SofaTest/Sofa_test.h> using sofa::Sofa_test; #include <SofaGraphComponent/SceneCheckerVisitor.h> using sofa::simulation::SceneCheckerVisitor ; #include <SofaGraphComponent/SceneChecks.h> using namespace sofa::simulation::scenecheckers ; #include <sofa/helper/system/PluginManager.h> using sofa::helper::syst...
Fix the test that was wrong and thus failing.
[SceneChecker] Fix the test that was wrong and thus failing.
C++
lgpl-2.1
FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa
c0f070e4daba61a5eea67b8fe77fa958845cbc17
modules/planning/tasks/speed_optimizer.cc
modules/planning/tasks/speed_optimizer.cc
/****************************************************************************** * Copyright 2017 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 the License at ...
/****************************************************************************** * Copyright 2017 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 the License at ...
fix slowdown speed threshold condition bug.
planning: fix slowdown speed threshold condition bug.
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
741c098adaca051b29a5a441a2d51da402eb754a
libs/bayesian/src/bp.cpp
libs/bayesian/src/bp.cpp
#include <algorithm> #include <functional> #include "bayesian/graph.hpp" #include "bayesian/bp.hpp" #include "bayesian/cpt.hpp" // unordered_mapのネストの解決 namespace bn { bp::bp(graph_t const& graph) : graph_(graph) { } bp::return_type bp::operator()(std::unordered_map<vertex_type, matrix_type> const& precondition) ...
#include <algorithm> #include <functional> #include "bayesian/graph.hpp" #include "bayesian/bp.hpp" #include "bayesian/cpt.hpp" // unordered_mapのネストの解決 namespace bn { bp::bp(graph_t const& graph) : graph_(graph) { } bp::return_type bp::operator()(std::unordered_map<vertex_type, matrix_type> const& precondition) ...
Fix initialize by precondition. pi_ and lambda_ are init from the same argument.
Fix initialize by precondition. pi_ and lambda_ are init from the same argument. Signed-off-by: Godai Azuma <0f0eab2b3ee7eed768c2dfe49c6ee6c6ec6e6a5d@gmail.com>
C++
mit
godai0519/BayesianNetwork
2abeeb9bea090f2306a5f574ae0a660faaf793bb
source/process/common/RouterInitializer.cpp
source/process/common/RouterInitializer.cpp
/** * @file process/RouterInitializer.cpp * @date Created <2014-05-20 16:36:32> * * This file is generated by generators/router_initializer.rb from config file * generators/router_initializer.yml. Do not edit this file directly. Please read * the config file, update options there and re-run the ruby script to * ...
/** * @file process/RouterInitializer.cpp * @date Created <2014-05-20 16:36:32> * * This file is generated by generators/router_initializer.rb from config file * generators/router_initializer.yml. Do not edit this file directly. Please read * the config file, update options there and re-run the ruby script to * ...
Revert "comment code to package"
Revert "comment code to package" This reverts commit 837f66a5ee06d6f6226541b0632474925c3ef9d9.
C++
apache-2.0
izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery
58cd63a6f1adf155c2b6ca97c0f0b9291431211e
src/thread/posixthread.cpp
src/thread/posixthread.cpp
/** * @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 forth in the Term...
/** * @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 forth in the Term...
Call pthread_mutex_destroy only if the mutex was initialized
Call pthread_mutex_destroy only if the mutex was initialized
C++
bsd-2-clause
meganz/sdk,meganz/sdk,Acidburn0zzz/sdk,meganz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,meganz/sdk,meganz/sdk,Acidburn0zzz/sdk,Acidburn0zzz/sdk,meganz/sdk,meganz/sdk,Acidburn0zzz/sdk
01dffb89b9d7f9932fa46ab15edd9ec38c5a694c
src/menu/menu_animation.cpp
src/menu/menu_animation.cpp
#include "menu/menu_animation.h" #include <vector> #include "util/token.h" #include "util/bitmap.h" #include "globals.h" #include "util/funcs.h" MenuFrame::MenuFrame(Token *token, imageMap &images) throw (LoadException): bmp(0), time(0), horizontalFlip(false), verticalFlip(false), alpha(255){ offset.x = 0; of...
#include "menu/menu_animation.h" #include <vector> #include "util/token.h" #include "util/bitmap.h" #include "globals.h" #include "util/funcs.h" MenuFrame::MenuFrame(Token *token, imageMap &images) throw (LoadException): bmp(0), time(0), horizontalFlip(false), verticalFlip(false), alpha(255){ offset.x = 0; of...
Check alpha if applicable set trans
Check alpha if applicable set trans
C++
bsd-3-clause
scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown
cb1fa0faafd6e534dde4ce9c912716608fe18ff7
db/yas_db_utils.cpp
db/yas_db_utils.cpp
// // yas_db_utils.cpp // #include "yas_db_attribute.h" #include "yas_db_database.h" #include "yas_db_manager.h" #include "yas_db_row_set.h" #include "yas_db_select_option.h" #include "yas_db_sql_utils.h" #include "yas_db_utils.h" #include "yas_unless.h" using namespace yas; db::update_result db::create_table(db::d...
// // yas_db_utils.cpp // #include "yas_db_attribute.h" #include "yas_db_database.h" #include "yas_db_manager.h" #include "yas_db_row_set.h" #include "yas_db_select_option.h" #include "yas_db_sql_utils.h" #include "yas_db_utils.h" #include "yas_unless.h" using namespace yas; db::update_result db::create_table(db::d...
update db_utils
update db_utils
C++
mit
objective-audio/db,objective-audio/db,objective-audio/db
5bb467684cec8f230f5582cea2ea45dcc77153d7
cpp/full_text_cache_expirer.cc
cpp/full_text_cache_expirer.cc
/** \brief Utility for expunging old records from our full-text database. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2017 Universitätsbiblothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the...
/** \brief Utility for expunging old records from our full-text database. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2017 Universitätsbiblothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the...
Update full_text_cache_expirer.cc
Update full_text_cache_expirer.cc
C++
agpl-3.0
ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools
88de8e419c4154457f0bf13aa67923b437462a72
nuitka/build/include/nuitka/threading.hpp
nuitka/build/include/nuitka/threading.hpp
// Copyright 2013, Kay Hayen, mailto:kay.hayen@gmail.com // // Part of "Nuitka", an optimizing Python compiler that is compatible and // integrates with CPython, but also works on its own. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
// Copyright 2013, Kay Hayen, mailto:kay.hayen@gmail.com // // Part of "Nuitka", an optimizing Python compiler that is compatible and // integrates with CPython, but also works on its own. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in co...
Enable threading support by default.
Enable threading support by default.
C++
apache-2.0
kayhayen/Nuitka,kayhayen/Nuitka,tempbottle/Nuitka,wfxiang08/Nuitka,wfxiang08/Nuitka,tempbottle/Nuitka,tempbottle/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka,kayhayen/Nuitka,wfxiang08/Nuitka,tempbottle/Nuitka
47a2032bd01304cd8c5cfd96f2600d4bf9ff1201
opencog/atoms/execution/EvaluationLink.cc
opencog/atoms/execution/EvaluationLink.cc
/* * opencog/atoms/execution/EvaluationLink.cc * * Copyright (C) 2009, 2013, 2014, 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 Free Software Foundation and...
/* * opencog/atoms/execution/EvaluationLink.cc * * Copyright (C) 2009, 2013, 2014, 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 Free Software Foundation and...
Throw a silent exception
Throw a silent exception
C++
agpl-3.0
misgeatgit/atomspace,ceefour/atomspace,ceefour/atomspace,misgeatgit/atomspace,ceefour/atomspace,rodsol/atomspace,rTreutlein/atomspace,yantrabuddhi/atomspace,williampma/atomspace,rTreutlein/atomspace,yantrabuddhi/atomspace,yantrabuddhi/atomspace,yantrabuddhi/atomspace,ArvinPan/atomspace,ceefour/atomspace,ArvinPan/atomsp...
63b704f799d9ebf48db56d53940748a387037e9f
src/kernel/appupappsmodel.cpp
src/kernel/appupappsmodel.cpp
/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include "appupappsmodel.h" #include <QHash> #include <QDir> #include <QDebug> #inc...
/* * Copyright 2011 Intel Corporation. * * This program is licensed under the terms and conditions of the * Apache License, version 2.0. The full text of the Apache License is at * http://www.apache.org/licenses/LICENSE-2.0 */ #include "appupappsmodel.h" #include <QHash> #include <QDir> #include <QDebug> #inc...
Fix bug where a segfault could happen on transition from 0 desktops to > 0 desktops
Fix bug where a segfault could happen on transition from 0 desktops to > 0 desktops Signed-off-by: James Ausmus <f3ef53135d075b8aa563ebd9d076a1a3f7086345@intel.com>
C++
apache-2.0
meego-tablet-ux/meegolabs-ux-components,meego-tablet-ux/meegolabs-ux-components
d3dd55a965fc5dba4ba02461853141cbaf5c0206
WickedEngine/RenderPath3D_TiledDeferred.cpp
WickedEngine/RenderPath3D_TiledDeferred.cpp
#include "RenderPath3D_TiledDeferred.h" #include "wiRenderer.h" #include "wiImage.h" #include "wiHelper.h" #include "wiTextureHelper.h" #include "wiSprite.h" #include "ResourceMapping.h" #include "wiProfiler.h" #include "wiBackLog.h" using namespace wiGraphics; void RenderPath3D_TiledDeferred::ResizeBuffers() { Rend...
#include "RenderPath3D_TiledDeferred.h" #include "wiRenderer.h" #include "wiImage.h" #include "wiHelper.h" #include "wiTextureHelper.h" #include "wiSprite.h" #include "ResourceMapping.h" #include "wiProfiler.h" #include "wiBackLog.h" using namespace wiGraphics; void RenderPath3D_TiledDeferred::ResizeBuffers() { Rend...
Update RenderPath3D_TiledDeferred.cpp
Update RenderPath3D_TiledDeferred.cpp
C++
mit
turanszkij/WickedEngine,turanszkij/WickedEngine,turanszkij/WickedEngine,turanszkij/WickedEngine
0e52cc4ec5287efd7cd039aac946e2c19c485b5b
src-qt5/desktop-utils/lumina-fm/Browser.cpp
src-qt5/desktop-utils/lumina-fm/Browser.cpp
//=========================================== // Lumina-DE source code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "Browser.h" #include <QStringList> #include <QTimer> #include <QtConcur...
//=========================================== // Lumina-DE source code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "Browser.h" #include <QStringList> #include <QTimer> #include <QtConcur...
Update the browser to multi-thread *all* file loading, not just thumbnails.
Update the browser to multi-thread *all* file loading, not just thumbnails.
C++
bsd-3-clause
sasongko26/lumina,sasongko26/lumina,sasongko26/lumina,sasongko26/lumina,sasongko26/lumina,cpforbes/lumina,trueos/lumina,trueos/lumina,trueos/lumina,cpforbes/lumina,sasongko26/lumina,cpforbes/lumina,trueos/lumina,trueos/lumina,sasongko26/lumina,pcbsd/lumina,pcbsd/lumina,trueos/lumina,cpforbes/lumina,trueos/lumina,sasong...
0ecbfdc45c679b1044dec5221e670a01b84545d4
unitTests/src/ofApp.cpp
unitTests/src/ofApp.cpp
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofTrueTypeFont::setGlobalDpi(72); ofSetBackgroundColor(0, 0, 0); verdana14.load("verdana.ttf", 14, true, true); verdana14.setLineHeight(18.0f); verdana14.setLetterSpacing(1.037); // A simpl...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofTrueTypeFont::setGlobalDpi(72); ofSetBackgroundColor(0, 0, 0); verdana14.load("verdana.ttf", 14, true, true); verdana14.setLineHeight(18.0f); verdana14.setLetterSpacing(1.037); // A simpl...
add unit test for bracketed edge rewriting L-System
add unit test for bracketed edge rewriting L-System
C++
mit
edap/ofxLSystemGrammar
0788454513ced7e075071e4deb97d05411bebad1
unit_test/color_test.cc
unit_test/color_test.cc
/* * Copyright 2015 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing p...
/* * Copyright 2015 The LibYuv Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing p...
Test color space against a reference function. BUG=none TESTED=TestYUV R=tpsiaki@google.com
Test color space against a reference function. BUG=none TESTED=TestYUV R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/35789004 git-svn-id: a51711482b6ba0e1d1ab095578a045eeae45ac9a@1229 16f28f9a-4ce2-e073-06de-1de4eb20be90
C++
bsd-3-clause
rig-project/libyuv,archos-sa/libyuv-avp,granalberto/libyuv,archos-sa/libyuv-avp,granalberto/libyuv,archos-sa/libyuv-avp,granalberto/libyuv,rig-project/libyuv,granalberto/libyuv,rig-project/libyuv
2317481852cb5c1003f79677ac189bb32c0c2c44
application_sandbox/pipeline_executable_properties/main.cpp
application_sandbox/pipeline_executable_properties/main.cpp
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2019 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Fix build issue with pipeline_executable_properties.
Fix build issue with pipeline_executable_properties.
C++
apache-2.0
google/vulkan_test_applications,google/vulkan_test_applications,google/vulkan_test_applications,google/vulkan_test_applications
92a8b8f7d6e2568d58b810a6535af8f3d0d0d754
user/tools/iporinad.cpp
user/tools/iporinad.cpp
#include <cstdlib> #include <cstring> #include <iostream> #include <fstream> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/if.h> #include <linux/if_tun.h> using namespace std; /* Arguments taken by the function: * *...
#include <cstdlib> #include <cstring> #include <iostream> #include <fstream> #include <string> #include <list> #include <vector> #include <sstream> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <fcntl.h> #include <linux/if.h> #include <linux/if_...
add definitions for data structures
iporinad: add definitions for data structures
C++
lgpl-2.1
autrimpo/rlite,autrimpo/rlite,vmaffione/rlite,vmaffione/rlite,autrimpo/rlite,vmaffione/rlite,autrimpo/rlite,vmaffione/rlite
97efa262466d1dad84ec4ab14a4c2cac6261c92a
planning/lib/node.hpp
planning/lib/node.hpp
#pragma once #include <string> #include <map> #include <functional> #include <vector> namespace search { class Node { public: using Size = std::size_t; using Path = std::string; using Chidlren = std::vector<Node>; struct Coordinate { Coordinate(Size x, S...
#pragma once #include <string> #include <map> #include <functional> #include <vector> namespace search { class Node { public: using Size = std::size_t; using Path = std::string; using Chidlren = std::vector<Node>; struct Coordinate { Coordinate(Size x, S...
add const for path()
add const for path()
C++
mit
Mooophy/Path-Planning,Mooophy/Path-Planning
e75d717eec3f3f25d001e52204f7489b2c76431d
chrome/browser/extensions/theme_preview_infobar_delegate.cc
chrome/browser/extensions/theme_preview_infobar_delegate.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/views/extensions/theme_preview_infobar_delegate.h" #include "app/l10n_util.h" #include "base/string_util.h" #include "chrome...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/theme_preview_infobar_delegate.h" #include "app/l10n_util.h" #include "base/string_util.h" #include "chrome/brows...
Fix broken tree.
Fix broken tree. git-svn-id: http://src.chromium.org/svn/trunk/src@21624 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 47f959cb504664dc499584e604f27799d14baaed
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
c3ba3d76edbc0ce28f3bf801239d5995e69ddae2
examples/qt/qwt_spectrogram/qwt_spectrogram.cpp
examples/qt/qwt_spectrogram/qwt_spectrogram.cpp
#include "aquila/global.h" #include "aquila/functions.h" #include "aquila/source/generator/SineGenerator.h" #include "aquila/source/FramesCollection.h" #include "aquila/transform/Spectrogram.h" #include <QApplication> #include <QMainWindow> #include <qwt_color_map.h> #include <qwt_plot.h> #include <qwt_plot_spectrogram...
#include "aquila/global.h" #include "aquila/functions.h" #include "aquila/source/WaveFile.h" #include "aquila/source/generator/SineGenerator.h" #include "aquila/source/FramesCollection.h" #include "aquila/transform/Spectrogram.h" #include <QApplication> #include <QMainWindow> #include <qwt_color_map.h> #include <qwt_pl...
Allow for arbitrary input from .wav file.
Allow for arbitrary input from .wav file.
C++
apache-2.0
sav6622/aquila,synkarae/aquila,sav6622/aquila,synkarae/aquila,synkarae/Quasar,tempbottle/aquila,sav6622/aquila,zsiciarz/aquila,zsiciarz/aquila,zsiciarz/aquila,tempbottle/aquila,Aldor007/aquila,Aldor007/aquila,synkarae/aquila,synkarae/Quasar,zsiciarz/aquila,tempbottle/aquila,synkarae/Quasar,Aldor007/aquila
649784214d93cc3fcb13df3c42ce255e61d2adee
widgets/PHNTextBox.cpp
widgets/PHNTextBox.cpp
#include "PHNTextBox.h" PHN_TextBox::PHN_TextBox() { this->length = 0; this->selStart = 0; this->selLength = 0; this->selEnd = 0; this->invalidateStart = -1; this->invalidateEnd = -1; this->cursor_x = -1; this->cursor_y = -1; this->scrollOffset = 0; this->scrollVisible = true; this->dragStart = -...
#include "PHNTextBox.h" PHN_TextBox::PHN_TextBox() { this->length = 0; this->selStart = 0; this->selLength = 0; this->selEnd = 0; this->invalidateStart = -1; this->invalidateEnd = -1; this->cursor_x = -1; this->cursor_y = -1; this->scrollOffset = 0; this->scrollVisible = true; this->dragStart = -...
reduce flicker and improve selection
Textbox: reduce flicker and improve selection Wipe-before-draw causes flicker, replaced by a 'smarter' algortihm. As well, fixed a problem where selections past the text length can cause corruptions.
C++
mit
wrh3c/Phoenard,Phoenard/Phoenard,wrh3c/Phoenard,Phoenard/Phoenard
6396e8fba870dbec1dd1f27f68456590e5135ff1
Samples/Isosurf/src/Isosurf.cpp
Samples/Isosurf/src/Isosurf.cpp
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Also see acknowledgements in Readme.html You may use this sa...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Also see acknowledgements in Readme.html You may use this sa...
Enable IsoSurf sample to run in pure HLSL mode.
[Samples] Enable IsoSurf sample to run in pure HLSL mode. --HG-- branch : v1-9
C++
mit
digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre
89a8b949fce1582f0dac38c751d9493f14f59d22
content/browser/in_process_webkit/indexed_db_browsertest.cc
content/browser/in_process_webkit/indexed_db_browsertest.cc
// 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/bind.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/memory/ref_counted.h" #in...
// 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/bind.h" #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/memory/ref_counted.h" #in...
Disable IndexedDBBrowserTest.KeyTypesTest
Disable IndexedDBBrowserTest.KeyTypesTest It is broken by WK 129037. Review URL: https://codereview.chromium.org/10958003 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@157634 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
bright-sparks/chromium-spacewalk,Jonekee/chromium.src,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,ltilve/chromium,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,timopulkkinen/BubbleFish,TheTypoMaster/chromium-crosswalk,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,Chill...
5e23d5f628918c1e140c48f44be6f63217d9cec3
playerJoinHandler.cpp
playerJoinHandler.cpp
/* Copyright (C) 2016 Vladimir "allejo" Jimenez 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, modif...
/* Copyright (C) 2016 Vladimir "allejo" Jimenez 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, modif...
Fix bug where plugin didn't work at all
Fix bug where plugin didn't work at all
C++
mit
allejo/playerJoinHandler
e4694369de35cb9dc97ffab010372df0061202f2
Source/Example/HowToUse_Dll.cpp
Source/Example/HowToUse_Dll.cpp
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // // Example for MediaIn...
/* Copyright (c) MediaArea.net SARL. All Rights Reserved. * * Use of this source code is governed by a BSD-style license that can * be found in the License.html file in the root of the source tree. */ //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // // Example for MediaIn...
Fix V811 Decreased performance. Excessive type casting: string -> char * -> string.
Fix V811 Decreased performance. Excessive type casting: string -> char * -> string.
C++
bsd-2-clause
MediaArea/MediaInfoLib,JeromeMartinez/MediaInfoLib,JeromeMartinez/MediaInfoLib,MediaArea/MediaInfoLib,JeromeMartinez/MediaInfoLib,JeromeMartinez/MediaInfoLib,JeromeMartinez/MediaInfoLib,MediaArea/MediaInfoLib,JeromeMartinez/MediaInfoLib,JeromeMartinez/MediaInfoLib,MediaArea/MediaInfoLib,JeromeMartinez/MediaInfoLib,Medi...
4983a518d1add2587ce2f4bf0e081bf6ad3d4fdd
plugins/ipc/stipc.cpp
plugins/ipc/stipc.cpp
#include <wayfire/singleton-plugin.hpp> #include <wayfire/view.hpp> #include <wayfire/output.hpp> #include <wayfire/workspace-manager.hpp> #include <getopt.h> #include "ipc.hpp" extern "C" { #include <wlr/backend/wayland.h> #include <wlr/backend/multi.h> #include <wlr/backend/headless.h> #include <wlr/types/wlr_point...
#include <wayfire/singleton-plugin.hpp> #include <wayfire/view.hpp> #include <wayfire/output.hpp> #include <wayfire/workspace-manager.hpp> #include <wayfire/output-layout.hpp> #include <getopt.h> #include "ipc.hpp" extern "C" { #include <wlr/backend/wayland.h> #include <wlr/backend/multi.h> #include <wlr/backend/head...
add command to move cursor
stipc: add command to move cursor
C++
mit
ammen99/wayfire,ammen99/wayfire
c761da7bd373e9007413ebcf9033d4008113e4db
folly/experimental/coro/test/InlineTaskTest.cpp
folly/experimental/coro/test/InlineTaskTest.cpp
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
Remove workaround for co_return with uniform initializer
Remove workaround for co_return with uniform initializer Summary: This workaround is no longer necessary for a Clang that includes patch https://reviews.llvm.org/D76118. Reviewed By: ispeters, lewissbaker Differential Revision: D20486353 fbshipit-source-id: cab137ed557ba8aa6ec86ec7011cc4fc7c46fe82
C++
apache-2.0
facebook/folly,facebook/folly,facebook/folly,facebook/folly,facebook/folly
c01c4038cb41bbb43055ef2962b2e93926b12144
JContainers/src/collections/dyn_form_watcher.hpp
JContainers/src/collections/dyn_form_watcher.hpp
#pragma once #include <boost/smart_ptr/make_shared_object.hpp> #include <boost/range.hpp> //#include <boost/algorithm/string/join.hpp> #include <assert.h> #include <inttypes.h> #include <map> #include <tuple> #include <mutex> //#include "skse/GameForms.h" //#include "skse/PapyrusVM.h" #include "skse/skse.h" #include ...
#pragma once #include <boost/smart_ptr/make_shared_object.hpp> #include <boost/range.hpp> //#include <boost/algorithm/string/join.hpp> #include <assert.h> #include <inttypes.h> #include <map> #include <tuple> #include <mutex> //#include "skse/GameForms.h" //#include "skse/PapyrusVM.h" #include "skse/skse.h" #include ...
test form observer performance
test form observer performance
C++
mit
SilverIce/JContainers,SilverIce/JContainers,SilverIce/JContainers,SilverIce/JContainers,SilverIce/JContainers,SilverIce/JContainers
58b7bcebb739ca0714e9b6012f14ca63240885d8
Sources/Interface/Interface.cpp
Sources/Interface/Interface.cpp
/************************************************************************* > File Name: Interface.cpp > Project Name: Hearthstone++ > Author: Young-Joong Kim > Purpose: Interface for Hearthstone Game Agent > Created Time: 2017/10/24 > Copyright (c) 2017, Young-Joong Kim ******************************************...
/************************************************************************* > File Name: Interface.cpp > Project Name: Hearthstone++ > Author: Young-Joong Kim > Purpose: Interface for Hearthstone Game Agent > Created Time: 2017/10/24 > Copyright (c) 2017, Young-Joong Kim ******************************************...
Update Interface - Fix compile error
Update Interface - Fix compile error
C++
mit
Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp
e119f81991208fa9ec6ebb42a16b19e1e221c397
ft/tests/cachetable-prefetch-checkpoint-test.cc
ft/tests/cachetable-prefetch-checkpoint-test.cc
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: // verify that the cache table checkpoint with prefetched blocks active works. // the blocks in the reading state should be ignored. #ident "$Id$" #ident "Copyright (c) 2007-2012 Tokutek Inc. All rights...
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: // verify that the cache table checkpoint with prefetched blocks active works. // the blocks in the reading state should be ignored. #ident "$Id$" #ident "Copyright (c) 2007-2012 Tokutek Inc. All rights...
fix flakey test
fix flakey test git-svn-id: b5c078ec0b4d3a50497e9dd3081db18a5b4f16e5@48123 c7de825b-a66e-492c-adef-691d508d4ae1
C++
lgpl-2.1
ollie314/server,davidl-zend/zenddbi,kuszmaul/PerconaFT,ollie314/server,ottok/PerconaFT,flynn1973/mariadb-aix,natsys/mariadb_10.2,davidl-zend/zenddbi,flynn1973/mariadb-aix,davidl-zend/zenddbi,ottok/PerconaFT,ollie314/server,davidl-zend/zenddbi,ollie314/server,natsys/mariadb_10.2,davidl-zend/zenddbi,slanterns/server,perc...
06a9eb70b572938bb0016cf80020386199e8352c
lib/aux_js.cpp
lib/aux_js.cpp
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-443271. // // This file is part of the GLVis visualization tool and library. For more // information and source co...
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-443271. // // This file is part of the GLVis visualization tool and library. For more // information and source co...
make style
make style
C++
bsd-3-clause
GLVis/glvis,GLVis/glvis,GLVis/glvis,GLVis/glvis
545bc5f81d60fa6ff7c5cc43a2e9eef82f911466
src/util/readwritefile.cpp
src/util/readwritefile.cpp
// Copyright (c) 2015-2020 The Bitcoin Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <fs.h> #include <limits> #include <stdio.h> #include <string> #include <...
// Copyright (c) 2015-2020 The Bitcoin Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <fs.h> #include <limits> #include <stdio.h> #include <string> #include <...
fix WriteBinaryFile() claiming success even if error occurred
util: fix WriteBinaryFile() claiming success even if error occurred `fclose()` is flushing any buffered data to disk, so if it fails then that could mean that the data was not completely written to disk. Thus, check if `fclose()` succeeds and only then claim success from `WriteBinaryFile()`.
C++
mit
domob1812/bitcoin,dscotese/bitcoin,anditto/bitcoin,yenliangl/bitcoin,ElementsProject/elements,Xekyo/bitcoin,sstone/bitcoin,jamesob/bitcoin,qtumproject/qtum,bitcoinsSG/bitcoin,domob1812/bitcoin,rnicoll/bitcoin,mruddy/bitcoin,fanquake/bitcoin,sipsorcery/bitcoin,tecnovert/particl-core,lateminer/bitcoin,bitcoin/bitcoin,lat...
503198cd2a24f6fb6a6fbda9827451378515d4ad
SurgSim/Graphics/OsgManager.cpp
SurgSim/Graphics/OsgManager.cpp
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
Fix rendering problem under osg-3.2
Fix rendering problem under osg-3.2 problem was actuall introduced between 3.1.8 and 3.1.9, we needed to set the default state on one stateset to fix this, this might have to move further up the scenegraph
C++
apache-2.0
simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim
6dcbcead3da45604b84aef9d9496689fef5ff8f5
call/version.cc
call/version.cc
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Update WebRTC code version (2021-01-20T04:04:26).
Update WebRTC code version (2021-01-20T04:04:26). TBR=26646219319870ca9d01017a011e960429912aaa@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org Bug: None Change-Id: I81bda176d7979d01e7d8c76a03af68d3101b9fc7 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/202746 Reviewed-by: 26646219319870ca9d01017a01...
C++
bsd-3-clause
TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc
bc08b8eefe534bc930263437715a955e7c1e0f88
src/utp_socket_manager.cpp
src/utp_socket_manager.cpp
/* Copyright (c) 2009, 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 conditions and the f...
/* Copyright (c) 2009, 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 conditions and the f...
fix msvc build issue
fix msvc build issue git-svn-id: 4b20f32ac28c752316e0f948a8a743f4a1700c23@4980 a83610d8-ad2a-0410-a6ab-fc0612d85776
C++
bsd-3-clause
cit/libtorrent-peer-idol,kuro/libtorrent,cscheid/libtorrent,kuro/libtorrent,kuro/libtorrent,kuro/libtorrent,cit/libtorrent-peer-idol,cit/libtorrent-peer-idol,cscheid/libtorrent,cscheid/libtorrent,cit/libtorrent-peer-idol,cit/libtorrent-peer-idol,cscheid/libtorrent,cscheid/libtorrent,cit/libtorrent-peer-idol,cscheid/lib...
f79efd2b36cce46957d273360d933464e688b97b
server/src/file_system_windows.cpp
server/src/file_system_windows.cpp
#include "file_system.hpp" #include "safe_windows.h" namespace msrv { namespace { inline int64_t makeInt64(DWORD high, DWORD low) { return (static_cast<int64_t>(high) << 32) | static_cast<int64_t>(low); } inline FileType getFileType(DWORD attributes) { return attributes & FILE_ATTRIBUTE_DIRECTORY ? ...
#include "file_system.hpp" #include "safe_windows.h" namespace msrv { namespace { inline int64_t makeInt64(DWORD high, DWORD low) { return (static_cast<int64_t>(high) << 32) | static_cast<int64_t>(low); } inline FileType getFileType(DWORD attributes) { return attributes & FILE_ATTRIBUTE_DIRECTORY ? ...
fix typo
file_system_windows.cpp: fix typo
C++
mit
hyperblast/beefweb,hyperblast/beefweb,hyperblast/beefweb,hyperblast/beefweb,hyperblast/beefweb
a43f495e84606de1f2169483481a7f36f3cd22b5
tango_ros_common/tango_ros_native/src/tango_3d_reconstruction_helper.cpp
tango_ros_common/tango_ros_native/src/tango_3d_reconstruction_helper.cpp
// Copyright 2017 Intermodalics 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 applica...
// Copyright 2017 Intermodalics 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 applica...
Correct nits
Correct nits
C++
apache-2.0
Intermodalics/tango_ros,Intermodalics/tango_ros,Intermodalics/tango_ros,Intermodalics/tango_ros
c6089f795eb9d5e72f5db5c530d73bc901245e2a
src/vm/eventpipebuffer.cpp
src/vm/eventpipebuffer.cpp
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "common.h" #include "eventpipe.h" #include "eventpipeeventinstance.h" #include "eventpipebuffer.h" #ifdef...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "common.h" #include "eventpipe.h" #include "eventpipeeventinstance.h" #include "eventpipebuffer.h" #ifdef...
Fix issue 23151 (Cleanup TODO introduced by PR #23148)
Fix issue 23151 (Cleanup TODO introduced by PR #23148)
C++
mit
wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,cshung/...
413beb552c3ff677db999984d5b78d1130e34a0e
ch06/ex6_10.cpp
ch06/ex6_10.cpp
//!@Yue wang //! //! Exercise 6.10: //! Using pointers, write a function to swap the values of two ints. //! Test the function by calling it and printing the swapped values. //! #include <iostream> #include <string> #include <stdexcept> void swap(int* lhs, int* rhs) { int tmp; tmp = *lhs; *lhs = *rhs; ...
//!@Yue wang //! //! Exercise 6.10: //! Using pointers, write a function to swap the values of two ints. //! Test the function by calling it and printing the swapped values. //! #include <iostream> void swap(int* lhs, int* rhs) { int tmp; tmp = *lhs; *lhs = *rhs; *rhs = tmp; } int main() { for (in...
Update ex6_10.cpp
Update ex6_10.cpp
C++
cc0-1.0
zhangzhizhongz3/CppPrimer,zhangzhizhongz3/CppPrimer
9f8b874964e5c83b25865a94dede8681dc625a66
gripper_action_controller/src/gripper_action_controller.cpp
gripper_action_controller/src/gripper_action_controller.cpp
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2014, SRI International // // 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 reta...
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2014, SRI International // // 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 reta...
Update gripper_action_controller.cpp
Update gripper_action_controller.cpp
C++
bsd-3-clause
ros-controls/ros_controllers,ros-controls/ros_controllers
f53ca04b0a71fe6d21f2ea24f57d46e2ef4a81ed
Rpr/WrapObject/Materials/ImageMaterialObject.cpp
Rpr/WrapObject/Materials/ImageMaterialObject.cpp
/********************************************************************** Copyright (c) 2016 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...
/********************************************************************** Copyright (c) 2016 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...
fix invalid texture copying.
fix invalid texture copying.
C++
mit
fo-fo/RadeonProRender-Baikal,GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal,GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal,fo-fo/RadeonProRender-Baikal,fo-fo/RadeonProRender-Baikal,GPUOpen-LibrariesAndSDKs/RadeonProRender-Baikal
6f72538207f292588172eee42e42933af3df440d
include/alloutil/al_ControlNav.hpp
include/alloutil/al_ControlNav.hpp
#ifndef INC_AL_CONTROL_NAV_HPP #define INC_AL_CONTROL_NAV_HPP #include "allocore/io/al_Window.hpp" #include "allocore/spatial/al_Pose.hpp" namespace al { /// Mapping from keyboard and mouse controls to a Nav object struct NavInputControl : public InputEventHandler { NavInputControl(Nav& nav, double vscale = 0.125,...
#ifndef INC_AL_CONTROL_NAV_HPP #define INC_AL_CONTROL_NAV_HPP #include "allocore/io/al_Window.hpp" #include "allocore/spatial/al_Pose.hpp" namespace al { /// Mapping from keyboard and mouse controls to a Nav object struct NavInputControl : public InputEventHandler { NavInputControl(const NavInputControl& v) : mNa...
copy ctor
NavControl: copy ctor
C++
bsd-3-clause
AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem
3bfcd3a727af9fa021a4309dba891ed47bff8e41
include/bredis/impl/connection.ipp
include/bredis/impl/connection.ipp
// // // Copyright (c) 2017 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com) // // Distributed under the MIT Software License // #pragma once #include <algorithm> #include <cassert> #include <type_traits> #include "common.ipp" namespace bredis { template <typename NextLayer> template <typename WriteCallba...
// // // Copyright (c) 2017 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com) // // Distributed under the MIT Software License // #pragma once #include <algorithm> #include <cassert> #include <type_traits> #include "common.ipp" namespace bredis { template <typename NextLayer> template <typename WriteCallba...
Make it ADL-friendly
Make it ADL-friendly
C++
mit
basiliscos/cpp-bredis
0b3a918860944878b5fc4cf87883889bc467a052
avmedia/source/framework/modeltools.cxx
avmedia/source/framework/modeltools.cxx
/* -*- 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 at http://mozil...
/* -*- 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 at http://mozil...
Remove obsolete comment
Remove obsolete comment Change-Id: I0cc592b245871187dd41e85be8c86e6e7878181b
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
9e7af0532c18197d3a7f3883f8d064d5698a5d2d
IO/GeoJSON/vtkGeoJSONReader.cxx
IO/GeoJSON/vtkGeoJSONReader.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkGeoJSONReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
/*========================================================================= Program: Visualization Toolkit Module: vtkGeoJSONReader.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
Use double precision for point coordinates
Use double precision for point coordinates
C++
bsd-3-clause
sumedhasingla/VTK,SimVascular/VTK,SimVascular/VTK,gram526/VTK,sankhesh/VTK,sankhesh/VTK,sumedhasingla/VTK,sumedhasingla/VTK,gram526/VTK,sankhesh/VTK,mspark93/VTK,gram526/VTK,keithroe/vtkoptix,jmerkow/VTK,jmerkow/VTK,sankhesh/VTK,mspark93/VTK,gram526/VTK,gram526/VTK,SimVascular/VTK,gram526/VTK,mspark93/VTK,sankhesh/VTK,...
ae06300c17428a1f49446c333a637a81ec6d8278
include/contractor/crc32_processor.hpp
include/contractor/crc32_processor.hpp
#ifndef ITERATOR_BASED_CRC32_H #define ITERATOR_BASED_CRC32_H #if defined(__x86_64__) && !defined(__MINGW64__) #include <cpuid.h> #endif #include <boost/crc.hpp> // for boost::crc_32_type #include <iterator> namespace osrm { namespace contractor { class IteratorbasedCRC32 { public: bool UsingHardware() const...
#ifndef ITERATOR_BASED_CRC32_H #define ITERATOR_BASED_CRC32_H #if defined(__x86_64__) && !defined(__MINGW64__) #include <cpuid.h> #endif #include <boost/crc.hpp> // for boost::crc_32_type #include <iterator> namespace osrm { namespace contractor { class IteratorbasedCRC32 { public: bool UsingHardware() const...
Fix unused variables warnings in crc32
Fix unused variables warnings in crc32
C++
bsd-2-clause
oxidase/osrm-backend,oxidase/osrm-backend,deniskoronchik/osrm-backend,felixguendling/osrm-backend,deniskoronchik/osrm-backend,yuryleb/osrm-backend,Project-OSRM/osrm-backend,bjtaylor1/osrm-backend,beemogmbh/osrm-backend,duizendnegen/osrm-backend,raymond0/osrm-backend,raymond0/osrm-backend,KnockSoftware/osrm-backend,frod...
645f2c3a1d65bf4e6022d09a49a7dda29ed15c48
src/mesh2d.cpp
src/mesh2d.cpp
/* * Copyright (c) 2012, Dylan Sarber <dwsarber@gmail.com> * * See LICENSE for licensing information. */ #include "mesh2d.h" #include "logog/logog.hpp" #include "SDL/SDL.h" #include "SDL/SDL_image.h" /* Constructors & Destructor ------------------------------------------------------------------------------*/ Me...
/* * Copyright (c) 2012, Dylan Sarber <dwsarber@gmail.com> * * See LICENSE for licensing information. */ #include "mesh2d.h" #include "logog/logog.hpp" #include "SDL/SDL.h" #include "SDL/SDL_image.h" /* Constructors & Destructor ------------------------------------------------------------------------------*/ Me...
Initialize in Mesh2D
Initialize in Mesh2D Move the filepath assignment to an initializer list.
C++
mit
dwsarber/flock,dwsarber/flock
6e072d1a61ff10f8b689c7d60f41753b14bb9fce
src/ncurses.cc
src/ncurses.cc
#include "ncurses.hh" #include "window.hh" #include "register_manager.hh" #include <ncurses.h> #include <map> #define CTRL(x) x - 'a' + 1 namespace Kakoune { NCursesClient::NCursesClient() { // setlocale(LC_ALL, ""); initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, false); keypa...
#include "ncurses.hh" #include "window.hh" #include "register_manager.hh" #include <ncurses.h> #include <map> #define CTRL(x) x - 'a' + 1 namespace Kakoune { NCursesClient::NCursesClient() { // setlocale(LC_ALL, ""); initscr(); cbreak(); noecho(); nonl(); intrflush(stdscr, false); keypa...
fix first ~ line drawing
ncurses: fix first ~ line drawing
C++
unlicense
alpha123/kakoune,jkonecny12/kakoune,occivink/kakoune,jjthrash/kakoune,alpha123/kakoune,alexherbo2/kakoune,flavius/kakoune,jkonecny12/kakoune,Asenar/kakoune,rstacruz/kakoune,alpha123/kakoune,rstacruz/kakoune,ekie/kakoune,flavius/kakoune,lenormf/kakoune,jjthrash/kakoune,elegios/kakoune,danielma/kakoune,jkonecny12/kakoune...
85db73411ac1065c80200d13e8795dec2ad11c8e
include/laplus/internal/array_impl.hpp
include/laplus/internal/array_impl.hpp
/****************************************************************************** * * laplus/internal/array_impl.hpp * * MIT License * * Copyright (c) 2016 Kotone Itaya * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
/****************************************************************************** * * laplus/internal/array_impl.hpp * * MIT License * * Copyright (c) 2016 Kotone Itaya * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
Fix align template
Fix align template
C++
mit
ktnyt/LAPlus
38d8f4b54531354a99592a355364e6fa185cdc4e
JPetScopeTask/JPetScopeTask.cpp
JPetScopeTask/JPetScopeTask.cpp
/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
/** * @copyright Copyright 2016 The J-PET Framework 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 find a copy of the License in the LICENCE file. * * Unless required by applicable la...
Fix setting of missing TRef-s
Fix setting of missing TRef-s
C++
apache-2.0
wkrzemien/j-pet-framework,alexkernphysiker/j-pet-framework,JPETTomography/j-pet-framework,wkrzemien/j-pet-framework,JPETTomography/j-pet-framework,alexkernphysiker/j-pet-framework,alexkernphysiker/j-pet-framework,alexkernphysiker/j-pet-framework,wkrzemien/j-pet-framework,alexkernphysiker/j-pet-framework,wkrzemien/j-pet...
785bd024b9452c2d6d7fb7c42d62f07637964f52
include/scene/universalgravitation.hpp
include/scene/universalgravitation.hpp
#ifndef UNIVERSALGRAVITATION_HPP #define UNIVERSALGRAVITATION_HPP #include <vector> #include <algorithm> #include "scene/gravitationalobject.hpp" namespace scene { class UniversalGravitation { private: static constexpr double G = 0.0000000000667384; std::vector<GravitationalObject*> gravityObjects; ...
#ifndef UNIVERSALGRAVITATION_HPP #define UNIVERSALGRAVITATION_HPP #include <vector> #include <algorithm> #include "scene/gravitationalobject.hpp" namespace scene { class UniversalGravitation { private: static constexpr double G = 0.0000000000667384; std::vector<GravitationalObject*> gravityObjects; pu...
Mark public intended methods in UniversalGravitation.
Mark public intended methods in UniversalGravitation.
C++
apache-2.0
maruno/collisionsdemo,maruno/collisionsdemo
d086f73a8f7da2741083588768648b9ca5fbe605
include/tao/pegtl/analysis/generic.hpp
include/tao/pegtl/analysis/generic.hpp
// Copyright (c) 2014-2019 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_ANALYSIS_GENERIC_HPP #define TAO_PEGTL_ANALYSIS_GENERIC_HPP #include "../config.hpp" #include "grammar_info.hpp" #include "insert_rules.hpp" #include "rule_type.hp...
// Copyright (c) 2014-2019 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_ANALYSIS_GENERIC_HPP #define TAO_PEGTL_ANALYSIS_GENERIC_HPP #include "../config.hpp" #include "grammar_info.hpp" #include "insert_rules.hpp" #include "rule_type.hp...
Use structured binding
Use structured binding
C++
mit
ColinH/PEGTL,ColinH/PEGTL
b248013448ed40ae9f75bcb54f8282ad870575bb
include/utxx/concurrent_mpsc_queue.hpp
include/utxx/concurrent_mpsc_queue.hpp
//---------------------------------------------------------------------------- /// \file concurrent_mpsc_queue.hpp /// \author Serge Aleynikov //---------------------------------------------------------------------------- /// \brief Producer/consumer queue. /// /// Based on code from: /// https://github.com/facebook/...
//---------------------------------------------------------------------------- /// \file concurrent_mpsc_queue.hpp /// \author Serge Aleynikov //---------------------------------------------------------------------------- /// \brief Producer/consumer queue. //----------------------------------------------------------...
Remove erroneous comment
Remove erroneous comment
C++
lgpl-2.1
saleyn/utxx,saleyn/utxx,saleyn/utxx,saleyn/utxx,saleyn/utxx
83b83771a62d81e0d4d27d540d816a9e102ffa9f
src/scrypt.cpp
src/scrypt.cpp
/*- * Copyright 2009 Colin Percival, 2011 ArtForz, 2011 pooler, 2013 Balthazar * 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 must retain the above co...
/*- * Copyright 2009 Colin Percival, 2011 ArtForz, 2011 pooler, 2013 Balthazar * 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 must retain the above co...
Add ARM to architectures list
Add ARM to architectures list
C++
mit
som4paul/BolieC,Rimbit/Wallets,fsb4000/novacoin,Whitecoin-org/Whitecoin,elambert2014/novacoin,MOIN/moin,LanaCoin/lanacoin,byncoin-project/byncoin,ALEXIUMCOIN/alexium,byncoin-project/byncoin,shadowproject/shadow,ghostlander/Orbitcoin,MOIN/moin,Rimbit/Wallets,okcashpro/okcash,CoinBlack/bitcoin,AquariusNetwork/ARCO,CoinBl...
d7d823bdeda69ce8de8a33b90a6ec116c36ecdab
brave/common/extensions/url_bindings.cc
brave/common/extensions/url_bindings.cc
// Copyright (c) 2017 The Brave 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 <memory> #include <string> #include "brave/common/extensions/url_bindings.h" #include "brave/common/converters/gurl_converter.h" #include "bra...
// Copyright (c) 2017 The Brave 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 <memory> #include <string> #include "brave/common/extensions/url_bindings.h" #include "brave/common/converters/gurl_converter.h" #include "bra...
Make muon.url.parse work more like Node's
Make muon.url.parse work more like Node's Fix https://github.com/brave/browser-laptop/issues/9503
C++
mit
brave/muon,brave/muon,brave/electron,brave/muon,brave/muon,brave/muon,brave/electron,brave/muon,brave/electron,brave/electron,brave/electron,brave/electron
5f9ce18a845fa5d5daf17d3714a30058e07bb9fe
src/platform/LinuxMedia.cxx
src/platform/LinuxMedia.cxx
/* bzflag * Copyright (c) 1993-2013 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRAN...
/* bzflag * Copyright (c) 1993-2013 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARRAN...
Use const_cast<> to suppress a const qualifier warning. Avoid potential optimization trouble by accessing only the non-const view of the object.
Use const_cast<> to suppress a const qualifier warning. Avoid potential optimization trouble by accessing only the non-const view of the object.
C++
lgpl-2.1
adamsdadakaeti/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,kongr45...
5c8022ed26152c935a751132ad60a8242a922714
src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLInterface.h" #include "../GrGLUtil.h" #define GL_GLEXT_PROTOTYPES #include <GL/osmesa.h> #define GR_GL_GET_PROC(F) interface->f ## F = (GrGL ## F ## Proc)...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gl/GrGLInterface.h" #include "../GrGLUtil.h" #define GL_GLEXT_PROTOTYPES #include <GL/osmesa.h> #define GR_GL_GET_PROC(F) interface->f ## F = (GrGL ## F ## Proc)...
Add glTexParameteriv to MESA GrGLInterface (missing from r4099)
Add glTexParameteriv to MESA GrGLInterface (missing from r4099) git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4100 2bbb7eff-a529-9590-31e7-b0007b416f81
C++
bsd-3-clause
hbwhlklive/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,MatChung/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.s...
2ead91911f8d39013d7065344e1ab7f2f41ed587
src/istio/control/tcp/attributes_builder.cc
src/istio/control/tcp/attributes_builder.cc
/* Copyright 2017 Istio 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 applicab...
/* Copyright 2017 Istio 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 applicab...
add building attribute ConnectionRequestedServerName
add building attribute ConnectionRequestedServerName
C++
apache-2.0
lizan/proxy,lizan/proxy,istio/proxy,lizan/proxy,istio/proxy,istio/proxy,istio/proxy,lizan/proxy
e25defdba4d655ad89eb26a015df13e573d2800d
cli/ligfind.cpp
cli/ligfind.cpp
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Sat Jun 13 11:45:47 PDT 2020 // Last Modified: Sat Jun 13 11:45:50 PDT 2020 // Filename: ligfind.cpp // URL: https://github.com/craigsapp/humlib/blob/master/cli/ligfind.cpp // Syntax: C++11 // vim: ts=3 n...
// // Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu> // Creation Date: Sat Jun 13 11:45:47 PDT 2020 // Last Modified: Sat Jun 13 11:45:50 PDT 2020 // Filename: ligfind.cpp // URL: https://github.com/craigsapp/humlib/blob/master/cli/ligfind.cpp // Syntax: C++11 // vim: ts=3 n...
Update ligfind program to fix note attack selection.
Update ligfind program to fix note attack selection.
C++
bsd-2-clause
craigsapp/humlib,craigsapp/minHumdrum,craigsapp/minHumdrum,craigsapp/minHumdrum,craigsapp/humlib,craigsapp/humlib
6c4d35bcf10e6b31f858922c407f6fab07aa7ece
src/qtfirebaseanalytics.cpp
src/qtfirebaseanalytics.cpp
#include "qtfirebaseanalytics.h" #include <QGuiApplication> namespace analytics = ::firebase::analytics; QtFirebaseAnalytics *QtFirebaseAnalytics::self = nullptr; QtFirebaseAnalytics::QtFirebaseAnalytics(QObject* parent) : QObject(parent) { if(!self) { self = this; qDebug() << self << "::QtFireb...
#include "qtfirebaseanalytics.h" #include <QGuiApplication> namespace analytics = ::firebase::analytics; QtFirebaseAnalytics *QtFirebaseAnalytics::self = nullptr; QtFirebaseAnalytics::QtFirebaseAnalytics(QObject* parent) : QObject(parent) { if(!self) { self = this; qDebug() << self << "::QtFireb...
Fix a few warnings. Use nullptr
Fix a few warnings. Use nullptr
C++
mit
Larpon/QtFirebase,Larpon/QtFirebase,Larpon/QtFirebase
b1b7737ae19020e305a175ad700404c67f8c6e1e
clipp/proxy.cpp
clipp/proxy.cpp
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
Fix compile errors on modern C++ compilers.
Fix compile errors on modern C++ compilers.
C++
apache-2.0
b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,iron...
b903741cfc8ada22b5891359bcb518f6896da2ab
cnn/cnn/cnn.hpp
cnn/cnn/cnn.hpp
#ifndef CNN_HEADER #define CNN_HEADER #include <unordered_map> #include "util.hpp" #include "convolution.hpp" #include "maxpool.hpp" #include "fullconnect.hpp" #include "rbf.hpp" #include "eventpool.hpp" #define BUFSIZE (64 * 1024 * 1024) namespace cnn { class CNN { public: CNN(const std::string &...
#ifndef CNN_HEADER #define CNN_HEADER #include <map> #include "util.hpp" #include "convolution.hpp" #include "maxpool.hpp" #include "fullconnect.hpp" #include "rbf.hpp" #include "eventpool.hpp" #define BUFSIZE (64 * 1024 * 1024) namespace cnn { class CNN { public: CNN(const std::string &xmlFileNam...
rewrite the program to not use c++0x
rewrite the program to not use c++0x
C++
mit
seanzw/OpenCL-FPGA,seanzw/OpenCL-FPGA,seanzw/OpenCL-FPGA,seanzw/OpenCL-FPGA
c443bd3a0304be1248b176a81383143e64d3333e
plugin.C
plugin.C
#include <maya/MAnimControl.h> #include <maya/MCallbackIdArray.h> #include <maya/MEventMessage.h> #include <maya/MGlobal.h> #include <maya/MFnPlugin.h> #include "EngineCommand.h" #include "AssetCommand.h" #include "AssetNode.h" #include "CurveMeshInputNode.h" #include "FluidGridConvert.h" #include "InputNode.h" #incl...
#include <maya/MAnimControl.h> #include <maya/MCallbackIdArray.h> #include <maya/MEventMessage.h> #include <maya/MGlobal.h> #include <maya/MFnPlugin.h> #include "EngineCommand.h" #include "AssetCommand.h" #include "AssetNode.h" #include "CurveMeshInputNode.h" #include "FluidGridConvert.h" #include "InputNode.h" #incl...
Add missing deregisterNode() calls
Add missing deregisterNode() calls
C++
mit
sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya
056a036712d2cafa2cc3d9903bf12de989535a7a
Machines/Apple/ADB/Keyboard.cpp
Machines/Apple/ADB/Keyboard.cpp
// // Keyboard.cpp // Clock Signal // // Created by Thomas Harte on 13/02/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #include "Keyboard.hpp" using namespace Apple::ADB; Keyboard::Keyboard(Bus &bus) : ReactiveDevice(bus, 2) {} void Keyboard::perform_command(const Command &command) { switch(...
// // Keyboard.cpp // Clock Signal // // Created by Thomas Harte on 13/02/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #include "Keyboard.hpp" using namespace Apple::ADB; Keyboard::Keyboard(Bus &bus) : ReactiveDevice(bus, 2) {} void Keyboard::perform_command(const Command &command) { switch(...
Add missing fallthrough declaration.
Add missing fallthrough declaration.
C++
mit
TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK
cc7b5b7e508e0427ab4351799a98dc091fb419fc
src/bindings/lua/leanlua_state.cpp
src/bindings/lua/leanlua_state.cpp
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <iostream> #include <mutex> #include <thread> #include <string> #include <lua.hpp> #include "util/debug.h" #include "util/exception.h" #include "ut...
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include <iostream> #include <mutex> #include <thread> #include <string> #include <lua.hpp> #include "util/debug.h" #include "util/exception.h" #include "ut...
disable custom allocation for Lua, it is crashing
fix(lua): disable custom allocation for Lua, it is crashing Signed-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>
C++
apache-2.0
fpvandoorn/lean,Kha/lean,leanprover/lean,digama0/lean,digama0/lean,codyroux/lean0.1,dselsam/lean,avigad/lean,c-cube/lean,eigengrau/lean,codyroux/lean0.1,soonhokong/travis_test,soonhokong/lean-windows,leanprover/lean,Kha/lean,htzh/lean,fpvandoorn/lean,soonhokong/lean,UlrikBuchholtz/lean,leodemoura/lean,rlewis1988/lean,s...
d24e6d87d2461f897fe08f1ea4424bebc9feb074
stingraykit/log/Logger.cpp
stingraykit/log/Logger.cpp
// Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // 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. // THE SOFTWARE IS PROVIDED "AS IS" A...
// Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // 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. // THE SOFTWARE IS PROVIDED "AS IS" A...
drop redundant return, drop redundant scope
Logger: drop redundant return, drop redundant scope
C++
isc
GSGroup/stingraykit,GSGroup/stingraykit
b1643aed1c43bc3e779722c3768cc348ffffa73d
src/map/src/entity_system.cpp
src/map/src/entity_system.cpp
#include "entity_system.h" #include "cmapclient.h" #include "enumerate.h" #include "itemdb.h" #include <entt.hpp> #include "components/basic_info.h" #include "components/client.h" #include "components/computed_values.h" #include "components/faction.h" #include "components/character_graphics.h" #include "components/guil...
#include "entity_system.h" #include "cmapclient.h" #include "enumerate.h" #include "itemdb.h" #include <entt.hpp> #include "components/basic_info.h" #include "components/client.h" #include "components/computed_values.h" #include "components/faction.h" #include "components/character_graphics.h" #include "components/guil...
Update entity_system.cpp
Update entity_system.cpp
C++
apache-2.0
dev-osrose/osIROSE-new,RavenX8/osIROSE-new,dev-osrose/osIROSE-new,RavenX8/osIROSE-new,RavenX8/osIROSE-new,dev-osrose/osIROSE-new
443475f0debe3deeb22fbbf0138448f333113bd1
Parallel_RVD/Polygon.cpp
Parallel_RVD/Polygon.cpp
#include "Polygon.h" namespace P_RVD { void Polygon::initialize_from_mesh_facet( const Mesh* _mesh, t_index _facetIdx ) { clear(); Facet temp_facet = _mesh->meshFacets.getFacet(_facetIdx); Vertex* v1 = add_vertex( Vertex( _mesh->meshVertices.getPoint(temp_facet.m_v1), 1.0, _facetIdx ) ...
#include "Polygon.h" namespace P_RVD { void Polygon::initialize_from_mesh_facet( const Mesh* _mesh, t_index _facetIdx ) { clear(); Facet temp_facet = _mesh->meshFacets.getFacet(_facetIdx); Vertex* v1 = add_vertex( Vertex( _mesh->meshVertices.getPoint(temp_facet.m_v1), 1.0, _facetIdx ) ...
update clip_by_plane func
update clip_by_plane func
C++
mit
stormHan/Parallel_RVD,stormHan/Parallel_RVD
98dff45f2020c255061e0dab8971e4c8889a0063
src/tadiga_IGES_geometry.cc
src/tadiga_IGES_geometry.cc
// Copyright 2016-2017 John T. Foster, Katy L. Hanson // 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...
// Copyright 2016-2017 John T. Foster, Katy L. Hanson // 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...
Add reader for Composite Curve and Tabulated Cylinder
Add reader for Composite Curve and Tabulated Cylinder
C++
apache-2.0
johntfoster/TaDIgA,johntfoster/TaDIgA
737cdf0b1668466e73dae60b36589b77b4f69bf6
groups/bsl/bslmf/bslmf_tag.t.cpp
groups/bsl/bslmf/bslmf_tag.t.cpp
// bslmf_tag.t.cpp -*-C++-*- #include <bslmf_tag.h> #include <stdlib.h> // 'atoi' #include <string.h> // 'strcmp' #include <iostream> using namespace BloombergLP; using namespace std; //=====================================================================...
// bslmf_tag.t.cpp -*-C++-*- #include <bslmf_tag.h> #include <stdlib.h> // 'atoi' #include <string.h> // 'strcmp' #include <iostream> using namespace BloombergLP; using namespace std; //=====================================================================...
revert changes to tag
revert changes to tag
C++
apache-2.0
idispatch/bde,saxena84/bde,frutiger/bde,dbremner/bde,osubboo/bde,dharesign/bde,saxena84/bde,mversche/bde,dharesign/bde,bloomberg/bde,dbremner/bde,idispatch/bde,apaprocki/bde,bowlofstew/bde,che2/bde,bloomberg/bde,frutiger/bde,bowlofstew/bde,osubboo/bde,dharesign/bde,bloomberg/bde,bloomberg/bde,apaprocki/bde,che2/bde,mve...
58497533448ce9a2ed5f6639144cdcb38891adf0
src/condor_sysapi/net_dev_info.cpp
src/condor_sysapi/net_dev_info.cpp
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
Fix for crash in sysapi_get_network_device_info_raw. #1800
Fix for crash in sysapi_get_network_device_info_raw. #1800
C++
apache-2.0
htcondor/htcondor,htcondor/htcondor,djw8605/condor,htcondor/htcondor,clalancette/condor-dcloud,mambelli/osg-bosco-marco,djw8605/htcondor,mambelli/osg-bosco-marco,djw8605/condor,bbockelm/condor-network-accounting,zhangzhehust/htcondor,djw8605/htcondor,htcondor/htcondor,djw8605/condor,bbockelm/condor-network-accounting,c...
688506de24f04682f9d8563a7d20ab15ab85340b
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/ExecutionEngine/JIT/JITEmitter.cpp
//===-- Emitter.cpp - Write machine code to executable memory -------------===// // // This file defines a MachineCodeEmitter object that is used by Jello to write // machine code to memory and remember where relocatable values lie. // //===----------------------------------------------------------------------===// #d...
//===-- Emitter.cpp - Write machine code to executable memory -------------===// // // This file defines a MachineCodeEmitter object that is used by Jello to write // machine code to memory and remember where relocatable values lie. // //===----------------------------------------------------------------------===// #d...
Implement a _REAL_ memory manager for the code generated by the JIT. This speeds up program execution by 15% pretty consistently for large programs
Implement a _REAL_ memory manager for the code generated by the JIT. This speeds up program execution by 15% pretty consistently for large programs git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@7845 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,l...
589458da18f1b5e037e79b51872dd7fd30469e5d
src/test/multisig_tests.cpp
src/test/multisig_tests.cpp
// Copyright (c) 2011-2013 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "keystore.h" #include "main.h" #include "script/script.h" #include "script/script_error.h" #include...
// Copyright (c) 2011-2013 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "keystore.h" #include "main.h" #include "script/script.h" #include "script/script_error.h" #include...
drop boost::assign altogether here
namespace: drop boost::assign altogether here Standard functions are even simpler
C++
mit
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin
29354a1586013d5be341aaf4d89635b87298c853
data_structures/coordinate.cpp
data_structures/coordinate.cpp
/* Copyright (c) 2015, Project OSRM, Dennis Luxen, others 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 conditions ...
/* Copyright (c) 2015, Project OSRM, Dennis Luxen, others 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 conditions ...
fix bearing computation
fix bearing computation
C++
bsd-2-clause
ammeurer/osrm-backend,oxidase/osrm-backend,arnekaiser/osrm-backend,oxidase/osrm-backend,KnockSoftware/osrm-backend,KnockSoftware/osrm-backend,neilbu/osrm-backend,arnekaiser/osrm-backend,bjtaylor1/osrm-backend,agruss/osrm-backend,Tristramg/osrm-backend,Conggge/osrm-backend,Project-OSRM/osrm-backend,prembasumatary/osrm-b...
0f8ef5c2dd9a3364383d19a5241c4ca54d5289e4
src/SUAPI-CppWrapper/model/AttributeDictionary.cpp
src/SUAPI-CppWrapper/model/AttributeDictionary.cpp
// // AttributeDictionary.cpp // // Sketchup C++ Wrapper for C API // MIT License // // Copyright (c) 2017 Tom Kaneko // // 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 restrictio...
// // AttributeDictionary.cpp // // Sketchup C++ Wrapper for C API // MIT License // // Copyright (c) 2017 Tom Kaneko // // 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 restrictio...
Put back SUStringCreate() to fix issue on https://github.com/TommyKaneko/Sketchup-API-C-Wrapper/commit/ffc704c243d8bba272c4064b46276227f5a27c0b#commitcomment-27730440
Put back SUStringCreate() to fix issue on https://github.com/TommyKaneko/Sketchup-API-C-Wrapper/commit/ffc704c243d8bba272c4064b46276227f5a27c0b#commitcomment-27730440
C++
mit
TommyKaneko/Sketchup-API-C-Wrapper,TommyKaneko/Sketchup-API-C-Wrapper
236f99e0a5edbff86a9768cd04e8e2331021a51c
src/application.qt.objectview/ObjectViewPlugin.cpp
src/application.qt.objectview/ObjectViewPlugin.cpp
#include "ObjectViewPlugin.h" #include <application.qt/PluginContainer.h> #include "ui_objectview.h" #include <application.qt/DataBinding.h> #include <core/StringTools.h> using namespace std; using namespace nspace; void ObjectViewPlugin::objectDoubleClicked(QListWidgetItem * qobject){ auto data= qobjec...
#include "ObjectViewPlugin.h" #include <application.qt/PluginContainer.h> #include "ui_objectview.h" #include <application.qt/DataBinding.h> #include <core/StringTools.h> using namespace std; using namespace nspace; void ObjectViewPlugin::objectDoubleClicked(QListWidgetItem * qobject){ auto data= qobjec...
set name of plugin window
set name of plugin window git-svn-id: df10b4d4b9a50ecd05a5547a4432f768b32f36aa@466 c65b9dfa-2e9b-4d30-9b60-b5bbc3021b56
C++
mit
toeb/sine,toeb/sine,toeb/sine,toeb/sine
c677e00d7c85d1fe0131f5b20af3a32c4567c43a
src/application/interface/analog/Potentiometer.cpp
src/application/interface/analog/Potentiometer.cpp
/* Copyright 2015-2019 Igor Petrovic Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
/* Copyright 2015-2019 Igor Petrovic Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
use double raw adc value diff requirement only in 14bit mode
use double raw adc value diff requirement only in 14bit mode
C++
apache-2.0
paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck
b3e0c67998c9460ebd1d371dc0065e85c8a1763b
bench/bench_gemm.cpp
bench/bench_gemm.cpp
// g++-4.4 bench_gemm.cpp -I .. -O2 -DNDEBUG -lrt -fopenmp && OMP_NUM_THREADS=2 ./a.out // icpc bench_gemm.cpp -I .. -O3 -DNDEBUG -lrt -openmp && OMP_NUM_THREADS=2 ./a.out #include <Eigen/Core> #include <iostream> #include <bench/BenchTimer.h> using namespace std; using namespace Eigen; #ifndef SCALAR #define SC...
// g++-4.4 bench_gemm.cpp -I .. -O2 -DNDEBUG -lrt -fopenmp && OMP_NUM_THREADS=2 ./a.out // icpc bench_gemm.cpp -I .. -O3 -DNDEBUG -lrt -openmp && OMP_NUM_THREADS=2 ./a.out #include <Eigen/Core> #include <iostream> #include <bench/BenchTimer.h> using namespace std; using namespace Eigen; #ifndef SCALAR #define SC...
add the possibility to set the cache size at runtime
add the possibility to set the cache size at runtime
C++
bsd-3-clause
robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen
1b90e950bd3d679effca0343c5aa0db690bfbba1
lib/Runtime/PlatformAgnostic/Platform/Common/HiResTimer.cpp
lib/Runtime/PlatformAgnostic/Platform/Common/HiResTimer.cpp
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
use clock_gettime when it's available
osx: use clock_gettime when it's available Recent OSX distros have clock_gettime support. Use it when it's available (~3 times faster to what we do to replace that)
C++
mit
mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore
1d53aefe781709f4d1c551a82eb12c3bc1378568
src/trace_processor/trace_database_integrationtest.cc
src/trace_processor/trace_database_integrationtest.cc
/* * Copyright (C) 2018 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 required by app...
/* * Copyright (C) 2018 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 required by app...
bump min chunk size in trace processor
trace_processor: bump min chunk size in trace processor We need to parse at least a full packet for trace processor's guessing code to work correctly. This fixes the integration tests passing on GCC. Change-Id: I07fc43802141d00518bcad5af5a7be2ae29e7c64
C++
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
82549062c0a5e8809cd12e52c013b01df5bdb918
clangd/index/FileIndex.cpp
clangd/index/FileIndex.cpp
//===--- FileIndex.cpp - Indexes for files. ------------------------ C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===--- FileIndex.cpp - Indexes for files. ------------------------ C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix index-twice regression from r341242
[clangd] Fix index-twice regression from r341242 git-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@341337 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra
17135310cf49b3523effed4e7f56af09661b5067
src/location/places/qplacesearchrequest.cpp
src/location/places/qplacesearchrequest.cpp
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtLocation module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtLocation module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
Fix assignment in QPlaceSearchRequest.
Fix assignment in QPlaceSearchRequest. Check for equality. Change-Id: I12b9d16d4b94235bbcb9eb70a3a8713b196280a1 Reviewed-by: Aaron McCarthy <19f0c2781a6d2138802be69a27973bb2f9d34578@nokia.com>
C++
lgpl-2.1
kobolabs/qtlocation,amccarthy/qtlocation,amccarthy/qtlocation,kobolabs/qtlocation,amccarthy/qtlocation,kobolabs/qtlocation
6e999add60efc09186320d621d5f4c6452cc02f3
src/contrib/mlir/pass/mlir_subgraph_extraction.cpp
src/contrib/mlir/pass/mlir_subgraph_extraction.cpp
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // 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://w...
//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // 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://w...
Copy outputs only if the use is outside the sub-graph (#3446)
Copy outputs only if the use is outside the sub-graph (#3446) * Copy outputs only if the use is outside the sub-graph * Use unordered_set find
C++
apache-2.0
NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph,NervanaSystems/ngraph
de1029ff34c4e557eb6327c7b508614d76695904
lib/demoloop-lib/src/graphics/3d_primitives.cpp
lib/demoloop-lib/src/graphics/3d_primitives.cpp
#include "graphics/3d_primitives.h" #include <cmath> #include <numeric> namespace demoloop { Mesh* cube(const float cx, const float cy, const float cz, const float radius) { // static const GLfloat g_vertex_buffer_data[] = { // -1.0f,-1.0f,-1.0f, // -1.0f,-1.0f, 1.0f, // -1.0f, 1.0f, 1.0f, // ...
#include "graphics/3d_primitives.h" #include <cmath> #include <numeric> namespace demoloop { Mesh* cube(const float cx, const float cy, const float cz, const float radius) { static const GLfloat g_vertex_buffer_data[] = { // Top face 1.0f, 1.0f, -1.0f , 1.0f, 0.0f, // Top-right of top face -1.0f, 1.0f...
fix cube winding and right face orientation
fix cube winding and right face orientation
C++
mit
TannerRogalsky/Demoloops,TannerRogalsky/Demoloops,TannerRogalsky/Demoloops,TannerRogalsky/Demoloops
8968c453416296d6d3a461cfb3d420cd1d3d869c
src/main/resources/main/includes/Camera.hpp
src/main/resources/main/includes/Camera.hpp
/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2018 Grégory Van den Borre * * More infos available: https://www.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documen...
/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2018 Grégory Van den Borre * * More infos available: https://www.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documen...
Add query.
[YE-0] Add query.
C++
mit
yildiz-online/module-graphic-ogre,yildiz-online/module-graphic-ogre,yildiz-online/module-graphic-ogre
b2e4f6d366fb06eae3cdad0af80e4a01b0c31074
src/view/consolebotview.hpp
src/view/consolebotview.hpp
#ifndef CONSOLEBOTVIEW_HPP_ #define CONSOLEBOTVIEW_HPP_ #include "ioview.hpp" class ConsoleBotView: public IoView { protected: void outputGeneral() const; void typeError_impl() const; void indexError_impl() const; void finish_impl(bool check_fail, int score, int steps_number) const; vo...
#ifndef CONSOLEBOTVIEW_HPP_ #define CONSOLEBOTVIEW_HPP_ #include "ioview.hpp" class ConsoleBotView: public IoView { protected: void outputGeneral() const; void typeError_impl() const; void indexError_impl() const; void finish_impl(bool check_fail, int score, int steps_number) const; void sendH...
Apply astyle
Apply astyle
C++
mit
zer0main/bin_game_mvc
a6b03c051f9f62771978f8621e7d82ebd1aadd2d
lib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
lib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
// Test that dynamically allocated TLS space is included in the root set. // RUN: LSAN_BASE="report_objects=1:use_stacks=0:use_registers=0" // RUN: %clangxx %p/SharedLibs/huge_tls_lib_so.cc -fPIC -shared -o %t-so.so // RUN: %clangxx_lsan %s -o %t // RUN: LSAN_OPTIONS=$LSAN_BASE:"use_tls=0" not %t 2>&1 | FileCheck %s //...
// Test that dynamically allocated TLS space is included in the root set. // RUN: LSAN_BASE="report_objects=1:use_stacks=0:use_registers=0" // RUN: %clangxx %p/SharedLibs/huge_tls_lib_so.cc -fPIC -shared -o %t-so.so // RUN: %clangxx_lsan %s -o %t // RUN: LSAN_OPTIONS=$LSAN_BASE:"use_tls=0" not %t 2>&1 | FileCheck %s //...
Check that dynamic linker library is properly symbolized
LSan: Check that dynamic linker library is properly symbolized git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@189347 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
1314b2139f77351ef5189803951f9aaab766a936
src/operator/slice_channel.cc
src/operator/slice_channel.cc
/*! * Copyright (c) 2015 by Contributors * \file slice_channel.cc * \brief * \author Bing Xu */ #include "./slice_channel-inl.h" namespace mxnet { namespace op { template<> Operator* CreateOp<cpu>(SliceChannelParam param, int dtype) { Operator* op = nullptr; MSHADOW_TYPE_SWITCH(dtype, DType, { op = new Sl...
/*! * Copyright (c) 2015 by Contributors * \file slice_channel.cc * \brief * \author Bing Xu */ #include "./slice_channel-inl.h" namespace mxnet { namespace op { template<> Operator* CreateOp<cpu>(SliceChannelParam param, int dtype) { Operator* op = nullptr; MSHADOW_TYPE_SWITCH(dtype, DType, { op = new Sl...
fix ndarray split
fix ndarray split
C++
apache-2.0
sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet,sxjscience/mxnet
8abb75bc6173c82a3153fd358735219b3355b539
lib/Target/TargetSubtargetInfo.cpp
lib/Target/TargetSubtargetInfo.cpp
//===-- TargetSubtargetInfo.cpp - General Target Information ---------------==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- TargetSubtargetInfo.cpp - General Target Information ---------------==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Update an embarassing out-of-date comment.
Update an embarassing out-of-date comment. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@208137 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,apple...
0fbfea3e8b6af379c3c84a1bb780e939c0cbfe27
ext/embed/sunscraperthread.cpp
ext/embed/sunscraperthread.cpp
#include <QApplication> #include <QtDebug> #include "sunscraperthread.h" #include "sunscraperworker.h" #if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) pthread_t SunscraperThread::m_thread; #endif extern void qt_set_current_thread_to_main_thread(); void SunscraperThread::invoke() { #if defined(Q_OS_LINUX) || defined(Q_...
#include <QApplication> #include <qnamespace.h> #include <QtDebug> #include "sunscraperthread.h" #include "sunscraperworker.h" #if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) pthread_t SunscraperThread::m_thread; #endif extern void qt_set_current_thread_to_main_thread(); void SunscraperThread::invoke() { #if defined(Q...
Use a proper way to call undocumented functions.
Use a proper way to call undocumented functions.
C++
mit
inossidabile/sunscraper,inossidabile/sunscraper
c4a02a17991a857ad01d9ed61aad7da167faec4e
taglib/ogg/xiphcomment.cpp
taglib/ogg/xiphcomment.cpp
/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /************************************************************...
/*************************************************************************** copyright : (C) 2002 - 2008 by Scott Wheeler email : wheeler@kde.org ***************************************************************************/ /************************************************************...
remove redundant size specificier in mid usage
remove redundant size specificier in mid usage
C++
lgpl-2.1
taglib/taglib,black78/taglib,TsudaKageyu/taglib,TsudaKageyu/taglib,Distrotech/taglib,taglib/taglib,Distrotech/taglib,black78/taglib,taglib/taglib,black78/taglib,Distrotech/taglib,TsudaKageyu/taglib
35e3b9f6238038ec286e87ca6ab4bc06f4c0183f
src/MainApp.cpp
src/MainApp.cpp
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "StdAfx.h" #include "MainApp.h" #include "controls\MyDialogEx.h" #include "dialogs\MainDlg.h" #include "utilities\Utilities.h" CMainApp mainApp; BEGIN_...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "StdAfx.h" #include "MainApp.h" #include "controls\MyDialogEx.h" #include "dialogs\MainDlg.h" #include "utilities\Utilities.h" CMainApp mainApp; BEGIN_...
Update MainApp.cpp
Update MainApp.cpp
C++
mit
wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder
a5a4f1040291ee63083292d50643c0f8c00b2002
src/Mapper1.cpp
src/Mapper1.cpp
#include <cstdint> #include <CartMemory.h> #include <Mapper1.h> Mapper1::Mapper1(CartMemory mem) : Mapper(mem) { updateBankAddresses(); } uint8_t Mapper1::readPrg(uint16_t addr) { if (addr >= 0x8000) { int index = decodePrgRomAddress(addr); return cartMemory.prg[index]; } else if (addr >= 0x6000) {...
#include <cstdint> #include <CartMemory.h> #include <Mapper1.h> Mapper1::Mapper1(CartMemory mem) : Mapper(mem) { updateBankAddresses(); } uint8_t Mapper1::readPrg(uint16_t addr) { if (addr >= 0x8000) { int index = decodePrgRomAddress(addr); return cartMemory.prg[index]; } else if (addr >= 0x6000) {...
Fix mapper 1 loading shift register incorrectly
Fix mapper 1 loading shift register incorrectly
C++
mit
scottjcrouch/ScootNES,scottjcrouch/ScootNES,scottjcrouch/ScootNES
4cf48dfe7f0960f4fec005c76ebeb109c864cdd1
include/apollo/class_utility.hpp
include/apollo/class_utility.hpp
#ifndef APOLLO_CLASS_UTILITY_HPP_INCLUDED #define APOLLO_CLASS_UTILITY_HPP_INCLUDED APOLLO_CLASS_UTILITY_HPP_INCLUDED #include <apollo/class.hpp> #include <apollo/create_table.hpp> #include <apollo/function.hpp> namespace apollo { namespace detail { template <typename Cls, typename Parent> class class_creator; tem...
#ifndef APOLLO_CLASS_UTILITY_HPP_INCLUDED #define APOLLO_CLASS_UTILITY_HPP_INCLUDED APOLLO_CLASS_UTILITY_HPP_INCLUDED #include <apollo/class.hpp> #include <apollo/create_table.hpp> #include <apollo/function.hpp> #include <apollo/implicit_ctor.hpp> namespace apollo { namespace detail { template <typename Cls, typena...
Support implicit ctors in class_utility (untested).
Support implicit ctors in class_utility (untested).
C++
bsd-2-clause
Oberon00/apollo,Oberon00/apollo
d8132df2ded0684a259353030a6241ed8cf49f14
spirv_cpp.cpp
spirv_cpp.cpp
/* * Copyright 2015-2016 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2015-2016 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Bump number of compilation loops to 3 in C++ as well.
Bump number of compilation loops to 3 in C++ as well.
C++
apache-2.0
h3xl3r/SPIRV-Cross,h3xl3r/SPIRV-Cross,KhronosGroup/SPIRV-Cross,KhronosGroup/SPIRV-Cross,KhronosGroup/SPIRV-Cross,KhronosGroup/SPIRV-Cross,h3xl3r/SPIRV-Cross,h3xl3r/SPIRV-Cross,KhronosGroup/SPIRV-Cross,h3xl3r/SPIRV-Cross,KhronosGroup/SPIRV-Cross
73339b63faf4e25eeb39f709d8398c7948ea5908
src/win32/window_engine.cpp
src/win32/window_engine.cpp
#include "window_engine.h" using namespace junior; using namespace junior::_win32; int window_engine::_window_count = 0; window_engine::window_engine(window* owner, const wchar_t* title, const UINT32 background_color) : _owner(owner), _d2d_factory(nullptr), _dwrite_factory(nullptr), _screen_target(nul...
#include "window_engine.h" using namespace junior; using namespace junior::_win32; int window_engine::_window_count = 0; window_engine::window_engine(window* owner, const wchar_t* title, const UINT32 background_color) : _owner(owner), _d2d_factory(nullptr), _dwrite_factory(nullptr), _screen_target(nul...
Check size (to only resize if needed) inside the _resize method #3
Check size (to only resize if needed) inside the _resize method #3
C++
mit
labandierra/junior,labandierra/junior
156b4cfb6060c977b89aec00247c4b9e59698cc6
alloutil/alloutil/al_OITFbo.hpp
alloutil/alloutil/al_OITFbo.hpp
#pragma once /* Order Independent Transparency (OIT) Original algorithm by Morgan McGuire AlloSystem version written by Keehong Youn younkeehong@gmail.com - Uses OpenGL compatibility profile - Provides transparency without sorting of the objects - By default us...
#pragma once /* Order Independent Transparency (OIT) Original algorithm by Morgan McGuire AlloSystem version written by Keehong Youn younkeehong@gmail.com - Uses OpenGL compatibility profile - Provides transparency without sorting of the objects - By default us...
add getters for shaders
OITFbo: add getters for shaders
C++
bsd-3-clause
AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem
968e653683d2af2f790807be9a48ac8a81ea4e47
src/Polygon.cpp
src/Polygon.cpp
/* * File: Polygon.cpp * Author: florent * * Created on 25 juin 2015, 20:22 */ #include "Constants.hpp" #include "Segment.hpp" #include "Polygon.hpp" #include "Exception.hpp" #include <list> #include <cmath> #include <algorithm> #include <iostream> using namespace Cromod::GeomAPI; using namespace Cromod::Too...
/* * File: Polygon.cpp * Author: florent * * Created on 25 juin 2015, 20:22 */ #include "Constants.hpp" #include "Segment.hpp" #include "Polygon.hpp" #include "Exception.hpp" #include <list> #include <cmath> #include <algorithm> #include <iostream> using namespace Cromod::GeomAPI; using namespace Cromod::Too...
Add an exception in Polygon::operator[]
Add an exception in Polygon::operator[]
C++
lgpl-2.1
cromod/CROMOD
2b66e48bcf3b12dd21c0c448bd0f11f6e3399ed4
src/plugins/subversion/subversionclient.cpp
src/plugins/subversion/subversionclient.cpp
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance wit...
Use Qt5 style connect
SubversionClient: Use Qt5 style connect Change-Id: I88f1de02edcb6c4406de64745ccc4cfc85f3d562 Reviewed-by: Orgad Shaneh <2b010cbad792a0c0a8175f752f93f83941fc6bc1@gmail.com>
C++
lgpl-2.1
martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,x...
846853e67aa9ac929f3d4e05ccdb9d30cc1aa551
mainwindow.cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); mjpeg.set_qlabel(ui->mjpeg_label); QObject::connect(&mjpeg, SIGNAL(connected()), this, SLOT(change_status())); ...
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); mjpeg.set_qlabel(ui->mjpeg_label); QObject::connect(&mjpeg, SIGNAL(connected()), this, SLOT(change_status())); ...
Fix destructor for MainWindow
Fix destructor for MainWindow
C++
bsd-3-clause
KoynovStas/QMJpeg_viewer