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 |
|---|---|---|---|---|---|---|---|---|---|
0155a7e2babecf67c8d0732c8559342d5e1d5fae | TableGen/RegisterInfoEmitter.cpp | TableGen/RegisterInfoEmitter.cpp | //===- RegisterInfoEmitter.cpp - Generate a Register File Desc. -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... | //===- RegisterInfoEmitter.cpp - Generate a Register File Desc. -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===----------... | Add dwarf register numbering to register data. | Add dwarf register numbering to register data.
git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@27081 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-3-clause | lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx |
e79ea48f10ec6a82b84f1494c80a95cdb942567e | gtest/gtest_http_echo_cxx11.cpp | gtest/gtest_http_echo_cxx11.cpp | // Copyright (c) 2012 Plenluno All rights reserved.
#include <gtest/gtest.h>
#include <libnode/url.h>
#include <assert.h>
#include <libj/json.h>
#include <libj/js_closure.h>
#include "./gtest_http_common.h"
namespace libj {
namespace node {
TEST(GTestHttpEchoCxx11, TestEchoCxx11) {
GTestOnEnd::clear();
GTe... | // Copyright (c) 2012-2013 Plenluno All rights reserved.
#include <gtest/gtest.h>
#include <libnode/url.h>
#include <assert.h>
#include <libj/json.h>
#include <libj/js_closure.h>
#include "./gtest_http_common.h"
namespace libj {
namespace node {
TEST(GTestHttpEchoCxx11, TestEchoCxx11) {
GTestOnEnd::clear();
... | use 'auto' | use 'auto'
| C++ | bsd-2-clause | jiuaiwo1314/libnode,jiuaiwo1314/libnode |
eeb83d09bbcb98fc5ce3ffb0df2a8c1e76042e27 | libraries/blockchain/include/bts/blockchain/chain_interface.hpp | libraries/blockchain/include/bts/blockchain/chain_interface.hpp | #pragma once
#include <bts/blockchain/account_record.hpp>
#include <bts/blockchain/asset_record.hpp>
#include <bts/blockchain/balance_record.hpp>
#include <bts/blockchain/block_record.hpp>
#include <bts/blockchain/delegate_slate.hpp>
#include <bts/blockchain/market_records.hpp>
#include <bts/blockchain/feed_operations... | #pragma once
#include <bts/blockchain/account_record.hpp>
#include <bts/blockchain/asset_record.hpp>
#include <bts/blockchain/balance_record.hpp>
#include <bts/blockchain/block_record.hpp>
#include <bts/blockchain/delegate_slate.hpp>
#include <bts/blockchain/market_records.hpp>
#include <bts/blockchain/feed_operations... | Add missing prototype for my last commit... | Add missing prototype for my last commit...
| C++ | unlicense | jakeporter/Bitshares,bitsuperlab/cpp-play,bitshares/bitshares-0.x,bitsuperlab/cpp-play,frrp/bitshares,bitshares/devshares,bitshares/devshares,bitshares/devshares,frrp/bitshares,FollowMyVote/bitshares,jakeporter/Bitshares,bitshares/bitshares,dacsunlimited/dac_play,FollowMyVote/bitshares,bitshares/bitshares-0.x,camponez/... |
105d6ec98de3da323e11cca294331d74e4cd885a | mjolnir/core/EnergyObserver.hpp | mjolnir/core/EnergyObserver.hpp | #ifndef MJOLNIR_CORE_ENERGY_OBSERVER_HPP
#define MJOLNIR_CORE_ENERGY_OBSERVER_HPP
#include <mjolnir/util/is_finite.hpp>
#include <mjolnir/core/ObserverBase.hpp>
#include <mjolnir/core/Unit.hpp>
#include <iostream>
#include <fstream>
#include <iomanip>
namespace mjolnir
{
template<typename traitsT>
class EnergyObserve... | #ifndef MJOLNIR_CORE_ENERGY_OBSERVER_HPP
#define MJOLNIR_CORE_ENERGY_OBSERVER_HPP
#include <mjolnir/util/is_finite.hpp>
#include <mjolnir/core/ObserverBase.hpp>
#include <mjolnir/core/Unit.hpp>
#include <iostream>
#include <fstream>
#include <iomanip>
namespace mjolnir
{
template<typename traitsT>
class EnergyObserve... | use sys.virial to calc pressure | feat: use sys.virial to calc pressure
| C++ | mit | ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir |
c1146e6ab506cb73ccee9ff9865a993b5d9c54ec | VelodyneHDL/vtkLASFileWriter.cxx | VelodyneHDL/vtkLASFileWriter.cxx | // Copyright 2014 Velodyne Acoustics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | // Copyright 2014 Velodyne Acoustics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ... | Write bounding box to header | fix: Write bounding box to header
| C++ | apache-2.0 | frizaro/Veloview,Kitware/VeloView,frizaro/Veloview,Kitware/VeloView,Kitware/VeloView,frizaro/Veloview,Kitware/VeloView,Kitware/VeloView,frizaro/Veloview |
71dfa9f983893b75476046b67ce56b63d19327a2 | modules/kde/KWallet/kwallet.cpp | modules/kde/KWallet/kwallet.cpp | #include "ppasskeeper.h"
#include "tokenizer.h"
#include "list_pwd.h"
#include <string>
#include <iostream>
#include <kwallet.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include <klocale.h>
//plugin data
KWallet::Wallet* _wallet;
KApplication *_app;
//local functions
bool init_kde... | #include "ppasskeeper.h"
#include "tokenizer.h"
#include "list_pwd.h"
#include <string>
#include <iostream>
#include <kwallet.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include <klocale.h>
//plugin data
KWallet::Wallet* _wallet;
KApplication *_app;
//local functions
bool init_kde... | Fix a clang warning. We should have had a bug here | KWallet: Fix a clang warning. We should have had a bug here
| C++ | lgpl-2.1 | mupuf/PPassKeeper,mupuf/PPassKeeper,mupuf/PPassKeeper |
48fddc500a9f8a1c19f894b8d0e6ad40145764b3 | quadrotor_local_planner/src/apf_planner.cpp | quadrotor_local_planner/src/apf_planner.cpp | #include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/point_cloud_conversion.h>
#include <tf/transform_listener.h>
#include <string>
#include <math.h>
#include "dmath/geometry.h"
class ArtificialPotentialField{
public:
... | #include <ros/ros.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/point_cloud_conversion.h>
#include <tf/transform_listener.h>
#include <string>
#include <math.h>
#include <vector>
#include "dmath/geometry.h"
class ArtificialPotenti... | Use full obstacles | Use full obstacles
| C++ | bsd-3-clause | DaikiMaekawa/quadrotor_navigation |
35f3df7e0037b5263cc83178489e67c654cb0847 | src/Application/CAVEStereoModule/ExternalRenderWindow.cpp | src/Application/CAVEStereoModule/ExternalRenderWindow.cpp | // For conditions of distribution and use, see copyright notice in LICENSE
#include "StableHeaders.h"
#include "ExternalRenderWindow.h"
#include "CoreStringUtils.h"
#include <QResizeEvent>
#include <QKeyEvent>
#ifdef Q_WS_X11
#include <QX11Info>
#endif
#ifdef Q_WS_WIN
#include "Win.h"
#endif
namespace CAVEStereo
{... | // For conditions of distribution and use, see copyright notice in LICENSE
#include "StableHeaders.h"
#include "ExternalRenderWindow.h"
#include <QResizeEvent>
#include <QKeyEvent>
#ifdef Q_WS_X11
#include <QX11Info>
#endif
#ifdef Q_WS_WIN
#include "Win.h"
#endif
namespace CAVEStereo
{
ExternalRenderWindow::Ex... | Replace usage of delete ToString with Ogre::StringConverter::toString in CAVEStereoModule. | Replace usage of delete ToString with Ogre::StringConverter::toString in CAVEStereoModule.
| C++ | apache-2.0 | realXtend/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,BogusCurry/tundra,jesterKing/naali,pharos3d/tundra,realXtend/tundra,jesterKing/naali,AlphaStaxLLC/tundra,jesterKing/naali,jesterKing/naali,BogusCurry/tundra,BogusCurry/tundra,jesterKing/naali,pharos3d/tundra,AlphaStaxLLC/tundra,AlphaStaxLLC/tundra... |
33c95fe73942307306ad6c1bbbbdcef9fee8f1ec | CList/CList2.hxx | CList/CList2.hxx |
#include <memory>
#include "CList2.h"
#define NSCLIST nsSdD::CList<T>
template<typename T>
NSCLIST::CList() noexcept : m_head(std::make_shared<CNode>(T(), nullptr, nullptr)),
m_tail(std::make_shared<CNode>(T(), nullptr, m_head))
{
m_head->setNext(m_tail);
}
template<typename T>
NSCL... |
#include <memory>
#include "CList2.h"
#define NSCLIST nsSdD::CList<T>
template<typename T>
NSCLIST::CList() noexcept : m_head(std::make_shared<CNode>(T(), nullptr, nullptr)),
m_tail(std::make_shared<CNode>(T(), nullptr, m_head))
{
m_head->setNext(m_tail);
}
template<typename T>
NSCL... | fix swap | fix swap
| C++ | mit | SKNZ/swagplusplus,SKNZ/swagplusplus |
3e0aa263a610f0d827859a594ee9b7486ddb8fca | src/lib/parse.cpp | src/lib/parse.cpp | #define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
// #define BOOST_SPIRIT_QI_DEBUG
#include <boost/foreach.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/spirit/include/phoenix_function.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/su... | #define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS
// #define BOOST_SPIRIT_QI_DEBUG
#include <boost/algorithm/string.hpp>
#include <boost/foreach.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/xml_parser.hpp>
#include <boost/spirit/include/phoenix_function.hpp>
#include <boost/spirit/include/qi.... | Trim doc strings, disable cond for now. | Trim doc strings, disable cond for now.
| C++ | bsd-3-clause | amorilia/formast,amorilia/formast,amorilia/formast |
f664f7a2018f9442b0f828bb8e50d2b1d0cb7717 | simgear/scene/model/model.cxx | simgear/scene/model/model.cxx | // model.cxx - manage a 3D aircraft model.
// Written by David Megginson, started 2002.
//
// This file is in the Public Domain, and comes with no warranty.
#ifdef HAVE_CONFIG_H
#include <simgear_config.h>
#endif
#include <string.h> // for strcmp()
#include <vector>
#include <set>
#include <plib/sg.h>
#... | // model.cxx - manage a 3D aircraft model.
// Written by David Megginson, started 2002.
//
// This file is in the Public Domain, and comes with no warranty.
#ifdef HAVE_CONFIG_H
#include <simgear_config.h>
#endif
#include <string.h> // for strcmp()
#include <vector>
#include <set>
#include <plib/sg.h>
#... | Fix the initial texture path problem. Loaders are setting the one given to ssgLoad as the default one behind our back :-( | Fix the initial texture path problem. Loaders are setting the one given to ssgLoad as the default one behind our back :-(
| C++ | lgpl-2.1 | slowriot/simgear,slowriot/simgear |
de74d22c29aeeb19ce1a327ccd6cbc8a13b3611e | include/distributions/models/dd.hpp | include/distributions/models/dd.hpp | // Copyright (c) 2014, Salesforce.com, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// - Redistributions of source code must retain the above copyright
// notice, this list of co... | // Copyright (c) 2014, Salesforce.com, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// - Redistributions of source code must retain the above copyright
// notice, this list of co... | Fix bug in dd mixture validation | Fix bug in dd mixture validation
| C++ | bsd-3-clause | fritzo/distributions,fritzo/distributions,forcedotcom/distributions,fritzo/distributions,forcedotcom/distributions,fritzo/distributions,forcedotcom/distributions |
a46b583511c8736896915e3ff0f26724eb2fe8d3 | framework/box.cpp | framework/box.cpp | // box.cpp GREAT
#include "box.hpp"
//KONSTRUTOREN----------------------------------------------------------------------
//Default
//name:Box, Color: 0,0,0, Seitenlänge: 1
Box::Box() :
Shape {"Box", {}},
m_min {0.0f, 0.0f, 0.0f},
m_max {1.0f, 1.0f, 1.0f} {}
// Custom 1
Box::Box(glm::vec3 const& ... | // box.cpp GREAT
#include "box.hpp"
#include <cmath>
#include <catch.hpp>
#include <algorithm>
//KONSTRUTOREN----------------------------------------------------------------------
//Default
//name:Box, Color: 0,0,0, Seitenlänge: 1
Box::Box() :
Shape {"Box", {}},
m_min {0.0f, 0.0f, 0.0f},
m_max {1.0f, ... | add normal:metal: | add normal:metal:
| C++ | mit | PhilJungschlaeger/raytracer,PhilJungschlaeger/raytracer |
b59ab15e45794ec0db556dab6da530cdca416852 | lib/llvm/analysis/ControlDependence/NonTerminationSensitiveControlDependencyAnalysis.cpp | lib/llvm/analysis/ControlDependence/NonTerminationSensitiveControlDependencyAnalysis.cpp | #include "NonTerminationSensitiveControlDependencyAnalysis.h"
#include "Function.h"
#include "Block.h"
#include <llvm/IR/Module.h>
#include <algorithm>
#include <iostream>
#include <functional>
#include <queue>
using namespace std;
namespace dg {
namespace cd {
NonTerminationSensitiveControlDependencyAnalysis::Non... | #include "NonTerminationSensitiveControlDependencyAnalysis.h"
#include "Function.h"
#include "Block.h"
#include <llvm/IR/Module.h>
#include <algorithm>
#include <iostream>
#include <functional>
#include <queue>
#include <unordered_set>
using namespace std;
namespace dg {
namespace cd {
NonTerminationSensitiveContr... | Fix adding of interprocedural dependencies. | Fix adding of interprocedural dependencies.
| C++ | mit | mchalupa/dg,mchalupa/dg,mchalupa/dg,mchalupa/dg |
eafc5ed1ef8e286487c71e8c34a720b54cb0b303 | src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.H | src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.H | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.H $ */
/* ... | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/rcd_load.H $ */
/* ... | Add c_str generic API and update makefiles | Add c_str generic API and update makefiles
Change-Id: Idd14a81937a109796d57e0f42458acafcc4b8204
Original-Change-Id: I95e3b9013d3ab0c352d3614c12ee4ef0d26965d0
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/35924
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Reviewed-by: Louis Ste... | C++ | apache-2.0 | open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot |
3904672376a0d69168bc7dcfd9a7407fe41021c5 | tensorflow/core/framework/rendezvous.cc | tensorflow/core/framework/rendezvous.cc | /* Copyright 2015 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 2015 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 clarifying comment to cancellation handling in rendezvous.cc. | Add clarifying comment to cancellation handling in rendezvous.cc.
PiperOrigin-RevId: 266939120
| C++ | apache-2.0 | chemelnucfin/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,gautam1858/tensorflow,arborh/tensorflow,jhseu/tensorflow,petewarden/tensorflow,aam-at/tensorflow,gunan/tensorflow,renyi533/ten... |
f71a2eb243c8f80d53dfa443a9da320c089376f2 | src/main-menu.cpp | src/main-menu.cpp | #include <sstream>
#include "util/bitmap.h"
#include "factory/collector.h"
#include "network/network.h"
#include "util/token_exception.h"
#include "mugen/exception.h"
#include "mugen/menu.h"
#include "music.h"
#include "menu/menu.h"
#include "menu/menu_global.h"
#include "menu/menu-exception.h"
#include "input/input-m... | #include <sstream>
#include "util/bitmap.h"
#include "factory/collector.h"
#include "network/network.h"
#include "util/token_exception.h"
#include "mugen/exception.h"
#include "mugen/menu.h"
#include "music.h"
#include "menu/menu.h"
#include "menu/menu_global.h"
#include "menu/menu-exception.h"
#include "input/input-m... | remove includes for hack | remove includes for hack
git-svn-id: 39e099a8ed5324aded674b764a67f7a08796d9a7@4334 662fdd30-d327-0410-a531-f549c87e1e9e
| C++ | bsd-3-clause | Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,Sevalecan/paintown,boyjimeking/paintown,Sevalecan/paintown |
3d63afb7761360fc19bc1480e29de2967873cdf2 | jubatus/core/driver/recommender.cpp | jubatus/core/driver/recommender.cpp | // Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2011,2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License versi... | // Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2011,2012 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License versi... | remove unused include | remove unused include
| C++ | lgpl-2.1 | Asuka52/jubatus,gintenlabo/jubatus,kmaehashi/jubatus,gintenlabo/jubatus,roselleebarle04/jubatus,roselleebarle04/jubatus,rimms/jubatus,jubatus/jubatus,kmaehashi/jubatus,elkingtonmcb/jubatus,elkingtonmcb/jubatus,rimms/jubatus,jubatus/jubatus,mathn/jubatus,Asuka52/jubatus,jubatus/jubatus,mathn/jubatus |
2e8582349b5e721bb9624b4b454e4c3d46301978 | korganizer/korgac/koalarmclient.cpp | korganizer/korgac/koalarmclient.cpp | /*
KOrganizer Alarm Daemon Client.
This file is part of KOrganizer.
Copyright (c) 2002,2003 Cornelius Schumacher <schumacher@kde.org>
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; eit... | /*
KOrganizer Alarm Daemon Client.
This file is part of KOrganizer.
Copyright (c) 2002,2003 Cornelius Schumacher <schumacher@kde.org>
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; eit... | Make alarmclient use the system timezone, not the korganizer one. | Make alarmclient use the system timezone, not the korganizer one.
svn path=/trunk/KDE/kdepim/; revision=961286
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
1fbcbcdce0407c779a5c39dd41df10ef9ac15016 | framework/cybertron/tools/cvt/monitor/cybertron_topology_message.cpp | framework/cybertron/tools/cvt/monitor/cybertron_topology_message.cpp | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | fix multi-monitors parse message problem | framework: fix multi-monitors parse message problem
| C++ | apache-2.0 | wanglei828/apollo,ycool/apollo,ApolloAuto/apollo,ycool/apollo,ycool/apollo,jinghaomiao/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,jinghaomiao/apollo,ApolloAuto/apollo,wanglei828/apollo,ycool/apollo,ApolloAuto/apollo,xiaoxq/apollo,wanglei828/apollo,ApolloAuto/apollo,xiaoxq/apollo,xiaoxq/apollo,xiaoxq/apollo,ji... |
223b0f3c31575b374dd7c0b70b9f1266e3880275 | include/hpp/core/discretized-collision-checking.hh | include/hpp/core/discretized-collision-checking.hh | //
// Copyright (c) 2014 CNRS
// Authors: Florent Lamiraux
//
// This file is part of hpp-core
// hpp-core is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at yo... | //
// Copyright (c) 2014 CNRS
// Authors: Florent Lamiraux
//
// This file is part of hpp-core
// hpp-core is free software: you can redistribute it
// and/or modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation, either version
// 3 of the License, or (at yo... | Fix documentation. | Fix documentation.
| C++ | bsd-2-clause | humanoid-path-planner/hpp-core |
a816f42e4da693f2e749b855da55d7bb4e4ccad4 | lib/CodeGen/TargetSubtargetInfo.cpp | lib/CodeGen/TargetSubtargetInfo.cpp | //===- TargetSubtargetInfo.cpp - General Target Information ----------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- TargetSubtargetInfo.cpp - General Target Information ----------------==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | allow printing of zero latency in sched comments | [CodeGen] allow printing of zero latency in sched comments
I don't know how to expose this in a test. There are ARM / AArch64
sched classes that include zero latency instructions, but I'm not
seeing sched info printed for those targets. X86 will almost
certainly have these soon (see PR36671), but no model has
'let ... | C++ | apache-2.0 | apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror... |
81650e59c1e796d62ea29a2967309f0ba40519ad | include/mapnik/json/geometry_generator_grammar.hpp | include/mapnik/json/geometry_generator_grammar.hpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2012 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) 2012 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... | fix to_geojson polygon output after bug introduced in merge 76f111cc97a86cb029 - closes #2019 | fix to_geojson polygon output after bug introduced in merge 76f111cc97a86cb029 - closes #2019
| C++ | lgpl-2.1 | Mappy/mapnik,jwomeara/mapnik,mapnik/python-mapnik,mapnik/mapnik,rouault/mapnik,cjmayo/mapnik,davenquinn/python-mapnik,sebastic/python-mapnik,mapycz/mapnik,stefanklug/mapnik,davenquinn/python-mapnik,yiqingj/work,lightmare/mapnik,mbrukman/mapnik,mbrukman/mapnik,yiqingj/work,naturalatlas/mapnik,Mappy/mapnik,jwomeara/mapni... |
0d5cad62d2ea9e36246dec3ca6d73ec55151c03e | lib/Interpreter/ASTImportSource.cpp | lib/Interpreter/ASTImportSource.cpp | #include "ASTImportSource.h"
#include "cling/Interpreter/Interpreter.h"
using namespace clang;
namespace {
class ClingASTImporter : public ASTImporter {
private:
cling::ASTImportSource& m_source;
public:
ClingASTImporter(ASTContext &ToContext, FileManager &ToFileManager,
... | #include "ASTImportSource.h"
#include "cling/Interpreter/Interpreter.h"
using namespace clang;
namespace {
class ClingASTImporter : public ASTImporter {
private:
cling::ASTImportSource& m_source;
public:
ClingASTImporter(ASTContext &ToContext, FileManager &ToFileManager,
... | Mark the external visibility of imported decls. | Mark the external visibility of imported decls.
| C++ | lgpl-2.1 | marsupial/cling,karies/cling,root-mirror/cling,karies/cling,karies/cling,marsupial/cling,root-mirror/cling,marsupial/cling,karies/cling,root-mirror/cling,root-mirror/cling,root-mirror/cling,marsupial/cling,karies/cling,root-mirror/cling,marsupial/cling,marsupial/cling,karies/cling |
52bf466aa005388fe1705919cdd99b4ef740e153 | lib/RemoteControl/RemoteControl.cpp | lib/RemoteControl/RemoteControl.cpp | /****************************************************************************
* Copyright 2016 BlueMasters
*
* 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... | /****************************************************************************
* Copyright 2016 BlueMasters
*
* 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... | use status led to notify states | use status led to notify states
| C++ | apache-2.0 | BlueMasters/arduino-wolves,BlueMasters/arduino-wolves,BlueMasters/arduino-wolves |
9b4f5db4101ddb14dffaaa473916e13acc3b1d54 | lima_common/src/common/misc/tests/LimaFileSystemWatcherTest.cpp | lima_common/src/common/misc/tests/LimaFileSystemWatcherTest.cpp | /*
* Copyright 2015 CEA LIST
*
* This file is part of LIMA.
*
* LIMA is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | /*
* Copyright 2015 CEA LIST
*
* This file is part of LIMA.
*
* LIMA is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option... | Debug messages | Debug messages
| C++ | agpl-3.0 | FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima,FaizaGara/lima |
229de95eabb7f5350a42152eab8c4c8643cdd0bf | lib/Transforms/IPO/StripSymbols.cpp | lib/Transforms/IPO/StripSymbols.cpp | //===- StripSymbols.cpp - Strip symbols and debug info from a module ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- StripSymbols.cpp - Strip symbols and debug info from a module ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Refactor code. Strip debug information before stripping symbol names. | Refactor code.
Strip debug information before stripping symbol names.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@59328 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/... |
df2d8f370da699e88e1ce8122669d44604ebab15 | interpreter/cling/lib/Interpreter/ClingPragmas.cpp | interpreter/cling/lib/Interpreter/ClingPragmas.cpp | //--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Axel Naumann <axel@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public L... | //--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Axel Naumann <axel@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public L... | Save some memory and only create one ClingPragmaHandler to handle all pragmas. Use clang diagnostics for parsing errors. | Save some memory and only create one ClingPragmaHandler to handle all pragmas. Use clang diagnostics for parsing errors.
| C++ | lgpl-2.1 | mhuwiler/rootauto,zzxuanyuan/root,root-mirror/root,zzxuanyuan/root,simonpf/root,root-mirror/root,mhuwiler/rootauto,zzxuanyuan/root,zzxuanyuan/root,root-mirror/root,mhuwiler/rootauto,mhuwiler/rootauto,mhuwiler/rootauto,zzxuanyuan/root,olifre/root,olifre/root,karies/root,olifre/root,root-mirror/root,simonpf/root,olifre/r... |
2f632b1e21343cfb3bbd0dcf3712175de9fa85d3 | src/base_controller/src/base_controller/base_controller_node.cpp | src/base_controller/src/base_controller/base_controller_node.cpp | #include <iostream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdlib.h> /* exit */
#include <string.h> /* String function definitions */
#include <unistd.h> /* UNIX standard function definitions */
#include <fcntl.h> /* File control definitions *... | #include <iostream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdlib.h> /* exit */
#include <string.h> /* String function definitions */
#include <unistd.h> /* UNIX standard function definitions */
#include <fcntl.h> /* File control definitions *... | Update code | Update code
| C++ | bsd-3-clause | Scheik/ROS-Workspace,Scheik/ROS-Groovy-Workspace,Scheik/ROS-Groovy-Workspace,Scheik/ROS-Workspace |
1fa85bb59736962174a6e00ae62836fd348751b5 | src/base_controller/src/base_controller/base_controller_node.cpp | src/base_controller/src/base_controller/base_controller_node.cpp | #include <iostream> /* allows to perform standard input and output operations */
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/output definitions */... | #include <iostream> /* allows to perform standard input and output operations */
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/output definitions */... | Update code | Update code
| C++ | bsd-3-clause | Scheik/ROS-Workspace,Scheik/ROS-Groovy-Workspace,Scheik/ROS-Groovy-Workspace,Scheik/ROS-Workspace |
3a2fa4d3cd9d224814f67f19a5a7aabcb8ee1242 | src/base_controller/src/base_controller/base_controller_node.cpp | src/base_controller/src/base_controller/base_controller_node.cpp | #include <iostream> /* allows to perform standard input and output operations */
#include <fstream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/ou... | #include <iostream> /* allows to perform standard input and output operations */
#include <fstream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/ou... | Update code | Update code
| C++ | bsd-3-clause | Scheik/ROS-Groovy-Workspace,Scheik/ROS-Workspace,Scheik/ROS-Workspace,Scheik/ROS-Groovy-Workspace |
a7f13d9bd89098254b79701c68026b0df90916a0 | src/base_controller/src/base_controller/base_controller_node.cpp | src/base_controller/src/base_controller/base_controller_node.cpp | #include <iostream> /* allows to perform standard input and output operations */
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/output definitions */... | #include <iostream> /* allows to perform standard input and output operations */
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* Standard input/output definitions */... | Update code | Update code
| C++ | bsd-3-clause | Scheik/ROS-Workspace,Scheik/ROS-Groovy-Workspace,Scheik/ROS-Workspace,Scheik/ROS-Groovy-Workspace |
471c725e601c70f15dcde8fa8ff7eda53154043c | generation_tests/test_numbers.cpp | generation_tests/test_numbers.cpp | #include "grune/all.hpp"
#include <sstream>
using namespace grune;
sequence digits(int low = 0, int high = 10)
{
sequence result;
for (int i = low; i < high; ++i)
{
result.push_back(i);
}
return result;
}
sequence_list to_seq_list(const sequence& s)
{
sequence_list result;
for (a... | #include "grune/all.hpp"
#include <sstream>
using namespace grune;
sequence digits(int low = 0, int high = 10)
{
sequence result;
for (int i = low; i < high; ++i)
{
result.push_back(i);
}
return result;
}
sequence_list to_seq_list(const sequence& s)
{
sequence_list result;
for (a... | Clean up test_number grammars | Clean up test_number grammars
| C++ | mit | Fifty-Nine/grune |
b5891814142cb8075501b238e3892a9096b552e9 | trunk/libmesh/src/solvers/newton_solver.C | trunk/libmesh/src/solvers/newton_solver.C |
#include "diff_system.h"
#include "libmesh_logging.h"
#include "linear_solver.h"
#include "newton_solver.h"
#include "numeric_vector.h"
#include "sparse_matrix.h"
NewtonSolver::NewtonSolver (sys_type& s)
: Parent(s),
require_residual_reduction(false),
minsteplength(0.0),
linear_solver(LinearSolver<Numb... |
#include "diff_system.h"
#include "libmesh_logging.h"
#include "linear_solver.h"
#include "newton_solver.h"
#include "numeric_vector.h"
#include "sparse_matrix.h"
#include "dof_map.h"
NewtonSolver::NewtonSolver (sys_type& s)
: Parent(s),
require_residual_reduction(false),
minsteplength(0.0),
linear_sol... | Make sure newton_iterate is closed before beginning work; use enforce_constraints_exactly() on Newton steps to reduce their "drift" | Make sure newton_iterate is closed before beginning work; use
enforce_constraints_exactly() on Newton steps to reduce their "drift"
git-svn-id: e88a1e38e13faf406e05cc89eca8dd613216f6c4@1580 434f946d-2f3d-0410-ba4c-cb9f52fb0dbf
| C++ | lgpl-2.1 | benkirk/libmesh,benkirk/libmesh,vikramvgarg/libmesh,vikramvgarg/libmesh,capitalaslash/libmesh,capitalaslash/libmesh,cahaynes/libmesh,hrittich/libmesh,dschwen/libmesh,dschwen/libmesh,dschwen/libmesh,friedmud/libmesh,dmcdougall/libmesh,dschwen/libmesh,benkirk/libmesh,benkirk/libmesh,aeslaughter/libmesh,dknez/libmesh,libM... |
59fa833881cbca4665dfdebffe1a9f73cb8c41ca | containers/test_queue.cpp | containers/test_queue.cpp | /***************************************************************************
* containers/test_queue.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2005 Roman Dementiev <dementiev@ira.uka.de>
* Copyright (C) 2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de>
*
* Distributed... | /***************************************************************************
* containers/test_queue.cpp
*
* Part of the STXXL. See http://stxxl.sourceforge.net
*
* Copyright (C) 2005 Roman Dementiev <dementiev@ira.uka.de>
* Copyright (C) 2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de>
*
* Distributed... | add test case for single-block queue destruction | add test case for single-block queue destruction
git-svn-id: 4e7379b20b57f8e3dde5a0b7363f233184647162@3202 4e380d45-d1fd-0310-85a7-d18ec86df0ad
| C++ | mit | sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp,sriram-mahavadi/extlp |
c565aa4cb2a980fd12d0f9f576cd0cd4c428da63 | source/examples/ViewerQt/ExampleWindow.cpp | source/examples/ViewerQt/ExampleWindow.cpp | #include "ExampleWindow.h"
#include <gloperate-qt/qt-includes-begin.h>
#include <QResizeEvent>
#include <gloperate-qt/qt-includes-end.h>
#include <glbinding/gl/gl.h>
#include <globjects/globjects.h>
#include <globjects/DebugMessage.h>
ExampleWindow::ExampleWindow()
{
}
ExampleWindow::~ExampleWindow()
{
}
void Examp... | #include "ExampleWindow.h"
#include <gloperate-qt/qt-includes-begin.h>
#include <QResizeEvent>
#include <gloperate-qt/qt-includes-end.h>
#include <glbinding/gl/gl.h>
#include <globjects/globjects.h>
#include <globjects/DebugMessage.h>
ExampleWindow::ExampleWindow()
{
}
ExampleWindow::~ExampleWindow()
{
}
void Examp... | Use entire window as viewport | ViewerQt: Use entire window as viewport
| C++ | mit | lanice/gloperate,Beta-Alf/gloperate,p-otto/gloperate,cginternals/gloperate,hpicgs/gloperate,Beta-Alf/gloperate,hpi-r2d2/gloperate,j-o/gloperate,p-otto/gloperate,hpicgs/gloperate,j-o/gloperate,j-o/gloperate,j-o/gloperate,hpi-r2d2/gloperate,p-otto/gloperate,lanice/gloperate,lanice/gloperate,lanice/gloperate,hpicgs/gloper... |
1e3564803d7b52352bff6c39d4daf01c28192268 | src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C | src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C $ */
/* ... | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_ddr_phy_reset.C $ */
/* ... | Add DLL workaround and unit tests | Add DLL workaround and unit tests
Change-Id: I81a3b4ea0350fb794a6c71f268da2766c2eb689e
Original-Change-Id: I142ecd417abb92f4f8ec7d3748563b30359c486d
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/39673
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Reviewed-by: STEPHEN GLANCY <73... | C++ | apache-2.0 | open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot |
103454e8f03cf543fd1ff01abb5e6a6d827a1fdf | chrome/renderer/module_system.cc | chrome/renderer/module_system.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/renderer/module_system.h"
#include "base/bind.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScopedMicrotaskSuppre... | // 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/renderer/module_system.h"
#include "base/bind.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebScopedMicrotaskSuppre... | Fix weird indenting in ModuleSystem::DumpException(). | Fix weird indenting in ModuleSystem::DumpException().
TBR=aa@google.com
Review URL: https://chromiumcodereview.appspot.com/10883050
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@153445 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | jaruba/chromium.src,ltilve/chromium,fujunwei/chromium-crosswalk,M4sse/chromium.src,pozdnyakov/chromium-crosswalk,chuan9/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,nacl-webkit/chrome_deps,pozdnyakov/chromium-crosswalk,dednal/chromium.src,TheTypoMaster/chromium-crossw... |
14b0a497292b97f4fb6c1588914769d58e053fbd | chrome/renderer/renderer_main.cc | chrome/renderer/renderer_main.cc | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(OS_MACOSX)
#include <signal.h>
#include <unistd.h>
#endif // OS_MACOSX
#include "base/command_line.h"
#include "base/debug/trace_event.h... | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#if defined(OS_MACOSX)
#include <signal.h>
#include <unistd.h>
#endif // OS_MACOSX
#include "base/command_line.h"
#include "base/debug/trace_event.h... | Revert 78517 - Add a histogram to measure task execution time for the render thread. | Revert 78517 - Add a histogram to measure task execution time for the render thread.
BUG=none
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78511
Review URL: http://codereview.chromium.org/6670029
TBR=bryner@chromium.org
Review URL: http://codereview.chromium.org/6677107
git-svn-id: ... | C++ | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u... |
11f11d93dc1408ed3e3a575fdcc1fff975084437 | test/merge.cpp | test/merge.cpp | #include <gtest/gtest.h>
#include <c4/yml/std/std.hpp>
#include <c4/yml/yml.hpp>
#include <initializer_list>
#include <string>
#include <iostream>
namespace c4 {
namespace yml {
void test_merge(std::initializer_list<csubstr> li, csubstr expected)
{
Tree loaded, merged, ref;
parse(expected, &ref);
// m... | #include <gtest/gtest.h>
#include <c4/yml/std/std.hpp>
#include <c4/yml/yml.hpp>
#include <initializer_list>
#include <string>
#include <iostream>
#include "./test_case.hpp"
namespace c4 {
namespace yml {
// The other test executables are written to contain the declarative-style
// YmlTestCases. This executable does... | fix linker error for dynamic so/dll in merge test (issue #47) | fix linker error for dynamic so/dll in merge test (issue #47)
| C++ | mit | biojppm/rapidyaml,biojppm/rapidyaml,biojppm/rapidyaml |
0132ca192e8fa9aa99afa17bffd1ed3f8755b701 | test/public_api/context_mold_section.cc | test/public_api/context_mold_section.cc | #include <gtest/gtest.h>
// PUBLIC API
#include <disir/disir.h>
#include "test_helper.h"
// Test mold API with empty mold.
class MoldSectionTest : public testing::DisirTestWrapper
{
void SetUp()
{
DisirLogCurrentTestEnter ();
context = NULL;
context_mold = NULL;
context_keyv... | #include <gtest/gtest.h>
// PUBLIC API
#include <disir/disir.h>
#include "test_helper.h"
// Test mold API with empty mold.
class MoldSectionTest : public testing::DisirTestWrapper
{
void SetUp()
{
DisirLogCurrentTestEnter ();
context = NULL;
context_mold = NULL;
context_keyv... | fix expected return value of dc_finalize | test: fix expected return value of dc_finalize
| C++ | apache-2.0 | veeg/disir-c,veeg/disir-c |
68374f31e1f69df1efcbe4775ffb1b6d1eaef24d | KTp/Declarative/contact-list.cpp | KTp/Declarative/contact-list.cpp | /*
Copyright (C) 2011 David Edmundson <kde@davidedmundson.co.uk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any... | /*
Copyright (C) 2011 David Edmundson <kde@davidedmundson.co.uk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any... | Improve behavior of KTP plasmoids | Improve behavior of KTP plasmoids
When starting chats from the contact list plasmoid, if there's a ktp-chat,
use it.
This happens by not forcing the preferred handler when starting a chat.
REVIEW: 109033
| C++ | lgpl-2.1 | leonhandreke/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals |
e317bfa84facf43c7289f1d7c143f596b11b4ab5 | mcrouter/lib/fbi/cpp/LogFailure.cpp | mcrouter/lib/fbi/cpp/LogFailure.cpp | /**
* Copyright (c) 2014, 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 "LogF... | /**
* Copyright (c) 2014, 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 "LogF... | Revert "[mcrouter] Hotfix crashes" | Revert "[mcrouter] Hotfix crashes"
Summary:
This reverts commit ca008fb74872a781e6a586be8f0651f8d5d49899.
After D1615213 + D1615215 got in, it's safe now to use folly::Singleton here.
Test Plan:
unit tests
Reviewed By: pavlo@fb.com
Subscribers: alikhtarov, chip
FB internal diff: D1618433
| C++ | bsd-3-clause | synecdoche/mcrouter,seem-sky/mcrouter,zhlong73/mcrouter,yqzhang/mcrouter,easyfmxu/mcrouter,synecdoche/mcrouter,glensc/mcrouter,is00hcw/mcrouter,apinski-cavium/mcrouter,yqzhang/mcrouter,tempbottle/mcrouter,easyfmxu/mcrouter,easyfmxu/mcrouter,facebook/mcrouter,apinski-cavium/mcrouter,is00hcw/mcrouter,nvaller/mcrouter,eas... |
d80e6792c87f16371af5a8b5aefd51b5e091b662 | API-Samples/copyblitimage/copyblitimage.cpp | API-Samples/copyblitimage/copyblitimage.cpp | /*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, 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, includi... | /*
* Vulkan Samples
*
* Copyright (C) 2015-2016 Valve Corporation
* Copyright (C) 2015-2016 LunarG, 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, includi... | Make sure image is in LAYOUT_GENERAL before mapping | copyblitimage: Make sure image is in LAYOUT_GENERAL before mapping
| C++ | apache-2.0 | Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples,Radamanthe/VulkanSamples |
002b2fe34e798edbc12de35b5f92c1aab4cc6e82 | utils_unittest.cc | utils_unittest.cc | // Copyright (c) 2010 The Chromium OS 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 <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <map>
#include <string>
#include <vector>
#include <base/string_util.h>
... | // Copyright (c) 2010 The Chromium OS 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 <sys/stat.h>
#include <sys/types.h>
#include <errno.h>
#include <map>
#include <string>
#include <vector>
#include <base/string_util.h>
... | Add unit tests for utils IsSymlink and SetProcessPriority. | AU: Add unit tests for utils IsSymlink and SetProcessPriority.
BUG=6243
TEST=unit tests
Change-Id: I50841af0e24df4facdd08b5eb04b2afa053d1e75
Review URL: http://codereview.chromium.org/5265001
| C++ | bsd-3-clause | marineam/update_engine,endocode/update_engine,mjg59/update_engine,endocode/update_engine,mjg59/update_engine,endocode/update_engine,marineam/update_engine,marineam/update_engine,marineam/update_engine,mjg59/update_engine |
20591a7231b4094f16af30fab46cc16ba231417e | test/cpp/test-sphinx.cpp | test/cpp/test-sphinx.cpp | /*
* Copyright (c) 2008 Digital Bazaar, Inc. All rights reserved.
*/
#include <iostream>
#include <sstream>
#include "db/sphinx/SphinxClient.h"
#include "db/data/json/JsonWriter.h"
#include "db/io/OStreamOutputStream.h"
#include "db/rt/Exception.h"
#include "db/test/Test.h"
#include "db/test/Tester.h"
#include "db/... | /*
* Copyright (c) 2008 Digital Bazaar, Inc. All rights reserved.
*/
#include <iostream>
#include <sstream>
#include "db/sphinx/SphinxClient.h"
#include "db/data/json/JsonWriter.h"
#include "db/io/OStreamOutputStream.h"
#include "db/rt/Exception.h"
#include "db/test/Test.h"
#include "db/test/Tester.h"
#include "db/... | Use dumpDynamicObject() and comment out output. | Use dumpDynamicObject() and comment out output.
| C++ | agpl-3.0 | digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch |
85b917b737fb82cdd7c19a241c9bba8f8148bc44 | himan-plugins/source/dewpoint.cpp | himan-plugins/source/dewpoint.cpp | /**
* @file dewpoint.cpp
*
* @date Jan 21, 2012
* @author partio
*/
#include "dewpoint.h"
#include <iostream>
#include "plugin_factory.h"
#include "logger_factory.h"
#include <boost/lexical_cast.hpp>
#define HIMAN_AUXILIARY_INCLUDE
#include "fetcher.h"
#include "writer.h"
#include "neons.h"
#include "pcuda.h"
... | /**
* @file dewpoint.cpp
*
* @date Jan 21, 2012
* @author partio
*/
#include "dewpoint.h"
#include <iostream>
#include "plugin_factory.h"
#include "logger_factory.h"
#include <boost/lexical_cast.hpp>
#define HIMAN_AUXILIARY_INCLUDE
#include "fetcher.h"
#include "writer.h"
#include "neons.h"
#include "pcuda.h"
... | Convert to celsius | Convert to celsius
| C++ | mit | fmidev/himan,fmidev/himan,fmidev/himan |
b29134e4b3cf193e91343c557ca55c4f24f8b76b | himan-plugins/source/dewpoint.cpp | himan-plugins/source/dewpoint.cpp | /**
* @file dewpoint.cpp
*
*/
#include "dewpoint.h"
#include "forecast_time.h"
#include "level.h"
#include "logger_factory.h"
#include "metutil.h"
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace himan::plugin;
dewpoint::dewpoint()
{
itsClearTextFormula = "Td = T / (1 - (T * ln(RH)*(Rw/L)))... | /**
* @file dewpoint.cpp
*
*/
#include "dewpoint.h"
#include "forecast_time.h"
#include "level.h"
#include "logger_factory.h"
#include "metutil.h"
#include <boost/lexical_cast.hpp>
using namespace std;
using namespace himan::plugin;
dewpoint::dewpoint()
{
itsClearTextFormula = "Td = T / (1 - (T * ln(RH)*(Rw/L)))... | make CPU and GPU behaviour the same | dewpoint: make CPU and GPU behaviour the same
| C++ | mit | fmidev/himan,fmidev/himan,fmidev/himan |
1557c99f29a3b6a39049f1eb0282326a63a8da65 | tests/Test.cpp | tests/Test.cpp |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkTLazy.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "gl/SkNativeGLContext.h"
#else
class GrContext;
#endif
SK_DEFINE_INST_COUNT(skiate... |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Test.h"
#include "SkTLazy.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "gl/SkNativeGLContext.h"
#else
class GrContext;
#endif
SK_DEFINE_INST_COUNT(skiate... | Fix the gr/gl destruction order in Test.cpp | Fix the gr/gl destruction order in Test.cpp
R=djsollen@google.com
Review URL: https://codereview.appspot.com/6851126
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@6602 2bbb7eff-a529-9590-31e7-b0007b416f81
| C++ | bsd-3-clause | Cue/skia,Cue/skia,Cue/skia,Cue/skia |
430e36e25f7a105b940a9a17b8a9d3734157fdfe | tests/init.cpp | tests/init.cpp | #include "catch.hpp"
#include <iostream>
//#include "Database_Creator.hpp"
#include "Database_Sorter.hpp"
person readPerson(std::string const & file_name, size_t const index) {
person result;
std::ifstream file(file_name);
for (size_t i = 0; i < index + 1; i++) {
file >> result;
}
file.close();
return result;
... | #include "catch.hpp"
#include <iostream>
//#include "Database_Creator.hpp"
#include "Database_Sorter.hpp"
person readPerson(std::string const & file_name, size_t const index) {
person result;
std::ifstream file(file_name);
for (size_t i = 0; i < index + 1; i++) {
file >> result;
}
file.close();
return result;
... | Update init.cpp | Update init.cpp | C++ | mit | ArtemKokorinStudent/External-sort |
9eac2b2d40d4f2f66e3b1f7fb270118ce5ae4d00 | tests/init.cpp | tests/init.cpp | #include "stack.hpp"
stack<int> st;
TEST_CASE("Thow threads", "[T]") {
std::thread thread1([]() {
for (size_t i = 0; i < 100; i++) {
st.push(rand());
}
});
std::thread thread2([]() {
for (size_t i = 0; i < 100;) {
if (!st.empty()) {
std::cout << st.top() << std::endl;
st.pop();
i++;
}
}
... | #include "catch.hpp"
#include "stack.hpp"
stack<int> st;
TEST_CASE("Thow threads", "[T]") {
std::thread thread1([]() {
for (size_t i = 0; i < 100; i++) {
st.push(rand());
}
});
std::thread thread2([]() {
for (size_t i = 0; i < 100;) {
if (!st.empty()) {
std::cout << st.top() << std::endl;
st.pop... | Update init.cpp | Update init.cpp | C++ | mit | ArtemKokorinStudent/StackW |
d31dede6ac6d90b281f223fc1445f414a612a0e0 | SCT-Plugin/hooks/weapon_fire.cpp | SCT-Plugin/hooks/weapon_fire.cpp | //Source file for the Weapon Fire hook module.
//This hook controls how weapons are fired.
#include "weapon_fire.h"
#include <SCBW/scbwdata.h>
#include <SCBW/enumerations.h>
#include <SCBW/api.h>
//-------- Helper function declarations. Do NOT modify! ---------//
namespace {
typedef void (__stdcall *GetWe... | //Source file for the Weapon Fire hook module.
//This hook controls how weapons are fired.
#include "weapon_fire.h"
#include <SCBW/scbwdata.h>
#include <SCBW/enumerations.h>
#include <SCBW/api.h>
//-------- Helper function declarations. Do NOT modify! ---------//
namespace {
typedef void (__stdcall *GetWe... | Fix a silly bug that caused Vultures to fire backwards. | Fix a silly bug that caused Vultures to fire backwards. | C++ | isc | xboi209/general-plugin-template-project,SCMapsAndMods/general-plugin-template-project,xboi209/general-plugin-template-project,SCMapsAndMods/general-plugin-template-project |
26dc520cc328df44c70afe327a233207e8db3eaf | tests/ft_wallpaperbusinesslogic/ft_wallpaperbusinesslogic.cpp | tests/ft_wallpaperbusinesslogic/ft_wallpaperbusinesslogic.cpp | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of meegotouch-controlpanelapplets.
**
** If you have questions regardin... | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of meegotouch-controlpanelapplets.
**
** If you have questions regardin... | Revert "Changes: a possible fix for ft_wallpaperbusinesslogic" | Revert "Changes: a possible fix for ft_wallpaperbusinesslogic"
This reverts commit 2aa70b5d877ff622954457aba82a3b4b12a0baca.
| C++ | lgpl-2.1 | nemomobile-graveyard/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets |
003267a14e8000fdff4d5b34930cc1b25ffe0068 | test/run_http_server.cxx | test/run_http_server.cxx | #include "http_server/http_server.hxx"
#include "http_server/Request.hxx"
#include "http_server/Handler.hxx"
#include "http_headers.hxx"
#include "duplex.hxx"
#include "direct.hxx"
#include "istream/sink_null.hxx"
#include "istream/istream_byte.hxx"
#include "istream/istream_delayed.hxx"
#include "istream/istream_head.... | #include "http_server/http_server.hxx"
#include "http_server/Request.hxx"
#include "http_server/Handler.hxx"
#include "http_headers.hxx"
#include "duplex.hxx"
#include "direct.hxx"
#include "istream/sink_null.hxx"
#include "istream/istream_byte.hxx"
#include "istream/istream_delayed.hxx"
#include "istream/istream_head.... | use class TimerEvent | test/run_http_server: use class TimerEvent | C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
0341b31a9a483105668996764252abbb72be7749 | include/Pomdog/Utility/Assert.hpp | include/Pomdog/Utility/Assert.hpp | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_ASSERT_7D111D58_HPP
#define POMDOG_ASSERT_7D111D58_HPP
#include "Pomdog/Basic/Platform.hpp"
#include <cassert>
#if defined(_MSC_VER)
#include <xutility>
#endif
#if defined(linux) || defined(__li... | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_ASSERT_7D111D58_HPP
#define POMDOG_ASSERT_7D111D58_HPP
#include "Pomdog/Basic/Platform.hpp"
#include <cassert>
#if defined(_MSC_VER)
#include <xutility>
#endif
#if defined(linux) || defined(__li... | Fix compiler warnings on MSVC | Fix compiler warnings on MSVC
| C++ | mit | mogemimi/pomdog,mogemimi/pomdog,mogemimi/pomdog |
0babebbec2a80e3aa29b765e45d3f4fed30bc31f | include/ips4o/cleanup_margins.hpp | include/ips4o/cleanup_margins.hpp | /******************************************************************************
* include/ips4o/cleanup_margins.hpp
*
* In-place Parallel Super Scalar Samplesort (IPS⁴o)
*
******************************************************************************
* BSD 2-Clause License
*
* Copyright © 2017, Michael Axtmann ... | /******************************************************************************
* include/ips4o/cleanup_margins.hpp
*
* In-place Parallel Super Scalar Samplesort (IPS⁴o)
*
******************************************************************************
* BSD 2-Clause License
*
* Copyright © 2017, Michael Axtmann ... | Add correct parenthesis | Add correct parenthesis
| C++ | bsd-2-clause | ips4o/ips4o |
2cdf6ef38039f90f688545b2e426194389f1a4e3 | include/mockturtle/mockturtle.hpp | include/mockturtle/mockturtle.hpp | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights... | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights... | add `write_aiger.hpp` to `mockturtle.hpp`. | add `write_aiger.hpp` to `mockturtle.hpp`.
| C++ | mit | lsils/mockturtle,lsils/mockturtle,lsils/mockturtle,lsils/mockturtle |
8bf29d37da747108d9c51f75491a2649e6060aa5 | include/resplunk/event/Events.hpp | include/resplunk/event/Events.hpp | #ifndef resplunk_event_Events_HeaderPlusPlus
#define resplunk_event_Events_HeaderPlusPlus
#include "resplunk/util/TMP.hpp"
#include <cstdint>
#include <limits>
#include <type_traits>
#include <functional>
#include <memory>
#include <map>
namespace resplunk
{
namespace event
{
struct Event;
struct ListenerPrio... | #ifndef resplunk_event_Events_HeaderPlusPlus
#define resplunk_event_Events_HeaderPlusPlus
#include "resplunk/util/TMP.hpp"
#include <cstdint>
#include <limits>
#include <type_traits>
#include <functional>
#include <memory>
#include <map>
namespace resplunk
{
namespace event
{
struct Event;
struct ListenerPrio... | Comment the macro | Comment the macro
| C++ | unlicense | LB--/resplunk |
6631d35405bf77b2ec1474c5af062d82b509ead6 | include/vsmc/utility/progress.hpp | include/vsmc/utility/progress.hpp | //============================================================================
// include/vsmc/utility/progress.hpp
//----------------------------------------------------------------------------
//
// vSMC: Scalable Monte Carlo
//
// This file is distribured under the 2-clauses BSD License.
// S... | //============================================================================
// include/vsmc/utility/progress.hpp
//----------------------------------------------------------------------------
//
// vSMC: Scalable Monte Carlo
//
// This file is distribured under the 2-clauses BSD License.
// S... | fix message prefix space | fix message prefix space
| C++ | bsd-2-clause | zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC |
97138f4e23d976d66e9566ebe1d87910decdf684 | include/vsmc/utility/progress.hpp | include/vsmc/utility/progress.hpp | //============================================================================
// vSMC/include/vsmc/utility/progress.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//----------------------------------------------------------------... | //============================================================================
// vSMC/include/vsmc/utility/progress.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//----------------------------------------------------------------... | allow change message in the middle of progress | allow change message in the middle of progress
| C++ | bsd-2-clause | zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC |
6d6cc17dc852a216395611bf651e57c19c95b9c4 | test/test_vector_test.cc | test/test_vector_test.cc | /*
* Copyright (c) 2013 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | /*
* Copyright (c) 2013 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | disable row mt test | disable row mt test
deadlock is being investigated in attached bug.
BUG=webm:1626
Change-Id: Ia6d7020b8b1d274433aa89f36c9ed5b9facc5808
| C++ | bsd-3-clause | webmproject/libvpx,ShiftMediaProject/libvpx,webmproject/libvpx,webmproject/libvpx,ShiftMediaProject/libvpx,ShiftMediaProject/libvpx,webmproject/libvpx,webmproject/libvpx,webmproject/libvpx,ShiftMediaProject/libvpx,ShiftMediaProject/libvpx |
ef877d846f7c5a023033ed5201938f31e4ff2e35 | test/vp9_ethread_test.cc | test/vp9_ethread_test.cc | /*
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | /*
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... | replace FramePktHook w/DecompressedFrameHook | vp9_ethread_test: replace FramePktHook w/DecompressedFrameHook
this avoids the decoder test which was only correct for vp9, vp10 was
missed in the earlier change
Change-Id: Ib789c906d440c0e4169052cf64c74d5e4b196caa
| C++ | bsd-2-clause | luctrudeau/aom,smarter/aom,GrokImageCompression/aom,webmproject/libvpx,Topopiccione/libvpx,ShiftMediaProject/libvpx,mbebenita/aom,mbebenita/aom,webmproject/libvpx,mwgoldsmith/vpx,GrokImageCompression/aom,ShiftMediaProject/libvpx,GrokImageCompression/aom,mwgoldsmith/vpx,luctrudeau/aom,mwgoldsmith/libvpx,GrokImageCompres... |
f6584e02f79933e328787e49328fbe33ef9d1731 | PathResolver.cpp | PathResolver.cpp | /*
* PathResolver.cpp
* openc2e
*
* Created by Bryan Donlan
* Copyright (c) 2005 Bryan Donlan. All rights reserved.
*
* 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; eithe... | /*
* PathResolver.cpp
* openc2e
*
* Created by Bryan Donlan
* Copyright (c) 2005 Bryan Donlan. All rights reserved.
*
* 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; eithe... | Clear the cache before wildcard-searching | Clear the cache before wildcard-searching
| C++ | lgpl-2.1 | ccdevnet/openc2e,ccdevnet/openc2e,crystalline/openc2e,crystalline/openc2e,crystalline/openc2e,ccdevnet/openc2e,crystalline/openc2e,crystalline/openc2e,bdonlan/openc2e,bdonlan/openc2e,ccdevnet/openc2e,bdonlan/openc2e,ccdevnet/openc2e,bdonlan/openc2e,ccdevnet/openc2e |
5e5dc2b5bc2c01d14f000aded9ce6e37c389c4e3 | tests/Semaphore_test.cpp | tests/Semaphore_test.cpp | #include <gtest/gtest.h>
#include <Semaphore.hpp>
//////////////////////////////////////////////////////////////////
TEST(Semaphore, test_01)
{
using namespace linux::posix;
ASSERT_TRUE(true);
Name n("/ARTA");
OpenOptions f;
Semaphore s(n, false, f, 4);
// posix::SharedMemory sm3(n,... | #include <gtest/gtest.h>
#include <Semaphore.hpp>
//////////////////////////////////////////////////////////////////
TEST(Semaphore, test_01)
{
using namespace linux::posix;
ASSERT_TRUE(true);
Name n("/ARTA");
OpenOptions f;
Semaphore s1(n, false, f, 4);
Semaphore s2(n, false);
// AS... | add unit test for Semaphore | add unit test for Semaphore
| C++ | mpl-2.0 | popovb/SharMemPlusPlus |
84d74cd76b8d85b42d46f6e0d3bbb1c2a483f3d0 | tests/src/ml/Context.cpp | tests/src/ml/Context.cpp |
#include <gtest/gtest.h>
#include <okui/ml/Context.h>
#include <okui/ml/Environment.h>
TEST(ml_Context, load) {
okui::ml::Environment ml;
okui::ml::Context context(&ml);
auto element = context.load(R"(
<view background-color="green">
<view x="20" y="20" width="200" height="40" background-col... |
#include <gtest/gtest.h>
#include <okui/View.h>
#include <okui/ml/Context.h>
#include <okui/ml/Environment.h>
TEST(ml_Context, load) {
okui::ml::Environment ml;
okui::ml::Context context(&ml);
auto element = context.load(R"(
<view background-color="green">
<view x="20" y="20" width="200" hei... | test build fix | test build fix
| C++ | apache-2.0 | bittorrent/okui,bittorrent/okui,bittorrent/okui,bittorrent/okui,bittorrent/okui |
f98fb5e07205c3a705f09efb0034b3bb6f612c02 | base/time_mac.cc | base/time_mac.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/time.h"
#include <CoreFoundation/CFDate.h>
#include <CoreFoundation/CFTimeZone.h>
#include <mach/mach_time.h>
#include <sys/time.h>
#i... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/time.h"
#include <CoreFoundation/CFDate.h>
#include <CoreFoundation/CFTimeZone.h>
#include <mach/mach_time.h>
#include <sys/sysctl.h>
... | Improve TimeTicks on iOS. | Improve TimeTicks on iOS.
TimeTicks stops ticking on iOS when the device is sleeping. This patch compute timeticks by computing the difference between the current time and the boot time, as the system update boot time when it updates the clock.
R=stuartmorgan@chromium.org
BUG=None
Review URL: https://chromiumcoder... | C++ | bsd-3-clause | Jonekee/chromium.src,markYoungH/chromium.src,mogoweb/chromium-crosswalk,M4sse/chromium.src,littlstar/chromium.src,markYoungH/chromium.src,fujunwei/chromium-crosswalk,patrickm/chromium.src,dednal/chromium.src,Jonekee/chromium.src,ltilve/chromium,anirudhSK/chromium,Chilledheart/chromium,dednal/chromium.src,timopulkkinen/... |
4ffb76ebb830520b946ff7722d4e44f8a3b227d9 | graf2d/gpadv7/src/RStyle.cxx | graf2d/gpadv7/src/RStyle.cxx | /*************************************************************************
* Copyright (C) 1995-2017, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing... | /*************************************************************************
* Copyright (C) 1995-2017, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing... | use internal parser class instead of lambdas | [rstyle] use internal parser class instead of lambdas
Fix small issues with decoding
| C++ | lgpl-2.1 | root-mirror/root,olifre/root,karies/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,karies/root,olifre/root,olifre/root,karies/root,karies/root,karies/root,olifre/root,karies/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,root-mirror/root,olifre/ro... |
a967cc79dc0c84e2cfcedbfd1eece77f62b58602 | tools/mlir-translate/mlir-translate.cpp | tools/mlir-translate/mlir-translate.cpp | //===- mlir-translate.cpp - MLIR Translate Driver -------------------------===//
//
// Copyright 2019 The MLIR 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.... | //===- mlir-translate.cpp - MLIR Translate Driver -------------------------===//
//
// Copyright 2019 The MLIR 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.... | Verify IR produced by TranslateToMLIR functions | Verify IR produced by TranslateToMLIR functions
TESTED with existing unit tests
PiperOrigin-RevId: 235623059
| C++ | apache-2.0 | tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,annarev/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,gunan/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,gunan/tensorflow,gunan/tensorflow,Intel-Corporatio... |
03b0896981415fc0210d0b5cb558a2235a7ffb0a | SurgSim/Framework/Accessible.cpp | SurgSim/Framework/Accessible.cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | Update warning message | Update warning message
| C++ | apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim |
08f7ea9c56fdb0b5a0f5ce69aa50794aab8fbee4 | toml/source_location.hpp | toml/source_location.hpp | // Copyright Toru Niina 2019.
// Distributed under the MIT License.
#ifndef TOML11_SOURCE_LOCATION_HPP
#define TOML11_SOURCE_LOCATION_HPP
#include <cstdint>
#include "region.hpp"
namespace toml
{
// A struct to contain location in a toml file.
// The interface imitates std::experimental::source_location,
// but ... | // Copyright Toru Niina 2019.
// Distributed under the MIT License.
#ifndef TOML11_SOURCE_LOCATION_HPP
#define TOML11_SOURCE_LOCATION_HPP
#include <cstdint>
#include "region.hpp"
namespace toml
{
// A struct to contain location in a toml file.
// The interface imitates std::experimental::source_location,
// but ... | remove extraneous whitespaces in errmsg | refactor: remove extraneous whitespaces in errmsg
| C++ | mit | ToruNiina/toml11 |
d8b7c188dc7f76318bf331dc944253ac59ab193a | tomviz/ModuleContour.cxx | tomviz/ModuleContour.cxx | /******************************************************************************
This source file is part of the tomviz project.
Copyright Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distributed u... | /******************************************************************************
This source file is part of the tomviz project.
Copyright Kitware, Inc.
This source code is released under the New BSD License, (the "License").
Unless required by applicable law or agreed to in writing, software
distributed u... | Save the both color properties for contour's solid color | Save the both color properties for contour's solid color
Not saving the AmbientColor (needed for coloring wireframes) was causing
the solid color to revert to the default ambient color (white) when a
state file was loaded.
| C++ | bsd-3-clause | mathturtle/tomviz,thewtex/tomviz,cjh1/tomviz,OpenChemistry/tomviz,cjh1/tomviz,thewtex/tomviz,mathturtle/tomviz,thewtex/tomviz,OpenChemistry/tomviz,cryos/tomviz,cryos/tomviz,cryos/tomviz,mathturtle/tomviz,cjh1/tomviz,OpenChemistry/tomviz,OpenChemistry/tomviz |
286938b3c2c767419bcbdafc321d266bfe82e8fe | homework/Feldman/02/calc.cpp | homework/Feldman/02/calc.cpp | #include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <iostream>
#include <string.h>
using namespace std;
int select_operation(int a, int b, char op) {//Функция выбора оберации
switch (op) {
case '+':
return a + b;
case '-':
return a - b;
case '*':
return a * b;
case '/':
if (b == 0)
throw... | #include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <iostream>
#include <string.h>
using namespace std;
int select_operation(int a, int b, char op) {//Функция выбора оберации
switch (op) {
case '+':
return a + b;
case '-':
return a - b;
case '*':
return a * b;
case '/':
if (b == 0)
throw... | Update calc.cpp | Update calc.cpp | C++ | mit | mtrempoltsev/msu_cpp_autumn_2017,mtrempoltsev/msu_cpp_autumn_2017,mtrempoltsev/msu_cpp_autumn_2017,mtrempoltsev/msu_cpp_autumn_2017 |
03eb5020cd399b6a9c5936432763216bb4988612 | http/src/common/transmit.cpp | http/src/common/transmit.cpp | #include "transmit.h"
#include "error.h"
namespace snf {
namespace http {
/*
* Sends the HTTP message data.
*
* @param [in] data - data to send.
* @param [in] datalen - length of the data to be sent.
* @param [in] exceptstr - exception message in case of error.
*
* @throws std::system_error in case of w... | #include "transmit.h"
#include "error.h"
namespace snf {
namespace http {
/*
* Sends the HTTP message data.
*
* @param [in] data - data to send.
* @param [in] datalen - length of the data to be sent.
* @param [in] exceptstr - exception message in case of error.
*
* @throws std::system_error in case of w... | Terminate chunk data with CRLF. | Terminate chunk data with CRLF.
| C++ | mit | wma1729/simple-n-fast,wma1729/simple-n-fast,wma1729/simple-n-fast,wma1729/simple-n-fast |
816e09ae337c8f2c948c2215eb58ae24abebeb22 | UnitTests/SupportModuleTests.cpp | UnitTests/SupportModuleTests.cpp | // For conditions of distribution and use, see copyright notice in license.txt
#include <boost/test/unit_test.hpp>
#include "CoreStdIncludes.h"
#include "Core.h"
#include "Foundation.h"
#include "ServiceInterfaces.h"
//! Unit test for framework
BOOST_AUTO_TEST_SUITE(test_suite_support_modules)
struct ... | // For conditions of distribution and use, see copyright notice in license.txt
#include <boost/test/unit_test.hpp>
#include "CoreStdIncludes.h"
#include "Core.h"
#include "Foundation.h"
#include "ServiceInterfaces.h"
//! Unit test for framework
BOOST_AUTO_TEST_SUITE(test_suite_support_modules)
struct ... | Fix for member function pointers. | Fix for member function pointers.
git-svn-id: 65dd0ccd495961f396d5302e5521154b071f0302@204 5b2332b8-efa3-11de-8684-7d64432d61a3
| C++ | apache-2.0 | antont/tundra,antont/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,jesterKing/naali,realXtend/tundra,jesterKing/naali,jesterKing/naali,BogusCurry/tundra,AlphaStaxLLC/tundra,jesterKing/naali,realXtend/tundra,jesterKing/naali,antont/tundra,antont/tundra,pharos3d/tundra,AlphaStaxLLC/tundra,AlphaStaxLLC/tundra... |
13fa95d743a41b242465065622666a1ec47064ab | include/impl/iutest_port.ipp | include/impl/iutest_port.ipp | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_port.ipp
* @brief iris unit test 依存関数 ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2014, Takazumi Shirayanagi\... | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_port.ipp
* @brief iris unit test 依存関数 ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2014, Takazumi Shirayanagi\... | update r719 | update r719
| C++ | bsd-3-clause | srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest |
09e03687504a35ce06f3df293b375fe35e80894f | include/libtorrent/debug.hpp | include/libtorrent/debug.hpp | /*
Copyright (c) 2003-2014, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | /*
Copyright (c) 2003-2014, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and ... | fix wakeup profiling to not grow memory usage indefinitely | fix wakeup profiling to not grow memory usage indefinitely
git-svn-id: c39a6fcb73c71bf990fd9353909696546eb40440@10755 a83610d8-ad2a-0410-a6ab-fc0612d85776
| C++ | bsd-3-clause | mirror/libtorrent,mirror/libtorrent,john-peterson/libtorrent-old,mirror/libtorrent,john-peterson/libtorrent-old,john-peterson/libtorrent-old,john-peterson/libtorrent-old,john-peterson/libtorrent-old,john-peterson/libtorrent-old,mirror/libtorrent,mirror/libtorrent,mirror/libtorrent |
32dc598e74de790413521f0e9edcd53e651a9d2c | ionScience/MarchingCubes.cpp | ionScience/MarchingCubes.cpp |
#include "MarchingCubes.h"
#include "MarchingCubesLookupTables.h"
#include "CColorTable.h"
void CalculateGradient(SMarchingCubesVolume & Volume)
{
for (s32 z = 0; z < Volume.Dimensions.Z; ++ z)
for (s32 y = 0; y < Volume.Dimensions.Y; ++ y)
for (s32 x = 0; x < Volume.Dimensions.X; ++ x)
{
Volume.... |
#include "MarchingCubes.h"
#include "MarchingCubesLookupTables.h"
#include "CColorTable.h"
void CalculateGradient(SMarchingCubesVolume & Volume)
{
for (s32 z = 0; z < Volume.Dimensions.Z; ++ z)
for (s32 y = 0; y < Volume.Dimensions.Y; ++ y)
for (s32 x = 0; x < Volume.Dimensions.X; ++ x)
{
Volume.... | Fix some issues with border behaviour of marching cubes implementation | [ionScience] Fix some issues with border behaviour of marching cubes implementation
| C++ | mit | iondune/ionEngine,iondune/ionEngine |
a82c2e05b198fc8aa4f56e1ad1b6f42573266d74 | plugins/robots/interpreters/trikKitInterpreterCommon/src/trikKitInterpreterPluginBase.cpp | plugins/robots/interpreters/trikKitInterpreterCommon/src/trikKitInterpreterPluginBase.cpp | /* Copyright 2013-2016 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | /* Copyright 2013-2016 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | fix active buttons on wrong code | fix active buttons on wrong code
| C++ | apache-2.0 | iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal |
aa1dbbe59aa6e7a8eb0536e33738e99f5a712f25 | Modules/DiffusionImaging/DiffusionCore/Algorithms/Registration/mitkBatchedRegistration.cpp | Modules/DiffusionImaging/DiffusionCore/Algorithms/Registration/mitkBatchedRegistration.cpp | #include "mitkBatchedRegistration.h"
#include "mitkPyramidImageRegistrationMethod.h"
#include "mitkDiffusionImage.h"
#include <mitkRotationOperation.h>
#include <mitkDiffusionImageCorrectionFilter.h>
#include "itkB0ImageExtractionImageFilter.h"
#include <itkScalableAffineTransform.h>
#include <vnl/vnl_inverse.h>
// V... | #include "mitkBatchedRegistration.h"
#include "mitkPyramidImageRegistrationMethod.h"
#include "mitkDiffusionImage.h"
#include <mitkRotationOperation.h>
#include <mitkDiffusionImageCorrectionFilter.h>
#include "itkB0ImageExtractionImageFilter.h"
#include <itkScalableAffineTransform.h>
#include <vnl/vnl_inverse.h>
// V... | Fix Image data access | Fix Image data access
| C++ | bsd-3-clause | MITK/MITK,iwegner/MITK,rfloca/MITK,rfloca/MITK,danielknorr/MITK,rfloca/MITK,danielknorr/MITK,fmilano/mitk,rfloca/MITK,fmilano/mitk,iwegner/MITK,danielknorr/MITK,danielknorr/MITK,NifTK/MITK,lsanzdiaz/MITK-BiiG,NifTK/MITK,lsanzdiaz/MITK-BiiG,MITK/MITK,lsanzdiaz/MITK-BiiG,danielknorr/MITK,iwegner/MITK,rfloca/MITK,MITK/MIT... |
0a1ae6f71589d6ff8d999037455157be95662bb6 | components/content_settings/core/browser/plugins_field_trial_unittest.cc | components/content_settings/core/browser/plugins_field_trial_unittest.cc | // Copyright 2015 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 "components/content_settings/core/browser/plugins_field_trial.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "base/metrics/... | // Copyright 2015 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 "components/content_settings/core/browser/plugins_field_trial.h"
#include "base/command_line.h"
#include "base/macros.h"
#include "base/metrics/... | Disable PluginsFieldTrialTest.NoPrefLeftBehind on iOS | Disable PluginsFieldTrialTest.NoPrefLeftBehind on iOS
The test is very flaky on iOS bots.
TBR=bauerb@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=523462
Review URL: https://codereview.chromium.org/1308953002
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#344856}
| C++ | bsd-3-clause | ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,ltilve/ChromiumGStreamerBackend,CapOM/ChromiumGStreamerBackend,CapO... |
5c54030dd456d8e43740cd732917a0624b3c7ced | domains/integrator_chains/dynamaestro/examples/standalone/genproblem.cpp | domains/integrator_chains/dynamaestro/examples/standalone/genproblem.cpp | #include <iostream>
#include <cstdlib>
#include <Eigen/Dense>
#include "problem.h"
int main()
{
Eigen::Vector2i numdim_output_bounds( 2, 2 );
Eigen::Vector2i num_integrators_bounds( 2, 2 );
Eigen::Vector4d Y_max;
Y_max << 0, 10, 0, 10;
Eigen::Vector4d U_max;
U_max << -1, 1, -1, 1;
Eigen::Vector2d period_b... | #include <iostream>
#include <cstdlib>
#include <Eigen/Dense>
#include "problem.h"
int main()
{
Eigen::Vector2i numdim_output_bounds( 2, 2 );
Eigen::Vector2i num_integrators_bounds( 2, 2 );
Eigen::Vector4d Y_box;
Y_box << -1, 10, -2, 10;
Eigen::Vector4d U_box;
U_box << -1, 1, -1, 1;
Eigen::Vector2d period... | Update genproblem for current Problem::random() | EXAMPLE: Update genproblem for current Problem::random()
The output can be plotted as before, e.g.,
./genproblem | ../../analysis/plotp.py -
| C++ | bsd-3-clause | fmrchallenge/fmrbenchmark,fmrchallenge/fmrbenchmark,fmrchallenge/fmrbenchmark |
88f25328e09d49f122ec9a163a9cb0395f3b9c9d | content/child/runtime_features.cc | content/child/runtime_features.cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/child/runtime_features.h"
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "content/common/content_switche... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/child/runtime_features.h"
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#include "content/common/content_switche... | Revert of Remove PagePopup runtime flag (status=stable) for chromium (patchset #2 id:20001 of https://codereview.chromium.org/586053003/) | Revert of Remove PagePopup runtime flag (status=stable) for chromium (patchset #2 id:20001 of https://codereview.chromium.org/586053003/)
Reason for revert:
Broke <input type=color> UI on Android.
Original issue's description:
> Remove PagePopup runtime flag (status=stable) for chromium
>
> BUG=402536
>
> Committed: ... | C++ | bsd-3-clause | TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,dednal/chromium.src,krieger-od/nwjs_chromium.src,krieger-od/nwjs_chromium.src,ltilve/chromium,axinging/chromium-crosswalk,dednal/chromium.src,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,J... |
bb54f0217aeb5746cf82373b11bd750faf59f392 | interfaces/python/pyinterface.cpp | interfaces/python/pyinterface.cpp | #include <Python.h>
#include <iostream>
#include <minizinc/parser.hh>
#include <minizinc/model.hh>
#include <minizinc/eval_par.hh>
#include <minizinc/typecheck.hh>
#include <minizinc/flatten.hh>
#include <minizinc/optimize.hh>
#include <minizinc/builtins.hh>
#include <minizinc/file_utils.hh>
#include <minizinc/solvers... | #include <Python.h>
#include <iostream>
#include <cstdio>
#include <minizinc/parser.hh>
#include <minizinc/model.hh>
#include <minizinc/eval_par.hh>
#include <minizinc/typecheck.hh>
#include <minizinc/flatten.hh>
#include <minizinc/optimize.hh>
#include <minizinc/builtins.hh>
#include <minizinc/file_utils.hh>
#include... | add multidimensional array output (float not working yet) | add multidimensional array output (float not working yet)
| C++ | mpl-2.0 | nathanielbaxter/libminizinc,nathanielbaxter/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,jjdekker/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,jjdekker/libminizinc |
cf97eb5b056e14db387a92f0394f59d208af287b | src/clustering/administration/persist/raft_storage_interface.cc | src/clustering/administration/persist/raft_storage_interface.cc | // Copyright 2010-2015 RethinkDB, all rights reserved.
#include "clustering/administration/persist/raft_storage_interface.hpp"
#include "clustering/administration/persist/file_keys.hpp"
/* The raft state is stored as follows:
- There is a single `table_raft_stored_header_t` which stores `current_term` and
`voted_... | // Copyright 2010-2015 RethinkDB, all rights reserved.
#include "clustering/administration/persist/raft_storage_interface.hpp"
#include "clustering/administration/persist/file_keys.hpp"
/* The raft state is stored as follows:
- There is a single `table_raft_stored_header_t` which stores `current_term` and
`voted_... | Fix for #4422, OTS reviewed by @timmaxw. | Fix for #4422, OTS reviewed by @timmaxw.
| C++ | apache-2.0 | yakovenkodenis/rethinkdb,niieani/rethinkdb,robertjpayne/rethinkdb,4talesa/rethinkdb,victorbriz/rethinkdb,sebadiaz/rethinkdb,yaolinz/rethinkdb,yaolinz/rethinkdb,elkingtonmcb/rethinkdb,mquandalle/rethinkdb,elkingtonmcb/rethinkdb,ajose01/rethinkdb,gavioto/rethinkdb,4talesa/rethinkdb,rrampage/rethinkdb,JackieXie168/rethink... |
a8056f4e7bd7a0b3969347c912b8ca8d0a7872a7 | test/test_all.cpp | test/test_all.cpp | #define USE_VLD
#if defined(_MSC_VER) && defined(_DEBUG) && defined(USE_VLD)
# include "C:\\Program Files (x86)\\Visual Leak Detector\\include\\vld.h"
#endif
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <stdexcept>
#include <vector>
#include <locale>
#include <sstream>
#include <fstream>
#inclu... | // #define USE_VLD
#if defined(_MSC_VER) && defined(_DEBUG) && defined(USE_VLD)
# include "C:\\Program Files (x86)\\Visual Leak Detector\\include\\vld.h"
#endif
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <stdexcept>
#include <vector>
#include <locale>
#include <sstream>
#include <fstream>
#in... | Update test_all.cpp | Update test_all.cpp | C++ | apache-2.0 | realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core |
55d6aa791660d90d09810f39ed7d9d6f902196d8 | chrome/renderer/devtools_agent.cc | chrome/renderer/devtools_agent.cc | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/devtools_agent.h"
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/devtool... | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/renderer/devtools_agent.h"
#include "base/command_line.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/devtool... | Remove unused static implementation of sendMessageToFrontendOnIOThread. | Remove unused static implementation of sendMessageToFrontendOnIOThread.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/2852016
git-svn-id: http://src.chromium.org/svn/trunk/src@50451 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: 3f6f55afd8f892f62f6591eac708faa819290338 | C++ | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u... |
86a4e5139428a4b2b721d785cea6fa8839f20534 | cint/reflex/src/genmap/genmap.cxx | cint/reflex/src/genmap/genmap.cxx | // @(#)root/reflex:$Id: Class.cxx 20883 2007-11-19 11:52:08Z rdm $
// Include files----------------------------------------------------------------
#include "Reflex/Reflex.h"
#include "Reflex/PluginService.h"
#include "Reflex/SharedLibrary.h"
#include "../dir_manip.h"
#include <cstdlib>
#include <set>
#include <ctime... | // @(#)root/reflex:$Id: Class.cxx 20883 2007-11-19 11:52:08Z rdm $
// Include files----------------------------------------------------------------
#include "Reflex/Reflex.h"
#include "Reflex/PluginService.h"
#include "Reflex/SharedLibrary.h"
#include "../dir_manip.h"
#include <cstdlib>
#include <set>
#include <ctime... | Undo r42782 - unloading shlibs might cause problems (Savannah 90875) | Undo r42782 - unloading shlibs might cause problems (Savannah 90875)
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@42791 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical,bbockelm/root-historical |
6e4535e192025143f47d7b05ea18dd3d9efacf56 | circular-linked-list-deletion.cpp | circular-linked-list-deletion.cpp | /*******************************************************************************
Circular linked list deletion
=================================
Ref - http://quiz.geeksforgeeks.org/circular-linked-list/
--------------------------------------------------------------------------------
Problem
=======
Delete a node in... | /*******************************************************************************
Circular linked list deletion
=================================
Ref - http://quiz.geeksforgeeks.org/circular-linked-list/
--------------------------------------------------------------------------------
Problem
=======
Delete a node in... | Update circular linked list deletion | Update circular linked list deletion
| C++ | mit | divyanshu013/algorithm-journey |
f2d5b9d5be56afa2c6ab102a7fb506ed8791bc23 | clang-tidy/tool/ClangTidyMain.cpp | clang-tidy/tool/ClangTidyMain.cpp | //===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===--- tools/extra/clang-tidy/ClangTidyMain.cpp - Clang tidy tool -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix build error caused by r187345. | Fix build error caused by r187345.
git-svn-id: a34e9779ed74578ad5922b3306b3d80a0c825546@187346 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra,llvm-mirror/clang-tools-extra |
6dc519f65c1644be1f045c9dbab5251ccac16609 | translator.cpp | translator.cpp | /******************************************************************************
* Copyright (C) 2016 Kitsune Ral <kitsune-ral@users.sf.net>
*
* 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 Foun... | /******************************************************************************
* Copyright (C) 2016 Kitsune Ral <kitsune-ral@users.sf.net>
*
* 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 Foun... | copy and merge common attributes when recursing | parseEntries(): copy and merge common attributes when recursing
Closes #56.
| C++ | agpl-3.0 | KitsuneRal/matrix-csapi-generator |
6cf18cf425fd2dc51d890ddd039c2017c9d14004 | include/mtac/DataFlowDomain.hpp | include/mtac/DataFlowDomain.hpp | //=======================================================================
// Copyright Baptiste Wicht 2011-2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//================================================... | //=======================================================================
// Copyright Baptiste Wicht 2011-2012.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//================================================... | Fix the order of the template functions | Fix the order of the template functions
| C++ | mit | vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic |
30496fca8eff98fcf7ff715222013933b4f65dd0 | src/common/pixelboost/graphics/renderer/primitive/primitiveRenderer.cpp | src/common/pixelboost/graphics/renderer/primitive/primitiveRenderer.cpp | #ifndef PIXELBOOST_DISABLE_GRAPHICS
#include "glm/gtc/matrix_transform.hpp"
#include "pixelboost/graphics/device/device.h"
#include "pixelboost/graphics/device/indexBuffer.h"
#include "pixelboost/graphics/device/program.h"
#include "pixelboost/graphics/device/vertexBuffer.h"
#include "pixelboost/graphics/renderer/com... | #ifndef PIXELBOOST_DISABLE_GRAPHICS
#include "glm/gtc/matrix_transform.hpp"
#include "pixelboost/graphics/device/device.h"
#include "pixelboost/graphics/device/indexBuffer.h"
#include "pixelboost/graphics/device/program.h"
#include "pixelboost/graphics/device/vertexBuffer.h"
#include "pixelboost/graphics/renderer/com... | Remove redundant breakpoint | Remove redundant breakpoint
| C++ | mit | pixelballoon/pixelboost,pixelballoon/pixelboost,pixelballoon/pixelboost,pixelballoon/pixelboost,pixelballoon/pixelboost |
ac885200987dae1ffb807a5dd582fc650555bec5 | include/vsmc/utility/stdtbb.hpp | include/vsmc/utility/stdtbb.hpp | #ifndef VSMC_UTILITY_STDTBB_HPP
#define VSMC_UTILITY_STDTBB_HPP
#include <atomic>
#include <cstdlib>
#include <functional>
#include <memory>
#include <numeric>
#include <utility>
#include <thread>
#include <vector>
#include <vsmc/internal/config.hpp>
#include <vsmc/internal/assert.hpp>
#include <vsmc/internal/defines... | #ifndef VSMC_UTILITY_STDTBB_HPP
#define VSMC_UTILITY_STDTBB_HPP
#include <atomic>
#include <cstdlib>
#include <functional>
#include <memory>
#include <numeric>
#include <utility>
#include <thread>
#include <vector>
#include <vsmc/internal/config.hpp>
#include <vsmc/internal/assert.hpp>
#include <vsmc/internal/defines... | add how threadpool shall be used | add how threadpool shall be used
| C++ | bsd-2-clause | zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC,zhouyan/vSMC |
9a6447b7f645470a7536f1918101e2164d4f2729 | tutorials/roostats/rs101_limitexample.C | tutorials/roostats/rs101_limitexample.C | /////////////////////////////////////////////////////////////////////////
//
// 'Limit Example' RooStats tutorial macro #101
// author: Kyle Cranmer
// date June. 2009
//
// This tutorial shows an example of creating a simple
// model for a number counting experiment with uncertainty
// on both the background rate and ... | /////////////////////////////////////////////////////////////////////////
//
// 'Limit Example' RooStats tutorial macro #101
// author: Kyle Cranmer
// date June. 2009
//
// This tutorial shows an example of creating a simple
// model for a number counting experiment with uncertainty
// on both the background rate and ... | fix tutorials to avoid a crash when plotting chain and FC scanned points (see https://savannah.cern.ch/bugs/index.php?94761) | fix tutorials to avoid a crash when plotting chain and FC scanned points
(see https://savannah.cern.ch/bugs/index.php?94761)
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@45720 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | abhinavmoudgil95/root,simonpf/root,bbockelm/root,zzxuanyuan/root,bbockelm/root,pspe/root,davidlt/root,smarinac/root,sbinet/cxx-root,agarciamontoro/root,dfunke/root,bbockelm/root,mhuwiler/rootauto,satyarth934/root,Duraznos/root,esakellari/root,beniz/root,smarinac/root,dfunke/root,mkret2/root,esakellari/root,sirinath/roo... |
927b87bcd418ecff2478516f77313c63ba9c83c5 | OgreMain/src/OgreShadowCameraSetupPSSM.cpp | OgreMain/src/OgreShadowCameraSetupPSSM.cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2006 Torus Knot Software Ltd
Copyright (c) 2006 Matthias Fink, netAllied GmbH <matthias.fink@web.d... | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2006 Torus Knot Software Ltd
Copyright (c) 2006 Matthias Fink, netAllied GmbH <matthias.fink@web.d... | Fix PSSMShadowCameraSetup::calculateSplitPoints when using arbitrary number of splits | Fix PSSMShadowCameraSetup::calculateSplitPoints when using arbitrary number of splits | C++ | mit | jakzale/ogre,jakzale/ogre,jakzale/ogre,jakzale/ogre,jakzale/ogre |
8667a350abd1971e4840a5b1c77be2a7ed0bb950 | v8-shell.m.cpp | v8-shell.m.cpp | // v8-shell.m.cpp -*-C++-*-
#include <v8.h>
#include <fstream>
#include <iostream>
#include <iterator>
#include <sstream>
namespace {
static const char *toCString(v8::Handle<v8::Value> value)
{
return *v8::String::Utf8Value(value);
}
static std::ostream& form... | // v8-shell.m.cpp -*-C++-*-
#include <v8.h>
#include <fstream>
#include <iostream>
#include <iterator>
#include <sstream>
namespace {
static const char *toCString(v8::Handle<v8::Value> value)
{
return *v8::String::Utf8Value(value);
}
static std::ostream& form... | Use 'auto' where possible. | Use 'auto' where possible.
| C++ | mit | frutiger/v8-shell |
42750865bf323e9fd5bbe8edb0313a9d83997b1c | core/multiproc/src/TMPClient.cxx | core/multiproc/src/TMPClient.cxx | #include "TMPClient.h"
#include "TMPWorker.h"
#include "MPCode.h"
#include "TSocket.h"
#include "TGuiFactory.h" //gGuiFactory
#include "TVirtualX.h" //gVirtualX
#include "TSystem.h" //gSystem
#include "TROOT.h" //gROOT
#include "TError.h" //gErrorIgnoreLevel
#include <unistd.h> // close, fork
#include <sys/wait.h> // w... | #include "TMPClient.h"
#include "TMPWorker.h"
#include "MPCode.h"
#include "TSocket.h"
#include "TGuiFactory.h" //gGuiFactory
#include "TVirtualX.h" //gVirtualX
#include "TSystem.h" //gSystem
#include "TROOT.h" //gROOT
#include "TError.h" //gErrorIgnoreLevel
#include <unistd.h> // close, fork
#include <sys/wait.h> // w... | use ReadBuffer in TMPClient::HandleMPCode | use ReadBuffer in TMPClient::HandleMPCode
Signed-off-by: dpiparo <866ed6f288e41d68fafde22d35ed1a04986fa45f@cern.ch>
| C++ | lgpl-2.1 | bbockelm/root,sawenzel/root,veprbl/root,davidlt/root,BerserkerTroll/root,gbitzes/root,georgtroska/root,olifre/root,davidlt/root,zzxuanyuan/root,krafczyk/root,esakellari/root,mkret2/root,gbitzes/root,pspe/root,zzxuanyuan/root-compressor-dummy,lgiommi/root,lgiommi/root,buuck/root,root-mirror/root,pspe/root,zzxuanyuan/roo... |
81bdeade544eba065c2b85692c7604b0f1c21105 | ReactCommon/fabric/uimanager/UIManager.cpp | ReactCommon/fabric/uimanager/UIManager.cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "UIManager.h"
#include <react/core/ShadowNodeFragment.h>
#include <react/debug/SystraceSection.h>
#include <react/graphic... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "UIManager.h"
#include <react/core/ShadowNodeFragment.h>
#include <react/debug/SystraceSection.h>
#include <react/graphic... | Fix broken touches on all Fabric surfaces | Fix broken touches on all Fabric surfaces
Reviewed By: shergin
Differential Revision: D21261996
fbshipit-source-id: f42c19295ac127eca653631faad0ced4900f4758
| C++ | mit | facebook/react-native,janicduplessis/react-native,hoangpham95/react-native,myntra/react-native,hoangpham95/react-native,janicduplessis/react-native,arthuralee/react-native,facebook/react-native,pandiaraj44/react-native,facebook/react-native,arthuralee/react-native,pandiaraj44/react-native,hoangpham95/react-native,javac... |
eb6a18f6d8a7ef1c2309a79d6507a1ac6c81f314 | Rendering/Testing/Cxx/SurfacePlusEdges.cxx | Rendering/Testing/Cxx/SurfacePlusEdges.cxx | /*=========================================================================
Program: Visualization Toolkit
Module: SurfacePlusEdges.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | /*=========================================================================
Program: Visualization Toolkit
Module: SurfacePlusEdges.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... | adjust test to hopefully get it to pass on midworld. | ENH: adjust test to hopefully get it to pass on midworld.
| C++ | bsd-3-clause | hendradarwin/VTK,sumedhasingla/VTK,sankhesh/VTK,sumedhasingla/VTK,jmerkow/VTK,mspark93/VTK,demarle/VTK,biddisco/VTK,Wuteyan/VTK,ashray/VTK-EVM,ashray/VTK-EVM,cjh1/VTK,keithroe/vtkoptix,candy7393/VTK,sankhesh/VTK,berendkleinhaneveld/VTK,candy7393/VTK,ashray/VTK-EVM,hendradarwin/VTK,sumedhasingla/VTK,demarle/VTK,aashish2... |
ab8713d7921ba915efb4e2f1f40ad0b3ce1a12f2 | src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp | src/plugins/remotelinux/genericremotelinuxdeploystepfactory.cpp | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | /**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file may be used unde... | Fix crash in deploy config factory. | RemoteLinux: Fix crash in deploy config factory.
Change-Id: Ie4742619ae4b1138ba59dfe9ac9162a992cdfc18
Reviewed-on: http://codereview.qt.nokia.com/1697
Reviewed-by: Roberto Raggi <5b38c5be65ca2d75b92c40e91029e90f276fd4fe@nokia.com>
| C++ | lgpl-2.1 | duythanhphan/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,Distrotech/qtcreator,maui-packages/qt-creator,hdweiss/qt-creator-visualizer,richardmg/qtcreator,azat/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,KDE/android-qt-creator,KDAB/KDAB-Creator,danimo/qt-creator,martyone/sailfish-qtcreator,xianian/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.