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
ba39082e69113010a290f9be4f7800a5af9efa6c
include/http/request_parser.hpp
include/http/request_parser.hpp
// // request_parser.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef HTTP_REQUEST_PARSER_HPP...
// // request_parser.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // 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) // #ifndef HTTP_REQUEST_PARSER_HPP...
Fix include
Fix include
C++
mit
guoxiao/asio_http
126cc2bf754c455bf2fb2e87dc6cea5365ac6cc3
includes/gcl/mp/type_traits.hpp
includes/gcl/mp/type_traits.hpp
#pragma once #include <type_traits> namespace gcl::mp::type_traits { template <class T> struct is_template : std::false_type {}; template <class... T_args, template <class...> class T> struct is_template<T<T_args...>> : std::true_type {}; template <auto... values, template <auto...> class T> st...
#pragma once #include <type_traits> namespace gcl::mp::type_traits { template <class T> struct is_template : std::false_type {}; template <class... T_args, template <class...> class T> struct is_template<T<T_args...>> : std::true_type {}; template <auto... values, template <auto...> class T> st...
add is_instance_of tests
[mp::type_traits] add is_instance_of tests
C++
apache-2.0
GuillaumeDua/GCL_CPP
d9010aaa5936878077242bc75d12c98d81754def
indexer/scale_index_builder.hpp
indexer/scale_index_builder.hpp
#pragma once #include "scale_index.hpp" #include "feature_covering.hpp" #include "feature_visibility.hpp" #include "feature.hpp" #include "interval_index_builder.hpp" #include "cell_id.hpp" #include "../coding/dd_vector.hpp" #include "../coding/file_sort.hpp" #include "../coding/var_serial_vector.hpp" #include "../cod...
#pragma once #include "scale_index.hpp" #include "feature_covering.hpp" #include "feature_visibility.hpp" #include "feature.hpp" #include "interval_index_builder.hpp" #include "cell_id.hpp" #include "../coding/dd_vector.hpp" #include "../coding/file_sort.hpp" #include "../coding/var_serial_vector.hpp" #include "../cod...
Store feature in geometry index only if it has nonempty geometry for the indexing scale.
[generator] Store feature in geometry index only if it has nonempty geometry for the indexing scale.
C++
apache-2.0
Komzpa/omim,milchakov/omim,guard163/omim,simon247/omim,goblinr/omim,Saicheg/omim,vasilenkomike/omim,mapsme/omim,Zverik/omim,krasin/omim,felipebetancur/omim,vladon/omim,Volcanoscar/omim,syershov/omim,rokuz/omim,igrechuhin/omim,UdjinM6/omim,krasin/omim,bykoianko/omim,Saicheg/omim,milchakov/omim,vladon/omim,AlexanderMatve...
1b05926638cd09605da46124f3db330a481eefb5
src/EventHandler.cpp
src/EventHandler.cpp
#include "tgbot/EventHandler.h" #include <algorithm> #include <cstddef> #include <string> using namespace std; namespace TgBot { void EventHandler::handleUpdate(const Update::Ptr& update) const { if (update->inlineQuery != nullptr) { _broadcaster.broadcastInlineQuery(update->inlineQuery); } if (...
#include "tgbot/EventHandler.h" #include <algorithm> #include <cstddef> #include <string> using namespace std; namespace TgBot { void EventHandler::handleUpdate(const Update::Ptr& update) const { if (update->inlineQuery != nullptr) { _broadcaster.broadcastInlineQuery(update->inlineQuery); } if (...
Handle channelPost similarly to a direct message
Handle channelPost similarly to a direct message
C++
mit
reo7sp/tgbot-cpp,reo7sp/tgbot-cpp,reo7sp/tgbot-cpp
44cec55de83a9b4c42e1f4d7fad0ea57fd4e614e
src/Genes/Genome.cpp
src/Genes/Genome.cpp
#include "Genes/Genome.h" #include <limits> #include "Game/Color.h" #include "Utility.h" #include "Genes/Gene.h" #include "Genes/Total_Force_Gene.h" #include "Genes/Freedom_To_Move_Gene.h" #include "Genes/Pawn_Advancement_Gene.h" #include "Genes/Opponent_Pieces_Targeted_Gene.h" #include "Genes/Sphere_of_Influence_G...
#include "Genes/Genome.h" #include <limits> #include "Game/Color.h" #include "Utility.h" #include "Genes/Gene.h" #include "Genes/Total_Force_Gene.h" #include "Genes/Freedom_To_Move_Gene.h" #include "Genes/Pawn_Advancement_Gene.h" #include "Genes/Opponent_Pieces_Targeted_Gene.h" #include "Genes/Sphere_of_Influence_G...
Increase mutation rate
Increase mutation rate Mutate two genes (on average) per genome mutation event.
C++
mit
MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess,MarkZH/Genetic_Chess
54d8a1be81aaa459e44155e02862309b73373e06
src/ImageMatcher.cpp
src/ImageMatcher.cpp
/** * @brief Compute 2d feature descriptors from a set of images. * * @copyright Copyright 2013, Trya Srl * via Siemens 19 - 39100 Bolzano BZ, ITALY * * @author Piero Donaggio <piero.donaggio@trya.it> * @file ImageMatcher.cpp */ #include "ImageMatcher.h" #include <stdio.h> #include <iostream> #include <sstrea...
/** * @brief Compute 2d feature descriptors from a set of images. * * @copyright Copyright 2013, Trya Srl * via Siemens 19 - 39100 Bolzano BZ, ITALY * * @author Piero Donaggio <piero.donaggio@trya.it> * @file ImageMatcher.cpp */ #include "ImageMatcher.h" #include <stdio.h> #include <iostream> #include <sstrea...
fix -- nonfree needed to use SURF
fix -- nonfree needed to use SURF
C++
mit
lec00q/paint-match
d8a86581e42dd58df565a5ed24c6d0a78fd2905b
src/LoadBalancer.cpp
src/LoadBalancer.cpp
/// /// @file LoadBalancer.cpp /// @brief The LoadBalancer assigns work to the individual threads /// in the computation of the special leaves in the /// Lagarias-Miller-Odlyzko and Deleglise-Rivat prime /// counting algorithms. /// /// Simply parallelizing the computation of the special //...
/// /// @file LoadBalancer.cpp /// @brief The LoadBalancer assigns work to the individual threads /// in the computation of the special leaves in the /// Lagarias-Miller-Odlyzko and Deleglise-Rivat prime /// counting algorithms. /// /// Simply parallelizing the computation of the special //...
Speed up resume
Speed up resume
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
250f784122f3bfd67f9e8dd9fcaa437f07e0575a
paddle/function/MulOpTest.cpp
paddle/function/MulOpTest.cpp
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. 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 ...
Add std for setiosflags
Add std for setiosflags
C++
apache-2.0
pkuyym/Paddle,baidu/Paddle,emailweixu/Paddle,baidu/Paddle,pkuyym/Paddle,yu239/Paddle,Canpio/Paddle,Canpio/Paddle,hedaoyuan/Paddle,lispc/Paddle,wen-bo-yang/Paddle,PaddlePaddle/Paddle,Canpio/Paddle,putcn/Paddle,hedaoyuan/Paddle,PaddlePaddle/Paddle,wen-bo-yang/Paddle,lispc/Paddle,lispc/Paddle,pengli09/Paddle,gangliao/Padd...
d67ca9de89ea4e13c3e9832ecf587d09d16d65c8
lib/Analysis/TypeBasedAliasAnalysis.cpp
lib/Analysis/TypeBasedAliasAnalysis.cpp
//===- TypeBasedAliasAnalysis.cpp - Type-Based Alias Analysis -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- TypeBasedAliasAnalysis.cpp - Type-Based Alias Analysis -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Enable TBAA by default.
Enable TBAA by default. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@121923 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/l...
d319548905814d4c84e30879af3389bceeffb875
icpcarchive.ecs.baylor.edu/ACMContestScoring.cpp
icpcarchive.ecs.baylor.edu/ACMContestScoring.cpp
/* * By: ulises-jeremias * From: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5372 * Name: ACM Contest Scoring * Date: 07/09/2017 */ #include <iostream> using namespace std; int main(int argc, char const *argv[]) { ios_base::sync_with_stdio(false...
/* * By: ulises-jeremias * From: https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=5372 * Name: ACM Contest Scoring * Date: 07/09/2017 */ #include <iostream> #include <cstring> using namespace std; int main(int argc, char const *argv[]) { ios_base::sy...
Fix solved
Fix solved
C++
apache-2.0
ulises-jeremias/Solutions,ulises-jeremias/Solutions
d2b736979331a4759339bebe17b84a743e4969b6
include/xsimd/memory/xsimd_aligned_allocator.hpp
include/xsimd/memory/xsimd_aligned_allocator.hpp
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack * * ...
/*************************************************************************** * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and * * Martin Renou * * Copyright (c) QuantStack * * ...
fix missing cassert header
fix missing cassert header 7a4fc55 added uses of the assert macro without including the cassert header
C++
bsd-3-clause
JohanMabille/xsimd,xtensor-stack/xsimd,xtensor-stack/xsimd,JohanMabille/xsimd,jmabille/nxsimd
7039039f5191f65caefbb5bfa129ef6f19f92335
tests/units/presentation/errorhandlingmodelbasetest.cpp
tests/units/presentation/errorhandlingmodelbasetest.cpp
/* This file is part of Zanshin Copyright 2014 Mario Bensi <mbensi@ipsquad.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) ver...
/* This file is part of Zanshin Copyright 2014 Mario Bensi <mbensi@ipsquad.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) ver...
Build fix
Build fix Use install instead of installHandler which is protected.
C++
lgpl-2.1
sandsmark/zanshin,sandsmark/zanshin,sandsmark/zanshin
b5626bf5c1a7d94198793ae14b495e690d39c61c
lib/Target/X86/X86InterleavedAccess.cpp
lib/Target/X86/X86InterleavedAccess.cpp
//===--------- X86InterleavedAccess.cpp ----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
//===--------- X86InterleavedAccess.cpp ----------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
Fix unused variable warning in Release builds. NFC.
Fix unused variable warning in Release builds. NFC. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@288416 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Dri...
efa103c6a06774f2711d0e7b84a08b2dd6857b4a
kopete/main.cpp
kopete/main.cpp
/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> ************************************...
/* Kopete , The KDE Instant Messenger Copyright (c) 2001-2002 by Duncan Mac-Vicar Prett <duncan@kde.org> Viva Chile Mierda! Started at Wed Dec 26 03:12:10 CLST 2001, Santiago de Chile Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org> ************************************...
increase version
increase version svn path=/trunk/kdenetwork/kopete/; revision=392385
C++
lgpl-2.1
Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete
4c0f7002cfcb4af8b7482fd22e06321f54fa726e
AltTabFixer/fixer.cpp
AltTabFixer/fixer.cpp
/* Copyright 2013 Cygnus Software This code exists to correct a Windows 7 problem with alt+tab that has been documented at: http://randomascii.wordpress.com/2011/10/16/alttab-depth-inversion-bug/ This program is distributed for free, with no warranty. */ #include "stdafx.h" #include <map> #include <strin...
/* Copyright 2013 Cygnus Software This code exists to correct a Windows 7 problem with alt+tab that has been documented at: http://randomascii.wordpress.com/2011/10/16/alttab-depth-inversion-bug/ This program is distributed for free, with no warranty. */ #include "stdafx.h" #include <map> #include <strin...
Work around Outlook 2010 reminders bug on Windows 10
Work around Outlook 2010 reminders bug on Windows 10 The Outlook 2010 reminders window on Windows 10 keeps getting the always-on-top flag set. This change teaches AltTabFixer to correct this issue as well, even though it's not really related.
C++
apache-2.0
randomascii/tools,randomascii/tools,randomascii/tools
ec1949e8041b63f59aab63440ad9eeeddd226ce3
ir_constant_expression.cpp
ir_constant_expression.cpp
/* * Copyright © 2010 Intel Corporation * * 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, pub...
/* * Copyright © 2010 Intel Corporation * * 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, pub...
Add support for =, != to ir_constant_expresion.cpp
Add support for =, != to ir_constant_expresion.cpp This results in constant folding of one more expression in CorrectParse2.frag.
C++
mit
djreep81/glsl-optimizer,zz85/glsl-optimizer,zeux/glsl-optimizer,bkaradzic/glsl-optimizer,zz85/glsl-optimizer,mcanthony/glsl-optimizer,wolf96/glsl-optimizer,djreep81/glsl-optimizer,mapbox/glsl-optimizer,adobe/glsl2agal,adobe/glsl2agal,adobe/glsl2agal,benaadams/glsl-optimizer,mapbox/glsl-optimizer,jbarczak/glsl-optimizer...
ff76f97e12fa0fea6585a42e084d9a1b7699a4a7
libraries/connectivity/connectivity.cpp
libraries/connectivity/connectivity.cpp
//============================================================================================================= /** * @file connectivity.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date March, 2017 * * @section LICENSE * * C...
//============================================================================================================= /** * @file connectivity.cpp * @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date March, 2017 * * @section LICENSE * * C...
edit connectivity.cpp for coherency
edit connectivity.cpp for coherency
C++
bsd-3-clause
LorenzE/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp
752d303a103a4b2504ddf50c0613a3c2f3536014
lib/IR/GCOV.cpp
lib/IR/GCOV.cpp
//===- GCOVr.cpp - LLVM coverage tool -------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- GCOVr.cpp - LLVM coverage tool -------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Test commit. Added whitespace in GCOV.cpp.
Test commit. Added whitespace in GCOV.cpp. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@193224 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,chubbymagg...
7f2b440cafa611723368ea6b07211e171c5a588d
lib/counting.hh
lib/counting.hh
#ifndef COUNTING_HH #define COUNTING_HH #include <vector> #include "khmer_config.hh" #include "hashtable.hh" #include "hashbits.hh" namespace khmer { typedef std::map<HashIntoType, BoundedCounterType> KmerCountMap; class CountingHashIntersect; class CountingHashFile; class CountingHashFileReader; class Cou...
#ifndef COUNTING_HH #define COUNTING_HH #include <vector> #include "khmer_config.hh" #include "hashtable.hh" #include "hashbits.hh" namespace khmer { typedef std::map<HashIntoType, BoundedCounterType> KmerCountMap; class CountingHashIntersect; class CountingHashFile; class CountingHashFileReader; class Cou...
Initialize k-mer counter spinlocks to 0 for 'bigcounts'.
Initialize k-mer counter spinlocks to 0 for 'bigcounts'.
C++
bsd-3-clause
F1000Research/khmer,jas14/khmer,ged-lab/khmer,souravsingh/khmer,Winterflower/khmer,souravsingh/khmer,ged-lab/khmer,souravsingh/khmer,Winterflower/khmer,Winterflower/khmer,F1000Research/khmer,F1000Research/khmer,kdmurray91/khmer,kdmurray91/khmer,jas14/khmer,ged-lab/khmer,jas14/khmer,kdmurray91/khmer
aedaab5140dab27bce1198efb2b3fc463e426bdc
lib/counting.hh
lib/counting.hh
#ifndef COUNTING_HH #define COUNTING_HH #include <vector> #include "hashtable.hh" #include "hashbits.hh" namespace khmer { typedef std::map<HashIntoType, BoundedCounterType> KmerCountMap; class CountingHashIntersect; class CountingHashFile; class CountingHashFileReader; class CountingHashFileWriter; clas...
#ifndef COUNTING_HH #define COUNTING_HH #include <vector> #include "khmer_config.hh" #include "hashtable.hh" #include "hashbits.hh" namespace khmer { typedef std::map<HashIntoType, BoundedCounterType> KmerCountMap; class CountingHashIntersect; class CountingHashFile; class CountingHashFileReader; class Cou...
Use config interface to get size of sloppy hash bins in kmer-counting logic.
Use config interface to get size of sloppy hash bins in kmer-counting logic.
C++
bsd-3-clause
Winterflower/khmer,souravsingh/khmer,ged-lab/khmer,ged-lab/khmer,jas14/khmer,jas14/khmer,kdmurray91/khmer,Winterflower/khmer,kdmurray91/khmer,souravsingh/khmer,jas14/khmer,F1000Research/khmer,F1000Research/khmer,souravsingh/khmer,Winterflower/khmer,F1000Research/khmer,kdmurray91/khmer,ged-lab/khmer
5bc3dacdbac0085d582b8fc2897a0a323f426a8c
lib/fs/path.cpp
lib/fs/path.cpp
/* Copyright (c) 2015, Pollard Banknote Limited All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of cond...
/* Copyright (c) 2015, Pollard Banknote Limited All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of cond...
Fix bug with infinite recursion in path::compare Fix bug with unused argument in path::lexically_relative
Fix bug with infinite recursion in path::compare Fix bug with unused argument in path::lexically_relative
C++
bsd-3-clause
PollardBanknote/cppbackport,PollardBanknote/cppbackport
e8842f1ba842755900eedfa61d8d4a255a0448ca
include/Nazara/Math/Basic.inl
include/Nazara/Math/Basic.inl
// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Error.hpp> #include <Nazara/Core/String.hpp> #include <Nazara/Math/Config.hpp> #include <algorithm> #include <cstrin...
// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Error.hpp> #include <Nazara/Core/String.hpp> #include <Nazara/Math/Config.hpp> #include <algorithm> #include <cstrin...
Revert "Optimized NzNormalizeAngle"
Revert "Optimized NzNormalizeAngle" This reverts commit 1ed4af0b903b3fae59c633567b49ebda61797cc2 [formerly 683c7e913ee2f293d299c1d0a4abaf6c65116598]. Former-commit-id: 1c687a7d018e277408b0e390d37bec13c454d4a1
C++
mit
DigitalPulseSoftware/NazaraEngine
fcb02c650c379764a037583f476297a815042dad
include/bredis/Connection.hpp
include/bredis/Connection.hpp
// // // Copyright (c) 2017 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com) // // Distributed under the MIT Software License // #pragma once #include <atomic> #include <initializer_list> #include <mutex> #include <queue> #include <sstream> #include <tuple> #include <utility> #include <vector> #include <bo...
// // // Copyright (c) 2017 Ivan Baidakou (basiliscos) (the dot dmol at gmail dot com) // // Distributed under the MIT Software License // #pragma once #include <atomic> #include <initializer_list> #include <mutex> #include <queue> #include <sstream> #include <tuple> #include <utility> #include <vector> #include <bo...
Add const version of next_layer()
Add const version of next_layer()
C++
mit
basiliscos/cpp-bredis
5369b63e33002727019dc3a5e033d33be6c867f5
include/eigenpy/exception.hpp
include/eigenpy/exception.hpp
/* * Copyright 2014, Nicolas Mansard, LAAS-CNRS * * This file is part of eigenpy. * eigenpy 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 3 of * the License, or (at your option) ...
/* * Copyright 2014,2018 Nicolas Mansard and Justin Carpentier, LAAS-CNRS * * This file is part of eigenpy. * eigenpy 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 3 of * the Lic...
clean naming
[Exception] clean naming
C++
bsd-2-clause
jcarpent/eigenpy,jcarpent/eigenpy,stack-of-tasks/eigenpy,jcarpent/eigenpy,stack-of-tasks/eigenpy
9f77f357dc1a0be1c796000c163cc7bb4c82ea2c
include/lexer/SpiritLexer.hpp
include/lexer/SpiritLexer.hpp
//======================================================================= // Copyright Baptiste Wicht 2011. // 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 Baptiste Wicht 2011. // 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) //=====================================================...
Add the struct keyword to the lexer
Add the struct keyword to the lexer
C++
mit
wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic
02c355e40b920f130282b0805621a43cff32ae6c
include/lexer/SpiritLexer.hpp
include/lexer/SpiritLexer.hpp
//======================================================================= // Copyright Baptiste Wicht 2011. // 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 Baptiste Wicht 2011. // 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) //=====================================================...
Add compound assignment operators support to the lexer
Add compound assignment operators support to the lexer
C++
mit
vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic
ef590ddb8b1fe016defedf1724844ae53610e4dc
caffe2/sgd/learning_rate_op.cc
caffe2/sgd/learning_rate_op.cc
#include "caffe2/sgd/learning_rate_op.h" namespace caffe2 { REGISTER_CPU_OPERATOR(LearningRate, LearningRateOp<float, CPUContext>); OPERATOR_SCHEMA(LearningRate) .NumInputs(1) .NumOutputs(1) .SetDoc(R"DOC( Learning rate is a decreasing function of time. With low learning rates the improvements will be linear. W...
#include "caffe2/sgd/learning_rate_op.h" namespace caffe2 { REGISTER_CPU_OPERATOR(LearningRate, LearningRateOp<float, CPUContext>); OPERATOR_SCHEMA(LearningRate) .NumInputs(1) .NumOutputs(1) .SetDoc(R"DOC( Learning rate is a decreasing function of time. With low learning rates the improvements will be lin...
Fix blob device inference for LearningRate
Fix blob device inference for LearningRate Summary: LearningRate inputs are always on CPU. Reviewed By: kennyhorror Differential Revision: D5531910 fbshipit-source-id: 88b5a50800e46f2cf0f0a82ea0de1adeec8de6ed
C++
apache-2.0
pietern/caffe2,Yangqing/caffe2,Yangqing/caffe2,Yangqing/caffe2,xzturn/caffe2,pietern/caffe2,davinwang/caffe2,sf-wind/caffe2,pietern/caffe2,davinwang/caffe2,caffe2/caffe2,sf-wind/caffe2,Yangqing/caffe2,xzturn/caffe2,sf-wind/caffe2,pietern/caffe2,xzturn/caffe2,sf-wind/caffe2,sf-wind/caffe2,xzturn/caffe2,davinwang/caffe2,...
e3701914cc9e7156fcd50a75516327a8887eefe3
py/pykms/pykmsbase.cpp
py/pykms/pykmsbase.cpp
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <kms++/kms++.h> namespace py = pybind11; using namespace kms; using namespace std; void init_pykmsbase(py::module &m) { py::class_<Card>(m, "Card") .def(py::init<>()) .def_property_readonly("fd", &Card::fd) .def("get_first_connected_connecto...
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <kms++/kms++.h> namespace py = pybind11; using namespace kms; using namespace std; void init_pykmsbase(py::module &m) { py::class_<Card>(m, "Card") .def(py::init<>()) .def_property_readonly("fd", &Card::fd) .def("get_first_connected_connecto...
Add color format related methods and memebers to pykmsbase.
Add color format related methods and memebers to pykmsbase. Signed-off-by: Tomi Valkeinen <e1ca4dbb8be1acaf20734fecd2da10ed1d46a9bb@ti.com>
C++
mpl-2.0
tomba/kmsxx,tomba/kmsxx,tomba/kmsxx,tomba/kmsxx
963dbeb91bc06c615c117a96168f95fcd1e666df
include/rovio/rovioFilter.hpp
include/rovio/rovioFilter.hpp
/* * Copyright (c) 2014, Autonomous Systems Lab * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions...
/* * Copyright (c) 2014, Autonomous Systems Lab * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions...
Revert rovioFilter.
Revert rovioFilter.
C++
bsd-3-clause
kartikmohta/rovio
77808c93271773f882b8e444584b25bda8d724e6
include/vfs/virtual_array.hpp
include/vfs/virtual_array.hpp
#pragma once #include <set> #include <mutex> #include <atomic> #include "vfs/logging.hpp" #include "vfs/virtual_allocator.hpp" namespace vfs { //---------------------------------------------------------------------------------------------- template<typename T, uint32_t _MaxElementCount> class virtual_a...
#pragma once #include <set> #include <mutex> #include <atomic> #include "vfs/logging.hpp" #include "vfs/virtual_allocator.hpp" namespace vfs { //---------------------------------------------------------------------------------------------- template<typename T, uint32_t _MaxElementCount> class virtual_a...
Add a way to check if an index holds valid data.
Add a way to check if an index holds valid data.
C++
mit
H-EAL/vfs
b29ebc08735d5a63fad4b24271e9ee046e268d2e
include/Cats/Corecat/System/Process.hpp
include/Cats/Corecat/System/Process.hpp
/* * * MIT License * * Copyright (c) 2016-2018 The Cats Project * * 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 us...
/* * * MIT License * * Copyright (c) 2016-2018 The Cats Project * * 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 us...
Update Process
Update Process
C++
mit
SuperSodaSea/Corecat
6bab4e56fd591a530e6f020b9ad4fd1633823b40
include/mapnik/proj_transform_cache.hpp
include/mapnik/proj_transform_cache.hpp
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2021 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2021 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
Move `MAPNIK_DECL` to the front (ref https://github.com/mapnik/mapnik/pull/4220#issuecomment-814259514)
Move `MAPNIK_DECL` to the front (ref https://github.com/mapnik/mapnik/pull/4220#issuecomment-814259514)
C++
lgpl-2.1
lightmare/mapnik,tomhughes/mapnik,mapnik/mapnik,mapnik/mapnik,lightmare/mapnik,mapnik/mapnik,lightmare/mapnik,tomhughes/mapnik,tomhughes/mapnik,mapnik/mapnik,lightmare/mapnik,tomhughes/mapnik
6fc74ecc3278c42bb297b62b96343a547dae3029
include/nvcomp/nvcompManagerFactory.hpp
include/nvcomp/nvcompManagerFactory.hpp
/* * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of co...
/* * Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of co...
Add missing pragma once
Add missing pragma once
C++
bsd-3-clause
NVIDIA/nvcomp,NVIDIA/nvcomp,NVIDIA/nvcomp
97dcfa66b0906df2e861709ccf5952f177dac29a
include/powercores/threadsafe_queue.hpp
include/powercores/threadsafe_queue.hpp
/**This file is part of Lambdatask, released under the terms of the Unlicense. See LICENSE in the root of the Lambdatask repository for details.*/ #pragma once #include <thread> #include <mutex> #include <condition_variable> #include <chrono> #include <queue> #include <atomic> namespace powercores { /**A threadsafe qu...
/**This file is part of Lambdatask, released under the terms of the Unlicense. See LICENSE in the root of the Lambdatask repository for details.*/ #pragma once #include <thread> #include <mutex> #include <condition_variable> #include <chrono> #include <queue> #include <atomic> namespace powercores { /**A threadsafe qu...
Rename contains to size
Rename contains to size
C++
unlicense
camlorn/powercores
462adfe8126ef46a21139499cf07c5ab4cb64cf7
Application/cmbNucMainWindow.cxx
Application/cmbNucMainWindow.cxx
#include "cmbNucMainWindow.h" #include "ui_qNucMainWindow.h" #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkCompositePolyDataMapper2.h> #include <QFileDialog> #include <QFileInfo> #include <QStringList> #include <QDebug> #include <QDockWi...
#include "cmbNucMainWindow.h" #include "ui_qNucMainWindow.h" #include <vtkActor.h> #include <vtkRenderer.h> #include <vtkRenderWindow.h> #include <vtkRenderWindowInteractor.h> #include <vtkCompositePolyDataMapper2.h> #include <QFileDialog> #include <QFileInfo> #include <QStringList> #include <QDebug> #include <QDockWi...
allow block opacity to enable depth peeling
allow block opacity to enable depth peeling Default value, scalarvisibilityon, makes alpha channel in lookuptable determining factor in translucency. Turning it off allows the BlockOpacity to be it instead.
C++
bsd-3-clause
Sprunth/RGG,Sprunth/RGG,Sprunth/RGG,Sprunth/RGG
60cacbfd66e4ab0c40ad20ffc3984394785a3966
modules/calib3d/src/solvepnp.cpp
modules/calib3d/src/solvepnp.cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
fix mask generation
solvePnPRansac: fix mask generation
C++
apache-2.0
opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv
df10d15df6fff2414f8d65c09eabc8cd7d291bfe
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/dialogs/help.cpp
/***************************************************************************** * Help.cpp : Help and About dialogs **************************************************************************** * Copyright (C) 2007 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf <jb (at) videolan.org> * Rémi Dur...
/***************************************************************************** * Help.cpp : Help and About dialogs **************************************************************************** * Copyright (C) 2007 the VideoLAN team * $Id$ * * Authors: Jean-Baptiste Kempf <jb (at) videolan.org> * Rémi Dur...
Fix comment !
Fix comment !
C++
lgpl-2.1
vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,krichter722/vlc,jomanmuk/vlc-2.2,krichter722/vlc,jomanmuk/vlc-2.2,vlc-mirror/vlc,jomanmuk/vlc-2.2,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.1,vlc-mirror/vlc-2.1,jomanmuk/vlc-2.2,xkfz007/vlc,vlc-mirror/vlc,xkfz007/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.1,shyamalschandra/vlc,krichter722/vlc,vlc-m...
11cda443564ccee252e5e3e9a5783e6ed6b7657c
mojo/cc/context_provider_mojo.cc
mojo/cc/context_provider_mojo.cc
// Copyright 2014 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 "mojo/cc/context_provider_mojo.h" #include "base/logging.h" #include "mojo/gpu/mojo_gles2_impl_autogen.h" #include "third_party/mojo/src/mojo/pu...
// Copyright 2014 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 "mojo/cc/context_provider_mojo.h" #include "base/logging.h" #include "mojo/gpu/mojo_gles2_impl_autogen.h" #include "third_party/mojo/src/mojo/pu...
Fix crash in ContextProviderMojo due to uninitialized member variable.
Fix crash in ContextProviderMojo due to uninitialized member variable. Review URL: https://codereview.chromium.org/1273783005 Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#342644}
C++
bsd-3-clause
CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/...
f3a70b4af4ddf9ce758740b6d5d227eca869c3ff
q3/qs/src/util/log.cpp
q3/qs/src/util/log.cpp
/* * $Id$ * * Copyright(C) 1998-2004 Satoshi Nakamura * All rights reserved. * */ #include <qsconv.h> #include <qslog.h> #include <qsstream.h> #include <qsutil.h> using namespace qs; /**************************************************************************** * * LoggerImpl * */ st...
/* * $Id$ * * Copyright(C) 1998-2004 Satoshi Nakamura * All rights reserved. * */ #include <qsconv.h> #include <qslog.h> #include <qsstream.h> #include <qsutil.h> using namespace qs; /**************************************************************************** * * LoggerImpl * */ st...
Format log time in local timezone.
Format log time in local timezone. git-svn-id: 12ae5aeef08fd453d75833463da4cc20df82a94e@1645 8af8166b-12a6-a448-a533-9086ace3f9f6
C++
mit
snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3
424fbb4560d31089512858c659628779d4595663
libproxyobject/plugins/ogre/OgreMeshRaytrace.cpp
libproxyobject/plugins/ogre/OgreMeshRaytrace.cpp
/* Sirikata * OgreMeshRaytrace.cpp * * Copyright (c) 2009, Patrick Horn * 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 ...
/* Sirikata * OgreMeshRaytrace.cpp * * Copyright (c) 2009, Patrick Horn * 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 ...
Make intersections with backfaces the default since the collada loader can't always determine the correct orientation and invisible backfaces aren't the norm anyway.
Make intersections with backfaces the default since the collada loader can't always determine the correct orientation and invisible backfaces aren't the norm anyway.
C++
bsd-3-clause
sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata
d501cc5491efd67754e12e48460f4676d41817aa
quic/qbone/bonnet/tun_device.cc
quic/qbone/bonnet/tun_device.cc
// Copyright (c) 2019 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 "quic/qbone/bonnet/tun_device.h" #include <fcntl.h> #include <linux/if_tun.h> #include <net/if.h> #include <sys/ioctl.h> #include <sys/socke...
// Copyright (c) 2019 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 "quic/qbone/bonnet/tun_device.h" #include <fcntl.h> #include <linux/if_tun.h> #include <net/if.h> #include <sys/ioctl.h> #include <sys/socke...
Make the QBONE client's TUN device path a flag value. This is needed because cisco interestingly uses /dev/net/tuncisco.
Make the QBONE client's TUN device path a flag value. This is needed because cisco interestingly uses /dev/net/tuncisco. Protected by qbone_client_tun_device_path. PiperOrigin-RevId: 362079579 Change-Id: I6503c1eb7cd88a65aca627914879451d503aa122
C++
bsd-3-clause
google/quiche,google/quiche,google/quiche,google/quiche
1478c4a5809479ca736992f6aef4ab25d5e760f9
Source/Tools/Editor/SceneView.cpp
Source/Tools/Editor/SceneView.cpp
// // Copyright (c) 2008-2017 the Urho3D project. // // 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, m...
// // Copyright (c) 2008-2017 the Urho3D project. // // 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, m...
update view texture only when mouse is released
Editor: update view texture only when mouse is released
C++
mit
rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D
51d271cb4cf411b94297630e0ab9eb6ffbe05e29
sleepy_discord/websocketpp_websocket.cpp
sleepy_discord/websocketpp_websocket.cpp
#include "websocketpp_websocket.h" #ifndef NONEXISTENT_WEBSOCKETPP #include <future> namespace SleepyDiscord { void handleTimer(const websocketpp::lib::error_code &ec, std::function<void()>& code) { if (ec != websocketpp::transport::error::operation_aborted) { code(); } } Timer WebsocketppScheduleHandler::s...
#include "websocketpp_websocket.h" #ifndef NONEXISTENT_WEBSOCKETPP #include <future> namespace SleepyDiscord { void handleTimer(const websocketpp::lib::error_code &ec, std::function<void()>& code) { if (ec != websocketpp::transport::error::operation_aborted) { code(); } } Timer WebsocketppScheduleHandler::s...
switch tls version from v1 to generic tls should fix errors from ubuntu 20
switch tls version from v1 to generic tls should fix errors from ubuntu 20
C++
mit
yourWaifu/sleepy-discord,yourWaifu/sleepy-discord,yourWaifu/sleepy-discord,NoNamer64/sleepy-discord,NoNamer64/sleepy-discord
a04a8c3574965d510645b1ea2357704e28d7b1d6
C++/power-of-four.cpp
C++/power-of-four.cpp
// Time: O(logn) // Space: O(logn) class Solution { public: bool isPowerOfFour(int num) { return num > 0 && (num & (num - 1)) == 0 && ((num & 0b101010101010101010101010101010101) == num); } }; // Time: O(1) // Space: O(1) class Solution2 { public: bool isPowerOfFour(int num) { ...
// Time: O(1) // Space: O(1) class Solution { public: bool isPowerOfFour(int num) { return num > 0 && (num & (num - 1)) == 0 && ((num & 0b01010101010101010101010101010101) == num); } }; // Time: O(1) // Space: O(1) class Solution2 { public: bool isPowerOfFour(int num) { wh...
Update power-of-four.cpp
Update power-of-four.cpp
C++
mit
yiwen-luo/LeetCode,kamyu104/LeetCode,githubutilities/LeetCode,jaredkoontz/leetcode,yiwen-luo/LeetCode,kamyu104/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,yiwen-luo/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,jaredkoontz/leetcode,kamyu104/LeetCode,githubutilities/LeetCode,tudennis/LeetCode---kamyu104-11-24-20...
7ba3ef25f8cea8df3e1e49965a6665cb2fd7bfa6
src/attentionbar.cpp
src/attentionbar.cpp
/* * This file is part of Poedit (http://poedit.net) * * Copyright (C) 2008-2014 Vaclav Slavik * * 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 wit...
/* * This file is part of Poedit (http://poedit.net) * * Copyright (C) 2008-2014 Vaclav Slavik * * 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 wit...
Add slight border to the left of AttentionBar icon
Add slight border to the left of AttentionBar icon
C++
mit
PatidarWeb/poedit,egoitzro/poedit,c72578/poedit,huoxudong125/poedit,c72578/poedit,PKRoma/poedit,c72578/poedit,alexhenrie/poedit,alexhenrie/poedit,c72578/poedit,BenKeyFSI/poedit,vslavik/poedit,huoxudong125/poedit,BenKeyFSI/poedit,dwaynebailey/poedit,babycaseny/poedit,alexhenrie/poedit,nawawi/poedit,huoxudong125/poedit,v...
2833ea0fee8ee762be00228d8019c33e028eecb1
SurgSim/Physics/Constraint.cpp
SurgSim/Physics/Constraint.cpp
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICE...
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICE...
Fix bug in rotation vector (the constraint violation must be a rotation vector)
Fix bug in rotation vector (the constraint violation must be a rotation vector) So far, the rotation vector constraint was calculating the violation as a simple difference of rotation vector. While it should be the rotation vector needed to go from one rotation to another one. This ensures a proper violation but also ...
C++
apache-2.0
simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim
ca8137d7cefc0c40afaba9a97a7de830da64b2da
src/audio/source.cpp
src/audio/source.cpp
#include "audio/source.h" #include "logging.h" #include <mutex> #include <string.h> #include <SFML/Audio/SoundStream.hpp> namespace sp { namespace audio { static std::mutex source_list_mutex; static Source* source_list_start = nullptr; class MySFMLStream : public sf::SoundStream { public: MySFMLStream() {...
#include "audio/source.h" #include "logging.h" #include <mutex> #include <array> #include <string.h> #include <SFML/Audio/SoundStream.hpp> namespace sp { namespace audio { static std::mutex source_list_mutex; static Source* source_list_start = nullptr; class MySFMLStream : public sf::SoundStream { public: MyS...
Update source.cpp
Update source.cpp
C++
mit
daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton
12779099d85db8453fcb2ad5469ba40ef99d9b85
C++Tutorials/Step_10/Step_10.cpp
C++Tutorials/Step_10/Step_10.cpp
#include <stdlib.h> #include <iostream> using namespace std; //Global Variables const double pi = 3.14159; //Classes class railroad_car{ public: //Default constructor railroad_car(){} //Functions virtual char* name(){return "railroad_car";} virtual double capacity(){ return 0.0;} //Variables int percen...
// // Program Name - Step_10.cpp // Series: GetOnToC++ Step: 10 // // Purpose: This program shows how to return strings as well as use call-by-reference // // Compile: g++ Step_10.cpp -o Step_10 // Execute: ./Step_10 // // Created by Narayan Mahadevan on 18/08/13. // #include <stdlib.h> #include <iostream> usi...
Update Step_10.cpp
Update Step_10.cpp
C++
apache-2.0
NarayanMahadevan/MakeTechEz
d0c885fc6096e06f7cb3678871adcff3279b7dec
tensorflow/compiler/xla/python/pprof_profile_builder.cc
tensorflow/compiler/xla/python/pprof_profile_builder.cc
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2020 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Add an explicit std::string cast to work around an ABSL/protobuf compatibility problem.
[JAX] Add an explicit std::string cast to work around an ABSL/protobuf compatibility problem. Issue https://github.com/google/jax/issues/9534 PiperOrigin-RevId: 428559170 Change-Id: I978c026da4179fa850c460541efb11600e891072
C++
apache-2.0
gautam1858/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,gautam1858/tensorflow...
09c825b699dbd2be68478fdc7b8181a91e1f341a
Modules/IGT/DataManagement/mitkNavigationTool.cpp
Modules/IGT/DataManagement/mitkNavigationTool.cpp
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
Remove commented code
Remove commented code
C++
bsd-3-clause
fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk
879fad3c1d142e91e35a733c0b5f1dddc04a2e45
UnitTest/tests/blockPVtest.cpp
UnitTest/tests/blockPVtest.cpp
#include <UnitTest/stdafx.h> #include <UnitTest/UnitTest.h> #include <core/smartview/block/blockPV.h> #include <core/utility/strings.h> namespace blockPVtest { TEST_CLASS(blockPVtest) { private: struct pvTestCase { std::wstring testName; ULONG ulPropTag; std::wstring source{}; bool doNickname; bo...
#include <UnitTest/stdafx.h> #include <UnitTest/UnitTest.h> #include <core/smartview/block/blockPV.h> #include <core/utility/strings.h> namespace blockPVtest { TEST_CLASS(blockPVtest) { private: struct pvTestCase { std::wstring testName; ULONG ulPropTag; std::wstring source{}; bool doNickname; bo...
swap out test data
swap out test data
C++
mit
stephenegriffin/mfcmapi,stephenegriffin/mfcmapi,stephenegriffin/mfcmapi
490e8262bdb32ea04a149ab90aa3a9a8f6c74f39
src/clfsappender.cxx
src/clfsappender.cxx
// Module: Log4cplus // File: clfsappender.cxx // Created: 5/2012 // Author: Vaclav Zeman // // // Copyright (C) 2012, Vaclav Zeman. All rights reserved. // // Redistribution and use in source and binary forms, with or without modifica- // tion, are permitted provided that the following conditions are met: //...
// Module: Log4cplus // File: clfsappender.cxx // Created: 5/2012 // Author: Vaclav Zeman // // // Copyright (C) 2012, Vaclav Zeman. All rights reserved. // // Redistribution and use in source and binary forms, with or without modifica- // tion, are permitted provided that the following conditions are met: //...
Fix EOLs.
clfsappender.cxx: Fix EOLs.
C++
apache-2.0
hunter-packages/log4cplus,csuideal/log4cplus,hunter-packages/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus,ccpaging/log4cplus,ccpaging/log4cplus,csuideal/log4cplus,csuideal/log4cplus,csuideal/log4cplus,ccpaging/log4cplus,hunter-packages/log4cplus
ad969b249abbedfcfaec657c3e74dd6b217be291
src/codegen_llvm.cpp
src/codegen_llvm.cpp
#include "codegen_llvm.h" #include "ast.h" #include "parser.tab.hh" #include <llvm/ExecutionEngine/SectionMemoryManager.h> #include <llvm/Support/TargetRegistry.h> #include <llvm/IR/LegacyPassManager.h> #include <llvm/Transforms/IPO/PassManagerBuilder.h> namespace ebpf { namespace bpftrace { namespace ast { void Cod...
#include "codegen_llvm.h" #include "ast.h" #include "parser.tab.hh" #include <llvm/ExecutionEngine/SectionMemoryManager.h> #include <llvm/Support/TargetRegistry.h> #include <llvm/IR/LegacyPassManager.h> #include <llvm/Transforms/IPO/PassManagerBuilder.h> namespace ebpf { namespace bpftrace { namespace ast { void Cod...
Fix calls to bpf_map_lookup_elem
Codegen: Fix calls to bpf_map_lookup_elem
C++
apache-2.0
iovisor/bpftrace,ajor/bpftrace,iovisor/bpftrace,iovisor/bpftrace,ajor/bpftrace,iovisor/bpftrace,ajor/bpftrace
0bb61c91ee9e48994f9e7fcafc6129dac5be6539
quic/tools/quic_toy_client.cc
quic/tools/quic_toy_client.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // A binary wrapper for QuicClient. // Connects to a host using QUIC, sends a request to the provided URL, and // displays the response. // // Some us...
// 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. // A binary wrapper for QuicClient. // Connects to a host using QUIC, sends a request to the provided URL, and // displays the response. // // Some us...
Remove broken code from ToyQuicClient which was landed in cr/275026885.
Remove broken code from ToyQuicClient which was landed in cr/275026885. gfe-relnote: n/a - toy only PiperOrigin-RevId: 275062428 Change-Id: If00a0b39290645cf7ccebc187a33b317bda36418
C++
bsd-3-clause
google/quiche,google/quiche,google/quiche,google/quiche
7bbd8ae9ef887b4e8d7d8e3740ae38fa9d724957
rapid_pbd/src/editor_node.cpp
rapid_pbd/src/editor_node.cpp
#include "mongodb_store/message_store.h" #include "moveit/robot_model_loader/robot_model_loader.h" #include "rapid_pbd/action_clients.h" #include "rapid_pbd/db_names.h" #include "rapid_pbd/editor.h" #include "rapid_pbd/joint_state_reader.h" #include "rapid_pbd/program_db.h" #include "rapid_pbd/robot_config.h" #include ...
#include "mongodb_store/message_store.h" #include "moveit/robot_model_loader/robot_model_loader.h" #include "rapid_pbd/action_clients.h" #include "rapid_pbd/db_names.h" #include "rapid_pbd/editor.h" #include "rapid_pbd/joint_state_reader.h" #include "rapid_pbd/program_db.h" #include "rapid_pbd/robot_config.h" #include ...
Use global robot_description name.
Use global robot_description name.
C++
bsd-3-clause
jstnhuang/rapid,jstnhuang/rapid,jstnhuang/rapid
db0b21f7d58efa4a70cbaf06cdca910af07a7a37
src/core/Breaker.cpp
src/core/Breaker.cpp
/** * @file src/core/Breaker.cpp * @date jul. 2016 * @author PhRG - opticalp.fr */ /* Copyright (c) 2016 Ph. Renaud-Goud / Opticalp 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...
/** * @file src/core/Breaker.cpp * @date jul. 2016 * @author PhRG - opticalp.fr */ /* Copyright (c) 2016 Ph. Renaud-Goud / Opticalp Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without...
Fix breaker issue while using proxies
Fix breaker issue while using proxies
C++
mit
Opticalp/instrumentall,Opticalp/instrumentall,Opticalp/instrumentall,Opticalp/instrumentall
4fbf7351b7282ce1144495372757d8594a4accec
simulator/func_sim/func_sim.cpp
simulator/func_sim/func_sim.cpp
/* * func_sim.cpp - extremely simple simulator * Copyright 2018 MIPT-MIPS */ #include "func_sim.h" template <typename ISA> FuncSim<ISA>::FuncSim( bool log) : Simulator( log), mem( new Memory) { } template <typename ISA> void FuncSim<ISA>::update_and_check_nop_counter( const typename FuncSim<ISA>::FuncInstr& inst...
/* * func_sim.cpp - extremely simple simulator * Copyright 2018 MIPT-MIPS */ #include "func_sim.h" template <typename ISA> FuncSim<ISA>::FuncSim( bool log) : Simulator( log), mem( new Memory) { } template <typename ISA> void FuncSim<ISA>::update_and_check_nop_counter( const typename FuncSim<ISA>::FuncInstr& inst...
add sequence_id to func_instr class
add sequence_id to func_instr class
C++
mit
MIPT-ILab/mipt-mips-2015,MIPT-ILab/mipt-mips-2015,MIPT-ILab/mipt-mips,MIPT-ILab/mipt-mips-2015,MIPT-ILab/mipt-mips,MIPT-ILab/mipt-mips-2015
a481785af7b438505015cc9af73ee6786d742817
single-number/single-number.cpp
single-number/single-number.cpp
/* Given an array of integers, each element appears twice except for one, find that one. */ #include<string> #include<iostream> #include<vector> int main() { int size; std::cout << "How many elements in your array?" << std::endl; std::cin >> size; std::vector<int> numbers; int number; // we start with 0 be...
/* Given an array of integers, each element appears twice except for one, find that one. */ #include<iostream> #include<vector> int main() { int size; std::cout << "How many elements in your array?" << std::endl; std::cin >> size; std::vector<int> numbers; int number; // we start with 0 because n XOR n = 0...
Update single-number.cpp
Update single-number.cpp
C++
mit
jessemcready/leetcode-problems
c42df3b1f46dc48b3df13b97455ca4b1567e7423
src/file_headers.cxx
src/file_headers.cxx
/* * Handle the request/response headers for static files. * * author: Max Kellermann <mk@cm4all.com> */ #include "file_headers.hxx" #include "static-headers.h" #include "growing-buffer.h" #include "header-writer.h" #include "format.h" #include "date.h" #include "request.hxx" #include "http_server.h" #include "htt...
/* * Handle the request/response headers for static files. * * author: Max Kellermann <mk@cm4all.com> */ #include "file_headers.hxx" #include "static-headers.h" #include "growing-buffer.h" #include "header-writer.h" #include "format.h" #include "date.h" #include "request.hxx" #include "http_server.h" #include "htt...
move code to read_xattr_max_age()
file_headers: move code to read_xattr_max_age()
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
d89265382fc17bf3a477cf5aa7a05dfd67153c68
src/filecapturer.cpp
src/filecapturer.cpp
/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** filecapturer.cpp ** ** --------------------------------------...
/* --------------------------------------------------------------------------- ** This software is in the public domain, furnished "as is", without technical ** support, and with no warranty, express or implied, as to its usefulness for ** any purpose. ** ** filecapturer.cpp ** ** --------------------------------------...
fix build with latest webrtc
fix build with latest webrtc
C++
unlicense
mpromonet/webrtc-streamer,mpromonet/webrtc-streamer
c02d96eeffddb9a7102ac68b4ca5ae6c9cf83a15
src/gfx/deferred.cpp
src/gfx/deferred.cpp
/* * Copyright (C) 2016 Luke San Antonio * All rights reserved. */ #include "deferred.h" #include "funcs.h" #include "../common/log.h" namespace redc { namespace gfx { Deferred_Shading::Deferred_Shading(IDriver& driver) : driver_(&driver), active_(false), fbo_inited_(false) {} Deferred_Shading::~Deferred_Sh...
/* * Copyright (C) 2016 Luke San Antonio * All rights reserved. */ #include "deferred.h" #include "funcs.h" #include "../common/log.h" namespace redc { namespace gfx { Deferred_Shading::Deferred_Shading(IDriver& driver) : driver_(&driver), active_(false), fbo_inited_(false) {} Deferred_Shading::~Deferred_Sh...
Test for depth and clear the buffer properly in the deferred pipeline
Test for depth and clear the buffer properly in the deferred pipeline
C++
bsd-3-clause
RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine
90bf4e709f74c2051f9b517fd823be551d28c746
src/import/import.cc
src/import/import.cc
#include "arch/arch.hpp" #include "import/import.hpp" #include <math.h> #include "db_thread_info.hpp" #include "memcached/memcached.hpp" #include "diskinfo.hpp" #include "concurrency/cond_var.hpp" #include "logger.hpp" #include "replication/master.hpp" #include "replication/slave.hpp" #include "concurrency/promise.hpp"...
#include "arch/arch.hpp" #include "import/import.hpp" #include <math.h> #include "db_thread_info.hpp" #include "memcached/memcached.hpp" #include "server/diskinfo.hpp" #include "concurrency/cond_var.hpp" #include "logger.hpp" #include "replication/master.hpp" #include "replication/slave.hpp" #include "concurrency/promi...
Fix wrong include path
Fix wrong include path
C++
apache-2.0
mquandalle/rethinkdb,tempbottle/rethinkdb,jesseditson/rethinkdb,eliangidoni/rethinkdb,jmptrader/rethinkdb,gdi2290/rethinkdb,gdi2290/rethinkdb,eliangidoni/rethinkdb,tempbottle/rethinkdb,nviennot/rethinkdb,victorbriz/rethinkdb,bpradipt/rethinkdb,mquandalle/rethinkdb,catroot/rethinkdb,ajose01/rethinkdb,mbroadst/rethinkdb,...
a1ed20972b07f5c5278d357bccc63929654df625
src/linux/config.cpp
src/linux/config.cpp
#include "../USB.h" #include "../configuration.h" #include "../deviceproxy.h" #include "../usb-pad/padproxy.h" #include "../usb-mic/audiosourceproxy.h" #include <sstream> #include <map> #include <vector> #include <string> #include "ini.h" #include "config.h" //libjoyrumble used as an example //Hopefully PCSX2 has in...
#include "../USB.h" #include "../configuration.h" #include "../deviceproxy.h" #include "../usb-pad/padproxy.h" #include "../usb-mic/audiosourceproxy.h" #include <sstream> #include <map> #include <vector> #include <string> #include "ini.h" #include "config.h" //libjoyrumble used as an example //Hopefully PCSX2 has in...
return true only if return code is 0.
linux/config.cpp: return true only if return code is 0.
C++
unlicense
jackun/USBqemu-wheel,jackun/USBqemu-wheel,jackun/USBqemu-wheel
643a20ab759ea181ea3b9468bff5c3e74933ef9c
src/lunar_parsec.hpp
src/lunar_parsec.hpp
#ifndef LUNAR_PARSEC_HPP #define LUNAR_PARSEC_HPP #include "lunar_common.hpp" #include "lunar_stream.hpp" #include "lunar_string.hpp" #include <string> #include <set> #include <vector> namespace lunar { template <typename T> class parsec { public: typedef stream<T> stream_t; typedef std::set<T> ...
#ifndef LUNAR_PARSEC_HPP #define LUNAR_PARSEC_HPP #include "lunar_common.hpp" #include "lunar_stream.hpp" #include "lunar_string.hpp" #include <string> #include <unordered_set> #include <vector> namespace lunar { template <typename T> class parsec { public: typedef stream<T> stream_t; typedef st...
implement space for parser combinator
implement space for parser combinator
C++
bsd-3-clause
ytakano/tsukuyomi,ytakano/tsukuyomi
4a7143ad73eeb093000f2bd6bc84c494e331b806
src/Platform.cpp
src/Platform.cpp
#include "Platform.h" #ifdef WIN32 #include <cassert> #include <windows.h> namespace { std::function<bool()> g_consoleCtrlHandler; BOOL WINAPI Win32ConsoleCtrlHandler(DWORD /*dwCtrlType*/) { assert(g_consoleCtrlHandler); return !!g_consoleCtrlHandler(); } } // namespace void Platform::S...
#include "Platform.h" #ifdef WIN32 #include <cassert> #include <windows.h> namespace { std::function<bool()> g_consoleCtrlHandler; BOOL WINAPI Win32ConsoleCtrlHandler(DWORD /*dwCtrlType*/) { assert(g_consoleCtrlHandler); return !!g_consoleCtrlHandler(); } } // namespace void Platform::S...
Fix Release build
Fix Release build
C++
mit
amaiorano/vectrexy,amaiorano/vectrexy,amaiorano/vectrexy
82a01d2221bbc3b2a132bb4dc2e216aec4643bd7
common_types/src/table.cpp
common_types/src/table.cpp
/** * @file table.cpp * @brief implementation of the table interface * @author Oleg Borschuk * @version 1.0 * @date 2011-02-26 */ #ifdef BSPY_EXPORTING_PLUGIN #include <boost/python.hpp> #endif #include <memory.h> #include <iomanip> #include "bs_kernel.h" #include "table.h" #include "bs_serialize.h" #include "b...
/** * @file table.cpp * @brief implementation of the table interface * @author Oleg Borschuk * @version 1.0 * @date 2011-02-26 */ #ifdef BSPY_EXPORTING_PLUGIN #include <boost/python.hpp> #endif #include <memory.h> #include <iomanip> #include "bs_kernel.h" #include "table.h" #include "bs_serialize.h" #include "b...
check for zero-sized arrays on get/set column data
common_types.table: check for zero-sized arrays on get/set column data
C++
bsd-3-clause
bs-eagle/bs-eagle,bs-eagle/bs-eagle,bs-eagle/bs-eagle
03775eb4538f6ece24450032beba08ef0d2da4ae
src/Prefetch.cpp
src/Prefetch.cpp
#include <algorithm> #include <map> #include <string> #include "Prefetch.h" #include "IRMutator.h" #include "Bounds.h" #include "Scope.h" #include "Util.h" namespace Halide { namespace Internal { using std::map; using std::string; using std::vector; namespace { // We need to be able to make loads from a buffer tha...
#include <algorithm> #include <map> #include <string> #include "Prefetch.h" #include "IRMutator.h" #include "Bounds.h" #include "Scope.h" #include "Util.h" namespace Halide { namespace Internal { using std::map; using std::string; using std::vector; namespace { // We need to be able to make loads from a buffer tha...
Make use of std:: consistent.
Make use of std:: consistent. Former-commit-id: de027e17a93ff0481fc90762e78f654ab965b287
C++
mit
darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide
cb348010446663ddcdc23d8e5385bf29e48e9b35
src/regex_manager.cpp
src/regex_manager.cpp
/* * Functions deal with the regex banning. * * Copyright (c) eQualit.ie 2013 under GNU AGPL v3.0 or later * * Vmon: June 2013, Initial version */ #include <string> #include <list> #include <vector> #include <stdio.h> #include <sys/time.h> #include <zmq.hpp> #include <re2/re2.h> //google re2 #include <ts/ts.h...
/* * Functions deal with the regex banning. * * Copyright (c) eQualit.ie 2013 under GNU AGPL v3.0 or later * * Vmon: June 2013, Initial version */ #include <string> #include <list> #include <vector> #include <stdio.h> #include <sys/time.h> #include <zmq.hpp> #include <re2/re2.h> //google re2 #include <ts/ts.h>...
Remove option that requires a very recent re2 build
Remove option that requires a very recent re2 build
C++
agpl-3.0
equalitie/banjax,equalitie/banjax,equalitie/banjax,equalitie/banjax,equalitie/banjax
acb7cda4a1ba09cb3e0306f65ece8ab711d17c37
tstl/include/circular_buffer.hpp
tstl/include/circular_buffer.hpp
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // 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 Baptiste Wicht 2013-2016. // 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) //================================================...
Improve circular buffer
Improve circular buffer
C++
mit
wichtounet/thor-os,wichtounet/thor-os
18210fd93ce40c6ad1d0d0e37b7e811054aca216
flippity.cpp
flippity.cpp
// flippity.cpp - a simple game with flipping digits // // Uses CImg and Allegro libraries and xemacs sounds. #include <chrono> #include <iostream> #include <random> // #include <allegro/sound.h> #include <allegro.h> #include "CImg.h" using namespace std; using namespace cimg_library; class RandomInt { public: ...
// flippity.cpp - a simple game with flipping digits // // Uses CImg and Allegro libraries and xemacs sounds. #include <chrono> #include <iostream> #include <random> // #include <allegro/sound.h> #include <allegro.h> #include "CImg.h" using namespace std; using namespace cimg_library; class RandomInt { public: ...
Fix bug making non alphanumerics appear
Fix bug making non alphanumerics appear
C++
mit
ecashin/flippitydigits,ecashin/flippitydigits,ecashin/flippitydigits,ecashin/flippitydigits,ecashin/flippitydigits
af27ec5b25d9fe757c293a1f70c120837742fbd5
src/dping/options.cpp
src/dping/options.cpp
//------------------------------------------------------ #include "stdafx.h" #include "options.h" #include "common/Common.h" #include "common/version.h" // for VERSION_PRODUCT_NAME, FILE_INTERNAL_NAME, MAIN_PRODUCT_VERSION_STR_A #include <json/version.h> #include <curlpp/cURLpp.hpp> using namespace std; //#define...
//------------------------------------------------------ #include "stdafx.h" #include "options.h" #include "common/Common.h" #include "common/version.h" // for VERSION_PRODUCT_NAME, FILE_INTERNAL_NAME, MAIN_PRODUCT_VERSION_STR_A #include <json/version.h> #include <curlpp/cURLpp.hpp> using namespace std; //#define...
print supported return codes in --help mode
print supported return codes in --help mode
C++
mit
optimal-software/probe-api,optimal-software/probe-api
78650e84256e571b062fc331ca0af53dce678934
src/source/SW_SPI.cpp
src/source/SW_SPI.cpp
#include "SW_SPI.h" SW_SPIClass TMC_SW_SPI; #if defined(ARDUINO_ARCH_AVR) #define getPort(P) digitalPinToPort(P) #define writeMOSI_H mosi_register |= mosi_bm #define writeMOSI_L mosi_register &= ~mosi_bm #define writeSCK_H sck_register |= sck_bm #define writeSCK_L sck_register &= ~sck_bm #define readMISO ...
#include "SW_SPI.h" SW_SPIClass TMC_SW_SPI; #if defined(ARDUINO_ARCH_AVR) #define getPort(P) digitalPinToPort(P) #define writeMOSI_H mosi_register |= mosi_bm #define writeMOSI_L mosi_register &= ~mosi_bm #define writeSCK_H sck_register |= sck_bm #define writeSCK_L sck_register &= ~sck_bm #define readMISO ...
Add comments about DUE SW transfer rates
Add comments about DUE SW transfer rates
C++
agpl-3.0
teemuatlut/TMC2130Stepper
20a4a357c24e5dbf3960dea47104dee7cf04d99b
common/sci_io.hpp
common/sci_io.hpp
#pragma once //=====================================================================// /*! @file @brief RX グループ・SCI I/O 制御 @n Copyright 2013, 2016 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "common/renesas.hpp" #include ...
#pragma once //=====================================================================// /*! @file @brief RX グループ・SCI I/O 制御 @n Copyright 2013, 2016 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include "common/renesas.hpp" #include ...
update intr vector
update intr vector
C++
bsd-3-clause
hirakuni45/RX,hirakuni45/RX,hirakuni45/RX,hirakuni45/RX
508e94374de8933f572a6a8ccc62f5fe1f413db2
src/spatial/force.hpp
src/spatial/force.hpp
// // Copyright (c) 2015 CNRS // // This file is part of Pinocchio // Pinocchio 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 // 3 of the License, or (at your option) any later versio...
// // Copyright (c) 2015 CNRS // // This file is part of Pinocchio // Pinocchio 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 // 3 of the License, or (at your option) any later versio...
Change the display of force class - similar to motion class
[C++] Change the display of force class - similar to motion class
C++
bsd-2-clause
fvalenza/pinocchio,fvalenza/pinocchio,fvalenza/pinocchio,fvalenza/pinocchio
0bdbe29a9bcc6161599a596c527db03b73af0d82
common/spi_io.hpp
common/spi_io.hpp
#pragma once //=====================================================================// /*! @file @brief ソフトウェア SPI I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ ...
#pragma once //=====================================================================// /*! @file @brief ソフトウェア SPI I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LICENSE */ ...
update SPI/MODE
update SPI/MODE
C++
bsd-3-clause
hirakuni45/RX,hirakuni45/RX,hirakuni45/RX,hirakuni45/RX
bed939d6df00320da57c9bc5a18540ba255bba3c
c++/drivers/ld/sickld-1.0/SickLDBufferMonitor.cc
c++/drivers/ld/sickld-1.0/SickLDBufferMonitor.cc
/*! * \file SickLDBufferMonitor.cc * \brief Implements a class for monitoring the receive * buffer when interfacing w/ a Sick LD LIDAR. * * Code by Jason C. Derenick and Thomas H. Miller. * Contact derenick(at)lehigh(dot)edu * * The Sick LIDAR Matlab/C++ Toolbox * Copyright (c) 2008, Jason C. Derenick a...
/*! * \file SickLDBufferMonitor.cc * \brief Implements a class for monitoring the receive * buffer when interfacing w/ a Sick LD LIDAR. * * Code by Jason C. Derenick and Thomas H. Miller. * Contact derenick(at)lehigh(dot)edu * * The Sick LIDAR Matlab/C++ Toolbox * Copyright (c) 2008, Jason C. Derenick a...
Monitor now clears buffer on bad checksum
Monitor now clears buffer on bad checksum
C++
bsd-3-clause
punithm/sicktoolbox
c65ac5d7fe6e76123f5393fe5d3768a320fbe668
src/processes/examples/number_process.cxx
src/processes/examples/number_process.cxx
/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "number_process.h" #include <vistk/pipeline/config.h> #include <vistk/pipeline/datu...
/*ckwg +5 * Copyright 2011 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include "number_process.h" #include <vistk/pipeline/config.h> #include <vistk/pipeline/datu...
Fix usage of the output port name
Fix usage of the output port name
C++
bsd-3-clause
Kitware/sprokit,Kitware/sprokit,linus-sherrill/sprokit,mathstuf/sprokit,linus-sherrill/sprokit,mathstuf/sprokit,mathstuf/sprokit,linus-sherrill/sprokit,Kitware/sprokit,Kitware/sprokit,mathstuf/sprokit,linus-sherrill/sprokit
22aa453770662853a70fe9cc468ab1008137903e
src/StyleSet.cpp
src/StyleSet.cpp
/* Copyright (c) 2014-15 Ableton AG, Berlin 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, publish, distr...
/* Copyright (c) 2014-15 Ableton AG, Berlin 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, publish, distr...
Call onStyleChanged instead of loadProperties when initializing
Call onStyleChanged instead of loadProperties when initializing This is just for clarity that the listener is called once after connecting, no behavioral change.
C++
mit
AbletonAG/aqt-stylesheets,AbletonAG/aqt-stylesheets
9505ec3ab457c3b766df6150e2fe359a002d107e
chrome/browser/extensions/extension_proxy_api.cc
chrome/browser/extensions/extension_proxy_api.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_proxy_api.h" #include "base/logging.h" #include "base/string_util.h" #include "base/values.h" #include ...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_proxy_api.h" #include "base/logging.h" #include "base/string_util.h" #include "base/values.h" #include ...
Fix compile error by removing "typedef".
Fix compile error by removing "typedef". BUG=48930 TEST=Linux (dbg-shlib) compiles without warnings/errors git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@54883 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
adobe/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,gavinp...
22513e0a3516e64505321dac8eea5046030e7cff
chrome/browser/prerender/prerender_histograms.cc
chrome/browser/prerender/prerender_histograms.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/prerender/prerender_histograms.h" #include <string> #include "base/metrics/field_trial.h" #include "base/metrics/histogram....
// 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 "chrome/browser/prerender/prerender_histograms.h" #include <string> #include "base/metrics/field_trial.h" #include "base/metrics/histogram....
Revert 127499 - For Prerender.PercnetLoadDoneAtSwapin, generate histograms on a per field trial basis.
Revert 127499 - For Prerender.PercnetLoadDoneAtSwapin, generate histograms on a per field trial basis. Caused browser_tests failures: PrerenderClickToPlay PrerenderClientRedirectNavigateToFirst PrerenderClientRedirectToHttps PrerenderHTML5Audio PrerenderHTML5VideoJs PrerenderNavigateClickGoBack PrerenderPageChangeFrag...
C++
bsd-3-clause
ChromiumWebApps/chromium,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,PeterWangIntel/chromium-crosswalk,hujiajie/pa-chromium,zcbenz/cefode-chromium,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,patrickm/chromium.src,patrickm/chromium.src,anirudhSK/chromium,mohamed--abdel-maksou...
18d31ab8c3d589838aeb5fc37a6462bd24b9eef9
src/WorldMap.hpp
src/WorldMap.hpp
// illarionserver - server for the game Illarion // Copyright 2011 Illarion e.V. // // This file is part of illarionserver. // // illarionserver is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, e...
// illarionserver - server for the game Illarion // Copyright 2011 Illarion e.V. // // This file is part of illarionserver. // // illarionserver is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, e...
Add missing include
Add missing include
C++
agpl-3.0
Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server
9a80d0234137a756e281b97799a0fca841447ab3
examples/radio-app/src/main/cpp/MyRadioConsumerApplication.cpp
examples/radio-app/src/main/cpp/MyRadioConsumerApplication.cpp
/* * #%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...
/* * #%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 indentation of radio consumer application
[C++] Fix indentation of radio consumer application Change-Id: I13967918d81f350f89251ff4fe75de5970c5a9fd
C++
apache-2.0
clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,clive-jevons/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,bmwcarit/joynr,clive-jevons/joynr,clive-jevons/joynr,clive-jevons/joynr,bmwcarit/joynr
cb70eedbab22ecabef3808ea328701723b6d3ba6
src/fuse/fuseoper.cpp
src/fuse/fuseoper.cpp
#include<stdio.h> #include<string.h> #include<errno.h> #include<assert.h> #include"Logger.h" #include"../SimpleFS/CSimpleFS.h" #include"../SimpleFS/CDirectory.h" #include"fuseoper.h" //http://fuse.sourceforge.net/doxygen/fusexmp__fh_8c.html //https://www.cs.hmc.edu/~geoff/classes/hmc.cs135.201001/homework/fuse/fuse_...
#include<stdio.h> #include<string.h> #include<errno.h> #include<assert.h> #include"Logger.h" #include"../SimpleFS/CSimpleFS.h" #include"../SimpleFS/CDirectory.h" #include"fuseoper.h" //http://fuse.sourceforge.net/doxygen/fusexmp__fh_8c.html //https://www.cs.hmc.edu/~geoff/classes/hmc.cs135.201001/homework/fuse/fuse_...
Rename CreateDirectory and CreateFile because they are used by windows
Rename CreateDirectory and CreateFile because they are used by windows
C++
apache-2.0
s-macke/CoverFS,s-macke/CoverFS,s-macke/CoverFS,s-macke/CoverFS,s-macke/CoverFS
e8ff30accc0d2755a7bc8c1c6fd5a2e8d4d29a54
src/glcontext_glx.cpp
src/glcontext_glx.cpp
/* * Copyright 2011-2018 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include "bgfx_p.h" #if (BX_PLATFORM_BSD || BX_PLATFORM_LINUX) && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL) # include "renderer_gl.h" # if BGFX_USE_GLX # defi...
/* * Copyright 2011-2018 Branimir Karadzic. All rights reserved. * License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause */ #include "bgfx_p.h" #if (BX_PLATFORM_BSD || BX_PLATFORM_LINUX) && (BGFX_CONFIG_RENDERER_OPENGLES || BGFX_CONFIG_RENDERER_OPENGL) # include "renderer_gl.h" # if BGFX_USE_GLX # defi...
Revert "Small stylistic change"
Revert "Small stylistic change" This reverts commit 0b746ec0d8b5be6cc1dc4c9a36b62e4e0721efcc.
C++
bsd-2-clause
LWJGL-CI/bgfx,LWJGL-CI/bgfx,jpcy/bgfx,bkaradzic/bgfx,attilaz/bgfx,jdryg/bgfx,emoon/bgfx,jdryg/bgfx,fluffyfreak/bgfx,jpcy/bgfx,MikePopoloski/bgfx,mendsley/bgfx,LWJGL-CI/bgfx,attilaz/bgfx,jdryg/bgfx,mendsley/bgfx,attilaz/bgfx,fluffyfreak/bgfx,emoon/bgfx,jdryg/bgfx,MikePopoloski/bgfx,emoon/bgfx,fluffyfreak/bgfx,LWJGL-CI/b...
4868c52162a4ef8fe11e3651526301d56affa053
jubatus/core/storage/labels.cpp
jubatus/core/storage/labels.cpp
// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2016 Preferred Networks and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 2.1 as p...
// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2016 Preferred Networks and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 2.1 as p...
Modify the calculation of boolean
Modify the calculation of boolean
C++
lgpl-2.1
rimms/jubatus_core,rimms/jubatus_core,rimms/jubatus_core,rimms/jubatus_core
ccca51ac6eb6f8950ece47d690d511b1a0df23d1
src/base/inet.cc
src/base/inet.cc
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * Copyright (c) 2010 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of...
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * Copyright (c) 2010 Advanced Micro Devices, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of...
Print the IP components in the right order.
Params: Print the IP components in the right order.
C++
bsd-3-clause
hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,vovojh/gem5,vovojh/gem5,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,pombredann...
9e83384e2189e3a99e5331091908adb339958e79
libraries/chain/include/eosio/chain/contract_table_objects.hpp
libraries/chain/include/eosio/chain/contract_table_objects.hpp
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/database_utils.hpp> #include <eosio/chain/contract_types.hpp> #include <eosio/chain/multi_index_includes.hpp> #include <array> #include <type_traits> namespace eosio { namespace chain { /** * @brief The table_id_ob...
/** * @file * @copyright defined in eos/LICENSE.txt */ #pragma once #include <eosio/chain/database_utils.hpp> #include <eosio/chain/contract_types.hpp> #include <eosio/chain/multi_index_includes.hpp> #include <array> #include <type_traits> namespace eosio { namespace chain { /** * @brief The table_id_ob...
move kv values to shared_blob
move kv values to shared_blob
C++
mit
EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos
1211b94707b2f51c52a45f1ef4d31ccaa56e98cf
src/bitcoind.cpp
src/bitcoind.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" #include "init.h" #include "main.h" ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpcclient.h" #include "init.h" #include "main.h" ...
modify welcome tips
modify welcome tips
C++
mit
DSPay/DSValue,DSPay/DSValue,DSPay/DSValue,DSPay/DSValue
21beceb4f690d03ec6f6963afbb3e2489fd2bf6b
src/bitstamp.cpp
src/bitstamp.cpp
#include <string.h> #include <iostream> #include <stdio.h> #include <unistd.h> #include <vector> #include <sstream> #include <sys/time.h> #include "base64.h" #include <iomanip> #include <openssl/sha.h> #include <openssl/hmac.h> #include <jansson.h> #include "bitstamp.h" #include "curl_fun.h" namespace Bitstamp { doub...
#include <string.h> #include <iostream> #include <stdio.h> #include <unistd.h> #include <vector> #include <sstream> #include <sys/time.h> #include "base64.h" #include <iomanip> #include <openssl/sha.h> #include <openssl/hmac.h> #include <jansson.h> #include "bitstamp.h" #include "curl_fun.h" namespace Bitstamp { doub...
Update bitstamp.cpp
Update bitstamp.cpp Update nonce
C++
mit
greatwolf/blackbird,seanbow/blackbird,beckel/blackbird,butor/blackbird,NateBrune/blackbird,butor/blackbird,greatwolf/blackbird,butor/blackbird,beckel/blackbird,greatwolf/blackbird,NateBrune/blackbird,seanbow/blackbird
7fae4b6f5f29955afa9c0117c464e0a0ad67ab29
src/box/tuple.cc
src/box/tuple.cc
/* * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * 1. Redistributions of source code must retain the above * copyright notice, this list of conditions and the * following disclaimer. * * 2. Redistribu...
/* * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * 1. Redistributions of source code must retain the above * copyright notice, this list of conditions and the * following disclaimer. * * 2. Redistribu...
Call ptruncate to the tuple_update() end
Call ptruncate to the tuple_update() end
C++
bsd-2-clause
nvoron23/tarantool,guard163/tarantool,rtsisyk/tarantool,dkorolev/tarantool,ocelot-inc/tarantool,mejedi/tarantool,Sannis/tarantool,dkorolev/tarantool,vasilenkomike/tarantool,rtsisyk/tarantool,Sannis/tarantool,KlonD90/tarantool,nvoron23/tarantool,Sannis/tarantool,Sannis/tarantool,vasilenkomike/tarantool,mejedi/tarantool,...
7829b87a3b930fc8f81cb2e83d8f7166b9675243
src/class_os.cpp
src/class_os.cpp
#define NDEBUG #include <os> #include <stdio.h> #include <assert.h> #include <class_dev.hpp> #include <class_service.hpp> // A private class to handle IRQ #include "class_irq_handler.hpp" #include <class_pci_manager.hpp> bool OS::power = true; uint32_t OS::_CPU_mhz = 2500; void OS::start() { rsprint(">>> OS clas...
fasd #define NDEBUG #include <os> #include <stdio.h> #include <assert.h> #include <class_dev.hpp> #include <class_service.hpp> // A private class to handle IRQ #include "class_irq_handler.hpp" #include <class_pci_manager.hpp> bool OS::power = true; uint32_t OS::_CPU_mhz = 2500; void OS::start() { rsprint(">>> OS...
Update class_os.cpp
Update class_os.cpp Testing automated build checking....
C++
apache-2.0
AnnikaH/IncludeOS,alfred-bratterud/IncludeOS,alfred-bratterud/IncludeOS,AnnikaH/IncludeOS,ingve/IncludeOS,nlitsme/IncludeOS,AndreasAakesson/IncludeOS,hioa-cs/IncludeOS,ingve/IncludeOS,AnnikaH/IncludeOS,alfred-bratterud/IncludeOS,hioa-cs/IncludeOS,nlitsme/IncludeOS,AndreasAakesson/IncludeOS,mnordsletten/IncludeOS,mnords...
955c6923afd7f8d6865b07fa4e6b8b5a33fef016
src/commands.cpp
src/commands.cpp
#include <QProcess> #include <QtSql/QSqlDatabase> #include <QtSql/QSqlQuery> #include <QtSql/QSqlError> #include <QDir> #include "commands.h" #include "functions.h" #include "models/filename.h" Commands::Commands(Profile *profile) : m_profile(profile) { QSettings *settings = profile->getSettings(); settings->beg...
#include <QProcess> #include <QtSql/QSqlDatabase> #include <QtSql/QSqlQuery> #include <QtSql/QSqlError> #include <QDir> #include "commands.h" #include "functions.h" #include "models/filename.h" Commands::Commands(Profile *profile) : m_profile(profile) { QSettings *settings = profile->getSettings(); settings->beg...
Fix SQLITE driver still requiring username, host and pass to be set (fix #635)
Fix SQLITE driver still requiring username, host and pass to be set (fix #635)
C++
apache-2.0
Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,YoukaiCat/imgbrd-grabber,YoukaiCat/imgbrd-grabber
d31b126bcf1aef8e014f9ff015e33e115c359826
src/scenes/yeseulWhitneyScene/yeseulWhitneyScene.cpp
src/scenes/yeseulWhitneyScene/yeseulWhitneyScene.cpp
#include "yeseulWhitneyScene.h" void yeseulWhitneyScene::setup(){ setAuthor("Yeseul Song"); setOriginalArtist("John Whitney"); parameters.add(spinSpeed.set("spinSpeed", 10, 10, 70)); parameters.add(diffusionInterval.set("diffusionInterval", 5, 5, 10)); parameters.add(diffusionSize.set("d...
#include "yeseulWhitneyScene.h" void yeseulWhitneyScene::setup(){ setAuthor("Yeseul Song"); setOriginalArtist("John Whitney"); parameters.add(spinSpeed.set("spinSpeed", 10, 10, 70)); parameters.add(diffusionInterval.set("diffusionInterval", 5, 5, 10)); parameters.add(diffusionSize.set("d...
Update yeseulWhitneyScene.cpp
Update yeseulWhitneyScene.cpp
C++
mit
sh0w/recoded,sh0w/recoded,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,sh0w/recoded,sh0w/recoded
1fea07b6aa1ea48f88c33316f5fee9db0103de93
src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc
src/xenia/kernel/modules/xboxkrnl/xboxkrnl_memory.cc
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
Align physical allocations to page size.
Align physical allocations to page size.
C++
bsd-3-clause
KitoHo/xenia,DaTrollMon/xenia,TRex22/xenia,sephiroth99/xenia,bowlofstew/xenia,KitoHo/xenia,pwz3n0/xenia,no1dead/xenia,bradparks/xenia__xbox_emulator,Drooids/xenia,TingPing/xenia,Rhodan81/xenia,sephiroth99/xenia,DrChat/xenia,shuffle2/xenia,woody2014/xenia,KitoHo/xenia,ObsidianGuardian/xenia,wrren/xenia,sabretooth/xenia,...
e57b51716b82af51ace8216709aaa90db9cb7951
test/advanced/cpp_tutorial/template/example/main.cpp
test/advanced/cpp_tutorial/template/example/main.cpp
/* * * Filename: main.cpp * * Author: Haibo Hao * Email : haohaibo@ncic.ac.cn * Description: --- * Create: 2017-08-15 20:10:16 * Last Modified: 2017-08-15 20:17:09 **/ #include<iostream> #include<cstdio> #include<cstdlib> #include"test.hpp" struct input_tensor_fixture { void run() {...
/* * * Filename: main.cpp * * Author: Haibo Hao * Email : haohaibo@ncic.ac.cn * Description: --- * Create: 2017-08-15 20:10:16 * Last Modified: 2017-08-15 20:34:17 **/ #include<iostream> #include<cstdio> #include<cstdlib> #include"test.hpp" struct input_tensor_fixture { int data; in...
add template constructor
add template constructor
C++
mit
haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial,haohaibo/tutorial
457490403853321d308c6ca6aaa90d6f8f29b4cf
src/flatfile.cpp
src/flatfile.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 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 <stdexcept> #include <flatfile.h> #include <logging.h> #include <tinyfo...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 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 <stdexcept> #include <flatfile.h> #include <logging.h> #include <tinyfo...
Fix possible data race when committing block files
Fix possible data race when committing block files It was recently pointed out to me that calling fsync() or fdatasync() on a new file is not sufficient to ensure it's persisted to disk, a the existence of the file itself is stored in the directory inode. This means that ensuring that a new file is actually committed ...
C++
mit
n1bor/bitcoin,namecoin/namecore,yenliangl/bitcoin,lateminer/bitcoin,practicalswift/bitcoin,mruddy/bitcoin,MarcoFalke/bitcoin,sstone/bitcoin,pstratem/bitcoin,ajtowns/bitcoin,practicalswift/bitcoin,bitcoinknots/bitcoin,fujicoin/fujicoin,anditto/bitcoin,n1bor/bitcoin,kallewoof/bitcoin,ajtowns/bitcoin,anditto/bitcoin,Marco...
679036e8907a0a06a09d0734f36e7c99402436c0
src/lib/edgedb/linearedgedb.cpp
src/lib/edgedb/linearedgedb.cpp
#include "linearedgedb.h" #include <fstream> #include <set> #include <limits> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/serialization/map.hpp> #include <boost/serialization/string.hpp> #include <boost/serialization/vector.hpp> using namespace annis; usin...
#include "linearedgedb.h" #include <fstream> #include <set> #include <limits> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/serialization/map.hpp> #include <boost/serialization/string.hpp> #include <boost/serialization/vector.hpp> using namespace annis; usin...
fix unsigned/signed comparison
fix unsigned/signed comparison
C++
apache-2.0
thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS
ee748b0ead24e74a744fafff62cfa6b79d535bf0
src/lib/support/PathFindMgr.hpp
src/lib/support/PathFindMgr.hpp
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // ----------------------------------- // Part of HPCToolkit (hpctoolkit.org) // ----------------------------------- // // Copyright ((c)) 2002-2010, Rice University // All rights reserved. //...
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // ----------------------------------- // Part of HPCToolkit (hpctoolkit.org) // ----------------------------------- // // Copyright ((c)) 2002-2010, Rice University // All rights reserved. //...
Fix build error on jaguar: Include stdint.h to define uint64_t.
Fix build error on jaguar: Include stdint.h to define uint64_t.
C++
bsd-3-clause
zcth428/hpctoolkit111,zcth428/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,zcth428/hpctoolkit,HPCTo...
abb57cc7c0b63b171ef09bb91c10e74cae5fc73e
sigcalc.cpp
sigcalc.cpp
#include "sigcalc.h" std::string addtrailer(const std::string & data, const Tag2::Ptr & sig){ std::string trailer = sig -> get_up_to_hashed(); if (sig -> get_version() == 3){ return data + trailer.substr(1, trailer.size() - 1) + unhexlify(makehex(sig -> get_time(), 8)); // remove version from trailer ...
#include "sigcalc.h" std::string addtrailer(const std::string & data, const Tag2::Ptr & sig){ std::string trailer = sig -> get_up_to_hashed(); if (sig -> get_version() == 3){ return data + trailer.substr(1, trailer.size() - 1); // remove version from trailer } else if (sig -> get_version() == 4...
Fix Signatures Version 3 verification.
Fix Signatures Version 3 verification. Tag2::get_up_to_hashed() already includes signature creation time in returned string. Do not concatenate creation time twice.
C++
mit
calccrypto/OpenPGP,calccrypto/OpenPGP,mugwort-rc/OpenPGP,mugwort-rc/OpenPGP,calccrypto/OpenPGP,mugwort-rc/OpenPGP
f288a7d64c54dfcafa7e46c7a2d08eb265624953
include/trie.hpp
include/trie.hpp
/************************************************ * trie.hpp * ESA++ * * Copyright (c) 2014, Chi-En Wu * Distributed under The BSD 3-Clause License ************************************************/ #ifndef TRIE_HPP_INCLUDEED #define TRIE_HPP_INCLUDEED #include <algorithm> #include <stack> #include <string> ...
/************************************************ * trie.hpp * ESA++ * * Copyright (c) 2014, Chi-En Wu * Distributed under The BSD 3-Clause License ************************************************/ #ifndef TRIE_HPP_INCLUDEED #define TRIE_HPP_INCLUDEED #include <algorithm> #include <stack> #include <string> ...
Remove tr1
Remove tr1
C++
bsd-3-clause
jason2506/esapp,jason2506/esapp