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
dab7095fc5510c78eef150346cda15cc090fd689
test/cpp/interop/server.cc
test/cpp/interop/server.cc
/* * * Copyright 2014, 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 condi...
/* * * Copyright 2014, 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 condi...
Make interop server listen on 0.0.0.0.
Make interop server listen on 0.0.0.0.
C++
apache-2.0
sreecha/grpc,ejona86/grpc,tengyifei/grpc,tamihiro/grpc,LuminateWireless/grpc,dklempner/grpc,maxwell-demon/grpc,jboeuf/grpc,meisterpeeps/grpc,soltanmm-google/grpc,apolcyn/grpc,sreecha/grpc,JoeWoo/grpc,cgvarela/grpc,adelez/grpc,firebase/grpc,MakMukhi/grpc,vsco/grpc,firebase/grpc,Crevil/grpc,kumaralokgithub/grpc,ananthonl...
08240682ef0de9e5fcc89ca9409ab3ff803ff497
stromx/runtime/test/ZipFileOutputTest.cpp
stromx/runtime/test/ZipFileOutputTest.cpp
/* * Copyright 2012 Matthias Fuchs * * 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 2012 Matthias Fuchs * * 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...
Fix comment
Fix comment
C++
apache-2.0
uboot/stromx,uboot/stromx
b51d736268160909964ae7b95d0ea8db073bd2df
include/mantella_bits/optimisationProblem/roboticsOptimisationProblem/robotModel.hpp
include/mantella_bits/optimisationProblem/roboticsOptimisationProblem/robotModel.hpp
#pragma once // Armadillo #include <armadillo> // Mantella #include <mantella_bits/helper/printable.hpp> namespace mant { namespace robotics { class RobotModel : public Printable { public: arma::uword numberOfActiveJoints_; arma::uword numberOfRedundantJoints_; explicit R...
#pragma once // Armadillo #include <armadillo> // Mantella #include <mantella_bits/helper/printable.hpp> namespace mant { namespace robotics { class RobotModel : public Printable { public: const arma::uword numberOfActiveJoints_; const arma::uword numberOfRedundantJoints_; ...
Set numberOfActiveJoints_ and numberOfRedundantJoints_ to be const again
Set numberOfActiveJoints_ and numberOfRedundantJoints_ to be const again
C++
mit
SebastianNiemann/Mantella,SebastianNiemann/Mantella,Mantella/Mantella,Mantella/Mantella,Mantella/Mantella,SebastianNiemann/Mantella
d6652a8814c428c232064c2c76ae2c1554bca431
Wangscape/Main.cpp
Wangscape/Main.cpp
#include <iostream> #include <rapidjson/istreamwrapper.h> #include <rapidjson/document.h> #include <rapidjson/error/en.h> #include <fstream> #include <istream> #include "Options.h" #include "TilesetGenerator.h" int main(int argc, char** argv) { if (argc != 2) { std::cout << "Usage: Wangscape rel/path/t...
#include <iostream> #include <rapidjson/istreamwrapper.h> #include <rapidjson/document.h> #include <rapidjson/error/en.h> #include <fstream> #include <istream> #include "Options.h" #include "TilesetGenerator.h" #include "TileGenerator.h" int main(int argc, char** argv) { if (argc != 2) { std::cout << "...
Fix building
Fix building
C++
mit
serin-delaunay/Wangscape,Wangscape/Wangscape,Wangscape/Wangscape,serin-delaunay/Wangscape,Wangscape/Wangscape
a33ebf055eecf32560e4265041c3392a1760e176
modules/perception/obstacle/fusion/probabilistic_fusion/probabilistic_fusion_test.cc
modules/perception/obstacle/fusion/probabilistic_fusion/probabilistic_fusion_test.cc
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
remove test debug log.
perception: remove test debug log.
C++
apache-2.0
startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo
4230da6fc517ee2a0568dba969060cb90a9ac87c
lib/Analysis/GRState.cpp
lib/Analysis/GRState.cpp
//= GRState*cpp - Path-Sens. "State" for tracking valuues -----*- C++ -*--=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------...
//= GRState*cpp - Path-Sens. "State" for tracking valuues -----*- C++ -*--=// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------...
Fix 80-col violations.
Fix 80-col violations. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@58596 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/cl...
9aa7a30a32ceda2d1a522048c9768800b9c4ca86
tutorials/histfactory/example.C
tutorials/histfactory/example.C
#include "RooStats/HistFactory/Measurement.h" #include "RooStats/HistFactory/MakeModelAndMeasurementsFast.h" #include "TFile.h" #include "TRoot.h" using namespace RooStats; using namespace HistFactory; /* A ROOT script demonstrating an example of writing a HistFactory model using c++ only. This example was wr...
#include "RooStats/HistFactory/Measurement.h" #include "RooStats/HistFactory/MakeModelAndMeasurementsFast.h" #include "TFile.h" #include "TROOT.h" using namespace RooStats; using namespace HistFactory; /* A ROOT script demonstrating an example of writing a HistFactory model using c++ only. This example was wr...
fix an include
fix an include git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@44637 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT
0e610cfed68c3dfa8ded4e5617f339914c550bcb
test/unit/math/mix/fun/tan_test.cpp
test/unit/math/mix/fun/tan_test.cpp
#include <test/unit/math/test_ad.hpp> TEST(mathMixMatFun, tan) { auto f = [](const auto& x) { using stan::math::tan; return tan(x); }; stan::test::expect_common_nonzero_unary_vectorized(f); stan::test::expect_unary_vectorized(f, -2, -0.5, 0.5, 1.5, 3, 4.4); stan::test::expect_complex_common(f); } TE...
#include <test/unit/math/test_ad.hpp> TEST(mathMixMatFun, tan) { auto f = [](const auto& x) { using stan::math::tan; return tan(x); }; stan::test::expect_common_nonzero_unary_vectorized(f); stan::test::expect_unary_vectorized(f, -2, -0.5, 0.5, 1.5, 3, 4.4); stan::test::expect_complex_common(f); } TE...
update tan test
update tan test
C++
bsd-3-clause
stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math
18e56026d32469f5ed7fa1ecd340005aeec8d10f
tools/proto_merger/proto_file_serializer.cc
tools/proto_merger/proto_file_serializer.cc
/* * Copyright (C) 2021 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) 2021 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 small bug in ProtoFileToDotProto am: a5221eeff1 am: a9a2fd14c9 am: 7995163897 am: 99e0cc588c
tools: Fix small bug in ProtoFileToDotProto am: a5221eeff1 am: a9a2fd14c9 am: 7995163897 am: 99e0cc588c Original change: https://android-review.googlesource.com/c/platform/external/perfetto/+/1775025 Change-Id: I8fea572578d8c133914cbf887264cd3235033bcd
C++
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
795d22b8a29b2fae3ed8d11981619130562568fd
lib/SILPasses/Passes.cpp
lib/SILPasses/Passes.cpp
//===-------- Passes.cpp - Swift Compiler SIL Pass Entrypoints ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
//===-------- Passes.cpp - Swift Compiler SIL Pass Entrypoints ------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
Add another pass of CFG simplification after inlining.
Add another pass of CFG simplification after inlining. Inlining exposes more opportunities for CFG simplifications, and this could be beneficial before ARC opts. Because we create inline "caches" fairly late we also need this in order to clean up redundant checked_cast_br instructions that are exposed as a result of ...
C++
apache-2.0
CodaFi/swift,devincoughlin/swift,ben-ng/swift,cbrentharris/swift,johnno1962d/swift,shahmishal/swift,SwiftAndroid/swift,sschiau/swift,glessard/swift,codestergit/swift,swiftix/swift,practicalswift/swift,kusl/swift,slavapestov/swift,OscarSwanros/swift,gribozavr/swift,harlanhaskins/swift,felix91gr/swift,jopamer/swift,kperr...
085045c4cae1f25e994f1f3607b01a6bb76cab17
test/helper/TestHelper.hpp
test/helper/TestHelper.hpp
#pragma once #include <zmqpp/zmqpp.hpp> #include "FakeGPIO.hpp" #include <boost/property_tree/ptree.hpp> #include "gtest/gtest.h" #include "core/MessageBus.hpp" /** * Helper function that create an object of type ModuleType (using conventional parameter) and run it. */ template<typename ModuleType> bool test_run_modu...
#pragma once #include <zmqpp/zmqpp.hpp> #include "FakeGPIO.hpp" #include <boost/property_tree/ptree.hpp> #include "gtest/gtest.h" #include "core/MessageBus.hpp" extern thread_local zmqpp::socket *tl_log_socket; /** * Helper function that create an object of type ModuleType (using conventional parameter) and run it. ...
fix unittest helper
fix unittest helper Former-commit-id: 23a0dd5f8231dae295f1c6ead41f81b08290dcd2 Former-commit-id: b7bf381bd9f93f5cdebcdf758d288356f66ca9ad
C++
agpl-3.0
leosac/leosac,islog/leosac,islog/leosac,leosac/leosac,leosac/leosac,islog/leosac
85008d22ebe02ccc9570536f92b833400505eebe
plugins/robots/generators/generatorBase/src/structuralControlFlowGenerator.cpp
plugins/robots/generators/generatorBase/src/structuralControlFlowGenerator.cpp
/* Copyright 2017 QReal Research Group * * 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 agre...
/* Copyright 2017 QReal Research Group * * 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 agre...
Fix bug with if-then-else. Excess invertion of condition
Fix bug with if-then-else. Excess invertion of condition
C++
apache-2.0
iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal
759595acc9475be16d2474ea83dfa34c90dedf60
src/database/DatabaseServer.cpp
src/database/DatabaseServer.cpp
#include "core/global.h" #include "core/RoleFactory.h" #include "DBEngineFactory.h" #include "IDatabaseEngine.h" #include <fstream> ConfigVariable<channel_t> control_channel("control", 0); ConfigVariable<unsigned int> id_min("generate/min", 0); ConfigVariable<unsigned int> id_max("generate/max", UINT_MAX); ConfigVaria...
#include "core/global.h" #include "core/RoleFactory.h" #include "DBEngineFactory.h" #include "IDatabaseEngine.h" #include <fstream> ConfigVariable<channel_t> control_channel("control", 0); ConfigVariable<unsigned int> id_min("generate/min", 0); ConfigVariable<unsigned int> id_max("generate/max", UINT_MAX); ConfigVaria...
Store config values in member variables for performance, and for the eventual structure to allow multiple DBServers per daemon.
DBServer: Store config values in member variables for performance, and for the eventual structure to allow multiple DBServers per daemon.
C++
bsd-3-clause
pizcogirl/Astron,ketoo/Astron,pizcogirl/Astron,pizcogirl/Astron,ketoo/Astron,blindsighttf2/Astron,ketoo/Astron,blindsighttf2/Astron,blindsighttf2/Astron,blindsighttf2/Astron,pizcogirl/Astron,ketoo/Astron
ee2814b87d2bd67245f20f933b58b9da2b72dbaf
wildcard_matching.cpp
wildcard_matching.cpp
///////////////////////////////////// // File Name : wildcard matching ////////////////////////////////////// #include <string> #include <vector> #include <iostream> #include <bitset> #include <fstream> #include <string> #include <iterator> #include <algorithm> using namespace std; /////////// Description ////////...
///////////////////////////////////// // File Name : wildcard matching ////////////////////////////////////// #include <string> #include <vector> #include <iostream> #include <bitset> #include <fstream> #include <string> #include <iterator> #include <algorithm> using namespace std; /////////// Description ////////...
update wildcard_matching
update wildcard_matching
C++
apache-2.0
flowgrammable/libmatch,flowgrammable/libmatch
77378a3845d182af66488e720eca21d164a8ba56
lib/libport/option-parser.cc
lib/libport/option-parser.cc
#include <boost/format.hpp> #include <libport/foreach.hh> #include <libport/markup-ostream.hh> #include <libport/option-parser.hh> namespace libport { /*------. | Error | `------*/ Error::Error(const std::string& msg) : errors_() { errors_.push_back(msg); } Error::Error(const errors_type& err...
#include <boost/format.hpp> #include <libport/foreach.hh> #include <libport/markup-ostream.hh> #include <libport/option-parser.hh> namespace libport { /*--------. | Error. | `--------*/ Error::Error(const std::string& msg) : errors_() { errors_.push_back(msg); } Error::Error(const errors_typ...
Comment changes.
Comment changes.
C++
bsd-3-clause
aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport,aldebaran/libport
eb05fb1708f092243819b3e62f5b818b8d8738f9
winbuild/realpath.cpp
winbuild/realpath.cpp
/* Copyright 2014-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include "Win32Handle.h" using watchman::Win32Handle; char *realpath(const char *filename, char *target) { #if 1 /* Requires Vista or later */ std::wstring wchar; DWORD err, len; char *utf8; cha...
/* Copyright 2014-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include "Win32Handle.h" using watchman::Win32Handle; char *realpath(const char *filename, char *target) { std::wstring wchar; DWORD err, len; char *utf8; char *func_name; wchar.resize(WATCHM...
remove unused windows realpath implementation
remove unused windows realpath implementation Summary: This is just dead code Reviewed By: farnz Differential Revision: D4334330 fbshipit-source-id: ec4499da219016ce70b1d499817adb8490d8eacf
C++
mit
facebook/watchman,kwlzn/watchman,nodakai/watchman,kwlzn/watchman,facebook/watchman,wez/watchman,wez/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,facebook/watchman,kwlzn/watchman,nodakai/watchman,facebook/watchman,wez/watchman,wez/watchman,nodakai/watchman,nodakai/watchman,facebook/watchman,kwlzn/watchma...
15f8e86665023849eafbd34fdb674c9809e6f5a5
src/core/product_quadrature.hpp
src/core/product_quadrature.hpp
#pragma once #include <vector> #include <math.h> #include <iostream> #include "angle.hpp" #include "global_config.hpp" #include "error.hpp" #include "blitz_typedefs.hpp" using namespace mocc; // Produce a vector of <theta,weight> pairs of size n_polar with Yamamoto // quadrature within (0, PI/2). All weights sum to...
#pragma once #include <vector> #include <math.h> #include <iostream> #include "angle.hpp" #include "global_config.hpp" #include "error.hpp" #include "blitz_typedefs.hpp" using namespace mocc; // Produce a vector of <theta,weight> pairs of size n_polar with Yamamoto // quadrature within (0, PI/2). All weights sum to...
Fix issue with Gauss quadrature (add acos)
Fix issue with Gauss quadrature (add acos)
C++
apache-2.0
youngmit/mocc,youngmit/mocc,youngmit/mocc,youngmit/mocc
dac6b09cc8e246c6a90c2c680527ae79e0b7c183
unittests/ADT/STLExtrasTest.cpp
unittests/ADT/STLExtrasTest.cpp
//===- STLExtrasTest.cpp - Unit tests for STL extras ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- STLExtrasTest.cpp - Unit tests for STL extras ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix the build with MSVC 2013, still cannot default move ctors yet
Fix the build with MSVC 2013, still cannot default move ctors yet Ten days. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@283394 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 87bf0196f2d0dac7a2bad45eb457e647afbed9e7)
C++
apache-2.0
apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm
3e3953aeae38a406c6bbb15444b30fec39d5bd69
unittests/ADT/STLExtrasTest.cpp
unittests/ADT/STLExtrasTest.cpp
//===- STLExtrasTest.cpp - Unit tests for STL extras ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- STLExtrasTest.cpp - Unit tests for STL extras ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove extra semicolon
Remove extra semicolon git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@283395 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 81e3914a008a38f0636dc576b34b3de126cc40d2)
C++
apache-2.0
apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm
b1500ee8d5de31b6c15925cf477737b0f38a4254
unittests/Support/TimerTest.cpp
unittests/Support/TimerTest.cpp
//===- unittests/TimerTest.cpp - Timer tests ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- unittests/TimerTest.cpp - Timer tests ------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Use Support/thread.h instead of <thread> (second try)
[unittest] Use Support/thread.h instead of <thread> (second try) git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@256292 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers...
135d04cc9518d758d7bf4b3b353cb7757d7853b5
unsupported/test/sparse_llt.cpp
unsupported/test/sparse_llt.cpp
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <g.gael@free.fr> // // Eigen 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 ...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <g.gael@free.fr> // // Eigen 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 ...
fix compilation when defaulting to row major
fix compilation when defaulting to row major
C++
bsd-3-clause
pasuka/eigen,Zefz/eigen,Zefz/eigen,TSC21/Eigen,ritsu1228/eigen,ritsu1228/eigen,toastedcrumpets/eigen,TSC21/Eigen,Zefz/eigen,pasuka/eigen,ROCmSoftwarePlatform/hipeigen,TSC21/Eigen,toastedcrumpets/eigen,ritsu1228/eigen,toastedcrumpets/eigen,ritsu1228/eigen,ROCmSoftwarePlatform/hipeigen,toastedcrumpets/eigen,TSC21/Eigen,Z...
5a842595acbc9ee20c9a2976d328ce216e30bc45
c++/samples/calculator-server.c++
c++/samples/calculator-server.c++
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // 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, inc...
// Copyright (c) 2013-2014 Sandstorm Development Group, Inc. and contributors // Licensed under the MIT License: // // 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, inc...
Work around MSVC mutable copy capture bug
Work around MSVC mutable copy capture bug
C++
mit
mologie/capnproto,mologie/capnproto,mologie/capnproto
5ddefe2a65f0b7b18e80abf537e6aadf5d6d3451
src/import/chips/p9/procedures/hwp/memory/lib/dimm/mrs_load.H
src/import/chips/p9/procedures/hwp/memory/lib/dimm/mrs_load.H
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/mrs_load.H $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/mrs_load.H $ */ /* ...
Add c_str generic API and update makefiles
Add c_str generic API and update makefiles Change-Id: I927538d4f17e27427b3b4b43d8d5d89b65b27316 Original-Change-Id: I95e3b9013d3ab0c352d3614c12ee4ef0d26965d0 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35924 Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com> Reviewed-by: Louis Ste...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
54d2f568bcaedc9b212b1412f751ee59679b9b88
caffe2/operators/pool_op_cudnn.cc
caffe2/operators/pool_op_cudnn.cc
#include "caffe2/core/common_cudnn.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/conv_pool_op_base.h" namespace caffe2 { namespace { template <typename T> void setTensorDescriptor( const int size, const StorageOrder order, const int N, const int C, const int H, const int ...
#include "caffe2/core/common_cudnn.h" #include "caffe2/core/context_gpu.h" #include "caffe2/operators/conv_pool_op_base.h" namespace caffe2 { namespace { template <typename T> void setTensorDescriptor( const int size, const StorageOrder order, const int N, const int C, const int H, const int ...
Fix Pooling ND non-symmetric padding check.
Fix Pooling ND non-symmetric padding check. Reviewed By: dutran Differential Revision: D5270021 fbshipit-source-id: bbad8e9f07af26f7e7522844eb35bf5631883107
C++
apache-2.0
bwasti/caffe2,Yangqing/caffe2,davinwang/caffe2,davinwang/caffe2,pietern/caffe2,davinwang/caffe2,sf-wind/caffe2,sf-wind/caffe2,Yangqing/caffe2,Yangqing/caffe2,Yangqing/caffe2,xzturn/caffe2,pietern/caffe2,pietern/caffe2,pietern/caffe2,xzturn/caffe2,Yangqing/caffe2,davinwang/caffe2,sf-wind/caffe2,sf-wind/caffe2,pietern/ca...
87c90ed4b1489d9aba4871a0c833879a0ab09708
src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C
src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.C $ */ /* ...
Change RCD, MRS polling delays; calculated no longer static
Change RCD, MRS polling delays; calculated no longer static Change-Id: I93a9b1531fac3c767cc06a28cd4789239b49633b Original-Change-Id: I93eea0b81944402c7070a6a4beec415426461b37 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29388 Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com> Teste...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
abb8067181c494f3188a7ca97d654edcf6c36fdf
include/reflection_experiments/comparisons.hpp
include/reflection_experiments/comparisons.hpp
#pragma once #include "meta_utilities.hpp" #include "refl_utilities.hpp" namespace reflcompare { namespace refl = jk::refl_utilities; namespace metap = jk::metaprogramming; #if USING_REFLEXPR namespace meta = std::meta; #elif USING_CPP3K namespace meta = cpp3k::meta; #endif template<typename T> bool equal(const T&...
#pragma once #include "meta_utilities.hpp" #include "refl_utilities.hpp" namespace reflcompare { namespace refl = jk::refl_utilities; namespace metap = jk::metaprogramming; #if USING_REFLEXPR namespace meta = std::meta; #elif USING_CPP3K namespace meta = cpp3k::meta; #endif template<typename T> bool equal(const T&...
use && in example because it's safer
use && in example because it's safer
C++
mit
jacquelinekay/reflection_experiments
77ffa52524ee558cea10578441f579ff9138d0ac
include/tao/pegtl/contrib/raise_controller.hpp
include/tao/pegtl/contrib/raise_controller.hpp
// Copyright (c) 2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CONTRIB_RAISE_CONTROLLER_HPP #define TAO_PEGTL_CONTRIB_RAISE_CONTROLLER_HPP #include <type_traits> #include "../config.hpp" #include "../normal.hpp" namespace TAO_PEGT...
// Copyright (c) 2020 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_CONTRIB_RAISE_CONTROLLER_HPP #define TAO_PEGTL_CONTRIB_RAISE_CONTROLLER_HPP #include <type_traits> #include "../config.hpp" #include "../normal.hpp" namespace TAO_PEGT...
Fix MSVC
Fix MSVC
C++
mit
ColinH/PEGTL,ColinH/PEGTL
308ac876fa92e38b93736386cc23280a3269d565
Tutorial/Tutorial4ActorPlugin/Tutorial4ActorModule.cpp
Tutorial/Tutorial4ActorPlugin/Tutorial4ActorModule.cpp
#include "Tutorial4ActorModule.h" #include "NFComm/NFCore/NFTimer.h" #include <thread> bool HelloWorld4ActorModule::Init() { //ʼ std::cout << "Hello, world4, Init ThreadID: " << std::this_thread::get_id() << std::endl; return true; } int HelloWorld4ActorModule::OnASyncEvent(const NFIDENTID& self, const i...
#include "Tutorial4ActorModule.h" #include "NFComm/NFCore/NFTimer.h" #include <thread> bool HelloWorld4ActorModule::Init() { //ʼ std::cout << "Hello, world4, Init ThreadID: " << std::this_thread::get_id() << std::endl; return true; } int HelloWorld4ActorModule::OnASyncEvent(const NFIDENTID& self, const i...
modify GetCurrentThreadID() as std::this_thread::get_id()
modify GetCurrentThreadID() as std::this_thread::get_id()
C++
apache-2.0
zh423328/NFServer,zh423328/NFServer,xinst/NoahGameFrame,xinst/NoahGameFrame,zh423328/NFServer,xinst/NoahGameFrame,zh423328/NFServer,xinst/NoahGameFrame,zh423328/NFServer,xinst/NoahGameFrame,xinst/NoahGameFrame,zh423328/NFServer,xinst/NoahGameFrame,xinst/NoahGameFrame,zh423328/NFServer,zh423328/NFServer,xinst/NoahGameFr...
cdd0b4e13133a34690aa0483cf97859078b2d85b
test/test_file_storage.cpp
test/test_file_storage.cpp
/* Copyright (c) 2013, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* Copyright (c) 2013, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
fix windows build of test_file_storage
fix windows build of test_file_storage git-svn-id: 4f0141143c3c635d33f1b9f02fcb2b6c73e45c89@8667 a83610d8-ad2a-0410-a6ab-fc0612d85776
C++
bsd-3-clause
svn2github/libtorrent-rasterbar-trunk,dpolishuk/libtorrent,svn2github/libtorrent-rasterbar-trunk,dpolishuk/libtorrent,dpolishuk/libtorrent,dpolishuk/libtorrent,dpolishuk/libtorrent,dpolishuk/libtorrent,svn2github/libtorrent-rasterbar-trunk,svn2github/libtorrent-rasterbar-trunk
4d5d4b7e7182d01fe5870db5af4c32c8bf31a3aa
test/unit/test_mrn_sys.cpp
test/unit/test_mrn_sys.cpp
/* -*- c-basic-offset: 2 -*- */ /* Copyright(C) 2010 Tetsuro IKEDA Copyright(C) 2011-2012 Kouhei Sutou <kou@clear-code.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either v...
/* -*- c-basic-offset: 2 -*- */ /* Copyright(C) 2010 Tetsuro IKEDA Copyright(C) 2011-2012 Kouhei Sutou <kou@clear-code.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either v...
add a test for table name starts with '_' case
test: add a test for table name starts with '_' case For MySQL table name version.
C++
lgpl-2.1
naoa/mroonga,yoku0825/mroonga,mroonga/mroonga,mroonga/mroonga,mroonga/mroonga,yoku0825/mroonga,yoku0825/mroonga,yoku0825/mroonga,naoa/mroonga,naoa/mroonga,yoku0825/mroonga,yoku0825/mroonga,naoa/mroonga,naoa/mroonga,mroonga/mroonga,naoa/mroonga
15666e6a0a85f1aeb84a2ada0151c8bd5829753a
folly/experimental/observer/detail/ObserverManager.cpp
folly/experimental/observer/detail/ObserverManager.cpp
/* * Copyright 2016-present 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 a...
/* * Copyright 2016-present 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 a...
Use unbounded queues
Use unbounded queues Summary: There's no way we can size such queues appropriately. Reviewed By: yfeldblum Differential Revision: D15271382 fbshipit-source-id: 7d8c5b0a3faffac3e86cb87fa18d0597facc3189
C++
apache-2.0
facebook/folly,facebook/folly,facebook/folly,facebook/folly,facebook/folly
5929d5d5e57f42ea9d1a4782f97dc1cc6036dd04
libcaf_core/caf/expected.hpp
libcaf_core/caf/expected.hpp
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
Make expected<void> equality-comparable
Make expected<void> equality-comparable
C++
bsd-3-clause
nq-ebaratte/actor-framework,nq-ebaratte/actor-framework,nq-ebaratte/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,nq-ebaratte/...
9c308e7059b4ff95dc1d90b7f7a6fbf4da55ffde
src/publishsubscribe/xqsettingsmanager_symbian/cpublishandsubscribehandler.cpp
src/publishsubscribe/xqsettingsmanager_symbian/cpublishandsubscribehandler.cpp
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
Fix memory leak.
Fix memory leak. Task-number: MOBILITY-1231
C++
lgpl-2.1
kaltsi/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,ent...
7f74014b590df6644c03fd00c73107252a8d005a
cpp/src/main/models/factor/FactorModel.cpp
cpp/src/main/models/factor/FactorModel.cpp
#include "FactorModel.h" void FactorModel::set_parameters(FactorModelParameters* parameters){ FactorsParameters factors_parameters; factors_parameters.begin_min=begin_min_; factors_parameters.begin_max=begin_max_; factors_parameters.dimension=dimension_; factors_parameters.seed=parameters->seed+1; //subobjec...
#include "FactorModel.h" void FactorModel::set_parameters(FactorModelParameters* parameters){ FactorsParameters factors_parameters; factors_parameters.begin_min=begin_min_; factors_parameters.begin_max=begin_max_; factors_parameters.dimension=dimension_; factors_parameters.seed=parameters->seed+1; //subobjec...
fix bug in recency mode prediction calculation
fix bug in recency mode prediction calculation
C++
apache-2.0
rpalovics/Alpenglow,rpalovics/Alpenglow,rpalovics/Alpenglow,proto-n/Alpenglow,proto-n/Alpenglow,proto-n/Alpenglow
9d8c445840004d9af7c174e319f5c5e0d16ce6ee
chrome/renderer/blocked_plugin.cc
chrome/renderer/blocked_plugin.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/blocked_plugin.h" #include "base/string_piece.h" #include "base/string_util.h" #include "base/values.h" #include "chrome/co...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/blocked_plugin.h" #include "base/string_piece.h" #include "base/string_util.h" #include "base/values.h" #include "chrome/co...
Fix some uninitialized struct members.
Coverity: Fix some uninitialized struct members. CID=14884,14885,14886 BUG=none TEST=none Review URL: http://codereview.chromium.org/6665017 git-svn-id: http://src.chromium.org/svn/trunk/src@77761 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: f7366216cc9753e950449579a301d93d710d572e
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...
38985a0046065cdca5bd4c36528a79d1f2526644
chrome/renderer/devtools_agent.cc
chrome/renderer/devtools_agent.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/renderer/devtools_agent.h" #include <map> #include "base/command_line.h" #include "chrome/common/chrome_switches.h" #include "chrom...
// 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/renderer/devtools_agent.h" #include <map> #include "base/command_line.h" #include "chrome/common/chrome_switches.h" #include "chrom...
complete migration to runtime properties started upstream.
DevTools: complete migration to runtime properties started upstream. Review URL: http://codereview.chromium.org/3132025 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@56663 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
248e1623b3943775a94ca3cee125f02788549e3e
chrome/renderer/pepper_devices.cc
chrome/renderer/pepper_devices.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/pepper_devices.h" #include "chrome/renderer/webplugin_delegate_pepper.h" #include "skia/ext/platform_canvas.h" #include "web...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/renderer/pepper_devices.h" #include "chrome/renderer/webplugin_delegate_pepper.h" #include "skia/ext/platform_canvas.h" #include "web...
Fix Pepper 2D device init on Mac, so that it work with NaCl modules as well as with trusted Pepper plugins. The shared memory was not being used to create the skia bitmap due to a missing mmap() call. Adding this call (via TransportDIB::Map()) generates the right shared mem region.
Fix Pepper 2D device init on Mac, so that it work with NaCl modules as well as with trusted Pepper plugins. The shared memory was not being used to create the skia bitmap due to a missing mmap() call. Adding this call (via TransportDIB::Map()) generates the right shared mem region. Note: this is an interim fix. Rea...
C++
bsd-3-clause
hgl888/chromium-crosswalk,nacl-webkit/chrome_deps,robclark/chromium,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,Chilledheart/chromium,timopulkkinen/BubbleFish,M4sse/chromium.src,hujiajie/pa-chromium,bri...
68d3c92160825cadaf2d982777a19b4bcf3f5167
cintex/src/CINTTypedefBuilder.cxx
cintex/src/CINTTypedefBuilder.cxx
// @(#)root/cintex:$Name: $:$Id: CINTTypedefBuilder.cxx,v 1.9 2006/06/13 08:19:01 brun Exp $ // Author: Pere Mato 2005 // Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved. // // Permission to use, copy, modify, and distribute this software for any // purpose is hereby granted without fee, provided th...
// @(#)root/cintex:$Name: $:$Id: CINTTypedefBuilder.cxx,v 1.10 2006/06/15 12:07:18 brun Exp $ // Author: Pere Mato 2005 // Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved. // // Permission to use, copy, modify, and distribute this software for any // purpose is hereby granted without fee, provided t...
convert declaring scope of a typedef to the Cint conventions
convert declaring scope of a typedef to the Cint conventions git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@15587 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
sbinet/cxx-root,lgiommi/root,mattkretz/root,kirbyherm/root-r-tools,strykejern/TTreeReader,tc3t/qoot,esakellari/root,mhuwiler/rootauto,esakellari/my_root_for_test,mhuwiler/rootauto,0x0all/ROOT,Dr15Jones/root,dfunke/root,ffurano/root5,lgiommi/root,sawenzel/root,dfunke/root,cxx-hep/root-cern,gganis/root,gbitzes/root,mkret...
e9f090e8b2ca2eda3e9a1b1c3ba4acce843720ba
src/glsl/lower_output_reads.cpp
src/glsl/lower_output_reads.cpp
/* * Copyright © 2012 Vincent Lejeune * Copyright © 2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rig...
/* * Copyright © 2012 Vincent Lejeune * Copyright © 2012 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rig...
add new variable declaration in function body in lower_output_read
glsl: add new variable declaration in function body in lower_output_read Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
C++
mit
zz85/glsl-optimizer,mapbox/glsl-optimizer,zeux/glsl-optimizer,benaadams/glsl-optimizer,jbarczak/glsl-optimizer,tokyovigilante/glsl-optimizer,zz85/glsl-optimizer,bkaradzic/glsl-optimizer,metora/MesaGLSLCompiler,mcanthony/glsl-optimizer,dellis1972/glsl-optimizer,djreep81/glsl-optimizer,jbarczak/glsl-optimizer,mapbox/glsl...
b3a922a9ad6d370e7021981550118f83f11b071c
src/lib/operators/inclusion.cpp
src/lib/operators/inclusion.cpp
#include <annis/operators/inclusion.h> #include <annis/wrapper.h> using namespace annis; Inclusion::Inclusion(const DB &db) : db(db), anyNodeAnno(Init::initAnnotation(db.getNodeNameStringID(), 0, db.getNamespaceStringID())), tokHelper(db) { gsOrder = db.getGraphStorage(ComponentType::ORDERING, annis_ns, ...
#include <annis/operators/inclusion.h> #include <annis/wrapper.h> using namespace annis; Inclusion::Inclusion(const DB &db) : db(db), anyNodeAnno(Init::initAnnotation(db.getNodeNameStringID(), 0, db.getNamespaceStringID())), tokHelper(db) { gsOrder = db.getGraphStorage(ComponentType::ORDERING, annis_ns, ...
use reference instead of copying the node id
use reference instead of copying the node id
C++
apache-2.0
thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS,thomaskrause/graphANNIS
9ad250411bd51621d22fab0d406af423e9504847
Modules/Bundles/org.mitk.gui.qt.simpleexample/src/internal/QmitkSimpleExampleView.cpp
Modules/Bundles/org.mitk.gui.qt.simpleexample/src/internal/QmitkSimpleExampleView.cpp
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision: 17332 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rig...
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision: 17332 $ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rig...
FIX (#2348): some Linux adaptions to make high resolution screenshots work
FIX (#2348): some Linux adaptions to make high resolution screenshots work
C++
bsd-3-clause
iwegner/MITK,NifTK/MITK,fmilano/mitk,nocnokneo/MITK,danielknorr/MITK,rfloca/MITK,RabadanLab/MITKats,nocnokneo/MITK,danielknorr/MITK,RabadanLab/MITKats,NifTK/MITK,iwegner/MITK,danielknorr/MITK,MITK/MITK,iwegner/MITK,fmilano/mitk,nocnokneo/MITK,lsanzdiaz/MITK-BiiG,nocnokneo/MITK,rfloca/MITK,NifTK/MITK,danielknorr/MITK,rf...
79867ec5da6dcf6bccc481a17f0a123630485921
Plugins/org.mitk.gui.qt.semanticrelations/src/internal/QmitkSemanticRelationsView.cpp
Plugins/org.mitk.gui.qt.semanticrelations/src/internal/QmitkSemanticRelationsView.cpp
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
Initialize semantic relations view on activation, if data exists
Initialize semantic relations view on activation, if data exists
C++
bsd-3-clause
fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK
09d2c5dd37453581f30785e1585af10b5ccf22ad
core/mapi/version.cpp
core/mapi/version.cpp
#include <core/stdafx.h> #include <core/mapi/version.h> #include <core/utility/import.h> #include <core/mapi/stubutils.h> #include <core/utility/strings.h> #include <core/utility/output.h> #include <core/utility/error.h> #include <appmodel.h> #include <AppxPackaging.h> namespace version { std::wstring GetMSIVersion()...
#include <core/stdafx.h> #include <core/mapi/version.h> #include <core/utility/import.h> #include <core/mapi/stubutils.h> #include <core/utility/strings.h> #include <core/utility/output.h> #include <core/utility/error.h> #include <appmodel.h> #include <AppxPackaging.h> namespace version { std::wstring GetMSIVersion()...
remove some new
remove some new
C++
mit
stephenegriffin/mfcmapi,stephenegriffin/mfcmapi,stephenegriffin/mfcmapi
1de4609b77966411af14f336974d310f3c35ddcd
core/src/cell/cell.cc
core/src/cell/cell.cc
/** * @file cell.cc * @author Stavros Papadopoulos <stavrosp@csail.mit.edu> * * @section LICENSE * * The MIT License * * Copyright (c) 2014 Stavros Papadopoulos <stavrosp@csail.mit.edu> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docume...
/** * @file cell.cc * @author Stavros Papadopoulos <stavrosp@csail.mit.edu> * * @section LICENSE * * The MIT License * * Copyright (c) 2014 Stavros Papadopoulos <stavrosp@csail.mit.edu> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated docume...
Check for var_size if only a subset of attributes are requested while constructing a Cell object. The logic should be the same as that used in array_cell_iterator.
Check for var_size if only a subset of attributes are requested while constructing a Cell object. The logic should be the same as that used in array_cell_iterator.
C++
mit
TileDB-Inc/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB,npapa/TileDB,kavskalyan/TileDB,kavskalyan/TileDB,Intel-HLS/TileDB,Intel-HLS/TileDB,TileDB-Inc/TileDB,npapa/TileDB
c53caa565439d2258cac68d6ad087fdd2c5cfce6
src/mocc-core/pin_mesh_rect.cpp
src/mocc-core/pin_mesh_rect.cpp
#include "pin_mesh_rect.hpp" #include <algorithm> #include <cassert> #include "error.hpp" namespace mocc { PinMesh_Rect::PinMesh_Rect( const pugi::xml_node &input ): PinMesh( input ) { // Parse the number of x and y divisions int ndiv_x = input.child("sub_x").text().as_int(0); ...
#include "pin_mesh_rect.hpp" #include <algorithm> #include <cassert> #include "error.hpp" namespace mocc { PinMesh_Rect::PinMesh_Rect( const pugi::xml_node &input ): PinMesh( input ) { // Parse the number of x and y divisions int ndiv_x = input.child("sub_x").text().as_int(0); ...
Replace 'float' with 'real_t' in rect pin mesh
Replace 'float' with 'real_t' in rect pin mesh There were some convergence issues in 2d3d from pricision of the mesh representation. The single-precision in the mesh was leading to poor homogenized values.
C++
apache-2.0
youngmit/mocc,youngmit/mocc,youngmit/mocc,youngmit/mocc
73a3182ccd2580f116f058a0e088bfc9e30e3af1
tests/test-progs/dtu/random/main.cpp
tests/test-progs/dtu/random/main.cpp
#include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include <unistd.h> #include "../dtu.h" #ifndef PE_ID #define PE_ID (-1) #endif void pe_printf(const char *format, ...) { va_list args; printf("PE%d: ", PE_ID); va_start(args, format); vprintf(format, args); v...
#include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include <unistd.h> #include "../dtu.h" #ifndef PE_ID #define PE_ID (-1) #endif void pe_printf(const char *format, ...) { va_list args; printf("PE%d: ", PE_ID); va_start(args, format); vprintf(format, args); v...
print address of message.
dtu-test-progs: print address of message.
C++
bsd-3-clause
TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu,TUD-OS/gem5-dtu
22a9e06e326c18152b7c804d60a589c2bf81c062
src/parser/lomse_xml_parser.cpp
src/parser/lomse_xml_parser.cpp
//--------------------------------------------------------------------------------------- // This file is part of the Lomse library. // Lomse is copyrighted work (c) 2010-2016. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the ...
//--------------------------------------------------------------------------------------- // This file is part of the Lomse library. // Lomse is copyrighted work (c) 2010-2016. All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the ...
Fix error in macro
Fix error in macro
C++
mit
lenmus/lomse,lenmus/lomse,lenmus/lomse
1e332f38acc54f51509ed12a3ce220b736263155
cvmfs/upload_local.cc
cvmfs/upload_local.cc
/** * This file is part of the CernVM File System. */ #include "upload_local.h" #include <errno.h> #include "logging.h" #include "compression.h" #include "util.h" #include "file_processing/char_buffer.h" using namespace upload; LocalUploader::LocalUploader(const SpoolerDefinition &spooler_definition) : Abstr...
/** * This file is part of the CernVM File System. */ #include "upload_local.h" #include <errno.h> #include "logging.h" #include "compression.h" #include "util.h" #include "file_processing/char_buffer.h" using namespace upload; LocalUploader::LocalUploader(const SpoolerDefinition &spooler_definition) : Abstr...
use internal `Move()` method in LocalUploader
FIX: use internal `Move()` method in LocalUploader
C++
bsd-3-clause
DrDaveD/cvmfs,Moliholy/cvmfs,cvmfs-testing/cvmfs,reneme/cvmfs,cvmfs/cvmfs,Moliholy/cvmfs,Gangbiao/cvmfs,reneme/cvmfs,alhowaidi/cvmfsNDN,MicBrain/cvmfs,djw8605/cvmfs,MicBrain/cvmfs,trshaffer/cvmfs,MicBrain/cvmfs,Gangbiao/cvmfs,Moliholy/cvmfs,DrDaveD/cvmfs,DrDaveD/cvmfs,djw8605/cvmfs,alhowaidi/cvmfsNDN,djw8605/cvmfs,cvmf...
26c4f64a7f7f72e40a3ff1e76eb95a538d1c56db
vcl/unx/gtk/fpicker/SalGtkPicker.cxx
vcl/unx/gtk/fpicker/SalGtkPicker.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
Fix memory leak in SalGtkPicker::uritounicode.
Fix memory leak in SalGtkPicker::uritounicode. The gchars array returned by g_filename_from_uri will be copied into the OUString sEncoded and should be freed. Change-Id: Ib610cce5848607826632c0f5e32020708dac7645 Reviewed-on: https://gerrit.libreoffice.org/4156 Reviewed-by: Noel Power <5d8953a81ee7faf03fd3845d9c88b1bd...
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
362bb521087649c1a473ec97d6ec03c6eab9e662
lib/Transforms/Scalar/DeadStoreElimination.cpp
lib/Transforms/Scalar/DeadStoreElimination.cpp
//===- DeadStoreElimination.cpp - Fast Dead Store Elimination -------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Owen Anderson and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------------------...
//===- DeadStoreElimination.cpp - Fast Dead Store Elimination -------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Owen Anderson and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------------------...
Make handleEndBlock significantly faster with one trivial improvement, and one hack to avoid hitting a bad case when the alias analysis is imprecise.
Make handleEndBlock significantly faster with one trivial improvement, and one hack to avoid hitting a bad case when the alias analysis is imprecise. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@40935 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/l...
4fcffe2e52502656b7d6d77260ebb8372fbdc95f
libs/opmapcontrol/src/internals/tilematrix.cpp
libs/opmapcontrol/src/internals/tilematrix.cpp
/** ****************************************************************************** * * @file tilematrix.cpp * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * @brief * @see The GNU Public License (GPL) Version 3 * @defgroup OPMapWidget * @{ * *************************...
/** ****************************************************************************** * * @file tilematrix.cpp * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. * @brief * @see The GNU Public License (GPL) Version 3 * @defgroup OPMapWidget * @{ * *************************...
Remove unwanted mutex unlocker
Remove unwanted mutex unlocker
C++
agpl-3.0
greenoaktree/qgroundcontrol,remspoor/qgroundcontrol,scott-eddy/qgroundcontrol,Hunter522/qgroundcontrol,jy723/qgroundcontrol,devbharat/qgroundcontrol,remspoor/qgroundcontrol,caoxiongkun/qgroundcontrol,remspoor/qgroundcontrol,greenoaktree/qgroundcontrol,lis-epfl/qgroundcontrol,scott-eddy/qgroundcontrol,jy723/qgroundcontr...
c0cb14a5c2a26833f3ce385b9b5e8be7d4a9468e
machine/instructions/send_stack_with_splat.hpp
machine/instructions/send_stack_with_splat.hpp
#include "interpreter/instructions.hpp" #include "class/call_site.hpp" namespace rubinius { namespace instructions { inline bool send_stack_with_splat(STATE, CallFrame* call_frame, intptr_t literal, intptr_t count) { Object* block = stack_pop(); Object* ary = stack_pop(); Object* recv = sta...
#include "interpreter/instructions.hpp" #include "class/call_site.hpp" namespace rubinius { namespace instructions { inline bool send_stack_with_splat(STATE, CallFrame* call_frame, intptr_t literal, intptr_t count) { Object* block = stack_pop(); Object* ary = stack_pop(); Object* recv = sta...
clean up stack before executing method
clean up stack before executing method
C++
mpl-2.0
kachick/rubinius,kachick/rubinius,kachick/rubinius,kachick/rubinius,kachick/rubinius,kachick/rubinius,kachick/rubinius,kachick/rubinius
64cda54ff1e552fc29ebb27eac7778eac5c6f9e1
mjolnir/input/read_random_number_generator.hpp
mjolnir/input/read_random_number_generator.hpp
#ifndef MJOLNIR_INPUT_READ_RANDOM_NUMBER_GENERATOR_HPP #define MJOLNIR_INPUT_READ_RANDOM_NUMBER_GENERATOR_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/util/logger.hpp> #include <mjolnir/core/RandomNumberGenerator.hpp> #include <mjolnir/core/MsgPackLoader.hpp> namespace mjolnir { template<typename traitsT> Ra...
#ifndef MJOLNIR_INPUT_READ_RANDOM_NUMBER_GENERATOR_HPP #define MJOLNIR_INPUT_READ_RANDOM_NUMBER_GENERATOR_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/util/logger.hpp> #include <mjolnir/core/RandomNumberGenerator.hpp> #include <mjolnir/core/MsgPackLoader.hpp> namespace mjolnir { template<typename traitsT> Ra...
check key existance earlier
fix: check key existance earlier
C++
mit
ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir
ea10f7247e7f27aa8f0b51241b5c5835e093d3a8
modules/control/controller/controller_agent.cc
modules/control/controller/controller_agent.cc
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
refactor controller creation process.
control: refactor controller creation process.
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
aac9f2d80a1328cc321bd119743ebc693a6907c1
modules/danlin_fontawesome/src/FontAwesome.cpp
modules/danlin_fontawesome/src/FontAwesome.cpp
/* ============================================================================== FontAwesome.cpp Created: 13 Jul 2014 12:45:27pm Author: Daniel Lindenfelser ============================================================================== */ #include "FontAwesome.h" juce_ImplementSingleton(FontAwesom...
/* ============================================================================== FontAwesome.cpp Created: 13 Jul 2014 12:45:27pm Author: Daniel Lindenfelser ============================================================================== */ #include "FontAwesome.h" juce_ImplementSingleton(FontAwesom...
add missing namespace
add missing namespace
C++
mit
danlin/danlin_modules,danlin/danlin_modules,danlin/danlin_modules
7258d47b9600d53a4225c5783cc9f6cc3b04189e
modules/desktop_capture/window_capturer_win.cc
modules/desktop_capture/window_capturer_win.cc
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Fix window capturing on Windows when the window is minimized.
Fix window capturing on Windows when the window is minimized. BUG=crbug/410290 R=sergeyu@chromium.org Review URL: https://webrtc-codereview.appspot.com/20319004 git-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@7158 4adac7df-926f-26a2-2b94-8c16560cd09d
C++
bsd-3-clause
svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758
662dd1a845e239dd1f347403560df6a9124d6c7c
modules/python3/bindings/src/pydatareaders.cpp
modules/python3/bindings/src/pydatareaders.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2022 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2022 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Format fixes
Jenkins: Format fixes
C++
bsd-2-clause
inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo
93b8b2a42a268b8a87593903f59a528bf349ebf4
tree/treeplayer/src/TTreeDrawArgsParser.cxx
tree/treeplayer/src/TTreeDrawArgsParser.cxx
// @(#)root/treeplayer:$Id$ // Author: Marek Biskup 24/01/2005 /************************************************************************* * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
// @(#)root/treeplayer:$Id$ // Author: Marek Biskup 24/01/2005 /************************************************************************* * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
Fix Doxygen warnings spell check
Fix Doxygen warnings spell check
C++
lgpl-2.1
mhuwiler/rootauto,agarciamontoro/root,beniz/root,BerserkerTroll/root,beniz/root,agarciamontoro/root,buuck/root,buuck/root,bbockelm/root,simonpf/root,gganis/root,karies/root,zzxuanyuan/root,agarciamontoro/root,agarciamontoro/root,zzxuanyuan/root,gganis/root,olifre/root,BerserkerTroll/root,karies/root,karies/root,abhinav...
23787b9cead604de24fc58d78adb062bd988cff4
xcore/xcam_thread.cpp
xcore/xcam_thread.cpp
/* * xcam_thread.cpp - Thread * * Copyright (c) 2014 Intel Corporation * * 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 * * Unle...
/* * xcam_thread.cpp - Thread * * Copyright (c) 2014 Intel Corporation * * 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 * * Unle...
set name in each thread
thread: set name in each thread Signed-off-by: Wind Yuan <d3b25194a13defcddf619d66a03bde7d96f8d487@intel.com>
C++
apache-2.0
skibey/libxcam,zjamy/libxcam,dspmeng/libxcam,dspmeng/libxcam,dspmeng/libxcam,skibey/libxcam,skibey/libxcam,zjamy/libxcam,zjamy/libxcam
6b3647d5795467277fdd6cf3cc1684085f06fd49
cint/cint/src/Type.cxx
cint/cint/src/Type.cxx
/* /% C++ %/ */ /*********************************************************************** * cint (C/C++ interpreter) ************************************************************************ * Source file Type.cxx ************************************************************************ * Description: * Extended Ru...
/* /% C++ %/ */ /*********************************************************************** * cint (C/C++ interpreter) ************************************************************************ * Source file Type.cxx ************************************************************************ * Description: * Extended Ru...
Fix typo in preprocessor statement noticed by gcc 4.4
Fix typo in preprocessor statement noticed by gcc 4.4 git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@26109 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT
416c7533e0e37033b48213bcda0c9c6fb22e226f
fpicker/source/win32/filepicker/getfilenamewrapper.cxx
fpicker/source/win32/filepicker/getfilenamewrapper.cxx
/* -*- 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 ...
Drop Win9x code
Drop Win9x code
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
47366dbec4881c7be642b2c9790c81ccea79ca65
marketorderswidget.cpp
marketorderswidget.cpp
#include "marketorderswidget.hpp" #include "ui_marketorderswidget.h" #include <QSqlQuery> #include <QListIterator> #include <QPushButton> #include <QTableWidget> #include <QtXmlPatterns> #include <QMovie> #include "network.hpp" #include "queries.hpp" #include "settings.hpp" #include "global.hpp" MarketOrdersWidget::M...
#include "marketorderswidget.hpp" #include "ui_marketorderswidget.h" #include <QSqlQuery> #include <QListIterator> #include <QPushButton> #include <QTableWidget> #include <QtXmlPatterns> #include <QMovie> #include "network.hpp" #include "queries.hpp" #include "settings.hpp" #include "global.hpp" MarketOrdersWidget::M...
Discard the fraction part in reported time of MarketOrdersWidget.
Discard the fraction part in reported time of MarketOrdersWidget.
C++
lgpl-2.1
yznpku/bevel
e26da2b7e1e4f5b3267f2f7db06d9c6618aef66d
cli/demos/cpp/main.cpp
cli/demos/cpp/main.cpp
#include <iostream> #include <stdio.h> #include <fstream> #include <vector> #include <math.h> const double PI = 3.14159265; int main() { using namespace std; //Version check I/O char protocol_version_string[32]; int version; cin >> protocol_version_string; cin >> version; if (version == ...
#include <iostream> #include <fstream> #include <vector> #include <cmath> int main() { using namespace std; cerr << "started" << endl; // Version check I/O char protocol_version_string[32]; int version; cin >> protocol_version_string; cin >> version; if (version == 1) { cout ...
Refactor cpp demo.
Refactor cpp demo.
C++
mpl-2.0
roboime/roboime-next
9f777de1a92274ea2955bc714321582da6699116
chrome/browser/device_orientation/provider_unittest.cc
chrome/browser/device_orientation/provider_unittest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <queue> #include "base/lock.h" #include "base/message_loop.h" #include "base/task.h" #include "chrome/browser/device_orientation/data_fetche...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <queue> #include "base/lock.h" #include "base/message_loop.h" #include "base/task.h" #include "chrome/browser/device_orientation/data_fetche...
Fix DeviceOrientationProviderTest.ObserverNotRemoved.
Fix DeviceOrientationProviderTest.ObserverNotRemoved. The problem was that some extra reference to Provider was left after the ObserverNotRemoved test had finished. This reference was held by the RunnableMethod object that executes ProviderImpl::DoInitializePollingThread on a background thread. In the test, there were...
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...
bfe3b9e2ec11565e3a1d90133d1a49d1fef1b817
chrome/browser/extensions/extension_omnibox_apitest.cc
chrome/browser/extensions/extension_omnibox_apitest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/format_macros.h" #include "base/string_util.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/format_macros.h" #include "base/string_util.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrome...
Use current profile rather than AllSources for notification sources when registering for NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY.
Use current profile rather than AllSources for notification sources when registering for NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY. BUG=None TEST=Run trybots. Review URL: http://codereview.chromium.org/7795007 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@99415 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
junmin-zhu/chromium-rivertrail,M4sse/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,dednal/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,dushu1203/c...
5ae5d49e2327532728750f2a54c9fb2f87ae30cc
chrome/browser/extensions/extension_storage_apitest.cc
chrome/browser/extensions/extension_storage_apitest.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/extensions/extension_apitest.h" // TODO(jcampan): http://crbug.com/27216 disabled because failing. IN_PROC_BROWSER_TEST_F(Ex...
// 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/extensions/extension_apitest.h" // TODO(jcampan): http://crbug.com/27216 disabled because failing. IN_PROC_BROWSER_TEST_F(Ex...
Mark ExtensionApiTest.Storage as flaky.
Mark ExtensionApiTest.Storage as flaky. BUG=27216 TEST=none Review URL: http://codereview.chromium.org/515026 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@35251 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
rogerwang/chromium,ltilve/chromium,patrickm/chromium.src,Jonekee/chromium.src,M4sse/chromium.src,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,markYoungH/chromium.src,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,mogoweb/chromium-crosswalk,keishi/chromium,timopulkkinen...
9640a1ea586193773748003131b7c7ab13a98cc5
p2p/base/portallocatorsessionproxy_unittest.cc
p2p/base/portallocatorsessionproxy_unittest.cc
/* * libjingle * Copyright 2012 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fo...
/* * libjingle * Copyright 2012 Google Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the fo...
Fix memory leak in portallocatorsessionproxy_unittest. Remove the suppressions that have been fixed.
Fix memory leak in portallocatorsessionproxy_unittest. Remove the suppressions that have been fixed. BUG=1972,2263 R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2062005 Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: ebe68aad44dfd5f557f83d51d14583567...
C++
bsd-3-clause
sippet/talk,sippet/talk,sippet/talk,sippet/talk,sippet/talk
a70848e464d71277c22b8810e446076696e81662
Source/Engine/LuaScript/LuaScript.cpp
Source/Engine/LuaScript/LuaScript.cpp
// // Copyright (c) 2008-2014 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mod...
// // Copyright (c) 2008-2014 the Urho3D project. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, mod...
Fix Lua postupdate handler not being called.
Fix Lua postupdate handler not being called.
C++
mit
299299/Urho3D,rokups/Urho3D,SuperWangKai/Urho3D,rokups/Urho3D,eugeneko/Urho3D,xiliu98/Urho3D,c4augustus/Urho3D,xiliu98/Urho3D,carnalis/Urho3D,SuperWangKai/Urho3D,SirNate0/Urho3D,SuperWangKai/Urho3D,abdllhbyrktr/Urho3D,helingping/Urho3D,helingping/Urho3D,iainmerrick/Urho3D,henu/Urho3D,fire/Urho3D-1,299299/Urho3D,abdllhb...
bb1001107e0ec6a0dd68ff7f62efc1fa2af07dcb
src/ui/linux/TogglDesktop/main.cpp
src/ui/linux/TogglDesktop/main.cpp
// Copyright 2014 Toggl Desktop developers. #include <QApplication> #include <QCommandLineParser> #include <QDebug> #include <QMetaType> #include <QVector> #include <stdint.h> #include <stdbool.h> #include "qtsingleapplication.h" // NOLINT #include "./autocompleteview.h" #include "./bugsnag.h" #include "./genericv...
// Copyright 2014 Toggl Desktop developers. #include <QApplication> #include <QCommandLineParser> #include <QDebug> #include <QMetaType> #include <QVector> #include <stdint.h> #include <stdbool.h> #include "qtsingleapplication.h" // NOLINT #include "./autocompleteview.h" #include "./bugsnag.h" #include "./genericv...
Set app font to Helvetica 10 (linux)
Set app font to Helvetica 10 (linux)
C++
bsd-3-clause
codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop,codeman38/toggldesktop
fa01847b43f12b7a3e3640a345affa67161bee0f
test/fs/integration/memdisk/twosector.cpp
test/fs/integration/memdisk/twosector.cpp
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // Yo...
Add missing common dependence to twosector integration test
Add missing common dependence to twosector integration test
C++
apache-2.0
alfred-bratterud/IncludeOS,hioa-cs/IncludeOS,AnnikaH/IncludeOS,AnnikaH/IncludeOS,hioa-cs/IncludeOS,ingve/IncludeOS,ingve/IncludeOS,mnordsletten/IncludeOS,mnordsletten/IncludeOS,alfred-bratterud/IncludeOS,mnordsletten/IncludeOS,mnordsletten/IncludeOS,AndreasAakesson/IncludeOS,AnnikaH/IncludeOS,hioa-cs/IncludeOS,mnordsle...
a8f7c6eee89fa2cdb29ace1f0bf244f61f724db9
src/sensors/qrotationsensor.cpp
src/sensors/qrotationsensor.cpp
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
Update the rotation limits.
Update the rotation limits. Also note the consequence of X = -90 or X = 90 to the Y angle. Fixes: MOBILITY-855
C++
lgpl-2.1
kaltsi/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,KDE/android-qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,kaltsi/qt-mobility,kal...
df86b49c5019c31216ba081aad1b2b38bcbbd25b
lib/node_modules/@stdlib/math/base/special/betainc/test/fixtures/cpp/runner.cpp
lib/node_modules/@stdlib/math/base/special/betainc/test/fixtures/cpp/runner.cpp
#include <random> #include <algorithm> #include <iterator> #include <vector> #include <iostream> #include <boost/math/special_functions/beta.hpp> using namespace std; vector<double> linspace( double start, double end, int num ) { double delta = (end - start) / (num - 1); vector<double> arr( num - 1 ); for ( int i ...
#include <random> #include <algorithm> #include <iterator> #include <vector> #include <iostream> #include <boost/math/special_functions/beta.hpp> using namespace std; /** * Generates a linearly spaced numeric array. * * @param start first array value * @param end last array value * @param num length of outp...
Add annotations
Add annotations
C++
apache-2.0
stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib
fba3391e382834657d23c48d5df4776afdad6f93
src/signal_scope/plotwidget.cpp
src/signal_scope/plotwidget.cpp
#include "plotwidget.h" #include "plot.h" #include "signalhandler.h" #include "signaldata.h" #include "setscaledialog.h" #include "selectsignaldialog.h" #include "signaldescription.h" #include "pythonchannelsubscribercollection.h" #include <qwt_scale_engine.h> #include <qlabel.h> #include <qlayout.h> #include <QDouble...
#include "plotwidget.h" #include "plot.h" #include "signalhandler.h" #include "signaldata.h" #include "setscaledialog.h" #include "selectsignaldialog.h" #include "signaldescription.h" #include "pythonchannelsubscribercollection.h" #include <qwt_scale_engine.h> #include <qlabel.h> #include <qlayout.h> #include <QDouble...
support multiselect in the signal list widget
support multiselect in the signal list widget multiselect supports check/uncheck of multiple signals and removing multiple signals
C++
bsd-3-clause
mitdrc/signal-scope,openhumanoids/signal-scope,mitdrc/signal-scope,openhumanoids/signal-scope,openhumanoids/signal-scope,mitdrc/signal-scope
38aacc4d8992783d5e838bf92fa7d6395e84840d
tester/libtbag/dom/json/JsonUtilsTest.cpp
tester/libtbag/dom/json/JsonUtilsTest.cpp
/** * @file JsonUtilsTest.cpp * @brief JsonUtils class tester. * @author zer0 * @date 2019-06-16 */ #include <gtest/gtest.h> #include <libtbag/dom/json/JsonUtils.hpp> using namespace libtbag; using namespace libtbag::dom; using namespace libtbag::dom::json; TEST(JsonUtilsTest, Default) { char const * c...
/** * @file JsonUtilsTest.cpp * @brief JsonUtils class tester. * @author zer0 * @date 2019-06-16 */ #include <gtest/gtest.h> #include <libtbag/dom/json/JsonUtils.hpp> using namespace libtbag; using namespace libtbag::dom; using namespace libtbag::dom::json; TEST(JsonUtilsTest, Path) { char const * cons...
Create JsonUtilsTest.Path tester.
Create JsonUtilsTest.Path tester.
C++
mit
osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag
8ca89f1a1d1a5517af9068108f3ebabded8ca510
platform/shared/api_generator/StringfyHelper.cpp
platform/shared/api_generator/StringfyHelper.cpp
#include "StringfyHelper" #include "json/JSONIterator.h" namespace rho { namespace apiGenerator { using namespace rho::json; using namespace rho::common; void StringifyVector::push_back(const rho::String& value, bool escape) { m_bufferLen += 1; i...
#include "StringfyHelper.h" #include "json/JSONIterator.h" namespace rho { namespace apiGenerator { using namespace rho::json; using namespace rho::common; void StringifyVector::push_back(const rho::String& value, bool escape) { m_bufferLen += 1; ...
add missing ".h"
add missing ".h"
C++
mit
rhosilver/rhodes-1,rhosilver/rhodes-1,louisatome/rhodes,louisatome/rhodes,louisatome/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,UIKit0/rhodes,UIKit0/rhodes,UIKit0/rhodes,louisatome/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,louisatome/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,UIKit0/r...
88daddf36ebdc8b90ebc0d61fd7fe1b135062d19
burg.hpp
burg.hpp
// Except for any way in which it interferes with Cedrick Collomb's 2009 // copyright assertion in the article "Burg’s Method, Algorithm and Recursion": // // 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 obtai...
// Except for any way in which it interferes with Cedrick Collomb's 2009 // copyright assertion in the article "Burg’s Method, Algorithm and Recursion": // // 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 obtai...
add writeup for Zohar Topelitz solve
add writeup for Zohar Topelitz solve
C++
mpl-2.0
RhysU/ar,RhysU/ar
a436d3839ad49c793e5ed6448336c526c7cad542
src/sync/app_service_client.hpp
src/sync/app_service_client.hpp
//////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Realm 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/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2020 Realm 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/li...
Fix angled brackets (#973)
Fix angled brackets (#973)
C++
apache-2.0
realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core
90af4d2cca4ac3b1066176670232a91c349670d5
indra/viewer_components/updater/llupdatedownloader.cpp
indra/viewer_components/updater/llupdatedownloader.cpp
/** * @file llupdatedownloader.cpp * * $LicenseInfo:firstyear=2010&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
/** * @file llupdatedownloader.cpp * * $LicenseInfo:firstyear=2010&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publi...
remove downloaded file on error.
remove downloaded file on error.
C++
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
d99e7ffa9a8724bbf0a1ac62669864c25f384aec
copasi/commercial/CRegistration.cpp
copasi/commercial/CRegistration.cpp
/* Begin CVS Header $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/commercial/Attic/CRegistration.cpp,v $ $Revision: 1.3 $ $Name: $ $Author: shoops $ $Date: 2006/12/15 21:25:34 $ End CVS Header */ // Copyright 2005 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc. and EML R...
// Begin CVS Header // $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/commercial/Attic/CRegistration.cpp,v $ // $Revision: 1.4 $ // $Name: $ // $Author: shoops $ // $Date: 2007/01/18 20:51:53 $ // End CVS Header // Copyright (C) 2007 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc....
Change in ACG config, which has no consequences for the code and binaries.
Change in ACG config, which has no consequences for the code and binaries.
C++
artistic-2.0
copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI
09cb43fdcb6b8a47832f0a9787e2cbc4e070d81e
mjolnir/util/color.hpp
mjolnir/util/color.hpp
#ifndef MJOLNIR_UTILITY_COLOR_HPP #define MJOLNIR_UTILITY_COLOR_HPP #include <mjolnir/util/io.hpp> // This utility manipulators output some ANSI escape codes. // On Windows (not supported by Mjolnir currently), it does not check // the stream is connected to a tty. namespace mjolnir { namespace io { template<typenam...
#ifndef MJOLNIR_UTILITY_COLOR_HPP #define MJOLNIR_UTILITY_COLOR_HPP #include <mjolnir/util/io.hpp> // This utility manipulators output some ANSI escape codes. // On Windows (not supported by Mjolnir currently), it does not check // the stream is connected to a tty. namespace mjolnir { namespace io { template<typename...
add stream operator ansi bold
feat: add stream operator ansi bold
C++
mit
ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir
3fb41099c510f186aa93f6f637e217a31301ddbb
examples/ChildWidget.hpp
examples/ChildWidget.hpp
/** * HAL * * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _HAL_EXAMPLES_CHILDWIDGET_HPP_ #define _HAL_EXAMPLES_CHILDWIDGET_HPP_ #include "HAL/HAL.hpp" #incl...
/** * HAL * * Copyright (c) 2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License. * Please see the LICENSE included with this distribution for details. */ #ifndef _HAL_EXAMPLES_CHILDWIDGET_HPP_ #define _HAL_EXAMPLES_CHILDWIDGET_HPP_ #include "HAL/HAL.hpp" #incl...
Fix compile error on Windows
Fix compile error on Windows
C++
apache-2.0
formalin14/HAL,formalin14/HAL,yuchi/HAL,yuchi/HAL,formalin14/HAL,yuchi/HAL
5dd626a6d34331d1712f49ed164b7aa47a2d7ea7
src/test/test_bitcoin_fuzzy.cpp
src/test/test_bitcoin_fuzzy.cpp
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "consensus/merkle.h" #include "primitives/bloc...
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "consensus/merkle.h" #include "primitives/bloc...
Make fuzzer actually test CTxOutCompressor
Make fuzzer actually test CTxOutCompressor
C++
mit
bitcoin/bitcoin,mincoin-project/mincoin,midnightmagic/bitcoin,AkioNak/bitcoin,ajtowns/bitcoin,guncoin/guncoin,Bitcoin-ABC/bitcoin-abc,mruddy/bitcoin,MarcoFalke/bitcoin,EthanHeilman/bitcoin,starwels/starwels,monacoinproject/monacoin,Theshadow4all/ShadowCoin,DigiByte-Team/digibyte,afk11/bitcoin,peercoin/peercoin,Rav3nPL/...
f6123acc9d6015d0dbbafb43c61430615ba415b9
examples/hello-world.cpp
examples/hello-world.cpp
/* * %injeqt copyright begin% * Copyright 2014 Rafał Malinowski (rafal.przemyslaw.malinowski@gmail.com) * %injeqt copyright end% * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; e...
/* * %injeqt copyright begin% * Copyright 2014 Rafał Malinowski (rafal.przemyslaw.malinowski@gmail.com) * %injeqt copyright end% * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; e...
add INJEQT_INIT and INJEQT_DONE to hello-world example
add INJEQT_INIT and INJEQT_DONE to hello-world example Signed-off-by: Rafał Malinowski <b8f60c52f3f0b57a213b606f2d63f58ef0768b73@gmail.com>
C++
lgpl-2.1
vogel/injeqt,ppekala/injeqt,ppekala/injeqt,ppekala/injeqt,vogel/injeqt,vogel/injeqt
1ef34aed123d5a775c874583603ffc7ba674608e
examples/json_parser.cpp
examples/json_parser.cpp
/** * This example demonstrate how we can use lars::parser parse standard JSON. * https://en.wikipedia.org/wiki/JSON#Data_types_and_syntax */ #include <iostream> #include <variant> #include <map> #include <algorithm> #include <vector> #include <memory> #include <string> #include <lars/parser/generator.h> /** * ...
/** * This example demonstrate how we can use lars::parser parse standard JSON. * https://en.wikipedia.org/wiki/JSON#Data_types_and_syntax */ #include <iostream> #include <variant> #include <map> #include <algorithm> #include <vector> #include <memory> #include <string> #include <lars/parser/generator.h> /** Clas...
Add comments (#31)
Add comments (#31) * added JSON example * added missing includes * ditch unordered_map for map * add comments
C++
bsd-3-clause
TheLartians/Parser
ebc784a71ef69f5e19ef73953c0cfb988aa6b0f8
examples/load_balance.cp
examples/load_balance.cp
# Compile with: # # ./motto.byte -I examples/ --no_type_check --disable_data_model_checks -o test examples/load_balance.cp #include "naas.cp" #include "http.cp" type http_request : record src_network_address : integer protocol : record TCP : record src_port : integer request_data : string type http_...
# Compile with: # # ./motto.byte -I examples/ --no_type_check --disable_data_model_checks -o test examples/load_balance.cp #include "naas.cp" #include "http.cp" type http_request : record src_network_address : integer protocol : record TCP : record src_port : integer request_data : string type http_...
Fix a bug in examples/load_balance.cp
Fix a bug in examples/load_balance.cp
C++
apache-2.0
NaaS/motto,NaaS/motto
3e7a2ce9774813020513070faf92df96b2850b03
examples/nbody/nbody.cpp
examples/nbody/nbody.cpp
#include <iomanip> #include <iostream> #include <random> #include <string> #include <vector> #include "tuner_api.h" #define USE_CUDA 0 #define USE_PROFILING 0 #if USE_CUDA == 0 #if defined(_MSC_VER) #define KTT_KERNEL_FILE "../examples/nbody/nbody_kernel1.cl" #define KTT_REFERENCE_KERNEL_FILE "../...
#include <iomanip> #include <iostream> #include <random> #include <string> #include <vector> #include "tuner_api.h" #define USE_CUDA 0 #define USE_PROFILING 0 #if USE_CUDA == 0 #if defined(_MSC_VER) #define KTT_KERNEL_FILE "../examples/nbody/nbody_kernel1.cl" #define KTT_REFERENCE_KERNEL_FILE "../...
use bigger input in n-body by default (old value causes heavy underutilization of high-end GPUs)
use bigger input in n-body by default (old value causes heavy underutilization of high-end GPUs)
C++
mit
Fillo7/KTT,Fillo7/KTT
bd3e3ef7113b49438b83633d71177309e732438d
tools/llvm-slicer-opts.cpp
tools/llvm-slicer-opts.cpp
#include "dg/analysis/Offset.h" #include "dg/llvm/LLVMDependenceGraph.h" #include "dg/llvm/LLVMDependenceGraphBuilder.h" #include "dg/llvm/analysis/PointsTo/LLVMPointerAnalysisOptions.h" #include "dg/llvm/analysis/ReachingDefinitions/LLVMReachingDefinitionsAnalysisOptions.h" // ignore unused parameters in LLVM librari...
#include "dg/analysis/Offset.h" #include "dg/llvm/LLVMDependenceGraph.h" #include "dg/llvm/LLVMDependenceGraphBuilder.h" #include "dg/llvm/analysis/PointsTo/LLVMPointerAnalysisOptions.h" #include "dg/llvm/analysis/ReachingDefinitions/LLVMReachingDefinitionsAnalysisOptions.h" // ignore unused parameters in LLVM librari...
allow specifying allocation function on command line
llvm-slicer: allow specifying allocation function on command line
C++
mit
mchalupa/dg,mchalupa/dg,mchalupa/dg,mchalupa/dg
d2afe5e1342e012b45245d86c8211b3f06df0062
examples/qmc-example.cpp
examples/qmc-example.cpp
#include "connection.h" #include "room.h" #include "user.h" #include "jobs/sendeventjob.h" #include <QtCore/QCoreApplication> #include <QtCore/QStringBuilder> #include <QtCore/QTimer> #include <iostream> using namespace QMatrixClient; using std::cout; using std::endl; using namespace std::placeholders; class QMCTes...
#include "connection.h" #include "room.h" #include "user.h" #include "jobs/sendeventjob.h" #include <QtCore/QCoreApplication> #include <QtCore/QStringBuilder> #include <QtCore/QTimer> #include <iostream> #include <functional> using namespace QMatrixClient; using std::cout; using std::endl; using namespace std::place...
Fix redaction test to work even if the synced message is already redacted
qmc-example: Fix redaction test to work even if the synced message is already redacted
C++
lgpl-2.1
Fxrh/libqmatrixclient,QMatrixClient/libqmatrixclient,QMatrixClient/libqmatrixclient
a907fae2e3303bd52a87df3d754de2fbd582b0c8
lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
//===-- RISCVELFObjectWriter.cpp - RISCV ELF Writer -----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
//===-- RISCVELFObjectWriter.cpp - RISCV ELF Writer -----------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
Make RISCVELFObjectWriter::getRelocType check IsPCRel
[RISCV] Make RISCVELFObjectWriter::getRelocType check IsPCRel Previously, this function didn't check the IsPCRel argument. But doing so is a useful check for errors, and also seemingly necessary for FK_Data_4 (which we produce a R_RISCV_32_PCREL relocation for if IsPCRel). Other than R_RISCV_32_PCREL, this should be ...
C++
apache-2.0
GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm
a67730504d6115786748bbe2a500967a5e40d6aa
vespalib/src/vespa/vespalib/util/time.cpp
vespalib/src/vespa/vespalib/util/time.cpp
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "time.h" #include <thread> #include <immintrin.h> namespace vespalib { system_time to_utc(steady_time ts) { system_clock::time_point nowUtc = system_clock::now(); steady_time nowSteady = ...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "time.h" #include <thread> #include <immintrin.h> namespace vespalib { system_time to_utc(steady_time ts) { system_clock::time_point nowUtc = system_clock::now(); steady_time nowSteady = ...
Revert "Revert "There are so many combinations that the libstdc++ library can be buil…""
Revert "Revert "There are so many combinations that the libstdc++ library can be buil…""
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
611d2a7e46bd42abc2e948fa7ad2ad8c2bab691b
trunk/research/ts_info.cpp
trunk/research/ts_info.cpp
/** g++ -o ts_info ts_info.cpp -g -O0 -ansi */ #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <string.h> /** ISO/IEC 13818-1:2000(E) Introduction Intro. 1 Transport Stream The Transport Stream system layer is divided into two sub-layers, one ...
/** g++ -o ts_info ts_info.cpp -g -O0 -ansi */ #if 1 #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <assert.h> #define trace(msg, ...) printf(msg"\n", ##__VA_ARGS__); #define srs_freep(p) delete p; p = NULL #define srs_freepa(p) delet...
update ts_info, parse header, adaption field and PAT
update ts_info, parse header, adaption field and PAT
C++
mit
KevinHM/simple-rtmp-server,myself659/simple-rtmp-server,KevinHM/simple-rtmp-server,dymx101/simple-rtmp-server,CallMeNP/srs,millken/simple-rtmp-server,nestle1998/srs,avplus/srs,millken/simple-rtmp-server,avplus/srs,chengjunjian/simple-rtmp-server,Vincent0209/simple-rtmp-server,icevl/srs,Robinson10240/simple-rtmp-server,...
3a4175397882fe3cb8368e6e1607f345665dc641
primality-test.cpp
primality-test.cpp
#include<math.h> bool isPrimeBruteForce(int x) { if (x < 2) return false; float sqroot_x = sqrt(x); for(int i=0; i <= sqroot_x; i++) { if (x%i==0) return false; } return true; }
#include<math.h> bool isPrimeBruteForce(int x) { if (x < 2) return false; float sqroot_x = sqrt(x); for(int i=0; i <= sqroot_x; i++) { /* If there were only factors above the square root of x, they would be bigger than x itself. */ if (x%i==0) return false; } return true; }
Add comment to sqrt calculation
Add comment to sqrt calculation
C++
mit
luforst/primality-test,luforst/primality-test
d5d85a2bb71a40c0cc915be4bce047afd18af882
src/yuni/core/getopt/option.cpp
src/yuni/core/getopt/option.cpp
/* ** This file is part of libyuni, a cross-platform C++ framework (http://libyuni.org). ** ** 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/. ** ** gitlab: https://gitlab...
/* ** This file is part of libyuni, a cross-platform C++ framework (http://libyuni.org). ** ** 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/. ** ** gitlab: https://gitlab...
add missing include iostream
getopt: add missing include iostream
C++
mpl-2.0
libyuni/libyuni,libyuni/libyuni,libyuni/libyuni,libyuni/libyuni,libyuni/libyuni,libyuni/libyuni
397c2f4af0dbaa9a8cb0105f61c8c902f3e97d0e
libcore/include/sirikata/core/transfer/HttpManager.hpp
libcore/include/sirikata/core/transfer/HttpManager.hpp
/* Sirikata Transfer -- Content Transfer management system * HttpManager.hpp * * Copyright (c) 2010, Jeff Terrace * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistribut...
/* Sirikata Transfer -- Content Transfer management system * HttpManager.hpp * * Copyright (c) 2010, Jeff Terrace * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistribut...
Add hack around http_parser include to avoid conflicting typedefs between v8 and http_parser.
Add hack around http_parser include to avoid conflicting typedefs between v8 and http_parser.
C++
bsd-3-clause
sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata
a2cd7ffd25e6213f36139cda4a911e2e03ed417c
common/block_slist-t.hpp
common/block_slist-t.hpp
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #ifndef autil__block_slist_t_hh #define autil__block...
// This file is part of The New Aspell // Copyright (C) 2001 by Kevin Atkinson under the GNU LGPL license // version 2.0 or 2.1. You should have received a copy of the LGPL // license along with this library if you did not you can find // it at http://www.gnu.org/. #ifndef autil__block_slist_t_hh #define autil__block...
use offsetof macro to avoid undefined behaviour
block_slist: use offsetof macro to avoid undefined behaviour
C++
lgpl-2.1
GNUAspell/aspell,GNUAspell/aspell,GNUAspell/aspell,GNUAspell/aspell
8b3d5b2da08dc867a33d7bc83e8d17a7289b6028
streaming/connection_handler.hh
streaming/connection_handler.hh
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Reduce dependency to stream_session in connection_handler
streaming: Reduce dependency to stream_session in connection_handler
C++
agpl-3.0
eklitzke/scylla,bowlofstew/scylla,victorbriz/scylla,tempbottle/scylla,justintung/scylla,aruanruan/scylla,raphaelsc/scylla,rluta/scylla,asias/scylla,rluta/scylla,kjniemi/scylla,gwicke/scylla,scylladb/scylla,justintung/scylla,avikivity/scylla,rentongzhang/scylla,senseb/scylla,dwdm/scylla,glommer/scylla,respu/scylla,kangk...
4c3ff8147910d453223753ab144177c639dd278a
src/AudioEffectDelay_f32.cpp
src/AudioEffectDelay_f32.cpp
/* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * Extended by Chip Audette, Open Audio, April 2018 * * Development of this audio library was funded by PJRC.COM, LLC by sales of * Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop * open source software ...
/* Audio Library for Teensy 3.X * Copyright (c) 2014, Paul Stoffregen, paul@pjrc.com * Extended by Chip Audette, Open Audio, April 2018 * * Development of this audio library was funded by PJRC.COM, LLC by sales of * Teensy and Audio Adaptor boards. Please support PJRC's efforts to develop * open source software ...
fix memory leak, though ends up using more memory than needed
AudioEffectDelay_f32: fix memory leak, though ends up using more memory than needed
C++
mit
Tympan/Tympan_Library,Tympan/Tympan_Library,Tympan/Tympan_Library
0a7a7cb48c2db0835c5fc1885d1c9c69970d6093
Cplusplus/mexendo-com-arquivos/OUTLINE-abrir-arquivo-em-modo-saida-acrescimo.cpp
Cplusplus/mexendo-com-arquivos/OUTLINE-abrir-arquivo-em-modo-saida-acrescimo.cpp
#include <fstream> using namespace std; const char* NomeArquivo = "exemplo.txt"; main(){ ofstream outline(NomeArquivo, ios::out); // cria ou abre aruivo em modo saida / acrescimo }
#include <fstream> using namespace std; const char* NomeArquivo = "exemplo.txt"; main(){ ofstream outline(NomeArquivo, ios::out); // cria ou abre aruivo em modo saida / acrescimo /* Você usa a constante de enumeração ios::out para abrir o arquivo no modo de saída. Para abrir o arquivo no modo de acréscimo, ...
Update OUTLINE-abrir-arquivo-em-modo-saida-acrescimo.cpp
Update OUTLINE-abrir-arquivo-em-modo-saida-acrescimo.cpp
C++
mit
carlosvilela/Funcoes-Diversas,carlosvilela/Funcoes-Diversas,carlosvilela/Funcoes-Diversas,carlosvilela/Funcoes-Diversas,carlosvilela/Funcoes-Diversas
5199024f68e61e9cdd1707c243e6052b6a0a0a34
modules/video_capture/external/device_info_external.cc
modules/video_capture/external/device_info_external.cc
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Update include paths in device_info_external.cc
Update include paths in device_info_external.cc TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1875004 git-svn-id: 03ae4fbe531b1eefc9d815f31e49022782c42458@4401 4adac7df-926f-26a2-2b94-8c16560cd09d
C++
bsd-3-clause
AOSPU/external_chromium_org_third_party_webrtc,aleonliao/webrtc-trunk,svn2github/webrtc-Revision-8758,Alkalyne/webrtctrunk,Omegaphora/external_chromium_org_third_party_webrtc,MIPS/external-chromium_org-third_party-webrtc,PersonifyInc/chromium_webrtc,SlimXperiments/external_chromium_org_third_party_webrtc,SlimXperiments...
196cb42b69d8dd013c25ad3b341eb2a86f57addc
PhysicsInitiation/PhysicsInitiation/main.cpp
PhysicsInitiation/PhysicsInitiation/main.cpp
#include "glew\glew.h" #include "freeglut\freeglut.h" #include "glm\glm\glm.hpp" #include "glm\glm\gtc\matrix_transform.hpp" #include "Shader_Manager.h" #include "btBulletDynamicsCommon.h" #include <iostream> using namespace std; using namespace Managers; using glm::vec3; using glm::mat4; int width = 1024; int heigh...
#include "glew\glew.h" #include "freeglut\freeglut.h" #include "glm\glm\glm.hpp" #include "glm\glm\gtc\matrix_transform.hpp" #include "Shader_Manager.h" #include "btBulletDynamicsCommon.h" #include <iostream> using namespace std; using namespace Managers; using glm::vec3; using glm::mat4; int width = 1024; int heigh...
Change in plane/box shape
Change in plane/box shape
C++
mit
igormacedo/bulletstudy,igormacedo/bulletstudy,igormacedo/bulletstudy,igormacedo/bulletstudy