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
d79db5eac05172256364f082b01788b192b92562
common_types/src/common_types_serialize.cpp
common_types/src/common_types_serialize.cpp
/// @file common_types_serialize.cpp /// @brief Various common types serialization implementation /// @author uentity /// @version /// @date 27.01.2012 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. #include "common_types_serialize.h" #incl...
/// @file common_types_serialize.cpp /// @brief Various common types serialization implementation /// @author uentity /// @version /// @date 27.01.2012 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. #include "common_types_serialize.h" #incl...
fix prev commit
SRZ: fix prev commit
C++
bsd-3-clause
bs-eagle/bs-eagle,bs-eagle/bs-eagle,bs-eagle/bs-eagle
f48c4b37ad24e517c452359bb7786f63734d2961
copasi/function/CEvaluationNodeObject.cpp
copasi/function/CEvaluationNodeObject.cpp
// Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelber...
// Copyright (C) 2010 - 2014 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelber...
add a null pointer check in object nodes
add a null pointer check in object nodes
C++
artistic-2.0
copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI
2b527db90bdbce08a22e8042b9808310d0f407d2
src/App.cpp
src/App.cpp
#include "App.h" #include "ProgramOptions.h" #include <string> #include <iomanip> #include "FontInfo.h" #include "utils/extractFileName.h" #include "external/lodepng/lodepng.h" #include "utils/getNumberLen.h" std::vector<rbp::RectSize> App::getGlyphRectangles(const Glyphs &glyphs, const std::uint32_t addition...
#include "App.h" #include "ProgramOptions.h" #include <string> #include <iomanip> #include "FontInfo.h" #include "utils/extractFileName.h" #include "external/lodepng/lodepng.h" #include "utils/getNumberLen.h" std::vector<rbp::RectSize> App::getGlyphRectangles(const Glyphs &glyphs, const std::uint32_t addition...
Optimize PNG compression
Optimize PNG compression
C++
mit
vladimirgamalian/fontbm,vladimirgamalian/fontbm,vladimirgamalian/fontbm
aef76ac99b69570023a088fd83837f8e372c9919
examples/miscellaneous/miscellaneous_ex6/miscellaneous_ex6.C
examples/miscellaneous/miscellaneous_ex6/miscellaneous_ex6.C
/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation; either */ /* version 2.1 of the License, ...
/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation; either */ /* version 2.1 of the License, ...
Use SerialMesh with tetgen until I can track down the (not recent!) ParallelMesh regression there
Use SerialMesh with tetgen until I can track down the (not recent!) ParallelMesh regression there git-svn-id: ffc1bc5b3feaf8644044862cc38c386ade156493@5792 434f946d-2f3d-0410-ba4c-cb9f52fb0dbf
C++
lgpl-2.1
certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh
f6cdc2eee5c664d440261c75af5e8df4eaad1505
src/containers.hh
src/containers.hh
#ifndef containers_hh_INCLUDED #define containers_hh_INCLUDED #include <algorithm> #include <utility> #include <iterator> namespace Kakoune { template<typename Factory> struct ContainerView { Factory factory; }; template<typename Container, typename Factory> auto operator| (Container&& container, ContainerView<Fact...
#ifndef containers_hh_INCLUDED #define containers_hh_INCLUDED #include <algorithm> #include <utility> #include <iterator> namespace Kakoune { template<typename Factory> struct ContainerView { Factory factory; }; template<typename Container, typename Factory> auto operator| (Container&& container, ContainerView<Fact...
Use std::begin/std::end in containers.hh instead of the method version
Use std::begin/std::end in containers.hh instead of the method version
C++
unlicense
lenormf/kakoune,alexherbo2/kakoune,mawww/kakoune,Somasis/kakoune,occivink/kakoune,lenormf/kakoune,flavius/kakoune,casimir/kakoune,flavius/kakoune,alexherbo2/kakoune,ekie/kakoune,danr/kakoune,casimir/kakoune,danr/kakoune,Somasis/kakoune,ekie/kakoune,jjthrash/kakoune,lenormf/kakoune,flavius/kakoune,danr/kakoune,flavius/k...
12dbb8e0ea9e847ac1c4cfd7f6d187fe6afe581b
src/core/area.cpp
src/core/area.cpp
/*************************************** ** Tsunagari Tile Engine ** ** area.cpp ** ** Copyright 2011-2015 Michael Reiley ** ** Copyright 2011-2018 Paul Merrill ** ***************************************/ // ********** // Permission is hereby granted, free of charge, to any per...
/*************************************** ** Tsunagari Tile Engine ** ** area.cpp ** ** Copyright 2011-2015 Michael Reiley ** ** Copyright 2011-2018 Paul Merrill ** ***************************************/ // ********** // Permission is hereby granted, free of charge, to any per...
Remove unused parameters
Area: Remove unused parameters
C++
mit
pmer/TsunagariC,pmer/TsunagariC,pmer/TsunagariC
a8268d7f773b7e3ed8d22c6fbcc0347910bc00de
src/SSL.cpp
src/SSL.cpp
/* Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com> 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,...
/* Copyright (C) 2005-2010, Thorvald Natvig <thorvald@natvig.com> 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,...
Add recommended user CAs explicitly
Add recommended user CAs explicitly
C++
bsd-3-clause
Keridos/mumble,feld/mumble,chancegarcia/mumble,feld/mumble,bheart/mumble,niko20010/mumble,LuAPi/mumble,Zopieux/mumble,Zopieux/mumble,ccpgames/mumble,richard227/mumble,Zopieux/mumble,SuperNascher/mumble,Lartza/mumble,richard227/mumble,ccpgames/mumble,SuperNascher/mumble,Natenom/mumble,unascribed/mumble,unascribed/mumble...
f3d97bc560e020ed4698634c2c5fd37dabd61b3d
src/XPM.cxx
src/XPM.cxx
// Scintilla source code edit control /** @file XPM.cxx ** Define a class that holds data in the X Pixmap (XPM) format. **/ // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <string.h> #include <stdlib....
// Scintilla source code edit control /** @file XPM.cxx ** Define a class that holds data in the X Pixmap (XPM) format. **/ // Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <string.h> #include <stdlib....
Patch from Blair McGlashan in bug #1168430 to reallocate colours when changing a pixmap.
Patch from Blair McGlashan in bug #1168430 to reallocate colours when changing a pixmap.
C++
isc
timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_pane...
6749fa0cd906db34416fde17d9bca698ad6eec57
modules/vrjuggler/vrj/Draw/Pf/PfUtil.cpp
modules/vrjuggler/vrj/Draw/Pf/PfUtil.cpp
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is fr...
/*************** <auto-copyright.pl BEGIN do not edit this line> ************** * * VR Juggler is (C) Copyright 1998, 1999, 2000 by Iowa State University * * Original Authors: * Allen Bierbaum, Christopher Just, * Patrick Hartling, Kevin Meinert, * Carolina Cruz-Neira, Albert Baker * * This library is fr...
use floating point constants where floating point inputs are required...
use floating point constants where floating point inputs are required... git-svn-id: 769d22dfa2d22aad706b9a451492fb87c0735f19@8947 08b38cba-cd3b-11de-854e-f91c5b6e4272
C++
lgpl-2.1
godbyk/vrjuggler-upstream-old,LiuKeHua/vrjuggler,godbyk/vrjuggler-upstream-old,MichaelMcDonnell/vrjuggler,vancegroup-mirrors/vrjuggler,vrjuggler/vrjuggler,LiuKeHua/vrjuggler,godbyk/vrjuggler-upstream-old,LiuKeHua/vrjuggler,vrjuggler/vrjuggler,vancegroup-mirrors/vrjuggler,godbyk/vrjuggler-upstream-old,LiuKeHua/vrjuggler...
d2a25d8bc751702c6a0392a3fd66506f2e02f672
src/cxxconfig.hpp
src/cxxconfig.hpp
#ifndef TOML_CXX_CONFIG #define TOML_CXX_CONFIG #ifndef __cplusplus #error "__cplusplus macro is not defined." #endif #if __cplusplus >= 201103L # define TOML_ENABLE_CXX11 1 # define TOML_CONSTEXPR constexpr # define TOML_NOEXCEPT noexcept # define TOML_OVERRIDE override # define TOML_NULLPTR nullptr #e...
#ifndef TOML_CXX_CONFIG #define TOML_CXX_CONFIG #ifndef __cplusplus #error "__cplusplus macro is not defined." #endif #if __cplusplus >= 201103L # define TOML_ENABLE_CXX11 1 # define TOML_CONSTEXPR constexpr # define TOML_NOEXCEPT noexcept # define TOML_OVERRIDE override # define TOML_NULLPTR nullptr #e...
update cxxconfig
update cxxconfig
C++
mit
ToruNiina/TOMLParser
39c7eaa949ec55117bda567bb216e27ecf8b8c17
tools/cutehmi.daemon.1/tests/test_cutehmi_daemon.cpp
tools/cutehmi.daemon.1/tests/test_cutehmi_daemon.cpp
#include <QtTest/QtTest> #include <QProcess> namespace cutehmi { namespace daemon { class test_cutehmi_daemon: public QObject { Q_OBJECT private slots: void initTestCase(); void helpOption(); void versionOption(); void countDaemonExample(); private: QString m_installDir; QString m_programPath; }...
#include <QtTest/QtTest> #include <QProcess> namespace cutehmi { namespace daemon { class test_cutehmi_daemon: public QObject { Q_OBJECT private slots: void initTestCase(); void helpOption(); void versionOption(); void countDaemonExample(); private: QString m_installDir; QString m_programPath; }...
Fix daemon test.
Fix daemon test.
C++
mit
michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI
5f8c6f8b053d0db311be2aeff2d7331e1db47f20
src/cpm.cpp
src/cpm.cpp
//======================================================================= // Copyright (c) 2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=======================================================================...
//======================================================================= // Copyright (c) 2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=======================================================================...
Fix handling of sizes
Fix handling of sizes
C++
mit
wichtounet/cpm,wichtounet/cpm,wichtounet/cpm
77f74d5c8f9f6c198193a0d1e19eebe8b72b917f
test/optimisationAlgorithm/trajectoryBasedAlgorithm/testHillClimbing.cpp
test/optimisationAlgorithm/trajectoryBasedAlgorithm/testHillClimbing.cpp
// Catch #include <catch.hpp> // C++ Standard Library #include <memory> #include <iostream> // Armadillo #include <armadillo> // HOP #include <hop> class TestHillClimbing : public hop::HillClimbing { public: TestHillClimbing( const std::shared_ptr<hop::OptimisationProblem> optimisationProblem) :...
// Catch #include <catch.hpp> // C++ Standard Library #include <memory> #include <iostream> // Armadillo #include <armadillo> // HOP #include <hop> class TestHillClimbing : public hop::HillClimbing { public: TestHillClimbing( const std::shared_ptr<hop::OptimisationProblem> optimisationProblem) :...
Use std::vector<arma::Col<double>> for dynamic amounts of Columns
devel: Use std::vector<arma::Col<double>> for dynamic amounts of Columns
C++
mit
SebastianNiemann/Mantella,Mantella/Mantella,SebastianNiemann/Mantella,Mantella/Mantella,Mantella/Mantella,SebastianNiemann/Mantella
034b75b0a036a1821d7e921eb1d42794123368e5
src/cry.cpp
src/cry.cpp
#include <cstdio> #include <fcntl.h> #include <iostream> #include <vector> #include <string> #include <termios.h> #include <unistd.h> #ifndef OFILL #define OFILL 0000100 #endif #ifndef OFDEL #define OFDEL 0000200 #endif #ifndef NLDLY #define NLDLY 0000400 #endif #ifndef CRDLY #define CRDLY 0003000 #endif #ifnde...
#include <cstdio> #include <fcntl.h> #include <iostream> #include <vector> #include <string> #include <termios.h> #include <unistd.h> #ifndef OFILL #define OFILL 0000100 #endif #ifndef OFDEL #define OFDEL 0000200 #endif #ifndef NLDLY #define NLDLY 0000400 #endif #ifndef CRDLY #define CRDLY 0003000 #endif #ifnde...
Remove Command struct, import new file
Remove Command struct, import new file
C++
mit
malensek/cryctl,malensek/cryctl
cf39dd5d82a565f1ec5fd45453208adf4ee01407
webrtc/modules/utility/source/process_thread_impl.cc
webrtc/modules/utility/source/process_thread_impl.cc
/* * Copyright (c) 2012 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) 2012 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...
Add RTC_FROM_HERE location information to two DCHECKs in ProcessThread.
Add RTC_FROM_HERE location information to two DCHECKs in ProcessThread. BUG=none TBR=kwiberg@webrtc.org Review-Url: https://codereview.webrtc.org/2967693002 Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#18937}
C++
bsd-3-clause
ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc
fdf44122356296b577c6816d9ff4d934153b401a
src/game.cc
src/game.cc
#include <string> #include <iostream> using namespace std; #include "os.h" #include "potions.h" #include "scrolls.h" #include "io.h" #include "armor.h" #include "pack.h" #include "daemons.h" #include "colors.h" #include "level.h" #include "rings.h" #include "misc.h" #include "player.h" #include "weapons.h" #include "...
#include <string> #include <iostream> using namespace std; #include "os.h" #include "potions.h" #include "scrolls.h" #include "io.h" #include "armor.h" #include "pack.h" #include "daemons.h" #include "colors.h" #include "level.h" #include "rings.h" #include "misc.h" #include "player.h" #include "weapons.h" #include "...
make -n parameter work again
make -n parameter work again
C++
bsd-3-clause
lollek/Misty-Mountains,lollek/Rogue14,lollek/Rogue14,lollek/Misty-Mountains,lollek/Rogue14,lollek/Misty-Mountains
fa0d0d8a5969cd481e185a4906764aed74b6b403
src/imf.cpp
src/imf.cpp
/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2008 Simon Peter <dn.tlp@gmx.net>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; eit...
/* * Adplug - Replayer for many OPL2/OPL3 audio file formats. * Copyright (C) 1999 - 2008 Simon Peter <dn.tlp@gmx.net>, et al. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; eit...
Improve footer handling
imf: Improve footer handling Don't swallow first byte of a generic footer. Assume it's in Muse tag format when it passes some crude plausibility check.
C++
lgpl-2.1
adplug/adplug,adplug/adplug
1e53445e85fe7d9597a274e4ddc1b1af190d0a64
src/io/config.cpp
src/io/config.cpp
#include <LightGBM/config.h> #include <LightGBM/utils/common.h> #include <LightGBM/utils/random.h> #include <LightGBM/utils/log.h> #include <vector> #include <string> #include <unordered_set> #include <algorithm> #include <limits> namespace LightGBM { void Config::KV2Map(std::unordered_map<std::string, std::string>...
#include <LightGBM/config.h> #include <LightGBM/utils/common.h> #include <LightGBM/utils/random.h> #include <LightGBM/utils/log.h> #include <vector> #include <string> #include <unordered_set> #include <algorithm> #include <limits> namespace LightGBM { void Config::KV2Map(std::unordered_map<std::string, std::string>...
fix #1504
fix #1504
C++
mit
microsoft/LightGBM,henry0312/LightGBM,microsoft/LightGBM,henry0312/LightGBM,microsoft/LightGBM,microsoft/LightGBM,henry0312/LightGBM,henry0312/LightGBM,henry0312/LightGBM,microsoft/LightGBM
64a3b141b37ee6420db527752717624be7ed9f6b
src/math.hh
src/math.hh
#include <cassert> static int clamp(int number, int low, int high) { assert(low<=high); if(number < low) return low; if(number > high) return high; return number; } template <class Container, class Key> bool has_key(Container &container, const Key &key) { return container.find(key) != container.end(); } #d...
#include <cassert> static int clamp(int number, int low, int high) { assert(low<=high); if(number < low) return low; if(number > high) return high; return number; } template <class Container, typename Key> bool has_key(Container &container, Key &&key) { return container.find(std::forward<Key>(key)) != conta...
Use perfect forwarding to fix has_key()
Use perfect forwarding to fix has_key()
C++
agpl-3.0
mmtorni/HamLTE,mmtorni/HamLTE,mmtorni/HamLTE
3c650054ce9e684a574ca529407c876f541a2553
src/kernel/os.cpp
src/kernel/os.cpp
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2017 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2017 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
add shortname for stack memmap entry
kernel: add shortname for stack memmap entry
C++
apache-2.0
ingve/IncludeOS,AnnikaH/IncludeOS,ingve/IncludeOS,AndreasAakesson/IncludeOS,alfred-bratterud/IncludeOS,mnordsletten/IncludeOS,AndreasAakesson/IncludeOS,ingve/IncludeOS,hioa-cs/IncludeOS,ingve/IncludeOS,mnordsletten/IncludeOS,mnordsletten/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,AnnikaH/IncludeOS,hioa-cs/IncludeOS,...
95426bf133a8ed6e225e746978f7101ffb7fbd36
src/pow.cpp
src/pow.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pow.h" #include "chain.h" #include "chainparams.h" #include "primitive...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "pow.h" #include "chain.h" #include "chainparams.h" #include "primitive...
Use Namecoin's modified difficulty retargeting.
Use Namecoin's modified difficulty retargeting. Add the code that fixes the retargeting period off-by-one error.
C++
mit
FinalHashLLC/namecore,FinalHashLLC/namecore,FinalHashLLC/namecore,FinalHashLLC/namecore,FinalHashLLC/namecore
545632ed04c312cdca5e08eb353b3df96891e9ab
src/load_image.cc
src/load_image.cc
/* * Copyright (c) 2017 Eddie Antonio Santos <easantos@ualberta.ca> * * 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 PROVIDE...
/* * Copyright (c) 2017 Eddie Antonio Santos <easantos@ualberta.ca> * * 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 PROVIDE...
Scale both height and width.
Scale both height and width.
C++
isc
eddieantonio/imgcat,eddieantonio/imgcat,eddieantonio/imgcat,eddieantonio/imgcat
15847a736393081affb51dda76b72f0257441168
src/main-menu.cpp
src/main-menu.cpp
#include <sstream> #include "factory/collector.h" // #include "network/network.h" #include "util/token_exception.h" #include "mugen/exception.h" #include "mugen/menu.h" #include "music.h" #include "menu/menu.h" #include "menu/menu_global.h" #include "input/input-manager.h" #include "game/mod.h" #include "shutdown_exce...
#include <sstream> #include "factory/collector.h" // #include "network/network.h" #include "util/token_exception.h" #include "mugen/exception.h" #include "mugen/menu.h" #include "music.h" #include "menu/menu.h" #include "menu/menu_global.h" #include "input/input-manager.h" #include "game/mod.h" #include "shutdown_exce...
load the main menu no matter what
load the main menu no matter what
C++
bsd-3-clause
scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown,scristopher/paintown
7b74d0a2a8a3c479d31a377a211430d0bbb7010f
src/tag.cpp
src/tag.cpp
#include <tag.hpp> #include <string.hpp> #include <map> namespace rack { namespace tag { const std::vector<std::vector<std::string>> tagAliases = { {"Arpeggiator"}, // With a level knob and not much else. {"Attenuator"}, // No parameters or ports. Serves no purpose except visual. {"Blank"}, {"Chorus"}, {"Clo...
#include <tag.hpp> #include <string.hpp> #include <map> namespace rack { namespace tag { const std::vector<std::vector<std::string>> tagAliases = { {"Arpeggiator"}, // With a level knob and not much else. {"Attenuator"}, // No parameters or ports. Serves no purpose except visual. {"Blank"}, {"Chorus"}, {"Clock...
Add Hardware tag.
Add Hardware tag.
C++
mit
AndrewBelt/Rack
b2de5528752eee7a12497fb9241b519daf6c7c62
src/runner/main.cpp
src/runner/main.cpp
#include <iostream> #include <string> #include <cstdint> #include "linenoise.h" #include <db.h> #include <humblelogging/api.h> #include <boost/algorithm/string.hpp> using namespace std; HUMBLE_LOGGER(logger, "default"); void completion(const char *bufRaw, linenoiseCompletions *lc) { std::string buf(bufRaw); if...
#include <iostream> #include <string> #include <cstdint> #include "linenoise.h" #include <db.h> #include <humblelogging/api.h> #include <boost/algorithm/string.hpp> using namespace std; HUMBLE_LOGGER(logger, "default"); void completion(const char *bufRaw, linenoiseCompletions *lc) { std::string buf(bufRaw); if...
allow to optimize all components from the command line (e.g. to update a DB after loading a version which used another heuristic)
allow to optimize all components from the command line (e.g. to update a DB after loading a version which used another heuristic)
C++
apache-2.0
thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS
cf1274dd69ba2168d2c1bb5a9428691e0e0d4670
libs/graphslam/src/CRosTopicMP.cpp
libs/graphslam/src/CRosTopicMP.cpp
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | |...
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | |...
Handle odometry in CRosTopicMP
graphslam-engine: Handle odometry in CRosTopicMP
C++
bsd-3-clause
MRPT/mrpt,MRPT/mrpt,MRPT/mrpt,MRPT/mrpt,MRPT/mrpt
49a7d39c57d24e71b2b8ba781c131cf988a3a8e6
libvcf2multialign/sample_sorter.cc
libvcf2multialign/sample_sorter.cc
/* * Copyright (c) 2019 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #include <libbio/assert.hh> #include <range/v3/all.hpp> #include <vcf2multialign/preprocess/sample_sorter.hh> #include <vcf2multialign/utility/can_handle_variant_alts.hh> #include <vcf2multialign/variant_for...
/* * Copyright (c) 2019 Tuukka Norri * This code is licensed under MIT license (see LICENSE for details). */ #include <libbio/assert.hh> #include <range/v3/all.hpp> #include <vcf2multialign/preprocess/sample_sorter.hh> #include <vcf2multialign/utility/can_handle_variant_alts.hh> #include <vcf2multialign/variant_for...
Add assertions
Add assertions
C++
mit
tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign
81e769c9ff7850bef038c251fc3b61de45adbd80
src/sim/byteswap.hh
src/sim/byteswap.hh
/* * Copyright (c) 2004 The Regents of The University of Michigan * 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, ...
/* * Copyright (c) 2004 The Regents of The University of Michigan * 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, ...
correct check for endianess
sim: correct check for endianess Committed by: Nilay Vaish <nilay@cs.wisc.edu>
C++
bsd-3-clause
vovojh/gem5,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,pombredanne/http-repo.gem5...
cb89d0059515e40f421eef6002641a37efe6201f
src/testlibrbdpp.cc
src/testlibrbdpp.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License versio...
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License versio...
test copy_with_progress
testlibrbdpp: test copy_with_progress Signed-off-by: Colin McCabe <7b35906f1d014e74a9dc8c913eb229119df647aa@dreamhost.com>
C++
lgpl-2.1
ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph
2a5ac5c8497cd4868e90514cc6736ec5b484d135
src/tgl_message.cpp
src/tgl_message.cpp
#include "tgl/tgl_message.h" #include "tgl/tgl_secret_chat.h" #include "structures.h" #include "tgl/tgl_log.h" #include "tgl_secret_chat_private.h" #include "tgl_secret_chat_private.h" tgl_message::tgl_message() : server_id(0) , random_id(0) , fwd_date(0) , date(0) , permanent_id(0) , reply_id(...
#include "tgl/tgl_message.h" #include "tgl/tgl_secret_chat.h" #include "structures.h" #include "tgl/tgl_log.h" #include "tgl_secret_chat_private.h" tgl_message::tgl_message() : server_id(0) , random_id(0) , fwd_date(0) , date(0) , permanent_id(0) , reply_id(0) , seq_no(0) , fwd_from_id(...
Remove a unnecessary extra #include
Remove a unnecessary extra #include
C++
lgpl-2.1
tplgy/tgl,tplgy/tgl,tplgy/tgl,tplgy/tgl
32e4b122a49000cc36241895312c4df90ad874d7
src/transaction.cpp
src/transaction.cpp
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
use global hash_digest_list type instead of redefining duplicate.
use global hash_digest_list type instead of redefining duplicate.
C++
agpl-3.0
GroestlCoin/libgroestlcoin,Airbitz/libbitcoin,libmetrocoin/libmetrocoin-consensus,GroestlCoin/libgroestlcoin,Airbitz/libbitcoin,libtetcoin/libtetcoin-consensus,swansontec/libbitcoin,libtetcoin/libtetcoin-consensus,libmetrocoin/libmetrocoin-consensus,libmetrocoin/libmetrocoin-consensus,swansontec/libbitcoin,swansontec/l...
c2d62d8818c6b22530f4708c12c42ba8e30c6aaa
src/unix_stream.cpp
src/unix_stream.cpp
// -D_GNU_SOURCE makes SOCK_NONBLOCK etc. available on linux #undef _GNU_SOURCE #define _GNU_SOURCE #include "uv.h" #include "node.h" #include "pipe_wrap.h" #include <sys/socket.h> #include <sys/un.h> #include <errno.h> using namespace v8; using namespace node; namespace { Persistent<String> errno_symbol; void Se...
// -D_GNU_SOURCE makes SOCK_NONBLOCK etc. available on linux #undef _GNU_SOURCE #define _GNU_SOURCE #include "uv.h" #include "node.h" #include "pipe_wrap.h" #include <sys/socket.h> #include <sys/un.h> #include <errno.h> using namespace v8; using namespace node; namespace { Persistent<String> errno_symbol; void Se...
Implement SetNonBlock and SetCloExec
Implement SetNonBlock and SetCloExec
C++
isc
santigimeno/node-unix-stream,santigimeno/node-unix-stream,santigimeno/node-unix-stream
b32654daf2b49daa52bcb604840d49d9d4a08e39
src/utils/Timer.hpp
src/utils/Timer.hpp
/* * Timer.hpp * * Created by Craig Rasmussen on 11/15/09. * Copyright 2009 Los Alamos National Laboratory. All rights reserved. * */ #ifndef TIMER_HPP_ #define TIMER_HPP_ #include <stdlib.h> #include <stdio.h> #include <stdint.h> #include <assert.h> #include <string.h> /////////////////////////////////////...
/* * Timer.hpp * * Created by Craig Rasmussen on 11/15/09. * Copyright 2009 Los Alamos National Laboratory. All rights reserved. * */ #ifndef TIMER_HPP_ #define TIMER_HPP_ #include <stdlib.h> #include <stdio.h> #include <stddef.h> #include <stdint.h> #include <assert.h> #include <string.h> /////////////////...
Add stddef.h to eliminate eclipse indexing problem
Add stddef.h to eliminate eclipse indexing problem git-svn-id: 602a26e73ae9f2a14e2bb95676f2e137fcc39919@8553 7c0444ca-5550-0410-9008-faecdbe78eb5
C++
epl-1.0
PetaVision/OpenPV,dpaiton/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,PetaVision/OpenPV,PetaVision/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV,dpaiton/OpenPV
0e754f618419f586d8e56bd7632328390eff4b55
src/utils/cpuid.cpp
src/utils/cpuid.cpp
/** * Runtime CPU detection * (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/cpuid.h> #include <botan/types.h> #include <botan/loadstor.h> #include <botan/mem_ops.h> #include <stdio.h> #if defined(_MSC_VER) #include <intrin.h> #endif namespace Botan { namespace { voi...
/** * Runtime CPU detection * (C) 2009 Jack Lloyd * * Distributed under the terms of the Botan license */ #include <botan/cpuid.h> #include <botan/types.h> #include <botan/loadstor.h> #include <botan/mem_ops.h> #if defined(BOTAN_TARGET_ARCH_IS_X86) || defined(BOTAN_TARGET_ARCH_IS_AMD64) #if defined(BOTAN_BUILD_COMPI...
Clean up cpuid calling
Clean up cpuid calling
C++
bsd-2-clause
Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,webmaster128/botan,Rohde-Schwarz-Cybersecuri...
411eccd192d7a379248b0f04742da13819fbbc78
strings/strings.cpp
strings/strings.cpp
#include "strings.h" BOOST_AUTO_TEST_CASE(std_string_variants) { BOOST_REQUIRE((std::is_same_v<std::string, std::basic_string<XXX>>)); BOOST_REQUIRE((std::is_same_v<std::wstring, std::basic_string<XXX>>)); BOOST_REQUIRE((std::is_same_v<std::u16string, std::basic_string<XXX>>)); BOOST_REQUIRE((std::is_s...
#include "strings.h" BOOST_AUTO_TEST_CASE(std_string_literals) { using namespace std::string_literals; auto s1{"Hello, world!"s}; auto s2{L"Hello, world!"s}; auto s3{u"Hello, world!"s}; auto s4{U"Hello, world!"s}; BOOST_REQUIRE((std::is_same_v<decltype(s1), XXX>)); BOOST_REQUIRE((std::is_sa...
Improve std::string test cases
Improve std::string test cases
C++
mit
LegalizeAdulthood/cpp-koans
00429b13d5c577d43fe7c601eb1d015e602022cd
worker/src/handles/UdpSocket.cpp
worker/src/handles/UdpSocket.cpp
#define MS_CLASS "UdpSocket" // #define MS_LOG_DEV_LEVEL 3 #include "handles/UdpSocket.hpp" #include "Logger.hpp" #include "MediaSoupErrors.hpp" #include "Utils.hpp" #include <cstring> // std::memcpy() /* Static. */ static constexpr size_t ReadBufferSize{ 65536 }; static uint8_t ReadBuffer[ReadBufferSize]; /* Stati...
#define MS_CLASS "UdpSocket" // #define MS_LOG_DEV_LEVEL 3 #include "handles/UdpSocket.hpp" #include "Logger.hpp" #include "MediaSoupErrors.hpp" #include "Utils.hpp" #include <cstring> // std::memcpy() /* Static. */ // This value will make libuv to use uv__udp_recvmmsg() internally, which is // more efficient. stati...
use uv__udp_recvmmsg() internally
worker/src/handles/UdpSocket.cpp: use uv__udp_recvmmsg() internally
C++
isc
ibc/MediaSoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,versatica/mediasoup,ibc/MediaSoup,versatica/mediasoup,versatica/mediasoup,ibc/MediaSoup,versatica/mediasoup,versatica/mediasoup
8ed98bf908b6f3d9feb0ef71e00b48c2c9bae94f
src/main/cpp/signal_handler.cpp
src/main/cpp/signal_handler.cpp
#include "signal_handler.h" namespace { // Helper class to store and reset errno when in a signal handler. class ErrnoRaii { public: ErrnoRaii() { stored_errno_ = errno; } ~ErrnoRaii() { errno = stored_errno_; } private: int stored_errno_; ...
#include "signal_handler.h" namespace { // Helper class to store and reset errno when in a signal handler. class ErrnoRaii { public: ErrnoRaii() { stored_errno_ = errno; } ~ErrnoRaii() { errno = stored_errno_; } private: int stored_errno_; ...
Correct timeunit conversion in timer's registration
Correct timeunit conversion in timer's registration
C++
mit
RichardWarburton/honest-profiler,jvm-profiling-tools/honest-profiler,RichardWarburton/honest-profiler,RichardWarburton/honest-profiler,RichardWarburton/honest-profiler,jvm-profiling-tools/honest-profiler,jvm-profiling-tools/honest-profiler,RichardWarburton/honest-profiler,jvm-profiling-tools/honest-profiler,RichardWarb...
fa90ace9cdd96aad99177886c44d6abf710ad0e6
cpp/common/Url.cpp
cpp/common/Url.cpp
/* * #%L * %% * Copyright (C) 2011 - 2013 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * #%L * %% * Copyright (C) 2011 - 2016 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Fix uninitialized variable warning.
[C++] Fix uninitialized variable warning. Change-Id: I32bdcadbe0df092b90229ce9d72f52adcd7edadd
C++
apache-2.0
clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,clive-jevons/joynr
813106b3b516f94b2886ee73695be19fea6d8224
cpp/log/file_db.cc
cpp/log/file_db.cc
/* -*- indent-tabs-mode: nil -*- */ #ifndef CERT_TRANS_LOG_FILE_DB_INL_H_ #define CERT_TRANS_LOG_FILE_DB_INL_H_ #include "log/file_db.h" #include <glog/logging.h> #include <map> #include <set> #include <stdint.h> #include <string> #include <vector> #include "log/file_storage.h" #include "proto/ct.pb.h" #include "pro...
/* -*- indent-tabs-mode: nil -*- */ #ifndef CERT_TRANS_LOG_FILE_DB_INL_H_ #define CERT_TRANS_LOG_FILE_DB_INL_H_ #include "log/file_db.h" #include <glog/logging.h> #include <map> #include <set> #include <stdint.h> #include <string> #include <vector> #include "log/file_storage.h" #include "proto/ct.pb.h" #include "pro...
Add some "using" statements to file_db.cc.
Add some "using" statements to file_db.cc.
C++
apache-2.0
AlCutter/certificate-transparency,google/certificate-transparency,AlCutter/certificate-transparency,kyprizel/certificate-transparency,taknira/certificate-transparency,taknira/certificate-transparency,eranmes/certificate-transparency,lexibrent/certificate-transparency,AlCutter/certificate-transparency,kyprizel/certifica...
d6a8362538e52c58a79d66839c2318843cb32cef
cpp/osg/fog/fog.cc
cpp/osg/fog/fog.cc
/* * OSG Fog * * Copyright (c) 2015 Jérémie Decock * * See "OpenSceneGraph 3.0" by Rui Wang and Xuelei Qian (ed. Packt publishing 2010) p.134 */ #include <osg/Fog> #include <osg/Geode> #include <osg/Group> #include <osg/ShapeDrawable> #include <osgViewer/Viewer> int main(int, char **) { // Set scenegraph ...
/* * OSG Fog * * Copyright (c) 2015 Jérémie Decock * * See "OpenSceneGraph 3.0" by Rui Wang and Xuelei Qian (ed. Packt publishing 2010) p.134 * * Note that this snippet doesn't work when used with shadow techniques: * http://forum.openscenegraph.org/viewtopic.php?t=6228&view=previous */ #include <osg/Fog> #i...
Add a comment.
Add a comment.
C++
mit
jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets,jeremiedecock/snippets
29d5e43d862a4e7799a33892a0ae163515c37b05
libcaf_core/caf/typed_actor.hpp
libcaf_core/caf/typed_actor.hpp
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
Add missing compare overload to typed_actor
Add missing compare overload to typed_actor
C++
bsd-3-clause
nq-ebaratte/actor-framework,nq-ebaratte/actor-framework,1blankz7/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,nq-ebaratte/actor-framework,actor-framework/actor-framework,nq-ebaratte/actor-framework,DavadDi/actor-framework,1blankz7/actor-framework,actor-framewor...
77409bccbbc3d772bcf813de2ea304c58f51ef0b
libgibbs/include/conditions.hpp
libgibbs/include/conditions.hpp
/*============================================================================= Copyright (c) 2012-2013 Richard Otis Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================...
/*============================================================================= Copyright (c) 2012-2013 Richard Otis Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================...
Switch from #define to constexpr for gas constant
Switch from #define to constexpr for gas constant
C++
mit
tkphd/pycalphad,tkphd/pycalphad,tkphd/pycalphad
79798932ce53062f050067355e71db917e1894af
src/iterator.cpp
src/iterator.cpp
/// /// @file iterator.cpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primesieve/iterator.hpp> #include <primesieve/IteratorHelper.hpp> #include <primesieve/PrimeGenerator.hp...
/// /// @file iterator.cpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primesieve/iterator.hpp> #include <primesieve/IteratorHelper.hpp> #include <primesieve/PrimeGenerator.hp...
Improve constructor
Improve constructor
C++
bsd-2-clause
kimwalisch/primesieve,kimwalisch/primesieve,kimwalisch/primesieve
6fdfba6ff9829a1102d410437c2b9ca2e1b6c7b7
src/keystore.cpp
src/keystore.cpp
// Copyright (c) 2009-2011 Satoshi Nakamoto & Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include "headers.h" #include "db.h" #include "crypter.h" std::vector<unsigned char> CKeyStore::GenerateNe...
// Copyright (c) 2009-2011 Satoshi Nakamoto & Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. #include "headers.h" #include "db.h" #include "crypter.h" std::vector<unsigned char> CKeyStore::GenerateNe...
Fix EncryptKeys crash introduced by a9ba4710, identified by TD.
Fix EncryptKeys crash introduced by a9ba4710, identified by TD.
C++
mit
MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin,MidasPaymentLTD/midascoin
a25d5abfce1634419a90761ec49f4411f5f201ff
workbench/src/mnist_rnn_perf.cpp
workbench/src/mnist_rnn_perf.cpp
//======================================================================= // Copyright (c) 2014-2020 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
//======================================================================= // Copyright (c) 2014-2020 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
Complete the rnn_perf test
Complete the rnn_perf test
C++
mit
wichtounet/dll,wichtounet/dll,wichtounet/dll
7d52b06cf8756d5fbf75dfba4e0a8e74bca29705
elang/compiler/cg/cfg_to_ssa_transformer.cc
elang/compiler/cg/cfg_to_ssa_transformer.cc
// Copyright 2014-2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "elang/compiler/cg/cfg_to_ssa_transformer.h" #include <unordered_set> #include <vector> #include "elang/base/zone_user.h" #include "elang/base/zo...
// Copyright 2014-2015 Project Vogue. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "elang/compiler/cg/cfg_to_ssa_transformer.h" #include <unordered_set> #include <vector> #include "elang/base/zone_user.h" #include "elang/base/zo...
Revise |CfgToSsaTransformer|.
elang/compiler/cg: Revise |CfgToSsaTransformer|.
C++
apache-2.0
eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang,eval1749/elang
78f2b64f5c4a7c6ebac08fc4a9a31d9134e7d5dc
bindings/python/mapnik_python.cpp
bindings/python/mapnik_python.cpp
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
check if can extract std::string from dict.
check if can extract std::string from dict.
C++
lgpl-2.1
pramsey/mapnik,jwomeara/mapnik,Mappy/mapnik,mbrukman/mapnik,qianwenming/mapnik,stefanklug/mapnik,garnertb/python-mapnik,mapnik/mapnik,yohanboniface/python-mapnik,yiqingj/work,yiqingj/work,cjmayo/mapnik,pnorman/mapnik,mapycz/mapnik,rouault/mapnik,manz/python-mapnik,tomhughes/mapnik,zerebubuth/mapnik,mapnik/mapnik,mapycz...
1aa66a62e2e050eb1f07b00d8f4fa28a2df4414b
src/upsampling_algorithm_long_sequence.cc
src/upsampling_algorithm_long_sequence.cc
#include <iostream> #include <fstream> #include <vector> #include <memory> #include <algorithm> #include <functional> #include <complex> #include <iterator> #include <sndfile.hh> #define kiss_fft_scalar float #include "kiss_fft.h" void write_complex_data(const std::vector<std::complex<kiss_fft_scalar>>& v, const std...
#include <iostream> #include <fstream> #include <vector> #include <memory> #include <algorithm> #include <functional> #include <complex> #include <iterator> #include <sndfile.hh> #define kiss_fft_scalar float #include "kiss_fft.h" void write_complex_data(const std::vector<std::complex<kiss_fft_scalar>>& v, const std...
Rewrite method to create IFFT input vectors.
Rewrite method to create IFFT input vectors.
C++
mit
mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools
6fcb03cf26ca6598e23a827fa7e3224d438f6f48
NaoTHSoccer/Source/Tools/Debug/DebugParameterList.cpp
NaoTHSoccer/Source/Tools/Debug/DebugParameterList.cpp
/** * @file DebugParameterList.cpp * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * * @brief handle parameter list with debug */ #include "DebugParameterList.h" #include <DebugCommunication/DebugCommandManager.h> #include "PlatformInterface/Platform.h" using namespace std; DebugParameterL...
/** * @file DebugParameterList.cpp * * @author <a href="mailto:xu@informatik.hu-berlin.de">Xu, Yuan</a> * * @brief handle parameter list with debug */ #include "DebugParameterList.h" #include <DebugCommunication/DebugCommandManager.h> #include "PlatformInterface/Platform.h" using namespace std; DebugParameterL...
print only the registered parameter values
print only the registered parameter values
C++
apache-2.0
BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH,BerlinUnited/NaoTH
944669b5eba5f63d65a63958e417d90664bd9940
core/src/scene/filters.cpp
core/src/scene/filters.cpp
#include "filters.h" #include "scene/styleContext.h" #include "data/tileData.h" #include "platform.h" #include <cmath> namespace Tangram { void countTypes(const std::vector<Filter>& filters, int& global, int& function, int& property) { } void Filter::print(int _indent) const { switch (data.get_type_index()) {...
#include "filters.h" #include "scene/styleContext.h" #include "data/tileData.h" #include "platform.h" #include <cmath> namespace Tangram { void countTypes(const std::vector<Filter>& filters, int& global, int& function, int& property) { } void Filter::print(int _indent) const { switch (data.get_type_index()) {...
use variant::visitor for filter matching
perf: use variant::visitor for filter matching avoid is<> and get<> which seems to be slower than the visitor template machinery
C++
mit
cleeus/tangram-es,tangrams/tangram-es,quitejonny/tangram-es,tangrams/tangram-es,tangrams/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,tangrams/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,tangrams/tangram-es,cleeus/tangram-es,quitejonny/tangram-e...
add77cae4e9bbbb8d1b1197c0bace9ee69467685
Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx
Modules/Applications/AppSegmentation/app/otbHooverCompareSegmentation.cxx
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
replace HooverColorMapping by a functorImageFilter
REFAC: replace HooverColorMapping by a functorImageFilter
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
1f03ebebbf2bcd0a30c1ceae543bd5bed549f191
cuda_wrapper/event.hpp
cuda_wrapper/event.hpp
/* cuda_wrapper/event.hpp * * Copyright (C) 2007 Peter Colberg * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
/* cuda_wrapper/event.hpp * * Copyright (C) 2007 Peter Colberg * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version....
Support events with flags in CUDA ≥ 2.2
Support events with flags in CUDA ≥ 2.2
C++
bsd-3-clause
halmd-org/cuda-wrapper
d10b5c52e642cf843187100f07aa93f075cff0e9
src/platform/qt/AboutScreen.cpp
src/platform/qt/AboutScreen.cpp
/* Copyright (c) 2013-2015 Jeffrey Pfau * * 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://mozilla.org/MPL/2.0/. */ #include "AboutScreen.h" #include "util/version.h" #include <QPixmap> ...
/* Copyright (c) 2013-2015 Jeffrey Pfau * * 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://mozilla.org/MPL/2.0/. */ #include "AboutScreen.h" #include "util/version.h" #include <QPixmap> ...
Use the version string for the about dialog if the branch is unknown
Qt: Use the version string for the about dialog if the branch is unknown
C++
mpl-2.0
zerofalcon/mgba,mgba-emu/mgba,fr500/mgba,Anty-Lemon/mgba,askotx/mgba,zerofalcon/mgba,Touched/mgba,libretro/mgba,Anty-Lemon/mgba,Touched/mgba,Iniquitatis/mgba,jeremyherbert/mgba,jeremyherbert/mgba,mgba-emu/mgba,cassos/mgba,libretro/mgba,AdmiralCurtiss/mgba,jeremyherbert/mgba,MerryMage/mgba,askotx/mgba,AdmiralCurtiss/mgb...
19fc7be9954c7c5467b1c1d1b61d36666442c395
examples/src/calibration_reader.cpp
examples/src/calibration_reader.cpp
#include <cstdio> #include <iostream> #include <string> // Inludes common necessary includes for development using depthai library #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/common/EepromData.hpp" #include "depthai/depthai.hpp" void printMatrix(std::vector<std::vector<float>> matr...
#include <cstdio> #include <iostream> #include <string> // Inludes common necessary includes for development using depthai library #include "depthai-shared/common/CameraBoardSocket.hpp" #include "depthai-shared/common/EepromData.hpp" #include "depthai/depthai.hpp" void printMatrix(std::vector<std::vector<float>> matr...
Update calibration_reader.cpp
Update calibration_reader.cpp
C++
mit
luxonis/depthai-core,luxonis/depthai-core,luxonis/depthai-core
2f0bb4daf23a6761f094326b7122717c50759e01
test/CheckTests.cpp
test/CheckTests.cpp
#include <catch.hpp> #include <rapidcheck/catch.h> #include "rapidcheck/detail/TestListenerAdapter.h" #include "util/MockTestListener.h" #include "util/GenUtils.h" #include "util/Generators.h" using namespace rc; using namespace rc::test; using namespace rc::detail; namespace { TestListenerAdapter dummyListener; ...
#include <catch.hpp> #include <rapidcheck/catch.h> #include "rapidcheck/detail/TestListenerAdapter.h" #include "util/MockTestListener.h" #include "util/GenUtils.h" #include "util/Generators.h" using namespace rc; using namespace rc::test; using namespace rc::detail; namespace { TestListenerAdapter dummyListener; ...
Clarify reproduce test with comments
Clarify reproduce test with comments
C++
bsd-2-clause
unapiedra/rapidfuzz,unapiedra/rapidfuzz,unapiedra/rapidfuzz,emil-e/rapidcheck,emil-e/rapidcheck,emil-e/rapidcheck
36ef2ad77e342948163ae9babbc5602d5b5bf091
test/exceptions.cpp
test/exceptions.cpp
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 ob...
Add a few missing standard functions for ScalarWithExceptions type.
Add a few missing standard functions for ScalarWithExceptions type.
C++
bsd-3-clause
robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen
6abd53777bf013d5bf6bab2cd1ddce78c3b5b9ad
test/filter_test.cc
test/filter_test.cc
#include "benchmark/benchmark.h" #include <cassert> #include <cmath> #include <cstdint> #include <cstdlib> #include <iostream> #include <limits> #include <sstream> #include <string> namespace { class TestReporter : public benchmark::ConsoleReporter { public: virtual bool ReportContext(const Context& context) { ...
#include "benchmark/benchmark.h" #include <cassert> #include <cmath> #include <cstdint> #include <cstdlib> #include <iostream> #include <limits> #include <sstream> #include <string> namespace { class TestReporter : public benchmark::ConsoleReporter { public: virtual bool ReportContext(const Context& context) { ...
Use stringstream instead of atoi to avoid sign error.
Use stringstream instead of atoi to avoid sign error. The sane thing here would be to use std::stoul but this is not available in the android-ndk...
C++
apache-2.0
efcs/benchmark,nickhutchinson/benchmark-cxx03,ntx-/benchmark,ntx-/benchmark,fuchsia-mirror/third_party-benchmark,xlqian/benchmark,eliben/benchmark,xlqian/benchmark,codygray/benchmark,xlqian/benchmark,eliben/benchmark,nickhutchinson/benchmark,chemhack/benchmark,codygray/benchmark,chemhack/benchmark,everbase/benchmark,ni...
c4666c7aacc0cabba06c73e5b1f76a66b2c96e05
src/AnnGameObject.cpp
src/AnnGameObject.cpp
#include "AnnGameObject.hpp" #include "AnnTools.h" using namespace Annwvyn; AnnGameObject::AnnGameObject() { m_node = NULL; m_entity = NULL; bulletReady = false; m_DynamicsWorld = NULL; m_Body = NULL; m_Shape = NULL; m_AudioEngine = NULL; alGenSources(1,&m_Source); m_anim = NULL; ...
#include "AnnGameObject.hpp" #include "AnnTools.h" using namespace Annwvyn; AnnGameObject::AnnGameObject() { m_node = NULL; m_entity = NULL; bulletReady = false; m_DynamicsWorld = NULL; m_Body = NULL; m_Shape = NULL; m_AudioEngine = NULL; alGenSources(1,&m_Source); m_anim = NULL; ...
make a funny comment even more funny (useless powaa (6:30 am and srsly need to go to bed))
make a funny comment even more funny (useless powaa (6:30 am and srsly need to go to bed))
C++
mit
Ybalrid/Annwvyn,Ybalrid/Annwvyn,Ybalrid/Annwvyn
3a4d2d7064bcdbb32e30af4e6135fbec02a0777c
src/sdk/responder/node_state.cc
src/sdk/responder/node_state.cc
#include "dsa_common.h" #include "node_state.h" #include "core/session.h" #include "message/request/invoke_request_message.h" #include "message/request/set_request_message.h" #include "stream/responder/outgoing_invoke_stream.h" #include "stream/responder/outgoing_list_stream.h" #include "stream/responder/outgoing_se...
#include "dsa_common.h" #include "node_state.h" #include "core/session.h" #include "message/request/invoke_request_message.h" #include "message/request/set_request_message.h" #include "stream/responder/outgoing_invoke_stream.h" #include "stream/responder/outgoing_list_stream.h" #include "stream/responder/outgoing_se...
attach streams to NodeModel when it's connected to NodeState
attach streams to NodeModel when it's connected to NodeState
C++
apache-2.0
iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp
135b165d2bca7a9a7302eb4f771dc713c8100edb
chrome/browser/history/snippet.cc
chrome/browser/history/snippet.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/history/snippet.h" #include <algorithm> #include "base/logging.h" #include "base/scoped_ptr.h" #include "base/string_u...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/history/snippet.h" #include <algorithm> #include "base/logging.h" #include "base/scoped_ptr.h" #include "base/string_u...
Add CHECKs to track down source of history std::string out of range exceptions. BUG=http://crbug.com/15261
Linux: Add CHECKs to track down source of history std::string out of range exceptions. BUG=http://crbug.com/15261 Review URL: http://codereview.chromium.org/164191 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@23086 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
hgl888/chromium-crosswalk,zcbenz/cefode-chromium,anirudhSK/chromium,rogerwang/chromium,Jonekee/chromium.src,keishi/chromium,dushu1203/chromium.src,Chilledheart/chromium,krieger-od/nwjs_chromium.src,robclark/chromium,anirudhSK/chromium,TheTypoMaster/chromium-crosswalk,keishi/chromium,robclark/chromium,hgl888/chromium-cr...
634e5b0af2b652d162097c1f532f86ce113d9cc6
lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
lib/sanitizer_common/tests/sanitizer_thread_registry_test.cc
//===-- sanitizer_thread_registry_test.cc ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- sanitizer_thread_registry_test.cc ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove 'tctx->name' from a logical statement since it is a pointer and always is converted to a true value. Detected by Clang's improved -Wbool-conversion
Remove 'tctx->name' from a logical statement since it is a pointer and always is converted to a true value. Detected by Clang's improved -Wbool-conversion git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@202223 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
49cf59a3c5712b878e01d8642678ec14f89e1f24
chrome/test/perf/shutdown_test.cc
chrome/test/perf/shutdown_test.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/environment.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/stringprintf.h" #include "base/string_number_c...
// 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/environment.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/stringprintf.h" #include "base/string_number_c...
Mark TwentyTabsWindowClose on Windows debug disabled for now.
Mark TwentyTabsWindowClose on Windows debug disabled for now. BUG=110471 TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/9241018 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@117951 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
yitian134/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,gavinp/chromiu...
9a71577407ae7d153dda877c54b882c414adcb26
src/shared/imc/nacl/nacl_imc.cc
src/shared/imc/nacl/nacl_imc.cc
/* * Copyright 2008 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can * be found in the LICENSE file. */ // NaCl inter-module communication primitives. #ifdef __native_client__ #include <nacl/nacl_imc.h> #else #include "native_client/src/shared/...
/* * Copyright 2008 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can * be found in the LICENSE file. */ // NaCl inter-module communication primitives. #ifdef __native_client__ #include <nacl/nacl_imc.h> #else #include "native_client/src/shared/...
Fix missing #include in order to build against nacl-glibc
Fix missing #include in order to build against nacl-glibc nacl_imc.cc needs <unistd.h> in order for close() to be defined. BUG=http://code.google.com/p/nativeclient/issues/detail?id=617 TEST=python build.py -b Review URL: http://codereview.chromium.org/3170038 git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@30...
C++
bsd-3-clause
nacl-webkit/native_client,nacl-webkit/native_client,nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client
17be65344bee11859050da3a0ce9823da4f9530b
src/structures/vroom/amount.cpp
src/structures/vroom/amount.cpp
/* This file is part of VROOM. Copyright (c) 2015-2018, Julien Coupey. All rights reserved (see LICENSE). */ #include "structures/vroom/amount.h" amount_t& amount_t::operator+=(const amount_t& rhs) { assert(this->size() == rhs.size()); for (std::size_t i = 0; i < this->size(); ++i) { (*this)[i] += rhs[i]; ...
/* This file is part of VROOM. Copyright (c) 2015-2018, Julien Coupey. All rights reserved (see LICENSE). */ #include "structures/vroom/amount.h" amount_t& amount_t::operator+=(const amount_t& rhs) { assert(this->size() == rhs.size()); for (std::size_t i = 0; i < this->size(); ++i) { (*this)[i] += rhs[i]; ...
Remove test function
Remove test function
C++
bsd-2-clause
jcoupey/vroom,jcoupey/vroom,VROOM-Project/vroom,VROOM-Project/vroom,VROOM-Project/vroom
a6ddc34649735d890b78602e821ae6836786c8e9
src/test/test_bitcoin_fuzzy.cpp
src/test/test_bitcoin_fuzzy.cpp
// Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "consensus/merkle.h" #include "primitives/bloc...
// Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "consensus/merkle.h" #include "primitives/bloc...
Add libFuzzer support.
[tests] Add libFuzzer support. See http://llvm.org/docs/LibFuzzer.html#fuzzer-usage for usage instructions.
C++
mit
chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin
38125a0edb0013b91480d6b4ff72a90b7cb7d32b
test/socket_test.cc
test/socket_test.cc
// Copyright 2012 M-Lab. 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 applicable law ...
// Copyright 2012 M-Lab. 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 applicable law ...
Fix expectations and split out buffer size tests
Fix expectations and split out buffer size tests
C++
apache-2.0
m-lab/libraries,m-lab/libraries,m-lab/libraries,m-lab/libraries,m-lab/libraries
743fb629d7a25b63ce530de6583d389c5ec2ea70
src/vw/Plate/SnapshotManager.cc
src/vw/Plate/SnapshotManager.cc
// __BEGIN_LICENSE__ // Copyright (C) 2006-2011 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/Plate/SnapshotManager.h> #include <vw/Plate/PlateFile.h> #include <vw/Plate/TileManipulation.h> ...
// __BEGIN_LICENSE__ // Copyright (C) 2006-2011 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ #include <vw/Plate/SnapshotManager.h> #include <vw/Plate/PlateFile.h> #include <vw/Plate/TileManipulation.h> ...
fix move_down thinko (moved down too far)
SnapshotManager.cc: fix move_down thinko (moved down too far)
C++
apache-2.0
AveRapina/visionworkbench,DougFirErickson/visionworkbench,fengzhyuan/visionworkbench,fengzhyuan/visionworkbench,DougFirErickson/visionworkbench,AveRapina/visionworkbench,AveRapina/visionworkbench,fengzhyuan/visionworkbench,AveRapina/visionworkbench,fengzhyuan/visionworkbench,DougFirErickson/visionworkbench,fengzhyuan/v...
9d9dab74ebec49bce88cae441cd3252c93805fea
src/widgets/backuptabwidget.cpp
src/widgets/backuptabwidget.cpp
#include "backuptabwidget.h" WARNINGS_DISABLE #include <QDateTime> #include <QFileDialog> #include <QSettings> #include <QWidget> #include "ui_backuptabwidget.h" WARNINGS_ENABLE #include "backuplistwidgetitem.h" #include "persistentmodel/archive.h" #include "utils.h" // HACK: using _filePickerDialog(this) produces ...
#include "backuptabwidget.h" WARNINGS_DISABLE #include <QDateTime> #include <QFileDialog> #include <QWidget> #include "ui_backuptabwidget.h" WARNINGS_ENABLE #include "backuplistwidgetitem.h" #include "persistentmodel/archive.h" #include "utils.h" // HACK: using _filePickerDialog(this) produces a segfault on MacOS X...
remove extra <QSettings>
BackTabWidget: remove extra <QSettings>
C++
bsd-2-clause
Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui,Tarsnap/tarsnap-gui
0272dc03114f2d76b62ea40cd0d487516f47d48d
src/CodeGen_Posix.cpp
src/CodeGen_Posix.cpp
#include <iostream> #include "CodeGen_Posix.h" #include "CodeGen_Internal.h" #include "LLVM_Headers.h" #include "IR.h" #include "IROperator.h" #include "Debug.h" #include "IRPrinter.h" #include "Simplify.h" #include "CSE.h" namespace Halide { namespace Internal { using std::vector; using std::string; using std::map;...
#include <iostream> #include "CodeGen_Posix.h" #include "CodeGen_Internal.h" #include "LLVM_Headers.h" #include "IR.h" #include "IROperator.h" #include "Debug.h" #include "IRPrinter.h" #include "Simplify.h" #include "CSE.h" namespace Halide { namespace Internal { using std::vector; using std::string; using std::map;...
Add missing cur_stack_alloc_total branch
Add missing cur_stack_alloc_total branch Former-commit-id: 10685387c65e4d484058e2c58e457e872b13cbc4
C++
mit
Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide
b02f23ec8c20eb32351a02bf47a584261074d3f5
src/DeviceUpdates.cpp
src/DeviceUpdates.cpp
/*************************************************************************** * This file is part of libmygpo-qt * * Copyright (c) 2010 - 2013 Stefan Derkits <stefan@derkits.at> * * Copyright (c) 2010 - 2011 Christian Wagner <christian.wagner86@gmx.at> * * Copyright ...
/*************************************************************************** * This file is part of libmygpo-qt * * Copyright (c) 2010 - 2013 Stefan Derkits <stefan@derkits.at> * * Copyright (c) 2010 - 2011 Christian Wagner <christian.wagner86@gmx.at> * * Copyright ...
Fix removeList of DeviceUpdates
Fix removeList of DeviceUpdates The gpodder.net server returns the list of subscriptions to be removed under the "rem" tag, not "remove" as the API documentation seems to suggest. Hence, libmygpo-qt is not picking up any subscription removals. As reference, see gpodder.net server source code (line 73): https://githu...
C++
lgpl-2.1
gpodder/libmygpo-qt,gpodder/libmygpo-qt
413ab99ed2a7da0c658388ef9ce77592e96cfda0
src/DynamicVector.hpp
src/DynamicVector.hpp
#ifndef AX_DYNAMIC_VECTOR_H #define AX_DYNAMIC_VECTOR_H #include "DynamicVectorExp.hpp" #include <iostream> #include <vector> #include <array> namespace ax { template<typename T_elem, int I_dim, typename std::enable_if<is_dynamic_dimention<I_dim>::value >::type*& = enabler> class Vector { publ...
#ifndef AX_DYNAMIC_VECTOR_H #define AX_DYNAMIC_VECTOR_H #include "VectorExp.hpp" #include <iostream> #include <vector> #include <array> namespace ax { template<typename T_elem, dimension_type I_dim, typename std::enable_if<is_dynamic_dimension<I_dim>::value >::type*& = enabler> class Vector { ...
use dimension() instead of foo.size()
use dimension() instead of foo.size()
C++
mit
ToruNiina/AX
71314bcda467a6b8533b57ae7ea28b8d95956c16
tests/base/timer.cc
tests/base/timer.cc
//---------------------------- timer.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to ...
//---------------------------- timer.cc --------------------------- // $Id$ // Version: $Name$ // // Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer // to ...
Allow for 15 % to get us over one problem.
Allow for 15 % to get us over one problem. git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@7509 0785d39b-7218-0410-832d-ea1e28bc413d
C++
lgpl-2.1
andreamola/dealii,naliboff/dealii,angelrca/dealii,YongYang86/dealii,johntfoster/dealii,johntfoster/dealii,ibkim11/dealii,maieneuro/dealii,msteigemann/dealii,natashasharma/dealii,YongYang86/dealii,lue/dealii,nicolacavallini/dealii,kalj/dealii,adamkosik/dealii,pesser/dealii,mtezzele/dealii,nicolacavallini/dealii,adamkosi...
546005a315bc0083c40d10c2f11f3516a95778cf
src/IntegrateTFDH.cpp
src/IntegrateTFDH.cpp
#include "IntegrateTFDH.h" #include "Element.h" #include "PlasmaFunctions.h" #include "PlasmaState.h" #include "PhysicalConstants.h" #include "RadialFunction.h" #include <cassert> #include <cmath> #include <vector> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> namespace { struct TfdhParams { const E...
#include "IntegrateTFDH.h" #include "Element.h" #include "PlasmaFunctions.h" #include "PlasmaState.h" #include "PhysicalConstants.h" #include "RadialFunction.h" #include <cassert> #include <cmath> #include <vector> #include <gsl/gsl_errno.h> #include <gsl/gsl_odeiv2.h> namespace { struct TfdhParams { const E...
Use lvalue ternary to simplify code
IntegrateTFDH: Use lvalue ternary to simplify code
C++
mit
fhebert/tfdh
e96b79e868b278b90f5012e8a5e50145c96105d5
src/external_plugins/term_direct_gl_ui/default_term_window.cpp
src/external_plugins/term_direct_gl_ui/default_term_window.cpp
#include <pybind11/embed.h> #include "default_term_window.h" #include "term_buffer.h" #include "term_context.h" #include "term_network.h" #include "color_theme.h" #include "char_width.h" #include <iostream> #include <iterator> #include <functional> #include <locale> #include <codecvt> #include "base64.h" #define ...
#include <pybind11/embed.h> #include "default_term_window.h" #include "term_buffer.h" #include "term_context.h" #include "term_network.h" #include "color_theme.h" #include "char_width.h" #include <iostream> #include <iterator> #include <functional> #include <locale> #include <codecvt> #include "base64.h" #define ...
set line height to override default font height
set line height to override default font height
C++
mit
stonewell/wxglterm,stonewell/wxglterm,stonewell/wxglterm,stonewell/wxglterm
5fd81b2a5b4efb9cf62e714aa69e0bce929659bb
rmol/bom/EMDetruncator.cpp
rmol/bom/EMDetruncator.cpp
// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <iostream> #include <cmath> #include <vector> #include <cassert> // StdAir #include <stdair/stdair_basic_types.hpp> #include <stdair/servi...
// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <iostream> #include <cmath> #include <vector> #include <cassert> // StdAir #include <stdair/stdair_basic_types.hpp> #include <stdair/servi...
Update EMDetruncator.cpp
Update EMDetruncator.cpp Suppressed a useless assertion (which was always true).
C++
lgpl-2.1
jwakely/rmol,airsim/rmol,jwakely/rmol,jwakely/rmol,jwakely/rmol,airsim/rmol,airsim/rmol,airsim/rmol
f5ab5f3a461257319a9753bfe498642986b5496b
src/plugins/coreplugin/progressmanager/progressmanager_win.cpp
src/plugins/coreplugin/progressmanager/progressmanager_win.cpp
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
fix build for namespaced Qt
fix build for namespaced Qt Change-Id: Idd25bbea2c5adafbf893a10e107d4a8bfc2d221f Reviewed-by: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@digia.com>
C++
lgpl-2.1
amyvmiwei/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,omniacreator/qtcreator,duythanhphan/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,darksylinc/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,mar...
c128a15d70a75008b919fb7af05408c693191a85
src/RemoteCounter.cpp
src/RemoteCounter.cpp
/* * (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
/* * (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENS...
Fix RemoteCounter not handling tuple not found errors
Fix RemoteCounter not handling tuple not found errors
C++
apache-2.0
tellproject/telldb
e523b6b1af47e9a80161ecd9cf4ab713ea7fe2ac
photoeffects/test/tint_test.cpp
photoeffects/test/tint_test.cpp
#include "photoeffects.hpp" #include "test_utils.hpp" #include <gtest/gtest.h> using namespace cv; TEST(photoeffects, TintTest) { Mat src(10, 10, CV_8UC3), dst; Vec3b color; EXPECT_EQ(0, tint(src, dst, color, 0.0f)); } TEST(photoeffects, TintWrongImage) { Mat src(10, 10, CV_8UC2), dst; Vec3b color; EX...
#include "photoeffects.hpp" #include "test_utils.hpp" #include <gtest/gtest.h> using namespace cv; TEST(photoeffects, TintTest) { Mat src(10, 10, CV_8UC3), dst; Vec3b color; EXPECT_EQ(0, tint(src, dst, color, 0.0f)); } TEST(photoeffects, TintWrongImage) { Mat src(10, 10, CV_8UC2), dst; Vec3b color; EX...
Resolve conflicts
Resolve conflicts
C++
bsd-3-clause
ITLab-Vision/itlab-vision,ITLab-Vision/itlab-vision
eabfeae578a6747293cf933e97f9ff4fdadc8b05
src/WallToolPaths.cpp
src/WallToolPaths.cpp
// Copyright (c) 2020 Ultimaker B.V. // CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> //For std::partition_copy and std::min_element. #include <unordered_set> #include "WallToolPaths.h" #include "SkeletalTrapezoidation.h" #include "utils/SparsePointGrid.h" //To stitch the inner...
// Copyright (c) 2020 Ultimaker B.V. // CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> //For std::partition_copy and std::min_element. #include <unordered_set> #include "WallToolPaths.h" #include "SkeletalTrapezoidation.h" #include "utils/SparsePointGrid.h" //To stitch the inner...
remove debugging code
remove debugging code
C++
agpl-3.0
Ultimaker/CuraEngine,Ultimaker/CuraEngine
0998c93941f07bc7845d13b3a5977cc5ca60ee18
src/WallToolPaths.cpp
src/WallToolPaths.cpp
// Copyright (c) 2020 Ultimaker B.V. // CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> //For std::partition_copy and std::min_element. #include <unordered_set> #include "WallToolPaths.h" #include "SkeletalTrapezoidation.h" #include "BeadingStrategy/BeadingOrderOptimizer.h" #incl...
// Copyright (c) 2020 Ultimaker B.V. // CuraEngine is released under the terms of the AGPLv3 or higher. #include <algorithm> //For std::partition_copy and std::min_element. #include <unordered_set> #include "WallToolPaths.h" #include "SkeletalTrapezoidation.h" #include "BeadingStrategy/BeadingOrderOptimizer.h" #incl...
Fix other part of Mac crash.
Fix other part of Mac crash. It turns out that 'actual toolpaths' can be empty, and then the move won't work on some systems. (Or maybe it quietly failed on others.) So check if empty first and clear toolpaths if necessary. CURA-7914
C++
agpl-3.0
Ultimaker/CuraEngine,Ultimaker/CuraEngine
9dc824fd03ccb8b658495ab64619e0c7acad30bc
tensorflow/compiler/jit/xla_gpu_device.cc
tensorflow/compiler/jit/xla_gpu_device.cc
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Fix clang-format check. Somehow clang-format used in the CI produces a different output than clang-format-5
Fix clang-format check. Somehow clang-format used in the CI produces a different output than clang-format-5
C++
apache-2.0
gautam1858/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,ageron/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,karllessard/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_...
df5b76bc9646ba9d68cc87bcdd9abfe7851911d4
tensorflow/lite/toco/tflite/op_version.cc
tensorflow/lite/toco/tflite/op_version.cc
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Update op version map as 1.14.0 first RC comes out.
Update op version map as 1.14.0 first RC comes out. PiperOrigin-RevId: 250941161
C++
apache-2.0
ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,arborh/tensorflow,jhseu/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/...
549fa59a5d3e13b9cf18249655462ebd35aecda2
tests/input/kbd.cpp
tests/input/kbd.cpp
/* * Copyright © 2012-2013 Red Hat, Inc. * * 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, modify, merge, pu...
/* * Copyright © 2012-2013 Red Hat, Inc. * * 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, modify, merge, pu...
use some of the newer wrappers to handle key events
kbd: use some of the newer wrappers to handle key events This makes the test less flaky too, since slow VT switching could previously fail the tests Signed-off-by: Peter Hutterer <b9c50af7afa7642f6f854434cda9ffe54ece8b85@who-t.net>
C++
mit
freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests,freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests,freedesktop-unofficial-mirror/xorg__test__xorg-integration-tests
4311e26cf6abf6a6cc18b9562ab9f7db89be3d1a
tests/model_test.cc
tests/model_test.cc
// Nodebase test #include <limits> #include <memory> #include "catch.hpp" #include "model.h" #include "settings.h" //! \brief Check 3D model D3Q19 case TEST_CASE("Model weights are checked", "[LBM][Model]") { const lbmdem::Real Tolerance = 1.E-16; SECTION("D2Q9 model weights are checked") { const auto d2q9 ...
// Nodebase test #include <limits> #include <memory> #include "catch.hpp" #include "model.h" #include "settings.h" //! \brief Check 3D model D3Q19 case TEST_CASE("Model weights are checked", "[LBM][Model]") { const lbmdem::Real Tolerance = 1.E-16; SECTION("D2Q9 model weights are checked") { const auto d2q9 ...
add tests for zero weights outside the stencil
add tests for zero weights outside the stencil
C++
mit
cb-geo/lbm-dem,cb-geo/lbm-dem,cb-geo/lbmdem,cb-geo/lbmdem
9af97140b8f7b7fd776fd1c261531bf5340cd29b
cont/src/TCollection.cxx
cont/src/TCollection.cxx
// @(#)root/cont:$Name: $:$Id: TCollection.cxx,v 1.16 2002/02/23 16:01:44 rdm Exp $ // Author: Fons Rademakers 13/08/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
// @(#)root/cont:$Name: $:$Id: TCollection.cxx,v 1.17 2002/05/30 19:43:06 brun Exp $ // Author: Fons Rademakers 13/08/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
use TString== instead of strcmp().
use TString== instead of strcmp(). git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@5014 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
jrtomps/root,buuck/root,veprbl/root,0x0all/ROOT,thomaskeck/root,nilqed/root,Y--/root,mhuwiler/rootauto,Duraznos/root,omazapa/root-old,mattkretz/root,bbockelm/root,olifre/root,simonpf/root,Dr15Jones/root,davidlt/root,agarciamontoro/root,alexschlueter/cern-root,nilqed/root,abhinavmoudgil95/root,BerserkerTroll/root,simonp...
9b1bcbd58e387c128ef5eceef835de8fe7191e0f
Base/Analysis/voPLSStatistics.cpp
Base/Analysis/voPLSStatistics.cpp
// Qt includes #include <QDebug> // QtPropertyBrowser includes #include <QtVariantPropertyManager> // Visomics includes #include "voPLSStatistics.h" #include "voTableDataObject.h" #include "voUtils.h" #include "vtkExtendedTable.h" // VTK includes #include <vtkArrayData.h> #include <vtkDoubleArray.h> ...
// Qt includes #include <QDebug> // QtPropertyBrowser includes #include <QtVariantPropertyManager> // Visomics includes #include "voPLSStatistics.h" #include "voTableDataObject.h" #include "voUtils.h" #include "vtkExtendedTable.h" // VTK includes #include <vtkArrayData.h> #include <vtkDoubleArray.h> #include <vtkRC...
Change newlines in voPLSStatistics.cpp to unix-style
Change newlines in voPLSStatistics.cpp to unix-style
C++
apache-2.0
arborworkflows/Visomics,arborworkflows/Visomics,Visomics/Visomics,Visomics/Visomics,arborworkflows/Visomics,Visomics/Visomics,Visomics/Visomics,Visomics/Visomics,Visomics/Visomics,arborworkflows/Visomics,arborworkflows/Visomics,arborworkflows/Visomics
e766c19e0faedcf661870f9b6464f3459214ce63
hecl-gui/DownloadManager.cpp
hecl-gui/DownloadManager.cpp
#include "DownloadManager.hpp" #include "Common.hpp" #include <QBuffer> #include <quazip.h> static const char AxioDLPublicKeyPEM[] = "-----BEGIN PUBLIC KEY-----\n" "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvtshImzoP1a++9P5RK0k\n" "btTOpwie7O7S/wWFZxwwbMezEPhjw2uu86TPqJe3P/1v+6xRKrEf9zFn/sKNygvD\n" "bO64ZkJre4M46IYd...
#include "DownloadManager.hpp" #include "Common.hpp" #include <QBuffer> #include <quazip.h> static const char AxioDLPublicKeyPEM[] = "-----BEGIN PUBLIC KEY-----\n" "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvtshImzoP1a++9P5RK0k\n" "btTOpwie7O7S/wWFZxwwbMezEPhjw2uu86TPqJe3P/1v+6xRKrEf9zFn/sKNygvD\n" "bO64ZkJre4M46IYd...
Add edge certificate for pinning check
Add edge certificate for pinning check
C++
mit
AxioDL/PathShagged,AxioDL/PathShagged,AxioDL/PathShagged
096172d5135001dd426fde111da66dcf19644364
test/cxx/ApplicationPool2/ProcessTest.cpp
test/cxx/ApplicationPool2/ProcessTest.cpp
#include <TestSupport.h> #include <ApplicationPool2/Process.h> #include <Utils/IOUtils.h> using namespace Passenger; using namespace Passenger::ApplicationPool2; using namespace std; namespace tut { struct ApplicationPool2_ProcessTest { BackgroundEventLoop bg; SocketList sockets; SocketPair adminSocket; Pipe...
#include <TestSupport.h> #include <ApplicationPool2/Process.h> #include <Utils/IOUtils.h> using namespace Passenger; using namespace Passenger::ApplicationPool2; using namespace std; namespace tut { struct ApplicationPool2_ProcessTest { SocketList sockets; SocketPair adminSocket; Pipe errorPipe; FileDescript...
Remove dependency on BackgroundEventLoop in ProcessTest
Remove dependency on BackgroundEventLoop in ProcessTest
C++
mit
kewaunited/passenger,phusion/passenger,phusion/passenger,phusion/passenger,clemensg/passenger,phusion/passenger,phusion/passenger,cgvarela/passenger,clemensg/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,antek-drzewiecki/passenger,cgvarela/passenger,cgvarela/passenger,kewaunited/passenger,clemensg/pas...
b0a28a9a2491d464efffc91f470824bad7983cd3
apps/ELFLoader/elf_loader.cc
apps/ELFLoader/elf_loader.cc
#include "apps/ELFLoader/elf_loader.h" #include "libs/base/filesystem.h" #include "libs/base/tasks.h" #include "libs/tasks/UsbDeviceTask/usb_device_task.h" #include "libs/usb/descriptors.h" #include "third_party/freertos_kernel/include/FreeRTOS.h" #include "third_party/freertos_kernel/include/task.h" #include "third_pa...
#include "apps/ELFLoader/elf_loader.h" #include "libs/base/filesystem.h" #include "libs/base/tasks.h" #include "libs/tasks/UsbDeviceTask/usb_device_task.h" #include "libs/usb/descriptors.h" #include "third_party/freertos_kernel/include/FreeRTOS.h" #include "third_party/freertos_kernel/include/task.h" #include "third_pa...
Increase ELFLoader timeout to 1s
Increase ELFLoader timeout to 1s Change-Id: I41fec0a8a6e38be65b7acf0177a123e74fdeb129 GitOrigin-RevId: 5d82dcfd15bd16437d4a2d01e8d016a19708fdb8
C++
apache-2.0
google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro,google-coral/coralmicro
c3f8bfc06576be94e943ca969deee2cddc881293
memory_alignment/align_test.cpp
memory_alignment/align_test.cpp
#include <stdlib.h> #include <iostream> #include <type_traits> #include <string> #include <sstream> template <typename T> struct threepack { T v1; T v2; T v3; }; template <typename T> struct fourpack { T v1; T v2; T v3; T v4; }; template <typename T> struct type_printer { static std:...
#include <stdlib.h> #include <iostream> #include <type_traits> #include <string> #include <sstream> template <typename T> struct threepack { T v1; T v2; T v3; }; template <typename T> struct fourpack { T v1; T v2; T v3; T v4; }; template <typename T> struct type_printer { static std:...
support types larger than 128 bytes
support types larger than 128 bytes
C++
bsd-3-clause
bcumming/cpp-etc
ffe13e93ee0e0408cd54bdcc1982f247e075d241
src/lca_demo.cpp
src/lca_demo.cpp
#include <bits/stdc++.h> int numberOfNodes, MAXLOG; std::vector< std::vector<int> > adjList; int parent[50005], nodeHeight[50005]; bool visited[50005]; int binaryLiftDp[50005][27]; void dfs(int currentNode, int currentParent) { visited[currentNode] = true; parent[currentNode] = currentParent; nodeHeight[c...
#include <cstdio> #include <vector> const int MAX_NODE = 5000; const int MAX_LOG = 20; int numberOfNodes, maxLog; std::vector< std::vector<int> > adjList; int parent[MAX_NODE], nodeHeight[MAX_NODE]; bool visited[MAX_NODE]; int binaryLiftDp[MAX_NODE][MAX_LOG]; void dfs(int currentNode, int currentParent) { visite...
Add const size for array
Add const size for array
C++
mit
xtaci/algorithms,xtaci/algorithms,greyg00s/algorithms,greyg00s/algorithms
696dc4bb13d27b647284f952e42ff6b48d36dd04
paddle/fluid/imperative/reducer.cc
paddle/fluid/imperative/reducer.cc
// Copyright (c) 2020 PaddlePaddle 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...
// Copyright (c) 2020 PaddlePaddle 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...
fix the warning of reducer (#29323)
fix the warning of reducer (#29323)
C++
apache-2.0
PaddlePaddle/Paddle,PaddlePaddle/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,luotao1/Paddle,luotao1/Paddle
a767d3b25baffcb18634af1876f098ad56f76ec2
phonon/tests/fakebackend/mediaobject.cpp
phonon/tests/fakebackend/mediaobject.cpp
/* This file is part of the KDE project Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
/* This file is part of the KDE project Copyright (C) 2006-2007 Matthias Kretz <kretz@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
handle MediaSource::Empty like Invalid
handle MediaSource::Empty like Invalid
C++
lgpl-2.1
KDE/phonon-quicktime,KDE/phonon-mmf,KDE/phonon-gstreamer,KDE/phonon-xine,KDE/phonon-xine,KDE/phonon-xine,KDE/phonon-directshow,KDE/phonon-gstreamer,shadeslayer/phonon-gstreamer,KDE/phonon-waveout,KDE/phonon-directshow,shadeslayer/phonon-gstreamer,shadeslayer/phonon-gstreamer
d1f03be7a542b15b1b7c085d86b7b63e9f2fd9e0
hmLib/algorithm/sampling.hpp
hmLib/algorithm/sampling.hpp
#ifndef HMLIB_ALGORITHM_SAMPLING_INC #define HMLIB_ALGORITHM_SAMPLING_INC 104 # /* ===algorithm::sampling=== ある範囲の中から値を選択するアルゴリズムを提供する algorithm::sampling:v1_04/140731 hmIto 可能なsamplerに、add/clear関数を追加 手動で一個ずつデータを追加 / すべてクリアする関数 algorithm::sampling:v1_03/140708 hmIto shuffle_samplerを追加 イテレータでレンジを受け取り、シャッフルして順に返す ...
#ifndef HMLIB_ALGORITHM_SAMPLING_INC #define HMLIB_ALGORITHM_SAMPLING_INC 105 # /* ===algorithm::sampling=== ある範囲の中から値を選択するアルゴリズムを提供する algorithm::sampling:v2_00/160426 hmIto build系関数をmakeに変更 distance/next等のiteratorへの特殊されている関数を利用するよう変更 hmLib::randomへの依存性を削除 algorithm::sampling:v1_04/140731 hmIto 可能なsamplerに、add/cle...
Modify for C++11 stype alogirthm. Using iterator functions, independece from the random engine.
Modify for C++11 stype alogirthm. Using iterator functions, independece from the random engine.
C++
mit
hmito/hmLib,hmito/hmLib
9f7126d2ed8d47ead3bed97045972cf172e89fba
tests/unittests/CoreGraphics.drawing/CGContextDrawing_FillModeTests.cpp
tests/unittests/CoreGraphics.drawing/CGContextDrawing_FillModeTests.cpp
//****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
//****************************************************************************** // // Copyright (c) Microsoft. All rights reserved. // // This code is licensed under the MIT License (MIT). // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARR...
Fix improper type assign in FillModeTests. invalid assignment of const char to char*
Fix improper type assign in FillModeTests. invalid assignment of const char to char*
C++
mit
ehren/WinObjC,ehren/WinObjC,bbowman/WinObjC,pradipd/WinObjC,nathpete-msft/WinObjC,bbowman/WinObjC,pradipd/WinObjC,bbowman/WinObjC,nathpete-msft/WinObjC,nathpete-msft/WinObjC,nathpete-msft/WinObjC,nathpete-msft/WinObjC,bbowman/WinObjC,ehren/WinObjC,ehren/WinObjC,pradipd/WinObjC,bbowman/WinObjC,pradipd/WinObjC,pradipd/Wi...
0d16465a0428a8f3ae10959e2de6011133e40221
runtime/browser/ui/native_app_window_views.cc
runtime/browser/ui/native_app_window_views.cc
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/runtime/browser/ui/native_app_window_views.h" #include "base/command_line.h" #include "content/public/browser/notification_service.h" #i...
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/runtime/browser/ui/native_app_window_views.h" #include <vector> #include "base/command_line.h" #include "content/public/browser/notific...
Fix the incorrect icon update issue
[Linux] Fix the incorrect icon update issue Ensure at least the ImageSkiaRep's for the default 1x scale is always attached to ImageSkia's storage so that HasRepresentation for the default 1x scale return a meaningful true then the icon updator can get a chance to retrieve the 1x scale Rep. BUG=XWALK-4763
C++
bsd-3-clause
lincsoon/crosswalk,baleboy/crosswalk,darktears/crosswalk,axinging/crosswalk,darktears/crosswalk,zeropool/crosswalk,xzhan96/crosswalk,weiyirong/crosswalk-1,Bysmyyr/crosswalk,darktears/crosswalk,dreamsxin/crosswalk,marcuspridham/crosswalk,stonegithubs/crosswalk,darktears/crosswalk,bestwpw/crosswalk,dreamsxin/crosswalk,mi...
0582802a24d121c6874e331c5664cf2d0da555af
test/keyphrase-extraction/kpe_scd_tool.cc
test/keyphrase-extraction/kpe_scd_tool.cc
#include <idmlib/keyphrase-extraction/kpe_algorithm.h> #include <boost/algorithm/string/split.hpp> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include <util/scd_parser.h> #include "../TestResources.h" using namespace idmlib; using namespace idmlib::kpe; using namespace idmlib::util; using nam...
#include <idmlib/keyphrase-extraction/kpe_algorithm.h> #include <boost/algorithm/string/split.hpp> #include <boost/program_options.hpp> #include <boost/filesystem.hpp> #include <util/scd_parser.h> #include "../TestResources.h" using namespace idmlib; using namespace idmlib::kpe; using namespace idmlib::util; using nam...
add exclude file.
add exclude file.
C++
apache-2.0
izenecloud/idmlib,pombredanne/idmlib,pombredanne/idmlib,izenecloud/idmlib,izenecloud/idmlib,pombredanne/idmlib,izenecloud/idmlib,izenecloud/idmlib,pombredanne/idmlib
9a8947d459ba9b5abd424010c11306190f6e4d4b
test/src/matchers/test_string_literal.cpp
test/src/matchers/test_string_literal.cpp
#include "tpunit++.hpp" #include <mockitopp/mockitopp.hpp> using mockitopp::mock_object; using mockitopp::matcher::string_literal; struct test_string_literal : tpunit::TestFixture { test_string_literal() : tpunit::TestFixture ( TEST(test_string_literal::char_ptr), TEST(test_string_literal::const_cha...
#include "tpunit++.hpp" #include <mockitopp/mockitopp.hpp> using mockitopp::mock_object; using mockitopp::matcher::string_literal; struct test_string_literal : tpunit::TestFixture { test_string_literal() : tpunit::TestFixture ( TEST(test_string_literal::char_ptr), TEST(test_string_literal::const_cha...
Fix string literal warnings.
Fix string literal warnings. Clang: -Wdeprecated-writable-strings GCC: -Wwrite-strings
C++
mit
matthargett/mockitopp,tpounds/mockitopp,matthargett/mockitopp,tpounds/mockitopp
30e240cc91245b322075be90f883f822157eac8d
tools/tm.cc
tools/tm.cc
/* Simulator for deterministic Turing machines. Based on the definition in Sipser's Introduction to the Theory of Computation. A state can be any integer. The start state is 0. Any negative state is an accept state. A symbol can be any string of non-whitespace characters. The blank symbol is _. ...
/* Simulator for deterministic Turing machines. Based on the definition in Sipser's Introduction to the Theory of Computation. A state can be any integer. The start state is 0. Any negative state is an accept state. A symbol can be any string of non-whitespace characters. The blank symbol is _. ...
speed up tm simulator a bit more
tm: speed up tm simulator a bit more
C++
mit
shinh/elvm,ND-CSE-30151/elvm,shinh/elvm,shinh/elvm,ND-CSE-30151/elvm,shinh/elvm,shinh/elvm,ND-CSE-30151/elvm,shinh/elvm,shinh/elvm,shinh/elvm
16eeedecb9594f9aaf0f9768a9d1c44b1acc1194
tests/test_queue.cc
tests/test_queue.cc
/* * Copyright (C) 2015,2016,2017 deipi.com LLC and contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation...
/* * Copyright (C) 2015,2016,2017 deipi.com LLC and contributors. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation...
Update tests in test_queue_constructor
Update tests in test_queue_constructor
C++
mit
Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand,Kronuz/Xapiand