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 |
|---|---|---|---|---|---|---|---|---|---|
5de403cfda1751154787950694979c8ae172f48f | kalarm/repetition.cpp | kalarm/repetition.cpp | /*
* repetition.cpp - pushbutton and dialogue to specify alarm repetition
* Program: kalarm
* Copyright (c) 2004, 2005 by David Jarvie <software@astrojar.org.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | /*
* repetition.cpp - pushbutton and dialogue to specify alarm repetition
* Program: kalarm
* Copyright (c) 2004, 2005 by David Jarvie <software@astrojar.org.uk>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | Fix message extraction (xgettext does not like the unterminated single quote) (goutte) | Fix message extraction
(xgettext does not like the unterminated single quote)
(goutte)
svn path=/trunk/KDE/kdepim/; revision=495302
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
0f4b7a84006d4006fa23e715ffe9134413df99e6 | libtbag/util/TestUtils.hpp | libtbag/util/TestUtils.hpp | /**
* @file TestUtils.hpp
* @brief Google-test utilities.
* @author zer0
* @date 2016-06-30
* @date 2018-03-24 (Rename: tester/DemoAsset -> libtbag/util/TestUtils)
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_UTIL_TESTUTILS_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_UTIL_TESTUTILS_HPP__
// MS compatible compilers... | /**
* @file TestUtils.hpp
* @brief Google-test utilities.
* @author zer0
* @date 2016-06-30
* @date 2018-03-24 (Rename: tester/DemoAsset -> libtbag/util/TestUtils)
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_UTIL_TESTUTILS_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_UTIL_TESTUTILS_HPP__
// MS compatible compilers... | Create TEST_DEFAULT_* macros. | Create TEST_DEFAULT_* macros.
| C++ | mit | osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag,osom8979/tbag |
de94ff7d8b386bc57c30477c4f1786dab6aee923 | src/overhead_benchmark.cpp | src/overhead_benchmark.cpp |
#include <cmath>
#include <chrono>
#include <random>
#include <vector>
#include <cassert>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <numeric>
#include <sstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <algorithm>
#include <unordered_map>
#include "caf/all.hpp"
#incl... |
#include <cmath>
#include <chrono>
#include <random>
#include <vector>
#include <cassert>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <numeric>
#include <sstream>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <algorithm>
#include <unordered_map>
#include "caf/all.hpp"
#incl... | Change time measurements | Change time measurements
| C++ | bsd-3-clause | josephnoir/indexing,josephnoir/indexing,josephnoir/indexing,josephnoir/indexing |
a229859afe49ff00b8936dc11f4c1f9074e04569 | src/layerPart.cpp | src/layerPart.cpp | //Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "layerPart.h"
#include "sliceDataStorage.h"
#include "slicer.h"
#include "settings/EnumSettings.h" //For ESurfaceMode.
#include "settings/Settings.h"
#include "progress/Progress.h"
#include "utils/SVG.h" // ... | //Copyright (c) 2018 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "layerPart.h"
#include "sliceDataStorage.h"
#include "slicer.h"
#include "settings/EnumSettings.h" //For ESurfaceMode.
#include "settings/Settings.h"
#include "progress/Progress.h"
#include "utils/SVG.h" // ... | simplify for surface mode | fix: simplify for surface mode
| C++ | agpl-3.0 | Ultimaker/CuraEngine,Ultimaker/CuraEngine |
0ccc0dde33ee78003367cb41a05156c16429dc71 | tools/llc/llc.cpp | tools/llc/llc.cpp | //===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- llc.cpp - Implement the LLVM Native Code Generator ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix a refacto, .loc support didn't work before 10.6. | llc: Fix a refacto, .loc support didn't work before 10.6.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@129841 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-2-clause | dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,chubbymaggie/asap,dslab... |
0c0e8a28c6dd3d2181d10eca7fdffa8d610a314e | protocols/skype/skypecalldialog.cpp | protocols/skype/skypecalldialog.cpp | /* This file is part of the KDE project
Copyright (C) 2005 Michal Vaner <michal.vaner@kdemail.net>
Copyright (C) 2008 Pali Rohár <pali.rohar@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as pub... | /* This file is part of the KDE project
Copyright (C) 2005 Michal Vaner <michal.vaner@kdemail.net>
Copyright (C) 2008 Pali Rohár <pali.rohar@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as pub... | add context to what early media means | add context to what early media means
svn path=/trunk/kdereview/kopete/protocols/skype/; revision=924428
| C++ | lgpl-2.1 | Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete |
f3bafc10438a70d5a65d65b7bc42d7798b7fe14b | tools/opt/opt.cpp | tools/opt/opt.cpp | //===----------------------------------------------------------------------===//
// LLVM Modular Optimizer Utility: opt
//
// Optimizations may be specified an arbitrary number of times on the command
// line, they are run in the order specified.
//
//===-----------------------------------------------------------------... | //===----------------------------------------------------------------------===//
// LLVM Modular Optimizer Utility: opt
//
// Optimizations may be specified an arbitrary number of times on the command
// line, they are run in the order specified.
//
//===-----------------------------------------------------------------... | Add new -no-verify option | Add new -no-verify option
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@5542 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,ll... |
31b72a563ad1b6c3c3be5e58d76b75650562b52d | content/browser/gpu/compositor_util.cc | content/browser/gpu/compositor_util.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/gpu/compositor_util.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/metrics/field_trial.h"
#incl... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/gpu/compositor_util.h"
#include "base/command_line.h"
#include "base/logging.h"
#include "base/metrics/field_trial.h"
#incl... | Make enable override disable impl-side painting | Make enable override disable impl-side painting
In order to turn on impl-side painting for layout tests incrementally,
it'd be convenient to have a positive flag that can be added to each
suite as it is ready. Rather than adding some override force flag,
just make the presence of enable override disable. The only us... | C++ | bsd-3-clause | krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,M4sse/chromium.src,fujunwei/chromium-crosswalk,Chilledheart/chromium,Fireblend/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Fi... |
9f543dd7b0fa2291230ca9baf594c4d00ddea12e | lima_linguisticprocessing/src/linguisticProcessing/core/FlatTokenizer/Text.cpp | lima_linguisticprocessing/src/linguisticProcessing/core/FlatTokenizer/Text.cpp | /*
Copyright 2002-2013 CEA LIST
This file is part of LIMA.
LIMA is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later versi... | /*
Copyright 2002-2013 CEA LIST
This file is part of LIMA.
LIMA is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later versi... | Correct some compilation warnings | Correct some compilation warnings
| C++ | agpl-3.0 | FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima |
f3788e8f227ba53916c9193709e427dd224a4f58 | moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_planning.cpp | moveit_ros/visualization/motion_planning_rviz_plugin/src/motion_planning_frame_planning.cpp | /*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... | /*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... | fix the detection of available planner names | fix the detection of available planner names
| C++ | bsd-3-clause | v4hn/moveit,davetcoleman/moveit,davetcoleman/moveit,v4hn/moveit,davetcoleman/moveit,ros-planning/moveit,v4hn/moveit,ros-planning/moveit,v4hn/moveit,ros-planning/moveit,ros-planning/moveit,ros-planning/moveit,davetcoleman/moveit |
e1c192c9c55dbd836e4a3ae2a57e1f348d06d465 | map/coverage_generator.cpp | map/coverage_generator.cpp | #include "../base/SRC_FIRST.hpp"
#include "coverage_generator.hpp"
#include "screen_coverage.hpp"
#include "tile_renderer.hpp"
#include "tile_set.hpp"
#include "../yg/skin.hpp"
#include "../yg/rendercontext.hpp"
#include "../base/logging.hpp"
#include "../std/bind.hpp"
bool g_coverageGeneratorDestroyed = false;
C... | #include "../base/SRC_FIRST.hpp"
#include "coverage_generator.hpp"
#include "screen_coverage.hpp"
#include "tile_renderer.hpp"
#include "tile_set.hpp"
#include "../yg/skin.hpp"
#include "../yg/rendercontext.hpp"
#include "../base/logging.hpp"
#include "../std/bind.hpp"
bool g_coverageGeneratorDestroyed = false;
C... | check for invalid fence id to reduce logging. | check for invalid fence id to reduce logging.
| C++ | apache-2.0 | Transtech/omim,programming086/omim,matsprea/omim,simon247/omim,wersoo/omim,vladon/omim,yunikkk/omim,dkorolev/omim,matsprea/omim,dobriy-eeh/omim,Komzpa/omim,andrewshadura/omim,65apps/omim,trashkalmar/omim,Saicheg/omim,mpimenov/omim,igrechuhin/omim,UdjinM6/omim,mapsme/omim,mgsergio/omim,syershov/omim,augmify/omim,rokuz/o... |
9d2fee17e08fce89e46f4502fd28e974e81c19a1 | src/qt/sendcoinsdialog.cpp | src/qt/sendcoinsdialog.cpp | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrasedialog.h"
#include "base58.h"
#include <QMessageBox>
#include <QTextDocument>
#... | #include "sendcoinsdialog.h"
#include "ui_sendcoinsdialog.h"
#include "walletmodel.h"
#include "bitcoinunits.h"
#include "addressbookpage.h"
#include "optionsmodel.h"
#include "sendcoinsentry.h"
#include "guiutil.h"
#include "askpassphrasedialog.h"
#include "base58.h"
#include <QMessageBox>
#include <QTextDocument>
#... | Use GUIUtil::HtmlEscape to escape HTML | qt: Use GUIUtil::HtmlEscape to escape HTML
This is why we created this function. Avoids some #ifdef.
| C++ | mit | BigBlueCeiling/augmentacoin,josephbisch/namecoin-core,rat4/bitcoin,GroundRod/anoncoin,zcoinofficial/zcoin,lbrtcoin/albertcoin,PRabahy/bitcoin,nathan-at-least/zcash,gmaxwell/bitcoin,myriadteam/myriadcoin,isle2983/bitcoin,millennial83/bitcoin,ionomy/ion,RHavar/bitcoin,ZiftrCOIN/ziftrcoin,REAP720801/bitcoin,gravio-net/gra... |
dc685f2061c1436aed598184934b532d205a56a2 | common/timing.cc | common/timing.cc | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appe... | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appe... | Enhance slack histogram with '+' to indicate less-than-granularity | Enhance slack histogram with '+' to indicate less-than-granularity
| C++ | isc | YosysHQ/nextpnr,SymbiFlow/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr |
3aa919df2730d506ce5f1f526472446b5e8f805d | lib/Lex/MacroInfo.cpp | lib/Lex/MacroInfo.cpp | //===--- MacroInfo.cpp - Information about #defined identifiers -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===--- MacroInfo.cpp - Information about #defined identifiers -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Improve macro dumping to preserve semantically-relevant spelling information. | Improve macro dumping to preserve semantically-relevant spelling information.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@252206 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,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,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-cl... |
edb596dccea2ea6a5458f305f3ff58dee1d933f1 | app/src/main/pre_process/image.cpp | app/src/main/pre_process/image.cpp | #include <iostream>
#include "image.hpp"
// the __init__ of Image.
// args:
// n int,
// m int,
// array double array
// return:
// no return value.
Image::Image(int n, int m, int* array):vector()
{
this->resize(m);
for (size_t i = 0; i < m; i++) {
(*this)[i].resize(n);
for (s... | #include <iostream>
#include "image.hpp"
// the __init__ of Image.
// args:
// n int,
// m int,
// array double array
// return:
// no return value.
Image::Image(int n, int m, int* array):vector()
{
this->resize(m);
for (size_t i = 0; i < m; i++) {
(*this)[i].resize(n);
for (s... | use double scale to fix window | use double scale to fix window
| C++ | mit | jxfn-develop-group/jxfn,jxfn-develop-group/jxfn,jxfn-develop-group/jxfn,jxfn-develop-group/jxfn |
c05d9c6192d666b2f5bf9de9055c3597c3ac2156 | src/mc0d_main.cpp | src/mc0d_main.cpp | #include "broker.h"
#include "logger.h"
#include <boost/program_options.hpp>
namespace po = boost::program_options;
int main(int argc, char *argv[]) {
po::options_description desc("Allowed options");
desc.add_options()
("help", "display help")
("bind", po::value<std::string>()->default_value("... | #include "broker.h"
#include "logger.h"
#include <boost/program_options.hpp>
#include <string>
namespace po = boost::program_options;
int main(int argc, char *argv[]) {
po::options_description desc("Allowed options");
desc.add_options()
("help", "display help")
("bind", po::value<std::string>(... | split out bind address and port | split out bind address and port
We always want the endpoint to be tcp for the stream semantics, so formulate
the endpoint from the equivalent of "tcp://%s:%d"
| C++ | apache-2.0 | puppetlabs/mc0d,puppetlabs/mc0d |
019c5a0c35da934359c27b5efd5299db21cd3605 | chromium_src/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc | chromium_src/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc | // Copyright 2016 The Brave Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is meant to override chrome_extensions_dispatch_delegate to provide
// alternate functionality for Brave. It is not a copy and there are signifi... | // Copyright 2016 The Brave Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is meant to override chrome_extensions_dispatch_delegate to provide
// alternate functionality for Brave. It is not a copy and there are signifi... | Fix signature of RegisterNativeHandlers | Fix signature of RegisterNativeHandlers
| C++ | mit | brave/electron,brave/electron,brave/muon,brave/muon,brave/electron,brave/electron,brave/muon,brave/muon,brave/muon,brave/electron,brave/muon,brave/electron |
2a8167bca2d2c6252b7753ccc552a4b9e71e8b5c | test/itkHessianImageFilterTest.cxx | test/itkHessianImageFilterTest.cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | fix style with erroneous space before ; | fix style with erroneous space before ;
| C++ | apache-2.0 | SimpleITK/itkSimpleITKFiltersModule,SimpleITK/itkSimpleITKFiltersModule |
8faed13a4dd27fd9181d0e606fe7ff64b27dae65 | moveit_ros/move_group/src/default_capabilities/kinematics_service_capability.cpp | moveit_ros/move_group/src/default_capabilities/kinematics_service_capability.cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | Fix missing isEmpty check in compute_ik service (#2544) | Fix missing isEmpty check in compute_ik service (#2544)
| C++ | bsd-3-clause | ros-planning/moveit,ros-planning/moveit,ros-planning/moveit,ros-planning/moveit,ros-planning/moveit |
3294d7cfd6b58963dd949c2eaa261d7d1584a256 | MarsLander/main.cpp | MarsLander/main.cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
int main()
{
int surfaceN; // the number of points used to draw the surface of Mars.
cin >... | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
/**
* Auto-generated code below aims at helping you parse
* the standard input according to the problem statement.
**/
class SurfaceMngr {
public:
class Surface {
public:
int x;
int y;
};
... | add MarsLander | add MarsLander
| C++ | apache-2.0 | pbouamriou/CodinGame |
2bfc6abbd42cb77f416beb600f38e20cfe9f1cfe | unicorn/regex.hpp | unicorn/regex.hpp | #pragma once
#include "unicorn/core.hpp"
#include "unicorn/utf.hpp"
#include <algorithm>
#include <functional>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <vector>
namespace RS::Unicorn {
// Forward declarations
class Match;
class MatchIterator;
class Regex;
class Rege... | #pragma once
#include "unicorn/core.hpp"
#include "unicorn/utf.hpp"
#include <algorithm>
#include <functional>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <vector>
RS_LDLIB(pcre);
namespace RS::Unicorn {
// Forward declarations
class Match;
class MatchIterator;
class Rege... | Add import macro for pcre | Add import macro for pcre
| C++ | mit | CaptainCrowbar/unicorn-lib,CaptainCrowbar/unicorn-lib,CaptainCrowbar/unicorn-lib |
c1c85cfd0049b10d3395f6963fd926156d436e63 | src/Core/Algorithms/Legacy/Fields/MeshDerivatives/SplitByConnectedRegion.cc | src/Core/Algorithms/Legacy/Fields/MeshDerivatives/SplitByConnectedRegion.cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (... | Fix crash | Fix crash
| C++ | mit | collint8/SCIRun,jessdtate/SCIRun,jessdtate/SCIRun,jcollfont/SCIRun,moritzdannhauer/SCIRunGUIPrototype,ajanson/SCIRun,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,moritzdannhauer/SCIRunGUIPrototype,jessdtate/SCIRun,collint8/SCIRun,jcollfont/SCIRun,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,ajanson/SCIRun... |
393c507498d5645d3fc8461147f72d5704575bc3 | src/runtime/posix_math.cpp | src/runtime/posix_math.cpp | #include <stdint.h>
#define INLINE inline __attribute__((used)) __attribute__((always_inline)) __attribute__((nothrow)) __attribute__((pure))
extern "C" {
INLINE uint8_t maxval_u8() {return 0xff;}
INLINE uint8_t minval_u8() {return 0;}
INLINE uint16_t maxval_u16() {return 0xffff;}
INLINE uint16_t minval_u16() {retur... | #include <stdint.h>
#define INLINE inline __attribute__((used)) __attribute__((always_inline)) __attribute__((nothrow)) __attribute__((pure))
extern "C" {
INLINE uint8_t maxval_u8() {return 0xff;}
INLINE uint8_t minval_u8() {return 0;}
INLINE uint16_t maxval_u16() {return 0xffff;}
INLINE uint16_t minval_u16() {retur... | Remove some dubious underscores on int constant macros. | Remove some dubious underscores on int constant macros.
| C++ | mit | dan-tull/Halide,psuriana/Halide,aam/Halide,kenkuang1213/Halide,damienfir/Halide,delcypher/Halide,mcanthony/Halide,ayanazmat/Halide,myrtleTree33/Halide,fengzhyuan/Halide,dan-tull/Halide,jiawen/Halide,rodrigob/Halide,mikeseven/Halide,dan-tull/Halide,fengzhyuan/Halide,dougkwan/Halide,myrtleTree33/Halide,damienfir/Halide,r... |
52b774d4dcc543395214ebc570bab7a9856d8195 | layout/mainwindow.cpp | layout/mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QProcess>
#include <QDebug>
#include <QTextCodec>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
initButtonGroups();
signalMapperCategory = new QSignalMapper(this);
signalM... | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QProcess>
#include <QDebug>
#include <QTextCodec>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
initButtonGroups();
signalMapperCategory = new QSignalMapper(this);
signalM... | update layout, use returnPressed() for QLineEdit | update layout, use returnPressed() for QLineEdit
| C++ | mit | ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt |
7ed2c4ba86b40723c1db1ca12736b39e0d885a3e | src/kvazzupcontroller.cpp | src/kvazzupcontroller.cpp | #include "kvazzupcontroller.h"
#include "statisticsinterface.h"
#include "common.h"
#include <QSettings>
#include <QHostAddress>
KvazzupController::KvazzupController():
states_(),
media_(),
sip_(),
window_(nullptr),
stats_(nullptr),
delayAutoAccept_(),
delayedAutoAccept_(0)
{}
void KvazzupController... | #include "kvazzupcontroller.h"
#include "statisticsinterface.h"
#include "common.h"
#include <QSettings>
#include <QHostAddress>
KvazzupController::KvazzupController():
states_(),
media_(),
sip_(),
window_(nullptr),
stats_(nullptr),
delayAutoAccept_(),
delayedAutoAccept_(0)
{}
void KvazzupController... | Print SessionID correctly | fix(Controller): Print SessionID correctly
| C++ | isc | ultravideo/kvazzup,ultravideo/kvazzup |
280cf61767ebbea353fb5c99dc1202ef01d93c92 | ImageProcessing/Utils/imageprocessingutils.cpp | ImageProcessing/Utils/imageprocessingutils.cpp | #include "imageprocessingutils.h"
#include <cmath>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
#define D_DEBUG 0
// from OpenCV Samples
// finds a cosine of angle between vectors from pt0->pt1 and from pt0->pt2
double image_processing_utils::findAngle(Point p1,... | #include "imageprocessingutils.h"
#include <cmath>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace cv;
#define D_DEBUG 0
// from OpenCV Samples
// finds a cosine of angle between vectors from pt0->pt1 and from pt0->pt2
double image_processing_utils::findAngle(Point p1,... | Fix bug color | Fix bug color
| C++ | mit | Diego999/Sudoku-Recognition,Diego999/Sudoku-Recognition,Diego999/Sudoku-Recognition |
5e2acde4e9c33de4563d50ee577d32ebf2ad1881 | cintex/src/CINTFunctionBuilder.cxx | cintex/src/CINTFunctionBuilder.cxx | // @(#)root/cintex:$Name: $:$Id: CINTFunctionBuilder.cxx,v 1.12 2006/07/14 06:58:00 roiser 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, provide... | // @(#)root/cintex:$Name: $:$Id: CINTFunctionBuilder.cxx,v 1.13 2006/11/08 08:33:57 roiser 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, provide... | fix problem with return types of functions that are typedefs to unknown types | fix problem with return types of functions that are typedefs to unknown types
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@16745 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | davidlt/root,omazapa/root,root-mirror/root,nilqed/root,krafczyk/root,gbitzes/root,CristinaCristescu/root,evgeny-boger/root,strykejern/TTreeReader,davidlt/root,krafczyk/root,mattkretz/root,omazapa/root-old,zzxuanyuan/root,evgeny-boger/root,omazapa/root,satyarth934/root,CristinaCristescu/root,buuck/root,root-mirror/root,... |
9114c87661a824ce034f4f009c17e9e4c5f72862 | code/rtkReg23ProjectionGeometry.cxx | code/rtkReg23ProjectionGeometry.cxx | /*=========================================================================
*
* Copyright RTK Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:/... | /*=========================================================================
*
* Copyright RTK Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | Allow for negative values in source to detector distance. This is required to compute backscatter. | Allow for negative values in source to detector distance. This is
required to compute backscatter.
| C++ | apache-2.0 | fabienmomey/RTK,dsarrut/RTK,dsarrut/RTK,ldqcarbon/RTK,ipsusila/RTK,SimonRit/RTK,ipsusila/RTK,fabienmomey/RTK,dsarrut/RTK,dsarrut/RTK,ipsusila/RTK,fabienmomey/RTK,SimonRit/RTK,ldqcarbon/RTK,dsarrut/RTK,ipsusila/RTK,ipsusila/RTK,SimonRit/RTK,ldqcarbon/RTK,fabienmomey/RTK,fabienmomey/RTK,ldqcarbon/RTK,ipsusila/RTK,ldqcarb... |
5fdc95a70e03e41777f4a023f222f537110a70b1 | src/server/events/Mark.hpp | src/server/events/Mark.hpp | /*
This file is part of Ingen.
Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or any later versi... | /*
This file is part of Ingen.
Copyright 2007-2016 David Robillard <http://drobilla.net/>
Ingen is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or any later versi... | Fix misleading comment | Fix misleading comment
| C++ | agpl-3.0 | drobilla/ingen,drobilla/ingen,drobilla/ingen,drobilla/ingen |
9391fc1a5e59942b870341df6da0e202f83e7990 | Sources/hspp/Tasks/BasicTasks/PlaySpellTask.cpp | Sources/hspp/Tasks/BasicTasks/PlaySpellTask.cpp | // Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <hspp/Enums/TaskEnums.h>
#include <hspp/Tasks/BasicTasks/Modi... | // Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include <hspp/Enums/TaskEnums.h>
#include <hspp/Tasks/BasicTasks/Modi... | Apply changes of 'm_source' and 'm_target' | feat(task): Apply changes of 'm_source' and 'm_target'
| C++ | mit | Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp |
c567432c4440e30a16b2f6ade7d8b1c32dd8ba09 | SurgSim/Collision/DefaultContactCalculation.cpp | SurgSim/Collision/DefaultContactCalculation.cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions 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/LICE... | Reduce error message spam | Reduce error message spam
| C++ | apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim |
4b93ea2e9a35749ed3610487fb2630346713ea63 | src/llmq/quorums_init.cpp | src/llmq/quorums_init.cpp | // Copyright (c) 2018-2021 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <llmq/quorums_init.h>
#include <llmq/quorums.h>
#include <llmq/quorums_blockprocessor.h>
#include <llmq/quorums_co... | // Copyright (c) 2018-2021 The Dash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <llmq/quorums_init.h>
#include <llmq/quorums.h>
#include <llmq/quorums_blockprocessor.h>
#include <llmq/quorums_co... | Bump llmq leveldb cache size to 8 MiB (#4133) | llmq: Bump llmq leveldb cache size to 8 MiB (#4133)
| C++ | mit | dashpay/dash,UdjinM6/dash,UdjinM6/dash,thelazier/dash,dashpay/dash,UdjinM6/dash,UdjinM6/dash,thelazier/dash,thelazier/dash,dashpay/dash,thelazier/dash,dashpay/dash,thelazier/dash,dashpay/dash,UdjinM6/dash |
0bf1dfdf1178cb0e244df183f91918da08534ac1 | Plugins/org.mitk.gui.qt.datamanagerlight/src/internal/QmitkDataManagerLightView.cpp | Plugins/org.mitk.gui.qt.datamanagerlight/src/internal/QmitkDataManagerLightView.cpp | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | Fix warnings in datamanagerlight plugin | Fix warnings in datamanagerlight plugin
| C++ | bsd-3-clause | fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,fmilano/mitk,fmilano/mitk,MITK/MITK,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk |
d9a11b94a68ea8140b48da461dfb98927ea7d313 | bitreader/src/bitreader_gtest.cpp | bitreader/src/bitreader_gtest.cpp | #include <gtest/gtest.h>
#include "ruberoid/bitreader/bitreader.hpp"
using namespace rb::common;
//------------------------------------------------------------------------------
TEST(bitreaderTest, setData)
{
const uint8_t data[] = {0xFF, 0x11, 0x22, 0x33};
bitreader br;
EXPECT_NO_THROW(br.set_data(data, ... | #include <gtest/gtest.h>
#include "ruberoid/bitreader/bitreader.hpp"
using namespace rb::common;
//------------------------------------------------------------------------------
TEST(bitreaderTest, setData)
{
const uint8_t data[] = {0xFF, 0x11, 0x22, 0x33};
bitreader br;
EXPECT_NO_THROW(br.set_data(data, ... | Add tests for skips and alignment | Add tests for skips and alignment
| C++ | bsd-3-clause | axethrower/ruberoid |
7afc8ccd5a93011a12d8511bb8173f2da21fcefb | moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp | moveit_ros/planning/kinematics_plugin_loader/src/kinematics_plugin_loader.cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... | fix loading of default params | fix loading of default params
| C++ | bsd-3-clause | ros-planning/moveit,v4hn/moveit,davetcoleman/moveit,v4hn/moveit,davetcoleman/moveit,davetcoleman/moveit,ros-planning/moveit,ros-planning/moveit,ros-planning/moveit,v4hn/moveit,davetcoleman/moveit,v4hn/moveit,ros-planning/moveit |
1053852681aa5425a3495e652390f7abe0da7318 | src/storage/disk_worker.cc | src/storage/disk_worker.cc | // Licensed under the Apache License 2.0 (see LICENSE file).
#include "disk_worker.h"
namespace cheesebase {
DiskWorker::DiskWorker(const std::string& filename, OpenMode mode)
: m_fileio(filename, mode)
, m_async(std::async(std::launch::async, [this]() { loop(); }))
{}
DiskWorker::~DiskWorker()
{
m_run = fals... | // Licensed under the Apache License 2.0 (see LICENSE file).
#include "disk_worker.h"
namespace cheesebase {
DiskWorker::DiskWorker(const std::string& filename, OpenMode mode)
: m_fileio(filename, mode, true)
, m_async(std::async(std::launch::async, [this]() { loop(); }))
{}
DiskWorker::~DiskWorker()
{
m_run ... | use direct file access | use direct file access
| C++ | apache-2.0 | mcheese/cheesebase,mcheese/cheesebase |
22f61318eb399fc79cea3b5a59733a358bf0a431 | leetcode/ThreeSum.cpp | leetcode/ThreeSum.cpp | //
// Created by zeph on 11/18/16.
//
#include <iostream>
#include <cassert>
#include <vector>
#include <set>
#include "../helpers/coutFriends.cpp"
/***
From: https://leetcode.com/problems/3sum/
Given an array V of n integers, are there elements a, b, c in V such that a + b + c = 0?
Find all unique triplets in the ... | //
// Created by zeph on 11/18/16.
//
#include <iostream>
#include <cassert>
#include <vector>
#include <set>
#include <exception>
#include "../helpers/coutFriends.cpp"
/***
From: https://leetcode.com/problems/3sum/
Given an array V of n integers, are there elements a, b, c in V such that a + b + c = 0?
Find all ... | use runtime_error instead of throwing a string | use runtime_error instead of throwing a string
| C++ | mit | tzaffi/cpp,tzaffi/cpp,tzaffi/cpp |
b835edbf90823a92ac56cd8f23e93605813f6d8f | rmw_connext_cpp/src/rmw_publish.cpp | rmw_connext_cpp/src/rmw_publish.cpp | // Copyright 2014-2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | // Copyright 2014-2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | Update rmw_publish() error returns (#452) | Update rmw_publish() error returns (#452)
Signed-off-by: lobotuerk <a85064d9fdd7cc5d015f9bc2798238a832f5ada7@ekumenlabs.com> | C++ | apache-2.0 | ros2/rmw_connext,ros2/rmw_connext,ros2/rmw_connext |
9b25c16980c659e8ea5a99c9416287388c6f86cd | atom/browser/ui/message_box_gtk.cc | atom/browser/ui/message_box_gtk.cc | // Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/message_box.h"
#include "atom/browser/browser.h"
#include "atom/browser/native_window.h"
#include "base/callback.h"
#include "base/strings/string_util.h"
#in... | // Copyright (c) 2015 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/ui/message_box.h"
#include "atom/browser/browser.h"
#include "atom/browser/native_window.h"
#include "base/callback.h"
#include "base/strings/string_util.h"
#in... | Allow "detail" to be empty | Allow "detail" to be empty
| C++ | mit | thingsinjars/electron,jaanus/electron,carsonmcdonald/electron,bruce/electron,pandoraui/electron,shockone/electron,mhkeller/electron,RIAEvangelist/electron,takashi/electron,mjaniszew/electron,destan/electron,nicholasess/electron,mhkeller/electron,ervinb/electron,brave/electron,rajatsingla28/electron,bpasero/electron,thi... |
9264a00dfd13c18350bbc45a688e4af0fe5fcf6a | atom/common/platform_util_linux.cc | atom/common/platform_util_linux.cc | // Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/common/platform_util.h"
#include <stdio.h>
#include "base/cancelable_callback.h"
#include "base/environment.h"
#include "base/files/file_util.h"
#include "base/nix/xdg... | // Copyright (c) 2013 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/common/platform_util.h"
#include <stdio.h>
#include "base/cancelable_callback.h"
#include "base/environment.h"
#include "base/files/file_util.h"
#include "base/nix/xdg... | Simplify EnsureProcessTerminated() implementations. | Simplify EnsureProcessTerminated() implementations.
https://chromium-review.googlesource.com/c/chromium/src/+/920799
| C++ | mit | the-ress/electron,gerhardberger/electron,gerhardberger/electron,the-ress/electron,the-ress/electron,gerhardberger/electron,bpasero/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,seanchas116/electron,electron/electron,seanchas116/electron,seanchas116/electron,bpasero/electron,the-ress/elec... |
ab75d35b8b7ea7d0c293d2f0034939f77875788c | src/ntpclient.cpp | src/ntpclient.cpp | // Copyright (c) 2018 alex v
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "ntpclient.h"
#include "util.h"
using namespace boost;
using namespace boost::asio;
int64_t CNtpClient::getTimestamp()
{
time_t timeRecv... | // Copyright (c) 2018 alex v
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "ntpclient.h"
#include "util.h"
using namespace boost;
using namespace boost::asio;
int64_t CNtpClient::getTimestamp()
{
time_t timeRecv... | update comment | update comment
| C++ | mit | navcoindev/navcoin-core,navcoindev/navcoin-core,navcoindev/navcoin-core,navcoindev/navcoin-core,navcoindev/navcoin-core,navcoindev/navcoin-core |
57627fdffb2409c97e769cd78ee9f172d5d72ae0 | binpac/passes/scope-builder.cc | binpac/passes/scope-builder.cc |
#include "declaration.h"
#include "expression.h"
#include "function.h"
#include "scope.h"
#include "statement.h"
#include "variable.h"
#include "scope-builder.h"
#include "context.h"
using namespace binpac;
using namespace binpac::passes;
ScopeBuilder::ScopeBuilder(CompilerContext* context) : Pass<AstInfo>("binpac:... |
#include "declaration.h"
#include "expression.h"
#include "function.h"
#include "scope.h"
#include "statement.h"
#include "variable.h"
#include "scope-builder.h"
#include "context.h"
namespace binpac {
class ScopeClearer : public ast::Pass<AstInfo>
{
public:
ScopeClearer() : Pass<AstInfo>("binpac::ScopeClearer"... | Fix allow the scope builder to run multiple times for the same AST. | Fix allow the scope builder to run multiple times for the same AST.
| C++ | bsd-3-clause | rsmmr/hilti,FrozenCaribou/hilti,rsmmr/hilti,FrozenCaribou/hilti,FrozenCaribou/hilti,rsmmr/hilti,rsmmr/hilti,FrozenCaribou/hilti,rsmmr/hilti,FrozenCaribou/hilti |
930931845d8af0568722c2924033be7027c1e3b1 | SimpleInformationRetrievalTools/SimpleInformationRetrievalTools/main.cpp | SimpleInformationRetrievalTools/SimpleInformationRetrievalTools/main.cpp | //
// main.cpp
// SimpleInformationRetrievalTools
//
// Created by SmilENow on 6/9/15.
// Copyright (c) 2015 Jiaquan Yin, Zhendong Cao. All rights reserved.
//
#include <iostream>
#include <string>
#include <unordered_map>
#include "InvertedIndex.h"
#include "BoolQuery.h"
#include "TopK.h"
#include "Synonym.h"
#i... | //
// main.cpp
// SimpleInformationRetrievalTools
//
// Created by SmilENow on 6/9/15.
// Copyright (c) 2015 Jiaquan Yin, Zhendong Cao. All rights reserved.
//
#include <iostream>
#include <string>
#include <unordered_map>
#include "InvertedIndex.h"
#include "BoolQuery.h"
#include "TopK.h"
#include "Synonym.h"
#i... | delete debug info in main.cpp | delete debug info in main.cpp
东神叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼叼 | C++ | mit | smilenow/Information-Retrieval,smilenow/Information-Retrieval |
0c5bca04abefde65c445df1e415f27108a8227b3 | tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp | tests/auto/declarative/qfxtextinput/tst_qfxtextinput.cpp | #include <qtest.h>
#include "../../../shared/util.h"
#include <QtDeclarative/qmlengine.h>
#include <QFile>
#include <QtDeclarative/qmlview.h>
#include <QFxTextInput>
#include <QDebug>
class tst_qfxtextinput : public QObject
{
Q_OBJECT
public:
tst_qfxtextinput();
private slots:
void text();
void width... | #include <qtest.h>
#include "../../../shared/util.h"
#include <QtDeclarative/qmlengine.h>
#include <QFile>
#include <QtDeclarative/qmlview.h>
#include <QFxTextInput>
#include <QDebug>
class tst_qfxtextinput : public QObject
{
Q_OBJECT
public:
tst_qfxtextinput();
private slots:
void text();
void width... | fix QFxTextInput Autotest | fix QFxTextInput Autotest
Note that a test based on focus is still failing, presumably due to
recent focus changes. Haven't yet investigated if it should be failing
or not.
| C++ | lgpl-2.1 | pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmlto... |
978a7f7d6dfe432937e20864e19a4b9647369c00 | src/test/streams_tests.cpp | src/test/streams_tests.cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2015-2017 The Bitcoin Unlimited developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "streams.h"
#include "support/allocators/zeroafterfree.h... | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Copyright (c) 2015-2017 The Bitcoin Unlimited developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "streams.h"
#include "support/allocators/zeroafterfree.h... | Add the smallest example of a stream to streams_tests.cpp | Add the smallest example of a stream to streams_tests.cpp
| C++ | mit | Bitcoin-com/BUcash,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,Bitcoin-com/BUcash,Justaphf/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited... |
4e3e95d27e0db9bde0dfb81c35c538b6fab36996 | src/qpdf/page.cpp | src/qpdf/page.cpp | /*
* 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/.
*
* Copyright (C) 2017, James R. Barlow (https://github.com/jbarlow83/)
*/
#include <sstream>
#include <iostrea... | /*
* 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/.
*
* Copyright (C) 2017, James R. Barlow (https://github.com/jbarlow83/)
*/
#include <sstream>
#include <iostrea... | Exclude from coverag e(since it misses this line) | Exclude from coverag e(since it misses this line)
| C++ | mpl-2.0 | pikepdf/pikepdf,pikepdf/pikepdf,pikepdf/pikepdf |
aefbf4ca73e802a9149ecba19bf9e71e0acd843e | src/qpdf/page.cpp | src/qpdf/page.cpp | // SPDX-FileCopyrightText: 2022 James R. Barlow
// SPDX-License-Identifier: MPL-2.0
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cctype>
#include "pikepdf.h"
#include "parsers.h"
#include <qpdf/QPDFPageObjectHelper.hh>
#include <qpdf/QPDFPageLabelDocumentHelper.hh>
#include <qpdf/Pipeline.hh>
... | // SPDX-FileCopyrightText: 2022 James R. Barlow
// SPDX-License-Identifier: MPL-2.0
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cctype>
#include "pikepdf.h"
#include "parsers.h"
#include <qpdf/QPDFPageObjectHelper.hh>
#include <qpdf/QPDFPageLabelDocumentHelper.hh>
#include <qpdf/Pipeline.hh>
... | document reason for unique_ptr<Buffer> | page: document reason for unique_ptr<Buffer>
| C++ | mpl-2.0 | pikepdf/pikepdf,pikepdf/pikepdf,pikepdf/pikepdf |
9d01cd9c83f956c0adc3da5c95bd04b3fa9bf21d | src/multiplayer_proxy.cpp | src/multiplayer_proxy.cpp | #include "multiplayer_proxy.h"
#include "multiplayer_internal.h"
#include "engine.h"
GameServerProxy::GameServerProxy(sf::IpAddress hostname, int hostPort, string password, int listenPort, string proxyName)
: password(password), proxyName(proxyName)
{
LOG(INFO) << "Starting proxy server";
mainSocket = std::un... | #include "multiplayer_proxy.h"
#include "multiplayer_internal.h"
#include "engine.h"
GameServerProxy::GameServerProxy(sf::IpAddress hostname, int hostPort, string password, int listenPort, string proxyName)
: password(password), proxyName(proxyName)
{
LOG(INFO) << "Starting proxy server";
mainSocket = std::un... | Update multiplayer_proxy.cpp (#93) | Update multiplayer_proxy.cpp (#93)
* type cast
* shadowing | C++ | mit | daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton,daid/SeriousProton |
a73a09674be45fa2c7daeabd564838ce6c3410b4 | lib/Sema/SemaCUDA.cpp | lib/Sema/SemaCUDA.cpp | //===--- SemaCUDA.cpp - Semantic Analysis for CUDA constructs -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===--- SemaCUDA.cpp - Semantic Analysis for CUDA constructs -------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix order of overloading preferences in comment. | [CUDA] Fix order of overloading preferences in comment.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@264741 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-cl... |
3f5ee1cf8c9e840426e3110644180fed5a1dbcb0 | src/sim/system.cc | src/sim/system.cc | /*
* Copyright (c) 2011-2012 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the ... | /*
* Copyright (c) 2011-2012 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the ... | add validation to make sure there is memory where we're loading the kernel | sim: add validation to make sure there is memory where we're loading the kernel
| C++ | bsd-3-clause | zlfben/gem5,markoshorro/gem5,briancoutinho0905/2dsampling,joerocklin/gem5,qizenguf/MLC-STT,markoshorro/gem5,TUD-OS/gem5-dtu,briancoutinho0905/2dsampling,Weil0ng/gem5,gedare/gem5,samueldotj/TeeRISC-Simulator,KuroeKurose/gem5,cancro7/gem5,aclifton/cpeg853-gem5,aclifton/cpeg853-gem5,joerocklin/gem5,KuroeKurose/gem5,Sancha... |
640f45a5b3c2990b7fe8ec466946e87d61ba59d0 | browser/net/adapter_request_job.cc | browser/net/adapter_request_job.cc | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/net/adapter_request_job.h"
#include "browser/net/url_request_string_job.h"
#include "content/public/browser/browser_thread.h"
#include "net/... | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/net/adapter_request_job.h"
#include "browser/net/url_request_string_job.h"
#include "content/public/browser/browser_thread.h"
#include "net/... | Fix a possible crash when calling AdapterRequestJob::Kill(). | Fix a possible crash when calling AdapterRequestJob::Kill().
| C++ | mit | minggo/electron,Neron-X5/electron,jlhbaseball15/electron,leolujuyi/electron,jhen0409/electron,ankitaggarwal011/electron,saronwei/electron,shennushi/electron,carsonmcdonald/electron,Faiz7412/electron,abhishekgahlot/electron,pandoraui/electron,matiasinsaurralde/electron,kcrt/electron,jlord/electron,meowlab/electron,elect... |
1e669de380053a40b1ba48f14de1d8caac27000e | tinkerforge_laser_transform/src/laser_transform_node.cpp | tinkerforge_laser_transform/src/laser_transform_node.cpp | #include <iostream>
#include "ros/ros.h"
#include "sensor_msgs/PointCloud2.h"
#include "sensor_msgs/NavSatFix.h"
#include "sensor_msgs/MagneticField.h"
#include "sensor_msgs/Imu.h"
#include "sensor_msgs/JointState.h"
#include "nav_msgs/Odometry.h"
#include "laser_transform_core.h"
using std::string;
int main (int arg... | #include <iostream>
#include "ros/ros.h"
#include "sensor_msgs/PointCloud2.h"
#include "sensor_msgs/NavSatFix.h"
#include "sensor_msgs/MagneticField.h"
#include "sensor_msgs/Imu.h"
#include "sensor_msgs/JointState.h"
#include "nav_msgs/Odometry.h"
#include "laser_transform_core.h"
using std::string;
int main (int arg... | add parameter laser pose | add parameter laser pose
| C++ | mit | gus484/ros,gus484/ros |
ac4c75ba8253dbd918d0cb5aa8614d8f4f7d7ad7 | lib/VMCore/Module.cpp | lib/VMCore/Module.cpp | //===-- Module.cpp - Implement the Module class ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... | //===-- Module.cpp - Implement the Module class ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... | Fix some think-o's in my last commit. Thanks to Chris for pointing them out. | Fix some think-o's in my last commit. Thanks to Chris for pointing them out.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@28380 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llv... |
b01f3bafe6a74a21109355573328b2dd8c35a5b9 | src/components/transport_manager/src/bluetooth/bluetooth_socket_connection.cc | src/components/transport_manager/src/bluetooth/bluetooth_socket_connection.cc | /*
*
* Copyright (c) 2013, Ford Motor Company
* 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 con... | /*
*
* Copyright (c) 2013, Ford Motor Company
* 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 con... | Change socket close logic to prevent double close (CID 137866) | Change socket close logic to prevent double close (CID 137866)
This simplifies the logic used to connect to bluetooth sockets. It
prevents the rfcomm_socket from being closed twice or being left
unclosed.
| C++ | bsd-3-clause | APCVSRepo/sdl_core,smartdevicelink/sdl_core,smartdevicelink/sdl_core,LuxoftAKutsan/sdl_core,APCVSRepo/sdl_core,APCVSRepo/sdl_core,LuxoftAKutsan/sdl_core,LuxoftAKutsan/sdl_core,LuxoftAKutsan/sdl_core,APCVSRepo/sdl_core,LuxoftAKutsan/sdl_core,LuxoftAKutsan/sdl_core,smartdevicelink/sdl_core,smartdevicelink/sdl_core,APCVSR... |
46d5ab694bcb040d8a5bb438f63c46643a9979b1 | lib/inc/CSVParser.hpp | lib/inc/CSVParser.hpp | #pragma once
#include <stdexcept>
#include <vector>
#include <fstream>
#include <string>
#include <sstream>
#include <algorithm>
#include <cctype>
#include "Utility.hpp"
/*
Helper Functions
*/
namespace detail
{
inline bool isTrimChar(char c)
{
return false;
}
template<class... TrimChar... | #pragma once
#include <stdexcept>
#include <vector>
#include <fstream>
#include <string>
#include <sstream>
#include <algorithm>
#include <cctype>
#include "Utility.hpp"
/*
Helper Functions
*/
namespace detail
{
inline bool isTrimChar(char c)
{
return false;
}
template<class... TrimChar... | Add report errors if a column is invalid. | Add report errors if a column is invalid.
| C++ | mit | cristian-szabo/bt-code-test |
15fcbb44ef6725f9cf567dac47885980ae3c8072 | src/parser/parser-impl.cc | src/parser/parser-impl.cc | /*
* Copyright (C) 2009, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/// \file parser/parser-impl.cc
... | /*
* Copyright (C) 2009, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
/// \file parser/parser-impl.cc
... | create the factor we use. | parser: create the factor we use.
* src/parser/parser-impl.cc (ParserImpl::ParserImpl): Create
factory_. It is extraordinary that Windows and OS X work without
it (well, it is true that we use only static member functions).
| C++ | bsd-3-clause | urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi |
470c1cbd7d3069502afaf1c0cf85214646ad5bb8 | cc/dual_net/inference_server.cc | cc/dual_net/inference_server.cc | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Fix a typo | Fix a typo
| C++ | apache-2.0 | tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo,tensorflow/minigo |
35939cc840a3836fff0bfb00ead7a34a5c4aa0f0 | EHTest.cpp | EHTest.cpp |
#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
#include "call_stack.hpp"
const DWORD NT_EXCEPTION = 0xE06D7363; // 'msc' | 0xE0000000
const DWORD EH_MAGIC1 = 0x19930520;
const DWORD EH_PURE_MAGIC1 = 0x01994000;
// inhibit optimization of frames
//#pragma optimize("y",off)
typedef unsigned __int64 * PULONG_PTR... | // http://stacktrace.sourceforge.net
#ifdef _WIN32
#define NOMINMAX
#include <windows.h>
#include "call_stack.hpp"
const DWORD NT_EXCEPTION = 0xE06D7363; // 'msc' | 0xE0000000
const DWORD EH_MAGIC1 = 0x19930520;
const DWORD EH_PURE_MAGIC1 = 0x01994000;
// inhibit optimization of frames
//#pragma optimize("y",off)
... | add link | add link | C++ | mpl-2.0 | Trass3r/cxxcore,Trass3r/cxxcore |
65690fb2bb3a260d5ca9019e7fc4f828ce028499 | eval/src/vespa/eval/eval/test/gen_spec.cpp | eval/src/vespa/eval/eval/test/gen_spec.cpp | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "gen_spec.h"
#include <vespa/eval/eval/string_stuff.h>
#include <vespa/vespalib/util/stringfmt.h>
using vespalib::make_string_short::fmt;
namespace vespalib::eval::test {
//---------------------... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "gen_spec.h"
#include <vespa/eval/eval/string_stuff.h>
#include <vespa/vespalib/util/require.h>
#include <vespa/vespalib/util/stringfmt.h>
using vespalib::make_string_short::fmt;
namespace vespal... | use REQUIRE not assert | use REQUIRE not assert
| 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 |
cbe04ce1be626eb8d2cc1f96c484a2c950501c75 | src/platform/XDisplay.cxx | src/platform/XDisplay.cxx | /* bzflag
* Copyright (c) 1993-2011 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRAN... | /* bzflag
* Copyright (c) 1993-2011 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRAN... | Rename variable from "modeIndex" to "_modeIndex" to avoid conflict with the BzfDisplay::modeIndex class element. | Rename variable from "modeIndex" to "_modeIndex" to avoid conflict with the BzfDisplay::modeIndex class element.
git-svn-id: 67bf12f30ddf2081c31403e0b02b2123541f1680@21898 08b3d480-bf2c-0410-a26f-811ee3361c24
| C++ | lgpl-2.1 | kongr45gpen/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,kongr45gpen/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,khonkhortis... |
2a498e793e1fd90ba1f4be56a20d53e8c564389c | sstd/src/encode_decode.hpp | sstd/src/encode_decode.hpp | #pragma once
#include <stdio.h>
#include <string.h>
#include <string> // std::string
#include "typeDef.h"
namespace sstd{
std::string base64_encode(const uchar* str, size_t strLen);
std::string base64_encode(const uchar* str);
std::string base64_encode(const std::string& str);
std::string base64_dec... | #pragma once
#include <stdio.h>
#include <string.h>
#include <string> // std::string
#include "typeDef.h"
namespace sstd{
std::string base64_encode(const uchar* str, size_t strLen);
std::string base64_encode(const uchar* str);
std::string base64_encode(const std::string& str);
std::string base64_dec... | fix comment | fix comment
| C++ | mit | admiswalker/SubStandardLibrary,admiswalker/SubStandardLibrary,admiswalker/SubStandardLibrary |
974750d3efe696e3c1b486e5beb817b8b2d300e3 | BlueBerry/Bundles/org.blueberry.ui.qt.help/src/internal/berryHelpSearchView.cpp | BlueBerry/Bundles/org.blueberry.ui.qt.help/src/internal/berryHelpSearchView.cpp | /*=========================================================================
Program: BlueBerry Platform
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or http://www.mitk.... | /*=========================================================================
Program: BlueBerry Platform
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or http://www.mitk.... | Use correct query widget. | Use correct query widget.
| C++ | bsd-3-clause | lsanzdiaz/MITK-BiiG,nocnokneo/MITK,RabadanLab/MITKats,MITK/MITK,nocnokneo/MITK,rfloca/MITK,danielknorr/MITK,fmilano/mitk,NifTK/MITK,RabadanLab/MITKats,MITK/MITK,MITK/MITK,iwegner/MITK,fmilano/mitk,lsanzdiaz/MITK-BiiG,danielknorr/MITK,rfloca/MITK,danielknorr/MITK,iwegner/MITK,fmilano/mitk,nocnokneo/MITK,RabadanLab/MITKa... |
86d7b23d98070a7f480d47402b7dc64f8a4bd3e6 | connections/serialbusconnection.cpp | connections/serialbusconnection.cpp | #include "serialbusconnection.h"
#include "canconmanager.h"
#include <QCanBus>
#include <QCanBusFrame>
#include <QDateTime>
#include <QDebug>
/***********************************/
/**** class definition ****/
/***********************************/
SerialBusConnection::SerialBusConnection(QString portName) :... | #include "serialbusconnection.h"
#include "canconmanager.h"
#include <QCanBus>
#include <QCanBusFrame>
#include <QDateTime>
#include <QDebug>
/***********************************/
/**** class definition ****/
/***********************************/
SerialBusConnection::SerialBusConnection(QString portName) :... | Fix reception of error frames in socketcan interface. | Fix reception of error frames in socketcan interface.
| C++ | mit | collin80/SavvyCAN,collin80/SavvyCAN,collin80/SavvyCAN,collin80/SavvyCAN,collin80/SavvyCAN |
203eb96dfc62486d7227a165266635a1e39ed368 | libcaf_net/src/ip.cpp | libcaf_net/src/ip.cpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | Use resolve to get local addresses for any addr | Use resolve to get local addresses for any addr
| C++ | bsd-3-clause | DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework |
8399379750aaf8a65b3f7637aa3efcf898b591f1 | lib/flow/ir/Instr.cpp | lib/flow/ir/Instr.cpp | /*
* This file is part of the x0 web server project and is released under AGPL-3.
* http://www.xzero.io/
*
* (c) 2009-2014 Christian Parpart <trapni@gmail.com>
*/
#include <x0/flow/ir/Instr.h>
#include <x0/flow/ir/ConstantValue.h>
#include <x0/flow/ir/IRBuiltinHandler.h>
#include <x0/flow/ir/IRBuiltinFunction.h>
... | /*
* This file is part of the x0 web server project and is released under AGPL-3.
* http://www.xzero.io/
*
* (c) 2009-2014 Christian Parpart <trapni@gmail.com>
*/
#include <x0/flow/ir/Instr.h>
#include <x0/flow/ir/ConstantValue.h>
#include <x0/flow/ir/ConstantArray.h>
#include <x0/flow/ir/IRBuiltinHandler.h>
#inc... | print arrays in IR dumps also. | [flow] print arrays in IR dumps also.
| C++ | mit | xzero/x0,xzero/x0,xzero/x0,christianparpart/x0,xzero/x0,xzero/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0,xzero/x0,christianparpart/x0,christianparpart/x0,christianparpart/x0 |
c19e13a861f12e2053229e2f97e92c79b2e2815e | framework/source/threadhelp/fairrwlock.cxx | framework/source/threadhelp/fairrwlock.cxx | /*************************************************************************
*
* $RCSfile: fairrwlock.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: as $ $Date: 2001-05-02 13:00:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | /*************************************************************************
*
* $RCSfile: fairrwlock.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: as $ $Date: 2001-05-04 13:13:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | include debug macros | include debug macros
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
9e3db86e1142e8c05b5a0a042bcd118b11edf020 | config_parser.cc | config_parser.cc | // Copyright 2009 Daniel Erat <dan@erat.org>
// All rights reserved.
#include "config_parser.h"
#include <cassert>
#include <cerrno>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <vector>
#include "setting.h"
using std::map;
using std::string;
using std::vector;
namespace xsettingsd {
ConfigPar... | // Copyright 2009 Daniel Erat <dan@erat.org>
// All rights reserved.
#include "config_parser.h"
#include <cassert>
#include <cerrno>
#include <cstdarg>
#include <cstdio>
#include <cstring>
#include <vector>
#include "setting.h"
using std::map;
using std::string;
using std::vector;
namespace xsettingsd {
ConfigPar... | allow negative int values. ConfigParser::ReadInteger can handle these, but ::ReadValue was never calling ::ReadInteger if the leading character was a - (minus) sign. This makes the input to xsettingsd consistent with the output of dump_xsettings. | Bugfix: allow negative int values.
ConfigParser::ReadInteger can handle these, but ::ReadValue was never
calling ::ReadInteger if the leading character was a - (minus) sign.
This makes the input to xsettingsd consistent with the output of
dump_xsettings.
| C++ | bsd-3-clause | derat/xsettingsd,derat/xsettingsd |
f86bd966767791d34b2bc09234ef1849c43f60ea | gpu/command_buffer/client/gles2_demo_cc.cc | gpu/command_buffer/client/gles2_demo_cc.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.
// This file is here so other GLES2 related files can have a common set of
// includes where appropriate.
#include "gpu/command_buffer/client/gles2_d... | // 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.
// This file is here so other GLES2 related files can have a common set of
// includes where appropriate.
#include "gpu/command_buffer/client/gles2_d... | Fix for GL break on Linux build. | Fix for GL break on Linux build.
TBR=apatrick@google.com
TEST=none
BUG=none
git-svn-id: http://src.chromium.org/svn/trunk/src@40204 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: b83e056d72623b477e39369293528cb50cdb603a | 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... |
c75514b1a987c4ccff36adad7bc466d28a2fb396 | src/sdpb/write_timing.cxx | src/sdpb/write_timing.cxx | #include "Timers.hxx"
#include "Block_Info.hxx"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
void write_timing(const boost::filesystem::path &out_file,
const boost::filesystem::path &sdp_directory,
const bool &write_block_timing, const Block_Info &block_i... | #include "Timers.hxx"
#include "Block_Info.hxx"
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
void write_timing(const boost::filesystem::path &out_file,
const boost::filesystem::path &sdp_directory,
const bool &write_block_timing, const Block_Info &block_i... | Add solver time to the output. | Add solver time to the output.
| C++ | mit | davidsd/sdpb,davidsd/sdpb,davidsd/sdpb |
ebc8d043ff1783839e14815d3be0eb4e4ba0d717 | src/selections/parser.cpp | src/selections/parser.cpp | /* Chemfiles, an efficient IO library for chemistry file formats
* Copyright (C) 2015 Guillaume Fraux
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
#include ... | /* Chemfiles, an efficient IO library for chemistry file formats
* Copyright (C) 2015 Guillaume Fraux
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
#include ... | Fix out of bound access | Fix out of bound access
Thanks MSVC for this one!
| C++ | bsd-3-clause | lscalfi/chemfiles,chemfiles/chemfiles,chemfiles/chemfiles,lscalfi/chemfiles,lscalfi/chemfiles,lscalfi/chemfiles,chemfiles/chemfiles,chemfiles/chemfiles,Luthaf/Chemharp,Luthaf/Chemharp,Luthaf/Chemharp |
bf87d7667527c4674f30d8701bf30aa9bbded6f2 | libcontextsubscriber/update-contextkit-providers/update-contextkit-providers.cpp | libcontextsubscriber/update-contextkit-providers/update-contextkit-providers.cpp | /*
* Copyright (C) 2008, 2009 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* This lib... | /*
* Copyright (C) 2008, 2009 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* This lib... | Write the compatibility string to generated CDB. | Write the compatibility string to generated CDB.
| C++ | lgpl-2.1 | rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck |
054782ecb295db29127777fc6485ed415aee69f5 | src/src/cache.cpp | src/src/cache.cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Nathan Osman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use,... | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Nathan Osman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use,... | Fix trigger for next record failing to be set correctly. | Fix trigger for next record failing to be set correctly.
| C++ | mit | nitroshare/qmdnsengine,nitroshare/qmdnsengine |
cdfb53b517ee8c74e5ac1f843d22e68a7a2d7c7f | RX64M/power_cfg.hpp | RX64M/power_cfg.hpp | #pragma once
//=====================================================================//
/*! @file
@brief RX64M グループ・省電力制御
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master/LICENSE
... | #pragma once
//=====================================================================//
/*! @file
@brief RX64M グループ・省電力制御
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2016, 2017 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master/LICENSE
... | update DTC | update DTC
| C++ | bsd-3-clause | hirakuni45/RX,hirakuni45/RX,hirakuni45/RX,hirakuni45/RX |
822c9eb2f1a652a41b5af0966efaae171b01dd1e | include/memory/hadesmem/thread_helpers.hpp | include/memory/hadesmem/thread_helpers.hpp | // Copyright (C) 2010-2014 Joshua Boyce.
// See the file COPYING for copying permission.
#pragma once
#include <algorithm>
#include <vector>
#include <set>
#include <sstream>
#include <windows.h>
#include <winnt.h>
#include <hadesmem/error.hpp>
#include <hadesmem/config.hpp>
#include <hadesmem/thread... | // Copyright (C) 2010-2015 Joshua Boyce.
// See the file COPYING for copying permission.
#pragma once
#include <algorithm>
#include <set>
#include <sstream>
#include <vector>
#include <windows.h>
#include <winnt.h>
#include <hadesmem/config.hpp>
#include <hadesmem/detail/assert.hpp>
#include <hadesme... | Add GetStartAddress. | [Thread] Add GetStartAddress.
| C++ | mit | geota/hadesmem,capturePointer/hadesmem,geota/hadesmem |
f5b8ae8bd66e71a32eb80a1d9b1b56e23b86913c | chrome/test/ui/npapi_uitest.cpp | chrome/test/ui/npapi_uitest.cpp | // Copyright 2008, 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 conditions a... | // Copyright 2008, 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 conditions a... | Disable some failing UI tests for now. | Disable some failing UI tests for now.
TBR=ojan
BUG=3881
Review URL: http://codereview.chromium.org/8923
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@4231 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,gavinp/chromium,gavinp/chromium,gavinp/chr... |
e5529559c3bbe7969170468a4f5f481648b514f8 | chrome/browser/upgrade_detector.cc | chrome/browser/upgrade_detector.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 "chrome/browser/upgrade_detector.h"
#include <string>
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/mem... | // 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 "chrome/browser/upgrade_detector.h"
#include <string>
#include "base/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/mem... | Add the UpgradeDetector to the list of things which don't run when the --disable-background-networking cmdline switch is set. | Add the UpgradeDetector to the list of things which don't run when the
--disable-background-networking cmdline switch is set.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6802018
git-svn-id: http://src.chromium.org/svn/trunk/src@80696 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: 3cddd318d6... | 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... |
732c665af5713899c727901759786eef61072e02 | src/timestamp.cpp | src/timestamp.cpp | /*
* Copyright (c) 2016, Matias Fontanini
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | /*
* Copyright (c) 2016, Matias Fontanini
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | Fix compilation warning on VC | Fix compilation warning on VC
| C++ | bsd-2-clause | viveks9/decrypt80211,UlfWetzker/libtins,mfontanini/libtins,UlfWetzker/libtins,mfontanini/libtins,viveks9/decrypt80211 |
b394fe00bc15378037bbd8bb429ddbe1d5c15d42 | src/tls/c_kex.cpp | src/tls/c_kex.cpp | /*
* Client Key Exchange Message
* (C) 2004-2010 Jack Lloyd
*
* Released under the terms of the Botan license
*/
#include <botan/internal/tls_messages.h>
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_extensions.h>
#include <botan/tls_record.h>
#include <botan/internal/assert.h>
#include <botan/cr... | /*
* Client Key Exchange Message
* (C) 2004-2010 Jack Lloyd
*
* Released under the terms of the Botan license
*/
#include <botan/internal/tls_messages.h>
#include <botan/internal/tls_reader.h>
#include <botan/internal/tls_extensions.h>
#include <botan/tls_record.h>
#include <botan/internal/assert.h>
#include <botan/cr... | Fix for DHE, strip_leading_zeros always took off the last byte | Fix for DHE, strip_leading_zeros always took off the last byte
| C++ | bsd-2-clause | Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,webmaster128/botan,webmaster128/botan,randombit/botan,randombit/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,webmaster12... |
e03d7d792c93418928e4b30a79bc7a19a26b7edb | tools/clang-format/ClangFormat.cpp | tools/clang-format/ClangFormat.cpp | //===-- clang-format/ClangFormat.cpp - Clang format tool ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- clang-format/ClangFormat.cpp - Clang format tool ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Add the shifted cursor position to XML output, so it can be used by editor integrations. | Add the shifted cursor position to XML output, so it can be used by editor integrations.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@225516 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/cl... |
5b646886f14bbd31d51bee406fc9ba96783c72cb | PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoTPCInnerCorrFctn.cxx | PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoTPCInnerCorrFctn.cxx | ////////////////////////////////////////////////////////////////////////////////
/// ///
/// AliFemtoTPCInnerCorrFctn - A correlation function that saves the ///
/// distance at the entrance to the TPC between two tracks as a function ... | ////////////////////////////////////////////////////////////////////////////////
/// ///
/// AliFemtoTPCInnerCorrFctn - A correlation function that saves the ///
/// distance at the entrance to the TPC between two tracks as a function ... | Fix Coverity reports, new phistar calculation | Fix Coverity reports, new phistar calculation
| C++ | bsd-3-clause | miranov25/AliRoot,jgrosseo/AliRoot,ecalvovi/AliRoot,jgrosseo/AliRoot,alisw/AliRoot,ecalvovi/AliRoot,jgrosseo/AliRoot,mkrzewic/AliRoot,ecalvovi/AliRoot,miranov25/AliRoot,alisw/AliRoot,shahor02/AliRoot,shahor02/AliRoot,alisw/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,jgrosseo/AliRoot,shahor02/AliRoot,mkrzewic/AliRoot,ALICE... |
cf1fd792e1ba17215174f678b4de0d2487d82a2f | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoCorrFctnPtKstar.cxx | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoCorrFctnPtKstar.cxx | ////////////////////////////////////////////////////////////////////////////////
// //
// AliFemtoCorrFctnPtKstar - A correlation function that analyzes //
// two particle mass minvariant with various mass assumptions //
/... | ////////////////////////////////////////////////////////////////////////////////
// //
// AliFemtoCorrFctnPtKstar - A correlation function that analyzes //
// two particle mass minvariant with various mass assumptions //
/... | Update AliFemtoCorrFctnPtKstar.cxx | Update AliFemtoCorrFctnPtKstar.cxx | C++ | bsd-3-clause | adriansev/AliPhysics,AMechler/AliPhysics,fcolamar/AliPhysics,pchrista/AliPhysics,AMechler/AliPhysics,fcolamar/AliPhysics,victor-gonzalez/AliPhysics,nschmidtALICE/AliPhysics,adriansev/AliPhysics,pchrista/AliPhysics,victor-gonzalez/AliPhysics,rbailhac/AliPhysics,pchrista/AliPhysics,adriansev/AliPhysics,AMechler/AliPhysic... |
3464fb4d943d4be3314c642fa37a84369cd89751 | code/ylikuutio/ontology/camera.hpp | code/ylikuutio/ontology/camera.hpp | #ifndef __CAMERA_HPP_INCLUDED
#define __CAMERA_HPP_INCLUDED
#include "movable.hpp"
#include "universe.hpp"
#include "camera_struct.hpp"
#include "code/ylikuutio/hierarchy/hierarchy_templates.hpp"
// Include GLM
#ifndef __GLM_GLM_HPP_INCLUDED
#define __GLM_GLM_HPP_INCLUDED
#include <glm/glm.hpp> // glm
#endif
// Incl... | #ifndef __CAMERA_HPP_INCLUDED
#define __CAMERA_HPP_INCLUDED
#include "movable.hpp"
#include "universe.hpp"
#include "camera_struct.hpp"
#include "code/ylikuutio/hierarchy/hierarchy_templates.hpp"
// Include GLM
#ifndef __GLM_GLM_HPP_INCLUDED
#define __GLM_GLM_HPP_INCLUDED
#include <glm/glm.hpp> // glm
#endif
// Incl... | delete copy constructor and copy assignment. | `yli::ontology::Camera`: delete copy constructor and copy assignment.
| C++ | agpl-3.0 | nrz/ylikuutio,nrz/ylikuutio,nrz/ylikuutio,nrz/ylikuutio |
354269abf3d08e4af52b1b38f1865f0c50595ca9 | src/uoj348241.cpp | src/uoj348241.cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
#include <stack>
#include <cstring>
#include <string>
#include <vector>
#include <iomanip>
#include <cmath>
#include <list>
#include <bitset>
using namespace std;
#define ll long long
#define lson l,mid,id<<1
#d... | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <map>
#include <set>
#include <stack>
#include <cstring>
#include <string>
#include <vector>
#include <iomanip>
#include <cmath>
#include <list>
#include <bitset>
using namespace std;
#define ll long long
#define lson l,mid,id<<1
#d... | update uoj348241 | update uoj348241
| C++ | mit | czfshine/my_oj,czfshine/my_oj,czfshine/my_oj,czfshine/my_oj |
1f028371a9b3917f038d6047d526e24a7944b147 | src/utils/md5.hpp | src/utils/md5.hpp | // Copyright (C) 2016 xaizek <xaizek@openmailbox.org>
//
// This file is part of uncov.
//
// uncov is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your opti... | // Copyright (C) 2016 xaizek <xaizek@openmailbox.org>
//
// This file is part of uncov.
//
// uncov is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your opti... | Document utils/md5.hpp header | Document utils/md5.hpp header
| C++ | agpl-3.0 | xaizek/uncov,xaizek/uncov,xaizek/uncov,xaizek/uncov,xaizek/uncov |
fb359fc981f048328bee206fbcf69f2218ae1ee0 | training/unicharset_extractor.cpp | training/unicharset_extractor.cpp | ///////////////////////////////////////////////////////////////////////
// File: unicharset_extractor.cpp
// Description: Unicode character/ligature set extractor.
// Author: Thomas Kielbus
// Created: Wed Jun 28 17:05:01 PDT 2006
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache Licens... | ///////////////////////////////////////////////////////////////////////
// File: unicharset_extractor.cpp
// Description: Unicode character/ligature set extractor.
// Author: Thomas Kielbus
// Created: Wed Jun 28 17:05:01 PDT 2006
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache Licens... | Update unicharset_extractor.cpp (#1153) | Update unicharset_extractor.cpp (#1153)
* change IsWhitespace to IsUTF8Whitespace
To solve "Phase UP: Generating unicharset and unichar properties files" ERROR #1147
please reference: [#1147](https://github.com/tesseract-ocr/tesseract/issues/1147)
* Update unicharset_extractor.cpp
fix the "Phase UP: Genera... | C++ | apache-2.0 | stweil/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,UB-Mannheim/tesseract,UB-Mannheim/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,jbarlow83/tesseract,tesseract-ocr/tesseract,jbarlow83/tesseract,UB-Mannheim/tesseract,jbarlow83/tesseract,jbarlow83/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,amitd... |
9c196ac0fc7c7c6cad68d967c1a74959dd7e0f58 | unittests/AST/StmtPrinterTest.cpp | unittests/AST/StmtPrinterTest.cpp | //===- unittests/AST/StmtPrinterTest.cpp --- Statement printer tests ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- unittests/AST/StmtPrinterTest.cpp --- Statement printer tests ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Remove out-of-date comment. | Remove out-of-date comment.
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@168957 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/cl... |
4b4adc3107520d4a0ebc5d6562a648fd43a77f96 | chrome/test/ui/npapi_uitest.cc | chrome/test/ui/npapi_uitest.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.
// windows headers
#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
#include <atlbase.h>
#include <comutil.h>
// runtime headers
#inclu... | // 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.
// windows headers
#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
#include <atlbase.h>
#include <comutil.h>
// runtime headers
#inclu... | Disable NPAPIVisiblePluginTester.OpenPopupWindowWithPlugin, which is flaky. | Disable NPAPIVisiblePluginTester.OpenPopupWindowWithPlugin, which is flaky.
BUG=17645
TEST=none
Review URL: http://codereview.chromium.org/159333
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@21514 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 |
fb5b60176fb091f0e83e766763cc74f835cd6d1a | chrome/common/chrome_constants.cc | chrome/common/chrome_constants.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/chrome_constants.h"
#include "base/file_path.h"
#define FPL FILE_PATH_LITERAL
namespace chrome {
// The following sho... | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/common/chrome_constants.h"
#include "base/file_path.h"
#define FPL FILE_PATH_LITERAL
namespace chrome {
// The following sho... | Fix another name I missed. Review URL: http://codereview.chromium.org/113727 | Fix another name I missed.
Review URL: http://codereview.chromium.org/113727
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@16668 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 |
f7fb848079b9bcccc6dadc0f9820f2dd3f2422ae | compiler/passes/runInterpreter.cpp | compiler/passes/runInterpreter.cpp | #include <signal.h>
#include <ctype.h>
#include "alist.h"
#include "driver.h"
#include "filesToAST.h"
#include "runInterpreter.h"
#include "symbol.h"
#include "symtab.h"
#include "map.h"
class IObject;
class IThread;
enum ISlotKind {
EMPTY_SLOT,
UNINITIALIZED_SLOT,
SELECTOR_SLOT,
CLOSURE_SLOT,
OBJECT_SLOT,
... | #include <signal.h>
#include <ctype.h>
#include "alist.h"
#include "driver.h"
#include "filesToAST.h"
#include "runInterpreter.h"
#include "symbol.h"
#include "symtab.h"
#include "map.h"
class IObject;
class IThread;
enum ISlotKind {
EMPTY_SLOT,
UNINITIALIZED_SLOT,
SELECTOR_SLOT,
CLOSURE_SLOT,
OBJECT_SLOT,
... | Fix compilation issue. | Fix compilation issue.
git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@4846 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
| C++ | apache-2.0 | sungeunchoi/chapel,sungeunchoi/chapel,sungeunchoi/chapel,chizarlicious/chapel,CoryMcCartan/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,hildeth/chapel,chizarlicious/chapel,sungeunchoi/chapel,chizarlicious/chapel,chizarlicious/chapel,CoryMcCartan/chapel,hildeth/chapel,sungeunchoi/chapel,sungeunchoi/chap... |
3a678223ebb531955b2f35d63c94720cfa9bd930 | tools/unittests/MemoryPoolTest.cpp | tools/unittests/MemoryPoolTest.cpp | //===- MemoryPoolTest.cpp -------------------------------------------------===//
//
// The Bold Project
//
// This file is distributed under the New BSD License.
// See LICENSE for details.
//
//===----------------------------------------------------------------------===//
#include <pat/pa... | //===- MemoryPoolTest.cpp -------------------------------------------------===//
//
// The Bold Project
//
// This file is distributed under the New BSD License.
// See LICENSE for details.
//
//===----------------------------------------------------------------------===//
#include <pat/pa... | Replace ASSERT_TRUE by EXPECT_EQ if possible. | Replace ASSERT_TRUE by EXPECT_EQ if possible.
| C++ | bsd-3-clause | hjmeric/bold-utils,hjmeric/bold-utils,astrotycoon/bold-utils,astrotycoon/bold-utils |
aeeeb255327fe6408a4aa24fc7db084ddfda6e13 | src/test/base58_tests.cpp | src/test/base58_tests.cpp | #include <boost/test/unit_test.hpp>
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_writer_template.h"
#include "json/json_spirit_utils.h"
#include "base58.h"
#include "util.h"
using namespace json_spirit;
extern Array read_json(const std::string& filename);
BOOST_AUTO_TEST_SUITE(base58_test... | #include <boost/test/unit_test.hpp>
#include "json/json_spirit_reader_template.h"
#include "json/json_spirit_writer_template.h"
#include "json/json_spirit_utils.h"
#include "base58.h"
#include "util.h"
using namespace json_spirit;
extern Array read_json(const std::string& filename);
BOOST_AUTO_TEST_SUITE(base58_test... | Use ranged based for loops instead of BOOST_FOREACH in base58_tests. | Use ranged based for loops instead of BOOST_FOREACH in base58_tests.
| C++ | mit | gridcoin/Gridcoin-Research,caraka/gridcoinresearch,fooforever/Gridcoin-Research,tomasbrod/Gridcoin-Research,Lederstrumpf/Gridcoin-Research,Git-Jiro/Gridcoin-Research,caraka/gridcoinresearch,gridcoin/Gridcoin-Research,TheCharlatan/Gridcoin-Research,TheCharlatan/Gridcoin-Research,theMarix/Gridcoin-Research,gridcoin/Gridc... |
c4979f77c1264f0099d1dfa278b1d9c18340b5f9 | src/test/bech32_tests.cpp | src/test/bech32_tests.cpp | // Copyright (c) 2017 Pieter Wuille
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bech32.h>
#include <test/util/str.h>
#include <boost/test/unit_test.hpp>
#include <string>
BOOST_AUTO_TEST_SUITE(bech32_tests)
BOO... | // Copyright (c) 2017 Pieter Wuille
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bech32.h>
#include <test/util/str.h>
#include <boost/test/unit_test.hpp>
#include <string>
BOOST_AUTO_TEST_SUITE(bech32_tests)
BOO... | Add boost tests for bech32 error detection | Add boost tests for bech32 error detection
| C++ | mit | tecnovert/particl-core,bitcoin/bitcoin,dscotese/bitcoin,sipsorcery/bitcoin,MarcoFalke/bitcoin,particl/particl-core,jlopp/statoshi,Xekyo/bitcoin,mm-s/bitcoin,bitcoinsSG/bitcoin,fanquake/bitcoin,jamesob/bitcoin,namecoin/namecoin-core,jamesob/bitcoin,pataquets/namecoin-core,AkioNak/bitcoin,jamesob/bitcoin,fujicoin/fujicoi... |
60aaa761963e1967dfb21d69d0b4a6a0c9f39c57 | utils/TableGen/CodeEmitterGen.cpp | utils/TableGen/CodeEmitterGen.cpp | //===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- CodeEmitterGen.cpp - Code Emitter Generator ------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Support generating an MC'ized CodeEmitter directly. Maintain a reference to the Fixups list for the instruction so the operand encoders can add to it as needed. | Support generating an MC'ized CodeEmitter directly. Maintain a reference to the
Fixups list for the instruction so the operand encoders can add to it as
needed.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@118206 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-2-clause | chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,GP... |
fd391715c361e8f5dc1ca6915ba49563b3b4d93f | Logger.cpp | Logger.cpp | /*
* Logger.cpp
*
Copyright (c) 2013 Collin Kidder, Michael Neuweiler, Charles Galpin
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 r... | /*
* Logger.cpp
*
Copyright (c) 2013 Collin Kidder, Michael Neuweiler, Charles Galpin
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 r... | Correct another file case issue with headers | Correct another file case issue with headers
| C++ | mit | collin80/M2RET,collin80/M2RET |
3ccad31d3963077b9879c9e18921e32213b9c32f | tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc | tensorflow/compiler/mlir/tensorflow/transforms/guarantee_all_funcs_one_use.cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Update copyright in GuaranteeAllFuncsOneUse to be of TensorFlow and update function names to match Google C++ Style Guide (NFC). | Update copyright in GuaranteeAllFuncsOneUse to be of TensorFlow and update function names to match Google C++ Style Guide (NFC).
PiperOrigin-RevId: 324622347
Change-Id: Ib1d19560afa26e4fef197b1694328e26f53ade8e
| C++ | apache-2.0 | tensorflow/tensorflow-experimental_link_static_libraries_once,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,... |
acc884669b91a156fee3d5266f1ee3222ccdad75 | clang-tidy/tool/ClangTidyMain.cpp | clang-tidy/tool/ClangTidyMain.cpp | //===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix a use-after-free. | [clang-tidy] Fix a use-after-free.
git-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@245215 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra |
1ecd9bdefc18b602dd99d0124a2868037b970a0a | sstables/types.hh | sstables/types.hh | /*
* Copyright (C) 2015 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | /*
* Copyright (C) 2015 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later... | fix type of max_local_deletion_time | sstables: fix type of max_local_deletion_time
max_local_deletion_time was incorrectly using an unsigned type
instead of a signed one.
Signed-off-by: Raphael S. Carvalho <1e2942cea40e3b4d2162dfcd9e53e41c05a84d22@scylladb.com>
| C++ | agpl-3.0 | duarten/scylla,scylladb/scylla,raphaelsc/scylla,raphaelsc/scylla,scylladb/scylla,duarten/scylla,duarten/scylla,scylladb/scylla,avikivity/scylla,kjniemi/scylla,kjniemi/scylla,kjniemi/scylla,avikivity/scylla,scylladb/scylla,avikivity/scylla,raphaelsc/scylla |
2d06bed68b7230ae68bdf25307c7855d3ee8b20e | example_single_camera/src/ofApp.cpp | example_single_camera/src/ofApp.cpp | //
// Copyright (c) 2020 Christopher Baker <https://christopherbaker.net>
//
// SPDX-License-Identifier: MIT
//
#include "ofApp.h"
void ofApp::setup()
{
ofSetFrameRate(30);
// Set the camera URL.
// Many axis cameras allow video resolution, fps, etc to be manipulated with url arguments.
grabber.set... | //
// Copyright (c) 2020 Christopher Baker <https://christopherbaker.net>
//
// SPDX-License-Identifier: MIT
//
#include "ofApp.h"
void ofApp::setup()
{
ofSetFrameRate(30);
// Set the camera URL.
// Many axis cameras allow video resolution, fps, etc to be manipulated with url arguments.
// N.B. If ... | Update link and comment. | Update link and comment.
| C++ | mit | bakercp/ofxIpVideoGrabber |
0371b277b9110a58d90aa1e82e2ff44c27e01f58 | modules/perception/obstacle/camera/tracker/cs2d/cs2d_affinity_tracker.cc | modules/perception/obstacle/camera/tracker/cs2d/cs2d_affinity_tracker.cc | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | Fix typo. | Fix typo.
| C++ | apache-2.0 | xiaoxq/apollo,ycool/apollo,ApolloAuto/apollo,xiaoxq/apollo,wanglei828/apollo,ApolloAuto/apollo,ApolloAuto/apollo,ycool/apollo,ApolloAuto/apollo,xiaoxq/apollo,jinghaomiao/apollo,ApolloAuto/apollo,ycool/apollo,ycool/apollo,jinghaomiao/apollo,jinghaomiao/apollo,wanglei828/apollo,xiaoxq/apollo,ycool/apollo,ycool/apollo,jin... |
03382bef707f550e3324d47f1dd51049f470cecb | src/test/rados-api/aio.cc | src/test/rados-api/aio.cc | #include "include/rados/librados.h"
#include "test/rados-api/test.h"
#include "gtest/gtest.h"
#include <errno.h>
#include <semaphore.h>
#include <string>
class AioTestData
{
public:
AioTestData()
: m_init(false),
m_complete(false),
m_safe(false)
{
}
~AioTestData()
{
if (m_init) {
... | #include "common/errno.h"
#include "include/rados/librados.h"
#include "test/rados-api/test.h"
#include "gtest/gtest.h"
#include <errno.h>
#include <semaphore.h>
#include <sstream>
#include <string>
using std::ostringstream;
class AioTestData
{
public:
AioTestData()
: m_init(false),
m_complete(false),
... | add WaitForSafe, RoundTrip | test/rados-api/aio: add WaitForSafe, RoundTrip
Signed-off-by: Colin McCabe <7b35906f1d014e74a9dc8c913eb229119df647aa@dreamhost.com>
| C++ | lgpl-2.1 | ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.