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 |
|---|---|---|---|---|---|---|---|---|---|
b1ea36bc47fefba9faac714e0cfc172221f9be58 | src/plugins/texteditor/basetextdocument.cpp | src/plugins/texteditor/basetextdocument.cpp | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial license... | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial license... | Fix build with namespaced Qt | Fix build with namespaced Qt
Reviewed-by: Thorbjorn Lindeijer
| C++ | lgpl-2.1 | colede/qtcreator,enricoros/k-qt-creator-inspector,yinyunqiao/qtcreator,sandsmark/qtcreator-minimap,azat/qtcreator,KDAB/KDAB-Creator,KDAB/KDAB-Creator,kuba1/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,azat/qtcreator,sandsmark/qtcreator-minimap,jonnor/qt-cre... |
ea4b6a2096bc9ff55c9c8f2dda379f2b28a0023c | src/postgres/backend/postmaster/peloton.cpp | src/postgres/backend/postmaster/peloton.cpp | /*-------------------------------------------------------------------------
*
* peloton.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/peloton.c
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <unistd.h>
#inclu... | /*-------------------------------------------------------------------------
*
* peloton.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/peloton.c
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <unistd.h>
#inclu... | add back number of tuple processed | add back number of tuple processed
Former-commit-id: c1ea065e718abf965f0c0beab913c3a9c4b33c5f | C++ | apache-2.0 | AngLi-Leon/peloton,vittvolt/15721-peloton,vittvolt/peloton,jessesleeping/iso_peloton,malin1993ml/peloton,cmu-db/peloton,wangziqi2016/peloton,eric-haibin-lin/peloton-1,yingjunwu/peloton,jessesleeping/iso_peloton,vittvolt/peloton,vittvolt/15721-peloton,jessesleeping/iso_peloton,vittvolt/peloton,cmu-db/peloton,jessesleepi... |
3cb862586ebb899ef33731528a1d002144721d10 | src/postgres/backend/postmaster/peloton.cpp | src/postgres/backend/postmaster/peloton.cpp | /*-------------------------------------------------------------------------
*
* peloton.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/peloton.c
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <unistd.h>
#inclu... | /*-------------------------------------------------------------------------
*
* peloton.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/peloton.c
*
*-------------------------------------------------------------------------
*/
#include <sys/types.h>
#include <unistd.h>
#inclu... | add back number of tuple processed | add back number of tuple processed
Former-commit-id: c1ea065e718abf965f0c0beab913c3a9c4b33c5f | C++ | apache-2.0 | amaliujia/CMUDB-peloton,omegaga/peloton,ranxian/peloton,omegaga/peloton,amaliujia/CMUDB-peloton,ranxian/peloton,omegaga/peloton,larryxiao/peloton,amaliujia/CMUDB-peloton,larryxiao/peloton,omegaga/peloton,larryxiao/peloton,omegaga/peloton,larryxiao/peloton,larryxiao/peloton-1,larryxiao/peloton,amaliujia/CMUDB-peloton,la... |
8bbc2a4baffa94e55b1ffdaa84cb8e701e7ed6c9 | src/server/implementation/ModuleManager.cpp | src/server/implementation/ModuleManager.cpp | /*
* (C) Copyright 2014 Kurento (http://kurento.org/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-... | /*
* (C) Copyright 2014 Kurento (http://kurento.org/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-... | Fix problem while reading files with short names | ModuleManager: Fix problem while reading files with short names
Change-Id: Ib42287d75e82495ac83565fa588d393742679c28
| C++ | apache-2.0 | TribeMedia/kms-core,ESTOS/kms-core,shelsonjava/kms-core,shelsonjava/kms-core,ESTOS/kms-core,ESTOS/kms-core,shelsonjava/kms-core,Kurento/kms-core,TribeMedia/kms-core,Kurento/kms-core,shelsonjava/kms-core,TribeMedia/kms-core,ESTOS/kms-core,Kurento/kms-core,TribeMedia/kms-core,Kurento/kms-core |
b8b1739a7380ada61f0bae6d8f0d1ae0eb1c3f02 | src/programs/robotDevastation/RobotDevastation.cpp | src/programs/robotDevastation/RobotDevastation.cpp | // Authors: see AUTHORS.md at project root.
// CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.
// URL: https://github.com/asrob-uc3m/robotDevastation
#include "RobotDevastation.hpp"
#include <cstdio>
#include <yarp/os/LogComponent.h>
#include <yarp/os/LogStream.h>
#include <yarp/os... | // Authors: see AUTHORS.md at project root.
// CopyPolicy: released under the terms of the LGPLv2.1, see LICENSE at project root.
// URL: https://github.com/asrob-uc3m/robotDevastation
#include "RobotDevastation.hpp"
#include <cstdio>
#include <yarp/os/LogComponent.h>
#include <yarp/os/LogStream.h>
#include <yarp/os... | Apply internal static linkage to logging component | Apply internal static linkage to logging component
| C++ | lgpl-2.1 | asrob-uc3m/robotDevastation,asrob-uc3m/robotDevastation |
87e4cee02d7450740d1d3ab78a9e40459e97577b | src/test/syscoin_asset_allocation_tests.cpp | src/test/syscoin_asset_allocation_tests.cpp | // Copyright (c) 2016-2017 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "test/test_syscoin_services.h"
#include "utiltime.h"
#include "util.h"
#include "rpc/server.h"
#include "alias.h"
#i... | // Copyright (c) 2016-2017 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "test/test_syscoin_services.h"
#include "utiltime.h"
#include "util.h"
#include "rpc/server.h"
#include "alias.h"
#i... | fix div by 0 | fix div by 0
Former-commit-id: 8be3ab74dd21763d356dc139bb46e11385727606 | C++ | mit | syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin |
9edee2fe5a1ef796c351bfc5f960c28aac7ee13d | src/qt/bitcoinamountfield.cpp | src/qt/bitcoinamountfield.cpp | #include "bitcoinamountfield.h"
#include "qvaluecombobox.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include <QLabel>
#include <QLineEdit>
#include <QRegExpValidator>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QDoubleSpinBox>
#include <QComboBox>
#include <QApplication>
#include <qmath.h>
Bitc... | #include "bitcoinamountfield.h"
#include "qvaluecombobox.h"
#include "bitcoinunits.h"
#include "guiconstants.h"
#include <QLabel>
#include <QLineEdit>
#include <QRegExpValidator>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QDoubleSpinBox>
#include <QComboBox>
#include <QApplication>
#include <qmath.h>
Bitc... | Change up/down increment in UI to 0.001 BTC (issue #760) | Change up/down increment in UI to 0.001 BTC (issue #760)
| C++ | mit | bmp02050/ReddcoinUpdates,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,joroob/reddcoin,Cannacoin-Project/Cannacoin,Cannacoin-Project/Cannacoin,coinkeeper/2015-06-22_19-10_cannacoin,reddink/reddcoin,bmp02050/ReddcoinUpdates,reddink/reddcoin,bmp02050/ReddcoinUpdates,reddcoin-project/reddcoin,joroob/reddcoin,redd... |
37f7e3e18c81b7ca4b8ee3f3edd22b57e64e82bc | src/share/complex_modifications_assets_manager.hpp | src/share/complex_modifications_assets_manager.hpp | #pragma once
#include "core_configuration.hpp"
#include <dirent.h>
namespace krbn {
class complex_modifications_assets_manager final {
public:
class file final {
public:
file(const std::string& file_path) : file_path_(file_path) {
std::ifstream stream(file_path);
if (!stream) {
throw std::... | #pragma once
#include "core_configuration.hpp"
#include <dirent.h>
#include <unistd.h>
namespace krbn {
class complex_modifications_assets_manager final {
public:
class file final {
public:
file(const std::string& file_path) : file_path_(file_path) {
std::ifstream stream(file_path);
if (!stream) {... | add unlink_file | add unlink_file
| C++ | unlicense | tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements |
c1929ee9f3cc330cd4b15980d5ef5b907c7541e0 | include/vsmc/utility/rng_set.hpp | include/vsmc/utility/rng_set.hpp | #ifndef VSMC_UTILITY_RNG_SET_HPP
#define VSMC_UTILITY_RNG_SET_HPP
#include <vsmc/internal/common.hpp>
#include <vsmc/utility/seed.hpp>
#if VSMC_USE_RANDOM123
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4521)
#endif // _MSC_VER
#define R123_USE_U01_DOUBLE 1
#include <Random123/threefry.h>
#include <R... | #ifndef VSMC_UTILITY_RNG_SET_HPP
#define VSMC_UTILITY_RNG_SET_HPP
#include <vsmc/internal/common.hpp>
#include <vsmc/utility/seed.hpp>
#if VSMC_USE_RANDOM123
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable:4521)
#endif // _MSC_VER
#define R123_USE_U01_DOUBLE 1
#include <Random123/threefry.h>
#include <R... | move type traits to the head of rng_set.hpp | move type traits to the head of rng_set.hpp
| C++ | bsd-2-clause | zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC |
1d1d22ac5fff9520762c3d5968cfc252c9db0d00 | src/random_torque_applier.cpp | src/random_torque_applier.cpp | #include <ros/ros.h>
#include <gazebo_msgs/ApplyBodyWrench.h>
#include <geometry_msgs/PoseStamped.h>
#include <boost/random.hpp>
#define USE_FIXED_SEED 1
namespace
{
using namespace std;
using namespace ros;
static const double DURATION_DEFAULT = 0.001;
static const unsigned int FIXED_SEED = 0;
class RandomTorqueAp... | #include <ros/ros.h>
#include <gazebo_msgs/ApplyBodyWrench.h>
#include <geometry_msgs/PoseStamped.h>
#include <boost/random.hpp>
#define USE_FIXED_SEED 1
namespace
{
using namespace std;
using namespace ros;
static const double DURATION_DEFAULT = 0.001;
static const unsigned int FIXED_SEED = 0;
class RandomTorqueAp... | Fix torque applier | Fix torque applier
| C++ | apache-2.0 | jlurz24/gazebo_utils |
1750215c6730654d7a0df73eccd7eef040fed209 | ouzel/gui/BMFont.hpp | ouzel/gui/BMFont.hpp | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_GUI_BMFONT_HPP
#define OUZEL_GUI_BMFONT_HPP
#include "Font.hpp"
namespace ouzel
{
namespace gui
{
class BMFont final: public Font
{
public:
BMFont() = default;
explicit BMFont(const std... | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_GUI_BMFONT_HPP
#define OUZEL_GUI_BMFONT_HPP
#include "Font.hpp"
namespace ouzel
{
namespace gui
{
class BMFont final: public Font
{
public:
BMFont() = default;
explicit BMFont(const std... | Make the CharDescriptor a struct and make it final | Make the CharDescriptor a struct and make it final
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
b2db7182fa909fefca35e3cc99dc987ecfdbcf68 | src/firmware/database/Database.cpp | src/firmware/database/Database.cpp | /*
OpenDeck MIDI platform firmware
Copyright (C) 2015-2018 Igor Petrovic
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) a... | /*
OpenDeck MIDI platform firmware
Copyright (C) 2015-2018 Igor Petrovic
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) a... | add handling for database, init db | add handling for database, init db
| C++ | apache-2.0 | paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck,paradajz/OpenDeck |
e5f201a54ea6b76f1026505e8d60676a0207701b | Modules/Core/ImageFunction/include/itkGaussianDerivativeImageFunction.hxx | Modules/Core/ImageFunction/include/itkGaussianDerivativeImageFunction.hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | Fix implicit conversion warning | COMP: Fix implicit conversion warning
This was caused by commit
7b5fbefbc9f802f53a8c961c6c6ba3f872b49cbf .
Also remove use of explicit double types.
Change-Id: I1d60fcf31b27d0f08077f373056ac6c6367d2df3
| C++ | apache-2.0 | LucHermitte/ITK,zachary-williamson/ITK,PlutoniumHeart/ITK,hjmjohnson/ITK,jmerkow/ITK,richardbeare/ITK,BRAINSia/ITK,richardbeare/ITK,spinicist/ITK,blowekamp/ITK,ajjl/ITK,ajjl/ITK,fedral/ITK,hjmjohnson/ITK,eile/ITK,hjmjohnson/ITK,jcfr/ITK,atsnyder/ITK,jcfr/ITK,stnava/ITK,jcfr/ITK,jmerkow/ITK,heimdali/ITK,LucHermitte/ITK,... |
78e1d93f768270bc7b02fd20e908c287df4153ba | src/Homie.cpp | src/Homie.cpp | #include "Homie.hpp"
using namespace HomieInternals;
SendingPromise::SendingPromise(HomieClass* homie)
: _homie(homie)
, _node(nullptr)
, _property(nullptr)
, _qos(0)
, _retained(false) {
}
SendingPromise& SendingPromise::setQos(uint8_t qos) {
_qos = qos;
}
SendingPromise& SendingPromise::setRetained(bool retaine... | #include "Homie.hpp"
using namespace HomieInternals;
SendingPromise::SendingPromise(HomieClass* homie)
: _homie(homie)
, _node(nullptr)
, _property(nullptr)
, _qos(0)
, _retained(false) {
}
SendingPromise& SendingPromise::setQos(uint8_t qos) {
_qos = qos;
}
SendingPromise& SendingPromise::setRetained(bool retaine... | Fix build error | Fix build error
| C++ | mit | marvinroger/homie-esp8266,euphi/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,marvinroger/homie-esp8266,marvinroger/homie-esp8266,euphi/homie-esp8266,euphi/homie-esp8266 |
8a3a964a9f9c9e662597f62b293011e0943600b8 | chrome/browser/ui/views/sad_tab_view.cc | chrome/browser/ui/views/sad_tab_view.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/sad_tab_view.h"
#include <string>
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#inclu... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/sad_tab_view.h"
#include <string>
#include "base/metrics/field_trial.h"
#include "base/metrics/histogram.h"
#inclu... | Fix the button on the chrome://kill page. | linux_aura: Fix the button on the chrome://kill page.
Provide an escape valve for buttons that really shouldn't be rendered by
GTK.
BUG=337081
R=sky@chromium.org
Review URL: https://codereview.chromium.org/146193002
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@247043 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | crosswalk-project/chromium-crosswalk-efl,chuan9/chromium-crosswalk,markYoungH/chromium.src,ltilve/chromium,markYoungH/chromium.src,PeterWangIntel/chromium-crosswalk,jaruba/chromium.src,chuan9/chromium-crosswalk,dednal/chromium.src,ChromiumWebApps/chromium,bright-sparks/chromium-spacewalk,M4sse/chromium.src,Pluto-tv/chr... |
d570c046353d93cfb05fb93d539a9eaad327829a | chrome/common/pepper_plugin_registry.cc | chrome/common/pepper_plugin_registry.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/common/pepper_plugin_registry.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/native_library.h"
#includ... | // 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/common/pepper_plugin_registry.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/native_library.h"
#includ... | Add check for NaCl being enabled which got lost in my refactoring of the PluginRegistry and is likely the cause of the startup regressions. | Add check for NaCl being enabled which got lost in my refactoring of the
PluginRegistry and is likely the cause of the startup regressions.
Review URL: http://codereview.chromium.org/6413011
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@73944 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,gavinp/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chro... |
12b650b1c28cf9fd87011187c875dd153498487f | src/zmqpp/compatibility.hpp | src/zmqpp/compatibility.hpp | /*
* 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/.
*
* This file is part of zmqpp.
* Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
*/
/**
*... | /*
* 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/.
*
* This file is part of zmqpp.
* Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
*/
/**
*... | Allow building with `-Werror=undef` | Allow building with `-Werror=undef`
`#if` will create an error when building with `-Werror=undef`.
The same test is done with `#ifdef` in other places in the code. | C++ | mpl-2.0 | zeromq/zmqpp,zeromq/zmqpp |
a520d6cc38dd13c68bf7fac24a919ec8b0bfcdfe | mediapipe/gpu/gpu_buffer_multi_pool.cc | mediapipe/gpu/gpu_buffer_multi_pool.cc | // Copyright 2019 The MediaPipe Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | // Copyright 2019 The MediaPipe Authors.
//
// 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... | Remove FORCE_CONTIGUOUS_PIXEL_BUFFER_ON_IPHONE_SIMULATOR | Remove FORCE_CONTIGUOUS_PIXEL_BUFFER_ON_IPHONE_SIMULATOR
This workaround code is no longer necessary, as per the comment.
PiperOrigin-RevId: 488777606
| C++ | apache-2.0 | google/mediapipe,google/mediapipe,google/mediapipe,google/mediapipe,google/mediapipe,google/mediapipe,google/mediapipe,google/mediapipe |
9a857cd78ea3ea001d0bc56b0e709905b6661c6e | src/bindings.cc | src/bindings.cc | // Copyright 2015, Camilo Aguilar
#include "bindings.h"
/* size of the event structure, not counting name */
#define EVENT_SIZE (sizeof (struct inotify_event))
/* reasonable guess as to size of 1024 events */
#define BUF_LEN (1024 * (EVENT_SIZE + 16))
namespace NodeInotify {
void Inotify::Initialize(Handle<... | // Copyright 2015, Camilo Aguilar
#include "bindings.h"
/* size of the event structure, not counting name */
#define EVENT_SIZE (sizeof (struct inotify_event))
/* reasonable guess as to size of 1024 events */
#define BUF_LEN (1024 * (EVENT_SIZE + 16))
namespace NodeInotify {
void Inotify::Initialize(Handle<... | Fix #67 | Fix #67
By making sure any JS land Promises are resolved and queued callbacks called.
| C++ | mit | c4milo/node-inotify,c4milo/node-inotify,c4milo/node-inotify |
da9c0b9386eaab45999a62d4a90d07db793b6a4b | audio/audio_engine/yas_audio_route_node.cpp | audio/audio_engine/yas_audio_route_node.cpp | //
// yas_audio_route_node.cpp
//
#include "yas_audio_route_node.h"
#include "yas_stl_utils.h"
using namespace yas;
#pragma mark - kernel
struct audio::route_node::kernel : node::kernel {
~kernel() = default;
route_set_t routes;
};
#pragma mark - impl
struct audio::route_node::impl : node::impl {
st... | //
// yas_audio_route_node.cpp
//
#include "yas_audio_route_node.h"
#include "yas_stl_utils.h"
using namespace yas;
#pragma mark - kernel
struct audio::route_node::kernel : node::kernel {
~kernel() = default;
route_set_t routes;
};
#pragma mark - impl
struct audio::route_node::impl : node::impl {
st... | replace type in audio_route_node | replace type in audio_route_node
| C++ | mit | objective-audio/audio_engine,objective-audio/audio_engine,objective-audio/YASAudio,objective-audio/YASAudio,objective-audio/audio_engine |
b0ce7c3070327b61adea46ea063c687f9b2e0e01 | test/core/test_read_dihedral_angle_interaction.cpp | test/core/test_read_dihedral_angle_interaction.cpp | #define BOOST_TEST_MODULE "test_read_dihedral_angle_interaction"
#ifdef BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#else
#include <boost/test/included/unit_test.hpp>
#endif
#include <mjolnir/core/SimulatorTraits.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/input/read_local_interac... | #define BOOST_TEST_MODULE "test_read_dihedral_angle_interaction"
#ifdef BOOST_TEST_DYN_LINK
#include <boost/test/unit_test.hpp>
#else
#include <boost/test/included/unit_test.hpp>
#endif
#include <mjolnir/core/SimulatorTraits.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/input/read_local_interac... | add test code for Cosine Dihedral | test: add test code for Cosine Dihedral
| C++ | mit | ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir |
2146a89b9f5bd779fc1a969063bf794e96156c8f | benchmark/isa_arithmetic/isa_arithmetic.cpp | benchmark/isa_arithmetic/isa_arithmetic.cpp | // Copyright Steinwurf ApS 2011-2012.
// Distributed under the "STEINWURF RESEARCH LICENSE 1.0".
// See accompanying file LICENSE.rst or
// http://www.steinwurf.com/licensing
#include <ctime>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring> // for memset, memcmp
#include <vector>
#include <... | // Copyright Steinwurf ApS 2011-2012.
// Distributed under the "STEINWURF RESEARCH LICENSE 1.0".
// See accompanying file LICENSE.rst or
// http://www.steinwurf.com/licensing
#include <ctime>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring> // for memset, memcmp
#include <vector>
#include <... | Add separate benchmarks for ec_encode_data sse, avx and avx2 versions | Add separate benchmarks for ec_encode_data sse, avx and avx2 versions
| C++ | bsd-3-clause | steinwurf/storage-benchmarks,steinwurf/storage-benchmarks,steinwurf/storage-benchmarks,steinwurf/storage-benchmarks,steinwurf/storage-benchmarks,steinwurf/storage-benchmarks |
b6d24c6b35e6734d6009e9b841a66f81bc3d0423 | src/box2d.cpp | src/box2d.cpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as p... | remove cruft | remove cruft
| C++ | lgpl-2.1 | mapycz/python-mapnik,rouault/mapnik,CartoDB/mapnik,jwomeara/mapnik,Mappy/mapnik,yohanboniface/python-mapnik,yohanboniface/python-mapnik,yohanboniface/python-mapnik,qianwenming/mapnik,manz/python-mapnik,garnertb/python-mapnik,Airphrame/mapnik,tomhughes/mapnik,pnorman/mapnik,mapycz/mapnik,Uli1/mapnik,lightmare/mapnik,tom... |
06325798f007b571f1cfdb073995874de9d5aa29 | chrome/test/mini_installer_test/test.cc | chrome/test/mini_installer_test/test.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 "base/win_util.h"
#include "chrome/installer/util/install_util.h"
#include "chrome/test/mini_installer_test/mini_installer_test_constants... | // 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 "base/win_util.h"
#include "chrome/installer/util/install_util.h"
#include "chrome/test/mini_installer_test/mini_installer_test_constants... | Add a test case to be sure that InstallerUtil::IsOSSupported returns true for all the versions we support (or test on) | Add a test case to be sure that InstallerUtil::IsOSSupported returns
true for all the versions we support (or test on)
bug: 7735
Review URL: http://codereview.chromium.org/27171
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@10444 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,adobe/chromium,... |
2cec34808f8743131b483233bee5e7772d2761ce | tests/integrationtests/inviwo-integrationtests.cpp | tests/integrationtests/inviwo-integrationtests.cpp | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | Enable OpenGL debugging | IntegrationTests: Enable OpenGL debugging
| C++ | bsd-2-clause | inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo |
655474f4d2f6df8e5cefc18a8385a0b25ff4adb6 | src/Robot.cpp | src/Robot.cpp | #include "WPILib.h"
#include "../ADBLib/src/ADBLib.h"
#include "auton/AutoBot.h"
#include <unistd.h>
using namespace ADBLib;
#define CAM_FOV 57.0
#define CAM_XSIZE 1280.0
#define CAM_YSIZE 720.0
#define CAM_ANGRESO (CAM_FOV / CAM_XSIZE)
class Robot: public IterativeRobot
{
private:
TractionDrive* drivebase;
CANTalo... | #include "WPILib.h"
#include "../ADBLib/src/ADBLib.h"
#include "auton/AutoBot.h"
#include <unistd.h>
using namespace ADBLib;
#define CAM_FOV 57.0
#define CAM_XSIZE 1280.0
#define CAM_YSIZE 720.0
#define CAM_ANGRESO (CAM_FOV / CAM_XSIZE)
class Robot: public IterativeRobot
{
private:
TractionDrive* drivebase;
CANTalo... | Fix vision-based autorotate code. | Fix vision-based autorotate code.
Turns out that, despite the name of "GetNumberArray", GetNumberArray()
*actually* returns an std::vector, so sizeof(container)/sizeof(element) doesn't
work. Thanks to Mr. King for finding this!
| C++ | mit | Dreadbot/Dreadbot-VI |
d4c9161eb9e275489b8be906f3afd5b28bf7135f | tests/unit/operation/polygonize/PolygonizeTest.cpp | tests/unit/operation/polygonize/PolygonizeTest.cpp | // $Id$
//
// Test Suite for geos::operation::polygonize::Polygonizer class.
//
// Port of junit/operation/polygonize/PolygonizeTest.java
//
// tut
#include <tut.hpp>
// geos
#include <geos/operation/polygonize/Polygonizer.h>
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <geos/geom/P... | // $Id$
//
// Test Suite for geos::operation::polygonize::Polygonizer class.
//
// Port of junit/operation/polygonize/PolygonizeTest.java
//
// tut
#include <tut.hpp>
// geos
#include <geos/operation/polygonize/Polygonizer.h>
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <geos/geom/P... | Add port info | Add port info
git-svn-id: 6c2b1bd10c324c49ea9d9e6e31006a80e70507cb@3434 5242fede-7e19-0410-aef8-94bd7d2200fb
| C++ | lgpl-2.1 | CartoDB/libgeos,gtourkas/libgeos,manisandro/libgeos,CartoDB/libgeos,rkanavath/libgeos,mwtoews/libgeos,CartoDB/libgeos,WillieMaddox/libgeos,libgeos/libgeos,manisandro/libgeos,rkanavath/libgeos,CartoDB/libgeos,WillieMaddox/libgeos,mwtoews/libgeos,rkanavath/libgeos,libgeos/libgeos,kyroskoh/libgeos,mwtoews/libgeos,kyroskoh... |
166087c8f3fca8763a7a7e894034fcd45c13ffce | thrift/conformance/data/CompatibilityGenerator.cpp | thrift/conformance/data/CompatibilityGenerator.cpp | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* 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 appl... | Test custom default on new field | Test custom default on new field
Reviewed By: thedavekwon
Differential Revision: D38417566
fbshipit-source-id: 6bc258564f64d83e209a37ba2acba328690363b3
| C++ | apache-2.0 | facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift |
ae1fdc2107f94912b1e9cee01e2ff355a5de258b | libcontextprovider/src/context.cpp | libcontextprovider/src/context.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... | Make sure that the brief description of Context is a whole sentence. | Make sure that the brief description of Context is a whole sentence.
| C++ | lgpl-2.1 | rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck |
e19fab18c21cbe504ba3ba7b77c4e565e3ac44bc | libhoomd/analyzers/IMDInterface.cc | libhoomd/analyzers/IMDInterface.cc | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2008, 2009 Ames Laboratory
Iowa State University and The Regents of the University of Michigan All rights
reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to whic... | /*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2008, 2009 Ames Laboratory
Iowa State University and The Regents of the University of Michigan All rights
reserved.
HOOMD-blue may contain modifications ("Contributions") provided, and to whic... | Fix bug processing IMD_GO | Fix bug processing IMD_GO
git-svn-id: 4ba210d0a933e3fb1aa9ab096f190cd38965d92a@2839 fa922fa7-2fde-0310-acd8-f43f465a7996
| C++ | bsd-3-clause | joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue |
5cb89d115fa03bcda9171d24a6cd2a525406f1a6 | src/World.cpp | src/World.cpp | /*
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... | Improve log output | Improve log output
| C++ | agpl-3.0 | drobilla/ingen,drobilla/ingen,drobilla/ingen,drobilla/ingen |
d3e0d2e926eb79c7772d7df6ed443666e20a43b5 | library/Collections/Collection.cpp | library/Collections/Collection.cpp | ///////////////////////////////////////////////////////////////////////////////
//
// File: Collection.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College... | ///////////////////////////////////////////////////////////////////////////////
//
// File: Collection.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College... | Fix compile error. | Fix compile error.
| C++ | mit | certik/nektar,certik/nektar,certik/nektar |
a065c9fb86a78a627732e64623c79d82b1905c94 | src/Debug.cpp | src/Debug.cpp | /****************************************************************************
** libebml : parse EBML files, see http://embl.sourceforge.net/
**
** <file/class description>
**
** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved.
**
** This file is part of libebml.
**
** This library is free software; you can ... | /****************************************************************************
** libebml : parse EBML files, see http://embl.sourceforge.net/
**
** <file/class description>
**
** Copyright (C) 2002-2004 Steve Lhomme. All rights reserved.
**
** This file is part of libebml.
**
** This library is free software; you can ... | fix the WIN32 compilation detection | fix the WIN32 compilation detection
It's done that way in all the other places.
| C++ | lgpl-2.1 | Matroska-Org/libebml,Matroska-Org/libebml |
7a555b3a04f560245bdc7bd3366e3c08d585b6b7 | src/agent.cpp | src/agent.cpp | #include "agent.h"
#include "modules/echo.h"
#include "external_module.h"
#include "log.h"
#include "schemas.h"
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
namespace CthunAgent {
Agent::Agent() {
// declare internal modules
modules_["echo"] = std::unique_ptr<Module>(new Mo... | #include "agent.h"
#include "modules/echo.h"
#include "external_module.h"
#include "log.h"
#include "schemas.h"
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
namespace CthunAgent {
Agent::Agent() {
// declare internal modules
modules_["echo"] = std::unique_ptr<Module>(new Mo... | use a shared_ptr rather than a raw pointer | use a shared_ptr rather than a raw pointer
| C++ | apache-2.0 | puppetlabs/pxp-agent,puppetlabs/pxp-agent,puppetlabs/pxp-agent |
1f4f29c3efaa2a757f0b7635d5859a4f3259d3fd | src/alert.cpp | src/alert.cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2013 The PPCoin developers
// Copyright (c) 2013-2014 The ShinyCoin developers
#include "alert.h"
#include "key.h"
#include "kernel.h"
#include "checkpoints.h"
#include "ui_interface.h"
static const s... | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2013 The PPCoin developers
// Copyright (c) 2013-2014 The ShinyCoin developers
#include "alert.h"
#include "key.h"
#include "kernel.h"
#include "checkpoints.h"
#include "ui_interface.h"
static const s... | Fix to show progress bar when syncing for first time | Fix to show progress bar when syncing for first time
| C++ | mit | sunny-prince/shinycoin,sunny-prince/shinycoin,sunny-prince/shinycoin,sunny-prince/shinycoin |
3bb8b2ce002e37ffff127c85d663de0230a6cdeb | tensorflow/c/experimental/gradients/math_grad_test.cc | tensorflow/c/experimental/gradients/math_grad_test.cc | /* 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... | /* 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... | add `TestSqrtGrad` to `math_grad_test` | add `TestSqrtGrad` to `math_grad_test`
| C++ | apache-2.0 | annarev/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,petewarden/tensorflow,petewarden/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,yon... |
a42928acf901b5ab18594a6bd7d793df26c28bb7 | include/abc/testing/unit.hxx | include/abc/testing/unit.hxx | /* -*- coding: utf-8; mode: c++; tab-width: 3 -*-
Copyright 2013
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Soft... | /* -*- coding: utf-8; mode: c++; tab-width: 3 -*-
Copyright 2013
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Soft... | Move macro out of namespace | Move macro out of namespace
| C++ | lgpl-2.1 | raffaellod/lofty,raffaellod/lofty |
ecece7f8976c4da355443d998f5773a0598314a9 | tensorflow/core/kernels/data/parallel_map_iterator.cc | tensorflow/core/kernels/data/parallel_map_iterator.cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /* Copyright 2018 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... | Clear the invocation results in the buffer before retoring | Clear the invocation results in the buffer before retoring
| C++ | apache-2.0 | jhseu/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,gunan/tensorflow,yongtang/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,jhseu/tensorflow,xzturn/tensorflow,DavidNorman/tensor... |
14c52d931e62a6f421594486cd89d10d87fe50a5 | include/cybozu/exception.hpp | include/cybozu/exception.hpp | #pragma once
/**
@file
@brief definition of abstruct exception class
Copyright (C) 2008 Cybozu Labs, Inc., all rights reserved.
*/
#include <string>
#include <algorithm>
#include <sstream>
#include <errno.h>
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>
#else
#include <string.h> // for strerror_r
#endi... | #pragma once
/**
@file
@brief definition of abstruct exception class
Copyright (C) 2008 Cybozu Labs, Inc., all rights reserved.
*/
#include <string>
#include <algorithm>
#include <sstream>
#include <errno.h>
#include <stdio.h>
#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>
#else
#include <string.h> // f... | add include header | add include header
| C++ | bsd-3-clause | herumi/cybozulib,herumi/cybozulib |
a41a6b0eb27cd72666141654c192634c863e7e48 | include/libpc/exceptions.hpp | include/libpc/exceptions.hpp | /******************************************************************************
* $Id$
*
* Project: libLAS - http://liblas.org - A BSD library for LAS format data.
* Purpose: Exception subclasses for C++ libLAS
* Author: Mateusz Loskot, mateusz@loskot.net
*
***************************************************... | /******************************************************************************
* $Id$
*
* Project: libLAS - http://liblas.org - A BSD library for LAS format data.
* Purpose: Exception subclasses for C++ libLAS
* Author: Mateusz Loskot, mateusz@loskot.net
*
***************************************************... | add dimension_not_found exception | add dimension_not_found exception
| C++ | bsd-3-clause | boundlessgeo/PDAL,verma/PDAL,jwomeara/PDAL,Sciumo/PDAL,DougFirErickson/PDAL,verma/PDAL,radiantbluetechnologies/PDAL,verma/PDAL,verma/PDAL,mtCarto/PDAL,lucadelu/PDAL,lucadelu/PDAL,radiantbluetechnologies/PDAL,Sciumo/PDAL,lucadelu/PDAL,boundlessgeo/PDAL,boundlessgeo/PDAL,mpgerlek/PDAL-old,mtCarto/PDAL,DougFirErickson/PDA... |
53a1cbf92cddb6e790b8b8703e059cca1e264684 | include/mckl/random/seed.hpp | include/mckl/random/seed.hpp | //============================================================================
// MCKL/include/mckl/random/seed.hpp
//----------------------------------------------------------------------------
// MCKL: Monte Carlo Kernel Library
//----------------------------------------------------------------------------
// Copyrig... | //============================================================================
// MCKL/include/mckl/random/seed.hpp
//----------------------------------------------------------------------------
// MCKL: Monte Carlo Kernel Library
//----------------------------------------------------------------------------
// Copyrig... | add a seed_type for scalar seed generator | add a seed_type for scalar seed generator
| C++ | bsd-2-clause | zhouyan/MCKL,zhouyan/MCKL,zhouyan/MCKL,zhouyan/MCKL |
e29d7ad8997a693987b02b144a90b25be59c9836 | indra/llcommon/nd/ndfile.cpp | indra/llcommon/nd/ndfile.cpp | /**
* $LicenseInfo:firstyear=2013&license=fsviewerlgpl$
* Phoenix Firestorm Viewer Source Code
* Copyright (C) 2013, Nicky Dasmijn
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;... | /**
* $LicenseInfo:firstyear=2013&license=fsviewerlgpl$
* Phoenix Firestorm Viewer Source Code
* Copyright (C) 2013, Nicky Dasmijn
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;... | Make less calls to LLFile::isFile. | Make less calls to LLFile::isFile.
| C++ | lgpl-2.1 | gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm |
af485c03b9d43d752156fa2973dca50470554a54 | indra/newview/llvoclouds.cpp | indra/newview/llvoclouds.cpp | /**
* @file llvoclouds.cpp
* @brief Implementation of LLVOClouds class which is a derivation fo LLViewerObject
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* m... | /**
* @file llvoclouds.cpp
* @brief Implementation of LLVOClouds class which is a derivation fo LLViewerObject
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* m... | Fix for classic clouds being busted. | Fix for classic clouds being busted.
| C++ | lgpl-2.1 | gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm |
12a282c758c571e4b802d02555dd30b668cdfa47 | ink_stroke_modeler/params.cc | ink_stroke_modeler/params.cc | // Copyright 2022 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 2022 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 mislabeled output in ValidateSamplingParams | Fix mislabeled output in ValidateSamplingParams
PiperOrigin-RevId: 438083113
| C++ | apache-2.0 | google/ink-stroke-modeler,google/ink-stroke-modeler |
c7fe29f3fae47aca4274552500ddc7f3344421b5 | assets/code/cpp/macro_yield.cpp | assets/code/cpp/macro_yield.cpp | // clang -std=c++17 -lstdc++ prod.cpp -o prod && ./prod
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <functional>
#include <memory>
#include <string>
#include <tuple>
#include <typeinfo>
#include <utility>
#include <vector>
using namespace std;
template<typename T>
void print(vector<T>& vec) {
... | // clang -std=c++17 -lstdc++ prod.cpp -o prod && ./prod
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <functional>
#include <memory>
#include <string>
#include <tuple>
#include <typeinfo>
#include <utility>
#include <vector>
using namespace std;
template<typename T>
void print(vector<T>& vec) {
... | Update macro_yield.cpp | Update macro_yield.cpp | C++ | mit | FiveEye/FiveEye.github.io |
75102608425f73902f67c6e87c0b6ce45a27396e | src/streams/arinputstream.cpp | src/streams/arinputstream.cpp | /* This file is part of Strigi Desktop Search
*
* Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 ... | /* This file is part of Strigi Desktop Search
*
* Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 ... | remove debug message | remove debug message
svn path=/trunk/kdesupport/strigi/; revision=694509
| C++ | lgpl-2.1 | KDE/strigi |
dbc945b26bab4cf755c9ad4a30974f78bdc0c4a0 | test.cpp | test.cpp | #define CATCH_CONFIG_MAIN
#include <catch.hpp>
#include <string>
#include <sstream>
#include "nicestream.hpp"
using namespace nstr;
TEST_CASE("Regex parsing", "[regex]") {
// simple literals
CHECK_NOTHROW(sep("abcdz!!--<>\n\t^^^"));
CHECK_NOTHROW(sep("abc\\.\\*\\?\\+\\[\\"));
CHECK_NOTHROW(sep("(abca... | #define CATCH_CONFIG_MAIN
#include <catch.hpp>
#include <string>
#include <sstream>
#include "nicestream.hpp"
using namespace nstr;
typedef std::stringstream sstr;
TEST_CASE("Regex parsing", "[regex]") {
// simple literals
CHECK_NOTHROW(sep("abcdz!!--<>\n\t^^^"));
CHECK_NOTHROW(sep("abc\\.\\*\\?\\+\\[\\"... | Add tests for skip. | Add tests for skip.
| C++ | mit | lipk/nicestream |
266365bcb911b6a4b9def3c20641e3c35b88696e | c_src/DbOpenTask.cpp | c_src/DbOpenTask.cpp | /**
* This file is a part of Kyte released under the MIT licence.
* See the LICENCE file for more information
*/
#include "DbOpenTask.h"
#include <stdio.h>
#include <string.h>
namespace kyte {
using kyotocabinet::PolyDB;
DbOpenTask::DbOpenTask() {
_DbFile[0] = '\0';
}
DbOpenTask::~DbOpenTask() {}
void Db... | /**
* This file is a part of Kyte released under the MIT licence.
* See the LICENCE file for more information
*/
#include "DbOpenTask.h"
#include <stdio.h>
#include <string.h>
namespace kyte {
using kyotocabinet::PolyDB;
DbOpenTask::DbOpenTask() {
_DbFile[0] = '\0';
}
DbOpenTask::~DbOpenTask() {}
void Db... | Add auto transaction option. It doesn't cause performance degradation and fixes long startup when the db wasn't close properly | Add auto transaction option. It doesn't cause performance degradation and fixes long startup when the db wasn't close properly
| C++ | mit | RGafiyatullin/kyte,RGafiyatullin/kyte,RGafiyatullin/kyte |
c8d422e889e7f4cb6cec4cf7ebc9ea12d0ceb309 | ksp_plugin_test/pile_up_test.cpp | ksp_plugin_test/pile_up_test.cpp | #include "ksp_plugin/pile_up.hpp"
#include "ksp_plugin/part.hpp"
#include "geometry/named_quantities.hpp"
#include "geometry/r3_element.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/si.hpp"
#include "testing_utilities/almost_equals.hpp"
#include "testing_utilities/componentwise.hpp"
name... | #include "ksp_plugin/pile_up.hpp"
#include "ksp_plugin/part.hpp"
#include "geometry/named_quantities.hpp"
#include "geometry/r3_element.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/si.hpp"
#include "testing_utilities/almost_equals.hpp"
#include "testing_utilities/componentwise.hpp"
name... | Test tolerances. | Test tolerances.
| C++ | mit | pleroy/Principia,pleroy/Principia,mockingbirdnest/Principia,eggrobin/Principia,mockingbirdnest/Principia,pleroy/Principia,eggrobin/Principia,mockingbirdnest/Principia,pleroy/Principia,eggrobin/Principia,mockingbirdnest/Principia |
263e7c68f4ed1901a91b96a87ac45a1fe002757c | src/console.cpp | src/console.cpp | //=======================================================================
// Copyright (c) 2013-2014 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=================================================================... | //=======================================================================
// Copyright (c) 2013-2014 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=================================================================... | Use STL | Use STL
| C++ | mit | wichtounet/budgetwarrior,wichtounet/budgetwarrior,wichtounet/budgetwarrior |
6a1755ae00e11289ebf5f8a1bd4573e59c48273c | src/test/rpc_wallet_tests.cpp | src/test/rpc_wallet_tests.cpp | // Copyright (c) 2013-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
#include "base58.h"
#include "main.h"
#include "wallet/wallet.h"
#include "te... | // Copyright (c) 2013-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpcserver.h"
#include "rpcclient.h"
#include "base58.h"
#include "main.h"
#include "wallet/wallet.h"
#include "te... | Fix fatal error in test. | Fix fatal error in test.
| C++ | mit | vcoin-project/vcoincore,TrainMAnB/vcoincore,TrainMAnB/vcoincore,vcoin-project/vcoincore,TrainMAnB/vcoincore,vcoin-project/vcoincore,TrainMAnB/vcoincore,TrainMAnB/vcoincore,TrainMAnB/vcoincore,vcoin-project/vcoincore,vcoin-project/vcoincore,vcoin-project/vcoincore |
36f69815336a0bd5424e88a5b29e488631791ae4 | src/video_annotator/player.cc | src/video_annotator/player.cc | #include "fish_annotator/video_annotator/player.h"
#include <QTime>
#include <QCoreApplication>
#include <QEventLoop>
#include <QMutexLocker>
namespace fish_annotator { namespace video_annotator {
Player::Player()
: QObject()
, video_path_()
, frame_rate_(0.0)
, stopped_(true)
, image_()
, current_speed_... | #include "fish_annotator/video_annotator/player.h"
#include <QTime>
#include <QCoreApplication>
#include <QEventLoop>
#include <QMutexLocker>
namespace fish_annotator { namespace video_annotator {
Player::Player()
: QObject()
, video_path_()
, frame_rate_(0.0)
, stopped_(true)
, image_()
, current_speed_... | Set delay | Set delay
| C++ | mit | BGWoodward/FishDetector |
dae5a783b181da8cc56c6180f01b8067a4ecc107 | src/vk0.10-pipeline_cache.cpp | src/vk0.10-pipeline_cache.cpp | /*
* Vulkan Samples Kit
*
* Copyright (C) 2016 Valve Corporation
* Copyright (C) 2016 Google, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including wit... | /*
* Vulkan Samples Kit
*
* Copyright (C) 2016 Valve Corporation
* Copyright (C) 2016 Google, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including wit... | Update pipeline cache memory layout | samples: Update pipeline cache memory layout
| C++ | apache-2.0 | Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples |
7c04af7f6b4a0f120fc1d9850683cba0605763ed | pam_ldapdb.cpp | pam_ldapdb.cpp | #include <map>
#include <string>
#include <utility>
#define PAM_SM_AUTH
#include <security/pam_modules.h>
#include <security/pam_ext.h>
#define LDAP_DEPRECATED 1
#include <ldap.h>
typedef std::map<std::string, std::string> ArgMap;
static int ldap_to_pam_rc(int ldap_rc)
{
switch (ldap_rc) {
case LDAP_SUCCESS... | #include <map>
#include <string>
#include <utility>
#define PAM_SM_AUTH
#include <security/pam_modules.h>
#include <security/pam_ext.h>
#define LDAP_DEPRECATED 1
#include <ldap.h>
typedef std::map<std::string, std::string> ArgMap;
static int ldap_to_pam_rc(int ldap_rc)
{
switch (ldap_rc) {
case LDAP_SUCCESS... | fix unused parameter warnings | pam_ldapdb: fix unused parameter warnings
Comment-out paramter names whch are unused in their functions.
This fixes following warnings:
pam_ldapdb.cpp: In function ‘int pam_sm_authenticate(pam_handle_t*, int, int, const char**)’:
pam_ldapdb.cpp:90:40: warning: unused parameter ‘flags’ [-Wunused-parameter]
... | C++ | mit | rmbreak/pam_ldapdb |
bf77fd7f3a756b0e3606e57572d1d202a2ed5bf2 | libcontextsubscriber/unit-tests/infoxmlbackend/infoxmlbackendunittest.cpp | libcontextsubscriber/unit-tests/infoxmlbackend/infoxmlbackendunittest.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... | Test providers() more carefully in dynamics(). | Test providers() more carefully in dynamics().
| C++ | lgpl-2.1 | rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck,rburchell/ck |
5804aee7eaa5c05c5f783aa9590855815f338b32 | src/io/io.cpp | src/io/io.cpp | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Aristid Breitkreuz, Ruediger Sonderfeld
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 wit... | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Aristid Breitkreuz, Ruediger Sonderfeld
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 wit... | add stdin/stdout/stderr | IO: add stdin/stdout/stderr
| C++ | mit | Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd |
c3a95cea3e6359b26ed59cf0443738b5d20c24c2 | src/music.cpp | src/music.cpp | #include "music.h"
#include <string>
#include <iostream>
#include "globals.h"
// #include "defs.h"
#include "configuration.h"
#include "util/thread.h"
#include "util/funcs.h"
#include "util/file-system.h"
#include "util/music-player.h"
using namespace std;
static Music * instance = NULL;
static double volume = 1.0;... | #include "music.h"
#include <string>
#include <iostream>
#include "globals.h"
// #include "defs.h"
#include "configuration.h"
#include "util/thread.h"
#include "util/funcs.h"
#include "util/file-system.h"
#include "util/music-player.h"
using namespace std;
static Music * instance = NULL;
static double volume = 1.0;... | disable music fading | disable music fading
git-svn-id: 39e099a8ed5324aded674b764a67f7a08796d9a7@5069 662fdd30-d327-0410-a531-f549c87e1e9e
| C++ | bsd-3-clause | Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown |
12e4b971ba5aa30d78cbb3e6b2bb9353a02c37b4 | ssdb-1.9.2/src/ssdb/t_set.cpp | ssdb-1.9.2/src/ssdb/t_set.cpp | //
// Created by a1 on 16-11-21.
//
#include "ssdb_impl.h"
int SSDBImpl::GetSetMetaVal(const std::string &meta_key, SetMetaVal &sv){
std::string meta_val;
leveldb::Status s = ldb->Get(leveldb::ReadOptions(), meta_key, &meta_val);
if (s.IsNotFound()){
return 0;
} else if (!s.ok() && !s.IsNotFoun... | //
// Created by a1 on 16-11-21.
//
#include "ssdb_impl.h"
int SSDBImpl::GetSetMetaVal(const std::string &meta_key, SetMetaVal &sv){
std::string meta_val;
leveldb::Status s = ldb->Get(leveldb::ReadOptions(), meta_key, &meta_val);
if (s.IsNotFound()){
return 0;
} else if (!s.ok() && !s.IsNotFoun... | 修改sunionstore 接口 | 修改sunionstore 接口
| C++ | bsd-2-clause | JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb,JRHZRD/swapdb |
5f08c86930554c68836c7d0089c11b5d19a22304 | src/gnoproj.hpp | src/gnoproj.hpp | /*
* gnoproj
*
* Copyright (c) 2013-2014 FOXEL SA - http://foxel.ch
* Please read <http://foxel.ch/license> for more information.
*
*
* Author(s):
*
* Stéphane Flotron <s.flotron@foxel.ch>
*
* Contributor(s):
*
* Luc Deschenaux <luc.deschenaux@foxel.ch>
*
*
* This file is part of the FOXEL pro... | /*
* gnoproj
*
* Copyright (c) 2013-2014 FOXEL SA - http://foxel.ch
* Please read <http://foxel.ch/license> for more information.
*
*
* Author(s):
*
* Stéphane Flotron <s.flotron@foxel.ch>
*
* Contributor(s):
*
* Luc Deschenaux <luc.deschenaux@foxel.ch>
*
*
* This file is part of the FOXEL pro... | add include for opencv backward compatibility | add include for opencv backward compatibility
| C++ | agpl-3.0 | FoxelSA/gnoproj,FoxelSA/gnoproj |
e471a3055ec22823c9d46edb40277faaa1111427 | src/i2c/i2c.cxx | src/i2c/i2c.cxx | /*
* Copyright (C) Intel Corporation.
*
* Author: Brendan Le Foll
*
* Copyright © 2014 Intel Corporation
*
* Permission is hereby granted, free of charge, t... | /*
* Copyright (C) Intel Corporation.
*
* Author: Brendan Le Foll
*
* Copyright © 2014 Intel Corporation
*
* Permission is hereby granted, free of charge, t... | remove unecessary include | i2c.cxx: remove unecessary include
Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>
| C++ | mit | arunlee77/mraa,Pillar1989/mraa,yongli3/mraa,spitfire88/mraa,pctj101/mraa,stefan-andritoiu/mraa,allela-roy/mraa,yoyojacky/mraa,tripzero/mraa,yongli3/mraa,intel-iot-devkit/mraa,g-vidal/mraa,yongli3/mraa,nioinnovation/mraa,malikabhi05/mraa,noahchense/mraa,allela-roy/mraa,ProfFan/mraa,smileboywtu/mraa,Kiritoalex/mraa,arfol... |
01c72674a4db50f61e783e3934f0e29ad5eb2d23 | src/python.cc | src/python.cc | /*
* python.cc
*
* This python module lets us easily test libchecksieve using python. The
* 'test' target will automatically compile this against libchecksieve.a
*/
#include <Python.h>
#include "checksieve.h"
#include "sieve_driver.hh"
static PyObject *parse_string(PyObject *self, PyObject *args) {
const ch... | /*
* python.cc
*
* This python module lets us easily test libchecksieve using python. The
* 'test' target will automatically compile this against libchecksieve.a
*/
#include <Python.h>
#include "checksieve.h"
#include "sieve_driver.hh"
static PyObject *parse_string(PyObject *, PyObject *);
static PyMethodDef c... | Add support for python 3 in unit test C extension. | Add support for python 3 in unit test C extension.
| C++ | mit | dburkart/check-sieve,dburkart/check-sieve,dburkart/mail-sieve-verifier,dburkart/mail-sieve-verifier,dburkart/check-sieve |
c6226c43d7f3e52550f1bb7e0be581dead7d357e | src/iterator.cc | src/iterator.cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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
*
* h... | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, 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
*
* h... | return seqnum in fdb_iterator_next | MB-10676: return seqnum in fdb_iterator_next
Change-Id: I7d5ee7af37face7ed5e13402b14c02f0a7ce5651
| C++ | apache-2.0 | nvoron23/forestdb,joliss/forestdb,sushmaad/forestdb,uvenum/forestdb,wurikiji/forestdb,nvoron23/forestdb,seem-sky/forestdb,sushmaad/forestdb,couchbase/forestdb,jinxuan/forestdb,hisundar/forestdb,seem-sky/forestdb,yyangpan/forestdb,jinxuan/forestdb,joliss/forestdb,yyangpan/forestdb,wurikiji/forestdb,zhaog/forestdb,hisund... |
80c89a8f1cc039b82457285ecb4566a60aec2505 | common/cmt_io.hpp | common/cmt_io.hpp | #pragma once
//=====================================================================//
/*! @file
@brief RX62N, RX621, RX63T, RX64M グループ・CMT I/O 制御 @n
Copyright 2013 Kunihito Hiramatsu
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include "common/rene... | #pragma once
//=====================================================================//
/*! @file
@brief RX62N, RX621, RX63T, RX64M グループ・CMT I/O 制御 @n
Copyright 2013 Kunihito Hiramatsu
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include "common/rene... | update interrupt handling | update interrupt handling
| C++ | bsd-3-clause | hirakuni45/RX,hirakuni45/RX,hirakuni45/RX,hirakuni45/RX |
d5fc8c2a9ac0e9750afd49b7d14cd00f4c4a41e0 | Core/Code/Interactions/mitkDisplayPositionEvent.cpp | Core/Code/Interactions/mitkDisplayPositionEvent.cpp | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
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... | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
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... | FIX (#2448): Set flag indicating completed position/object picking only after call to picking | FIX (#2448): Set flag indicating completed position/object picking only after call to picking
| C++ | bsd-3-clause | MITK/MITK,lsanzdiaz/MITK-BiiG,MITK/MITK,fmilano/mitk,MITK/MITK,NifTK/MITK,lsanzdiaz/MITK-BiiG,iwegner/MITK,danielknorr/MITK,RabadanLab/MITKats,iwegner/MITK,RabadanLab/MITKats,rfloca/MITK,nocnokneo/MITK,RabadanLab/MITKats,iwegner/MITK,fmilano/mitk,fmilano/mitk,nocnokneo/MITK,lsanzdiaz/MITK-BiiG,NifTK/MITK,lsanzdiaz/MITK... |
aa7c62a31dbd08bf65d786aaf297b0b4f40a7bdf | pink/src/pink_cli.cc | pink/src/pink_cli.cc | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pink/include/pin... | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pink/include/pin... | update PinkCli available when send or recv failed | update PinkCli available when send or recv failed
| C++ | bsd-3-clause | Qihoo360/pink,Qihoo360/pink,Qihoo360/pink |
b0b68785f9855bb26729ebca343d825256a4de4b | base/clipboard_unittest.cc | base/clipboard_unittest.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 <string>
#include "base/basictypes.h"
#include "base/clipboard.h"
#include "base/platform_test.h"
#include "base/scoped_clipboard_write... | // 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 <string>
#include "base/basictypes.h"
#include "base/clipboard.h"
#include "base/platform_test.h"
#include "base/scoped_clipboard_write... | disable some tests while I debug offline | disable some tests while I debug offline
TBR=estade
Review URL: http://codereview.chromium.org/11258
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@5664 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | Pluto-tv/chromium-crosswalk,ltilve/chromium,anirudhSK/chromium,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,anirudhSK/chromium,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,Jonekee/chromium.src,robclark/chromium,dednal/chromium.src,timopulkkinen/BubbleFish,junmin-zhu/chromium-rivertrail,mogoweb/chromium-crosswalk,lt... |
d7a26ab71541f2653ede00db423c07ee00a10ac7 | src/skirt.cpp | src/skirt.cpp | /** Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License */
#include "skirt.h"
#include "support.h"
namespace cura {
void generateSkirt(SliceDataStorage& storage, int distance, int extrusionWidth, int count, int minLength, int initialLayerHeight)
{
bool externalOnly = (distance > 0);
fo... | /** Copyright (C) 2013 David Braam - Released under terms of the AGPLv3 License */
#include "skirt.h"
#include "support.h"
namespace cura {
void generateSkirt(SliceDataStorage& storage, int distance, int extrusionWidth, int count, int minLength, int initialLayerHeight)
{
bool externalOnly = (distance > 0);
fo... | Improve skirt handling with support material | Improve skirt handling with support material
| C++ | agpl-3.0 | pratikshashroff/pcura,alephobjects/CuraEngine,electrocbd/CuraEngine,totalretribution/CuraEngine,foosel/CuraEngine,electrocbd/CuraEngine,phonyphonecall/CuraEngine,Ultimaker/CuraEngine,pratikshashroff/pcura,mspark93/CuraEngine,alephobjects/CuraEngine,markwal/CuraEngine,be3d/CuraEngine,phonyphonecall/CuraEngine,fxtentacle... |
0f14a75da2a7368f93f0a738c2546078eb387840 | src/chain.cpp | src/chain.cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
/**
* CChain implementation
*/
void CChain::SetTip(CBlockIn... | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h>
/**
* CChain implementation
*/
void CChain::SetTip(CBlockIn... | fix typo in comment of chain.cpp | fix typo in comment of chain.cpp
| C++ | mit | chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin |
0aa0af8b0f8996a46e95bd34d906ad8076641261 | src/sqldb.cpp | src/sqldb.cpp |
#include "sqldb.h"
#include "exception.h"
#include "session.h"
#include "session_factory.h"
namespace coda {
namespace db {
namespace impl {
std::unordered_map<std::string, std::shared_ptr<session_factory>> factories;
}
std::shared_ptr<session> create_session(const std::strin... |
#include "sqldb.h"
#include "exception.h"
#include "session.h"
#include "session_factory.h"
namespace coda {
namespace db {
namespace impl {
static std::unordered_map<std::string, std::shared_ptr<session_factory>> factories;
}
std::shared_ptr<session> create_session(const std... | Update variable | Update variable
| C++ | mit | ryjen/arg3db,c0der78/arg3db |
eebc9748d2ea26a7b5af246dba115103d6bb15db | basic/source/inc/token.hxx | basic/source/inc/token.hxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | Fix MSVC build: #undef EXPLICIT (which gets defined as 'explicit' somewhere) | Fix MSVC build: #undef EXPLICIT (which gets defined as 'explicit' somewhere)
Change-Id: I83f6dff2a01d6d7806b2d2f4e6415aee10933e14
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
36ee23e71bbe55aa39a95212b673ea484ec77614 | modules/planning/toolkits/smoothers/smoother.cc | modules/planning/toolkits/smoothers/smoother.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
... | change previous trajectory to reference to avoid copy. | planning: change previous trajectory to reference to avoid copy.
| C++ | apache-2.0 | wanglei828/apollo,ycool/apollo,jinghaomiao/apollo,jinghaomiao/apollo,xiaoxq/apollo,xiaoxq/apollo,ApolloAuto/apollo,jinghaomiao/apollo,wanglei828/apollo,ApolloAuto/apollo,jinghaomiao/apollo,ycool/apollo,ycool/apollo,ycool/apollo,jinghaomiao/apollo,wanglei828/apollo,xiaoxq/apollo,ApolloAuto/apollo,wanglei828/apollo,ycool... |
f917191d462d9bd07fcee7face1252719decf801 | jpegenc/jpegenc/dtc/Arai.cpp | jpegenc/jpegenc/dtc/Arai.cpp | #include "Arai.hpp"
#include <math.h>
#define A1 0.707107
#define A2 0.541197
#define A3 0.707107
#define A4 1.306563
#define A5 0.382683
#define S0 0.353553
#define S1 0.254898
#define S2 0.270598
#define S3 0.300672
#define S4 0.353553
#define S5 0.449988
#define S6 0.653282
#define S7 1.28146
void Arai::transform... | #include "Arai.hpp"
#include <math.h>
#define A1 0.707107
#define A2 0.541197
#define A3 0.707107
#define A4 1.306563
#define A5 0.382683
#define S0 0.353553
#define S1 0.254898
#define S2 0.270598
#define S3 0.300672
#define S4 0.353553
#define S5 0.449988
#define S6 0.653282
#define S7 1.28146
/* Effizienz
13 x ... | Simplify Arai and describe efficiency | Simplify Arai and describe efficiency
| C++ | mit | relikd/jpeg-encoder,relikd/jpeg-encoder |
fdb24976962d3cc8f6397559b222ec96e9642655 | p6-Extended-Kalman-Filter/src/kalman_filter.cpp | p6-Extended-Kalman-Filter/src/kalman_filter.cpp | #include "kalman_filter.h"
using Eigen::MatrixXd;
using Eigen::VectorXd;
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::Init(VectorXd &x_in, MatrixXd &P_in, MatrixXd &F_in,
MatrixXd &H_in, MatrixXd &R_in, MatrixXd &Q_in) {
x_ = x_in;
P_ = P_in;
F_ =... | #include "kalman_filter.h"
using Eigen::MatrixXd;
using Eigen::VectorXd;
KalmanFilter::KalmanFilter() {}
KalmanFilter::~KalmanFilter() {}
void KalmanFilter::Init(VectorXd &x_in, MatrixXd &P_in, MatrixXd &F_in,
MatrixXd &H_in, MatrixXd &R_in, MatrixXd &Q_in) {
x_ = x_in; // object state
... | update Kalman filter | update Kalman filter
--> Add english explanation to variable names
--> Predict()
--> Update()
--> UpdateEKF() // working
| C++ | mit | swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegree-nd013,swirlingsand/self-driving-car-nanodegr... |
da0f02f9b2359cc2ad7f4a84aebbbeedc6d655a5 | bench/MathBench.cpp | bench/MathBench.cpp | #include "SkBenchmark.h"
#include "SkColorPriv.h"
#include "SkMatrix.h"
#include "SkRandom.h"
#include "SkString.h"
#include "SkPaint.h"
class MathBench : public SkBenchmark {
enum {
kBuffer = 100,
kLoop = 10000
};
SkString fName;
float fSrc[kBuffer], fDst[kBuffer];
public:
... | #include "SkBenchmark.h"
#include "SkColorPriv.h"
#include "SkMatrix.h"
#include "SkRandom.h"
#include "SkString.h"
#include "SkPaint.h"
static float sk_fsel(float pred, float result_ge, float result_lt) {
return pred >= 0 ? result_ge : result_lt;
}
static float fast_floor(float x) {
float big = sk_fsel(x, 0x... | add bench for floor variants | add bench for floor variants
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4065 2bbb7eff-a529-9590-31e7-b0007b416f81
| C++ | bsd-3-clause | MatChung/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,hbwhlklive/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,... |
5c2e3b25facf878cafff7499d901de27a27645ff | src/window.cc | src/window.cc | #include "window.hh"
#include "assert.hh"
#include "context.hh"
#include "highlighter.hh"
#include "hook_manager.hh"
#include <algorithm>
#include <sstream>
namespace Kakoune
{
// Implementation in highlighters.cc
void highlight_selections(const Window& window, DisplayBuffer& display_buffer);
void expand_tabulation... | #include "window.hh"
#include "assert.hh"
#include "context.hh"
#include "highlighter.hh"
#include "hook_manager.hh"
#include <algorithm>
#include <sstream>
namespace Kakoune
{
// Implementation in highlighters.cc
void highlight_selections(const Window& window, DisplayBuffer& display_buffer);
void expand_tabulation... | use AtomContent::length in scroll_to_keep_cursor_visible_ifn | Window: use AtomContent::length in scroll_to_keep_cursor_visible_ifn
| C++ | unlicense | flavius/kakoune,Asenar/kakoune,alexherbo2/kakoune,mawww/kakoune,elegios/kakoune,ekie/kakoune,alexherbo2/kakoune,danr/kakoune,mawww/kakoune,alpha123/kakoune,alexherbo2/kakoune,casimir/kakoune,ekie/kakoune,Asenar/kakoune,zakgreant/kakoune,occivink/kakoune,jjthrash/kakoune,casimir/kakoune,Asenar/kakoune,jjthrash/kakoune,x... |
4833621f9b137824296d2c024862b23e0bb9f38a | src/worker.cc | src/worker.cc | #include <node.h>
#include <nan.h>
#include "./pow.h"
using node::Buffer;
using v8::Handle;
using v8::Local;
using v8::FunctionTemplate;
using v8::Function;
using v8::Value;
using v8::Object;
using v8::String;
using v8::Number;
static const uint64_t MAX_SAFE_INTEGER = 9007199254740991ULL;
class PowWorker : public Na... | #include <node.h>
#include <nan.h>
#include "./pow.h"
using v8::Handle;
using v8::Local;
using v8::FunctionTemplate;
using v8::Function;
using v8::Value;
using v8::Object;
using v8::String;
using v8::Number;
static const uint64_t MAX_SAFE_INTEGER = 9007199254740991ULL;
class PowWorker : public NanAsyncWorker {
publ... | Use node::Buffer directly, fix arg check | Use node::Buffer directly, fix arg check
It was failing on node 0.12.
| C++ | cc0-1.0 | bitchan/bitmessage,bitchan/bitmessage,bitchan/bitmessage,bitchan/bitmessage |
89f331076e1fc1e8906f47e7d9533d4e20fb5818 | src/xSW01.cpp | src/xSW01.cpp | /*
This is a library for the SW01
DIGITAL HUMIDITY, PRESSURE AND TEMPERATURE SENSOR
The board uses I2C for communication.
The board communicates with the following I2C device:
- BME280
Data Sheets:
BME280 - https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
*/
#include ... | /*
This is a library for the SW01
DIGITAL HUMIDITY, PRESSURE AND TEMPERATURE SENSOR
The board uses I2C for communication.
The board communicates with the following I2C device:
- BME280
Data Sheets:
BME280 - https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf
*/
#include ... | Update xSW01.cpp | Update xSW01.cpp | C++ | mit | xinabox/xSW01 |
c1d67393d9efe86a581058521a850f4e435500a2 | src2/main.cpp | src2/main.cpp | #include <cstdio>
#include <string>
#include <regex>
#include <fstream>
#include <sys/stat.h>
#include <unistd.h>
// http://tclap.sourceforge.net/manual.html
#include "tclap/CmdLine.h"
#include "HCIDumpParser.h"
#include "MsgPublisherTypeConstraint.h"
static HCIDumpParser parserLogic;
#define STOP_MARKER_FILE "STOP"
... | #include <cstdio>
#include <string>
#include <regex>
#include <fstream>
#include <sys/stat.h>
#include <unistd.h>
// http://tclap.sourceforge.net/manual.html
#include "tclap/CmdLine.h"
#include "HCIDumpParser.h"
#include "MsgPublisherTypeConstraint.h"
static HCIDumpParser parserLogic;
#define STOP_MARKER_FILE "STOP"
... | Add a generateTestData flag | Add a generateTestData flag
| C++ | apache-2.0 | starksm64/NativeRaspberryPiBeaconParser,starksm64/NativeRaspberryPiBeaconParser,starksm64/NativeRaspberryPiBeaconParser,starksm64/NativeRaspberryPiBeaconParser,starksm64/NativeRaspberryPiBeaconParser |
091b215041ca3b552bdbf0c50bfc2e55afa29bfd | apps/ConnectionHost.cpp | apps/ConnectionHost.cpp | /** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#include <ogvr/Plu... | /** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#include <ogvr/Plu... | Reduce the number of loops for debugging. | Reduce the number of loops for debugging.
| C++ | apache-2.0 | OSVR/OSVR-Core,feilen/OSVR-Core,d235j/OSVR-Core,leemichaelRazer/OSVR-Core,d235j/OSVR-Core,godbyk/OSVR-Core,Armada651/OSVR-Core,godbyk/OSVR-Core,leemichaelRazer/OSVR-Core,d235j/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,feilen/OSVR-Core,godbyk/OSVR-Core,feilen/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,Armada651/OSVR-Core... |
3d8b3708771343e7120718fef9866ddda9d230d5 | audio/audio_decoder.cpp | audio/audio_decoder.cpp | // This file is part of Playslave-C++.
// Playslave-C++ is licenced under the MIT license: see LICENSE.txt.
/**
* @file
* Implementation of the AudioDecoder class.
* @see audio/audio_decoder.hpp
*/
#include <functional>
#include <string>
#include <memory>
#include <cstdlib>
#include <cstdint>
#include <iostream>
... | // This file is part of Playslave-C++.
// Playslave-C++ is licenced under the MIT license: see LICENSE.txt.
/**
* @file
* Implementation of the AudioDecoder class.
* @see audio/audio_decoder.hpp
*/
#include <functional>
#include <string>
#include <memory>
#include <cstdlib>
#include <cstdint>
#include <iostream>
... | Remove erroneous comment. | Remove erroneous comment.
| C++ | mit | LordAro/ury-playd,LordAro/ury-playd,LordAro/ury-playd |
53185fde11cfd97fdd2f5c4787b3f7d1d6031461 | paddle/fluid/operators/math/sequence_pooling.cc | paddle/fluid/operators/math/sequence_pooling.cc | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | Rewrite sequence pooling last and first mode with memcpy and clean code | Rewrite sequence pooling last and first mode with memcpy and clean code
| C++ | apache-2.0 | PaddlePaddle/Paddle,reyoung/Paddle,tensor-tang/Paddle,baidu/Paddle,tensor-tang/Paddle,PaddlePaddle/Paddle,tensor-tang/Paddle,luotao1/Paddle,reyoung/Paddle,tensor-tang/Paddle,chengduoZH/Paddle,luotao1/Paddle,baidu/Paddle,PaddlePaddle/Paddle,reyoung/Paddle,luotao1/Paddle,reyoung/Paddle,chengduoZH/Paddle,reyoung/Paddle,ch... |
cef3f631cbafe79a733d7e3622de28db10b580ec | platform/shared/common/RhoThread.cpp | platform/shared/common/RhoThread.cpp | /*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | /*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | fix racing issue in RhoThread | fix racing issue in RhoThread
| C++ | mit | UIKit0/rhodes,louisatome/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,louisatome/rhodes,UIKit0/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,louisatome/rhodes,UIKit0/rhodes,UIKit0/rhodes,rhosilver/rhodes-1,louisatome/rhodes,louisatome/rhodes,louisatome/rhodes,louisatome/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,UIKit0/rho... |
622fdaed2e92f837eecea358a5c3683041630018 | plugin/hdCycles/resourceRegistry.cpp | plugin/hdCycles/resourceRegistry.cpp | // Copyright 2021 Tangent Animation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | // Copyright 2021 Tangent Animation
//
// 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 resource registry comments | update resource registry comments
| C++ | apache-2.0 | tangent-opensource/hdBlackbird,tangent-opensource/hdBlackbird,tangent-opensource/hdBlackbird |
6eb48d4c386b264e8ab00ff27fd3cf3c3b2b6149 | graf2d/gviz/src/TGraphEdge.cxx | graf2d/gviz/src/TGraphEdge.cxx | // @(#)root/hist:$Id$
// Author: Olivier Couet 13/07/09
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | // @(#)root/hist:$Id$
// Author: Olivier Couet 13/07/09
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | Fix memory leak in TGraphEdge | Fix memory leak in TGraphEdge
DistanceToPrimitive and ExecuteEvent were leaking lot of memory
| C++ | lgpl-2.1 | olifre/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,olifre/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root |
beb753026adc1b14e3ef6f8823395b190d3d159e | lib/Fuzzer/FuzzerUtilWindows.cpp | lib/Fuzzer/FuzzerUtilWindows.cpp | //===- FuzzerUtilWindows.cpp - Misc utils for Windows. --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- FuzzerUtilWindows.cpp - Misc utils for Windows. --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Implement Timers for Windows. | [libFuzzer] Implement Timers for Windows.
Implemented timeouts for Windows using TimerQueueTimers.
Timers are used to supervise the time of execution of the
callback function that is being fuzzed.
Differential Revision: https://reviews.llvm.org/D27237
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@289495 91177... | C++ | apache-2.0 | apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llv... |
7deff4c690d468abcce33ef3656cb94d3b614cf4 | lib/ReaderWriter/FileArchive.cpp | lib/ReaderWriter/FileArchive.cpp | //===- lib/ReaderWriter/FileArchive.cpp -----------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | //===- lib/ReaderWriter/FileArchive.cpp -----------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | Add the needed lld change for r264187 in llvm. | Add the needed lld change for r264187 in llvm.
Sorry had this fixed in my check out but failed mention it in my
commit message for r264187.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@264188 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
683fec947867eb491a235d13b5f999c7f33727c1 | lib/ReaderWriter/FileArchive.cpp | lib/ReaderWriter/FileArchive.cpp | //===- lib/ReaderWriter/FileArchive.cpp -----------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | //===- lib/ReaderWriter/FileArchive.cpp -----------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | Revert "temporary" | Revert "temporary"
This reverts accidental commit r231205.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@231208 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
c3f99ee8df9bdfad0ec053722d6e40b384f745c4 | BimDexter/BimDexter.cpp | BimDexter/BimDexter.cpp | // BimDexter.cpp
// Main program.
#include <string>
#include <iostream>
#include <locale>
#include <exception>
#include "Pixmap.h"
#include "PixelBlock.h"
using namespace std;
void usage()
{
cerr << "Usage: BimDexter [-b | -d] [-q] [-u] {input file} {output file}\n";
cerr << "Converts between .BMP (24-bit ... | // BimDexter.cpp
// Main program.
#include <string>
#include <iostream>
#include <locale>
#include <exception>
#include <chrono>
#include "Pixmap.h"
#include "PixelBlock.h"
using namespace std;
using namespace std::chrono;
void usage()
{
cerr << "Usage: BimDexter [-b | -d] [-q] [-u] {input file} {output file}\... | Add compression time reporting. | Add compression time reporting.
| C++ | mit | SamiPerttu/BimDexter |
264f0b942ac9eeb914b75dbc6fc9afd2286ef510 | C++/reverse-integer.cpp | C++/reverse-integer.cpp | // Time: O(logn)
// Space: O(1)
class Solution {
public:
/**
* @param n the integer to be reversed
* @return the reversed integer
*/
int reverseInteger(int n) {
long long result = 0;
unsigned int temp = abs(n);
while (temp > 0) {
result *= 10;
res... | // Time: O(logn)
// Space: O(1)
class Solution {
public:
/**
* @param n the integer to be reversed
* @return the reversed integer
*/
int reverseInteger(int n) {
long long result = 0;
unsigned int temp = abs(n);
while (temp > 0) {
result *= 10;
res... | Update reverse-integer.cpp | Update reverse-integer.cpp | C++ | mit | jaredkoontz/lintcode,kamyu104/LintCode,kamyu104/LintCode,kamyu104/LintCode,jaredkoontz/lintcode,jaredkoontz/lintcode |
746d96524f0279ef0aab7bbbe90939006b9bfc9d | lib/Support/PrettyStackTrace.cpp | lib/Support/PrettyStackTrace.cpp | //===- PrettyStackTrace.cpp - Pretty Crash Handling -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | //===- PrettyStackTrace.cpp - Pretty Crash Handling -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------... | Fix the apple build issue caused by r288956 | Fix the apple build issue caused by r288956
Should be checking if HAVE_CRASHREPORTERCLIENT_H is defined not relying on it having a value.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@288963 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm... |
6fecba4a8810b6cecba55328b301e36afd7412a2 | system/LocaleSharedMemory.hpp | system/LocaleSharedMemory.hpp | #pragma once
// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.
#ifndef __LOCALE_SHARED_MEM... | #pragma once
// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.
#ifndef __LOCALE_SHARED_MEM... | add total size and free memory calls to locale shared heap | add total size and free memory calls to locale shared heap
| C++ | bsd-3-clause | uwsampa/grappa,uwsampa/grappa,alexfrolov/grappa,buaasun/grappa,alexfrolov/grappa,alexfrolov/grappa,alexfrolov/grappa,uwsampa/grappa,uwsampa/grappa,alexfrolov/grappa,buaasun/grappa,buaasun/grappa,buaasun/grappa,buaasun/grappa,alexfrolov/grappa,uwsampa/grappa,uwsampa/grappa,uwsampa/grappa,buaasun/grappa,buaasun/grappa,al... |
ddf9ecc9ad3c6c2802507bdb79a35d8be0b2a1d4 | src/mjolnir.cpp | src/mjolnir.cpp | #include <mjolnir/core/Simulator.hpp>
#include <mjolnir/core/Observer.hpp>
#include <mjolnir/core/DefaultTraits.hpp>
#include <mjolnir/io/toml.hpp>
typedef mjolnir::DefaultTraits traits;
int main(int argc, char** argv)
{
if(argc != 2)
{
std::cerr << "Usage: " << argv[0] << " <input.toml>" << std::endl;... | #include <mjolnir/input/read_input_file.hpp>
int main(int argc, char** argv)
{
if(argc != 2)
{
std::cerr << "Usage: " << argv[0] << " <input.toml>" << std::endl;
return 1;
}
auto simulator = mjolnir::read_input_file(std::string(argv[1]));
simulator->initialize();
const auto s... | update main source | update main source
| C++ | mit | ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir |
e351322433c0461d2f7c0536904b6f5b9eec06fe | src/mutscan.cpp | src/mutscan.cpp | #include "mutscan.h"
#include "fastqreader.h"
MutScan::MutScan(string mutationFile, string read1File, string read2File){
mRead1File = read1File;
mRead2File = read2File;
mMutationFile = mutationFile;
}
bool MutScan::scan(){
FastqReader reader1(mRead1File);
FastqReader reader2(mRead2File);
vecto... | #include "mutscan.h"
#include "fastqreader.h"
MutScan::MutScan(string mutationFile, string read1File, string read2File){
mRead1File = read1File;
mRead2File = read2File;
mMutationFile = mutationFile;
}
bool MutScan::scan(){
FastqReader reader1(mRead1File);
FastqReader reader2(mRead2File);
vecto... | comment the print of processed reads | comment the print of processed reads
| C++ | mit | OpenGene/MutScan,OpenGene/MutScan |
e07ccfad79231966d56570986ec639985389a4c9 | src/nao_spy.cpp | src/nao_spy.cpp | /**
* @file
* @author Antonio Paolillo
* @author Dimitar Dimitrov
* @author Alexander Sherikov
*/
#include "nao_spy.h"
/**
* Constructor for nao_spy object
* @param broker The parent broker
* @param name The name of the module
*/
nao_spy::nao_spy(ALPtr<ALBroker> broker, const string& name) :
ALModule(b... | /**
* @file
* @author Antonio Paolillo
* @author Dimitar Dimitrov
* @author Alexander Sherikov
*/
#include "nao_spy.h"
/**
* Constructor for nao_spy object
* @param broker The parent broker
* @param name The name of the module
*/
nao_spy::nao_spy(ALPtr<ALBroker> broker, const string& name) :
ALModule(b... | Set stiffness using a different function. | Set stiffness using a different function.
| C++ | bsd-2-clause | asherikov/nao_spy,asherikov/nao_spy,asherikov/nao_spy,asherikov/nao_spy |
6ae17982e62999bcb2e53615eb450525155d26c8 | src/bridge.cc | src/bridge.cc | #include <node.h>
#include <v8.h>
#include <phidget21.h>
using namespace v8;
// ------------------------------------------
// Globals
// ------------------------------------------
CPhidgetBridgeHandle bridge = 0;
// ------------------------------------------
// Event handlers
// -----------------------------------... | #include <node.h>
#include <v8.h>
#include <phidget21.h>
using namespace v8;
// ------------------------------------------
// Globals
// ------------------------------------------
CPhidgetBridgeHandle bridge = 0;
// ------------------------------------------
// Event handlers
// -----------------------------------... | add library | add library
| C++ | mit | andrest/phidget,andrest/phidget,andrest/phidget |
26649ddef7feceb12100df3fed62c33476d5ca97 | test/PluginParametersTest.cpp | test/PluginParametersTest.cpp | /*
* Copyright (c) 2013 Teragon Audio. 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... | /*
* Copyright (c) 2013 Teragon Audio. 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... | Fix bug with integer truncation in ASSERT_EQUALS | Fix bug with integer truncation in ASSERT_EQUALS
| C++ | bsd-2-clause | teragonaudio/PluginParameters,teragonaudio/PluginParameters,alessandrostone/PluginParameters,alessandrostone/PluginParameters |
82b7e37f6eeb554332b2f0bc30bd218c65281f48 | table/table_reader_bench.cc | table/table_reader_bench.cc | // Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <gflags/gflags.h>
... | // Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <gflags/gflags.h>
... | Fix a bug of table_reader_bench | Fix a bug of table_reader_bench
Summary: Iterator benchmark case is timed incorrectly. Fix it
Test Plan: Run the benchmark
Reviewers: haobo, dhruba
Reviewed By: haobo
CC: leveldb
Differential Revision: https://reviews.facebook.net/D13845
| C++ | bsd-3-clause | kaschaeffer/rocksdb,rDSN-Projects/rocksdb.replicated,lgscofield/rocksdb,SunguckLee/RocksDB,skunkwerks/rocksdb,geraldoandradee/rocksdb,vashstorm/rocksdb,geraldoandradee/rocksdb,ylong/rocksdb,kaschaeffer/rocksdb,jalexanderqed/rocksdb,tizzybec/rocksdb,facebook/rocksdb,JohnPJenkins/rocksdb,zhangpng/rocksdb,vmx/rocksdb,Nick... |
b3aa2603b87cb07a4e5cfce5456c3cd76e2c1095 | src/cache.cxx | src/cache.cxx | /*
* Generic cache class.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "cache.hxx"
#include "hashmap.h"
#include "pool.h"
#include "cleanup_timer.h"
#include "clock.h"
#include "util/Cast.hxx"
#include <assert.h>
#include <time.h>
#include <event.h>
/* #define ENABLE_EXCESSIVE_CACHE_CHECKS */
struct c... | /*
* Generic cache class.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "cache.hxx"
#include "hashmap.h"
#include "pool.h"
#include "cleanup_timer.h"
#include "clock.h"
#include "util/Cast.hxx"
#include <assert.h>
#include <time.h>
#include <event.h>
/* #define ENABLE_EXCESSIVE_CACHE_CHECKS */
struct c... | add constructor and other methods | cache: add constructor and other methods
| C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
3d6b3fde33ca111145f07acefc1232a674ec6b91 | test/functional/printTest.cpp | test/functional/printTest.cpp | #include "bandit/bandit.h"
#include "print.h"
#include <sstream>
using namespace bandit;
using StreamT = std::ostringstream;
go_bandit([](){
describe("print function", [&]()
{
const char* hello_world = "Hello world.";
it("should prints non-args format message.", [&]()
{
St... | #include "../bandit_base.h"
#include "print.h"
#include <sstream>
go_bandit([](){
describe("print function", [&]()
{
std::ostringstream out;
before_each([&]()
{
out.str("");
out.clear();
});
it("prints simple message.", [&]()
{
... | add more behavior test for print function | add more behavior test for print function
| C++ | apache-2.0 | ot32em/print |
991f47a159f0e169883f06686f13c31688fa2bf0 | src/common.cc | src/common.cc | // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
// Copyright (c) 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 cod... | // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
// Copyright (c) 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 cod... | change default transfer batch back to 32 | change default transfer batch back to 32
Some tensorflow benchmarks are seeing large regression with elevated
values. So lets stick to old safe default until we understand how to make
larger values work for all workloads.
| C++ | bsd-3-clause | alk/gperftools,romange/gperftools,acmorrow/gperftools,alk/gperftools,gperftools/gperftools,rzinsly/gperftools,romange/gperftools,rzinsly/gperftools,xiaoyur347/gperftools,rzinsly/gperftools,acmorrow/gperftools,acmorrow/gperftools,romange/gperftools,xiaoyur347/gperftools,acmorrow/gperftools,gperftools/gperftools,rzinsly/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.