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
9a3d41aa05d26fa97a96dae99ebeee1584a82c74
core/imt/src/TThreadExecutor.cxx
core/imt/src/TThreadExecutor.cxx
#include "ROOT/TThreadExecutor.hxx" #if !defined(_MSC_VER) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #endif #include "tbb/tbb.h" #if !defined(_MSC_VER) #pragma GCC diagnostic pop #endif ////////////////////////////////////////////////////////////////////////// /// /// \class ROOT::TThreadEx...
#include "ROOT/TThreadExecutor.hxx" #if !defined(_MSC_VER) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wshadow" #endif #include "tbb/tbb.h" #if !defined(_MSC_VER) #pragma GCC diagnostic pop #endif ////////////////////////////////////////////////////////////////////////// /// /// \class ROOT::TThreadEx...
fix indentation
fix indentation
C++
lgpl-2.1
olifre/root,karies/root,root-mirror/root,olifre/root,karies/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,karies/root,olifre/root,root-mirror/root,olifre/root,karies/root,karies/root,olifre/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,karies/root,root...
a3cc199fc9a4c805ae8a532ac5755168e8a058e9
brotli/enc/prefix.cc
brotli/enc/prefix.cc
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
// Copyright 2013 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law...
revert change to command coding (merge with change later)
revert change to command coding (merge with change later)
C++
bsd-3-clause
robryk/font-compression-reference,robryk/font-compression-reference,robryk/font-compression-reference
954c1a1e8e35b545c261d1105dcab8c6710a7c0f
core/meta/src/TSchemaRuleSet.cxx
core/meta/src/TSchemaRuleSet.cxx
// @(#)root/core:$Id$ // author: Lukasz Janyst <ljanyst@cern.ch> #include "TSchemaRuleSet.h" #include "TSchemaRule.h" #include "TObjArray.h" #include "TObjString.h" #include "TClass.h" #include "TROOT.h" #include "Riostream.h" #include "TVirtualCollectionProxy.h" #include "TClassEdit.h" ClassImp(TSchemaRule) using ...
// @(#)root/core:$Id$ // author: Lukasz Janyst <ljanyst@cern.ch> #include "TSchemaRuleSet.h" #include "TSchemaRule.h" #include "TObjArray.h" #include "TObjString.h" #include "TClass.h" #include "TROOT.h" #include "Riostream.h" #include "TVirtualCollectionProxy.h" #include "TClassEdit.h" ClassImp(TSchemaRule) using ...
Allow the implicit conversion from any type of numerical STL collection to any other type of numerical STL collection (e.g. vector<int> to list<float>)
Allow the implicit conversion from any type of numerical STL collection to any other type of numerical STL collection (e.g. vector<int> to list<float>) git-svn-id: 9d02132d8e1217b86764d694e1605987040d84e5@49003 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
Dr15Jones/root,strykejern/TTreeReader,ffurano/root5,ffurano/root5,tc3t/qoot,tc3t/qoot,tc3t/qoot,kirbyherm/root-r-tools,strykejern/TTreeReader,tc3t/qoot,strykejern/TTreeReader,ffurano/root5,kirbyherm/root-r-tools,kirbyherm/root-r-tools,ffurano/root5,Dr15Jones/root,ffurano/root5,Dr15Jones/root,strykejern/TTreeReader,Dr15...
fcecfc065c901feb56db9ab19e03af471a2652ad
vhdlpp/vtype_stream.cc
vhdlpp/vtype_stream.cc
/* * Copyright (c) 2011 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at ...
/* * Copyright (c) 2011 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at ...
Handle bit types in package library stream.
Handle bit types in package library stream.
C++
lgpl-2.1
CastMi/iverilog,CastMi/iverilog,CastMi/iverilog,themperek/iverilog,themperek/iverilog,themperek/iverilog
601ba4e4f8ebf4841d25ea9babf20011fa554295
src/ecru-config.cc
src/ecru-config.cc
#include <iostream> #include <cstdlib> #include <vector> #include "Hook.h" #include "Config.h" #include "ecru.h" using namespace std; void usage() { cerr << "usage: ecru-config variable_path" << endl; cerr << "usage: ecru-config [-l|-s path]" << endl; cerr << "usage: ecru-config [-v|-h]" << endl; cerr << "usage...
#include <iostream> #include <cstdlib> #include <vector> #include "Hook.h" #include "Config.h" #include "ecru.h" using namespace std; void usage() { cerr << "usage: ecru-config variable_path" << endl; cerr << "usage: ecru-config [-l|-s path]" << endl; cerr << "usage: ecru-config -v" << endl; cerr << "usage: ecr...
Fix usage() output.
Fix usage() output.
C++
bsd-2-clause
novel/ecru,novel/ecru,novel/ecru
cbf13504fbbb391d3f3dd7937934606189c55d7c
Library/Sources/Stroika/Foundation/Execution/Logger.cpp
Library/Sources/Stroika/Foundation/Execution/Logger.cpp
/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #include "../StroikaPreComp.h" #if qHas_Syslog #include <syslog.h> #endif #include "../Characters/Format.h" #include "../Debug/Trace.h" #include "Process.h" #include "Logger.h" using namespace Stroika::Foundati...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #include "../StroikaPreComp.h" #if qHas_Syslog #include <syslog.h> #endif #include "../Characters/Format.h" #include "../Debug/Trace.h" #include "Process.h" #include "Logger.h" using namespace Stroika::Foundati...
fix tstring issue
fix tstring issue
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
f88c024b2fb6cd840e83313919af71bdb86ca386
src/ethernetII.cpp
src/ethernetII.cpp
/* * Copyright (c) 2017, Matias Fontanini * 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 ...
/* * Copyright (c) 2017, Matias Fontanini * 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 ...
Fix minor typo in comment. (#261)
Fix minor typo in comment. (#261)
C++
bsd-2-clause
UlfWetzker/libtins,mfontanini/libtins,UlfWetzker/libtins,mfontanini/libtins
bd0349c8597bb1e74204587119e0b66a899f8819
src/event/Base.hxx
src/event/Base.hxx
/* * C++ wrappers for libevent. * * author: Max Kellermann <mk@cm4all.com> */ #ifndef EVENT_BASE_HXX #define EVENT_BASE_HXX #include <event.h> class EventBase { struct event_base *event_base; public: EventBase():event_base(::event_init()) {} ~EventBase() { ::event_base_free(event_base); ...
/* * C++ wrappers for libevent. * * author: Max Kellermann <mk@cm4all.com> */ #ifndef EVENT_BASE_HXX #define EVENT_BASE_HXX #include <event.h> class EventBase { struct event_base *event_base; public: EventBase():event_base(::event_init()) {} ~EventBase() { ::event_base_free(event_base); ...
add method DumpEvents()
event/Base: add method DumpEvents()
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
0c3848732ee33cf14a80129f6cf7ee84d51c8bfb
src/cpu/base.hh
src/cpu/base.hh
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
Add a getInterruptController function
CPU: Add a getInterruptController function
C++
bsd-3-clause
gedare/gem5,KuroeKurose/gem5,kaiyuanl/gem5,aclifton/cpeg853-gem5,rjschof/gem5,samueldotj/TeeRISC-Simulator,austinharris/gem5-riscv,cancro7/gem5,samueldotj/TeeRISC-Simulator,SanchayanMaity/gem5,powerjg/gem5-ci-test,KuroeKurose/gem5,aclifton/cpeg853-gem5,markoshorro/gem5,aclifton/cpeg853-gem5,yb-kim/gemV,TUD-OS/gem5-dtu,...
aa64a62c439d80eb0f306350bf50e5c97f49c383
src/SMDS/SMDS_VolumeOfNodes.cxx
src/SMDS/SMDS_VolumeOfNodes.cxx
// SMESH SMDS : implementaion of Salome mesh data structure // // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public /...
// SMESH SMDS : implementaion of Salome mesh data structure // // Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public /...
Fix bug. Was always printing 8 nodes
Fix bug. Was always printing 8 nodes
C++
lgpl-2.1
FedoraScientific/salome-smesh,FedoraScientific/salome-smesh,FedoraScientific/salome-smesh,FedoraScientific/salome-smesh
a9e6c487d500130c035c971e718a140b65d66e37
src/datalog.cpp
src/datalog.cpp
#include <pangolin/datalog.h> #include <limits> #include <fstream> #include <iomanip> #include <stdexcept> #include <algorithm> #include <iostream> namespace pangolin { void DataLogBlock::AddSamples(size_t num_samples, size_t dimensions, const float* data_dim_major ) { if(nextBlock) { // If next block ex...
#include <pangolin/datalog.h> #include <limits> #include <fstream> #include <iomanip> #include <stdexcept> #include <algorithm> #include <iostream> namespace pangolin { void DataLogBlock::AddSamples(size_t num_samples, size_t dimensions, const float* data_dim_major ) { if(nextBlock) { // If next block ex...
Fix tracking freeze.
Plotter: Fix tracking freeze.
C++
mit
mp3guy/Pangolin,visigoth/Pangolin,tschmidt23/Pangolin,stevenlovegrove/Pangolin,stevenlovegrove/Pangolin,stevenlovegrove/Pangolin,randi120/Pangolin,visigoth/Pangolin,wxdzju/Pangolin,janjachnik/Pangolin,tschmidt23/Pangolin,tschmidt23/Pangolin,mp3guy/Pangolin,renzodenardi/Pangolin,pinglin/Pangolin,randi120/Pangolin,wxdzju...
7e12647be17cba468fc56fffde3093d4c524452e
OpenSim/Simulation/OpenSense/InverseKinematicsStudy.cpp
OpenSim/Simulation/OpenSense/InverseKinematicsStudy.cpp
#include "InverseKinematicsStudy.h" #include "OpenSenseUtilities.h" #include <OpenSim/Common/IO.h> #include <OpenSim/Common/TimeSeriesTable.h> #include <OpenSim/Common/TableSource.h> #include <OpenSim/Common/STOFileAdapter.h> #include <OpenSim/Common/TRCFileAdapter.h> #include <OpenSim/Common/Reporter.h> #include <Ope...
#include "InverseKinematicsStudy.h" #include "OpenSenseUtilities.h" #include <OpenSim/Common/IO.h> #include <OpenSim/Common/TimeSeriesTable.h> #include <OpenSim/Common/TableSource.h> #include <OpenSim/Common/STOFileAdapter.h> #include <OpenSim/Common/TRCFileAdapter.h> #include <OpenSim/Common/Reporter.h> #include <Ope...
Remove unnecessary additions to the output table's metadata.
Remove unnecessary additions to the output table's metadata.
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
2facba08fa01d7025fcb897a435ea3ed9a789d3f
utils/command_line.hpp
utils/command_line.hpp
#pragma once #include <algorithm> #include <iomanip> #include <list> #include <sstream> #include <string> #include <vector> namespace utils { class command_line { std::ostringstream _help; std::list<std::string> _args; public: command_line(int argc, const char ** argv) { std::copy(argv + 1, ...
#pragma once #include <algorithm> #include <iterator> #include <iomanip> #include <list> #include <sstream> #include <string> #include <vector> namespace utils { class command_line { std::ostringstream _help; std::list<std::string> _args; public: command_line(int argc, const char ** argv) { ...
Add missing include.
Add missing include.
C++
bsd-2-clause
bureau14/qdb-benchmark,solatis/qdb-benchmark,bureau14/qdb-benchmark,solatis/qdb-benchmark,solatis/qdb-benchmark,solatis/qdb-benchmark,bureau14/qdb-benchmark,bureau14/qdb-benchmark
7c4a81f96cc4afb924bed3305475331ded0e5e35
src/render_engine/vulkan/auto_allocating_buffer.cpp
src/render_engine/vulkan/auto_allocating_buffer.cpp
/*! * \author ddubois * \date 12-Feb-18. */ #include "auto_allocating_buffer.hpp" #include "../../util/logger.hpp" #include "fmt/format.h" namespace nova::renderer { auto_buffer::auto_buffer(const std::string& name, VmaAllocator allocator, const VkBuffe...
/*! * \author ddubois * \date 12-Feb-18. */ #include "auto_allocating_buffer.hpp" #include "../../util/logger.hpp" #include "fmt/format.h" namespace nova::renderer { auto_buffer::auto_buffer(const std::string& name, VmaAllocator allocator, const VkBuffe...
Remove goto
Remove goto
C++
lgpl-2.1
DethRaid/vulkan-mod,DethRaid/vulkan-mod,DethRaid/vulkan-mod
2bd3824790cdf12863a1594c3a206370a4ad6557
src/Standard/Standard_Macro.hxx
src/Standard/Standard_Macro.hxx
// Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published ...
// Copyright (c) 1998-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published ...
Fix standard_macro.hxx so it allow static building on MSVC
Fix standard_macro.hxx so it allow static building on MSVC
C++
lgpl-2.1
BenoitPerrot/oce,tpaviot/oce,tpaviot/oce,BenoitPerrot/oce,tpaviot/oce,tpaviot/oce,tpaviot/oce,BenoitPerrot/oce,BenoitPerrot/oce,BenoitPerrot/oce
a2b95f7e29e416c768f184bd9076a9b941bb8c15
You-DataStore-Tests/internal/operations_test.cpp
You-DataStore-Tests/internal/operations_test.cpp
#include "stdafx.h" #include <CppUnitTest.h> #include "../mocks.h" #include "internal/operations/erase_operation.h" #include "internal/operations/post_operation.h" #include "internal/operations/put_operation.h" #include "internal/operations/serialization_operation.h" using Assert = Microsoft::VisualStudio::CppUnitTes...
#include "stdafx.h" #include <CppUnitTest.h> #include "../mocks.h" #include "internal/operations/erase_operation.h" #include "internal/operations/post_operation.h" #include "internal/operations/put_operation.h" #include "internal/operations/serialization_operation.h" using Assert = Microsoft::VisualStudio::CppUnitTes...
Use TEST_METHOD_INITIALIZE macro
Use TEST_METHOD_INITIALIZE macro
C++
mit
cs2103aug2014-w10-1c/main,cs2103aug2014-w10-1c/main
defc755f2ea52463f3b2a8388fed5f9142bd316a
Source/HeliumRain/UI/Components/FlareTradeRouteInfo.cpp
Source/HeliumRain/UI/Components/FlareTradeRouteInfo.cpp
#include "FlareTradeRouteInfo.h" #include "../../Flare.h" #include "../../Game/FlareCompany.h" #include "../../Game/FlareTradeRoute.h" #include "../../Player/FlareMenuManager.h" #include "../../Player/FlarePlayerController.h" #include "../../Game/FlareGame.h" #define LOCTEXT_NAMESPACE "FlareTradeRouteInfo" /*------...
#include "FlareTradeRouteInfo.h" #include "../../Flare.h" #include "../../Game/FlareCompany.h" #include "../../Game/FlareTradeRoute.h" #include "../../Player/FlareMenuManager.h" #include "../../Player/FlarePlayerController.h" #include "../../Game/FlareGame.h" #define LOCTEXT_NAMESPACE "FlareTradeRouteInfo" /*------...
Fix trade route padding value
Fix trade route padding value
C++
bsd-3-clause
arbonagw/HeliumRain,arbonagw/HeliumRain,arbonagw/HeliumRain,arbonagw/HeliumRain,arbonagw/HeliumRain
d400da25e03fa67101580d6152f13de7433fc506
src/hdf5/Group.cpp
src/hdf5/Group.cpp
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix/hdf5/Group.hpp> #include <nix...
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix/hdf5/Group.hpp> #include <nix...
use H5Gget_num_objs
Group::objectCount: use H5Gget_num_objs
C++
bsd-3-clause
stoewer/nix
70ba319c871b32e2f44059a2fec048d75194bba4
src/embedded.cc
src/embedded.cc
/** * Copyright (c) Jason White * * MIT License * * Description: * Path manipulation module. */ #include "embedded.h" #include <string.h> // for strcmp #include <stdlib.h> // for bsearch #include <lua.hpp> // Helper macro for adding new modules #define SCRIPT(module, path, name) \ {(module), (path), scrip...
/** * Copyright (c) Jason White * * MIT License * * Description: * Path manipulation module. */ #include "embedded.h" #include <string.h> // for strcmp #include <stdlib.h> // for bsearch #include <lua.hpp> // Helper macro for adding new modules #define SCRIPT(module, path, name) \ {(module), (path), scrip...
Clean up formatting of embedded module list
Clean up formatting of embedded module list
C++
mit
jasonwhite/bblua,jasonwhite/bblua,jasonwhite/button-lua,jasonwhite/button-lua,jasonwhite/bblua,jasonwhite/button-lua
a349687d499a76496dc9433d5437398f774f0bd4
src/glu/sgi/libnurbs/internals/knotvector.cc
src/glu/sgi/libnurbs/internals/knotvector.cc
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
/* ** License Applicability. Except to the extent portions of this file are ** made subject to an alternative license as permitted in the SGI Free ** Software License B, Version 1.1 (the "License"), the contents of this ** file are subject only to the provisions of the License. You may not use ** this file except in co...
Initialize members of class Knotvector.
glu/sgi: Initialize members of class Knotvector.
C++
mit
metora/MesaGLSLCompiler,jbarczak/glsl-optimizer,adobe/glsl2agal,KTXSoftware/glsl2agal,tokyovigilante/glsl-optimizer,wolf96/glsl-optimizer,jbarczak/glsl-optimizer,wolf96/glsl-optimizer,zz85/glsl-optimizer,zeux/glsl-optimizer,zeux/glsl-optimizer,djreep81/glsl-optimizer,dellis1972/glsl-optimizer,benaadams/glsl-optimizer,m...
33a2ac58a6ddd64ba02b4ffd0d00edd6e6e3becd
src/insert_mode.cc
src/insert_mode.cc
/* 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 <ncurses.h> #include "concat_c.hh" #include "configuration.hh" #include "contents.hh" #include "file_con...
/* 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 <ncurses.h> #include "concat_c.hh" #include "configuration.hh" #include "contents.hh" #include "file_con...
Add `override` keyword to help compilation errors
Add `override` keyword to help compilation errors
C++
mpl-2.0
czipperz/vick-insert-mode
88b41063cdbdd254477b2cb749735378c3a20dd6
src/lib/mongoBackend/MongoCommonRegister.cpp
src/lib/mongoBackend/MongoCommonRegister.cpp
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
REMOVE obsolete comment
REMOVE obsolete comment
C++
agpl-3.0
telefonicaid/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion
ff94d3d7d94f1d7703ed3f916936f8e1a0d95bdf
creator/plugins/docks/propertiesdock/propertywidgetitems/qsizefpropertywidgetitem.cpp
creator/plugins/docks/propertiesdock/propertywidgetitems/qsizefpropertywidgetitem.cpp
/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 ...
/* <one line to give the program's name and a brief idea of what it does.> Copyright (C) <year> <name of author> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 ...
Fix the QSizeF PWI
Fix the QSizeF PWI
C++
lgpl-2.1
KDE/gluon,cgaebel/gluon,cgaebel/gluon,pranavrc/example-gluon,pranavrc/example-gluon,KDE/gluon,KDE/gluon,pranavrc/example-gluon,cgaebel/gluon,cgaebel/gluon,KDE/gluon,pranavrc/example-gluon
54b068c0329112fadb0b63ceacb2d1be9a2330bd
core/smartview/RuleCondition.cpp
core/smartview/RuleCondition.cpp
#include <core/stdafx.h> #include <core/smartview/RuleCondition.h> #include <core/smartview/RestrictionStruct.h> #include <core/interpret/guid.h> namespace smartview { PropertyName::PropertyName(const std::shared_ptr<binaryParser>& parser) { Kind = blockT<BYTE>::parse(parser); Guid = blockT<GUID>::parse(parser);...
#include <core/stdafx.h> #include <core/smartview/RuleCondition.h> #include <core/smartview/RestrictionStruct.h> #include <core/interpret/guid.h> namespace smartview { PropertyName::PropertyName(const std::shared_ptr<binaryParser>& parser) { Kind = blockT<BYTE>::parse(parser); Guid = blockT<GUID>::parse(parser);...
Fix block tree for rule condition
Fix block tree for rule condition
C++
mit
stephenegriffin/mfcmapi,stephenegriffin/mfcmapi,stephenegriffin/mfcmapi
8b23a3f6014dce0ae22227674821452ce399fcc9
src/geom/edge.C
src/geom/edge.C
// The libMesh Finite Element Library. // Copyright (C) 2002-2020 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
// The libMesh Finite Element Library. // Copyright (C) 2002-2020 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
remove inadvertant set_p_level() call
Edge::side_ptr(): remove inadvertant set_p_level() call This change was made by accident in f1782255be while I was trying to update the various Elem::build_side_ptr() routines in #2592, so this simply reverts that change. There appears to be larger issues with the consistency of the Elem::side_ptr() method and settin...
C++
lgpl-2.1
libMesh/libmesh,BalticPinguin/libmesh,roystgnr/libmesh,BalticPinguin/libmesh,libMesh/libmesh,dschwen/libmesh,jwpeterson/libmesh,roystgnr/libmesh,BalticPinguin/libmesh,BalticPinguin/libmesh,roystgnr/libmesh,jwpeterson/libmesh,libMesh/libmesh,dschwen/libmesh,libMesh/libmesh,dschwen/libmesh,roystgnr/libmesh,jwpeterson/lib...
6e73b6097e1ad21d7cccc648404a82afe3e2ab4f
server/pipe.cpp
server/pipe.cpp
// // // #include <thread> #include "device-codec.hpp" #include "device-id.h" #include "log-wrapper.hpp" #include "pipe.hpp" namespace led_d { namespace { using char_t = core::device::codec_t::char_t; char_t get_char (const core::matrix_t::column_t &column) { char_t res = 0, mask = 1; fo...
// // // #include <thread> #include "device-codec.hpp" #include "device-id.h" #include "log-wrapper.hpp" #include "pipe.hpp" namespace led_d { namespace { using char_t = core::device::codec_t::char_t; char_t get_char (const core::matrix_t::column_t &column) { char_t res = 0, mask = 1; fo...
Fix submatrix flag
server: Fix submatrix flag
C++
mit
cppcoder123/led-server,cppcoder123/led-server,cppcoder123/led-server
ef07524100927b4437ce399e41f9ce1a4c6ba0d7
Code/Common/mvdImageViewManipulator.cxx
Code/Common/mvdImageViewManipulator.cxx
/*========================================================================= Program: Monteverdi2 Language: C++ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See Copyright.txt for details. Monteverdi2 is distributed under the CeCILL licence version 2. See Licence_CeCILL_V2-en....
/*========================================================================= Program: Monteverdi2 Language: C++ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See Copyright.txt for details. Monteverdi2 is distributed under the CeCILL licence version 2. See Licence_CeCILL_V2-en....
remove commented verbosity
ENH: remove commented verbosity
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
bbf822a6777256017f968469411d3db630087e07
cpp/patch_up_ppns_for_k10plus.cc
cpp/patch_up_ppns_for_k10plus.cc
/** \file patch_up_ppns_for_k10plus.cc * \brief Swaps out all persistent old PPN's with new PPN's. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2019, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the GN...
/** \file patch_up_ppns_for_k10plus.cc * \brief Swaps out all persistent old PPN's with new PPN's. * \author Dr. Johannes Ruscheinski */ /* Copyright (C) 2019, Library of the University of Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the GN...
Patch new_journal_alert notification databases.
Patch new_journal_alert notification databases.
C++
agpl-3.0
ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools
4d92f445ce8c6bdeb6ac781b88d80cdf09b68715
src/clients/earthWatcher/kml.cc
src/clients/earthWatcher/kml.cc
/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions * * This file is part of WATCHER. * * WATCHER 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 Li...
/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions * * This file is part of WATCHER. * * WATCHER 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 Li...
remove commented out code
remove commented out code
C++
agpl-3.0
glawler/watcher-visualization,glawler/watcher-visualization,glawler/watcher-visualization,glawler/watcher-visualization,glawler/watcher-visualization
ec54a19ee787844e0342d57446589b2d4f11aefa
tests/server/mediaElement.cpp
tests/server/mediaElement.cpp
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
/* * (C) Copyright 2014 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
Add more connection tests
MediaElement: Add more connection tests Change-Id: I0ba4c30bba40d1eb4f1f70922c4a208676b4cd29
C++
apache-2.0
Kurento/kms-core,ESTOS/kms-core,Kurento/kms-core,shelsonjava/kms-core,Kurento/kms-core,TribeMedia/kms-core,ESTOS/kms-core,ESTOS/kms-core,shelsonjava/kms-core,TribeMedia/kms-core,TribeMedia/kms-core,shelsonjava/kms-core,Kurento/kms-core,shelsonjava/kms-core,ESTOS/kms-core,TribeMedia/kms-core
53aa5b63a9ee971727d2ff62a25dacc3abf0286b
src/icu_util.cc
src/icu_util.cc
// Copyright 2013 the V8 project authors. 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 ...
// Copyright 2013 the V8 project authors. 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 ...
Clean up ICU data tables on shutdown.
Clean up ICU data tables on shutdown. This is only used by d8 if compiled with external data tables, or an embedder that uses external data tables and v8's version of ICU. BUG=none R=svenpanne@chromium.org LOG=n Review URL: https://codereview.chromium.org/210973007 git-svn-id: b158db1e4b4ab85d4c9e510fdef4b1e8c614b1...
C++
mit
UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh
ba8c205253b35b05a17024edd831e49340a0dfc9
tests/test_serialize_file.cpp
tests/test_serialize_file.cpp
#define BOOST_TEST_MODULE "test_serialize_file" #ifdef UNITTEST_FRAMEWORK_LIBRARY_EXIST #include <boost/test/unit_test.hpp> #else #define BOOST_TEST_NO_LIB #include <boost/test/included/unit_test.hpp> #endif #include <toml.hpp> #include <iostream> #include <fstream> BOOST_AUTO_TEST_CASE(test_example) { const auto...
#define BOOST_TEST_MODULE "test_serialize_file" #ifdef UNITTEST_FRAMEWORK_LIBRARY_EXIST #include <boost/test/unit_test.hpp> #else #define BOOST_TEST_NO_LIB #include <boost/test/included/unit_test.hpp> #endif #include <toml.hpp> #include <iostream> #include <fstream> BOOST_AUTO_TEST_CASE(test_example) { const auto...
change CRLF into LF before comparison
fix: change CRLF into LF before comparison
C++
mit
ToruNiina/toml11
71fd904be5b287e036565be72f836b2e5fd3dca7
urbackupclient/ClientHash.cpp
urbackupclient/ClientHash.cpp
#include "ClientHash.h" #include "../Interface/File.h" #include "../urbackupcommon/os_functions.h" #include <memory> #include <cstring> #include <assert.h> #include "../urbackupcommon/ExtentIterator.h" #include "../fileservplugin/chunk_settings.h" #include "../stringtools.h" #include "../common/adler32.h" #in...
#include "ClientHash.h" #include "../Interface/File.h" #include "../urbackupcommon/os_functions.h" #include <memory> #include <cstring> #include <assert.h> #include "../urbackupcommon/ExtentIterator.h" #include "../fileservplugin/chunk_settings.h" #include "../stringtools.h" #include "../common/adler32.h" #in...
Remove debug logging
Remove debug logging
C++
agpl-3.0
uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend
6b96ae27bcf197ed33c8be948e45ab730ae8b996
c7a/common/concurrent_queue.hpp
c7a/common/concurrent_queue.hpp
/******************************************************************************* * c7a/common/concurrent_queue.hpp * * Part of Project c7a. * * Copyright (C) 2015 Timo Bingmann <tb@panthema.net> * * This file has no license. Only Chuck Norris can compile it. *****************************************************...
/******************************************************************************* * c7a/common/concurrent_queue.hpp * * Part of Project c7a. * * Copyright (C) 2015 Timo Bingmann <tb@panthema.net> * * This file has no license. Only Chuck Norris can compile it. *****************************************************...
remove usage of tbb::concurrent_queue, as it seems to be less immune to race conditions than the other implementation (?)
remove usage of tbb::concurrent_queue, as it seems to be less immune to race conditions than the other implementation (?)
C++
bsd-2-clause
manpen/thrill,manpen/thrill,manpen/thrill,manpen/thrill,manpen/thrill
7debf628142d15717669707c9d1d6b678751070c
src/matching.cc
src/matching.cc
#include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include <numeric> #include <sstream> #include <string> #include <vector> using Row = std::vector<double>; using Rows = std::vector<Row>; double distance(const Row& lhs, const Row& rhs) { assert(lhs.size() == rhs.size()); auto sqdists =...
#include <algorithm> #include <cassert> #include <cmath> #include <iostream> #include <iterator> #include <numeric> #include <sstream> #include <string> #include <vector> using Row = std::vector<double>; using Rows = std::vector<Row>; double distance(const Row& lhs, const Row& rhs) { assert(lhs.size() == rhs.size()...
Solve "Matching Datasets" and "Matching Datasets++".
Solve "Matching Datasets" and "Matching Datasets++".
C++
mit
kdungs/codecon
b36dcccc49185e12452360264ca996c8f9461a95
src/primecount.cpp
src/primecount.cpp
/// /// @file primecount.cpp /// @brief primecount C++ API /// /// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primecount-internal.hpp> #include <primecount.hpp> #include <calculato...
/// /// @file primecount.cpp /// @brief primecount C++ API /// /// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #include <primecount-internal.hpp> #include <primecount.hpp> #include <calculato...
Fix get_num_threads() static compilation issue
Fix get_num_threads() static compilation issue The previous code used threads_ = 1 on Linux when compiled statically even if OpenMP was enabled and the CPU had multiple CPU cores.
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
2e6a3752ab9415e15eb408b683e782aba27fc49b
src/qt/bitcoin.cpp
src/qt/bitcoin.cpp
/* * W.J. van der Laan 2011-2012 */ #include "bitcoingui.h" #include "clientmodel.h" #include "walletmodel.h" #include "optionsmodel.h" #include "guiutil.h" #include "guiconstants.h" #include "init.h" #include "ui_interface.h" #include "qtipcserver.h" #include <QApplication> #include <QMessageBox> #include <QTextCo...
/* * W.J. van der Laan 2011-2012 */ #include "bitcoingui.h" #include "clientmodel.h" #include "walletmodel.h" #include "optionsmodel.h" #include "guiutil.h" #include "guiconstants.h" #include "init.h" #include "ui_interface.h" #include "qtipcserver.h" #include <QApplication> #include <QMessageBox> #include <QTextCo...
Update bitcoin.cpp
Update bitcoin.cpp
C++
mit
Capricoinofficial/Capricoin,Capricoinofficial/Capricoin,Capricoinofficial/Capricoin,Capricoinofficial/Capricoin,Capricoinofficial/Capricoin
1d397be28d62889ca996af2cf5d79c1962841a44
src/options.cpp
src/options.cpp
#include "StdAfx.h" /* Command line and options file option handling for ultracomm. */ UltracommOptions::UltracommOptions(const int& argc, char* argv[]) { //string appName = boost::filesystem::basename(argv[0]); // Command-line-only options. po::options_description cmdonly("Ultracomm command-line-only ...
#include "StdAfx.h" /* Command line and options file option handling for ultracomm. */ UltracommOptions::UltracommOptions(const int& argc, char* argv[]) { //string appName = boost::filesystem::basename(argv[0]); // Command-line-only options. po::options_description cmdonly("Ultracomm command-line-only ...
Make datatype a required program parameter.
Make datatype a required program parameter.
C++
bsd-3-clause
rsprouse/ultracomm,rsprouse/ultracomm,rsprouse/ultracomm
70db3cf9b8ff9efd27325d82599ad4c60d0289d2
src/patches.cpp
src/patches.cpp
#include "patches.h" #include <QFile> #include <QDialog> #include <QVBoxLayout> #include <QComboBox> #include <QLabel> #include <QDialogButtonBox> #include <QMessageBox> #include <QtEndian> #define PATCH_PATH ":patches/" #define PATCH_EXTRA PATCH_PATH "maphacks-" const QStringList extraDataPatches = { PATCH_EXTR...
#include "patches.h" #include <QFile> #include <QDialog> #include <QVBoxLayout> #include <QComboBox> #include <QLabel> #include <QDialogButtonBox> #include <QMessageBox> #include <QtEndian> #define PATCH_PATH ":patches/" #define PATCH_EXTRA PATCH_PATH "maphacks-" const QStringList extraDataPatches = { PATCH_EXTR...
handle unexpected EOF in ips patches
handle unexpected EOF in ips patches (even though all used patches are internal and unlikely to be corrupt)
C++
mit
devinacker/kale,devinacker/kale
a4bc900d67e449ba054a15b42679689b127dcdbf
src/pathbar.cpp
src/pathbar.cpp
/* * Copyright (C) 2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any lat...
/* * Copyright (C) 2016 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any lat...
Copy selected pathbar text to selection clipboard
Copy selected pathbar text to selection clipboard Closes https://github.com/lxde/pcmanfm-qt/issues/604 Also use `QTimer::singleSho()` to focus the line-edit because otherwise, it might not have time to get focused if the main window didn't have focus (this can happen with some window managers like Enlightenment's).
C++
lgpl-2.1
lxde/libfm-qt,lxde/libfm-qt
5630e80b1d0e83708ca5d6fa84d5647051dedcbb
src/reql/btree.hpp
src/reql/btree.hpp
/* Copyright 2014-2015 Adam Grandquist 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, sof...
/* Copyright 2014-2015 Adam Grandquist 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, sof...
Add server info and flatten sequences.
Add server info and flatten sequences.
C++
apache-2.0
grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core
116c16e00f16115a1c2a1c8de2984ee4a47d9deb
src/sendwindow.hpp
src/sendwindow.hpp
// Copyright 2016 Peter Georg // // 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 ...
// Copyright 2016 Peter Georg // // 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 ...
Add partial send to SendWindow
Add partial send to SendWindow
C++
apache-2.0
pjgeorg/pMR,pjgeorg/pMR,pjgeorg/pMR
d756dcf41e19cbe819a66fb482c8897d6effb0fe
src/statistics.hpp
src/statistics.hpp
#pragma once #include <atomic> #include <mutex> #include <vector> #include "transforms.hpp" using namespace ranger; // HEIGHT | VALUE > stdout template <typename Block> struct dumpOutputValuesOverHeight : public TransformBase<Block> { void operator() (const Block& block) { uint32_t height = 0xffffffff; if (this-...
#pragma once #include <atomic> #include <mutex> #include <vector> #include "transforms.hpp" using namespace ranger; // HEIGHT | VALUE > stdout template <typename Block> struct dumpOutputValuesOverHeight : public TransformBase<Block> { void operator() (const Block& block) { uint32_t height = 0xffffffff; if (this-...
Fix missing lock guard (#30)
Fix missing lock guard (#30) This commit fixes a bug where the lock guard (for concurrently accessing the same scope from different threads) had basically no effect, due to being bound to a temporary only.
C++
isc
dcousens/fast-dat-parser,dcousens/fast-dat-parser,dcousens/fast-dat-parser
f0c1b240348d4fc6ada47452883a22cea891350e
src/program.cpp
src/program.cpp
/*! @file program.cpp @brief Implementation of Program class */ #include "version.hpp" #include "program.hpp" #include "pathtype.hpp" #include "genotype.hpp" #include "gridsearch.hpp" #include "gradient_descent.hpp" #include <wtl/exception.hpp> #include <wtl/debug.hpp> #include <wtl/iostr.hpp> #include <wtl/chrono...
/*! @file program.cpp @brief Implementation of Program class */ #include "version.hpp" #include "program.hpp" #include "pathtype.hpp" #include "genotype.hpp" #include "gridsearch.hpp" #include "gradient_descent.hpp" #include <wtl/exception.hpp> #include <wtl/debug.hpp> #include <wtl/iostr.hpp> #include <wtl/chrono...
Support stdin with -g
:sparkles: Support stdin with -g
C++
mit
heavywatal/likeligrid,heavywatal/likeligrid
0783becfdd063bc410a9aff820933c7fd36dc48b
storage/src/vespa/storage/distributor/operations/external/updateoperation.cpp
storage/src/vespa/storage/distributor/operations/external/updateoperation.cpp
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "updateoperation.h" #include <vespa/document/fieldvalue/document.h> #include <vespa/storageapi/message/bucket.h> #include <vespa/storageapi/message/persistence.h> #include <vespa/storage/dist...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "updateoperation.h" #include <vespa/document/fieldvalue/document.h> #include <vespa/storageapi/message/bucket.h> #include <vespa/storageapi/message/persistence.h> #include <vespa/storage/dist...
Upgrade log level to error for detected update inconstencies
Upgrade log level to error for detected update inconstencies
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
2584f41e80ac96ccd58293acd9187169054e8bee
chrome/browser/gtk/infobar_gtk.cc
chrome/browser/gtk/infobar_gtk.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/gtk/infobar_gtk.h" #include <gtk/gtk.h> #include "base/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/brows...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/gtk/infobar_gtk.h" #include <gtk/gtk.h> #include "base/gfx/gtk_util.h" #include "base/string_util.h" #include "chrome/brows...
Set infobar text to black (overriding system default color).
Set infobar text to black (overriding system default color). Since we set the background color, we can't go letting the theme choose the text color unless we want to potentially end up with white on yellow. Review URL: http://codereview.chromium.org/108034 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@15320 0...
C++
bsd-3-clause
pozdnyakov/chromium-crosswalk,patrickm/chromium.src,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,rogerwang/chromium,crosswalk-project/chromium-crosswalk-efl,TheTypoMaster/...
4bafafbe624f1d56ff6a74c01efdea2ce39aca49
chrome/browser/net/cache_stats.cc
chrome/browser/net/cache_stats.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/net/cache_stats.h" #include "base/metrics/histogram.h" #include "base/stl_util.h" #include "base/string_number_conversions.h...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/net/cache_stats.h" #include "base/metrics/histogram.h" #include "base/stl_util.h" #include "base/string_number_conversions.h...
Fix CacheStats histogram name. R=jar@chromium.org Review URL: https://chromiumcodereview.appspot.com/10829113
Fix CacheStats histogram name. R=jar@chromium.org Review URL: https://chromiumcodereview.appspot.com/10829113 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@149339 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,patrickm/chromium.src,Fireblend/chromium-crosswalk,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,zcbenz/cefode-chromium,littlstar/chromium.src,ltilve/chromium,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,axing...
888baff5b4265625d15ec74b4394b351cf2ec776
chrome/renderer/blocked_plugin.cc
chrome/renderer/blocked_plugin.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/blocked_plugin.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/string_piece.h" #include "base...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/blocked_plugin.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/string_piece.h" #include "base...
Tweak heuristic to hide fixed-size parent <div>s for one more case.
Tweak heuristic to hide fixed-size parent <div>s for one more case. BUG=http://code.google.com/p/chromium/issues/detail?id=63695 TEST=http://www.zontera.com/banners/clients_work/floating_flash/centered/dove/ Review URL: http://codereview.chromium.org/6266009 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@71761...
C++
bsd-3-clause
crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,patrickm/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,patrickm/chromium.src,dednal/chromium.src,robclark/chromium,junmin-zhu/chromium-rivertrail,Jonekee/ch...
2cd2bdff2124eeb3c2980f829d6577e784a22608
lib/primesieve/src/PrimeGenerator.cpp
lib/primesieve/src/PrimeGenerator.cpp
/// /// @file PrimeGenerator.cpp /// Generates the primes inside [start, stop] and stores them /// in a vector. After the primes have been stored in the /// vector primesieve::iterator iterates over the vector and /// returns the primes. When there are no more primes left in /// the ...
/// /// @file PrimeGenerator.cpp /// Generates the primes inside [start, stop] and stores them /// in a vector. After the primes have been stored in the /// vector primesieve::iterator iterates over the vector and /// returns the primes. When there are no more primes left in /// the ...
Update to latest libprimesieve
Update to latest libprimesieve
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
8e73e1165cef2ae8986b566eac6a679c9062864e
Tensile/Source/lib/include/Tensile/TensorDescriptor.hpp
Tensile/Source/lib/include/Tensile/TensorDescriptor.hpp
/******************************************************************************* * * MIT License * * Copyright 2019-2020 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
/******************************************************************************* * * MIT License * * Copyright 2019-2020 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal *...
Test removal of assertion for sizes > 0
Test removal of assertion for sizes > 0
C++
mit
ROCmSoftwarePlatform/Tensile,ROCmSoftwarePlatform/Tensile,ROCmSoftwarePlatform/Tensile
484c1cd8c4d64057679e2c8fd75ece98f085d4b9
console/loop.cpp
console/loop.cpp
/************************************************************************************* * Copyright (C) 2012 by Alejandro Fiestas Olivares <afiestas@kde.org> * * * * This program is free software; you can redistribute it ...
/************************************************************************************* * Copyright (C) 2012 by Alejandro Fiestas Olivares <afiestas@kde.org> * * * * This program is free software; you can redistribute it ...
Improve preferred modes
Improve preferred modes - add missing implementation of KScreen::Output::preferredModes() - improve kscreen-console to show IDs of all preferred modes - fix XRandR backend to clear m_preferredModes before re-loading them all again
C++
lgpl-2.1
davidedmundson/test,davidedmundson/test,davidedmundson/test
5a5794b68cb9e0201802b29d06e33b632e4a200b
workbench_sarajevo.cpp
workbench_sarajevo.cpp
// WorkBench: benchmark workspaces by optimizing the PDF parameters wrt the data // // call from command line like, for instance: // root -l 'workbench.cpp()' R__LOAD_LIBRARY(libRooFit) #include <chrono> #include <iostream> #include <sstream> #include <fstream> #include <string> #include <list> #include <unistd.h> /...
// WorkBench: benchmark workspaces by optimizing the PDF parameters wrt the data // // call from command line like, for instance: // root -l 'workbench.cpp()' R__LOAD_LIBRARY(libRooFit) #include <chrono> #include <iostream> #include <sstream> #include <fstream> #include <string> #include <list> #include <unistd.h> /...
Set minimizer type to Minuit2 for workbench
Set minimizer type to Minuit2 for workbench
C++
apache-2.0
roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts,roofit-dev/parallel-roofit-scripts
cd274b3e0682d6ffb554bd83fe90f041cb053e34
src/usrp_source.cc
src/usrp_source.cc
/* * Copyright (c) 2010, Joshua Lackey * Copyright (c) 2010-2011, Thomas Tsou * 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 ab...
/* * Copyright (c) 2010, Joshua Lackey * Copyright (c) 2010-2011, Thomas Tsou * 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 ab...
add underrun and other error msg handling
uhd: add underrun and other error msg handling
C++
bsd-2-clause
ttsou/kalibrate-uhd,ttsou/kalibrate-uhd
2b3dbfa5a63cb5a6625ec00294ebd933800f0255
src/util/asmap.cpp
src/util/asmap.cpp
// Copyright (c) 2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <vector> #include <assert.h> #include <crypto/common.h> namespace { uint32_t DecodeBits(std::vector<bool>::const_iterat...
// Copyright (c) 2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <vector> #include <assert.h> #include <crypto/common.h> namespace { constexpr uint32_t INVALID = 0xFFFFFFFF; uint32_t ...
Deal with decoding failures explicitly in asmap Interpret
Deal with decoding failures explicitly in asmap Interpret
C++
mit
MeshCollider/bitcoin,pstratem/bitcoin,MeshCollider/bitcoin,prusnak/bitcoin,MarcoFalke/bitcoin,alecalve/bitcoin,namecoin/namecoin-core,anditto/bitcoin,GroestlCoin/GroestlCoin,ElementsProject/elements,fujicoin/fujicoin,dscotese/bitcoin,jamesob/bitcoin,MeshCollider/bitcoin,domob1812/namecore,prusnak/bitcoin,litecoin-proje...
223b41490b96f991f911ea94190e741fea30c30e
src/Nazara/Audio/Formats/sndfileLoader.cpp
src/Nazara/Audio/Formats/sndfileLoader.cpp
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Audio module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Audio/Formats/sndfileLoader.hpp> #include <Nazara/Audio/Algorithm.hpp> #include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio...
// Copyright (C) 2020 Jérôme Leclercq // This file is part of the "Nazara Engine - Audio module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Audio/Formats/sndfileLoader.hpp> #include <Nazara/Audio/Algorithm.hpp> #include <Nazara/Audio/Audio.hpp> #include <Nazara/Audio...
Fix sndfile inclusion
Fix sndfile inclusion
C++
mit
DigitalPulseSoftware/NazaraEngine
d46f4eac6871bdadbbe8d45f5665062f572e8aaf
Application/cmbNucImporter.cxx
Application/cmbNucImporter.cxx
#include "cmbNucImporter.h" #include "cmbNucCore.h" #include "inpFileIO.h" #include "cmbNucMainWindow.h" #include "cmbNucInputListWidget.h" #include "cmbNucAssembly.h" #include "cmbNucInputPropertiesWidget.h" #include "xmlFileIO.h" #include "cmbNucDefaults.h" #include "cmbNucMaterialColors.h" #include "cmbNucDuctLibrar...
#include "cmbNucImporter.h" #include "cmbNucCore.h" #include "inpFileIO.h" #include "cmbNucMainWindow.h" #include "cmbNucInputListWidget.h" #include "cmbNucAssembly.h" #include "cmbNucInputPropertiesWidget.h" #include "xmlFileIO.h" #include "cmbNucDefaults.h" #include "cmbNucMaterialColors.h" #include "cmbNucDuctLibrar...
fix chash
fix chash
C++
bsd-3-clause
Sprunth/RGG,Sprunth/RGG,Sprunth/RGG,Sprunth/RGG
1b419d18f8fa8e27b25c1d7cd62e54faaa9bd497
src/QtLocationPlugin/GoogleMapProvider.cpp
src/QtLocationPlugin/GoogleMapProvider.cpp
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ***************************************...
Add new errorOccurred for Qt 5.15 builds
GoogleMapProvider: Add new errorOccurred for Qt 5.15 builds Signed-off-by: Patrick José Pereira <c2b7559029b4032a4ce95718d7d3bc36c8a1d7c1@gmail.com>
C++
agpl-3.0
Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol
f400932348661dd800e191a53b4eab13cea50da8
Plugins/org.mitk.gui.qt.photoacoustics.simulation/src/internal/PASimulator.cpp
Plugins/org.mitk.gui.qt.photoacoustics.simulation/src/internal/PASimulator.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...
replace char array with std string
replace char array with std string
C++
bsd-3-clause
MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,fmilano/mitk,MITK/MITK,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk
268a29a7eaaa52c09223e3417c67592667139f1b
src/wmcontainer.cc
src/wmcontainer.cc
/* * IceWM * * Copyright (C) 1997-2001 Marko Macek */ #include "config.h" #include "ylib.h" #include <X11/keysym.h> #include "wmcontainer.h" #include "wmframe.h" #include "yxapp.h" #include "prefs.h" #include <stdio.h> YClientContainer::YClientContainer(YWindow *parent, YFrameWindow *frame) :YWindow(parent) { ...
/* * IceWM * * Copyright (C) 1997-2001 Marko Macek */ #include "config.h" #include "ylib.h" #include <X11/keysym.h> #include "wmcontainer.h" #include "wmframe.h" #include "yxapp.h" #include "prefs.h" #include <stdio.h> YClientContainer::YClientContainer(YWindow *parent, YFrameWindow *frame) :YWindow(parent) { ...
remove unnecessary check for frame
remove unnecessary check for frame
C++
lgpl-2.1
dicej/icewm,dicej/icewm,dicej/icewm,dicej/icewm
f61bd63d59eaa0c769e037ed39858429b46db0a7
recognition/include/pcl/recognition/impl/hv/hv_papazov.hpp
recognition/include/pcl/recognition/impl/hv/hv_papazov.hpp
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Use fully qualified boost::tie issue reported for boost 1.49 and Windows
Use fully qualified boost::tie issue reported for boost 1.49 and Windows git-svn-id: 1af002208e930b4d920e7c2b948d1e98a012c795@5279 a9d63959-f2ad-4865-b262-bf0e56cfafb6
C++
bsd-3-clause
psoetens/pcl-svn,psoetens/pcl-svn,psoetens/pcl-svn,psoetens/pcl-svn,psoetens/pcl-svn
b1c6a47a0d6b816a9bc2d269b5c2e8a657441a37
trunk/libmesh/src/numerics/petsc_nonlinear_solver.C
trunk/libmesh/src/numerics/petsc_nonlinear_solver.C
// $Id$ // The libMesh Finite Element Library. // Copyright (C) 2002-2008 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
// $Id$ // The libMesh Finite Element Library. // Copyright (C) 2002-2008 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
make petsc nonlinear solver work with adaptivity
make petsc nonlinear solver work with adaptivity git-svn-id: e88a1e38e13faf406e05cc89eca8dd613216f6c4@3073 434f946d-2f3d-0410-ba4c-cb9f52fb0dbf
C++
lgpl-2.1
BalticPinguin/libmesh,pbauman/libmesh,roystgnr/libmesh,balborian/libmesh,svallaghe/libmesh,libMesh/libmesh,dschwen/libmesh,hrittich/libmesh,balborian/libmesh,svallaghe/libmesh,hrittich/libmesh,aeslaughter/libmesh,pbauman/libmesh,capitalaslash/libmesh,friedmud/libmesh,libMesh/libmesh,coreymbryant/libmesh,balborian/libme...
8e5eacc1364632e870bffd3aff1a601dbf2f67dd
decoder/vaapidecoder_vp9.cpp
decoder/vaapidecoder_vp9.cpp
/* * Copyright (C) 2013-2014 Intel Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
/* * Copyright (C) 2013-2014 Intel Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
fix compiler issue
vp9dec: fix compiler issue Function resize() has been removed. Use setCrop() instead. Change-Id: I85f05e104a62b052d2d00617e6226f208484abbe Signed-off-by: Zhong Li <ad6bffae321e88d39f25028f12e29bb1c91acd98@intel.com>
C++
apache-2.0
clearlylin/libyami,clearlylin/libyami,lizhong1008/libyami,YuJiankang/libyami,chivakker/libyami,01org/libyami,yizhouwei/libyami,lizhong1008/libyami,zhaobob/libyami,clearlylin/libyami,lizhong1008/libyami,seanvk/libyami,seanvk/libyami,stripes416/libyami,dspmeng/libyami,zhaobob/libyami,YuJiankang/libyami,yizhouwei/libyami,...
0034add9e55933d716519a1998319f89fefdc499
urmem.hpp
urmem.hpp
#ifndef URMEM_H_ #define URMEM_H_ #ifdef _WIN32 #include <windows.h> #else #include <dlfcn.h> #include <sys/stat.h> #include <sys/mman.h> #include <unistd.h> #endif #include <vector> #include <iterator> #include <algorithm> #include <memory> #include <mutex> class urmem { public: using address_t = unsigned long; ...
#ifndef URMEM_H_ #define URMEM_H_ #ifdef _WIN32 #include <windows.h> #else #include <dlfcn.h> #include <sys/stat.h> #include <sys/mman.h> #include <unistd.h> #endif #include <vector> #include <iterator> #include <algorithm> #include <memory> #include <mutex> class urmem { public: using address_t = unsigned long; ...
Add unprotect_memory method
Add unprotect_memory method
C++
mit
urShadow/urmem
e9c81095481a9d234a51fed7d7a6fae1c2f99b03
akregator/src/tagfolderitem.cpp
akregator/src/tagfolderitem.cpp
/* This file is part of Akregator. Copyright (C) 2005 Frank Osterfeld <frank.osterfeld at kdemail.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lic...
/* This file is part of Akregator. Copyright (C) 2005 Frank Osterfeld <frank.osterfeld at kdemail.net> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the Lic...
use normal folder icon for tag folders
use normal folder icon for tag folders svn path=/trunk/KDE/kdepim/akregator/; revision=428827
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
496989d358bb06e34ba55e271ed92b6742dff37c
examples/ccsd.cxx
examples/ccsd.cxx
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/ /** \addtogroup examples * @{ * \defgroup CCSD * @{ * \brief A Coupled Cluster Singles and Doubles contraction code extracted from Aquarius */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <math.h> #inc...
/*Copyright (c) 2011, Edgar Solomonik, all rights reserved.*/ /** \addtogroup examples * @{ * \defgroup CCSD * @{ * \brief A Coupled Cluster Singles and Doubles contraction code extracted from Aquarius */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string> #include <math.h> #inc...
Make CCSD use schedule record
Make CCSD use schedule record
C++
bsd-2-clause
devinamatthews/ctf,devinamatthews/ctf,devinamatthews/ctf
89371385dd2bcb02a99a1308ca809cbbe69b6f0f
examples/mongocxx/connect.cpp
examples/mongocxx/connect.cpp
// Copyright 2015 MongoDB Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
// Copyright 2015 MongoDB Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
Update SSL config comments in connection example program
minor: Update SSL config comments in connection example program
C++
apache-2.0
xdg/mongo-cxx-driver,mongodb/mongo-cxx-driver,acmorrow/mongo-cxx-driver,mongodb/mongo-cxx-driver,xdg/mongo-cxx-driver,acmorrow/mongo-cxx-driver,mongodb/mongo-cxx-driver,acmorrow/mongo-cxx-driver,xdg/mongo-cxx-driver,acmorrow/mongo-cxx-driver,xdg/mongo-cxx-driver,mongodb/mongo-cxx-driver
7c9ca68bc22e7b88d694a412c460bb4b903a6bb3
include/BinaryTree.hpp
include/BinaryTree.hpp
#include <iostream> #include <string> #include <fstream> #include <cstdint> using namespace std; template <typename T> struct Node { Node *left; Node *right; T data; }; template <typename T> class BinaryTree { private: int CountElements = 0; public: BinaryTree(); ~BinaryTree(); BinaryTree(const std::ini...
#include <iostream> #include <string> #include <fstream> #include <cstdint> using namespace std; template <typename T> struct Node { Node *left; Node *right; T data; }; template <typename T> class BinaryTree { private: Node<T>*root_(); int CountElements = 0; public: BinaryTree(); ~BinaryTree(); BinaryT...
Update BinaryTree.hpp
Update BinaryTree.hpp
C++
mit
rtv22/BinaryTree_S
ae49eaac765b3073d682b9d88e3e658811557421
examples/src/apriltag_rgb.cpp
examples/src/apriltag_rgb.cpp
#include <chrono> #include <iostream> // Inludes common necessary includes for development using depthai library #include "depthai/depthai.hpp" int main() { using namespace std; using namespace std::chrono; // Create pipeline dai::Pipeline pipeline; // Define sources and outputs auto camRgb ...
#include <chrono> #include <iostream> // Inludes common necessary includes for development using depthai library #include "depthai/depthai.hpp" int main() { using namespace std; using namespace std::chrono; // Create pipeline dai::Pipeline pipeline; // Define sources and outputs auto camRgb ...
Update linking
Update linking
C++
mit
luxonis/depthai-core,luxonis/depthai-core,luxonis/depthai-core
33ae1cb0efe0b82939ecb278e3c0de2294cca3e5
include/BinaryTree.hpp
include/BinaryTree.hpp
#include <iostream> #include <string> #include <fstream> #include <cstdint> using namespace std; template <typename T> struct Node { Node *left; Node *right; T data; }; template <typename T> class BinaryTree { private: Node<T>*root; int CountElements = 0; public: BinaryTree(); ~BinaryTree(); Node<T>* ro...
#include <iostream> #include <string> #include <fstream> #include <cstdint> using namespace std; template <typename T> struct Node { Node *left; Node *right; T data; }; template <class T> class BinaryTree { private: Node<T>*root; int CountElements = 0; public: BinaryTree(); ~BinaryTree(); Node<T>* root_...
Update BinaryTree.hpp
Update BinaryTree.hpp
C++
mit
rtv22/BinaryTree_S
01f06abf31f66dc3f2fdfab38082021d6fa0116f
distbench_node_manager.cc
distbench_node_manager.cc
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2021 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Fix typo of missing return statement for error handling.
distbench_node_manager.cc: Fix typo of missing return statement for error handling.
C++
apache-2.0
google/distbench,google/distbench,google/distbench
214ea7c06496e4accce258d0d1c1b7178be615fa
include/pod_vector.hpp
include/pod_vector.hpp
/// /// @file pod_vector.hpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef POD_VECTOR_HPP #define POD_VECTOR_HPP #include "macros.hpp" #include <algorithm> #include <cstddef> #i...
/// /// @file pod_vector.hpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef POD_VECTOR_HPP #define POD_VECTOR_HPP #include "macros.hpp" #include <algorithm> #include <cstddef> #i...
Add more assertions
Add more assertions
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
43bae8e9c60a726a73218434c97e744fad938d0a
include/pdal/Utils.hpp
include/pdal/Utils.hpp
/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.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) 2011, Michael P. Gerlek (mpg@flaxen.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: * * ...
Add support for stream redirection/restoration.
Add support for stream redirection/restoration.
C++
bsd-3-clause
lucadelu/PDAL,DougFirErickson/PDAL,mtCarto/PDAL,DougFirErickson/PDAL,mpgerlek/PDAL-old,jwomeara/PDAL,jwomeara/PDAL,DougFirErickson/PDAL,radiantbluetechnologies/PDAL,boundlessgeo/PDAL,lucadelu/PDAL,DougFirErickson/PDAL,radiantbluetechnologies/PDAL,Sciumo/PDAL,mtCarto/PDAL,lucadelu/PDAL,jwomeara/PDAL,boundlessgeo/PDAL,mt...
d824795400bf02da596151f629489650d81796b0
include/сomplex_t.hpp
include/сomplex_t.hpp
#include <iostream> using namespace std; class complex_t { private: float a; float b; public: Сomplex_t(); complex_t(double x, double y); complex_t(const complex_t&cop); double a_(); double b_(); complex_t operator * (const complex_t& c2) const; complex_t operator / (const complex_t& c2) const; complex_...
#include <iostream> using namespace std; class complex_t { private: float a; float b; public: сomplex_t(); complex_t(double x, double y); complex_t(const complex_t&cop); double a_(); double b_(); complex_t operator * (const complex_t& c2) const; complex_t operator / (const complex_t& c2) const; complex_...
Update сomplex_t.hpp
Update сomplex_t.hpp
C++
mit
Ivanopulopulo/Complex
2bd5a1d75c3c387f014b4ed0a569b74cd0bcddff
examples/auth/src/auth.cpp
examples/auth/src/auth.cpp
#if defined(__WIN32__) || defined(_WIN32) #include <rpc.h> #else #include <unistd.h> #include <fcntl.h> #endif #include <iostream> #include <orm/MetaDataSingleton.h> #include "md5.h" #include "logger.h" #include "micro_http.h" #include "domain/User.h" #include "domain/LoginSession.h" using namespace std; using namespa...
#if defined(__WIN32__) || defined(_WIN32) #include <rpc.h> #else #include <unistd.h> #include <fcntl.h> #endif #include <iostream> #include <orm/MetaDataSingleton.h> #include "md5.h" #include "logger.h" #include "micro_http.h" #include "domain/User.h" #include "domain/LoginSession.h" using namespace std; using namespa...
Allow to register the first user via HTTP
Allow to register the first user via HTTP git-svn-id: a972155c8e22ef3cf1b5c433ca9ba368ece90725@95 6e3d5a94-014d-4e71-8e65-48e4780539f1
C++
mit
kamaroly/yb-orm,kamaroly/yb-orm,kamaroly/yb-orm,kamaroly/yb-orm
568ce905d5ad8866d5396e690f596549fa89c8a6
Common/r_functionwhitelist.cpp
Common/r_functionwhitelist.cpp
#include "r_functionwhitelist.h" #include "stringutils.h" //The following functions (and keywords that can be followed by a '(') will be allowed in user-entered R-code, such as filters or computed columns. This is for security because otherwise JASP-files could become a vector of attack and that doesn't refer to an R...
#include "r_functionwhitelist.h" #include "stringutils.h" //The following functions (and keywords that can be followed by a '(') will be allowed in user-entered R-code, such as filters or computed columns. This is for security because otherwise JASP-files could become a vector of attack and that doesn't refer to an R...
add functions for pattern matching and replacement to whitelist (grepl, sub, regexpr)
add functions for pattern matching and replacement to whitelist (grepl, sub, regexpr)
C++
agpl-3.0
AlexanderLyNL/jasp-desktop,TimKDJ/jasp-desktop,jasp-stats/jasp-desktop,boutinb/jasp-desktop,TimKDJ/jasp-desktop,TimKDJ/jasp-desktop,TimKDJ/jasp-desktop,boutinb/jasp-desktop,boutinb/jasp-desktop,AlexanderLyNL/jasp-desktop,jasp-stats/jasp-desktop,jasp-stats/jasp-desktop,boutinb/jasp-desktop,TimKDJ/jasp-desktop,boutinb/ja...
bccb6f158bc1704f2dc85474128df6dd87d8f4c9
Modules/IO/IOGDAL/src/otbDEMHandler.cxx
Modules/IO/IOGDAL/src/otbDEMHandler.cxx
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
Write the DEM to the VSI memory as a VRT
ENH: Write the DEM to the VSI memory as a VRT The DEMHandler creates a VRT in any cases (the user provides a unique file, or a directory with only one file or with multiple files). This VRT is loaded into vsi memory, so it can be accessed by other procvesses.
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
fe17a849b85dd92178830e556258e0df63cf20d3
fswork/fswork.cpp
fswork/fswork.cpp
#include <fstream> // #include <sys/types.h> // #include <unistd.h> // #include <string> // #include <fcntl.h> // #include <stdio.h> // #include <stdlib.h> #include <dirent.h> // !!! #include <vector> #include "../lang/lang.h" #include "../configurator/configurator.h" #include <curses.h> using namespace std; struct...
#include <fstream> // #include <sys/types.h> // #include <unistd.h> // #include <string> // #include <fcntl.h> // #include <stdio.h> // #include <stdlib.h> #include <dirent.h> // !!! #include <vector> #include "../lang/lang.h" #include "../configurator/configurator.h" #include "fswork.h" #include <curses.h> using name...
Update fswork.cpp
Update fswork.cpp
C++
apache-2.0
dima201246/hos,dima201246/hos
34e3d3f152ba010b2a7805a8bbb85ed08c7f05cd
globalhandler.cpp
globalhandler.cpp
#include "globalhandler.h" #include "host-ipmid/ipmid-api.h" #include <stdio.h> #include <string.h> #include <stdint.h> #include <mapper.h> const char *control_object_name = "/org/openbmc/control/bmc0"; const char *control_intf_name = "org.openbmc.control.Bmc"; void register_netfn_global_functions() __attribu...
#include "globalhandler.h" #include "host-ipmid/ipmid-api.h" #include <stdio.h> #include <string> #include <utils.hpp> #include <phosphor-logging/log.hpp> #include <phosphor-logging/elog-errors.hpp> #include "xyz/openbmc_project/Common/error.hpp" #include "xyz/openbmc_project/State/BMC/server.hpp" static constexpr aut...
Remove use of legacy bmc control interface
Remove use of legacy bmc control interface Tested: Tested using below given command for cold/warm resets >ipmitool mc reset [ warm | cold ] -I dbus Resolves openbmc/openbmc#2919 Change-Id: I15fc5ab53b7d8b2b17bc9fa8f3f2030e93bd0483 Signed-off-by: Nagaraju Goruganti <1d37a7c32d654f6415246cddf510d3f39482ea59@in.ibm.com...
C++
apache-2.0
openbmc/phosphor-host-ipmid,openbmc/phosphor-host-ipmid,openbmc/phosphor-host-ipmid
1def9aa0ccbf034a9edd516376a0b84a180864cd
lib/wd/sm.cpp
lib/wd/sm.cpp
#include <QApplication> #include "wd.h" #include "cmd.h" #include "../base/bedit.h" #include "../base/note.h" #include "../base/state.h" #include "../base/tedit.h" #include "../base/term.h" extern int rc; string smerror(string); string smfocus(string); string smget(string); string smgetactive(); string smgetwin(str...
#include <QApplication> #include "wd.h" #include "cmd.h" #include "../base/bedit.h" #include "../base/note.h" #include "../base/state.h" #include "../base/tedit.h" #include "../base/term.h" extern int rc; string smerror(string); string smfocus(string); string smget(string); string smgetactive(); string smgetwin(str...
add file name to wd 'sm get edit'
add file name to wd 'sm get edit'
C++
lgpl-2.1
0branch/qtide,0branch/qtide,0branch/qtide
70adf628f1575d23efffe67b5a065cb682b8bf25
src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
src/plugins/cmakeprojectmanager/cmakerunconfiguration.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
Fix endless recursion, broken somewhere in the buildconfiguration port
Fix endless recursion, broken somewhere in the buildconfiguration port
C++
lgpl-2.1
hdweiss/qt-creator-visualizer,dmik/qt-creator-os2,AltarBeastiful/qt-creator,hdweiss/qt-creator-visualizer,jonnor/qt-creator,ostash/qt-creator-i18n-uk,richardmg/qtcreator,amyvmiwei/qt-creator,bakaiadam/collaborative_qt_creator,azat/qtcreator,martyone/sailfish-qtcreator,azat/qtcreator,Distrotech/qtcreator,colede/qtcreato...
e18d0496876407d3a0e511e273815d16a3a36b4b
src/plugins/qt4projectmanager/wizards/targetsetuppage.cpp
src/plugins/qt4projectmanager/wizards/targetsetuppage.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** No Commercial Usage ** ** This file contains pre-release code and may not b...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** No Commercial Usage ** ** This file contains pre-release code and may not b...
Select Desktop target if no other target is there
TargetSetupPage: Select Desktop target if no other target is there Task-Nr: QTCREATORBUG-4100
C++
lgpl-2.1
farseerri/git_code,jonnor/qt-creator,omniacreator/qtcreator,jonnor/qt-creator,darksylinc/qt-creator,azat/qtcreator,dmik/qt-creator-os2,duythanhphan/qt-creator,jonnor/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,pcacjr/qt-creator,duythanhphan/qt-creator,azat/qtcreator,AltarBeastif...
cf3d36e6ba24b0fca5608dcc26dc8f4a8b4f34a7
src/plugins/support/COMBINESupport/src/combinearchive.cpp
src/plugins/support/COMBINESupport/src/combinearchive.cpp
/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file to you under t...
/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file to you under t...
COMBINE archive: some work on loading/saving a COMBINE archive [ci skip].
COMBINE archive: some work on loading/saving a COMBINE archive [ci skip].
C++
apache-2.0
mirams/opencor,mirams/opencor,mirams/opencor,mirams/opencor,mirams/opencor
6348024c2b67b65be0d7945b2e8f3c79a6e673c0
hector_quadrotor_teleop/src/quadrotor_teleop.cpp
hector_quadrotor_teleop/src/quadrotor_teleop.cpp
//================================================================================================= // Copyright (c) 2012, Johannes Meyer, TU Darmstadt // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are...
//================================================================================================= // Copyright (c) 2012, Johannes Meyer, TU Darmstadt // All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are...
Fix array index out of bounds access
Fix array index out of bounds access The existing code was checking the number of axes not buttons Signed-off-by: Nicolae Rosia <207aa917b021b404c269e8647897b2cc6117052a@gmail.com>
C++
bsd-3-clause
UTS-CAS/hector_quadrotor,UTS-CAS/hector_quadrotor,UTS-CAS/hector_quadrotor
28ce98e310ba7c59b350508f40ab38cf3b08763e
app/src/main/cpp/native-lib.cpp
app/src/main/cpp/native-lib.cpp
#include <jni.h> #include <string> #include <netdb.h> #include <arpa/inet.h> #include <android/log.h> #include "elfhook/elfhook.h" void print_gethostbyname() { gethostbyname("www.mingyuans.me"); } struct hostent *my_gethostbyname(const char * domain) { __android_log_print(android_LogPriority::ANDROID_LOG_INFO...
#include <jni.h> #include <string> #include <netdb.h> #include <arpa/inet.h> #include <android/log.h> #include "elfhook/elfhook.h" void print_gethostbyname() { gethostbyname("www.mingyuans.me"); } struct hostent *my_gethostbyname(const char * domain) { __android_log_print(android_LogPriority::ANDROID_LOG_INFO...
Fix stop_hook
Fix stop_hook
C++
mit
mingyuans/AndroidHook,mingyuans/AndroidHook,mingyuans/AndroidHook
1ba4514574cfafe827624e826ee4063f3fe31788
interface/generator.cc
interface/generator.cc
/* * Copyright 2011,2015 Sven Verdoolaege. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
/* * Copyright 2011,2015 Sven Verdoolaege. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this lis...
drop spurious declaration
generator::generator.cc: drop spurious declaration The declaration was introduced by isl-0.18-595-gdab674e14c (Turn python generator into a subclass of generator, Sat Apr 8 05:12:47 2017 +0200). Signed-off-by: Sven Verdoolaege <235c10dd23b819f81cdc9756a251746bc184cab6@gmail.com>
C++
mit
Meinersbur/isl,Meinersbur/isl,Meinersbur/isl,Meinersbur/isl
3f765c81d8e708797db25618797289052ec418b3
include/ros_type_introspection/builtin_types.hpp
include/ros_type_introspection/builtin_types.hpp
/********************************************************************* * Software License Agreement (BSD License) * * Copyright 2016-2017 Davide Faconti * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright 2016-2017 Davide Faconti * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
Add missing BuiltinType::getType() overloads
Add missing BuiltinType::getType() overloads
C++
mit
facontidavide/ros-type-introspection
fb45d029968cf407753dc823709576e6b4f242e4
include/cppcoro/detail/when_all_task.hpp
include/cppcoro/detail/when_all_task.hpp
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Lewis Baker // Licenced under MIT license. See LICENSE.txt for details. /////////////////////////////////////////////////////////////////////////////// #ifndef CPPCORO_DETAIL_WHEN_ALL_TASK_HPP_INCLUDED #define CPPCORO_DETAI...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Lewis Baker // Licenced under MIT license. See LICENSE.txt for details. /////////////////////////////////////////////////////////////////////////////// #ifndef CPPCORO_DETAIL_WHEN_ALL_TASK_HPP_INCLUDED #define CPPCORO_DETAI...
Fix member accessibility in when_all_task_promise<void>.
Fix member accessibility in when_all_task_promise<void>.
C++
mit
lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro
64bb16af8a9bd7e37fc088a67ff3eee988f2e6eb
db/view/view_update_generator.hh
db/view/view_update_generator.hh
/* * Copyright (C) 2018-present ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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) a...
/* * Copyright (C) 2018-present ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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) a...
Remove unused struct sstable_with_table
view_update_generator: Remove unused struct sstable_with_table Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@scylladb.com>
C++
agpl-3.0
scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla
7be0b08f5aa269bfdd40a0d66a3cb2f2675b00ca
include/libtorrent/kademlia/observer.hpp
include/libtorrent/kademlia/observer.hpp
/* Copyright (c) 2007, 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) 2007, 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 missing boost:: qualifier
fix missing boost:: qualifier
C++
bsd-3-clause
mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mildred/rasterbar-libtorrent,mildred/rasterbar-libtorrent,mrmichalis/libtorrent-code,mrmichalis/libtorrent-code,mildred/raste...
382b437b47bbb1307c143e40a7e6d4adadd50099
Modules/Registration/Metricsv4/include/itkMeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader.hxx
Modules/Registration/Metricsv4/include/itkMeanSquaresImageToImageMetricv4GetValueAndDerivativeThreader.hxx
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
Fix compilation error (missing include).
COMP: Fix compilation error (missing include). Change-Id: I72d8e7ba771af7dfa6bb1e3359f45b6fa2f8ee0c
C++
apache-2.0
fuentesdt/InsightToolkit-dev,zachary-williamson/ITK,richardbeare/ITK,blowekamp/ITK,LucHermitte/ITK,LucasGandel/ITK,msmolens/ITK,BRAINSia/ITK,hinerm/ITK,malaterre/ITK,LucHermitte/ITK,biotrump/ITK,fedral/ITK,LucHermitte/ITK,LucasGandel/ITK,atsnyder/ITK,ajjl/ITK,jcfr/ITK,blowekamp/ITK,hendradarwin/ITK,LucasGandel/ITK,hend...
2e483138a71d08b981415cd677987a0f617e9f88
indra/newview/llviewerwindowlistener.cpp
indra/newview/llviewerwindowlistener.cpp
/** * @file llviewerwindowlistener.cpp * @author Nat Goodspeed * @date 2009-06-30 * @brief Implementation for llviewerwindowlistener. * * $LicenseInfo:firstyear=2009&license=viewergpl$ * Copyright (c) 2009, Linden Research, Inc. * $/LicenseInfo$ */ // Precompiled header #include "llviewerprecompiledhead...
/** * @file llviewerwindowlistener.cpp * @author Nat Goodspeed * @date 2009-06-30 * @brief Implementation for llviewerwindowlistener. * * $LicenseInfo:firstyear=2009&license=viewergpl$ * Copyright (c) 2009, Linden Research, Inc. * $/LicenseInfo$ */ // Precompiled header #include "llviewerprecompiledhead...
Add newline to end of file to placate Linux gcc
Add newline to end of file to placate Linux gcc
C++
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
683fd6bc22853f831e241cf5acc31264460b7a9d
subsystem_base.hxx
subsystem_base.hxx
#pragma once #include <cstdint> #include <stdexcept> #include <string> #include <memory> #include <unordered_map> #include <forward_list> #include <vector> #include <mutex> #include <boost/property_tree/ptree.hpp> #include <boost/optional.hpp> #ifdef EMSCRIPTEN namespace { static std::mutex emscripten_main_loop_mu...
#pragma once #include <cstdint> #include <stdexcept> #include <string> #include <memory> #include <unordered_map> #include <forward_list> #include <vector> #include <mutex> #include <boost/property_tree/ptree.hpp> #ifdef EMSCRIPTEN namespace { static std::mutex emscripten_main_loop_mutex; } #endif namespace wonde...
remove include (no using)
remove include (no using)
C++
mit
usagi/wonderland.subsystem,usagi/wonderland.subsystem
eed9d23e5be50727dd1a58a88b84426d5f009061
modules/perception/camera/lib/calibration_service/online_calibration_service/online_calibration_service.cc
modules/perception/camera/lib/calibration_service/online_calibration_service/online_calibration_service.cc
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *...
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the License); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *...
update status flag to avoid printing wrong error message at debug_infor.cc line 299 (#9046)
update status flag to avoid printing wrong error message at debug_infor.cc line 299 (#9046)
C++
apache-2.0
xiaoxq/apollo,xiaoxq/apollo,jinghaomiao/apollo,ycool/apollo,jinghaomiao/apollo,wanglei828/apollo,xiaoxq/apollo,wanglei828/apollo,ycool/apollo,jinghaomiao/apollo,wanglei828/apollo,ApolloAuto/apollo,ycool/apollo,wanglei828/apollo,ApolloAuto/apollo,wanglei828/apollo,ycool/apollo,jinghaomiao/apollo,jinghaomiao/apollo,jingh...
2c595cdd871bf09f232e5df65a17e87edf0ffd1b
PWGCF/EBYE/MultPt/AliAnalysisMultPt.cxx
PWGCF/EBYE/MultPt/AliAnalysisMultPt.cxx
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AliAnalysisMultPt: // Description: Analysis task to get multiplicity // and pT distributions // Author: Negin Alizadehvandchali // (negin.alizadehvandchali@cern.ch) //////////////////////////////////////...
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // AliAnalysisMultPt: // Description: Analysis task to get multiplicity // and pT distributions // Author: Negin Alizadehvandchali // (negin.alizadehvandchali@cern.ch) //////////////////////////////////////...
Update AliAnalysisMultPt.cxx
Update AliAnalysisMultPt.cxx
C++
bsd-3-clause
pchrista/AliPhysics,victor-gonzalez/AliPhysics,nschmidtALICE/AliPhysics,pchrista/AliPhysics,rbailhac/AliPhysics,alisw/AliPhysics,alisw/AliPhysics,AMechler/AliPhysics,nschmidtALICE/AliPhysics,adriansev/AliPhysics,pchrista/AliPhysics,alisw/AliPhysics,adriansev/AliPhysics,rbailhac/AliPhysics,mpuccio/AliPhysics,rbailhac/Al...
fa654e6bd9069cfafc81b2935122e199b29e1678
io/io/src/TFPBlock.cxx
io/io/src/TFPBlock.cxx
#ifndef ROOT_TFPBlock #include "TFPBlock.h" #endif #include <cstdlib> #ifndef __APPLE__ #include <malloc.h> #endif ClassImp(TFPBlock) //__________________________________________________________________ //constructor TFPBlock::TFPBlock(Long64_t* offset, Int_t* length, Int_t nb) { Int_t aux = 0; fNblock = nb;...
#include "TFPBlock.h" #include "TStorage.h" #include <cstdlib> ClassImp(TFPBlock) //__________________________________________________________________ //constructor TFPBlock::TFPBlock(Long64_t* offset, Int_t* length, Int_t nb) { Int_t aux = 0; fNblock = nb; fPos = new Long64_t[nb]; fLen = new Int_t[n...
use TStorage::ReAlloc() instead of realloc() so that there delete[] is still ok.
use TStorage::ReAlloc() instead of realloc() so that there delete[] is still ok. git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@39283 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical
f991e8d399f714c737e4d58614f20f2c31cb9c11
PWGLF/RESONANCES/AliRsnMiniParticle.cxx
PWGLF/RESONANCES/AliRsnMiniParticle.cxx
// // This object is used as lightweight temporary container // of all information needed from any input object and // useful for resonance analysis. // Lists of such objects are stored in a buffer, in order // to allow an event mixing. // #include <TDatabasePDG.h> #include <TParticlePDG.h> #include "AliAODEvent.h" #...
// // This object is used as lightweight temporary container // of all information needed from any input object and // useful for resonance analysis. // Lists of such objects are stored in a buffer, in order // to allow an event mixing. // //Modified by Prottay 23/01/2022(prottay.das@cern.ch) to fill K0s inv mass for...
Update AliRsnMiniParticle.cxx
Update AliRsnMiniParticle.cxx
C++
bsd-3-clause
AMechler/AliPhysics,alisw/AliPhysics,victor-gonzalez/AliPhysics,victor-gonzalez/AliPhysics,rbailhac/AliPhysics,rihanphys/AliPhysics,nschmidtALICE/AliPhysics,nschmidtALICE/AliPhysics,rbailhac/AliPhysics,mpuccio/AliPhysics,rihanphys/AliPhysics,rbailhac/AliPhysics,nschmidtALICE/AliPhysics,adriansev/AliPhysics,rihanphys/Al...
e25e332abdd8e57a288233864cca6b06cbcdee7a
src/condor_gridmanager/transferrequest.cpp
src/condor_gridmanager/transferrequest.cpp
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
Fix bad HoldReason on Cream file transfer error. #1689
Fix bad HoldReason on Cream file transfer error. #1689 If a Cream file transfer fails, the gridmanager attempts to set a HoldReason in the job ad that contains a newline. The schedd rejects the attempt, and the gridmanager ends up not putting the job on hold.
C++
apache-2.0
mambelli/osg-bosco-marco,zhangzhehust/htcondor,zhangzhehust/htcondor,htcondor/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,neurodebian/htcondor,neurodebian/htcondor,htcondor/htcondor,mambelli/osg-bosco-marco,djw8605/condor,djw8605/htcondor,djw8605/htcondor,djw8605/htcondor,htcondor/htco...
1c17104466ffc649740d767e64a8b7dfa3efa9d0
excercise03/01.cpp
excercise03/01.cpp
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> int n; /* size of the board */ int *board; /* 0 MEANS EMPTY */ /* Coordinates of the board 1 2 3 4 1 +------- y (cell) 2 | 3 | 4 | x (line) x starts with 1; 0 is not used y starts with 1; 0 MEANS ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> int n; /* size of the board */ int *board; /* 0 MEANS EMPTY */ /* Coordinates of the board 1 2 3 4 1 +------- y (cell) 2 | 3 | 4 | x (line) x starts with 1; 0 is not used y starts with 1; 0 MEANS ...
Rename 'is_able_to_set()' to 'is_setable()'
Rename 'is_able_to_set()' to 'is_setable()'
C++
mit
kdzlvaids/algorithm_and_practice-pknu-2016,kdzlvaids/algorithm_and_practice-pknu-2016
cda066bd2ebd5a3b693608f64a9f75e127d8e971
gate/GateServerContext.cpp
gate/GateServerContext.cpp
#include "net/TcpServer.h" #include "GateChannelProxy.h" #include "base/Log.h" #include "component/IniConfigParser.h" //////////////////////////////// #include "GateServerContext.h" #if 1 int GateServerContext::Init(const char * pszConfigFile) { parser = shared_ptr<IniConfigParser>(new IniConfigParser()); ...
#include "net/TcpServer.h" #include "GateChannelProxy.h" #include "base/Log.h" #include "component/IniConfigParser.h" //////////////////////////////// #include "GateServerContext.h" #if 1 int GateServerContext::Init(const char * pszConfigFile) { parser = shared_ptr<IniConfigParser>(new IniConfigParser()); ...
add ctx default arg gat.cfg
add ctx default arg gat.cfg
C++
mit
jj4jj/playground,jj4jj/playground,jj4jj/playground
7e19f57d6da78a6b97e3f110001628076c221ce2
ash/system/audio/tray_volume.cc
ash/system/audio/tray_volume.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/system/audio/tray_volume.h" #include "ash/shell.h" #include "ash/system/tray/system_tray_delegate.h" #include "ash/system/tray/tray_con...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/system/audio/tray_volume.h" #include "ash/shell.h" #include "ash/system/tray/system_tray_delegate.h" #include "ash/system/tray/tray_con...
Update the volume icon when audio is muted/unmuted.
ash: Update the volume icon when audio is muted/unmuted. R=ben@chromium.org BUG=118116 TEST=none Review URL: https://chromiumcodereview.appspot.com/9706007 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@126671 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
gavinp/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,adobe/chrom...