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
8ee8d9177d52e69674fd77b3ff47739d16afadd3
avogadro/quantumio/mopacaux.cpp
avogadro/quantumio/mopacaux.cpp
/****************************************************************************** This source file is part of the Avogadro project. Copyright 2008-2009 Marcus D. Hanwell Copyright 2010-2013 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable l...
/****************************************************************************** This source file is part of the Avogadro project. Copyright 2008-2009 Marcus D. Hanwell Copyright 2010-2013 Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable l...
Mark basis set as invalid if no atoms found.
Mark basis set as invalid if no atoms found. Ref discussion in: http://sourceforge.net/mailarchive/forum.php?thread_name=510E81A7.3080406%40pitt.edu&forum_name=avogadro-discuss Change-Id: I685f000f4a5bd8a05ee6ded508cb30b78a17c1d0
C++
bsd-3-clause
OpenChemistry/avogadrolibs,cjh1/mongochemweb-avogadrolibs,wadejong/avogadrolibs,cjh1/mongochemweb-avogadrolibs,cjh1/mongochemweb-avogadrolibs,cjh1/mongochemweb-avogadrolibs,OpenChemistry/avogadrolibs,OpenChemistry/avogadrolibs,ghutchis/avogadrolibs,wadejong/avogadrolibs,ghutchis/avogadrolibs,ghutchis/avogadrolibs,OpenC...
52a05856353b0404562512b67b5496d1c618363d
arduino/opencr_arduino/opencr/libraries/turtlebot3/src/turtlebot3/turtlebot3_motor_driver.cpp
arduino/opencr_arduino/opencr/libraries/turtlebot3/src/turtlebot3/turtlebot3_motor_driver.cpp
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
/******************************************************************************* * Copyright 2016 ROBOTIS CO., LTD. * * 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.o...
change settorque function
change settorque function
C++
apache-2.0
ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR,ROBOTIS-GIT/OpenCR
2baf6da5f20c8dea21db19c5a46d9a73970e89d1
ext/oxt/thread.hpp
ext/oxt/thread.hpp
/* * OXT - OS eXtensions for boosT * Provides important functionality necessary for writing robust server software. * * Copyright (c) 2010 Phusion * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in...
/* * OXT - OS eXtensions for boosT * Provides important functionality necessary for writing robust server software. * * Copyright (c) 2010 Phusion * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in...
Add ability not to interrupt system calls with oxt::thread.
Add ability not to interrupt system calls with oxt::thread.
C++
mit
erikogan/passenger,kewaunited/passenger,erikogan/passenger,bf4/passenger,pkmiec/passenger,gravitystorm/passenger,clemensg/passenger,jawj/passenger,openSUSE/passenger,bf4/passenger,cgvarela/passenger,antek-drzewiecki/passenger,fabiokung/passenger-debian,clemensg/passenger,openSUSE/passenger,clemensg/passenger,pkmiec/pas...
1957a8d7ac88121bae2f5a68d6b26231bc333bfe
kmail/kmmsgpartdlg.cpp
kmail/kmmsgpartdlg.cpp
// kmmsgpartdlg.cpp #include "kmmsgpartdlg.h" #include "kmmsgpart.h" #include "kmmsgbase.h" #ifndef KRN #include "kmglobal.h" #endif #ifdef KRN #include <kapp.h> #include "kbusyptr.h" extern KBusyPtr *kbp; #endif #include "kbusyptr.h" #include <kapp.h> #include <kcombobox.h> #include <qcombobox.h> #include <qpushbu...
// kmmsgpartdlg.cpp #include "kmmsgpartdlg.h" #include "kmmsgpart.h" #include "kmmsgbase.h" #ifndef KRN #include "kmglobal.h" #endif #ifdef KRN #include <kapp.h> #include "kbusyptr.h" extern KBusyPtr *kbp; #endif #include "kbusyptr.h" #include <kapp.h> #include <kcombobox.h> #include <qcombobox.h> #include <qpushbu...
Make the OK button the default (Lars asked for it).
Make the OK button the default (Lars asked for it). diff -u -b -r1.24 kmmsgpartdlg.cpp --- kmmsgpartdlg.cpp 2000/11/29 09:14:57 1.24 +++ kmmsgpartdlg.cpp 2001/02/07 00:53:02 @@ -132,6 +132,7 @@ if (w1 < w2) w1 = w2; if (w1 < 120) w1 = 120; btnOk->setMaximumSize(w1, h); + btnOk->setFocus(); btnCa...
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
a5584a112a7b54f52c4e3328f560b65857842939
svgminifier.cpp
svgminifier.cpp
/* SVGMin - Aggressive SVG minifier Copyright (C) 2009 Ariya Hidayat (ariya.hidayat@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without lim...
/* SVGMin - Aggressive SVG minifier Copyright (C) 2009 Ariya Hidayat (ariya.hidayat@gmail.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without lim...
Fix checking the prefix in the excluded list.
Fix checking the prefix in the excluded list.
C++
mit
generaltso/svgmin,eliasp/svgmin,crazoter/svgmin
1057bddfef5b333c9e89bf3736f395d0834a31f7
test/server.cpp
test/server.cpp
/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-server. * * libbitcoin-server is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free ...
/** * Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin-server. * * libbitcoin-server is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free ...
Fix test parameterization.
Fix test parameterization.
C++
agpl-3.0
RojavaCrypto/libbitcoin-server,RojavaCrypto/libbitcoin-server,RojavaCrypto/libbitcoin-server
37c3f117fe1c3c49d67c86900fc842c233b4b606
src/nostalgia/core/userland/gfx_opengl.cpp
src/nostalgia/core/userland/gfx_opengl.cpp
/* * Copyright 2016 - 2021 gary@drinkingtea.net * * 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 <array> #include <ox/std/bit.hpp> #include <ox/std/...
/* * Copyright 2016 - 2021 gary@drinkingtea.net * * 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 <array> #include <ox/std/bit.hpp> #include <ox/std/...
Initialize buffers
[nostalgia/core/gl] Initialize buffers
C++
mpl-2.0
wombatant/nostalgia,wombatant/nostalgia,wombatant/nostalgia
edd7915d8fe2eb2650f9f83034bb0a8bda886f44
test/test-1.cpp
test/test-1.cpp
#include "Course.h" #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { // main prompt bool isOpen = false; Course course; string input; cout << " _____ __ ___ __ \n"; cout << " / ___/______ ____/ /__ ____/ _ \\/ /_ _____\n"; cout << "/...
#include "Course.h" #include <iomanip> #include <iostream> #include <string> using namespace std; int main() { // main prompt bool isOpen = false; Course course; string input; cout << " _____ __ ___ __ \n"; cout << " / ___/______ ____/ /__ ____/ _ \\/ /_ _____\n"; cout << "/...
fix test1
fix test1
C++
mit
honestcomrade/grade-plus
250c9df113e723694b638789872cee1e648e4205
test/test04.cxx
test/test04.cxx
#include <cerrno> #include <cstring> #include <ctime> #include "test_helpers.hxx" using namespace std; using namespace pqxx; // Example program for libpqxx. Send notification to self. namespace { int Backend_PID = 0; // Sample implementation of notification receiver. class TestListener final : public notificati...
#include <cerrno> #include <cstring> #include <ctime> #include "test_helpers.hxx" using namespace std; using namespace pqxx; // Example program for libpqxx. Send notification to self. namespace { int Backend_PID = 0; // Sample implementation of notification receiver. class TestListener final : public notificati...
Fix compile warning.
Fix compile warning.
C++
bsd-3-clause
jtv/libpqxx,jtv/libpqxx,jtv/libpqxx,jtv/libpqxx
050fdf9d5204558af9329db2b656250f3d6fe98b
src/plugins/coreplugin/variablechooser.cpp
src/plugins/coreplugin/variablechooser.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
Set focus to variable chooser when it opens.
Set focus to variable chooser when it opens. Task-number: QTCREATORBUG-4307 Change-Id: I8dff162c01ced12f1b715ce6c803f7b611625abf Reviewed-on: http://codereview.qt.nokia.com/918 Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com> Reviewed-by: Robert Löhning <1f928983f879a6fe326acd94487f754cc1...
C++
lgpl-2.1
KDE/android-qt-creator,danimo/qt-creator,richardmg/qtcreator,xianian/qt-creator,maui-packages/qt-creator,xianian/qt-creator,maui-packages/qt-creator,AltarBeastiful/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,syntheticpp/qt-creator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer,dmik/qt-creator-os2,hdwe...
d1fdf87938a0f3fe138142c7d3fd934b1f11c377
Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx
Examples/DataRepresentation/Mesh/PointSetWithVectors.cxx
/*========================================================================= * * 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 code overlapping figure
DOC: Fix code overlapping figure
C++
apache-2.0
heimdali/ITK,richardbeare/ITK,msmolens/ITK,jcfr/ITK,atsnyder/ITK,msmolens/ITK,hjmjohnson/ITK,fedral/ITK,malaterre/ITK,heimdali/ITK,heimdali/ITK,fedral/ITK,LucasGandel/ITK,BRAINSia/ITK,LucasGandel/ITK,spinicist/ITK,stnava/ITK,zachary-williamson/ITK,hendradarwin/ITK,BlueBrain/ITK,LucasGandel/ITK,InsightSoftwareConsortium...
cf2650b8bec17f4512b191619ee2619819601200
GameEngine/GameEngine/Engine/Components/MeshRenderer.cpp
GameEngine/GameEngine/Engine/Components/MeshRenderer.cpp
#include <Components/MeshRenderer.hh> #include "Core/Engine.hh" #include <Core/AScene.hh> #include <AssetManagement/Instance/MeshInstance.hh> #include <AssetManagement/Instance/MaterialInstance.hh> #include <AssetManagement/AssetManager.hh> #include <assert.h> #include <Threads/ThreadManager.hpp> #include <Threads/Prep...
#include <Components/MeshRenderer.hh> #include "Core/Engine.hh" #include <Core/AScene.hh> #include <AssetManagement/Instance/MeshInstance.hh> #include <AssetManagement/Instance/MaterialInstance.hh> #include <AssetManagement/AssetManager.hh> #include <assert.h> #include <Threads/ThreadManager.hpp> #include <Threads/Prep...
Load mesh
Load mesh
C++
mit
Another-Game-Engine/AGE,Another-Game-Engine/AGE
b1fc86afa66a8406f6e2676d1cd3bd0819215cee
Modules/IO/ImageBase/test/itkWriteImageFunctionGTest.cxx
Modules/IO/ImageBase/test/itkWriteImageFunctionGTest.cxx
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
Address brace initializer warning
COMP: Address brace initializer warning
C++
apache-2.0
BRAINSia/ITK,Kitware/ITK,hjmjohnson/ITK,InsightSoftwareConsortium/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,InsightSoftwareConsortium/ITK,Kitware/ITK,LucasGandel/ITK,thewtex/ITK,LucasGandel/ITK,vfonov/ITK,vfonov/ITK,vfonov/ITK,hjmjohnson/ITK,LucasGandel/ITK,InsightSoftwareConsortium/ITK,richardbeare/ITK,LucasGandel...
af5c71de7d4dfbb981de0c4b0d3e38e772f6d03e
PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn3DSpherical.cxx
PWG2/FEMTOSCOPY/AliFemto/AliFemtoCorrFctn3DSpherical.cxx
/////////////////////////////////////////////////////////////////////////// // // // AliFemtoCorrFctn3DSpherical: a class to calculate 3D correlation // // for pairs of identical particles, binned in spherical coordinates. // // In analysis t...
/////////////////////////////////////////////////////////////////////////// // // // AliFemtoCorrFctn3DSpherical: a class to calculate 3D correlation // // for pairs of identical particles, binned in spherical coordinates. // // In analysis t...
Fix Coverity reports
Fix Coverity reports
C++
bsd-3-clause
amaringarcia/AliPhysics,lcunquei/AliPhysics,ppribeli/AliPhysics,nschmidtALICE/AliPhysics,carstooon/AliPhysics,aaniin/AliPhysics,alisw/AliPhysics,mpuccio/AliPhysics,pbuehler/AliPhysics,hzanoli/AliPhysics,AMechler/AliPhysics,kreisl/AliPhysics,adriansev/AliPhysics,hzanoli/AliPhysics,lfeldkam/AliPhysics,btrzecia/AliPhysics...
470c6871421b5d69fee70c029b4165815bf8c7a9
inc/sph_model.hpp
inc/sph_model.hpp
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2011, 2017 OpenWorm. * http://openworm.org * * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies t...
/******************************************************************************* * The MIT License (MIT) * * Copyright (c) 2011, 2017 OpenWorm. * http://openworm.org * * All rights reserved. This program and the accompanying materials * are made available under the terms of the MIT License * which accompanies t...
work with reader
work with reader
C++
mit
skhayrulin/x_engine,skhayrulin/x_engine,skhayrulin/x_engine
8bd09d8701f32fedcb06f18b18aace8aeb81d43f
window.cc
window.cc
/*- * Copyright (c) 2016 Frederic Culot <culot@FreeBSD.org> * 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 * notic...
/*- * Copyright (c) 2016 Frederic Culot <culot@FreeBSD.org> * 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 * notic...
Comment tweak
Comment tweak
C++
bsd-2-clause
culot/portal
3a264ed838f5b0c5bbff6f75ce952192ec66012d
firmware/Adafruit_HDC1000.cpp
firmware/Adafruit_HDC1000.cpp
/*************************************************** This is a library for the HDC1000 Humidity & Temp Sensor Designed specifically to work with the HDC1008 sensor from Adafruit ----> https://www.adafruit.com/products/2635 These sensors use I2C to communicate, 2 pins are required to interface Adafruit ...
/*************************************************** This is a library for the HDC1000 Humidity & Temp Sensor Designed specifically to work with the HDC1008 sensor from Adafruit ----> https://www.adafruit.com/products/2635 These sensors use I2C to communicate, 2 pins are required to interface Adafruit ...
convert to bool before return
convert to bool before return
C++
bsd-2-clause
CaptIgmu/Adafruit_HDC1000,CaptIgmu/Adafruit_HDC1000
72a8579da0b2fa0c71fc7bb9cac069569b264ef4
vulkan/buffer_pool.cpp
vulkan/buffer_pool.cpp
/* Copyright (c) 2017 Hans-Kristian Arntzen * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, ...
/* Copyright (c) 2017 Hans-Kristian Arntzen * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, ...
Fix compile error on GCC 4.9.
Fix compile error on GCC 4.9.
C++
mit
Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite,Themaister/Granite
56f3695e1de2201fb307f7660f16a39f596e3cb0
include/stack.hpp
include/stack.hpp
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset && other) = delete; auto operato...
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset && other) = delete; auto operato...
Update stack.hpp
Update stack.hpp
C++
mit
DANTEpolaris/stack
8937ac785ec9119dc6c8e481a26126a95be5185a
include/stack.hpp
include/stack.hpp
#include <iostream> #include <string> #include <stdexcept> using namespace std; template <typename T> class Stack { public: Stack() noexcept; explicit Stack(size_t s) noexcept; Stack(const Stack& u) noexcept; Stack(Stack&& u) noexcept; size_t count() const noexcept; bool empty() const noexcep...
#include <iostream> #include <string> #include <stdexcept> using namespace std; template <typename T> class Stack { public: Stack() noexcept; explicit Stack(size_t s) noexcept; Stack(const Stack& u) noexcept; Stack(Stack&& u) noexcept; size_t count() const noexcept; bool empty() const noexcep...
Update stack.hpp
Update stack.hpp
C++
mit
DespiteDeath/Stack_3
56f184b08d83b52ff86e48f4b9a1a09ddf5c64f0
rrd/src/lib.cc
rrd/src/lib.cc
/* ** Copyright 2011-2012 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distributed in the hope...
/* ** Copyright 2011-2012 Merethis ** ** This file is part of Centreon Broker. ** ** Centreon Broker is free software: you can redistribute it and/or ** modify it under the terms of the GNU General Public License version 2 ** as published by the Free Software Foundation. ** ** Centreon Broker is distributed in the hope...
Fix compilation error on FreeBSD.
Fix compilation error on FreeBSD. git-svn-id: a49aa41e49c69a6ab6ef43f172843a2fef6cb475@1053 7c7d615a-03b3-410d-a316-1135b1bd9499
C++
apache-2.0
centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker,centreon/centreon-broker
b92b742e4067a354af0372e1adf4f289020b6d2d
Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexInputImageParameter.cxx
Modules/Wrappers/ApplicationEngine/src/otbWrapperComplexInputImageParameter.cxx
/* * Copyright (C) 2005-2017 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-2017 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 ...
add fake GetUInt8RGBImage and GetUInt8RGBAImage for complex image parameter
COMP: add fake GetUInt8RGBImage and GetUInt8RGBAImage for complex image parameter
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
104089a3e34f597084a4df8355f9dbcb1325719b
src/GUI/GUI.hpp
src/GUI/GUI.hpp
#ifndef GUI_HPP #define GUI_HPP #include <wx/toplevel.h> #include "MainFrame.hpp" #include "Notifier.hpp" #include <string> #include <vector> #include <stack> #include <mutex> #include "Preset.hpp" namespace Slic3r { namespace GUI { class App: public wxApp { public: virtual bool OnInit() override; App() : ...
#ifndef GUI_HPP #define GUI_HPP #include <wx/toplevel.h> #include "MainFrame.hpp" #include "Notifier.hpp" #include <string> #include <vector> #include <array> #include <stack> #include <mutex> #include "Preset.hpp" namespace Slic3r { namespace GUI { class App: public wxApp { public: virtual bool OnInit() overr...
Use std::array for the preset ini files.
Use std::array for the preset ini files.
C++
agpl-3.0
curieos/Slic3r,curieos/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,pieis2pi/Slic3r,pieis2pi/Slic3r,alexrj/Slic3r,alexrj/Slic3r,pieis2pi/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,alexrj/Slic3r,alexrj/Slic3r,curieos/Slic3r,pieis2pi/Slic3r,alexrj/Slic3r,alexrj/Slic3r,curieos/Slic3r
6ffd93c8d16e5b5b3ab8aa2c6a4fb136689fb897
init/init_sec.cpp
init/init_sec.cpp
/* Copyright (c) 2015, The Dokdo Project. 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 condi...
/* Copyright (c) 2015, The Dokdo Project. 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 condi...
Add zerofltespr
Add zerofltespr
C++
apache-2.0
TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common,TeamNexus/android_device_samsung_zero-common
9153f2a61ccf7c2a8e609a2b97b9835cdee9c827
VersionControlUI/src/commands/CDiff.cpp
VersionControlUI/src/commands/CDiff.cpp
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
Use SUMMARY_COMMAND instead of string literal
Use SUMMARY_COMMAND instead of string literal
C++
bsd-3-clause
Vaishal-shah/Envision,dimitar-asenov/Envision,mgalbier/Envision,lukedirtwalker/Envision,dimitar-asenov/Envision,dimitar-asenov/Envision,Vaishal-shah/Envision,mgalbier/Envision,lukedirtwalker/Envision,mgalbier/Envision,dimitar-asenov/Envision,dimitar-asenov/Envision,Vaishal-shah/Envision,dimitar-asenov/Envision,mgalbier...
2d808c080af67171d4a757c90ef4480aa6a45263
himan-bin/source/himan.cpp
himan-bin/source/himan.cpp
/** * @file himan.cpp * * @brief himan main program * * @author partio * */ #include <iostream> #include "himan_common.h" #include "plugin_factory.h" #include "json_parser.h" #include "himan_plugin.h" #include "compiled_plugin.h" #include "auxiliary_plugin.h" #include "logger_factory.h" #include <vector> #inclu...
/** * @file himan.cpp * * @brief himan main program * * @author partio * */ #include <iostream> #include "himan_common.h" #include "plugin_factory.h" #include "json_parser.h" #include "himan_plugin.h" #include "compiled_plugin.h" #include "auxiliary_plugin.h" #include "logger_factory.h" #include <vector> #inclu...
Set version number
Set version number
C++
mit
fmidev/himan,fmidev/himan,fmidev/himan
7ea8450b401179b2d018c1c771920301f47de446
src/PiTable.cpp
src/PiTable.cpp
/// /// @file PiTable.cpp /// @brief The PiTable class is a compressed lookup table of prime /// counts. Each bit of the lookup table corresponds to an /// integer that is not divisible by 2, 3 and 5. The 8 bits of /// each byte correspond to the offsets { 1, 7, 11, 13, 17, 19, /// 23, 29 }...
/// /// @file PiTable.cpp /// @brief The PiTable class is a compressed lookup table of prime /// counts. Each bit of the lookup table corresponds to an /// integer that is not divisible by 2, 3 and 5. The 8 bits of /// each byte correspond to the offsets { 1, 7, 11, 13, 17, 19, /// 23, 29 }...
Update comment
Update comment
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
9d159e44923bf8d7650cef6879775c23aab39233
src/appleseed/renderer/kernel/rendering/masterrenderer.cpp
src/appleseed/renderer/kernel/rendering/masterrenderer.cpp
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2011 Francois Beaune // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this soft...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2011 Francois Beaune // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this soft...
use the local accumulation framebuffer by default.
use the local accumulation framebuffer by default.
C++
mit
luisbarrancos/appleseed,aytekaman/appleseed,pjessesco/appleseed,pjessesco/appleseed,pjessesco/appleseed,Biart95/appleseed,dictoon/appleseed,aiivashchenko/appleseed,Aakash1312/appleseed,docwhite/appleseed,Aakash1312/appleseed,aytekaman/appleseed,Biart95/appleseed,est77/appleseed,gospodnetic/appleseed,aiivashchenko/apple...
f1cbb75feee6a80f52195892c5be23464bec4085
src/QPTasks.cpp
src/QPTasks.cpp
// This file is part of Tasks. // // Tasks is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Tasks is distributed in the ...
// This file is part of Tasks. // // Tasks is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Tasks is distributed in the ...
Fix PostureTask to support MultiBody with free flyer.
Fix PostureTask to support MultiBody with free flyer.
C++
bsd-2-clause
jrl-umi3218/Tasks,gergondet/Tasks,gergondet/Tasks,jrl-umi3218/Tasks,gergondet/Tasks,jrl-umi3218/Tasks,gergondet/Tasks
a2afc39ac0ba4a51d1e54475d6aceacbd841c65f
src/SeekCam.cpp
src/SeekCam.cpp
/* * Seek camera interface * Author: Maarten Vandersteegen */ #include "SeekCam.h" #include "SeekLogging.h" using namespace LibSeek; SeekCam::SeekCam(int vendor_id, int product_id, uint16_t* buffer, size_t raw_height, size_t raw_width, cv::Rect roi, std::string ffc_filename) : m_offset(0x4000), m_ffc_fi...
/* * Seek camera interface * Author: Maarten Vandersteegen */ #include "SeekCam.h" #include "SeekLogging.h" using namespace LibSeek; SeekCam::SeekCam(int vendor_id, int product_id, uint16_t* buffer, size_t raw_height, size_t raw_width, cv::Rect roi, std::string ffc_filename) : m_offset(0x4000), m_ffc_fi...
Increase amount of tries to grab a frame
Increase amount of tries to grab a frame The default 10 values didn't work for my seek OEM starter kit.
C++
mit
maartenvds/libseek-thermal,maartenvds/libseek-thermal
eb511b1d3a598c39eeaf32c2cf5236c4c2c2ca8d
src/TestSet.cpp
src/TestSet.cpp
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- /* * Copyright (C) 2010 RobotCub Consortium, European Commission FP6 Project IST-004370 * Author: Alessandro Scalzo * email: alessandro.scalzo@iit.it * website: www.robotcub.org * Permission is granted to copy, distribute, and/or modify thi...
// -*- mode:C++; tab-width:4; c-basic-offset:4; indent-tabs-mode:nil -*- /* * Copyright (C) 2010 RobotCub Consortium, European Commission FP6 Project IST-004370 * Author: Alessandro Scalzo * email: alessandro.scalzo@iit.it * website: www.robotcub.org * Permission is granted to copy, distribute, and/or modify thi...
handle release
handle release
C++
lgpl-2.1
francesco-romano/robot-testing,robotology/robot-testing,robotology/robot-testing,robotology/robot-testing
7e8c588d0e4616dd0d61bc82eeebc45be876ff7a
src/backend.cpp
src/backend.cpp
/* Copyright (C) 2007-2008 Tanguy Krotoff <tkrotoff@gmail.com> Copyright (C) 2008 Lukas Durfina <lukas.durfina@gmail.com> Copyright (C) 2009 Fathi Boudra <fabo@kde.org> Copyright (C) 2009-2011 vlc-phonon AUTHORS <kde-multimedia@kde.org> Copyright (C) 2011-2013 Harald Sitter <sitter@kde.org> Thi...
/* Copyright (C) 2007-2008 Tanguy Krotoff <tkrotoff@gmail.com> Copyright (C) 2008 Lukas Durfina <lukas.durfina@gmail.com> Copyright (C) 2009 Fathi Boudra <fabo@kde.org> Copyright (C) 2009-2011 vlc-phonon AUTHORS <kde-multimedia@kde.org> Copyright (C) 2011-2013 Harald Sitter <sitter@kde.org> Thi...
Debug version of backend via ::Backend
Debug version of backend via ::Backend libphonon has no debugging means when constructed through the KDE platform plugin.
C++
lgpl-2.1
KDE/phonon-vlc,BinChengfei/phonon-vlc,BinChengfei/phonon-vlc,BinChengfei/phonon-vlc,KDE/phonon-vlc,KDE/phonon-vlc
00c505b58f0794a45c946cdbea093f130f07e8e6
src/car/ecu.cpp
src/car/ecu.cpp
/** ******************************************************************************* * * * ECU: iRacing MP4-30 Performance Analysis Project * * ...
/** ******************************************************************************* * * * ECU: iRacing MP4-30 Performance Analysis Project * * ...
Fix typo in ecu.cpp
Fix typo in ecu.cpp
C++
bsd-3-clause
garciaadrian/ECU,garciaadrian/ECU,garciaadrian/ECU
881b70ee96ae8310ab792fabf1dfded513c891c3
src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C
src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/initfiles/p9_npu_scom.C $ */ /* ...
Update p9_npu_scom initfile procedure with the latest initCompiler changes
Update p9_npu_scom initfile procedure with the latest initCompiler changes Change-Id: If65958f50cbf248d1227d7db4dde12a6ec6ab51f Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/23593 Tested-by: Jenkins Server Reviewed-by: Joseph J. McGill <4a85c6614f9f065f63d8fd57cde15e48af07ea2a@us.ibm.com> Reviewed-by: JOSHUA L....
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
6f4423af235da5e1e5e03a602edf36cff5caeee0
src/libGLESv2/renderer/d3d/d3d9/VertexDeclarationCache.cpp
src/libGLESv2/renderer/d3d/d3d9/VertexDeclarationCache.cpp
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexDeclarationCache.cpp: Implements a helper class to construct and cache vertex declarations. #include "li...
#include "precompiled.h" // // Copyright (c) 2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexDeclarationCache.cpp: Implements a helper class to construct and cache vertex declarations. #include "li...
Revert "Fix application of vertex divisor for non-instanced draws in D3D9"
Revert "Fix application of vertex divisor for non-instanced draws in D3D9" Other issues turn up on the FYI bots with this patch applied; reverting until this is investigated further. This reverts commit 9f6907bfdd4cf95d20408831b1776a6efd221ab3. Change-Id: Ib30c51b2c905e87973c73b06baa4b8ebba31d210 Reviewed-on: https:...
C++
bsd-3-clause
MIPS/external-chromium_org-third_party-angle,ppy/angle,larsbergstrom/angle,nandhanurrevanth/angle,mikolalysenko/angle,ecoal95/angle,android-ia/platform_external_chromium_org_third_party_angle,mybios/angle,bsergean/angle,ghostoy/angle,mrobinson/rust-angle,vvuk/angle,MSOpenTech/angle,mlfarrell/angle,geekboxzone/lollipop_...
e54b9681ae14fa30cd2f4434968682f6f7f9def2
src/core/console_user_server/include/console_user_server/components_manager.hpp
src/core/console_user_server/include/console_user_server/components_manager.hpp
#pragma once // `krbn::console_user_server::components_manager` can be used safely in a multi-threaded environment. #include "application_launcher.hpp" #include "components_manager_killer.hpp" #include "constants.hpp" #include "grabber_client.hpp" #include "logger.hpp" #include "menu_process_manager.hpp" #include "mo...
#pragma once // `krbn::console_user_server::components_manager` can be used safely in a multi-threaded environment. #include "application_launcher.hpp" #include "components_manager_killer.hpp" #include "constants.hpp" #include "grabber_client.hpp" #include "logger.hpp" #include "menu_process_manager.hpp" #include "mo...
use launch_multitouch_extension
use launch_multitouch_extension
C++
unlicense
tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements
df6c6b5b42e8a9ff9cb6c8d4b9e713e2f1e71c4d
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
tensorflow/compiler/mlir/tensorflow/transforms/optimize.cc
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Add TFExecutorGraphPruning pass to TFStandardPipeline.
[TF:MLIR] Add TFExecutorGraphPruning pass to TFStandardPipeline. This is to remove dead islands before running TFExecutorIslandCoarsening pass. PiperOrigin-RevId: 294709549 Change-Id: I8ed32b1689ecb1c4a478ef44e370b0143fe6d6ef
C++
apache-2.0
frreiss/tensorflow-fred,renyi533/tensorflow,yongtang/tensorflow,annarev/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,gautam1858/tensorflow,gunan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,gunan/tensorflow,gautam18...
024c81a58dfe8b476c4cc181d6357cbab55c70c4
tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp
tests/auto/quick/qquickaccessible/tst_qquickaccessible.cpp
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
Fix memory leak in test
Fix memory leak in test Change-Id: I026ce85a6e593d5eccecdf032ee2f0763a2bef87 Reviewed-by: Jan Arve Sæther <781b533117cd4e86bcc65e6d7bba551952271382@digia.com>
C++
lgpl-2.1
qmlc/qtdeclarative,qmlc/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,matthewvogt/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclar...
0cc68b2cbb1185c55ee58b1706e43de6a41b310d
general/device.hpp
general/device.hpp
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http://mfem.org. //...
// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http://mfem.org. //...
make style
make style
C++
bsd-3-clause
mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem
c2541afe14a0f4561f90a90770a1f3809e60d1a4
test/book/main.cpp
test/book/main.cpp
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2011-2017 Igor Mironchik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, i...
/*! \file \author Igor Mironchik (igor.mironchik at gmail dot com). Copyright (c) 2011-2017 Igor Mironchik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, i...
add XL_LABEL (review)
add XL_LABEL (review)
C++
mit
igormironchik/read-excel
1ca48928588851abdb9e8dd4913259f4c5d812b8
include/util/histogram.hpp
include/util/histogram.hpp
/******************************************************************************* * include/util/histogram.hpp * * Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ****************************************************...
/******************************************************************************* * include/util/histogram.hpp * * Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de> * * All rights reserved. Published under the BSD-2 license in the LICENSE file. ****************************************************...
Allow construction of an empty histogram
Allow construction of an empty histogram
C++
bsd-2-clause
kurpicz/pwm,kurpicz/pwm,kurpicz/pwm
ab1bd8c9276a24100dfd546d0782349b2b8070e1
eigen.hpp
eigen.hpp
// -*- mode: c++; coding: utf-8 -*- #pragma once #ifndef WTL_EIGEN_HPP_ #define WTL_EIGEN_HPP_ #include <vector> #include <valarray> #include <string> #include <istream> #include <Eigen/Core> /////////1/////////2/////////3/////////4/////////5/////////6/////////7///////// namespace wtl { namespace eigen { /////////1//...
// -*- mode: c++; coding: utf-8 -*- #pragma once #ifndef WTL_EIGEN_HPP_ #define WTL_EIGEN_HPP_ #include <vector> #include <valarray> #include <string> #include <istream> #include <Eigen/Core> /////////1/////////2/////////3/////////4/////////5/////////6/////////7///////// namespace wtl { namespace eigen { /////////1//...
Add eigen::columns()
Add eigen::columns()
C++
mit
heavywatal/cxxwtils
32cf953eb202ac3cf18d26f6c8ea629a6e581859
either.hh
either.hh
#ifndef EITHER_HH #define EITHER_HH #include <functional> #include <new> #include <type_traits> #include <utility> template<typename Left, typename Right, typename = typename std::enable_if<std::is_nothrow_move_constructible<Left>::value && std::is_nothrow_move_con...
#ifndef EITHER_HH #define EITHER_HH #include <functional> #include <new> #include <type_traits> #include <utility> template<typename Left, typename Right, typename = typename std::enable_if<std::is_nothrow_move_constructible<Left>::value && std::is_nothrow_move_con...
use enable_if for emplace_left and emplace_right
use enable_if for emplace_left and emplace_right they are only safe for noexcept constructors
C++
mit
thestinger/util,thestinger/util
c8cb6be3e336529d66e078d700dfef659daef3d8
test/gpio_test.cpp
test/gpio_test.cpp
/* * File: gpio_test.cpp * Description: Tests GPIO memory access using Broadcom GPIO Pin 17 on revision 2 * of the Raspberry Pi * Programmer: Thomas Newman * Date: 2013/07/30 * * Note: This program must run as root to successfully map the file. * This program is just to test the basic functionality. All ...
/* * File: gpio_test.cpp * Description: Tests GPIO memory access using Broadcom GPIO Pin 17 on revision 2 * of the Raspberry Pi * Programmer: Thomas Newman * Date: 2013/07/30 * * Note: This program must run as root to successfully map the file. * This program is just to test the basic functionality. All ...
Update gpio_test.cpp
Update gpio_test.cpp
C++
mit
tnewman/pio
e75b0a9ef24e081f4132f86dc68a75bdef75fa24
tests/auto/qsparqlquery/tst_qsparqlquery.cpp
tests/auto/qsparqlquery/tst_qsparqlquery.cpp
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (ivan.frade@nokia.com) ** ** This file is part of the test suite of the QtSparql module (not yet part of the Qt Tool...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (ivan.frade@nokia.com) ** ** This file is part of the test suite of the QtSparql module (not yet part of the Qt Tool...
Test for escaping in QSparqlQuery::preparedQueryText.
Test for escaping in QSparqlQuery::preparedQueryText.
C++
lgpl-2.1
vranki/libqtsparql,vranki/libqtsparql,vranki/libqtsparql,vranki/libqtsparql
a656eb8f18968ce16761388ccd2683abe2b818c3
tools/llvm-readobj/WindowsResourceDumper.cpp
tools/llvm-readobj/WindowsResourceDumper.cpp
//===-- WindowsResourceDumper.cpp - Windows Resource printer --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- WindowsResourceDumper.cpp - Windows Resource printer --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix 'Teach readobj to dump .res files'.
[llvm-readobj] Fix 'Teach readobj to dump .res files'. Fix-up for r313790. Some buildbots couldn't convert size_t to uint{}_t; do it manually. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@313816 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen...
f97f264abd939fdb301c8574781ef59f19379bd9
test/simple_app.cc
test/simple_app.cc
#include "webrtc/base/thread.h" #include "webrtc/p2p/base/basicpacketsocketfactory.h" #include "webrtc/api/peerconnectioninterface.h" #include "webrtc/api/test/fakeconstraints.h" #include "webrtc/media/engine/webrtcvideocapturerfactory.h" int main(int argc, char* argv[]) { // something from base rtc::Thread* threa...
#include "webrtc/rtc_base/thread.h" #include "webrtc/p2p/base/basicpacketsocketfactory.h" #include "webrtc/api/peerconnectioninterface.h" #include "webrtc/api/test/fakeconstraints.h" #include "webrtc/media/engine/webrtcvideocapturerfactory.h" int main(int argc, char* argv[]) { // something from base rtc::Thread* t...
Fix test for current head changes.
Fix test for current head changes.
C++
bsd-3-clause
vsimon/webrtcbuilds,vsimon/webrtcbuilds
253e827c28babce3e3feb70aa2c57b62c04b7370
test/test_utf8.cpp
test/test_utf8.cpp
/* Copyright (c) 2014, 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) 2014, 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...
extend utf8 unit test
extend utf8 unit test
C++
bsd-3-clause
jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent
841fc2950e6f70fcf736a763dccfbf3554fa9786
tests/test-url.cpp
tests/test-url.cpp
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_NO_MAIN #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> #include <boost/foreach.hpp> #include "yahttp/yahttp.hpp" BOOST_AUTO_TEST_SUITE(test_url) BOOST_AUTO_TEST_CASE(test_url_complete) { YaHTTP::URL url("https://shaun:sheep@test.org/something...
#define BOOST_TEST_DYN_LINK #define BOOST_TEST_NO_MAIN #include <boost/test/unit_test.hpp> #include <boost/assign/list_of.hpp> #include <boost/foreach.hpp> #include "yahttp/yahttp.hpp" BOOST_AUTO_TEST_SUITE(test_url) BOOST_AUTO_TEST_CASE(test_url_complete) { YaHTTP::URL url("https://shaun:sheep@test.org:62362/som...
Make sure url port gets parsed
Make sure url port gets parsed
C++
mit
cmouse/yahttp,cmouse/yahttp,cmouse/yahttp
a94af05ea80c1356c69e7aab865d7ac0e31dee9d
applications/mne_scan/mne_scan/main.cpp
applications/mne_scan/mne_scan/main.cpp
//============================================================================================================= /** * @file main.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Lorenz Esch <lesch@mgh.harvard.edu> * @since 0.1.0 * @date February, 2013 * * @section LICENSE * ...
//============================================================================================================= /** * @file main.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Lorenz Esch <lesch@mgh.harvard.edu> * @since 0.1.0 * @date February, 2013 * * @section LICENSE * ...
remove redundant splash_screen.show
remove redundant splash_screen.show
C++
bsd-3-clause
mne-tools/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp
69e7afee268d1cb62607eca68212207a6ac8f38a
atom/browser/native_window_views_win.cc
atom/browser/native_window_views_win.cc
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/browser.h" #include "atom/browser/native_window_views.h" #include "content/public/browser/browser_accessibility_state.h" namespace atom { namespace { // Conve...
// Copyright (c) 2015 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/browser/browser.h" #include "atom/browser/native_window_views.h" #include "content/public/browser/browser_accessibility_state.h" namespace atom { namespace { // Conve...
fix dev tools window interfering with mouse forward (#12132)
fix dev tools window interfering with mouse forward (#12132)
C++
mit
shiftkey/electron,bpasero/electron,bpasero/electron,the-ress/electron,gerhardberger/electron,seanchas116/electron,seanchas116/electron,electron/electron,gerhardberger/electron,bpasero/electron,shiftkey/electron,electron/electron,bpasero/electron,the-ress/electron,the-ress/electron,bpasero/electron,gerhardberger/electro...
936cadfb99aadbf24c9750a08a176cff637de955
math/math.hpp
math/math.hpp
#ifndef HMLIB_MATH_MATH_INC #define HMLIB_MATH_MATH_INC 100 # namespace hmLib{ template<typename T> T ipow(T base, unsigned int exp){ T result = 1; if (exp & 1)result *= base; exp >>= 1; while(!exp){ base *= base; if (exp & 1)result *= base; exp >>= 1; } return result; } } # #endif
#ifndef HMLIB_MATH_MATH_INC #define HMLIB_MATH_MATH_INC 100 # namespace hmLib{ template<typename T> T ipow(T base, unsigned int exp){ T result = 1; if (exp & 1)result *= base; exp >>= 1; while(exp){ base *= base; if (exp & 1)result *= base; exp >>= 1; } return result; } } # #endif
Fix endless loop bug in static_pow
Fix endless loop bug in static_pow
C++
mit
hmito/hmLib,hmito/hmLib
e2a1eece3cb73a00c02f66ad84536bd0345b279c
tree/src/TLeaf.cxx
tree/src/TLeaf.cxx
// @(#)root/tree:$Name: $:$Id: TLeaf.cxx,v 1.19 2006/07/13 05:30:48 pcanal Exp $ // Author: Rene Brun 12/01/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
// @(#)root/tree:$Name: $:$Id: TLeaf.cxx,v 1.20 2006/07/13 17:50:42 pcanal Exp $ // Author: Rene Brun 12/01/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
Implement a simpler and faster algorithm in the TLeaf constructor when encountering a leaf with a "["
Implement a simpler and faster algorithm in the TLeaf constructor when encountering a leaf with a "[" git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@16038 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT
58e5a004c5d0526802745689e421ac5a52f1c9f8
doc/examples/xor_ciph.cpp
doc/examples/xor_ciph.cpp
/* An implementation of the highly secure (not) XOR cipher. AKA, how to write and use your own cipher object. DO NOT make up your own ciphers. Please. Written by Jack Lloyd (lloyd@randombit.net) on Feb 17, 2004 This file is in the public domain */ #include <botan/base.h> #include <botan/init.h> using namespac...
/* An implementation of the highly secure (not) XOR cipher. AKA, how to write and use your own cipher object. DO NOT make up your own ciphers. Please. Written by Jack Lloyd (lloyd@randombit.net) on Feb 17, 2004 This file is in the public domain */ #include <botan/base.h> #include <botan/init.h> using namespac...
Fix xor_ciph example
Fix xor_ciph example
C++
bsd-2-clause
webmaster128/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster12...
37f5c09a16b6bcc368d38d00173dd64b7d89d00b
kalarm/soundpicker.cpp
kalarm/soundpicker.cpp
/* * soundpicker.cpp - widget to select a sound file or a beep * Program: kalarm * Copyright (c) 2002-2006 by David Jarvie <software@astrojar.org.uk> * * 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...
/* * soundpicker.cpp - widget to select a sound file or a beep * Program: kalarm * Copyright (c) 2002-2006 by David Jarvie <software@astrojar.org.uk> * * 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...
Fix enabling/disabling sound file selector button
Fix enabling/disabling sound file selector button svn path=/trunk/KDE/kdepim/; revision=596937
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
d3acf29868674a0d14792b0160532b46f97ba59f
kdb+.util/Cookbook.inl
kdb+.util/Cookbook.inl
//NOTE Include this only after <k.h> and <ctime> #ifndef __COOKBOOK_INL__ #define __COOKBOOK_INL__ #include "win32.util/msvc.h" #include <cassert> #include <ctime> // Utilities to deal with q datetime/timestamp data types in C. //@ref http://code.kx.com/wiki/Cookbook/InterfacingWithC#Strings_and_datetimes namespace ...
//NOTE Include this only after <k.h> and <ctime> #ifndef __COOKBOOK_INL__ #define __COOKBOOK_INL__ #include "win32.util/msvc.h" #include <cassert> #include <ctime> // Utilities to deal with q datetime/timestamp data types in C. //@ref http://code.kx.com/wiki/Cookbook/InterfacingWithC#Strings_and_datetimes namespace ...
add support for floating-point unix timestamp to q timestamp conversion
add support for floating-point unix timestamp to q timestamp conversion
C++
apache-2.0
FlyingOE/q_Wind,FlyingOE/q_Wind
bc36d727bfc7daaf97d421da881dc75a72198ca6
src/command.cpp
src/command.cpp
/* * Copyright 2014 Matthew Harvey * * 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 2014 Matthew Harvey * * 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...
Make Command::add_boolean_option() atomic.
Make Command::add_boolean_option() atomic.
C++
apache-2.0
skybaboon/swx,matt-harvey/swx
6f2741c6325e0112f52b537444e1aaac8e746f85
lib/sanitizer_common/sanitizer_printf.cc
lib/sanitizer_common/sanitizer_printf.cc
//===-- sanitizer_printf.cc -----------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- sanitizer_printf.cc -----------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
allow to override OnPrint() callback in Go runtime
tsan: allow to override OnPrint() callback in Go runtime git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@192576 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
2f55b9b84981c6f392efa24309a242ce2045d694
flappy.cc
flappy.cc
/* flappy.cc --- ncurses flappy bird clone * This is free and unencumbered software released into the public domain. */ #include <algorithm> #include <thread> #include <deque> #include <ctime> #include <cmath> #include <cstring> #include <ncurses.h> #include "sqlite3.h" #include "highscores.hh" struct Display { D...
/* flappy.cc --- ncurses flappy bird clone * This is free and unencumbered software released into the public domain. */ #include <algorithm> #include <thread> #include <deque> #include <ctime> #include <cmath> #include <cstring> #include <ncurses.h> #include "sqlite3.h" #include "highscores.hh" struct Display { D...
Stop reading on ERR.
Stop reading on ERR.
C++
unlicense
skeeto/flappy,skeeto/flappy
c5122b37f3bd8b5be3c0f379bc2809aac4962927
kernel/src/console.cpp
kernel/src/console.cpp
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
//======================================================================= // Copyright Baptiste Wicht 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //=================================================================...
Save the complete state of the console
Save the complete state of the console
C++
mit
wichtounet/thor-os,wichtounet/thor-os
6e74c5ec52df7dcacd6bcdc68eae6b3e8b6d1380
modules/elm/layers/gradassignment.cpp
modules/elm/layers/gradassignment.cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, Youssef Kashef // Copyright (c) 2015, Elm Library Project // 3-clause BSD License // //M*/ #include "elm/layers/gradassignment.h" #include "elm/core/layerconfig.h" #include "elm/core/signal.h" #include ...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, Youssef Kashef // Copyright (c) 2015, Elm Library Project // 3-clause BSD License // //M*/ #include "elm/layers/gradassignment.h" #include "elm/core/layerconfig.h" #include "elm/core/signal.h" #include ...
comment out comp. matrix normalization until we figure out a better solution
comment out comp. matrix normalization until we figure out a better solution
C++
bsd-3-clause
kashefy/elm,kashefy/elm,kashefy/elm,kashefy/elm
43754afa62c5404b80ae16905d124356c9579e1d
src/upsampling_algorithm_short_sequence.cc
src/upsampling_algorithm_short_sequence.cc
#include <iostream> #include <fstream> #include <vector> #include <memory> #include <algorithm> #include <functional> #include <complex> #include <iterator> #include <sndfile.hh> #define kiss_fft_scalar float #include "kiss_fft.h" int main(int argc, char *argv[]) { const int I = 2; const int D = 1; const...
#include <iostream> #include <fstream> #include <vector> #include <memory> #include <algorithm> #include <functional> #include <complex> #include <iterator> #include <sndfile.hh> #define kiss_fft_scalar float #include "kiss_fft.h" int main(int argc, char *argv[]) { const int I = 2; const int D = 1; const...
Save IEEE floating-point C++ data as decimal text with the correct precision.
Save IEEE floating-point C++ data as decimal text with the correct precision.
C++
mit
mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools,mpoullet/audio-tools
8fb727a20f2d9ed865aafbb37657b62e37e43d89
tests/utils.cpp
tests/utils.cpp
#include "gtest/gtest.h" #include "utils.h" namespace bpftrace { namespace test { namespace utils { TEST(utils, split_string) { std::vector<std::string> tokens_empty = {}; std::vector<std::string> tokens_one_empty = {""}; std::vector<std::string> tokens_two_empty = {"", ""}; std::vector<std::string> tokens_f ...
#include "gmock/gmock.h" #include "gtest/gtest.h" #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "utils.h" namespace bpftrace { namespace test { namespace utils { TEST(utils, split_string) { std::vector<std::string> tokens_empty = {}; std::vector<std::string> tokens_one_empty = {""}; s...
Add tests for resolve_binary_path
Add tests for resolve_binary_path
C++
apache-2.0
iovisor/bpftrace,iovisor/bpftrace,iovisor/bpftrace,iovisor/bpftrace
2102f6e56ba24ce91ae0b93bb2757110c034fe7b
AdjustRod/AdjustRod.cpp
AdjustRod/AdjustRod.cpp
/* OFX AdjustRod plugin. Copyright (C) 2014 INRIA 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 following di...
/* OFX AdjustRoD plugin. Copyright (C) 2014 INRIA 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 following di...
use PixelCopier!
AdjustRoD: use PixelCopier!
C++
bsd-3-clause
olear/openfx-misc,olear/openfx-misc,olear/openfx-misc
331c1633b49f6c2110fb249709c9430a4f2efd89
svtools/source/dialogs/PlaceEditDialog.cxx
svtools/source/dialogs/PlaceEditDialog.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
Check if OK button should be enabled after changing service type
Check if OK button should be enabled after changing service type Change-Id: I64ce981846f4107c8f38e413f1e6eb9e5616ef87
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
77c607196f1c63d90208621804fd31c3dcfdb9ec
libs/csplugincommon/opengl/shaderplugin.cpp
libs/csplugincommon/opengl/shaderplugin.cpp
/* Copyright (C) 2008 by Frank Richter This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This li...
/* Copyright (C) 2008 by Frank Richter This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This li...
Fix vendor detection in GL shader plugin common code
Fix vendor detection in GL shader plugin common code git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@30398 8cc4aa7f-3514-0410-904f-f2cc9021211c
C++
lgpl-2.1
crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS
1d5e091602c3e994740f5d13204ee5cdf4682b64
liboh/include/sirikata/oh/ObjectHost.hpp
liboh/include/sirikata/oh/ObjectHost.hpp
/* Sirikata liboh -- Object Host * ObjectHost.hpp * * Copyright (c) 2009, Ewen Cheslack-Postava * 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 cod...
/* Sirikata liboh -- Object Host * ObjectHost.hpp * * Copyright (c) 2009, Ewen Cheslack-Postava * 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 cod...
Include ListenerProvider in ObjectHost since it uses Provider.
Include ListenerProvider in ObjectHost since it uses Provider.
C++
bsd-3-clause
sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata
3df767497f3f294c721835eeda1a1a451b95c17c
include/Struct.hpp
include/Struct.hpp
//======================================================================= // Copyright Baptiste Wicht 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=====================================================...
//======================================================================= // Copyright Baptiste Wicht 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=====================================================...
Complete Doxygen
Complete Doxygen
C++
mit
wichtounet/eddic,vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic
2aea49b8e620f8a81d217b37ca626bfeca44c9d8
src/crypter.cpp
src/crypter.cpp
// Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "crypter.h" #include "script.h" #include <string> #include <vector> #include <boost/foreach.hpp> #include <openssl/...
// Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "crypter.h" #include "script.h" #include <string> #include <vector> #include <boost/foreach.hpp> #include <openssl/...
Make CCryptoKeyStore::Unlock check all keys.
Make CCryptoKeyStore::Unlock check all keys. CCryptoKeyStore::Unlock has a loop to attempt decrypting each key which only executes once, likely due to a simple mistake when the code was originally written. This patch fixes the behavior by making it check all keys. It also adds a fatal assertion in the case some de...
C++
mit
langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin
abcce44b788e650bcd1217939365c6b85591a996
elf/elf_code_container.cpp
elf/elf_code_container.cpp
/* The MIT License (MIT) * * Copyright (c) 2016 Adrian Dobrică, Ștefan-Gabriel Mirea * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
/* The MIT License (MIT) * * Copyright (c) 2016 Adrian Dobrică, Ștefan-Gabriel Mirea * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
Implement overwrite for ElfCodeContainer
Implement overwrite for ElfCodeContainer
C++
mit
stefanmirea/mangler,SilentControl/mangler
0ffc83c5ba725c1b51a6e347de861b5c705ecece
chrome/browser/download/download_exe.cc
chrome/browser/download/download_exe.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <set> #include <string> #include "chrome/browser/download/download_util.h" #include "base/logging.h" namespace download_util { // Fo...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <set> #include <string> #include "chrome/browser/download/download_util.h" #include "base/logging.h" namespace download_util { // Fo...
Add more extensions to our download_exe list.
Add more extensions to our download_exe list. Review URL: http://codereview.chromium.org/243115 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@28235 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
15b434a33a1c1308ec88306590081f61854076fe
include/common.hpp
include/common.hpp
#ifndef COMMON_H #define COMMON_H #include <sys/time.h> #include <time.h> #include <string> //#define PRINT_BUILD_TIME_BREAKDOWN 1 //#define USE_ARRAY_DICT 1 #define USE_FIXED_LEN_DICT_CODE 1 //#define INCLUDE_DECODE 1 const int dict_size_list[9] = {1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144}; con...
#ifndef COMMON_H #define COMMON_H #include <sys/time.h> #include <time.h> #include <string> //#define PRINT_BUILD_TIME_BREAKDOWN 1 //#define USE_ARRAY_DICT 1 #define USE_FIXED_LEN_DICT_CODE 1 //#define INCLUDE_DECODE 1 #define MAX_STR_LEN 50 const int dict_size_list[9] = {1024, 2048, 4096, 8192, 16384, 32768, 65536...
add string len limit
add string len limit
C++
apache-2.0
efficient/HOPE,efficient/HOPE,efficient/HOPE
93d2e58982c466af86ed35f0bbb0cb56b68bba0c
chrome/common/pepper_plugin_registry.cc
chrome/common/pepper_plugin_registry.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/common/pepper_plugin_registry.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h" #include ...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/pepper_plugin_registry.h" #include "base/command_line.h" #include "base/file_util.h" #include "base/path_service.h" #include ...
Add the ability to specify the name and description for a pepper plugin loaded on the command line. This is necessary to emulate known plugin types with Pepper since web pages do sniffing on these to detect if the corresponding plugin is installed.
Add the ability to specify the name and description for a pepper plugin loaded on the command line. This is necessary to emulate known plugin types with Pepper since web pages do sniffing on these to detect if the corresponding plugin is installed. TEST=none BUG=none Review URL: http://codereview.chromium.org/2985010 ...
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
7af7e13e43eaef2563081568d2b3d0e8d593128e
include/io/tmp.hpp
include/io/tmp.hpp
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle 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 ...
/* PICCANTE The hottest HDR imaging library! http://vcg.isti.cnr.it/piccante Copyright (C) 2014 Visual Computing Laboratory - ISTI CNR http://vcg.isti.cnr.it First author: Francesco Banterle 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 ...
Update tmp.hpp
Update tmp.hpp
C++
mpl-2.0
banterle/piccante,banterle/piccante,cnr-isti-vclab/piccante
bfbb69506f7a10457ff77e7281609ad92437e763
Hybrid/vtkRenderLargeImage.cxx
Hybrid/vtkRenderLargeImage.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkRenderLargeImage.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softw...
/*========================================================================= Program: Visualization Toolkit Module: vtkRenderLargeImage.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softw...
Remove warnings
COMP: Remove warnings
C++
bsd-3-clause
arnaudgelas/VTK,biddisco/VTK,mspark93/VTK,SimVascular/VTK,johnkit/vtk-dev,Wuteyan/VTK,jmerkow/VTK,jmerkow/VTK,collects/VTK,berendkleinhaneveld/VTK,aashish24/VTK-old,jeffbaumes/jeffbaumes-vtk,mspark93/VTK,Wuteyan/VTK,jmerkow/VTK,hendradarwin/VTK,collects/VTK,arnaudgelas/VTK,berendkleinhaneveld/VTK,Wuteyan/VTK,msmolens/V...
6580a4ba29093acddab87653776aeb6dd8f324a6
include/person.hpp
include/person.hpp
#include <string> const size_t n_literals = 27; size_t letterI(const char letter, const bool is_capital) { int first_letter_code = static_cast<int>(is_capital ? 'A' : 'a'); size_t result = static_cast<int>(letter) - first_letter_code + 1; return result; } struct person { char * str; unsigned char name_i; unsigned...
#include <string> const size_t n_literals = 27; size_t letterI(const char letter, const bool is_capital) { int first_letter_code = static_cast<int>(is_capital ? 'A' : 'a'); size_t result = static_cast<int>(letter) - first_letter_code + 1; return result; } struct person { char * str; unsigned char name_i; unsigned...
Update person.hpp
Update person.hpp
C++
mit
ArtemKokorinStudent/External-sort
51808a91fef99c0d0849f143f772cb1bbc11f2e4
chrome_frame/test/proxy_factory_mock.cc
chrome_frame/test/proxy_factory_mock.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/compiler_specific.h" #include "base/synchronization/waitable_event.h" #include "chrome/common/chrome_paths_internal.h" #include "chrome...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/compiler_specific.h" #include "base/synchronization/waitable_event.h" #include "chrome/common/chrome_paths_internal.h" #include "chrome...
Fix flake in ProxyFactoryTest.CreateDifferentProfiles due to data race.
Fix flake in ProxyFactoryTest.CreateDifferentProfiles due to data race. Google Mock isn't threadsafe on Windows! BUG=122929 TEST=chrome_frame_tests.exe --gtest_filter=ProxyFactoryTest.CreateDifferentProfiles won't flake Review URL: https://chromiumcodereview.appspot.com/10050014 git-svn-id: de016e52bd170d2d4f2344f9...
C++
bsd-3-clause
TheTypoMaster/chromium-crosswalk,zcbenz/cefode-chromium,keishi/chromium,patrickm/chromium.src,anirudhSK/chromium,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,chuan9/chromium-crosswalk,anirudhSK/chromium,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,M4sse/chromium....
9c8dc099962ab204e37c388c70cd5042a2836f78
deps/ox/src/ox/std/assert.cpp
deps/ox/src/ox/std/assert.cpp
/* * Copyright 2015 - 2018 gtalent2@gmail.com * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #if defined(OX_USE_STDLIB) #include <bitset> #include <iostream...
/* * Copyright 2015 - 2018 gtalent2@gmail.com * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #if defined(OX_USE_STDLIB) #include <bitset> #include <iostream...
Fix ox::assertFunc<bool> for GBA
[ox/std] Fix ox::assertFunc<bool> for GBA
C++
mpl-2.0
wombatant/nostalgia,wombatant/nostalgia,wombatant/nostalgia
fb12e7f8d628393eacb4f9e5ee36e15738a6e5f6
include/person.hpp
include/person.hpp
#include <string> #include <cstring> #include <utility> #include <algorithm> const size_t n_literals = 27; size_t letterI(const char letter, const bool is_capital) { int first_letter_code = static_cast<int>(is_capital ? 'A' : 'a'); size_t result = static_cast<int>(letter) - first_letter_code + 1; return result; } s...
#include <string> #include <cstring> #include <utility> #include <algorithm> const size_t n_literals = 27; size_t letterI(const char letter, const bool is_capital) { int first_letter_code = static_cast<int>(is_capital ? 'A' : 'a'); size_t result = static_cast<int>(letter) - first_letter_code + 1; return result; } s...
Update person.hpp
Update person.hpp
C++
mit
ArtemKokorinStudent/External-sort
e75478af4d6cbae6c30b430e324d27df75657d7d
Library/Sources/Stroika/Foundation/Streams/MemoryStream.inl
Library/Sources/Stroika/Foundation/Streams/MemoryStream.inl
/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #ifndef _Stroika_Foundation_Streams_MemoryStream_inl_ #define _Stroika_Foundation_Streams_MemoryStream_inl_ 1 /* ******************************************************************************** ***************************** Implementati...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved */ #ifndef _Stroika_Foundation_Streams_MemoryStream_inl_ #define _Stroika_Foundation_Streams_MemoryStream_inl_ 1 /* ******************************************************************************** ***************************** Implementati...
tweak Streams/MemoryStream.inl assert
tweak Streams/MemoryStream.inl assert
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
277c27e401b5667de16ddfbae3504bfb1908383c
include/vector.hpp
include/vector.hpp
#ifndef _MATH_VECTOR_HPP #define _MATH_VECTOR_HPP #include <cmath> #include <numeric> #include <iterator> #include <algorithm> #include <type_traits> #include <iosfwd> namespace math { namespace internal { template <typename _T, std::size_t _N> struct vector_base { private: _T _data[_N]; public: _T& ...
#ifndef _MATH_VECTOR_HPP #define _MATH_VECTOR_HPP #include <cmath> #include <numeric> #include <iterator> #include <algorithm> #include <type_traits> #include <iosfwd> namespace math { namespace internal { template <typename _T, std::size_t _N> struct vector_base { private: _T _data[_N]; public: _T& ...
Implement unary arithmetic operators
Implement unary arithmetic operators
C++
mit
rtlayzell/angle,rtlayzell/math
11f630e63cebd7a37ff928af90ae42b34835eff4
kode/kodemain.cpp
kode/kodemain.cpp
/* This file is part of kdepim. Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the L...
/* This file is part of kdepim. Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the L...
Implement add-property option.
Implement add-property option. svn path=/trunk/kdepim/; revision=359714
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
4c5dcca3a4e6c12cbe38b99fc6eb27b7e8188050
src/dinitctl.cc
src/dinitctl.cc
#include <cstdio> #include <cstddef> #include <cstring> #include <string> #include <iostream> #include <system_error> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <pwd.h> #include "control-cmds.h" #include "service-constants.h" #include "cpbuffer.h" // dinitctl: ut...
#include <cstdio> #include <cstddef> #include <cstring> #include <string> #include <iostream> #include <system_error> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <unistd.h> #include <pwd.h> #include "control-cmds.h" #include "service-constants.h" #include "cpbuffer.h" // dinitctl: ut...
Add support for pinning services to dinitctl
Add support for pinning services to dinitctl
C++
apache-2.0
davmac314/dinit,davmac314/dinit,davmac314/dinit
376154353d54add4b9f7f3bf0ba934bf03e2de4b
src/modules/decklink/common.cpp
src/modules/decklink/common.cpp
/* * common.cpp -- Blackmagic Design DeckLink common functions * Copyright (C) 2012 Dan Dennedy <dan@dennedy.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version...
/* * common.cpp -- Blackmagic Design DeckLink common functions * Copyright (C) 2012 Dan Dennedy <dan@dennedy.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version...
fix BSTR string conversion under Windows
fix BSTR string conversion under Windows
C++
lgpl-2.1
zzhhui/mlt,xzhavilla/mlt,mltframework/mlt,j-b-m/mlt,zzhhui/mlt,wideioltd/mlt,gmarco/mlt-orig,gmarco/mlt-orig,xzhavilla/mlt,mltframework/mlt,zzhhui/mlt,anba8005/mlt,xzhavilla/mlt,siddharudh/mlt,siddharudh/mlt,wideioltd/mlt,wideioltd/mlt,wideioltd/mlt,zzhhui/mlt,siddharudh/mlt,j-b-m/mlt,mltframework/mlt,xzhavilla/mlt,gma...
5e35de08724b3596db99c08cc04fa653b30ff9bd
distrho/src/DistrhoUIDSSI.cpp
distrho/src/DistrhoUIDSSI.cpp
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2016 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
Remove leftover debug prints
Remove leftover debug prints Signed-off-by: falkTX <d7e5958cbb080ba57e41fb602ade747e1a2da17c@gmail.com>
C++
isc
DISTRHO/DPF,DISTRHO/DPF,DISTRHO/DPF,DISTRHO/DPF
fcdde594381dea26f9662b934172b52fe7a7c625
src/muz_qe/pdr_dl_interface.cpp
src/muz_qe/pdr_dl_interface.cpp
/*++ Copyright (c) 2011 Microsoft Corporation Module Name: pdr_dl.cpp Abstract: SMT2 interface for the datalog PDR Author: Krystof Hoder (t-khoder) 2011-9-22. Revision History: --*/ #include "dl_cmds.h" #include "dl_context.h" #include "dl_mk_coi_filter.h" #include "dl_mk_interp_tail_simplifier.h" ...
/*++ Copyright (c) 2011 Microsoft Corporation Module Name: pdr_dl.cpp Abstract: SMT2 interface for the datalog PDR Author: Krystof Hoder (t-khoder) 2011-9-22. Revision History: --*/ #include "dl_cmds.h" #include "dl_context.h" #include "dl_mk_coi_filter.h" #include "dl_mk_interp_tail_simplifier.h" ...
add missing files
add missing files Signed-off-by: Nikolaj Bjorner <0654de5c81f471cf6f3d20a913eab9a374626acd@microsoft.com>
C++
mit
kyledewey/z3,zhuyue1314/z3,seahorn/z3,mschlaipfer/z3,mschlaipfer/z3,375670450/z3,375670450/z3,traiansf/z3-java,conceptofproof/z3,belyaev-mikhail/z3,Baha/z3,seahorn/z3,Baha/z3,jslhs/z3,melted/z3,huangshiyou/z3,kyledewey/z3,jirislaby/z3,gmeer/z3,hguenther/z3,zardus/z3,375670450/z3,wujunzero/z3,hguenther/z3,wujunzero/z3,k...
d34db292dc104818e05bca509f17b5fe5557d892
src/nostalgia/core/sdl/core.cpp
src/nostalgia/core/sdl/core.cpp
/* * Copyright 2016 - 2021 gary@drinkingtea.net * * 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 <SDL.h> #include <nostalgia/core/gfx.hpp> #include ...
/* * Copyright 2016 - 2021 gary@drinkingtea.net * * 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 <SDL.h> #include <nostalgia/core/gfx.hpp> #include ...
Add running of event handler to main loop
[nostlagia/core/userland] Add running of event handler to main loop
C++
mpl-2.0
wombatant/nostalgia,wombatant/nostalgia,wombatant/nostalgia
519f21ffa57f3aec37f48187123f850b402d25bf
myo_media.cpp
myo_media.cpp
#include <iostream> #include <ctime> #include <myo/myo.hpp> class DataCollector : public myo::DeviceListener { public: DataCollector() : current_pose_(), locked_(true), unlocked_at_(0), roll_(0), roll_prev_(0) {} void onPose(myo::Myo* myo, uint64_t timestamp, myo::Pose pose) { if (locked_) { ...
#include <iostream> #include <ctime> #include <algorithm> #include <cstdio> #include <cstdlib> #include <myo/myo.hpp> class DataCollector : public myo::DeviceListener { public: DataCollector() : current_pose_(), locked_(true), unlocked_at_(0), base_volume_(0), roll_(0), roll_prev_(0) {} void onPose(myo::Myo...
Implement system volume control
Implement system volume control
C++
mit
VoidingWarranties/Myo-Media
d6ba20b0e43ea2a6cadbd82c236ad5614faafbbc
src/passes/GenerateDynCalls.cpp
src/passes/GenerateDynCalls.cpp
/* * Copyright 2020 WebAssembly Community Group participants * * 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...
/* * Copyright 2020 WebAssembly Community Group participants * * 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...
Create a table import if there is none in GenerateDynCalls::generateDynCallThunk (#3580)
Create a table import if there is none in GenerateDynCalls::generateDynCallThunk (#3580) This fixes LLVM=>emscripten autoroller breakage due to llvm/llvm-project@f48923e commit f48923e884611e6271a8da821a58aedd24d91cf7 (HEAD) Author: Andy Wingo <f470371f43444450250d9ecb677e09db1ea63db3@igalia.com> Date: Wed Feb ...
C++
apache-2.0
WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen
7eeaa6851fafa418b4264bc1ee1f6fd20ed6f991
src/plugins/git/remotemodel.cpp
src/plugins/git/remotemodel.cpp
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
replace "Url" with "URL" in UI text
Git: replace "Url" with "URL" in UI text Change-Id: I6cf721e84b33183c97c9db8f98842a461af2f0d1 Reviewed-by: Orgad Shaneh <2b010cbad792a0c0a8175f752f93f83941fc6bc1@gmail.com>
C++
lgpl-2.1
amyvmiwei/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,Distrotech/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,martyone/sailf...
ad59a29cb94e84997a924c4331c68a72aec290d6
Examples/Projections/VectorDataExtractROIExample.cxx
Examples/Projections/VectorDataExtractROIExample.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 ...
remove unnecesary include
REFAC: remove unnecesary include
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
140945568cb8d3b8ce4c7a2e73c95ae1a4b4a51f
src/gorgone.cpp
src/gorgone.cpp
#include "gorgone.h" using namespace cv; using namespace ofxCv; int accum = 0; void gorgone::setup() { parseCmdLineOptions(); vidGrabber.setup(filename); } void gorgone::update() { vidGrabber.update(); if(vidGrabber.isFrameNew()){ frame = vidGrabber.getFrame(); if ( frame.cols == 0 ) return; c...
#include "gorgone.h" using namespace cv; using namespace ofxCv; int accum = 0; void gorgone::setup() { parseCmdLineOptions(); vidGrabber.setup(filename); } void gorgone::update() { vidGrabber.update(); if(vidGrabber.isFrameNew()){ frame = vidGrabber.getFrame(); if ( frame.cols == 0 ) return; c...
access I2C LED only on RPi
access I2C LED only on RPi
C++
mit
avilleret/gorgone,avilleret/gorgone
c517b3ac193ed97e6b03a1aacabd75aec0048310
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertyFactory.cpp
ASCOfficeXlsFile2/source/XlsFormat/Logic/SummaryInformationStream/Structures/PropertyFactory.cpp
/* * (c) Copyright Ascensio System SIA 2010-2018 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGP...
/* * (c) Copyright Ascensio System SIA 2010-2018 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGP...
fix 5.1.3 after used icu6 (#73)
fix 5.1.3 after used icu6 (#73)
C++
agpl-3.0
ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core,ONLYOFFICE/core
0446f51e1c0e16bc9e3f1311967e31ac6dc40bab
lib/AST/InheritViz.cpp
lib/AST/InheritViz.cpp
//===- InheritViz.cpp - Graphviz visualization for inheritance --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- InheritViz.cpp - Graphviz visualization for inheritance --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove an unneeded const_cast
Remove an unneeded const_cast git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@172370 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-cl...
2bc39b606f6171ec3529acbda69c60a5260f10e7
Modules/ExampleModule/src/ExampleImageInteractor.cpp
Modules/ExampleModule/src/ExampleImageInteractor.cpp
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
Make project template compatible to both ITK v4 and v5
Make project template compatible to both ITK v4 and v5
C++
bsd-3-clause
MITK/MITK-ProjectTemplate
c564e63ffa4037e27a52938f12a16f6102601b74
modules/eigenutils/src/eigenutilsmodule.cpp
modules/eigenutils/src/eigenutilsmodule.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015-2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015-2018 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
Fix for port inspector not working
Eigen: Fix for port inspector not working
C++
bsd-2-clause
inviwo/inviwo,inviwo/inviwo,Sparkier/inviwo,inviwo/inviwo,inviwo/inviwo,Sparkier/inviwo,Sparkier/inviwo,Sparkier/inviwo,inviwo/inviwo,Sparkier/inviwo,inviwo/inviwo
3009fd4831b2f26f1c9b0efed8d50018f59f4e71
test/unit/attribute-specifier-sequence.cpp
test/unit/attribute-specifier-sequence.cpp
#include <catch/catch.hpp> #include "cppparser.h" #include "embedded-snippet-test-base.h" #include <string> class CppAtributeTest : public EmbeddedSnippetTestBase { protected: CppAtributeTest() : EmbeddedSnippetTestBase(__FILE__) { } }; TEST_CASE_METHOD(CppAtributeTest, "Attribute specifier sequence") { ...
#include <catch/catch.hpp> #include "cppparser.h" #include "embedded-snippet-test-base.h" #include <string> class CppAtributeTest : public EmbeddedSnippetTestBase { protected: CppAtributeTest() : EmbeddedSnippetTestBase(__FILE__) { } }; TEST_CASE_METHOD(CppAtributeTest, "Attribute specifier sequence") { ...
add more checks in test for attribute specifier
add more checks in test for attribute specifier
C++
mit
satya-das/cppparser,satya-das/cppparser,satya-das/cppparser
5763e7e06a9e693b4faedb132550096cbdadfda2
huntTheWumpus/myFunctions.cpp
huntTheWumpus/myFunctions.cpp
#include "myHeader.h" #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; void printStringArr(const string a[], int n, ostream &os) { for (int i = 0; i < n; i++) os << "\n" << a[i]; } int getIntInRange(int start, int end) { int x = getInt(); while (x < start || x > e...
#include "myHeader.h" #include <iostream> #include <fstream> #include <string> #include <iomanip> using namespace std; void printStringArr(const string a[], int n, ostream &os) { for (int i = 0; i < n; i++) os << "\n" << a[i]; } int getIntInRange(int start, int end) { int x = getInt(); while (x < start || x > e...
change in output file format
change in output file format
C++
mit
joshguerra/CIT-120
3f8db7e0dec8b54f0ec7d725b1fbcd263129a666
src/server/webserver_options.cc
src/server/webserver_options.cc
// Copyright (c) 2013, Cloudera, inc. #include "server/webserver_options.h" #include <gflags/gflags.h> #include <string.h> #include <stdlib.h> using std::string; namespace kudu { static const char* GetDefaultDocumentRoot(); } // namespace kudu // Flags defining web server behavior. The class implementation shoul...
// Copyright (c) 2013, Cloudera, inc. #include "server/webserver_options.h" #include <gflags/gflags.h> #include <string.h> #include <stdlib.h> using std::string; namespace kudu { static const char* GetDefaultDocumentRoot(); } // namespace kudu // Flags defining web server behavior. The class implementation shoul...
Fix memory leak in web server
Fix memory leak in web server Credit goes to Colin for the approach. Change-Id: I7c74b9fb67f2975948653e671b522181574ef8fd Reviewed-on: http://gerrit.ent.cloudera.com:8080/1341 Reviewed-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@cloudera.com> Reviewed-by: Colin McCabe <3142ce8a0bdba4a38073365893e6b74f72...
C++
apache-2.0
helifu/kudu,andrwng/kudu,cloudera/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,InspurUSA/kudu,andrwng/kudu,andrwng/kudu,InspurUSA/kudu,helifu/kudu,andrwng/kudu,EvilMcJerkface/kudu,cloudera/kudu,helifu/kudu,helifu/kudu,cloudera/kudu,helifu/kudu,cloudera/kudu,helifu/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,InspurUSA/kudu,helif...
f6a79c07358337b94a093b0bd727d217a507d9a2
normalize.cpp
normalize.cpp
/* The MIT License Copyright (c) 2013 Adrian Tan <atks@umich.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
/* The MIT License Copyright (c) 2013 Adrian Tan <atks@umich.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to us...
make all alleles upper case before normalizing
make all alleles upper case before normalizing
C++
mit
atks/vt,gkno/vt,gkno/vt,gkno/vt,atks/vt,atks/vt,atks/vt,gkno/vt