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
ccd408d988f097012c3b2e7d72b5ab71e6e62055
src/Clientmenu.hh
src/Clientmenu.hh
// Clientmenu.hh for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) // // 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, in...
// Clientmenu.hh for Blackbox - an X11 Window manager // Copyright (c) 1997 - 2000 Brad Hughes (bhughes@tcac.net) // // 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, in...
Update include guard and added forward declaration
Update include guard and added forward declaration
C++
mit
Arkq/fluxbox,olivergondza/fluxbox,olivergondza/fluxbox,naimdjon/fluxbox,lukoko/fluxbox,Arkq/fluxbox,naimdjon/fluxbox,Arkq/fluxbox,lukoko/fluxbox,lukoko/fluxbox,lukoko/fluxbox,luebking/fluxbox,naimdjon/fluxbox,lukoko/fluxbox,luebking/fluxbox,luebking/fluxbox,Arkq/fluxbox,olivergondza/fluxbox,luebking/fluxbox,olivergondz...
9ea4ba474c838e7a0ba5e1d779c03a1d5d49f4ec
molequeue/jobactionfactories/openwithactionfactory.cpp
molequeue/jobactionfactories/openwithactionfactory.cpp
/****************************************************************************** This source file is part of the MoleQueue project. Copyright 2012 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distr...
/****************************************************************************** This source file is part of the MoleQueue project. Copyright 2012 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distr...
Fix a platform issue with path separators.
Fix a platform issue with path separators. Change-Id: I6de90cb2217578a50a4ac8a252c5646651b918fe
C++
bsd-3-clause
OpenChemistry/molequeue,OpenChemistry/molequeue,OpenChemistry/molequeue
b615c3b2921b84328a224d2f7f89a6ebdc3e04ca
src/Tracer.cpp
src/Tracer.cpp
/* * Copyright (c) 2015 - 2022, Intel Corporation * * 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 condition...
/* * Copyright (c) 2015 - 2022, Intel Corporation * * 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 condition...
Add geopm namespace to make_unique() call in Tracer.cpp
Add geopm namespace to make_unique() call in Tracer.cpp - Disambiguate it from std::make_unique() available after c++14 Signed-off-by: Christopher M. Cantalupo <9cf3ecca60a3dd7112ab0e7250bedb8a752e3958@intel.com>
C++
bsd-3-clause
cmcantalupo/geopm,geopm/geopm,geopm/geopm,geopm/geopm,geopm/geopm,cmcantalupo/geopm,cmcantalupo/geopm,cmcantalupo/geopm,geopm/geopm,cmcantalupo/geopm
b6af901868aa86311cda5d5d482c0d7433080d33
src/Artist.cpp
src/Artist.cpp
/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is free software; y...
/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is free software; y...
Remove dead code
Artist: Remove dead code Now that we have an actual DB record for unknown artists, m_id won't be 0
C++
lgpl-2.1
chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary
e4b3339b9cfcbd09b8e50693d351c375df14d68b
lib/Analysis/AliasAnalysisEvaluator.cpp
lib/Analysis/AliasAnalysisEvaluator.cpp
//===- AliasAnalysisEvaluator.cpp - Alias Analysis Accuracy Evaluator -----===// // // This file implements a simple N^2 alias analysis accuracy evaluator. // Basically, for each function in the program, it simply queries to see how the // alias analysis implementation answers alias queries between each pair of // poin...
//===- AliasAnalysisEvaluator.cpp - Alias Analysis Accuracy Evaluator -----===// // // This file implements a simple N^2 alias analysis accuracy evaluator. // Basically, for each function in the program, it simply queries to see how the // alias analysis implementation answers alias queries between each pair of // poin...
Adjust to new AA interface
Adjust to new AA interface git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5637 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,chubbymaggie/asap,chubbymaggie/...
f14645cc6474dab76b266906575ce4e4d018e9ee
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfPrinter.cpp
//===--- lib/CodeGen/DwarfPrinter.cpp - Dwarf Printer ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===--- lib/CodeGen/DwarfPrinter.cpp - Dwarf Printer ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix some EH failures on NNT I introduced in r98461
Fix some EH failures on NNT I introduced in r98461 git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@98471 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,chubbymagg...
4948ea7bb656c35f181c18ceb6a670fd3b14eb40
src/Engine/Manager/ParticleManager.hpp
src/Engine/Manager/ParticleManager.hpp
#pragma once #include <glm/glm.hpp> #include <GL/glew.h> #include <random> class Entity; class World; class Shader; class ShaderProgram; class Texture2D; namespace Component { class ParticleEmitter; } /// Handles particles. class ParticleManager { friend class Hub; public: /// A particle in ...
#pragma once #include <glm/glm.hpp> #include <GL/glew.h> #include <random> class Entity; class World; class Shader; class ShaderProgram; class Texture2D; namespace Component { class ParticleEmitter; } /// Handles particles. class ParticleManager { friend class Hub; public: /// A particle in ...
Fix indentation
Fix indentation
C++
mit
Chainsawkitten/LargeGameProjectEngine,Chainsawkitten/HymnToBeauty,Chainsawkitten/LargeGameProjectEngine,Chainsawkitten/HymnToBeauty
c778da675db5491a9bda92f55aecf562b76fc75f
lib/CodeGen/GlobalISel/IRTranslator.cpp
lib/CodeGen/GlobalISel/IRTranslator.cpp
//===-- llvm/CodeGen/GlobalISel/IRTranslator.cpp - IRTranslator --*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- llvm/CodeGen/GlobalISel/IRTranslator.cpp - IRTranslator --*- C++ -*-==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix a typo in assert.
[GlobalISel][IRTranslator] Fix a typo in assert. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@260550 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llv...
6bde2620d394f1ca515ae27f98f2141500e64802
cegui/src/Exceptions.cpp
cegui/src/Exceptions.cpp
/*********************************************************************** filename: CEGUIExceptions.cpp created: 20/2/2004 author: Paul D Turner, Frederico Jeronimo (fjeronimo) purpose: Implements the exception classes used within the system **************************************************...
/*********************************************************************** filename: CEGUIExceptions.cpp created: 20/2/2004 author: Paul D Turner, Frederico Jeronimo (fjeronimo) purpose: Implements the exception classes used within the system **************************************************...
Convert tabs to spaces in Exceptions.cpp committed by some noob.
Convert tabs to spaces in Exceptions.cpp committed by some noob.
C++
mit
ruleless/CEGUI,OpenTechEngine/CEGUI,ruleless/CEGUI,OpenTechEngine/CEGUI,OpenTechEngine/CEGUI,OpenTechEngine/CEGUI,ruleless/CEGUI,ruleless/CEGUI
400ac9a67dd532a9d8d894445f12697c0b42de18
dune/gdt/spaces/bochner.hh
dune/gdt/spaces/bochner.hh
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
update use of CG space
[spaces.bochner] update use of CG space
C++
bsd-2-clause
pymor/dune-gdt
c600ff59d656804a3fe53e4dbeb97e463c235e13
header/thread/CLock_queue.hpp
header/thread/CLock_queue.hpp
#ifndef CLOCK_QUEUE #define CLOCK_QUEUE #include<memory> #include<type_traits> #include<utility> #include"Lock_queue.hpp" namespace nThread { template<class T> class CLock_queue { public: using value_type=T; private: using underlying_type=Lock_queue<value_type>; using element_type=typename underlying_type::...
#ifndef CLOCK_QUEUE #define CLOCK_QUEUE #include<memory> #include<type_traits> #include<utility> #include"Lock_queue.hpp" namespace nThread { template<class T> class CLock_queue { public: using value_type=T; private: using underlying_type=Lock_queue<value_type>; using element_type=typename underlying_type::...
fix compiler error
fix compiler error
C++
mit
Fdhvdu/lib
078b64cebfbcfabc2254102977f5002214fc4c83
src/Buffer.cpp
src/Buffer.cpp
// This file is part of the "x0" project, http://xzero.io/ // (c) 2009-2014 Christian Parpart <trapni@gmail.com> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://opensource.org/licenses/MIT // ...
// This file is part of the "x0" project, http://xzero.io/ // (c) 2009-2014 Christian Parpart <trapni@gmail.com> // // Licensed under the MIT License (the "License"); you may not use this // file except in compliance with the License. You may obtain a copy of // the License at: http://opensource.org/licenses/MIT // ...
throw bad_alloc() on mem alloc errors (setCapacity)
Buffer: throw bad_alloc() on mem alloc errors (setCapacity)
C++
agpl-3.0
eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql
74a540985df068c507cf6c66295b9b3d84b6731e
operator_presence/OpenGLOperatorOculusRiftRenderer.cpp
operator_presence/OpenGLOperatorOculusRiftRenderer.cpp
#include "stdafx.h" #include "OpenGLOperatorOculusRiftRenderer.h" namespace operator_view { namespace opengl { OperatorOculusRiftRenderer::OperatorOculusRiftRenderer(std::shared_ptr<IOperatorRenderer> operatorRendererToDecorate) : IOperatorOculusRiftRenderer(operatorRendererToDecorate) { } void OperatorOc...
#include "stdafx.h" #include "OpenGLOperatorOculusRiftRenderer.h" namespace operator_view { namespace opengl { OperatorOculusRiftRenderer::OperatorOculusRiftRenderer(std::shared_ptr<IOperatorRenderer> operatorRendererToDecorate) : IOperatorOculusRiftRenderer(operatorRendererToDecorate) { } void OperatorOc...
Add a comment about eye resolution parameters in case of operator HMD renderer
Add a comment about eye resolution parameters in case of operator HMD renderer
C++
mit
aesir84/operator_presence
16b6c3829f0923ff754a50bd6a6dc86520077026
src/Camera.cpp
src/Camera.cpp
// // Camera.cpp // Cinder-EDSDK // // Created by Jean-Pierre Mouilleseaux on 08 Dec 2013. // Copyright 2013 Chorded Constructions. All rights reserved. // #include "Camera.h" using namespace ci; using namespace ci::app; namespace Cinder { namespace EDSDK { CameraRef Camera::create(EdsCameraRef camera) { re...
// // Camera.cpp // Cinder-EDSDK // // Created by Jean-Pierre Mouilleseaux on 08 Dec 2013. // Copyright 2013 Chorded Constructions. All rights reserved. // #include "Camera.h" using namespace ci; using namespace ci::app; namespace Cinder { namespace EDSDK { CameraRef Camera::create(EdsCameraRef camera) { re...
set host capacity when appropriate
set host capacity when appropriate
C++
mit
pizthewiz/Cinder-EDSDK,pizthewiz/Cinder-EDSDK
cec1f6d8a23f715d29b67e3c5f9b633dc6afe94d
src/Client.cpp
src/Client.cpp
#include "Client.hpp" #include "tcp/IPC.hpp" #include <onions-common/Common.hpp> #include <onions-common/Log.hpp> #include <onions-common/Config.hpp> #include <onions-common/Constants.hpp> #include <onions-common/Utils.hpp> void Client::listenForDomains(short socksPort) { auto addr = Config::getMirror()[0]; soc...
#include "Client.hpp" #include "tcp/IPC.hpp" #include <onions-common/Common.hpp> #include <onions-common/Log.hpp> #include <onions-common/Config.hpp> #include <onions-common/Constants.hpp> #include <onions-common/Utils.hpp> void Client::listenForDomains(short socksPort) { auto addr = Config::getMirror()[0]; soc...
Fix #18
Fix #18
C++
bsd-3-clause
Jesse-V/OnioNS-client,Jesse-V/OnioNS-client,Jesse-V/OnioNS-client
11532f58c90c0d9a3b338dd86946e41e356b8906
core/dawn_player/amf_decode.hpp
core/dawn_player/amf_decode.hpp
/* * amf_decode.hpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #ifndef DAWN_PLAYER_AMF_DECODE_HPP #define DAWN_PLAYER_AMF_DECODE_HPP #include <cassert> #include <cstdint> #include <exception> #include <utility> #include "amf_types.hpp" namespace dawn_pl...
/* * amf_decode.hpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #ifndef DAWN_PLAYER_AMF_DECODE_HPP #define DAWN_PLAYER_AMF_DECODE_HPP #include <cassert> #include <cstdint> #include <exception> #include <utility> #include "amf_types.hpp" namespace dawn_pl...
Fix 'decode_amf_date_and_return_iterator' (forgot decode time-zone)
amf_decode: Fix 'decode_amf_date_and_return_iterator' (forgot decode time-zone)
C++
mit
lxrite/DawnPlayer
26ffdd30418efa33797ef9f86272c7116be3b3e6
src/eventLoopStats.cc
src/eventLoopStats.cc
#include <nan.h> #include <limits.h> using namespace v8; const uint32_t maxPossibleNumber = std::numeric_limits<uint32_t>::max(); const uint32_t minPossibleNumber = std::numeric_limits<uint32_t>::min(); uv_check_t check_handle; uint32_t min; uint32_t max; uint32_t num; uint32_t sum; void reset() { min = maxPossib...
#include <nan.h> #include <limits.h> using namespace v8; const uint32_t maxPossibleNumber = std::numeric_limits<uint32_t>::max(); const uint32_t minPossibleNumber = std::numeric_limits<uint32_t>::min(); uv_check_t check_handle; uint32_t min; uint32_t max; uint32_t num; uint32_t sum; void reset() { min = maxPossib...
Make sure that callback conforms to required libuv interface
Make sure that callback conforms to required libuv interface
C++
mit
bripkens/event-loop-stats,bripkens/event-loop-stats,bripkens/event-loop-stats,bripkens/event-loop-stats
c4b566dcd7d53c37a9cafa7a1cd86dd7062be609
moses/src/LanguageModelIRST.cpp
moses/src/LanguageModelIRST.cpp
// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by th...
// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2006 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by th...
make effective the use of mapped IRSTLM
make effective the use of mapped IRSTLM git-svn-id: f5d636078e73450abf2183305c5e43efec2a5605@1506 1f5c12ca-751b-0410-a591-d2e778427230
C++
lgpl-2.1
KonceptGeek/mosesdecoder,emjotde/mosesdecoder_nmt,hychyc07/mosesdecoder,tofula/mosesdecoder,hychyc07/mosesdecoder,pjwilliams/mosesdecoder,tofula/mosesdecoder,KonceptGeek/mosesdecoder,moses-smt/mosesdecoder,emjotde/mosesdecoder_nmt,tofula/mosesdecoder,moses-smt/mosesdecoder,tofula/mosesdecoder,moses-smt/mosesdecoder,alv...
c06ee1816809c02ab1b2bc70615205af0cc72a01
example/src/PIDexample.cpp
example/src/PIDexample.cpp
#include <PIDController.h> #include <LaplaceInversion.h> #include <complex> #include <iostream> using namespace std; #define SETPOINT 10.0 // Desired setpoint #define PLANT_A 2.0 // Poles of plant transfer function #define PLANT_B 3.0 // Poles of plant transfer function #define K_P 11.5 // Proportional gain #define...
#include <PIDController.h> #include <LaplaceInversion.h> #include <iostream> #include <fstream> using namespace std; #define SETPOINT 10.0 // Desired setpoint #define PLANT_A 2.0 // Poles of plant transfer function #define PLANT_B 3.0 // Poles of plant transfer function #define K_P 11.5 // Proportional gain #define...
Write output to CSV file
Write output to CSV file
C++
mit
silentreverb/pid-controller
4fee5db445efa8f936e3733bae01b0ef315df997
solidutils/Debug.hpp
solidutils/Debug.hpp
/** * @file Debug.hpp * @brief Debugging functions. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017, Solid Lake LLC * @version 1 * @date 2017-10-03 */ #ifndef SOLIDUTILS_INCLUDE_DEBUG_HPP #define SOLIDUTILS_INCLUDE_DEBUG_HPP /*************************************************************...
/** * @file Debug.hpp * @brief Debugging functions. * @author Dominique LaSalle <dominique@solidlake.com> * Copyright 2017, Solid Lake LLC * @version 1 * @date 2017-10-03 */ #ifndef SOLIDUTILS_INCLUDE_DEBUG_HPP #define SOLIDUTILS_INCLUDE_DEBUG_HPP /*************************************************************...
Make debug messages in non-debug mode macros
Make debug messages in non-debug mode macros
C++
mit
solidlake/solidutils
8e18c2ecb4fd5cf963fa8fe9abceaa3d492ad959
src/Interrupt.cpp
src/Interrupt.cpp
#include "Interrupt.h" InterruptEntry IDT[256]; InterruptEntry::InterruptEntry() : offLow(0),segSelector(0x08),reserved0(0), reserved1(6),is32bits(true),reserved2(0), privilegeLvl(0),present(false),offHigh(0) { } void InterruptEntry::setAddr(void* add...
#include "Interrupt.h" InterruptEntry IDT[256]; InterruptEntry::InterruptEntry() : offLow(0),segSelector(0x08),reserved0(0), reserved1(6),is32bits(true),reserved2(0), privilegeLvl(0),present(false),offHigh(0) { } void InterruptEntry::setAddr(void* add...
Fix interrupts
Fix interrupts
C++
mit
TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres
fe7dcc0546f2680d640baf7b98b1d5599c370b1f
src/filters/Index.cpp
src/filters/Index.cpp
/****************************************************************************** * Copyright (c) 2012, Howard Butler, hobu.inc@gmail.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * ...
/****************************************************************************** * Copyright (c) 2012, Howard Butler, hobu.inc@gmail.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * ...
clean up unused var warning
clean up unused var warning
C++
bsd-3-clause
boundlessgeo/PDAL,DougFirErickson/PDAL,Sciumo/PDAL,Sciumo/PDAL,jwomeara/PDAL,lucadelu/PDAL,verma/PDAL,DougFirErickson/PDAL,verma/PDAL,lucadelu/PDAL,Sciumo/PDAL,radiantbluetechnologies/PDAL,boundlessgeo/PDAL,mpgerlek/PDAL-old,lucadelu/PDAL,mpgerlek/PDAL-old,mtCarto/PDAL,Sciumo/PDAL,mpgerlek/PDAL-old,jwomeara/PDAL,lucade...
a850469ed309562c4d4af04b92cfb1cbfe999988
src/LexCPP.cxx
src/LexCPP.cxx
// Scintilla source code edit control /** @file LexCPP.cxx ** Lexer for C++, C, Java, and Javascript. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #include <ctype...
// Scintilla source code edit control /** @file LexCPP.cxx ** Lexer for C++, C, Java, and Javascript. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #include <ctype...
Fix to ignore '*' before doc comment keywords.
Fix to ignore '*' before doc comment keywords.
C++
isc
timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_panel_mod.scintilla,timonwong/foo_uie_wsh_pane...
e4b5789e882a1750d5d310733d90aa39025917b5
Interpret/SmartView/TimeZoneDefinition.cpp
Interpret/SmartView/TimeZoneDefinition.cpp
#include <StdAfx.h> #include <Interpret/SmartView/TimeZoneDefinition.h> #include <Interpret/InterpretProp.h> #include <Interpret/ExtraPropTags.h> namespace smartview { void TimeZoneDefinition::Parse() { m_bMajorVersion = m_Parser.Get<BYTE>(); m_bMinorVersion = m_Parser.Get<BYTE>(); m_cbHeader = m_Parser.Get<WO...
#include <StdAfx.h> #include <Interpret/SmartView/TimeZoneDefinition.h> #include <Interpret/InterpretProp.h> #include <Interpret/ExtraPropTags.h> namespace smartview { void TimeZoneDefinition::Parse() { m_bMajorVersion = m_Parser.Get<BYTE>(); m_bMinorVersion = m_Parser.Get<BYTE>(); m_cbHeader = m_Parser.Get<WO...
Fix timezone wYear
Fix timezone wYear
C++
mit
stephenegriffin/mfcmapi,stephenegriffin/mfcmapi,stephenegriffin/mfcmapi
002dd99c6aa83cd68106c4e048210c47075310d9
src/Mirror.cpp
src/Mirror.cpp
#include "Mirror.hpp" #include "tcp/Server.hpp" #include <onions-common/containers/Cache.hpp> #include <onions-common/Log.hpp> #include <onions-common/Config.hpp> #include <onions-common/crypto/ed25519.h> #include <botan/base64.h> #include <botan/pubkey.h> #include <boost/make_shared.hpp> #include <thread> #include <f...
#include "Mirror.hpp" #include "tcp/Server.hpp" #include <onions-common/containers/Cache.hpp> #include <onions-common/Log.hpp> #include <onions-common/Config.hpp> #include <onions-common/crypto/ed25519.h> #include <botan/base64.h> #include <botan/pubkey.h> #include <boost/make_shared.hpp> #include <thread> #include <f...
Fix #81
Fix #81
C++
bsd-3-clause
Jesse-V/OnioNS-server,Jesse-V/OnioNS-server
f80978dbd7f2b1096c0b354413c013fc51eb25b3
src/bitset.hpp
src/bitset.hpp
/** * Copyright 2020 Tom van Dijk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/** * Copyright 2020 Tom van Dijk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Fix weird performance issue
Fix weird performance issue
C++
apache-2.0
trolando/oink,trolando/oink,trolando/oink
4b5e177b33d3355cb81da6ab8cbf5ee2de943ed2
src/Parameter.cpp
src/Parameter.cpp
#include "IR.h" #include "IROperator.h" #include "ObjectInstanceRegistry.h" #include "Parameter.h" #include "Simplify.h" namespace Halide { namespace Internal { struct ParameterContents { mutable RefCount ref_count; Type type; const bool is_buffer; int dimensions; const bool is_explicit_name; ...
#include "IR.h" #include "IROperator.h" #include "ObjectInstanceRegistry.h" #include "Parameter.h" #include "Simplify.h" namespace Halide { namespace Internal { struct ParameterContents { mutable RefCount ref_count; Type type; const bool is_buffer; int dimensions; const bool is_explicit_name; ...
Fix incorrect switch
Fix incorrect switch
C++
mit
myrtleTree33/Halide,adasworks/Halide,adasworks/Halide,dougkwan/Halide,fengzhyuan/Halide,lglucin/Halide,lglucin/Halide,kgnk/Halide,fengzhyuan/Halide,delcypher/Halide,smxlong/Halide,aam/Halide,myrtleTree33/Halide,damienfir/Halide,smxlong/Halide,myrtleTree33/Halide,aam/Halide,jiawen/Halide,mcanthony/Halide,myrtleTree33/Ha...
9f4f323672c051d768500145b1a05e469994e619
src/Parameter.hpp
src/Parameter.hpp
//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #ifndef PARAMETER_H...
//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #ifndef PARAMETER_H...
Update Parameter.hpp
Update Parameter.hpp
C++
mit
olmallet81/GALGO-2.0
105f2d8da0127c0f1e1ba2af3cfc039b949cc794
src/Profiling.cpp
src/Profiling.cpp
#include <algorithm> #include <map> #include <string> #include <limits> #include "Profiling.h" #include "IRMutator.h" #include "IROperator.h" #include "Scope.h" namespace Halide { namespace Internal { using std::map; using std::string; using std::vector; class InjectProfiling : public IRMutator { public: map<st...
#include <algorithm> #include <map> #include <string> #include <limits> #include "Profiling.h" #include "IRMutator.h" #include "IROperator.h" #include "Scope.h" namespace Halide { namespace Internal { using std::map; using std::string; using std::vector; class InjectProfiling : public IRMutator { public: map<st...
Implement handler for Allocate condition and alloc size computation
Implement handler for Allocate condition and alloc size computation Need to add unit test for the memory profiler Former-commit-id: e8a181a68e98720cf75f5443c5cf816ff57cbb59
C++
mit
Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide
504c033f0507cfe82c3a18fe6fbc2681b3067334
Modules/Core/src/Rendering/mitkOverlay.cpp
Modules/Core/src/Rendering/mitkOverlay.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...
fix merge error
fix merge error
C++
bsd-3-clause
fmilano/mitk,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK
45e272ac5d825d8cca49ed9eedc426e8355431d3
DK/DKFoundation/DKThread.cpp
DK/DKFoundation/DKThread.cpp
// // File: DKThread.cpp // Author: Hongtae Kim (tiff2766@gmail.com) // // Copyright (c) 2004-2016 Hongtae Kim. All rights reserved. // #ifdef _WIN32 #include <process.h> #include <windows.h> #else #include <pthread.h> #include <sys/select.h> #include <sched.h> // to using sched_yield() in DKThread::Yield() #inclu...
// // File: DKThread.cpp // Author: Hongtae Kim (tiff2766@gmail.com) // // Copyright (c) 2004-2016 Hongtae Kim. All rights reserved. // #ifdef _WIN32 #include <process.h> #include <windows.h> #else #include <pthread.h> #include <sys/select.h> #include <sched.h> // to using sched_yield() in DKThread::Yield() #inclu...
Set the thread process affinity group for multiple processor groups when creating a thread (when using more than 64 cores on Win32)
Set the thread process affinity group for multiple processor groups when creating a thread (when using more than 64 cores on Win32)
C++
bsd-3-clause
DKGL/DKGL,tiff2766/DKLib,DKGL/DKGL,Hongtae/DKGL,Hongtae/DKGL,Hongtae/DKGL,DKGL/DKGL,DKGL/DKGL,DKGL/DKGL,tiff2766/DKLib,DKGL/DKGL,Hongtae/DKGL,tiff2766/DKLib,DKGL/DKGL,Hongtae/DKGL,Hongtae/DKGL,tiff2766/DKLib,Hongtae/DKGL,DKGL/DKGL,Hongtae/DKGL,tiff2766/DKLib,tiff2766/DKLib
00634c0620f9a6718661173cbd3ab5e2a5a7eafe
OpenSim/Common/Test/testC3DFileAdapter.cpp
OpenSim/Common/Test/testC3DFileAdapter.cpp
/* -------------------------------------------------------------------------- * * OpenSim: testC3DFileAdapter.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
/* -------------------------------------------------------------------------- * * OpenSim: testC3DFileAdapter.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
Add comparison of read-in forces and moments resolved at the Origin of the force-plate.
Add comparison of read-in forces and moments resolved at the Origin of the force-plate.
C++
apache-2.0
opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core
f6e3c1674376f53e3b0432560b2f55e5993d821c
src/SunSet.cpp
src/SunSet.cpp
/* The MIT License (MIT) Copyright (c) 2015 Peter Buelow (goballstate at gmail) 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...
/* The MIT License (MIT) Copyright (c) 2015 Peter Buelow (goballstate at gmail) 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...
Fix sunrise/sunset calculation
Fix sunrise/sunset calculation
C++
mit
buelowp/sunrise
d16e592d8da7627c10811277a7e4f180a9eae726
apps/src/ConvertDir.cpp
apps/src/ConvertDir.cpp
#include <iostream> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/photo.hpp> #include "envitools/EnviUtils.hpp" namespace fs = boost::filesystem; namespace po = boost::program_options; namespace et = envitools; cons...
#include <iostream> #include <boost/filesystem.hpp> #include <boost/program_options.hpp> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/photo.hpp> #include "envitools/EnviUtils.hpp" namespace fs = boost::filesystem; namespace po = boost::program_options; namespace et = envitools; cons...
Update convert_dir with channel count independent scaling
Update convert_dir with channel count independent scaling
C++
bsd-3-clause
viscenter/envi-tools,viscenter/envi-tools,viscenter/envi-tools
6f536a5e9e9ae359941730fef93f8a5dfe9c33fc
src/http/src/http.cpp
src/http/src/http.cpp
// Copyright (C) 2018 Egor Pugin <egor.pugin@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <primitives/http.h> #include <curl/curl.h> #ifd...
// Copyright (C) 2018 Egor Pugin <egor.pugin@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <primitives/http.h> #include <curl/curl.h> #ifd...
Add url to error message.
Add url to error message.
C++
mpl-2.0
egorpugin/primitives,egorpugin/primitives
471d40cf13c9f130e05509e067f3699016b59146
Gpu_Rvd/src/mesh/mesh_io.cpp
Gpu_Rvd/src/mesh/mesh_io.cpp
#include <mesh\mesh_io.h> namespace Gpu_Rvd{ bool mesh_load(const std::string filename, Mesh& M, FileType filetype){ coords_index_t dim = M.dimension(); std::vector<double> P(dim); LineInput in(filename); if (!in.OK()){ return false; } std::vector<index_t> facet_vertices; bool first_facet_attribu...
#include <mesh\mesh_io.h> namespace Gpu_Rvd{ bool mesh_load_obj(const std::string filename, Mesh& M){ coords_index_t dim = M.dimension(); std::vector<double> P(dim); LineInput in(filename); if (!in.OK()){ return false; } std::vector<index_t> facet_vertices; bool first_facet_attribute = true; bo...
add mesh_io
add mesh_io
C++
mit
stormHan/gpu_rvd,stormHan/gpu_rvd
aad5257dbf671a6545272d15effeb1864c5033d5
src/assert.cpp
src/assert.cpp
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
/* Copyright (c) 2007-2012, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
stop logging production asserts after 500 hits
stop logging production asserts after 500 hits
C++
bsd-3-clause
jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent
b27aedb76823ddd23529bc98a1136f3002cc33dd
src/attacks.cc
src/attacks.cc
#include "attacks.h" #include "bitutils.h" #include <cstring> #include <stdexcept> U64 Attacks::detail::NON_SLIDING_ATTACKS[2][6][64] = {{{0}}}; U64 Attacks::detail::RAYS[8][64] = {{0}}; void Attacks::init() { detail::_initPawnAttacks(); detail::_initKnightAttacks(); detail::_initKingAttacks(); detail::_init...
#include "attacks.h" #include "bitutils.h" #include <cstring> U64 Attacks::detail::NON_SLIDING_ATTACKS[2][6][64] = {{{0}}}; U64 Attacks::detail::RAYS[8][64] = {{0}}; void Attacks::init() { detail::_initPawnAttacks(); detail::_initKnightAttacks(); detail::_initKingAttacks(); detail::_initNorthRays(); detail...
Remove stdexcept include
Remove stdexcept include
C++
mit
GunshipPenguin/shallow-blue,GunshipPenguin/shallow-blue,GunshipPenguin/shallow-blue,GunshipPenguin/shallow-blue
629acfb35e79679cd4be967bbe7c6a77223a69cf
ModelBuilder/ModelRunner.cpp
ModelBuilder/ModelRunner.cpp
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
Integrate LLVM at llvm/llvm-project@cb82e8ea33e3
Integrate LLVM at llvm/llvm-project@cb82e8ea33e3 Updates LLVM usage to match [cb82e8ea33e3](https://github.com/llvm/llvm-project/commit/cb82e8ea33e3) PiperOrigin-RevId: 374977251
C++
apache-2.0
iree-org/iree-llvm-sandbox,iree-org/iree-llvm-sandbox,iree-org/iree-llvm-sandbox,iree-org/iree-llvm-sandbox
b8746fee29306a89ec5426dd67acc463f810a886
src/faunus.cpp
src/faunus.cpp
#include "core.h" #include "mpicontroller.h" #include "move.h" #include "montecarlo.h" #include "analysis.h" #include "multipole.h" #include "docopt.h" #include "progress_tracker.h" #include <cstdlib> #include "spdlog/spdlog.h" #include <spdlog/sinks/null_sink.h> #include <spdlog/sinks/stdout_color_sinks.h> #include <i...
#include "core.h" #include "mpicontroller.h" #include "move.h" #include "montecarlo.h" #include "analysis.h" #include "multipole.h" #include "docopt.h" #include "progress_tracker.h" #include <cstdlib> #include "spdlog/spdlog.h" #include <spdlog/sinks/null_sink.h> #include <spdlog/sinks/stdout_color_sinks.h> #include <i...
Store simulation duration in json output (#290)
Store simulation duration in json output (#290) * Time simulation and save to json output * Reduced scope on a few variables in faunus.cpp * Point information link to https://faunus.readthedocs.oi
C++
mit
mlund/faunus,mlund/faunus,bjornstenqvist/faunus,bjornstenqvist/faunus,bjornstenqvist/faunus,mlund/faunus
0f7e3641995cac15df4e96cdf05eb3fb83927070
src/fstream.cc
src/fstream.cc
/* Copyright (c) 2014 Noel R. Cower 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, dis...
/* Copyright (c) 2014 Noel R. Cower 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, dis...
Fix return value of sz_fstream_read and _write.
Fix return value of sz_fstream_read and _write. Because fread/write returns the number of objects read, and fstreams try to write the entire thing at once, only one or zero is returned. As such, it's necessary to multiply the result by the number of bytes written.
C++
mit
nilium/libsnowball
87cabf0fc5ce3da8ff382a948daf8c8e769a184d
src/ed25519.cc
src/ed25519.cc
#include <node.h> #include <node_buffer.h> #include <nan.h> #include <stdlib.h> #include "ed25519/ed25519.h" using namespace v8; using namespace node; /** * MakeKeypair(Buffer seed) * seed: A 32 byte buffer * returns: an Object with PublicKey and PrivateKey **/ NAN_METHOD(MakeKeypair) { Nan::H...
#include <node.h> #include <node_buffer.h> #include <nan.h> #include <stdlib.h> #include "ed25519/ed25519.h" using namespace v8; using namespace node; /** * MakeKeypair(Buffer seed) * seed: A 32 byte buffer * returns: an Object with PublicKey and PrivateKey **/ NAN_METHOD(MakeKeypair) { Nan::H...
Fix for bad signature on macOS
Fix for bad signature on macOS Reimplement commit 42d04f9 from https://github.com/gaoxiangxyz/ed25519 to fix apparent compiler bug on macOS
C++
bsd-2-clause
dazoe/ed25519,dazoe/ed25519,dazoe/ed25519,dazoe/ed25519
945640361833bc47d6ac6c538e762d3bfac8968c
src/gui/app.cc
src/gui/app.cc
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gui/app.h" #include <boost/process/search_path.hpp> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" #include <wx/config.h> #in...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "gui/app.h" #include <boost/process/search_path.hpp> #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" #include <wx/config.h> #in...
Use .flint2 as the configuration file
Use .flint2 as the configuration file
C++
mit
flintproject/Flint,flintproject/Flint
04ea72c7873a5d9db1549d30ff3367ab38d36948
src/matrix.cpp
src/matrix.cpp
#include "../include/matrix.h" #include <string> template <class T> matrix<T>::matrix() {} template <class T> matrix<T>::matrix(unsigned int x, unsigned int y){ resize(x,y); } template <class T> matrix<T>::matrix(const matrix& matrix){ *this = matrix; } template <class T> void matrix<T>::resize(unsigned int x, un...
#include "../include/matrix.h" #include <string> template <class T> matrix<T>::matrix() {} template <class T> matrix<T>::matrix(unsigned int x, unsigned int y){ resize(x,y); } template <class T> matrix<T>::matrix(const matrix& matrix){ *this = matrix; } template <class T> void matrix<T>::resize(unsigned int x, un...
Update matrix.cpp
Update matrix.cpp
C++
mit
HDxDaniel/Matrix-Cplusplus,illescasDaniel/Matrix-Cplusplus
838b62de3e9317933d047a85f851a3c9f7b3453b
src/mvf_mvb.cc
src/mvf_mvb.cc
#include "../../../src/show_message.hh" #include "move.hh" template<class T> inline static T fixLen(T len) { return len ? len : 1; } boost::optional< std::shared_ptr<change> > mvf(contents& contents, boost::optional<int> op) { if (contents.y == contents.cont.size() - 1 && contents.x == contents.cont[co...
#include "../../../src/show_message.hh" #include "move.hh" template<class T> inline static T fixLen(T len) { return len ? len : 1; } boost::optional< std::shared_ptr<change> > mvf(contents& contents, boost::optional<int> op) { if (contents.y == contents.cont.size() - 1 && contents.x == contents.cont[co...
Use ``move_ts`` to get a signed ``move_t``
Use ``move_ts`` to get a signed ``move_t``
C++
mpl-2.0
czipperz/vick-move
603e02f4fa9a1d467b002a3ca40f7f3e3205494c
src/packet.cpp
src/packet.cpp
/* packet.c - an elf and spin binary loader for the Parallax Propeller microcontroller Copyright (c) 2011 David Michael Betz 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, i...
/* packet.c - an elf and spin binary loader for the Parallax Propeller microcontroller Copyright (c) 2011 David Michael Betz 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, i...
Switch a ACK/NAK error to a -v informational message.
Switch a ACK/NAK error to a -v informational message.
C++
mit
parallaxinc/PropLoader,dbetz/proploader,parallaxinc/PropLoader,dbetz/proploader
9d3f81fc751044cc93e8ee03ba0f7ffc8cc7c86a
src/memory.cxx
src/memory.cxx
/* -*- coding: utf-8; mode: c++; tab-width: 3 -*- Copyright 2010, 2011, 2012, 2013 Raffaello D. Di Napoli This file is part of Application-Building Components (henceforth referred to as ABC). ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
/* -*- coding: utf-8; mode: c++; tab-width: 3 -*- Copyright 2010, 2011, 2012, 2013 Raffaello D. Di Napoli This file is part of Application-Building Components (henceforth referred to as ABC). ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as publishe...
Remove unnecessary forward declarations
Remove unnecessary forward declarations
C++
lgpl-2.1
raffaellod/lofty,raffaellod/lofty
4412c5a759affdcdb8c9c81b64465979aaba147a
src/rpcnet.cpp
src/rpcnet.cpp
// 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 "main.h" #include "net.h" #include "netbase.h" #include "protocol.h" #include "sync.h" #inclu...
// 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 "main.h" #include "net.h" #include "netbase.h" #include "protocol.h" #include "sync.h" #inclu...
Fix `getaddednodeinfo` RPC call with dns=false
Fix `getaddednodeinfo` RPC call with dns=false The getaddednodeinfo RPC call, when invoked with the dns flag set to false, returns a malformed JSON object with duplicate keys. Change this to return an array of objects with one key as shown in the help message. Fixes #3581.
C++
mit
genavarov/brcoin,XertroV/bitcoin-nulldata,faircoin/faircoin,Christewart/bitcoin,torresalyssa/bitcoin,PRabahy/bitcoin,fussl/elements,CodeShark/bitcoin,jonghyeopkim/bitcoinxt,ingresscoin/ingresscoin,sarielsaz/sarielsaz,sirk390/bitcoin,sugruedes/bitcoinxt,MazaCoin/maza,pelorusjack/BlockDX,dgarage/bc2,FeatherCoin/Featherco...
3900822a15d19f09d63b8fdcf075f71b023a2ac9
src/module.cpp
src/module.cpp
/* Copyright (c) 2016, Wemap SAS Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
/* Copyright (c) 2016, Wemap SAS Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
Fix SuperCluster destructor, fixes a memory leak
Fix SuperCluster destructor, fixes a memory leak
C++
isc
wemap/pysupercluster,wemap/pysupercluster
45eceb626f5ed3b6d4e6ebf1cd8712a76836a646
src/netconf.cc
src/netconf.cc
// Copyright 2015 Toggl Desktop developers. #include "../src/netconf.h" #include <string> #include <sstream> #include "./https_client.h" #include "Poco/Environment.h" #include "Poco/Logger.h" #include "Poco/Net/HTTPCredentials.h" #include "Poco/Net/HTTPSClientSession.h" #include "Poco/URI.h" #include "Poco/UnicodeC...
// Copyright 2015 Toggl Desktop developers. #include "../src/netconf.h" #include <string> #include <sstream> #include "./https_client.h" #include "Poco/Environment.h" #include "Poco/Logger.h" #include "Poco/Net/HTTPCredentials.h" #include "Poco/Net/HTTPSClientSession.h" #include "Poco/URI.h" #include "Poco/UnicodeC...
use http_proxy env variable (lib)
use http_proxy env variable (lib)
C++
bsd-3-clause
codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop
6faf48a6004279c165f5ab0d2efa0de8c82e8eac
src/socket.cxx
src/socket.cxx
// Module: Log4CPLUS // File: socket-win32.cxx // Created: 4/2003 // Author: Tad E. Smith // // // Copyright 2003-2014 Tad E. Smith // // 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 //...
// Module: Log4CPLUS // File: socket.cxx // Created: 4/2003 // Author: Tad E. Smith // // // Copyright 2003-2014 Tad E. Smith // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
Fix comment typo.
Fix comment typo.
C++
apache-2.0
csuideal/log4cplus,csuideal/log4cplus,ccpaging/log4cplus,csuideal/log4cplus,csuideal/log4cplus,ccpaging/log4cplus,ccpaging/log4cplus,ccpaging/log4cplus
34c2ebd33306707d0511cb49640edcfd4b00575b
src/symbol.hpp
src/symbol.hpp
#ifndef SYMBOL_HPP_ #define SYMBOL_HPP_ #include <boost/variant.hpp> #include "source_location.hpp" class symbol { public: typedef std::string literal; struct reference { reference() : refered(nullptr) {} std::string identifier; symbol* refered; }; typede...
#ifndef SYMBOL_HPP_ #define SYMBOL_HPP_ #include <boost/variant.hpp> #include "source_location.hpp" class symbol { public: typedef std::string literal; struct reference { reference() : refered(nullptr) {} std::string identifier; const symbol* refered; }; ...
add convenience retrieval functions
add convenience retrieval functions
C++
mit
mbid/asm-lisp
060a5ccd62c47faed35dfe651cf0b4cb36bcc815
src/system.cpp
src/system.cpp
/* system.cpp Classic Invaders Copyright (c) 2013, Simon Que 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...
/* system.cpp Classic Invaders Copyright (c) 2013, Simon Que 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...
convert to Arduino
system: convert to Arduino
C++
bsd-3-clause
eecsninja/invaders,eecsninja/invaders
275814546965c278eba2caa9404094a595efc872
src/parser.cpp
src/parser.cpp
// Copyright (c) 2013-2014, Alberto Corona <alberto@0x1a.us> // All rights reserved. This file is part of yabs, distributed under the BSD // 3-Clause license. For full terms please see the LICENSE file. #include <sys/types.h> #include <dirent.h> #include <fstream> #include <yaml.h> #include "parser.h" #include "gen.h"...
// Copyright (c) 2013-2014, Alberto Corona <alberto@0x1a.us> // All rights reserved. This file is part of yabs, distributed under the BSD // 3-Clause license. For full terms please see the LICENSE file. #include <sys/types.h> #include <dirent.h> #include <fstream> #include <yaml.h> #include "parser.h" #include "gen.h"...
remove verbosity in printing build file
parser: remove verbosity in printing build file Signed-off-by: Alberto Corona <c1a4158909d6c23f73df353c7cc0bbe963891a65@0x1a.us>
C++
bsd-3-clause
0X1A/yabs,0X1A/yabs,0X1A/yabs,0X1A/yabs
984a29e600a3cf8536d0716a3b7f0c4a678cd2f2
src/transp.cpp
src/transp.cpp
#include <stdio.h> #include <stdlib.h> #include "field_descriptor.hpp" int myrank, nprocs; int main(int argc, char *argv[]) { MPI_Init(&argc, &argv); MPI_Comm_rank(MPI_COMM_WORLD, &myrank); MPI_Comm_size(MPI_COMM_WORLD, &nprocs); int n[3]; field_descriptor *f0, *f1; switch(argc) { ...
#include <stdio.h> #include <stdlib.h> #include "field_descriptor.hpp" int myrank, nprocs; int main(int argc, char *argv[]) { MPI_Init(&argc, &argv); MPI_Comm_rank(MPI_COMM_WORLD, &myrank); MPI_Comm_size(MPI_COMM_WORLD, &nprocs); int n[3]; field_descriptor *f0, *f1; switch(argc) { ...
use fftw_malloc calls instead of malloc
use fftw_malloc calls instead of malloc
C++
apache-2.0
idies/MPIArrayTools,idies/MPIArrayTools
09994a12866d9edacfec0187faca5a9d27e96000
src/random.cpp
src/random.cpp
/* Copyright (c) 2014-2016 DataStax Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
/* Copyright (c) 2014-2016 DataStax Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing...
Handle permissive errors for non GNU compilers
fix: Handle permissive errors for non GNU compilers
C++
apache-2.0
flightaware/cpp-driver,mpenick/cpp-driver,mikefero/cpp-driver,datastax/cpp-driver,hpcc-systems/cpp-driver,mpenick/cpp-driver,mikefero/cpp-driver,hpcc-systems/cpp-driver,flightaware/cpp-driver,flightaware/cpp-driver,mikefero/cpp-driver,mpenick/cpp-driver,hpcc-systems/cpp-driver,datastax/cpp-driver,mpenick/cpp-driver,dat...
f6f0ef3ac8745a0ef90ca53eca1321a9eef2fddc
src/random.cpp
src/random.cpp
#include "random.h" #include "compiler.h" // The algorithm is D1(A1r), aka Ranq1, from Numerical Recipes. void rng_t::initialize (std::uint64_t seed) { state = 4101842887655102017ull; state ^= seed; state = get (); } NOINLINE std::uint64_t rng_t::get () { state ^= state >> 21; state ^= state << 35; state...
#include "random.h" #include "compiler.h" // The xorshift family of PRNGs was introduced in [1]. // This particular generator, "xorshift64* A_1(12; 25; 27).M_32", is suggested in [2]. // [1] George Marsaglia (2003) http://www.jstatsoft.org/article/view/v008i14/xorshift.pdf // [2] Sebastiano Vigna (2014) http://arxiv....
use a different xorshift64* generator.
random.cpp: use a different xorshift64* generator.
C++
apache-2.0
bustercopley/polymorph,bustercopley/polymorph
75df705108c8091b633e7c69884428900b8a396c
src/weakref.cc
src/weakref.cc
/* * Copyright (c) 2011, Ben Noordhuis <info@bnoordhuis.nl> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS...
/* * Copyright (c) 2011, Ben Noordhuis <info@bnoordhuis.nl> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS...
save the weakref proxy instance as a Local ref
weakref: save the weakref proxy instance as a Local ref
C++
isc
fastest963/node-weak,unbornchikken/node-weak,TooTallNate/node-weak,robcolburn/node-weak,TooTallNate/node-weak,EvolveLabs/electron-weak,kkoopa/node-weak,EvolveLabs/electron-weak,fastest963/node-weak,EvolveLabs/electron-weak,robcolburn/node-weak,kkoopa/node-weak,kkoopa/node-weak,KenanSulayman/node-weak,TooTallNate/node-w...
1f5ec2d26dc229b58b99864278fdfb2ff1a27d83
src/sm4_ofb.cc
src/sm4_ofb.cc
/****************************************************************************** * Copyright (c) 2015 Jamis Hoo * Distributed under the MIT license * (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) * * Project: * Filename: sm4_ofb.cc * Version: 1.0 * Author: Jamis Hoo *...
/****************************************************************************** * Copyright (c) 2015 Jamis Hoo * Distributed under the MIT license * (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) * * Project: * Filename: sm4_ofb.cc * Version: 1.0 * Author: Jamis Hoo *...
add comment
add comment
C++
mit
JamisHoo/Cryptographic-Algorithms
37af789afe731eccf29b33db93ff0fd01a3cf1ca
src/socket.cpp
src/socket.cpp
#include "socket.h" Socket::Socket() : socketfd(socket(AF_INET, SOCK_STREAM, 0)), connected(false) { socketAddr.sin_family = AF_INET; fcntl(socketfd, F_SETFL, O_NONBLOCK); } Socket::~Socket() { closeConnection(); } bool Socket::bindSocket(std::string address) { return false; } void Socket::closeConnection() {} ...
#include "socket.h" Socket::Socket() : socketfd(socket(AF_INET, SOCK_STREAM, 0)), connected(false) { socketAddr.sin_family = AF_INET; fcntl(socketfd, F_SETFL, O_NONBLOCK); } Socket::~Socket() { closeConnection(); } bool Socket::bindSocket(std::string address) { return false; } void Socket::closeConnection() {} ...
Define default Socket::connectServer function
Define default Socket::connectServer function
C++
mit
ElementalAlchemist/RoBoBo,ElementalAlchemist/RoBoBo
e06ae61a133e1c3b156a32a1b33e7514b645ea38
src/solver.cpp
src/solver.cpp
/** * solver.cpp * * by Mohammad Elmi * Created on 24 Oct 2013 */ #include "solver.h" #include "gradient.h" #include <iostream> #include <iomanip> namespace aban2 { void solver::write_step(size_t step) { std::stringstream s; s << out_path << std::setfill('0') << std::setw(6) << step << ".vt...
/** * solver.cpp * * by Mohammad Elmi * Created on 24 Oct 2013 */ #include "solver.h" #include "gradient.h" #include <iostream> #include <cmath> #include <iomanip> namespace aban2 { void solver::write_step(size_t step) { std::stringstream s; s << out_path << std::setfill('0') << std::setw(6) << s...
include cmath added
include cmath added
C++
mit
melmi/aban2,melmi/aban2
07db5c3165ff49edecb8c1dc9891664711cd5c05
src/taglib2.cc
src/taglib2.cc
#include <errno.h> #include <string.h> #include <v8.h> #include <nan.h> #include <node.h> #include <node_buffer.h> #include <fstream> #include <cctype> #include <iostream> #include <iomanip> #include <sstream> #include <string.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #d...
#include <errno.h> #include <string.h> #include <v8.h> #include <nan.h> #include <node.h> #include <node_buffer.h> #include <fstream> #include <cctype> #include <iostream> #include <iomanip> #include <sstream> #include <string.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #d...
fix hour in .time
fix hour in .time
C++
mit
voltraco/node-taglib2,voltraco/node-taglib2
6fda23d34dc03a47cca1bd231972fa6737367054
src/version.cc
src/version.cc
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/version.h" // These macros define the version number for the current version. // NOTE these macros are used by some ...
// Copyright 2012 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/v8.h" #include "src/version.h" // These macros define the version number for the current version. // NOTE these macros are used by some ...
Bump up version to 3.28.44.0
[Auto-roll] Bump up version to 3.28.44.0 TBR=machenbach@chromium.org Review URL: https://codereview.chromium.org/422003002 git-svn-id: f98b9d40cb02301bc76fa9e1b46ee668158567fd@22639 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
C++
mit
UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh
c2bd4b100aa887e950edd261262cf89923f15dff
src/wrapper.cc
src/wrapper.cc
#include "wrapper.hh" #include <stdexcept> Wrapper::Wrapper(v8::Local<v8::Object> options) { v8::Local<v8::Value> options_device_value = Nan::Get(options, Nan::New("device").ToLocalChecked()).ToLocalChecked(); if(!options_device_value->IsString()) { throw std::invalid_argument("Options should have string device p...
#include "wrapper.hh" #include <stdexcept> Wrapper::Wrapper(v8::Local<v8::Object> options) { v8::Local<v8::Value> options_device_value = Nan::Get(options, Nan::New("device").ToLocalChecked()).ToLocalChecked(); if(!options_device_value->IsString()) { throw std::invalid_argument("Options should have string device p...
Add storing onRecv and onSend callbacks passed in constructor
Add storing onRecv and onSend callbacks passed in constructor
C++
mit
piskorzj/node-packet-socket,piskorzj/node-packet-socket,piskorzj/node-packet-socket
df2c8fbc01b88d7afbe693e3371deb8ca8e0a30b
src/ycursor.cc
src/ycursor.cc
/* * IceWM - Colored cursor support * * Copyright (C) 2001 The Authors of IceWM * * initially by Oleastre * C++ style implementation by tbf */ #include "config.h" #include "default.h" #include "yfull.h" #include "yapp.h" #include "wmprog.h" #ifndef LITE #include <limits.h> #include <stdlib.h> #ifdef CONFIG_X...
/* * IceWM - Colored cursor support * * Copyright (C) 2001 The Authors of IceWM * * initially by Oleastre * C++ style implementation by tbf */ #include "config.h" #include "default.h" #include "yfull.h" #include "yapp.h" #include "wmprog.h" #ifndef LITE #include <limits.h> #include <stdlib.h> #ifdef CONFIG_X...
fix bug: 520788 freeze with 32 bit deep display fix tested on xfree86 - win32
fix bug: 520788 freeze with 32 bit deep display fix tested on xfree86 - win32
C++
lgpl-2.1
bedna-KU/icewm,bedna-KU/icewm,bedna-KU/icewm,jinn-alt/icewm,dicej/icewm,jinn-alt/icewm,dicej/icewm,dicej/icewm,jinn-alt/icewm,dicej/icewm
1c836ceede7b5bb70f681dc7b54aa261c97e95ef
content/browser/appcache/appcache_ui_test.cc
content/browser/appcache/appcache_ui_test.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 "base/file_path.h" #include "chrome/test/layout_test_http_server.h" #include "chrome/test/ui/ui_layout_test.h" class AppCacheUITest : public...
// 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 "base/file_path.h" #include "chrome/test/layout_test_http_server.h" #include "chrome/test/ui/ui_layout_test.h" class AppCacheUITest : public...
Disable AppCacheLayoutTests_NoPHP
Disable AppCacheLayoutTests_NoPHP It takes 38 seconds to run and then fails. BUG=85865,54717 TEST=none Review URL: http://codereview.chromium.org/7300021 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@91428 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
adobe/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,ga...
79d583d04c806ae8c8bf3e90c171c9a1dfd145b0
core/dawn_player/flv_media_stream_source.cpp
core/dawn_player/flv_media_stream_source.cpp
/* * flv_media_stream_source.cpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #include "pch.h" #include <algorithm> #include <memory> #include <string> #include "flv_media_stream_source.hpp" #include "flv_player.hpp" using namespace Platform::Collections; usi...
/* * flv_media_stream_source.cpp: * * Copyright (C) 2015 limhiaoing <blog.poxiao.me> All Rights Reserved. * */ #include "pch.h" #include <algorithm> #include <memory> #include <string> #include "flv_media_stream_source.hpp" #include "flv_player.hpp" using namespace Platform::Collections; usi...
Set MediaStreamSource::BufferTime to 0 to improve seek experience in Debug mode
flv_media_stream_source: Set MediaStreamSource::BufferTime to 0 to improve seek experience in Debug mode
C++
mit
lxrite/DawnPlayer
eb8feaf912bc21b5905b61715bac7277865540e3
samples/cpp/save_pose_into_pcd.cpp
samples/cpp/save_pose_into_pcd.cpp
/* * adds pose information given by pose_000x.txt into cloud_000x.pcd files (old dataset structure) * now we can use pcl_viewer *.pcd to show all point clouds in common coordinate system * * Created on: Dec 04, 2014 * Author: Thomas Faeulhammer * */ #include <v4r/io/filesystem.h> #include <v4r/common/faat...
/* * adds pose information given by pose_000x.txt into cloud_000x.pcd files (old dataset structure) * now we can use pcl_viewer *.pcd to show all point clouds in common coordinate system * * Created on: Dec 04, 2014 * Author: Thomas Faeulhammer * */ #include <v4r/io/filesystem.h> #include <v4r/common/faat...
fix of last push
fix of last push
C++
mit
Cerarus/v4r,Cerarus/v4r,Cerarus/v4r
10cef959e8892e0341a0fe878a7a9c5f190015bd
Tests/lib/file_path/test.cpp
Tests/lib/file_path/test.cpp
#include <ostream> #include <gtest/gtest.h> #include "pqrs/file_path.hpp" TEST(pqrs_file_path, dirname) { EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/ls")); EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/ls/")); EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/l")); EXPECT_EQ("/u...
#include <ostream> #include <gtest/gtest.h> #include "pqrs/file_path.hpp" TEST(pqrs_file_path, dirname) { EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/ls")); EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/ls/")); EXPECT_EQ("/usr/bin", pqrs::file_path::dirname("/usr/bin/l")); EXPECT_EQ("/u...
update test
update test
C++
unlicense
tekezo/Karabiner,chzyer-dev/Karabiner,runarbu/Karabiner,wataash/Karabiner,miaotaizi/Karabiner,tekezo/Karabiner,muramasa64/Karabiner,chzyer-dev/Karabiner,astachurski/Karabiner,muramasa64/Karabiner,miaotaizi/Karabiner,wataash/Karabiner,muramasa64/Karabiner,tekezo/Karabiner,runarbu/Karabiner,wataash/Karabiner,e-gaulue/Kar...
38ba7edf5326adab4b211c0b16d0aa11d3b06b31
cql3/restrictions/term_slice.hh
cql3/restrictions/term_slice.hh
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
add method to_string() to term_slice
cql3: add method to_string() to term_slice Signed-off-by: Paweł Dziepak <e29bb3265626c60caf76d587cabdfcd8b379ef80@cloudius-systems.com>
C++
agpl-3.0
justintung/scylla,wildinto/scylla,rentongzhang/scylla,glommer/scylla,avikivity/scylla,bowlofstew/scylla,bowlofstew/scylla,stamhe/scylla,phonkee/scylla,victorbriz/scylla,aruanruan/scylla,wildinto/scylla,guiquanz/scylla,bowlofstew/scylla,capturePointer/scylla,asias/scylla,wildinto/scylla,senseb/scylla,avikivity/scylla,li...
754d008390f13323ef5ea7542326f7ae24305ca0
W3CQtTestClient/src/main.cpp
W3CQtTestClient/src/main.cpp
#include <QtCore/QCoreApplication> #include "w3ctestclient.h" #include "w3ctestclienthandler.h" #include <QDebug> #include <QCommandLineParser> #include "logger.h" int main(int argc, char *argv[]) { qDebug() << "Client: main started"; QCoreApplication a(argc, argv); QCommandLineParser parser; parser...
#include <QtCore/QCoreApplication> #include "w3ctestclient.h" #include "w3ctestclienthandler.h" #include <QDebug> #include <QCommandLineParser> #include "logger.h" int main(int argc, char *argv[]) { qDebug() << "Client: main started"; QCoreApplication a(argc, argv); QCommandLineParser parser; parser...
Update main.cpp
Update main.cpp
C++
mit
PeterWinzell/GDP-melco,PeterWinzell/GDP-melco,PeterWinzell/GDP-melco,PeterWinzell/GDP-melco,PeterWinzell/GDP-melco
1f094d0ca6331153172f16ad55323b3ed85e6421
utilities/utility/forward/move_if_noexcept.pass.cpp
utilities/utility/forward/move_if_noexcept.pass.cpp
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Fix and beef up test bug for move_if_noexcept
Fix and beef up test bug for move_if_noexcept git-svn-id: 273b07cebdae5845b4a75aae04570b978db9eb50@131483 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-3-clause
lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx
38b4fa6320366c8ea12fa7a95f0820ae3f0331d3
test/model.cpp
test/model.cpp
/* * bacteria-core, core for cellular automaton * Copyright (C) 2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #include <boost/foreach.hpp> #include <boost/test/unit_test.hpp> #include "Model.hpp" typedef int (Implementation::Model::*IntOneArgMethod) ( const Abstract::Point& coordinates ) c...
/* * bacteria-core, core for cellular automaton * Copyright (C) 2016 Pavel Dolgov * * See the LICENSE file for terms of use. */ #include <boost/foreach.hpp> #include <boost/test/unit_test.hpp> #include "Model.hpp" typedef int (Implementation::Model::*IntOneArgMethod) ( const Abstract::Point& coordinates ) c...
Implement checkModelMethodForThrow <ThreeArgsMethod>
Implement checkModelMethodForThrow <ThreeArgsMethod>
C++
mit
zer0main/bacteria-core,zer0main/bacteria-core,zer0main/bacteria-core
f5d7d012f72b98e524a5d0b940fc72eb4aece6fb
assert.hh
assert.hh
/** \file * * \brief Throwing implementation of assert(3) * * This file redefines the assert() macro known from C so that it throws * a std::logic_error exception containing the filename, line number and * description of the assertion that failed. */ #ifndef DSNUTIL_ASSERT_HPP #define DSNUTIL_ASSERT_HPP 1 #incl...
/** \file * * \brief Throwing implementation of assert(3) * * This file redefines the assert() macro known from C so that it throws * a std::logic_error exception containing the filename, line number and * description of the assertion that failed. */ #ifndef DSNUTIL_ASSERT_HPP #define DSNUTIL_ASSERT_HPP 1 #incl...
support clang's function pretty printing
support clang's function pretty printing this commit enables support for __PRETTY_FUNCTION__ when the library is compiled using clang++ from the LLVM project.
C++
bsd-3-clause
png85/dsnutil,png85/dsnutil
d3d55cfec4bdfb1ee876028004bdec662e5074ba
test_SHAVS.cpp
test_SHAVS.cpp
#include <cassert> #include <cstdint> #include <cstdlib> #include <iostream> #include <sstream> #include <string> #include <vector> #include "snarkfront.hpp" using namespace snarkfront; using namespace std; void printUsage(const char* exeName) { cout << "usage: cat NIST_SHAVS_byte_test_vector_file | " << exeName ...
#include <cassert> #include <cstdint> #include <cstdlib> #include <iostream> #include <sstream> #include <string> #include <vector> #include "snarkfront.hpp" using namespace snarkfront; using namespace std; void printUsage(const char* exeName) { cout << "usage: cat NIST_SHAVS_byte_test_vector_file | " << exeName ...
return EXIT_SUCCESS in main()
return EXIT_SUCCESS in main()
C++
mit
jancarlsson/snarkfront,jancarlsson/snarkfront
edf685c488a44e1132472632832d4dc96a079b79
value.cpp
value.cpp
#include "api.h" static Value * newValue(uint32_t homeId, OpenZWave::ValueID const &valueId) { Value * tmp = (Value *)malloc(sizeof(Value)); *tmp = (struct Value){0}; tmp->homeId = homeId; tmp->valueId.id = valueId.GetId(); tmp->valueId.valueType = valueId.GetType(); tmp->valueId.commandClassId = valueId....
#include "api.h" static Value * newValue(uint32_t homeId, OpenZWave::ValueID const &valueId) { Value * tmp = (Value *)malloc(sizeof(Value)); *tmp = (struct Value){0}; tmp->homeId = homeId; tmp->valueId.id = valueId.GetId(); tmp->valueId.valueType = valueId.GetType(); tmp->valueId.commandClassId = valueId....
Use verified changes.
Use verified changes. Signed-off-by: Jon Seymour <44f878afe53efc66b76772bd845eb65944ed8232@ninjablocks.com>
C++
mit
ninjasphere/go-openzwave,ninjasphere/go-openzwave,ninjasphere/go-openzwave,ninjasphere/go-openzwave,ninjasphere/go-openzwave,ninjasphere/go-openzwave
5a0eade6d8d8599b0847e08889ce42c4031c0d4c
include/hnc/mpi.hpp
include/hnc/mpi.hpp
// Copyright © 2013 Lénaïc Bagnères, hnc@singularity.fr // This file is part of hnc. // hnc 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, either version 3 of the License, or // (at your option) an...
// Copyright © 2013 Lénaïc Bagnères, hnc@singularity.fr // This file is part of hnc. // hnc 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, either version 3 of the License, or // (at your option) an...
Upgrade hnc::mpi namespace doxygen
Upgrade hnc::mpi namespace doxygen
C++
apache-2.0
seken/hnc
af16ba462091831d212e07b2b1a7423c6a485ed7
include/lockwrap.hh
include/lockwrap.hh
#pragma once #include "seqlock.hh" template<typename T> class ptr_wrap { public: ptr_wrap(T* ptr) : ptr_(ptr) {} T* operator->() const { return ptr_; } T& operator*() const { return *ptr_; } private: T* ptr_; }; template<typename T> class seq_reader { public: seq_reader(T* v, seqcount<u32>* ...
#pragma once #include "seqlock.hh" template<typename T> class ptr_wrap { public: ptr_wrap(T* ptr) : ptr_(ptr) {} T* operator->() const { return ptr_; } T& operator*() const { return *ptr_; } private: T* ptr_; }; template<typename T> class seq_reader { public: seq_reader(const T* v, const seq...
fix constness
seq_reader: fix constness
C++
mit
aclements/sv6,bowlofstew/sv6,aclements/sv6,aclements/sv6,bowlofstew/sv6,bowlofstew/sv6,bowlofstew/sv6,bowlofstew/sv6,aclements/sv6,aclements/sv6
fd06fbf3c31b3a5d81d4b7d2261cf41766ea506f
tests/init.cpp
tests/init.cpp
#include <matrix.hpp> #include <catch.hpp> SCENARIO("def constructor") { Matrix matrix; REQUIRE(matrix.Strings_() == 0); REQUIRE(matrix.Columns_() == 0); } SCENARIO("param constructor") { Matrix matrix(2, 2); REQUIRE(matrix.Strings_() == 2); REQUIRE(matrix.Columns_() == 2); } SCENARIO("copy constructor") { ...
#include <matrix.hpp> #include <catch.hpp> SCENARIO("def constructor") { Matrix matrix; REQUIRE(matrix.Strings_() == 0); REQUIRE(matrix.Columns_() == 0); } SCENARIO("param constructor") { Matrix matrix(2, 2); REQUIRE(matrix.Strings_() == 2); REQUIRE(matrix.Columns_() == 2); } SCENARIO("copy constructor") { ...
Update init.cpp
Update init.cpp
C++
mit
elinagabitova/matrix
56ecd3dfa6f62b6685e5f5cf054a4c7790066d42
tests/init.cpp
tests/init.cpp
#include <matrix.hpp> #include <catch.hpp> #include <iostream> SCENARIO ("init", "[init]") { BinaryTree<int> tree; REQUIRE(tree.root_() == nullptr); } SCENARIO ("output", "[output]") { BinaryTree<int> tree; tree.insertNode(1); REQUIRE( std::cout << tree ); } SCENARIO("findNode", "[findNode]") { Binar...
#include <matrix.hpp> #include <catch.hpp> #include <iostream> SCENARIO ("init", "[init]") { BinaryTree<int> tree; REQUIRE(tree.root_() == nullptr); } SCENARIO ("output", "[output]") { BinaryTree<int> tree; tree.insertNode(1); REQUIRE( std::cout << tree ); } SCENARIO("find", "[find]") { BinaryTree<in...
Create init.cpp
Create init.cpp
C++
mit
BURNINGTIGER/Tree
9ea43e50c42474c6d6cc338dc26bb9a74cc74641
tests/memcp.cc
tests/memcp.cc
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Test memcp * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redis...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Test memcp * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redis...
Disable broken test for the moment.
Disable broken test for the moment.
C++
bsd-3-clause
mckelvin/libmemcached,mckelvin/libmemcached,mckelvin/libmemcached
a0fc01b51d58def52495009ffaa9a6e21fb85ef8
examples/gp/scalar/gpscalar.C
examples/gp/scalar/gpscalar.C
#include <queso/GslVector.h> #include <queso/GslMatrix.h> #include <queso/UniformVectorRV.h> #include <queso/StatisticalInverseProblem.h> #include <queso/VectorSet.h> #include <queso/GaussianProcessEmulator.h> int main(int argc, char ** argv) { // Step 0: Set up some variables unsigned int numExperiments = 6; // ...
#include <queso/GslVector.h> #include <queso/GslMatrix.h> #include <queso/UniformVectorRV.h> #include <queso/StatisticalInverseProblem.h> #include <queso/VectorSet.h> #include <queso/GaussianProcessEmulator.h> int main(int argc, char ** argv) { // Step 0: Set up some variables unsigned int numExperiments = 6; // ...
Set experimental obs var properly
Set experimental obs var properly
C++
lgpl-2.1
roystgnr/queso,briadam/queso,briadam/queso,briadam/queso,briadam/queso,roystgnr/queso,briadam/queso,roystgnr/queso,roystgnr/queso,roystgnr/queso,roystgnr/queso
a661ca9199f773b9b828cb1d38ee439e9b3c6351
sources/vvvstlhelper.hpp
sources/vvvstlhelper.hpp
#ifndef VVVSTLHELPER_H #define VVVSTLHELPER_H #include <algorithm> #include <string> #include <vector> template<typename C, class P, typename = typename std::enable_if_t<std::is_rvalue_reference<C&&>::value> > inline decltype(auto) filter(C&& v, P p ) { const auto n = std::copy_if( v.begin(), v.end(), ...
#ifndef VVVSTLHELPER_H #define VVVSTLHELPER_H #include <algorithm> #include <string> #include <vector> template<typename C, class P, typename = typename std::enable_if_t<std::is_rvalue_reference<C&&>::value> > inline decltype(auto) filter(C&& v, P p ) { const auto n = std::copy_if( v.begin(), v.end(), ...
fix contain() function compatibility with initializer_list
fix contain() function compatibility with initializer_list
C++
mit
VyacheslavVanin/cstructinfo,VyacheslavVanin/cstructinfo
c749e2b824c4e89d40bed41eb4002818e5d83217
stt_runner.cpp
stt_runner.cpp
#include "stt_runner.h" #include "stt_error.h" #include "core/os/memory.h" // memnew(), memdelete() STTError::Error STTRunner::start() { if (config.is_null()) { STT_ERR_PRINTS(STTError::UNDEF_CONFIG_ERR); return STTError::UNDEF_CONFIG_ERR; } if (queue.is_null()) { STT_ERR_PRINTS(STTError::UNDEF_QUEUE_ERR); ...
#include "stt_runner.h" #include "stt_error.h" #include "core/os/memory.h" // memnew(), memdelete() STTError::Error STTRunner::start() { if (config.is_null()) { STT_ERR_PRINTS(STTError::UNDEF_CONFIG_ERR); return STTError::UNDEF_CONFIG_ERR; } if (queue.is_null()) { STT_ERR_PRINTS(STTError::UNDEF_QUEUE_ERR); ...
Fix bug when calling start() after STTRunner stop()
Fix bug when calling start() after STTRunner stop() - Fix: Stop utterance when ending STTRunner thread
C++
mit
SamuraiSigma/speech-to-text,SamuraiSigma/speech-to-text,SamuraiSigma/speech-to-text
af8d16b9b9b85a71b75906a03ab6d5be06e0f3b7
source/chip/STM32/STM32F7/STM32F7-lowLevelInitialization.cpp
source/chip/STM32/STM32F7/STM32F7-lowLevelInitialization.cpp
/** * \file * \brief chip::lowLevelInitialization() implementation for STM32F7 * * \author Copyright (C) 2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not...
/** * \file * \brief chip::lowLevelInitialization() implementation for STM32F7 * * \author Copyright (C) 2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not...
Update STM32F7's low-level init in preparation for standard clock config
Update STM32F7's low-level init in preparation for standard clock config
C++
mpl-2.0
jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos,DISTORTEC/distortos,jasmin-j/distortos
0a696eaaf1ef301fec0f16b2c2d7f1ca3b0a997e
bench.cpp
bench.cpp
#include "include/kdbush.hpp" #include <chrono> #include <iostream> #include <random> #include <vector> int main() { std::random_device rd; std::mt19937 gen(rd()); std::uniform_int_distribution<> dis(-10000, 10000); using Point = std::pair<int, int>; const std::size_t num_points = 1000000; ...
#include "include/kdbush.hpp" #include <chrono> #include <iostream> #include <random> #include <vector> int main() { std::mt19937 gen(0); std::uniform_int_distribution<> dis(-10000, 10000); using Point = std::pair<int, int>; const std::size_t num_points = 1000000; std::vector<Point> points; ...
use fixed seed for bench random data
use fixed seed for bench random data
C++
isc
mourner/kdbush.hpp
4919857fb5ab7556bdad0b3c98cac8dcb641c730
tools/pbprint.cc
tools/pbprint.cc
#include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <vector> #include <asio.hpp> #include <asio/serial_port.hpp> #include <asio/signal_set.hpp> #include <google/protobuf/io/coded_stream.h> #include "cobs.h" #include "pose.pb.h" #include "simulation.pb.h" namespace { using std::si...
#include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <vector> #include <asio.hpp> #include <asio/serial_port.hpp> #include <asio/signal_set.hpp> #include <google/protobuf/io/coded_stream.h> #include "cobs.h" #include "pose.pb.h" #include "simulation.pb.h" namespace { using std::si...
Fix pbprint file read
Fix pbprint file read Replace use of std::basic_istream::readsome with std::basic_istream::read due to standard library implementation-specific file read failures.
C++
bsd-2-clause
oliverlee/phobos,oliverlee/phobos,oliverlee/phobos,oliverlee/phobos
8e01e567cfa0b0e76e0a5f301b6edeb2f122489c
core/src/style/style.cpp
core/src/style/style.cpp
#include "style.h" #include "scene/scene.h" #include "scene/sceneLayer.h" #include "scene/light.h" #include "tile/tile.h" #include "gl/vboMesh.h" #include "view/view.h" #include "glm/gtc/type_ptr.hpp" namespace Tangram { Style::Style(std::string _name, Blending _blendMode, GLenum _drawMode) : m_name(_name),...
#include "style.h" #include "scene/scene.h" #include "scene/sceneLayer.h" #include "scene/light.h" #include "tile/tile.h" #include "gl/vboMesh.h" #include "view/view.h" #include "glm/gtc/type_ptr.hpp" namespace Tangram { Style::Style(std::string _name, Blending _blendMode, GLenum _drawMode) : m_name(_name),...
Fix 'u_meters_per_pixel' assignment
Fix 'u_meters_per_pixel' assignment
C++
mit
cleeus/tangram-es,cleeus/tangram-es,tangrams/tangram-es,tangrams/tangram-es,tangrams/tangram-es,cleeus/tangram-es,quitejonny/tangram-es,quitejonny/tangram-es,quitejonny/tangram-es,cleeus/tangram-es,cleeus/tangram-es,tangrams/tangram-es,tangrams/tangram-es,quitejonny/tangram-es,quitejonny/tangram-es,tangrams/tangram-es,...
b4a00833fdfa84aec50497a090040842e8d793d0
src/DebugVisitor.cpp
src/DebugVisitor.cpp
//======================================================================= // 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) //=====================================================...
Improve visitor
Improve visitor
C++
mit
vogelsgesang/eddic,wichtounet/eddic,vogelsgesang/eddic,wichtounet/eddic,vogelsgesang/eddic,wichtounet/eddic
8e01141f9c3596e31865401702b87fc942d52d01
src/cxxconfig.hpp
src/cxxconfig.hpp
#ifndef TOML_CXX_CONFIG #define TOML_CXX_CONFIG #ifndef __cplusplus #error "__cplusplus macro is not defined." #endif #if __cplusplus >= 201103L # define TOML_ENABLE_CXX11 1 # define TOML_CONSTEXPR constexpr # define TOML_NOEXCEPT noexcept # define TOML_OVERRIDE override # define TOML_NULLPTR nullptr #e...
#ifndef TOML_CXX_CONFIG #define TOML_CXX_CONFIG #ifndef __cplusplus #error "__cplusplus macro is not defined." #endif #if __cplusplus >= 201103L # define TOML_ENABLE_CXX11 1 # define TOML_CONSTEXPR constexpr # define TOML_NOEXCEPT noexcept # define TOML_OVERRIDE override # define TOML_NULLPTR nullptr #e...
add using dynamic_pointer_cast
add using dynamic_pointer_cast
C++
mit
ToruNiina/TOMLParser
c316c3bb94a3b20a132156bd0a215963176eebeb
cores/cosa/Cosa/Shell.hh
cores/cosa/Cosa/Shell.hh
/** * @file Cosa/Shell.hh * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Li...
/** * @file Cosa/Shell.hh * @version 1.0 * * @section License * Copyright (C) 2014, Mikael Patel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Li...
Fix compile for Arduino 1.0.X.
Fix compile for Arduino 1.0.X.
C++
lgpl-2.1
jeditekunum/Cosa,rrobinet/Cosa,rrobinet/Cosa,dansut/Cosa,kc9jud/Cosa,mikaelpatel/Cosa,dansut/Cosa,kc9jud/Cosa,jeditekunum/Cosa,dansut/Cosa,rrobinet/Cosa,kc9jud/Cosa,mikaelpatel/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,kc9jud/Cosa,dansut/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,rrobinet/Cosa
0f65c30d3a30b556c17b9d6276147edc220a90ba
monitor/gtk/src/main.cpp
monitor/gtk/src/main.cpp
#include <gtkmm.h> #include <iostream> #include <string> #include "dharc/monitor.hpp" #include <type_traits> #include <sigc++/sigc++.h> namespace sigc { template <typename Functor> struct functor_trait<Functor, false> { typedef decltype (::sigc::mem_fun (std::declval<Functor&> ()...
#include <gtkmm.h> #include <iostream> #include <string> #include "dharc/monitor.hpp" #include <type_traits> #include <sigc++/sigc++.h> namespace sigc { template <typename Functor> struct functor_trait<Functor, false> { typedef decltype (::sigc::mem_fun (std::declval<Functor&> ()...
Monitor shows harc follows
Monitor shows harc follows
C++
bsd-2-clause
dharc/dharc
21950d62df41263b06be50f8e4ec215fca585855
src/MemoryDumper.cpp
src/MemoryDumper.cpp
#include "MemoryDumper.h" using namespace std; MemoryDumper::MemoryDumper(){ this->chunks = new std::vector<Bits *>; this->plugins = new std::vector<plugin_t *>; } MemoryDumper::~MemoryDumper(){ for(std::vector<struct plugin_t *>::iterator plugins_iter = this->plugins->begin(); plugins_iter != this->plugins->end()...
#include "MemoryDumper.h" using namespace std; MemoryDumper::MemoryDumper(){ this->chunks = new std::vector<Bits *>; this->plugins = new std::vector<plugin_t *>; } MemoryDumper::~MemoryDumper(){ for(std::vector<struct plugin_t *>::iterator plugins_iter = this->plugins->begin(); plugins_iter != this->plugins->end()...
Use namespacing
Use namespacing
C++
unlicense
alexandernst/memory-dumper
410b1debff6efc755487f8c2a53b374be9b1172c
src/llvm/PointsTo.cpp
src/llvm/PointsTo.cpp
#include <llvm/IR/Value.h> #include <llvm/IR/Constants.h> #include <llvm/IR/IntrinsicInst.h> #include <llvm/IR/Instruction.h> #include <llvm/IR/Module.h> #include <llvm/Support/raw_ostream.h> #include "LLVMDependenceGraph.h" #include "PointsTo.h" #include "AnalysisGeneric.h" using namespace llvm; namespace dg { name...
#include <llvm/IR/Value.h> #include <llvm/IR/Constants.h> #include <llvm/IR/IntrinsicInst.h> #include <llvm/IR/Instruction.h> #include <llvm/IR/Module.h> #include <llvm/Support/raw_ostream.h> #include "LLVMDependenceGraph.h" #include "PointsTo.h" #include "AnalysisGeneric.h" using namespace llvm; namespace dg { name...
fix bug from previous commit
points-to: fix bug from previous commit comment in code Signed-off-by: Marek Chalupa <a05df156a69ad59faa9af9b666ef78009594c145@gmail.com>
C++
mit
mchalupa/dg,mchalupa/dg,mchalupa/dg,mchalupa/dg
b083d753f68c5ac595dc4700936d784e7521bfd3
include/eigenpy/user-type.hpp
include/eigenpy/user-type.hpp
// // Copyright (c) 2020 INRIA // #ifndef __eigenpy_user_type_hpp__ #define __eigenpy_user_type_hpp__ #include "eigenpy/fwd.hpp" #include "eigenpy/numpy-type.hpp" #include "eigenpy/register.hpp" namespace eigenpy { namespace internal { template<typename T, int type_code = NumpyEquivalentType<T>::type_code> ...
// // Copyright (c) 2020 INRIA // #ifndef __eigenpy_user_type_hpp__ #define __eigenpy_user_type_hpp__ #include "eigenpy/fwd.hpp" #include "eigenpy/numpy-type.hpp" #include "eigenpy/register.hpp" namespace eigenpy { namespace internal { template<typename T, int type_code = NumpyEquivalentType<T>::type_code> ...
add inline
core: add inline
C++
bsd-2-clause
stack-of-tasks/eigenpy,stack-of-tasks/eigenpy
a2b048786d74aa0fb4107de4c5a1af27e896cee7
src/logger/FassLog.cc
src/logger/FassLog.cc
/** * FassLog.h * * Author: Sara Vallero * Author: Valentina Zaccolo */ #include "FassLog.h" #include "Log.h" Log * FassLog::logger;
/** * Copyright © 2017 INFN Torino - INDIGO-DataCloud * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
Update FassLog.cc
Update FassLog.cc
C++
apache-2.0
indigo-dc/one-fass,indigo-dc/one-fass,indigo-dc/one-fass,indigo-dc/one-fass
67f36aa24da2b2fec9b9c0ba996599d4f9c10f89
include/libtorrent/config.hpp
include/libtorrent/config.hpp
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
Use a safer default handler storage size until we can figure out some good platform specific defaults.
Use a safer default handler storage size until we can figure out some good platform specific defaults.
C++
bsd-3-clause
mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/raste...
3b99b0a1fe909af5dcd7f588aac6d79a008724d4
include/libtorrent/config.hpp
include/libtorrent/config.hpp
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
enable floating point API by default
enable floating point API by default git-svn-id: 6ed3528c1be4534134272ad6dd050eeaa1f628d3@3729 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
C++
bsd-3-clause
steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent
a0723e810e06683e184891297cd50a33ff52a6e3
gpu/command_buffer/service/texture_definition.cc
gpu/command_buffer/service/texture_definition.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 "gpu/command_buffer/service/texture_definition.h" #include <list> #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" #incl...
// 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 "gpu/command_buffer/service/texture_definition.h" #include <list> #include "base/memory/linked_ptr.h" #include "base/memory/scoped_ptr.h" #incl...
Fix GLImageSync::GetSize() to return actual texture size
Fix GLImageSync::GetSize() to return actual texture size BUG= Review URL: https://codereview.chromium.org/344483006 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@280734 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,M4sse/chromium.src,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,M4sse/chr...
ece1584d4ddc38c929ab2a6de1c88db3af8a06d6
include/libtorrent/socket.hpp
include/libtorrent/socket.hpp
/* Copyright (c) 2003, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* Copyright (c) 2003, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
fix msvc build
fix msvc build git-svn-id: c33880c105b4082c86d872cc05f56ac71c9e5733@4984 f43f7eb3-cfe1-5f9d-1b5f-e45aa6702bda
C++
bsd-3-clause
steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent,steeve/libtorrent