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
c7f18da6b04bb757bace18f22542c8078ba1b7b2
src/arch/x86/cpuid.cc
src/arch/x86/cpuid.cc
/* * Copyright (c) 2008 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, ...
/* * Copyright (c) 2008 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, ...
Stop CPUID from claiming we support xsave.
x86: Stop CPUID from claiming we support xsave. xsave is a fairly complex feature which we don't support in gem5, but we do report that we support it through CPUID. It looks like I confused it with FXSAVE which is an instruction related to SSE. This change turns that bit back off again. Change-Id: I00fc79168c5f7095b5...
C++
bsd-3-clause
gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5
5009f2cd111987e37ff5a1ba73391c4b544db15d
cpp-port/fileseq.cpp
cpp-port/fileseq.cpp
#include "fileseq.h" #include "private/frameset_p.h" #include <algorithm> #include <iterator> #include <string> #include <sstream> namespace fileseq { std::string framesToFrameRange(const Frames &frames, bool sorted, int zfill) { size_t count = frames.size(); if (count == 0) {...
#include "fileseq.h" #include "private/frameset_p.h" #include <algorithm> #include <iterator> #include <string> #include <sstream> namespace fileseq { std::string framesToFrameRange(const Frames &frames, bool sorted, int zfill) { Frames::size_type count = frames.size(); if (co...
Fix bug in framesToFrameRange() iteration
Fix bug in framesToFrameRange() iteration
C++
mit
justinfx/gofileseq,justinfx/gofileseq,justinfx/gofileseq,justinfx/gofileseq
877e3bdc4f841a3845ed02fa25abafe152d00232
scientistservice.cpp
scientistservice.cpp
#include "scientistservice.h" #include <algorithm> #include <iostream> using namespace std; ScientistService::ScientistService() { } //compares names of scientists in alphabetical order struct ScientistComparisonNameForward { bool operator() (Scientist i, Scientist j) {return (i.getName()<j.getName());} }; //com...
#include "scientistservice.h" #include <algorithm> #include <iostream> using namespace std; ScientistService::ScientistService() { } //compares names of scientists in alphabetical order struct ScientistComparisonNameForward { bool operator() (Scientist i, Scientist j) {return (i.getName()<j.getName());} }; //com...
terminate useless function
terminate useless function
C++
mit
VLN1-Hopur23/VLN1-Hopur23
b4f6d79f4e81448c742a5f63f6c33cb5833ec647
rss/parser.cpp
rss/parser.cpp
/* rsspp - Copyright (C) 2008-2012 Andreas Krennmair <ak@newsbeuter.org> * Licensed under the MIT/X Consortium License. See file LICENSE * for more information. */ #include <config.h> #include <rsspp.h> #include <rsspp_internal.h> #include <libxml/parser.h> #include <libxml/tree.h> #include <curl/curl.h> #include <...
/* rsspp - Copyright (C) 2008-2012 Andreas Krennmair <ak@newsbeuter.org> * Licensed under the MIT/X Consortium License. See file LICENSE * for more information. */ #include <config.h> #include <rsspp.h> #include <rsspp_internal.h> #include <libxml/parser.h> #include <libxml/tree.h> #include <curl/curl.h> #include <...
Support for delta feeds (RFC3229+feed)
Support for delta feeds (RFC3229+feed) The `If-None-Match` header combined with the `A-IM: feed` header instructs compatible servers to only send the feed entries that have been added or changed since the feed was last updated. (As determined using the ETag sent by the server which is later returned by the If-None-...
C++
mit
der-lyse/newsboat,der-lyse/newsboat,der-lyse/newsboat,newsboat/newsboat,x4121/newsbeuter,x4121/newsbeuter,newsboat/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat,newsboat/newsboat,x4121/newsbeuter,newsboat/newsboat,x4121/newsbeuter,der-lyse/newsboat,...
ebe9c045924ec730ea8d2077b4d90d588195885c
demo/oxygenlistdemowidget.cpp
demo/oxygenlistdemowidget.cpp
/* * this file is part of the oxygen gtk engine * Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org> * * based on the Null Theme Engine for Gtk+. * Copyright (c) 2008 Robert Staudinger <robert.staudinger@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under th...
/* * this file is part of the oxygen gtk engine * Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org> * * based on the Null Theme Engine for Gtk+. * Copyright (c) 2008 Robert Staudinger <robert.staudinger@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under th...
Make treeview columns resizable in oxygen-gtk-demo
Make treeview columns resizable in oxygen-gtk-demo
C++
lgpl-2.1
KDE/oxygen-gtk,blue-shell/carbon-gtk,blueshell-next/carbon-gtk,blueshell-next/carbon-gtk,KDE/oxygen-gtk,blue-shell/carbon-gtk
becbfeda4793992cbb35588cd9db87be41bef620
common/engine/keyboardprocessor/tests/unit/kmx/kmx.cpp
common/engine/keyboardprocessor/tests/unit/kmx/kmx.cpp
/* Copyright: © 2018 SIL International. Description: Tests for kmx integration Create Date: 30 Oct 2018 Authors: Marc Durdin (MD), Tim Eves (TSE) */ #include <string> #include <fstream> #include <sstream> #include <cctype> #include <keyman/keyboardprocessor.h> #include "state.hpp" #define try_statu...
/* Copyright: © 2018 SIL International. Description: Tests for kmx integration Create Date: 30 Oct 2018 Authors: Marc Durdin (MD), Tim Eves (TSE) */ #include <string> #include <fstream> #include <sstream> #include <cctype> #include <algorithm> #include <keyman/keyboardprocessor.h> #include "state.hpp"...
Add <algorithm> for kmx.cpp
[common] Add <algorithm> for kmx.cpp
C++
apache-2.0
tavultesoft/keymanweb,tavultesoft/keymanweb
6af2e09d7d6172b772ef427b8af2521f3ce4d634
src/block_manager.cpp
src/block_manager.cpp
/* Copyright 2016 Nervana Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
/* Copyright 2016 Nervana Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
enable shuffle inside block
enable shuffle inside block
C++
apache-2.0
NervanaSystems/aeon,NervanaSystems/aeon,NervanaSystems/aeon,NervanaSystems/aeon
60fa188ee32c6bc9be6f854c34889591f59236c3
tests/executor/tile_group_layout_test.cpp
tests/executor/tile_group_layout_test.cpp
//===----------------------------------------------------------------------===// // // PelotonDB // // materialization_test.cpp // // Identification: tests/executor/materialization_test.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===------------------------------...
//===----------------------------------------------------------------------===// // // PelotonDB // // materialization_test.cpp // // Identification: tests/executor/materialization_test.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===------------------------------...
Fix tile group layout test
Fix tile group layout test Former-commit-id: 3ed3a831bf72305d8bebb281a1343d81378f9b43
C++
apache-2.0
amaliujia/CMUDB-peloton,larryxiao/peloton,larryxiao/peloton,larryxiao/peloton-1,larryxiao/peloton-1,omegaga/peloton,amaliujia/CMUDB-peloton,amaliujia/CMUDB-peloton,larryxiao/peloton,larryxiao/peloton,ranxian/peloton,ranxian/peloton,omegaga/peloton,amaliujia/CMUDB-peloton,omegaga/peloton,larryxiao/peloton-1,omegaga/pelo...
c92396049efffe46dd5d48de34fde60d8c47b5ee
src/classes/Field.cxx
src/classes/Field.cxx
// Field // Author: Matthew Raso-Barnett 30/09/2009 #include "Field.h" #include "FieldVertex.h" //______________________________________________________________________________ // Field - ABC for magnetic field. // //______________________________________________________________________________ ClassImp(Field) //_...
// Field // Author: Matthew Raso-Barnett 30/09/2009 #include "Field.h" #include "FieldVertex.h" //______________________________________________________________________________ // Field - ABC for magnetic field. // //______________________________________________________________________________ ClassImp(Field) //_...
Set Field Shape pointers to NULL after delete
Set Field Shape pointers to NULL after delete
C++
mit
mjrasobarnett/ucnsim,mjrasobarnett/ucnsim,mjrasobarnett/ucnsim
196f626cc2a978956f2463907a2721a751e05e64
dfdm/src/densification.cpp
dfdm/src/densification.cpp
/* -------------------------------------------------------------------------------- DESCRIPTION simple firn model with overburden compaction and heat diffusion DATE 15-JAN-2016 AUTHOR L.vankampenhout@uu.nl ------------------------------------------------------------------------...
/* -------------------------------------------------------------------------------- DESCRIPTION simple firn model with overburden compaction and heat diffusion DATE 15-JAN-2016 AUTHOR L.vankampenhout@uu.nl ------------------------------------------------------------------------...
stop simulation when some target density is reached
stop simulation when some target density is reached
C++
mit
kampe004/compaction,kampe004/compaction,kampe004/compaction
25ca1eb603500dc9a62cf20c30103e5b7995bca6
src/client/opengl.hpp
src/client/opengl.hpp
#ifndef CLIENT_OPENGL_HPP #define CLIENT_OPENGL_HPP #if defined(__APPLE__) /* Mac OS X */ #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else /* GNU/Linux */ #include <GL/gl.h> #include <GL/glu.h> #endif #endif
#ifndef CLIENT_OPENGL_HPP #define CLIENT_OPENGL_HPP #if defined(__APPLE__) /* Mac OS X */ #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else #if defined(_WIN32) #include <WTypes.h> #include <wingdi.h> #endif /* GNU/Linux */ #include <GL/gl.h> #include <GL/glu.h> #endif #endif
Fix OpenGL header on Windows
Fix OpenGL header on Windows
C++
bsd-2-clause
depp/sglib,depp/sglib
d297b285889e949ab763184a56f6d42dcd24728f
src/clientversion.cpp
src/clientversion.cpp
// Copyright (c) 2012-2020 The Bitcoin Core developers // Copyright (c) 2021 The Gridcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <clientversion.h> #include <tinyformat.h> /** * Name of client rep...
// Copyright (c) 2012-2020 The Bitcoin Core developers // Copyright (c) 2021 The Gridcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <clientversion.h> #include <tinyformat.h> /** * Name of client rep...
fix FormatVersion
util: fix FormatVersion `FormatVersion` function was broken in a5de7c91c641151c74ed523edd86aeaf197ccebb which results in user agent strings to be formatted weirdly and may result in alerts falsely being ignored.
C++
mit
caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch,caraka/gridcoinresearch
f4fc71e2f3b134fa259c86673c14c9760a41581a
src/cm-jqcolumnize.cc
src/cm-jqcolumnize.cc
/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorithm> #include <st...
/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include <algorithm> #include <st...
remove hack
remove hack
C++
agpl-3.0
eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql
5ee32db9c46951d68e59e5988ad674bb14d7a780
tools/extra_defs_gen/generate_defs_gst.cc
tools/extra_defs_gen/generate_defs_gst.cc
/* generate_defs_gst.cc * * Copyright 2008 The gstreamermm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any la...
/* generate_defs_gst.cc * * Copyright 2008 The gstreamermm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any la...
update types and includes in generator's hardcoded lists
update types and includes in generator's hardcoded lists
C++
lgpl-2.1
jledet/gstreamermm,jledet/gstreamermm,jledet/gstreamermm
ced64d7571b2c334bccc0e1a12b709276103a676
partition_snapshot_reader.hh
partition_snapshot_reader.hh
/* * Copyright (C) 2017 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
/* * Copyright (C) 2017 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
Prepare partition_snapshot_flat_reader
Prepare partition_snapshot_flat_reader This commit creates a copy of partition_snapshot_reader and names it partition_snapshot_flat_reader. This new class will be turned into a flat_mutation_reader in the next commit. The purpose of this commit is to make it easier to review the next commit. Signed-off-by: Piotr Jas...
C++
agpl-3.0
scylladb/scylla,duarten/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,duarten/scylla,scylladb/scylla,avikivity/scylla,duarten/scylla,avikivity/scylla
d5f0094d520be2789662a5148a357b94d037d890
processing/yas_processing_send_signal_processor.cpp
processing/yas_processing_send_signal_processor.cpp
// // yas_processing_send_signal_processor.cpp // #include "yas_processing_send_signal_processor.h" #include "yas_processing_processor.h" #include "yas_processing_module.h" #include "yas_processing_channel.h" #include "yas_processing_signal_event.h" #include "yas_stl_utils.h" using namespace yas; template <typename...
// // yas_processing_send_signal_processor.cpp // #include "yas_processing_send_signal_processor.h" #include "yas_processing_processor.h" #include "yas_processing_module.h" #include "yas_processing_channel.h" #include "yas_processing_signal_event.h" #include "yas_stl_utils.h" using namespace yas; template <typename...
fix send_signal_processor
fix send_signal_processor
C++
mit
objective-audio/processing,objective-audio/processing,objective-audio/processing
3a0690e6dc760722377ce72d8a6db7df80fc4135
paddle/fluid/inference/analysis/passes/ir_params_sync_among_devices_pass.cc
paddle/fluid/inference/analysis/passes/ir_params_sync_among_devices_pass.cc
// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
fix issue (#47250)
fix issue (#47250)
C++
apache-2.0
PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,luotao1/Paddle,luotao1/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,PaddlePaddle/Paddle
2f104df29ba3f925bae5525291e5aaaecf5cc28a
ash/wm/coordinate_conversion.cc
ash/wm/coordinate_conversion.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/wm/coordinate_conversion.h" #include "ash/display/display_controller.h" #include "ash/shell.h" #include "ui/aura/client/screen_position...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ash/wm/coordinate_conversion.h" #include "ash/display/display_controller.h" #include "ash/shell.h" #include "ui/aura/client/screen_position...
Add some null-checks to understand/debug a crash.
ash: Add some null-checks to understand/debug a crash. BUG=358266 R=oshima@chromium.org Review URL: https://codereview.chromium.org/216603009 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@261270 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Jonekee/chromium.src,axinging/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,M4sse/chromium.src,TheTypoMa...
679196880e2cdfc4b51fd038f13da020c5c2a861
rclcpp/include/rclcpp/node_interfaces/node_base.hpp
rclcpp/include/rclcpp/node_interfaces/node_base.hpp
// Copyright 2016 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
// Copyright 2016 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
fix build regression (#1078)
fix build regression (#1078) Signed-off-by: Dirk Thomas <19795c8185177e940eedd30ceb2b716a54a3d5dc@users.noreply.github.com>
C++
apache-2.0
ros2/rclcpp,ros2/rclcpp
559db057d54589ee46effa8140a051932729d347
samples/1_Utils/hipBusBandwidth/hipBusBandwidth.cpp
samples/1_Utils/hipBusBandwidth/hipBusBandwidth.cpp
#include <stdio.h> #include <iostream> #include <hip_runtime.h> #include "ResultDatabase.h" // Cmdline parms: const bool p_verbose = false; const bool p_pinned = true; const unsigned int p_iters = 10; #define CHECK_HIP_ERROR() \ { ...
#include <stdio.h> #include <iostream> #include <hip_runtime.h> #include "ResultDatabase.h" // Cmdline parms: bool p_verbose = false; bool p_pinned = true; int p_iterations = 10; int p_device = 0; int p_detailed = 0; bool p_h2d = true; bool p_d2h...
Add D2H test
Add D2H test
C++
mit
GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP
e9aad44f8468bf9ab3a1ccaf6405724dab88a2e5
applicationsSrc/bbCycle/bbCycleBlockCode.cpp
applicationsSrc/bbCycle/bbCycleBlockCode.cpp
/* * BbCycleBlockCode.cpp * * Created on: 26 mars 2013 * Author: dom */ #include <iostream> #include <sstream> #include <boost/asio.hpp> #include <boost/shared_ptr.hpp> #include <stdio.h> #include "scheduler.h" #include "network.h" #include "bbCycleBlockCode.h" #include "bbCycleEvents.h" #include "trace.h"...
/* * BbCycleBlockCode.cpp * * Created on: 26 mars 2013 * Author: dom */ #include <iostream> #include <sstream> #include <boost/asio.hpp> #include <boost/shared_ptr.hpp> #include <stdio.h> #include "scheduler.h" #include "network.h" #include "bbCycleBlockCode.h" #include "bbCycleEvents.h" #include "trace.h"...
Work on clock synchronization : scheduling events with specific delay depending on the clock drifting
Work on clock synchronization : scheduling events with specific delay depending on the clock drifting
C++
apache-2.0
egartner/MR-maze-exploration,egartner/MR-maze-exploration,egartner/MR-maze-exploration,egartner/MR-maze-exploration,egartner/MR-maze-exploration
ed6d0536ec6ff8396618acf36b5349a7ed9d40d9
event/dispatcher.cc
event/dispatcher.cc
// Copyright © 2016 by Donald King <chronos@chronos-tachyon.net> // Available under the MIT License. See LICENSE for details. #include "event/dispatcher.h" #include <algorithm> #include <chrono> #include <condition_variable> #include <deque> #include <exception> #include <iostream> #include <mutex> #include <stdexcep...
// Copyright © 2016 by Donald King <chronos@chronos-tachyon.net> // Available under the MIT License. See LICENSE for details. #include "event/dispatcher.h" #include <algorithm> #include <chrono> #include <condition_variable> #include <deque> #include <exception> #include <iostream> #include <mutex> #include <stdexcep...
Refactor threaded dispatcher to split members over two mutexes.
Refactor threaded dispatcher to split members over two mutexes.
C++
mit
chronos-tachyon/mojo,chronos-tachyon/mojo
b14178d6841a1e4e35eb3c6468642ee5a660553d
example/example.cpp
example/example.cpp
#include "AdsLib.h" #include <iostream> #include <iomanip> static void NotifyCallback(const AmsAddr* pAddr, const AdsNotificationHeader* pNotification, uint32_t hUser) { const uint8_t* data = reinterpret_cast<const uint8_t*>(pNotification + 1); std::cout << std::setfill('0') << "NetId: " <<...
#include "AdsLib.h" #include "AdsDevice.h" #include "AdsVariable.h" #include <iostream> #include <iomanip> static void NotifyCallback(const AmsAddr* pAddr, const AdsNotificationHeader* pNotification, uint32_t hUser) { const uint8_t* data = reinterpret_cast<const uint8_t*>(pNotification + 1); std::...
convert readExample to use OOI
example: convert readExample to use OOI
C++
mit
Beckhoff/ADS,Beckhoff/ADS,Beckhoff/ADS,Beckhoff/ADS
fc337922accbb6fed8386024d80b3e4a15d43043
deps/ox/src/ox/std/strops.hpp
deps/ox/src/ox/std/strops.hpp
/* * 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/. */ #pragma once #include "math.hpp" #include "types.hpp" #include...
/* * 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/. */ #pragma once #include "math.hpp" #include "types.hpp" #include...
Add missing null terminator to ox_strncpy
[ox/std] Add missing null terminator to ox_strncpy
C++
mpl-2.0
wombatant/nostalgia,wombatant/nostalgia,wombatant/nostalgia
4a532e557e91f129d65752ef737e637c28568da2
radio.cpp
radio.cpp
#include <iostream> #include <iomanip> #include <chrono> #include <arm_neon.h> #include <stdlib.h> #include <inttypes.h> #include <thread> #include <mutex> #include <condition_variable> #include <signal.h> std::mutex m ; std::condition_variable cv ; std::chrono::high_resolution_clock::time_point mid ; std::chrono::hig...
#include <iostream> #include <iomanip> #include <chrono> #include <arm_neon.h> #include <stdlib.h> #include <inttypes.h> #include <thread> #include <mutex> #include <condition_variable> #include <signal.h> std::mutex m ; std::condition_variable cv ; std::chrono::high_resolution_clock::time_point mid ; std::chrono::hig...
fix segfault error
fix segfault error
C++
mit
gorillanet/system-bus-radio-neon
e3dd14152abfdda47888847b64d8b1fd4af7c834
gecode/kernel/shared-array.hpp
gecode/kernel/shared-array.hpp
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * Guido Tack <tack@gecode.org> * * Contributing authors: * Gregory Crosswhite <gcross@phys.washington.edu> * * Copyright: * Gregory Crosswhite, 2011 * Christian ...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * Guido Tack <tack@gecode.org> * * Contributing authors: * Gregory Crosswhite <gcross@phys.washington.edu> * * Copyright: * Gregory Crosswhite, 2011 * Christian ...
Fix iterators for shared arrays to work with empty arrays
Fix iterators for shared arrays to work with empty arrays git-svn-id: 2d17a59ec5406331c31d756b3601458bc52cc290@13521 64335634-5103-0410-b293-fc3d331e086d
C++
mit
cp-profiler/gecode-profiling,cp-profiler/gecode-profiling,cp-profiler/gecode-profiling,cp-profiler/gecode-profiling
783dd7058a41fd792bfe74c5ba01e8f0fd9f424b
veapp/main/vsccameraadd.cpp
veapp/main/vsccameraadd.cpp
#include "vsccameraadd.h" #include "vscvwidget.h" #include <QFileDialog> extern Factory *gFactory; VSCCameraAdd::VSCCameraAdd(DeviceParam &Param, QWidget *parent) : QWidget(parent) { ui.setupUi(this); m_Param = Param; m_nId = m_Param.m_Conf.data.conf.nId; #if 0 m_pFloating = new QAction(QIcon(tr("...
#include "vsccameraadd.h" #include "vscvwidget.h" #include <QFileDialog> extern Factory *gFactory; VSCCameraAdd::VSCCameraAdd(DeviceParam &Param, QWidget *parent) : QWidget(parent) { ui.setupUi(this); m_Param = Param; m_nId = m_Param.m_Conf.data.conf.nId; #if 0 m_pFloating = new QAction(QIcon(tr("...
enable hwaccel conf & mining conf
enable hwaccel conf & mining conf
C++
mit
xsmart/opencvr,veyesys/opencvr,veyesys/opencvr,veyesys/opencvr,telecamera/opencvr,telecamera/opencvr,herocodemaster/opencvr,veyesys/opencvr,xiaojuntong/opencvr,telecamera/opencvr,xsmart/opencvr,herocodemaster/opencvr,xsmart/opencvr,herocodemaster/opencvr,xsmart/opencvr,veyesys/opencvr,xiaojuntong/opencvr,xiaojuntong/op...
6437f5d2b20f8c6e204cc35921dc1329a3d9dfb2
tests/src/runtimeApi/memory/hipHostRegister.cpp
tests/src/runtimeApi/memory/hipHostRegister.cpp
/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
/* Copyright (c) 2015-2016 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
Refactor hipHostRegister test.
Refactor hipHostRegister test. Run all tests in one command. Run 128 offsets.
C++
mit
ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,ROCm-Developer-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP,GPUOpen-ProfessionalCompute-Tools/HIP
88fb0b36ecd4bbf4206267433aa5dde2fb529b17
src/common/fourcc.cpp
src/common/fourcc.cpp
/* * Copyright (c) 2016-2021 Fredrik Mellbin * * This file is part of VapourSynth. * * VapourSynth is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option...
/* * Copyright (c) 2016-2021 Fredrik Mellbin * * This file is part of VapourSynth. * * VapourSynth is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option...
Use YVU plane order in vfw too
Use YVU plane order in vfw too
C++
lgpl-2.1
vapoursynth/vapoursynth,vapoursynth/vapoursynth,vapoursynth/vapoursynth,vapoursynth/vapoursynth
9be05b63fae4dad04b0119bc0f43e4126407fa30
examples/determ.cpp
examples/determ.cpp
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
/* * Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS) * * This file is part of libbitcoin. * * libbitcoin is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License with * additional permissions to the one published by the Free Software * Fou...
Set the eckey to uncompressed when testing against the deterministic wallet.
Set the eckey to uncompressed when testing against the deterministic wallet.
C++
agpl-3.0
Airbitz/libwallet,Airbitz/libwallet,BWallet/libwallet,BWallet/libwallet,BWallet/libwallet
b2ee919fcb6ecae2d71f2a91a6f8e9c2d04dab8d
re2_c.cxx
re2_c.cxx
#include <ctype.h> // for tolower() #include <stdio.h> // for snprintf() #include <re2/re2.h> #include <re2/stringpiece.h> #include "re2_c.h" using namespace std; #define likely(x) __builtin_expect((x),1) #define unlikely(x) __builtin_expect((x),0) #ifdef DEBUG // Usage examples: ASSERT(a > b), ASSERT(foo() ...
#include <ctype.h> // for tolower() #include <stdio.h> // for snprintf() #include <re2/re2.h> #include <re2/stringpiece.h> #include "re2_c.h" using namespace std; #define likely(x) __builtin_expect((x),1) #define unlikely(x) __builtin_expect((x),0) #ifdef DEBUG // Usage examples: ASSERT(a > b), ASSERT(foo() ...
Revise option process: delete set_log_errors on after parse options
Revise option process: delete set_log_errors on after parse options Revise option process: delete set_log_errors on after parse options
C++
bsd-3-clause
cloudflare/lua-re2,cloudflare/lua-re2
a7f8f4857e4f6c3b8f89a3a3b9515f0cf9adf3fc
tests/unit/regression/LinearMachine_unittest.cc
tests/unit/regression/LinearMachine_unittest.cc
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (W) 2016 Youssef Emad El-Din * 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 ret...
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (W) 2016 Youssef Emad El-Din * 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 ret...
Fix LinearMachine unit test LinearRidgeRegression requires HAVE_LAPACK
Fix LinearMachine unit test LinearRidgeRegression requires HAVE_LAPACK
C++
bsd-3-clause
lambday/shogun,lambday/shogun,besser82/shogun,shogun-toolbox/shogun,shogun-toolbox/shogun,sorig/shogun,sorig/shogun,shogun-toolbox/shogun,shogun-toolbox/shogun,sorig/shogun,geektoni/shogun,lambday/shogun,lambday/shogun,sorig/shogun,besser82/shogun,besser82/shogun,besser82/shogun,lisitsyn/shogun,besser82/shogun,lambday/...
5c6e3210c4981f1a0a056173f548953cd5313170
source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
source/Plugins/Platform/OpenBSD/PlatformOpenBSD.cpp
//===-- PlatformOpenBSD.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- PlatformOpenBSD.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
convert hard tabs to spaces in PlatformOpenBSD.cpp
convert hard tabs to spaces in PlatformOpenBSD.cpp Another case of this was responsible for the whitespace conflict in D34776. git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@311003 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb
bb9f0dc5aae51a40885df3f50ce22c2b68153eea
be/src/common/logging.cc
be/src/common/logging.cc
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
// Copyright 2012 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
Disable ERROR double-logging to stdout
Disable ERROR double-logging to stdout Glog has a useful feature where ERROR messages are always at least written to stdout, no matter what the rest of the logging setup is. However, we don't rely on stdout in our deployments, and for local tests this means that Java LOG.error() messages are always written to stdout. ...
C++
apache-2.0
ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC
15cb3dea5e84e94111666a052081b0f182b0b2c9
be/src/util/avro-util.cc
be/src/util/avro-util.cc
// Copyright 2015 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
// Copyright 2015 Cloudera Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
make AvroSchemaElement::ConvertSchema() run in linear time
IMPALA-2374: make AvroSchemaElement::ConvertSchema() run in linear time In the case of nullable records, ConvertSchema() was recursively calling itself twice, rather than once. This made ConvertSchema() run in exponential time with respect to the number of nested nullable records. Change-Id: I39ba75076a348640bfb9a3d6...
C++
apache-2.0
ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC,ibmsoe/ImpalaPPC
27f5a5bcf5b7066c6314acdccd1e7c4ac304a5aa
compiler/AST/ForLoop.cpp
compiler/AST/ForLoop.cpp
/* * Copyright 2004-2014 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * * You may obtain a copy of the License at * *...
/* * Copyright 2004-2014 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * * You may obtain a copy of the License at * *...
Update to use chpl_build_bounded_range
Update to use chpl_build_bounded_range
C++
apache-2.0
chizarlicious/chapel,hildeth/chapel,hildeth/chapel,chizarlicious/chapel,hildeth/chapel,chizarlicious/chapel,chizarlicious/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,hildeth/chapel,Cory...
e9a167bb9fa59f4adfdb780fcc9eccb59469ebd8
benchmarks/benchmark.cpp
benchmarks/benchmark.cpp
#include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> using namespace std; extern "C" { #include "tabulated.h" #include "clhash.h" } inline uint64_t RDTSC_START() { register unsigned cyc_high, cyc_low; __asm volatile("cpuid\n\t" "rdtsc\n\t" ...
#include <cstdio> #include <cstdlib> #include <cstring> #include <iomanip> #include <iostream> using namespace std; extern "C" { #include "tabulated.h" #include "clhash.h" } inline uint64_t RDTSC_START() { register unsigned cyc_high, cyc_low; __asm volatile("cpuid\n\t" "rdtsc\n\t" ...
reduce duplication in output even more
reduce duplication in output even more
C++
apache-2.0
speedyhash/shorthash,speedyhash/shorthash,speedyhash/shorthash,speedyhash/shorthash
8c244a62d8597fa94d57191f8fec7c1b7005e5f4
bindings/go/llvm/InstrumentationBindings.cpp
bindings/go/llvm/InstrumentationBindings.cpp
//===- InstrumentationBindings.cpp - instrumentation bindings -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- InstrumentationBindings.cpp - instrumentation bindings -------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix go bindings for r350647: missed a function rename
Fix go bindings for r350647: missed a function rename Differential Revision: https://reviews.llvm.org/D56452 git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@350657 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Dri...
01f4caf50b525092ecfad11187a2b35f96782a34
include/cybozu/event.hpp
include/cybozu/event.hpp
#pragma once /** @file @brief event class Copyright (C) 2007 Cybozu Labs, Inc., all rights reserved. */ #ifdef _WIN32 #include <windows.h> #else #include <unistd.h> #endif #include <cybozu/exception.hpp> #if CYBOZU_CPP_VERSION == CYBOZU_CPP_VERSION_CPP11 #include <mutex> #include <condition_variable> #endif nam...
#pragma once /** @file @brief event class Copyright (C) 2007 Cybozu Labs, Inc., all rights reserved. */ #ifdef _WIN32 #include <winsock2.h> #include <windows.h> #else #include <unistd.h> #endif #include <cybozu/exception.hpp> #if CYBOZU_CPP_VERSION == CYBOZU_CPP_VERSION_CPP11 #include <mutex> #include <conditio...
add include winsock2.h
add include winsock2.h
C++
bsd-3-clause
herumi/cybozulib,herumi/cybozulib
2b2b348fd6f643a7c541c5c2126b7869e10641ac
include/draw/Texture.cpp
include/draw/Texture.cpp
// // Texture.cpp // SHSoftwareRasterizer // // Created by 7heaven on 16/5/16. // Copyright © 2016年 7heaven. All rights reserved. // #include "draw/Texture.h" namespace sh{ Texture::Texture(SHColor *pixels, unsigned int width, unsigned int height){ this->pixels = pixels; this->width = width; ...
// // Texture.cpp // SHSoftwareRasterizer // // Created by 7heaven on 16/5/16. // Copyright © 2016年 7heaven. All rights reserved. // #include "draw/Texture.h" namespace sh{ Texture::Texture(SHColor *pixels, unsigned int width, unsigned int height){ this->pixels = pixels; this->width = width; ...
modify Texture getPixel behavier
modify Texture getPixel behavier
C++
mit
KunKua/Aiks,KunKua/Aiks
25837e9d8f7a6dcee3d2966713a67f2fb985e0b4
include/nonius/clock.h++
include/nonius/clock.h++
// Nonius - C++ benchmarking tool // // Written in 2014 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without a...
// Nonius - C++ benchmarking tool // // Written in 2014 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without a...
Allow using Boost.Chrono for defining NONIUS_USE_BOOST_CHRONO.
Allow using Boost.Chrono for defining NONIUS_USE_BOOST_CHRONO.
C++
cc0-1.0
marcmo/nonius
c9980ff0dd4c4a8864ce925a9e2f9445e6c16372
include/proton/tuple.hpp
include/proton/tuple.hpp
#ifndef PROTON_TUPLE_HEADER #define PROTON_TUPLE_HEADER /** @file vector.hpp * @brief vector support. * Please include this header instead of \<vector\>. */ #include <tuple> #include <algorithm> #include <iostream> #include <initializer_list> #include <algorithm> #include <stdexcept> #include <proton/base.hpp>...
#ifndef PROTON_TUPLE_HEADER #define PROTON_TUPLE_HEADER /** @file vector.hpp * @brief vector support. * Please include this header instead of \<vector\>. */ #include <tuple> #include <algorithm> #include <iostream> #include <initializer_list> #include <algorithm> #include <stdexcept> #include <limits> #include...
add at, sub for tuple
add at, sub for tuple
C++
bsd-2-clause
LenxWei/libproton,LenxWei/libproton,LenxWei/libproton
d7bd78d612d40af5bf392c7f2c085025a0a91f3d
createHierarchy.cpp
createHierarchy.cpp
/* open source routing machine Copyright (C) Dennis Luxen, 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU AFFERO General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is ...
/* open source routing machine Copyright (C) Dennis Luxen, 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU AFFERO General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version. This program is ...
correct timing of durations
correct timing of durations
C++
bsd-2-clause
tkhaxton/osrm-backend,bjtaylor1/Project-OSRM-Old,antoinegiret/osrm-geovelo,duizendnegen/osrm-backend,Tristramg/osrm-backend,raymond0/osrm-backend,antoinegiret/osrm-backend,tkhaxton/osrm-backend,bjtaylor1/Project-OSRM-Old,hydrays/osrm-backend,antoinegiret/osrm-backend,arnekaiser/osrm-backend,hydrays/osrm-backend,alex85k...
e43920cc688d05a299ea8100722a9f229bdfdb91
firmware/Parser.cpp
firmware/Parser.cpp
#include <string.h> #include <Arduino.h> #include <MutilaDebug.h> #include "Matrix.h" #include "Parser.h" #include "Config.h" #include "SmallTextMode.h" #include "ClearMode.h" #include "CountdownMode.h" #include "TimerMode.h" #include "WinnerMode.h" #include "PowerMode.h" #include "SetMaxPowerMode.h" #include "SetIDMod...
#include <string.h> #include <Arduino.h> #include <MutilaDebug.h> #include "Matrix.h" #include "Parser.h" #include "Config.h" #include "SmallTextMode.h" #include "ClearMode.h" #include "CountdownMode.h" #include "TimerMode.h" #include "WinnerMode.h" #include "PowerMode.h" #include "SetMaxPowerMode.h" #include "SetIDMod...
extend ST param size
extend ST param size
C++
mit
bespokegear/Power_Meter_Display_EA_LED_Matrix,bespokegear/Power_Meter_Display_EA_LED_Matrix,bespokegear/Power_Meter_Display_EA_LED_Matrix
b87e78e478ee71c5b208795b2a6df26af2f45366
io/xml/src/TXMLSetup.cxx
io/xml/src/TXMLSetup.cxx
// @(#)root/xml:$Id$ // Author: Sergey Linev 10.05.2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
// @(#)root/xml:$Id$ // Author: Sergey Linev 10.05.2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
add missing return statement
[xml] add missing return statement
C++
lgpl-2.1
olifre/root,karies/root,olifre/root,karies/root,olifre/root,root-mirror/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,karies/root,olifre/root,root-mirror/root,karies/root,karies/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,karies/root,root-mirror...
7f8002ee5f1efcb092b0d7a22f8ecc2fd113960b
scythe/id3.hpp
scythe/id3.hpp
#ifndef ID3_HPP_ #define ID3_HPP_ #include <assert.h> #include <cmath> #include <math.h> #include <queue> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NO_FEATURE -1 #define NO_INSTANCE 0 #define NO_SPLIT_VALUE INFINITY #define NUM_SPLIT_LABELS 3 #define COST...
#ifndef ID3_HPP_ #define ID3_HPP_ #include <assert.h> #include <cmath> #include <math.h> #include <queue> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits> constexpr int NO_FEATURE = -1; constexpr int NO_INSTANCE = 0; constexpr int NO_SPLIT_VALUE = std::numeric_limits<in...
Use constexpr constants rather than defines
Use constexpr constants rather than defines Constexpr constants are more type-safe, respect namespaces, and are true lvalue, while constants with #define does not even respect your wife. In C++, preprocessor is only used for compilation logic (such as optional compilation, include, library compilation options).
C++
apache-2.0
AntoinePassemiers/Scythe,AntoinePassemiers/Scythe,AntoinePassemiers/Scythe
6207ba409f36c7e5ecca33d82b663dc9060a86eb
src/cpp/session/modules/rmarkdown/NotebookPlots.cpp
src/cpp/session/modules/rmarkdown/NotebookPlots.cpp
/* * NotebookPlots.cpp * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License...
/* * NotebookPlots.cpp * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License...
fix ggplot output on non-Windows
fix ggplot output on non-Windows
C++
agpl-3.0
JanMarvin/rstudio,jrnold/rstudio,jar1karp/rstudio,jar1karp/rstudio,jrnold/rstudio,jar1karp/rstudio,jar1karp/rstudio,jar1karp/rstudio,jrnold/rstudio,jrnold/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,jrnold/rstudio,JanMarvin/rstudio,jrnold/rstudio,JanMarvin/rstudio,jrnold/rstudio,jar1karp/rstudio,JanMarvin/rstudio,jrnol...
68f64d960ad3e7f00615612e017ea27ec7defc2b
host/cv/OCV.cpp
host/cv/OCV.cpp
/** * OpenCV (OCV) - Video capture on BBB * * GOAL: * This program takes continuous images from the host camera and detect a circular * object of specific color. The color and other configuration are provided as * input argument to the program. * * INPUT: * The program takes two arguments: * - The video device node (...
/** * OpenCV (OCV) - Video capture on BBB * * GOAL: * This program takes continuous images from the host camera and detect a circular * object of specific color. The color and other configuration are provided as * input argument to the program. * * INPUT: * The program takes two arguments: * - The video device node (...
Update OCV.cpp
Update OCV.cpp
C++
mit
EliHar/mr_robot,EliHar/mr_robot,EliHar/mr_robot,EliHar/mr_robot,EliHar/mr_robot,EliHar/mr_robot,EliHar/mr_robot
ac2c44cbb9085d78a74e074fb1adb8ad79c199b6
chrome/browser/android/crash_dump_manager.cc
chrome/browser/android/crash_dump_manager.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/android/crash_dump_manager.h" #include "base/bind.h" #include "base/file_util.h" #include "base/format_macros.h" #include "b...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/android/crash_dump_manager.h" #include "base/bind.h" #include "base/file_util.h" #include "base/format_macros.h" #include "b...
Call CrashDumpManager::ProcessMiniDump() on the FILE thread.
Call CrashDumpManager::ProcessMiniDump() on the FILE thread. This method was previously supposed to be called on the IO thread although it appeared (failing DCHECK) to be running on another thread (presumably the UI thread). This makes it run on the FILE thread (which seems more appropriate than the IO thread). Rev...
C++
bsd-3-clause
Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,dushu1203/chromium.src,M4sse/chromium.src,dednal/chromium.src,chuan9/chromium-crosswalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,Pluto-tv/c...
b13a9b775e36550d77c12cd0ab51257a32183e97
sim/sim_events.cc
sim/sim_events.cc
/* * Copyright (c) 2003 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, ...
/* * Copyright (c) 2003 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * notice, ...
Make the progress event work even after restoring from a checkpoint
Make the progress event work even after restoring from a checkpoint
C++
bsd-3-clause
pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,vovojh/gem5,hoangt/tpzsimul.gem5,vovojh/gem5,vovojh/gem5,vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,pombredanne/http-repo.gem5.org-gem5-,hoa...
13a6e28e5b4a77249d5a57df338987a0b6accea1
filesystem/src/filesystem.cpp
filesystem/src/filesystem.cpp
#include <primitives/filesystem.h> #include <primitives/file_iterator.h> #include <boost/algorithm/string.hpp> #include <boost/nowide/fstream.hpp> #include <boost/nowide/integration/filesystem.hpp> #include <boost/nowide/convert.hpp> #include <iostream> #include <regex> path get_home_directory() { #ifdef WIN32 ...
#include <primitives/filesystem.h> #include <primitives/file_iterator.h> #include <boost/algorithm/string.hpp> #include <boost/nowide/fstream.hpp> #include <boost/nowide/integration/filesystem.hpp> #include <boost/nowide/convert.hpp> #include <iostream> #include <regex> path get_home_directory() { #ifdef WIN32 ...
Resolve path elements better.
Resolve path elements better.
C++
mpl-2.0
egorpugin/primitives,egorpugin/primitives
d500576679cf1ee8b0ec43cfa460f6008594ae65
folly/test/SmallLocksTest.cpp
folly/test/SmallLocksTest.cpp
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Include glog/logging.h in SmallLocksTest for DCHECK
Include glog/logging.h in SmallLocksTest for DCHECK Summary: The test uses DCHECK, but does not include glog/logging.h. Reviewed By: yfeldblum Differential Revision: D5818647 fbshipit-source-id: fcb2630ac2b12acd1a7b84e228349b2887e976cd
C++
apache-2.0
facebook/folly,Orvid/folly,Orvid/folly,rklabs/folly,rklabs/folly,Orvid/folly,facebook/folly,rklabs/folly,facebook/folly,facebook/folly,rklabs/folly,Orvid/folly,rklabs/folly,Orvid/folly,facebook/folly
e7057ec5e112713c7ef91b5c7291bb85793de491
utils/geom.cc
utils/geom.cc
#include "geom.hpp" #include "utils.hpp" #include <algorithm> #include <cstdarg> static void xsortedpts(std::vector<Point>&, double, double, double); static bool cmpx(const Point&, const Point&); void Bbox::draw(Image &img, Color c, double lwidth) const { Image::Path *p = new Image::Path(); p->setlinewidth(lwidth <...
#include "geom.hpp" #include "utils.hpp" #include <algorithm> #include <cstdarg> static void xsortedpts(std::vector<Point>&, double, double, double); static bool cmpx(const Point&, const Point&); void Bbox::draw(Image &img, Color c, double lwidth) const { Image::Path *p = new Image::Path(); p->setlinewidth(lwidth <...
Use radians when computing reflexes.
Use radians when computing reflexes.
C++
mit
eaburns/search,eaburns/search,eaburns/search,skiesel/search,skiesel/search,skiesel/search
0b767ee0dae926cb6718cc85ede3d5bad193bbc4
neighborsMinHash/computation/bloomierFilter/bloomierHash.cpp
neighborsMinHash/computation/bloomierFilter/bloomierHash.cpp
#include "bloomierHash.h" #include <set> #include <bitset> BloomierHash::BloomierHash(const size_t pModulo, const size_t pNumberOfElements, const size_t pBitVectorSize, const size_t pHashSeed) { mModulo = pModulo; mNumberOfElements = pNumberOfElements; // mQ = pQ; mHash = new Hash(); mBitVectorSize = pBitVectorSiz...
#include "bloomierHash.h" #include <set> #include <bitset> BloomierHash::BloomierHash(const size_t pModulo, const size_t pNumberOfElements, const size_t pBitVectorSize, const size_t pHashSeed) { mModulo = pModulo; mNumberOfElements = pNumberOfElements; mHash = new Hash(); mBitVectorSize = pBitVectorSize; mHashSeed...
replace rand and srand with hash function from hash.h
replace rand and srand with hash function from hash.h
C++
mit
joachimwolff/minHashNearestNeighbors,joachimwolff/minHashNearestNeighbors,joachimwolff/minHashNearestNeighbors
406666f202023b5cc39dcb1319ea1f7d021ac3ff
src/cvm/dab_value.cpp
src/cvm/dab_value.cpp
#include "cvm.h" void DabValue::dump(DabVM &vm) const { static const char *kinds[] = {"INVAL", "PrvIP", "PrvSP", "nArgs", "nVars", "RETVL", "CONST", "VARIA", "STACK", "self "}; static const char *types[] = {"INVA", "FIXN", "STRI", "BOOL", "NIL ", "SYMB", "CLAS", "OBJE"}; f...
#include "cvm.h" void DabValue::dump(DabVM &vm) const { static const char *kinds[] = {"INVAL", "PrvIP", "PrvSP", "nArgs", "nVars", "RETVL", "CONST", "VARIA", "STACK", "self "}; static const char *types[] = {"INVA", "FIXN", "STRI", "BOOL", "NIL ", "SYMB", "CLAS", "OBJE"}; f...
debug print of retain/release
VM: debug print of retain/release
C++
mit
thomas-pendragon/dablang,thomas-pendragon/dablang,thomas-pendragon/dablang,thomas-pendragon/dablang
79da71812fed5263adb9367878220dbfd02a799d
packages/Search/src/details/DTK_DetailsTreeVisualization.hpp
packages/Search/src/details/DTK_DetailsTreeVisualization.hpp
/**************************************************************************** * Copyright (c) 2012-2019 by the DataTransferKit authors * * All rights reserved. * * * * This ...
/**************************************************************************** * Copyright (c) 2012-2019 by the DataTransferKit authors * * All rights reserved. * * * * This ...
Add iterative traversal of the entire tree to visualize it
Add iterative traversal of the entire tree to visualize it
C++
bsd-3-clause
dalg24/DataTransferKit,ORNL-CEES/DataTransferKit,dalg24/DataTransferKit,Rombur/DataTransferKit,ORNL-CEES/DataTransferKit,Rombur/DataTransferKit,dalg24/DataTransferKit,ORNL-CEES/DataTransferKit,dalg24/DataTransferKit,Rombur/DataTransferKit,Rombur/DataTransferKit,ORNL-CEES/DataTransferKit
91486c6b63382427b170ad741ee75a88b6e3e6b9
caffe2/core/context_gpu_test.cc
caffe2/core/context_gpu_test.cc
#include <chrono> #include <future> #include <random> #include <thread> #include "caffe2/proto/caffe2.pb.h" #include "caffe2/core/context_gpu.h" #include <gtest/gtest.h> namespace caffe2 { TEST(CUDAContextTest, TestAllocDealloc) { if (!HasCudaGPU()) return; CUDAContext context(0); context.SwitchToDevice(); f...
#include <chrono> #include <future> #include <random> #include <thread> #include <array> #include "caffe2/proto/caffe2.pb.h" #include "caffe2/core/context_gpu.h" #include <gtest/gtest.h> namespace caffe2 { TEST(CUDAContextTest, TestAllocDealloc) { if (!HasCudaGPU()) return; CUDAContext context(0); context.Swit...
build error in context_gpu_test.cc
build error in context_gpu_test.cc Summary: caffe2/caffe2/core/context_gpu_test.cc:97:31: error: implicit instantiation of undefined template 'std::__1::array<CUstream_st *, 2>' std::array<cudaStream_t, 2> temp = {0}; (fixes build issue on macOS 10.11.6) Closes https://github.com/caffe2/caffe2/pull/296 Differential ...
C++
apache-2.0
bwasti/caffe2,Yangqing/caffe2,pietern/caffe2,sf-wind/caffe2,sf-wind/caffe2,bwasti/caffe2,Yangqing/caffe2,xzturn/caffe2,pietern/caffe2,sf-wind/caffe2,davinwang/caffe2,bwasti/caffe2,Yangqing/caffe2,pietern/caffe2,davinwang/caffe2,davinwang/caffe2,bwasti/caffe2,xzturn/caffe2,davinwang/caffe2,sf-wind/caffe2,bwasti/caffe2,p...
7499fc2b8526102ec9e56b14a028a8c78af84901
indra/newview/llchathistory.cpp
indra/newview/llchathistory.cpp
/** * @file llchathistory.cpp * @brief LLTextEditor base class * * $LicenseInfo:firstyear=2001&license=viewergpl$ * * Copyright (c) 2001-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab * to you under the terms of the GN...
/** * @file llchathistory.cpp * @brief LLTextEditor base class * * $LicenseInfo:firstyear=2001&license=viewergpl$ * * Copyright (c) 2001-2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab * to you under the terms of the GN...
fix style readonlycolor overwriting color
fix style readonlycolor overwriting color
C++
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
075f1864a6237bb8fc4d21d552de5a7c3d766f1b
util/mutex.cc
util/mutex.cc
// Copyright (c) 2016 Mirants Lu. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "util/mutex.h" #include <errno.h> #include <string.h> #include <sys/time.h> #include "skywalker/logging.h" #include "util/timeops.h" namespace skywa...
// Copyright (c) 2016 Mirants Lu. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "util/mutex.h" #include <errno.h> #include <string.h> #include <sys/time.h> #include "skywalker/logging.h" #include "util/timeops.h" namespace skywa...
fix bug
fix bug
C++
bsd-3-clause
QiumingLu/skywalker,QiumingLu/skywalker
05736d14b872ae9754e2ec091633eabd49d42cdc
lib/AST/Availability.cpp
lib/AST/Availability.cpp
//===--- Availability.cpp - Swift Availability Structures -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//===--- Availability.cpp - Swift Availability Structures -----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
Handle multiple @available attributes correctly
Handle multiple @available attributes correctly The previous commit broke a promise made by the implementation it replaced: if there were two or more @available(introduced:) attributes for the same platform, the greatest version wins. This commit restores that property while still completely overriding the parent plat...
C++
apache-2.0
rudkx/swift,harlanhaskins/swift,airspeedswift/swift,stephentyrone/swift,benlangmuir/swift,airspeedswift/swift,aschwaighofer/swift,aschwaighofer/swift,CodaFi/swift,roambotics/swift,atrick/swift,roambotics/swift,JGiola/swift,jmgc/swift,allevato/swift,rudkx/swift,xwu/swift,tkremenek/swift,xwu/swift,ahoppen/swift,roambotic...
1cdfb45d9072458714604e146fb616b2494fcd4c
chrome/browser/dock_info_gtk.cc
chrome/browser/dock_info_gtk.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/dock_info.h" #include <gtk/gtk.h> #include "base/gfx/native_widget_types.h" #include "base/logging.h" #include "base/task.h...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/dock_info.h" #include <gtk/gtk.h> #include "base/gfx/native_widget_types.h" #include "base/logging.h" #include "base/task.h...
Fix a typo that breaks tab dragging when another gtk window is minimized.
gtk: Fix a typo that breaks tab dragging when another gtk window is minimized. BUG=20228,20513 TEST=Extensive tab dragging. Review URL: http://codereview.chromium.org/182034 git-svn-id: http://src.chromium.org/svn/trunk/src@25007 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 3db9613620f226517fec87b3d982c818...
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
c56b552ff209f9b5ccd81c078dbbadb948eb711e
lib/CodeGen/CGCXXABI.cpp
lib/CodeGen/CGCXXABI.cpp
//===----- CGCXXABI.cpp - Interface to C++ ABIs -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===----- CGCXXABI.cpp - Interface to C++ ABIs -----------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix PR13234 - crash when trying to report an unsupported ABI feature
Fix PR13234 - crash when trying to report an unsupported ABI feature git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@159405 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-cl...
fbdab2c0138190bcf8130ad5fc19013f6634123a
libopflex/engine/OpflexPool.cpp
libopflex/engine/OpflexPool.cpp
/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */ /* * Implementation for OpflexPool * * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this...
/* -*- C++ -*-; c-basic-offset: 4; indent-tabs-mode: nil */ /* * Implementation for OpflexPool * * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this...
Fix compilation - add missing C++ standard library include (vector)
Fix compilation - add missing C++ standard library include (vector)
C++
epl-1.0
mhrobinson/opflex,mhrobinson/opflex,mhrobinson/opflex,mhrobinson/opflex
f9c5f77544acbcd143f061b555950d9d7b926462
libs/utility/prog_interface.cpp
libs/utility/prog_interface.cpp
#include <QProgressDialog> #include <QtGui/QApplication> #include <QObject> #include <memory> #include <ctime> #include <iostream> std::auto_ptr<QProgressDialog> progressDialog; long cur_time = 0; long zero_time = 0; const long interval = 500; extern "C" void begin_prog(const char* title) ...
#include <QProgressDialog> #include <QtGui/QApplication> #include <QObject> #include <memory> #include <ctime> #include <iostream> std::auto_ptr<QProgressDialog> progressDialog; long cur_time = 0; long zero_time = 0; const long interval = 500; extern "C" void begin_prog(const char* title) ...
fix bug in progression bar
fix bug in progression bar
C++
bsd-3-clause
sbaete/DSI-Studio-qt5,sbaete/DSI-Studio-qt5,sbaete/DSI-Studio-qt5
37e5d8bf5362f60d8c4309f91c3fc83d18ee78a8
source/dib.cpp
source/dib.cpp
#include "stdafx.h" DIB::DIB() { m_w = m_h = 0; m_pitch = 0; m_p = 0; #ifdef _MSC_VER m_hbm = NULL; m_hdc = NULL; m_hbmOld = NULL; memset(&m_ds, 0, sizeof(m_ds)); #endif } DIB::~DIB() { Destroy(); } void DIB::Destroy() { #ifdef _MSC_VER if (m_hbmOld) { SelectObject(m_hdc, m_hbmOld); m_hbmOld = NULL; } ...
#include "stdafx.h" DIB::DIB() { m_w = m_h = 0; m_pitch = 0; m_p = 0; #ifdef _MSC_VER m_hbm = NULL; m_hdc = NULL; m_hbmOld = NULL; memset(&m_ds, 0, sizeof(m_ds)); #endif } DIB::~DIB() { Destroy(); } void DIB::Destroy() { #ifdef _MSC_VER if (m_hbmOld) { SelectObject(m_hdc, m_hbmOld); m_hbmOld = NULL; } ...
Fix missing glyph bug.
Fix missing glyph bug.
C++
mit
yorung/dx11bvh,yorung/dx11bvh
12b875862044115add059e1dd1478be089c2f64d
printing/printing_context_win.cc
printing/printing_context_win.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 "printing/printing_context_win.h" #include <algorithm> #include "base/strings/string_number_conversions.h" #include "base/strings/utf_strin...
// 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 "printing/printing_context_win.h" #include <algorithm> #include "base/bind.h" #include "base/strings/string_number_conversions.h" #include ...
Switch back to PrintDlgEx instead of DocumentProperties.
Switch back to PrintDlgEx instead of DocumentProperties. For unclear reasons DocumentProperties with DM_IN_PROMPT sometimes does not return. This is happening mostly on 32bit Windows inside of base::MessageLoop::ScopedNestableTaskAllower. BUG=436810 Review URL: https://codereview.chromium.org/766823004 Cr-Commit-Po...
C++
bsd-3-clause
Jonekee/chromium.src,markYoungH/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,ltilve/chromium,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,ltilve/chromium,dushu1203/chromium.src,Jonekee/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.s...
fa3bac5d10ca449db9522d87d2ea11000c9098b1
libcaf_core/caf/atom.hpp
libcaf_core/caf/atom.hpp
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
Add static getter to atom constants
Add static getter to atom constants
C++
bsd-3-clause
actor-framework/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework
3f8be2aabc01836f7ae143f685d1a680937df256
libethcore/BlockInfo.cpp
libethcore/BlockInfo.cpp
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
fix blockGasLimit bug : 1024 -> 2048
fix blockGasLimit bug : 1024 -> 2048
C++
mit
johnpeter66/ethminer,d-das/cpp-ethereum,LefterisJP/cpp-ethereum,Sorceror32/go-get--u-github.com-tools-godep,yann300/cpp-ethereum,Sorceror32/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros/cpp-ethereum,eco/cpp-ethereum,anthony-cros/cpp-ethereum,smartbitcoin/cpp-ethereum,PaulGrey30/.-git-clone-https-githu...
a63893ede973f2ab4ff2771ea12ce9497c48d593
libethcore/BlockInfo.cpp
libethcore/BlockInfo.cpp
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
/* This file is part of cpp-ethereum. cpp-ethereum is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. cpp-ethereum is distributed in the...
check for minGasLimit and minDifficulty when constructing block
check for minGasLimit and minDifficulty when constructing block
C++
mit
d-das/cpp-ethereum,PaulGrey30/go-get--u-github.com-tools-godep,anthony-cros/cpp-ethereum,joeldo/cpp-ethereum,PaulGrey30/.-git-clone-https-github.com-ethereum-cpp-ethereum,PaulGrey30/.-git-clone-https-github.com-ethereum-cpp-ethereum,anthony-cros/cpp-ethereum,gluk256/cpp-ethereum,xeddmc/cpp-ethereum,yann300/cpp-ethereum...
a08ea58a14c7ff7b379c651008e9050936866bb7
dune/gdt/mapper/default/fv.hh
dune/gdt/mapper/default/fv.hh
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_MAPPER_DEFAULT_FV_HH #define DUNE_GDT_MAPPER_DEFAULT_FV_HH #include <type_traits> #i...
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_MAPPER_DEFAULT_FV_HH #define DUNE_GDT_MAPPER_DEFAULT_FV_HH #include <type_traits> #i...
add missing include
[mapper.default.fv] add missing include
C++
bsd-2-clause
BarbaraV/dune-gdt,ftalbrecht/dune-gdt
b6a88d5a7c48fa59f970942c7131d53644e9378b
scpak.cpp
scpak.cpp
#include "pakfile.h" #include <sstream> using namespace std; using namespace scpak; int main() { stringstream ss; BinaryWriter writer(&ss); writer.writeString("test test test test test"); BinaryReader reader(&ss); string str = reader.readString(); cout << str << endl; }
#include "pakfile.h" #include <sstream> #include <fstream> using namespace std; using namespace scpak; int main(int argc, char *argv[]) { ifstream fin("Content.pak", ios::binary); PakFile pak; pak.load(fin); fin.close(); auto items = pak.contents(); for(auto item : items) { cout <<...
change to a new test
change to a new test
C++
mit
qnnnnez/scpak
7ebeba66337de38827c15e20fb7cc1c0dca6a5a6
src/motive/processor/ease_in_ease_out_processor.cpp
src/motive/processor/ease_in_ease_out_processor.cpp
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// Copyright 2016 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Fix velocity issue in ease in ease out processor.
Fix velocity issue in ease in ease out processor. Fix issue where elapsed time would get reset to zero too early in EaseInEaseOutMotiveProcessor's SetTargetWithShape function. PiperOrigin-RevId: 141070856 Change-Id: I0f4beac1f35ca02d4e0d3bba4a7e3e2e5194cded
C++
apache-2.0
google/motive,google/motive
08334e4488a9623fe79a8a955b03c9e8a5f0b29f
bin/stego-attack/main.cc
bin/stego-attack/main.cc
#include <getopt.h> #include <vector> #include <dgtype/dgtype.hh> #include "stego-attack-lib/stego-attack-lib.hh" enum class Attack_error_code { UNKNOWN_ARG, UNKNOWN_TYPE, UNSPECIFIED_TYPE, MISSING_ARG, MISSING_INPUT, MISSING_OUTPUT, INACCESSIBLE_FILE, HELP_ARG, SUCCESS }; struct AttackArgs { bool ...
#include <getopt.h> #include <vector> #include <dgtype/dgtype.hh> #include "stego-attack-lib/stego-attack-lib.hh" enum class Attack_error_code { UNKNOWN_ARG, UNKNOWN_TYPE, UNSPECIFIED_TYPE, MISSING_ARG, MISSING_INPUT, MISSING_OUTPUT, INACCESSIBLE_FILE, HELP_ARG, SUCCESS }; struct AttackArgs { bool ...
Update main.cc
Update main.cc
C++
bsd-3-clause
gwydirsam/DickGrayson,gwydirsam/DickGrayson,gwydirsam/DickGrayson
f9b1612fa701a29dfa286fde9c66df5e9fc14aa1
src/plugins/projectexplorer/applicationlauncher.cpp
src/plugins/projectexplorer/applicationlauncher.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 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) 2011 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...
Fix oddities on failing to run a local process
Fix oddities on failing to run a local process Task-number: QTCREATORBUG-5758 Change-Id: I82268936a107ba83892f06a7d2658a2a32980b85 Reviewed-on: http://codereview.qt.nokia.com/3504 Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com> Reviewed-by: Oswald Buddenhagen <6a8868beda3e139b5ac22b2534a2...
C++
lgpl-2.1
colede/qtcreator,hdweiss/qt-creator-visualizer,malikcjm/qtcreator,azat/qtcreator,xianian/qt-creator,farseerri/git_code,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,farseerri/git_code,colede/qtcreator,omniacreator/qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,KDAB/KDAB-Creator,Distrotech/qtcreator,KD...
289df89d364df7d1a55c3324f7166a1d8ba3019e
source/core/b5m-manager/b5mo_sorter.cc
source/core/b5m-manager/b5mo_sorter.cc
#include "b5mo_sorter.h" #include "product_db.h" #include <boost/iostreams/stream.hpp> #include <boost/iostreams/device/file_descriptor.hpp> using namespace sf1r; B5moSorter::B5moSorter(const std::string& m, uint32_t mcount) :m_(m), mcount_(mcount), index_(0), sort_thread_(NULL) { } void B5moSorter::Append(const ScdD...
#include "b5mo_sorter.h" #include "product_db.h" #include <boost/iostreams/stream.hpp> #include <boost/iostreams/device/file_descriptor.hpp> using namespace sf1r; B5moSorter::B5moSorter(const std::string& m, uint32_t mcount) :m_(m), mcount_(mcount), index_(0), sort_thread_(NULL) { } void B5moSorter::Append(const ScdD...
remove itemcount<100 restrict
remove itemcount<100 restrict
C++
apache-2.0
izenecloud/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,pombredanne/sf1r-lite,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,pombredanne/sf1r-lite,pombredanne/sf1r-lite,pombredanne/sf1r-lite,izeneclo...
ce338e6236b6d56894f813a7a13d64a716dd6943
include/distortos/synchronization/MessageQueueBase.hpp
include/distortos/synchronization/MessageQueueBase.hpp
/** * \file * \brief MessageQueueBase class header * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this fi...
/** * \file * \brief MessageQueueBase class header * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this fi...
make template constructor non-inline
MessageQueueBase: make template constructor non-inline
C++
mpl-2.0
CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,jasmin-j/distortos,DISTORTEC/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos
05bae14f349f038b0360f019e61610e5de593886
src/Config.cpp
src/Config.cpp
#include <string.h> #include <stdlib.h> #include "Config.h" #include "StdStream.h" #include "xml/Writer.h" #include "xml/Parser.h" #include "xml/Utils.h" #include "xml/FilteringNodeIterator.h" using namespace Framework; CConfig::CConfig(const PathType& path) : m_path(path) { Load(); } CConfig::~CConfig() { Save...
#include <string.h> #include <stdlib.h> #include "Config.h" #include "StdStream.h" #include "xml/Writer.h" #include "xml/Parser.h" #include "xml/Utils.h" #include "xml/FilteringNodeIterator.h" #include "StdStreamUtils.h" using namespace Framework; CConfig::CConfig(const PathType& path) : m_path(path) { Load(); } CC...
Use StdStreamUtils to open config files + cleanup.
Use StdStreamUtils to open config files + cleanup. git-svn-id: 36de21aa7b1472b3fce746da1590bf50bb7584d6@268 6a6d099a-6a11-0410-877e-d5a07a98cbd2
C++
bsd-2-clause
Thunder07/Play--Framework,Thunder07/Play--Framework,AbandonedCart/Play-Framework,AbandonedCart/Play-Framework,Thunder07/Play--Framework,Alloyed/Play--Framework,Alloyed/Play--Framework,AbandonedCart/Play-Framework,Alloyed/Play--Framework
93b74e101662f2733d4367378aedb6bf01286a61
src/software/calibration/main_cameraCalibration.cpp
src/software/calibration/main_cameraCalibration.cpp
#include <openMVG/dataio/FeedProvider.hpp> #include <openMVG/cameras/Camera_undistort_image.hpp> #include <openMVG/cameras/Camera_Pinhole_Radial.hpp> #include <openMVG/image/image_io.hpp> #include <openMVG/calibration/patternDetect.hpp> #include <openMVG/calibration/bestImages.hpp> #include <openMVG/calibration/calibra...
#include <openMVG/dataio/FeedProvider.hpp> #include <openMVG/cameras/Camera_undistort_image.hpp> #include <openMVG/cameras/Camera_Pinhole_Radial.hpp> #include <openMVG/image/image_io.hpp> #include <openMVG/calibration/patternDetect.hpp> #include <openMVG/calibration/bestImages.hpp> #include <openMVG/calibration/calibra...
fix nbFramesToProcess
[sw] cameraCalibration: fix nbFramesToProcess
C++
mit
poparteu/openMVG,poparteu/openMVG,poparteu/openMVG,poparteu/openMVG
e60d9a208367b74660e28d72e845e01fd16b8d66
src/DSVSCA.cpp
src/DSVSCA.cpp
#include "DSVSCA.h" int DSVSCA::process_filter_graph(process_info info) { FILE *vf; const char *vf_filename = "virtualize.aac"; AVPacket packet, packet0; AVFrame *frame = av_frame_alloc(); AVFrame *filt_frame = av_frame_alloc(); AVFrame *comb_virt_frame = av_frame_alloc(); int got_frame; ...
#include "DSVSCA.h" int DSVSCA::process_filter_graph(process_info info) { AVPacket packet, packet0; AVFrame *frame = av_frame_alloc(); AVFrame *filt_frame = av_frame_alloc(); AVFrame *comb_virt_frame = av_frame_alloc(); int got_frame; std::unordered_map<Filter::Channel, Virtualizer*, std::hash...
Set output file name to be [file-name]-virtualized.[extension].
Set output file name to be [file-name]-virtualized.[extension].
C++
mit
DSVSCA/DSVSCA,DSVSCA/DSVSCA
1cd626dc9bf15368adc063ec0f7823d2cb80fd92
include/taussig/interop/materialize.h++
include/taussig/interop/materialize.h++
// Taussig // // Written in 2013 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without any warranty. // // You ...
// Taussig // // Written in 2013 by Martinho Fernandes <martinho.fernandes@gmail.com> // // To the extent possible under law, the author(s) have dedicated all copyright and related // and neighboring rights to this software to the public domain worldwide. This software is // distributed without any warranty. // // You ...
Add missing forwarding in materialize + comments
Add missing forwarding in materialize + comments
C++
cc0-1.0
rmartinho/taussig,rmartinho/taussig
53f59cd4d646545d3118a9834f7be758c1a613ee
engines/ep/src/sizes.cc
engines/ep/src/sizes.cc
/* * Copyright 2010 NorthScale, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
/* * Copyright 2010 NorthScale, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Add OrderedStoredValue to engine sizes
Add OrderedStoredValue to engine sizes Adding this would allow us to get the size immediately for debugging purposes Change-Id: If554883cc81b13c854092f187b1431c5546c3200 Reviewed-on: http://review.couchbase.org/80210 Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com> Reviewed-by: Manu Dhund...
C++
bsd-3-clause
daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine,daverigby/kv_engine
7da0880b3f1a6d1fec2f8299f159406939b4567f
silicium/html/tree.hpp
silicium/html/tree.hpp
#ifndef SILICIUM_HTML_TREE_HPP #define SILICIUM_HTML_TREE_HPP #include <silicium/html/generator.hpp> #include <silicium/sink/iterator_sink.hpp> #include <silicium/trait.hpp> #include <silicium/identity.hpp> #define SILICIUM_HAS_HTML_TREE \ (SILICIUM_COMPILER_HAS_VARIAD...
#ifndef SILICIUM_HTML_TREE_HPP #define SILICIUM_HTML_TREE_HPP #include <silicium/html/generator.hpp> #include <silicium/sink/iterator_sink.hpp> #include <silicium/trait.hpp> #include <silicium/identity.hpp> #define SILICIUM_HAS_HTML_TREE \ (SILICIUM_COMPILER_HAS_VARIAD...
fix for GCC <= 4.7
fix for GCC <= 4.7
C++
mit
TyRoXx/silicium,TyRoXx/silicium
d5af106840041cc78311adc11ea4dcdd74f3e35f
common/include/pcl/common/impl/intensity.hpp
common/include/pcl/common/impl/intensity.hpp
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2012, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2012, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
Add implementation for PointXYZRGBL
Add implementation for PointXYZRGBL git-svn-id: 5398946ba177a3e438c2dae55e2cdfc2fb96c905@6483 a9d63959-f2ad-4865-b262-bf0e56cfafb6
C++
bsd-3-clause
chenxingzhe/pcl,raydtang/pcl,cascheberg/pcl,starius/pcl,shangwuhencc/pcl,v4hn/pcl,krips89/pcl_newfeatures,starius/pcl,kanster/pcl,shyamalschandra/pcl,shangwuhencc/pcl,drmateo/pcl,simonleonard/pcl,raydtang/pcl,soulsheng/pcl,KevenRing/pcl,cascheberg/pcl,zhangxaochen/pcl,fskuka/pcl,ResByte/pcl,simonleonard/pcl,fanxiaochen...
0b88af49eeab703e69c85de096301afba9683339
library/common/engine.cc
library/common/engine.cc
#include "library/common/engine.h" #include "envoy/stats/histogram.h" #include "source/common/common/lock_guard.h" #include "library/common/bridge/utility.h" #include "library/common/config/internal.h" #include "library/common/data/utility.h" #include "library/common/network/android.h" #include "library/common/stats...
#include "library/common/engine.h" #include "envoy/stats/histogram.h" #include "source/common/common/lock_guard.h" #include "library/common/bridge/utility.h" #include "library/common/config/internal.h" #include "library/common/data/utility.h" #include "library/common/network/android.h" #include "library/common/stats...
remove outdated comment about `registerFactories()` (#2412)
engine: remove outdated comment about `registerFactories()` (#2412) `ExtensionRegistry::registerFactories()` doesn't do any work at runtime, its purpose is to guarantee that the linker won't strip away these factories as dead code because they're discovered at runtime as opposed to being referenced statically. S...
C++
apache-2.0
envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile,envoyproxy/envoy-mobile
6b227aa882ed7dce5e907f7e62d03588216c1202
sources/stack.cpp
sources/stack.cpp
#include <iostream> #include "stack.hpp"
Update stack.cpp
Update stack.cpp
C++
mit
ArtemKokorinStudent/External-sort,ArtemKokorinStudent/StackW
66f3587bb1636599e232da9d51ac95e5e48baa52
src/traced/probes/ftrace/test/cpu_reader_support.cc
src/traced/probes/ftrace/test/cpu_reader_support.cc
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
Fix mac build
Fix mac build Change-Id: I3c499a1d0ab6f72775d320f4c3841586bfed02a0
C++
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
378e4edf61c43c9a3f4cfe5ce17b513052d4f937
src/Folder.cpp
src/Folder.cpp
/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is free software; y...
/***************************************************************************** * Media Library ***************************************************************************** * Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs * * Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr> * * This program is free software; y...
Fix a crash when adding a non existing folder to the ignore list
Folder: Fix a crash when adding a non existing folder to the ignore list
C++
lgpl-2.1
chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary
c7d2de200ebcb50a4ca4ff1fc0fb7d1f0493e0ef
Modules/Filtering/ImageIntensity/test/itkRescaleIntensityImageFilterTest.cxx
Modules/Filtering/ImageIntensity/test/itkRescaleIntensityImageFilterTest.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...
Improve RescaleIntensityImageFilter coverage.
ENH: Improve RescaleIntensityImageFilter coverage. Improve the itkRescaleIntensityImageFilter test coverage by exercising the basic object methods. Change-Id: If59cd4f36b8528f2136f49e055231d4e6834604e
C++
apache-2.0
blowekamp/ITK,blowekamp/ITK,spinicist/ITK,richardbeare/ITK,BRAINSia/ITK,spinicist/ITK,Kitware/ITK,thewtex/ITK,blowekamp/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,Kitware/ITK,malaterre/ITK,hjmjohnson/ITK,spinicist/ITK,LucasGandel/ITK,vfonov/ITK,PlutoniumHeart/ITK,fbudin69500/ITK,LucasGandel/ITK,thewtex/ITK,richardbeare/ITK,...
f5b1dedab2c29bd05ebc4da06db0fb3fa1083599
activemq-cpp/src/main/decaf/internal/util/concurrent/unix/PlatformThread.cpp
activemq-cpp/src/main/decaf/internal/util/concurrent/unix/PlatformThread.cpp
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
fix for: https://issues.apache.org/jira/browse/AMQCPP-498
fix for: https://issues.apache.org/jira/browse/AMQCPP-498 git-svn-id: 0fb8a5a922afe2085ae9a967a0cf0864fe09ecff@1498612 13f79535-47bb-0310-9956-ffa450edef68
C++
apache-2.0
apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp
fef00615a48192090b3d7fe95a24f0e1d9944ed5
python/pythoninterpreter.cpp
python/pythoninterpreter.cpp
/*************************************************************************** * pythoninterpreter.cpp * This file is part of the KDE project * copyright (C)2004-2006 by Sebastian Sauer (mail@dipe.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library G...
/*************************************************************************** * pythoninterpreter.cpp * This file is part of the KDE project * copyright (C)2004-2006 by Sebastian Sauer (mail@dipe.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Library G...
print traceback on import-exception
print traceback on import-exception svn path=/trunk/KDE/kdebindings/python/krosspython/; revision=661838
C++
lgpl-2.1
KDE/kross-interpreters,KDE/kross-interpreters,KDE/kross-interpreters,KDE/kross-interpreters,KDE/kross-interpreters,KDE/kross-interpreters
5e2f85df8aa535127a8d960c70098b72fc8e4ad6
o3d/utils/cross/text_writer.cc
o3d/utils/cross/text_writer.cc
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
/* * Copyright 2009, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
Fix o3d build.
o3d: Fix o3d build. This reverts the changes did on http://src.chromium.org/viewvc/chrome?view=rev&revision=69785 BUG=None TEST=None Review URL: http://codereview.chromium.org/5970006 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@69793 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
dushu1203/chromium.src,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,dushu1203/chromium.src,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,axinging/chromium-crosswalk,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,n...
5e8f2b33712647290ea03206174e61c2a2a2a408
objects/RemotePyDictObject.cpp
objects/RemotePyDictObject.cpp
#include "RemotePyDictObject.h" #include "objects.h" #include "utils/ExtHelpers.h" #include <engextcpp.hpp> #include <memory> #include <string> #include <sstream> #include <iomanip> #include <stdexcept> #include <utility> using namespace std; RemotePyDictObject::RemotePyDictObject(Offset objectAddress) : RemotePyO...
#include "RemotePyDictObject.h" #include "objects.h" #include "utils/ExtHelpers.h" #include <engextcpp.hpp> #include <memory> #include <string> #include <sstream> #include <iomanip> #include <stdexcept> #include <utility> using namespace std; RemotePyDictObject::RemotePyDictObject(Offset objectAddress) : RemotePyO...
Correct a couple issues using the wrong index when iterating over `PyDictObject`s.
Correct a couple issues using the wrong index when iterating over `PyDictObject`s.
C++
mit
SeanCline/PyExt,SeanCline/PyExt,SeanCline/PyExt
c3902d7a8a3e9c0e24f63572ba1e7a55f981ae76
vlcplugin.cpp
vlcplugin.cpp
/***************************************************************************** * vlcplugin.cpp: a VLC plugin for Mozilla ***************************************************************************** * Copyright (C) 2002-2005 the VideoLAN team * $Id$ * * Authors: Samuel Hocevar <sam@zoy.org> * Damien Fou...
/***************************************************************************** * vlcplugin.cpp: a VLC plugin for Mozilla ***************************************************************************** * Copyright (C) 2002-2005 the VideoLAN team * $Id$ * * Authors: Samuel Hocevar <sam@zoy.org> * Damien Fou...
remove potentially harmful debug on win32
mozilla: remove potentially harmful debug on win32
C++
lgpl-2.1
jamesbates/npapi-vlc,jamesbates/npapi-vlc,rdp/npapi-vlc,modulexcite/npapi-vlc,modulexcite/npapi-vlc,chengsun/gtk-npapi-vlc,chengsun/gtk-npapi-vlc,rdp/npapi-vlc,modulexcite/npapi-vlc,rdp/npapi-vlc,modulexcite/npapi-vlc,rdp/npapi-vlc,chengsun/gtk-npapi-vlc,jamesbates/npapi-vlc
806a14a7ca2aeaa1a51b1d810b1158455e7f22fc
silicium/sink.hpp
silicium/sink.hpp
#ifndef SILICIUM_SINK_HPP #define SILICIUM_SINK_HPP #include <silicium/override.hpp> #include <boost/range/iterator_range.hpp> #include <boost/range/algorithm/copy.hpp> #include <boost/filesystem/path.hpp> #include <boost/container/string.hpp> #include <fstream> #include <array> #include <memory> namespace Si { temp...
#ifndef SILICIUM_SINK_HPP #define SILICIUM_SINK_HPP #include <silicium/override.hpp> #include <boost/range/iterator_range.hpp> #include <boost/range/algorithm/copy.hpp> #include <boost/filesystem/path.hpp> #include <boost/container/string.hpp> #include <fstream> #include <array> #include <memory> namespace Si { temp...
add a few trailing return types
add a few trailing return types
C++
mit
TyRoXx/silicium,TyRoXx/silicium
59f1b5afef6a41bd3187c00d649c8082e8436773
tensorflow/contrib/session_bundle/session_bundle.cc
tensorflow/contrib/session_bundle/session_bundle.cc
/* Copyright 2016 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 2016 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...
Change metrics to accumulate load failures and successes in a single variable with labels. Change: 135717281
Change metrics to accumulate load failures and successes in a single variable with labels. Change: 135717281
C++
apache-2.0
eerwitt/tensorflow,Mistobaan/tensorflow,krikru/tensorflow-opencl,manazhao/tf_recsys,tensorflow/tensorflow-pywrap_saved_model,laszlocsomor/tensorflow,brchiu/tensorflow,dyoung418/tensorflow,tornadozou/tensorflow,scenarios/tensorflow,alsrgv/tensorflow,eadgarchen/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,...
c6e49568deaf973df276d5168714df0c9a2aad85
src/app/qbs-setup-toolchains/probe.cpp
src/app/qbs-setup-toolchains/probe.cpp
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this fil...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this fil...
Fix wrong capitalization of Windows-specific header file
Fix wrong capitalization of Windows-specific header file This header file is lower-case, even on Windows. But it would remain undetected because NTFS is not case-sensitive by default. Correct capitalization is required when cross-compiling with MinGW on Linux. Change-Id: I584ae7c9dcf81597a2b9b6481e95fc65ec6e125a Rev...
C++
lgpl-2.1
qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,qt-labs/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs
04253e326bf71970ffefaa6de6924f0ff1865909
src/df_polygon_aa.cpp
src/df_polygon_aa.cpp
// Based on: // Fast Anti-Aliasing Polygon Scan Conversion by Jack Morrison from "Graphics // Gems", Academic Press, 1990. // This code renders a polygon, computing subpixel coverage at // 8 times Y and 16 times X display resolution for anti-aliasing. #include "df_polygon_aa.h" #include "df_bitmap.h" #in...
// Based on: // Fast Anti-Aliasing Polygon Scan Conversion by Jack Morrison from "Graphics // Gems", Academic Press, 1990. // This code renders a polygon, computing subpixel coverage at // 8 times Y and 16 times X display resolution for anti-aliasing. #include "df_polygon_aa.h" #include "df_bitmap.h" #in...
Remove extraneous semi-colon.
Remove extraneous semi-colon.
C++
mit
abainbridge/deadfrog-lib,abainbridge/deadfrog-lib,abainbridge/deadfrog-lib
38e394a0a8654cc3e630ef0b61466d3ee2317f62
src/PefCMD.cpp
src/PefCMD.cpp
// // PefCMD.cpp // J3NI // // Created by Neil on 2014-03-14. // Copyright (c) 2014 Neil. All rights reserved. // #include <fstream> #include <stdlib.h> #include <time.h> #include <PefCMD.h> #include <IpmiCommandDefines.h> using namespace IpmiCommandDefines; extern std::ofstream log_file; GetPefCapabCMD::GetPef...
// // PefCMD.cpp // J3NI // // Created by Neil on 2014-03-14. // Copyright (c) 2014 Neil. All rights reserved. // #include <fstream> #include <stdlib.h> #include <time.h> #include <PefCMD.h> #include <IpmiCommandDefines.h> using namespace IpmiCommandDefines; extern std::ofstream log_file; GetPefCapabCMD::GetPef...
Add support for PEF system GUID
Add support for PEF system GUID
C++
bsd-3-clause
J3NI/J3NI,J3NI/J3NI,J3NI/J3NI
6e291d34a089a246079f9a19f131d13f66d35371
src/dlangindenter.cpp
src/dlangindenter.cpp
#include "dlangindenter.h" #include "dlangautocompleter.h" #include <texteditor/tabsettings.h> #include <texteditor/textdocumentlayout.h> #include <QTextDocument> #include <QTextBlock> #include <QTextCursor> using namespace DlangEditor; enum { INDENTER_USER_FORMAT_ID = QTextFormat::UserFormat + 1 }; DlangInde...
#include "dlangindenter.h" #include "dlangautocompleter.h" #include <texteditor/tabsettings.h> #include <texteditor/textdocumentlayout.h> #include <QTextDocument> #include <QTextBlock> #include <QTextCursor> using namespace DlangEditor; enum { INDENTER_USER_FORMAT_ID = QTextFormat::UserFormat + 1 }; DlangInde...
Fix indention *Colon case
Fix indention *Colon case
C++
mit
Groterik/qtcreator-dlangeditor,Groterik/qtcreator-dlangeditor,Groterik/qtcreator-dlangeditor
d72e62066079c894d7275d60fecf4ef19f9fa01c
sfx2/inc/arrdecl.hxx
sfx2/inc/arrdecl.hxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
Remove unused SV_DECL_PTRARR_DEL
Remove unused SV_DECL_PTRARR_DEL
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core