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 |
|---|---|---|---|---|---|---|---|---|---|
935ce92a8a1916e612df2274b34b83d0266c78f1 | src/_viennacl/sparse_matrix.hpp | src/_viennacl/sparse_matrix.hpp | #ifndef _PYVIENNACL_VECTOR_H
#define _PYVIENNACL_VECTOR_H
#include "common.hpp"
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/vector_of_vector.hpp>
#include <viennacl/linalg/sparse_matrix_operations.hpp>
#include <viennacl/compressed_matrix.hpp>
#include <viennacl/compressed_compress... | #ifndef _PYVIENNACL_VECTOR_H
#define _PYVIENNACL_VECTOR_H
#include "common.hpp"
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/vector_of_vector.hpp>
#include <viennacl/linalg/sparse_matrix_operations.hpp>
#include <viennacl/compressed_matrix.hpp>
#include <viennacl/compressed_compress... | Fix segfault in sparse matrices | Fix segfault in sparse matrices
| C++ | mit | opticode/pyviennacl-dev,viennacl/pyviennacl-dev,viennacl/pyviennacl-dev,opticode/pyviennacl-dev |
1d3737d453c432bb7f419f639e36aa35c486ad8e | src/aboutapplet/aboutwidget.cpp | src/aboutapplet/aboutwidget.cpp | /* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */
/* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */
#include "aboutwidget.h"
#include <QGraphicsLinearLayout>
#include <MImageWidget>
#include <MLabel>
#include <QGraphicsLinearLayout>
#include <MStylableWidget>
#define DE... | /* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */
/* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */
#include "aboutwidget.h"
#include <QGraphicsLinearLayout>
#include <MImageWidget>
#include <MLabel>
#include <QGraphicsLinearLayout>
#include <MStylableWidget>
#define DE... | update the about-applet nokia-logo | Changes: update the about-applet nokia-logo
| C++ | lgpl-2.1 | nemomobile-graveyard/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets,deztructor/meegotouch-controlpanelapplets,nemomobile-graveyard/meegotouch-controlpanelapplets |
b4741001fb6604897dc694ee7e9919c67f66ee5b | src/ad/App/AsteroidDefender.cpp | src/ad/App/AsteroidDefender.cpp | #include "ad/Geometry/Converters.h"
#include "ad/Geometry/Geometry.h"
#include "ad/Geometry/ShaderSourceConverter.h"
#include "ad/Sprites/SpriteRenderer.h"
#include "ad/World/CameraController.h"
#include "ad/World/TopDownCameraController.h"
#include "ad/World/World.h"
#include "canvas/App.h"
#include "canvas/Math/Inter... | #include "ad/Geometry/Converters.h"
#include "ad/Geometry/Geometry.h"
#include "ad/Geometry/ShaderSourceConverter.h"
#include "ad/Sprites/SpriteRenderer.h"
#include "ad/World/CameraController.h"
#include "ad/World/TopDownCameraController.h"
#include "ad/World/World.h"
#include "canvas/App.h"
#include "canvas/Math/Inter... | Set font on linux | Set font on linux
| C++ | mit | fizixx/AsteroidDefender,tiaanl/AsteroidDefender,tiaanl/AsteroidDefender |
571c9c27fcb542e696c81747c979f457a52545c0 | lm/game03/main.cpp | lm/game03/main.cpp | #include "StreamLog.hpp"
#include "World.hpp"
#include <SFML/Graphics.hpp>
#include <iostream>
#include <sstream>
sf::Vector2f processUserInput(float baseSpeed, sf::RenderWindow& window);
int main(int /*argc*/, char** /*argv*/)
{
sf::Vector2i screenSize{800, 600};
sf::RenderWindow mainWindow(sf::VideoMode(scr... | #include "StreamLog.hpp"
#include "World.hpp"
#include <SFML/Graphics.hpp>
#include <chrono>
#include <iostream>
#include <sstream>
#include <thread>
sf::Vector2f processUserInput(float baseSpeed, sf::RenderWindow& window);
int main(int /*argc*/, char** /*argv*/)
{
sf::Vector2i screenSize{800, 600};
sf::Rende... | Use less CPU | Use less CPU
| C++ | mit | NadzwyczajnaGrupaRobocza/papuc_exercises,NadzwyczajnaGrupaRobocza/papuc_exercises |
dc7c8d84acec9cc1eed3e6bb497fd4d3896c59e6 | src/appleseed-max-impl/version.cpp | src/appleseed-max-impl/version.cpp |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2015-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2015-2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person o... | Bump plugin version number to 1.0.0-beta | Bump plugin version number to 1.0.0-beta
| C++ | mit | dictoon/appleseed-max,usakhelo/appleseed-max,appleseedhq/appleseed-max,dictoon/appleseed-max,appleseedhq/appleseed-max,usakhelo/appleseed-max |
f41f951b8e44c0640001d2960c52699358141d57 | tests/fe/mapping_q1_eulerian.cc | tests/fe/mapping_q1_eulerian.cc | // mapping_q1_eulerian.cc,v 1.3 2002/06/26 12:28:54 guido Exp
// Copyright (C) 2001, 2002, 2005 Michael Stadler, Wolfgang Bangerth
//
#include "../tests.h"
#include <base/quadrature_lib.h>
#include <base/logstream.h>
#include <lac/vector.h>
#include <grid/tria.h>
#include <grid/grid_generator.h>
#include <dofs/dof_han... | // mapping_q1_eulerian.cc,v 1.3 2002/06/26 12:28:54 guido Exp
// Copyright (C) 2001, 2002, 2005 Michael Stadler, Wolfgang Bangerth
//
#include "../tests.h"
#include <base/quadrature_lib.h>
#include <base/logstream.h>
#include <lac/vector.h>
#include <grid/tria.h>
#include <grid/grid_generator.h>
#include <dofs/dof_han... | Correct and modify output. | Correct and modify output.
git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@10919 0785d39b-7218-0410-832d-ea1e28bc413d
| C++ | lgpl-2.1 | kalj/dealii,nicolacavallini/dealii,danshapero/dealii,natashasharma/dealii,flow123d/dealii,rrgrove6/dealii,mtezzele/dealii,rrgrove6/dealii,adamkosik/dealii,gpitton/dealii,shakirbsm/dealii,lpolster/dealii,pesser/dealii,natashasharma/dealii,natashasharma/dealii,sairajat/dealii,ibkim11/dealii,johntfoster/dealii,msteigemann... |
e76c8a18f3046227c309a1d7f878e98899c9842d | src/autowiring/test/PostConstructTest.cpp | src/autowiring/test/PostConstructTest.cpp | // Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.
#include "stdafx.h"
#include "TestFixtures/SimpleObject.hpp"
#include <autowiring/Autowired.h>
#include <autowiring/ContextMember.h>
#include THREAD_HEADER
class PostConstructTest:
public testing::Test
{};
using namespace std;
class ContextExposer:
... | // Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved.
#include "stdafx.h"
#include "TestFixtures/SimpleObject.hpp"
#include <autowiring/Autowired.h>
#include <autowiring/ContextMember.h>
#include THREAD_HEADER
class PostConstructTest:
public testing::Test
{};
using namespace std;
class ContextExposer:
... | fix build on mac | fix build on mac
| C++ | apache-2.0 | leapmotion/autowiring,leapmotion/autowiring,codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,leapmotion/autowiring,leapmotion/autowiring,leapmotion/autowiring,leapmotion/autowiring,codemercenary/autowiring |
3b0471a1725ddd522ca911ccc71b9e1e86c60187 | ConcurrentQueues/inc/bk_conq/multi_unbounded_queue.hpp | ConcurrentQueues/inc/bk_conq/multi_unbounded_queue.hpp | /*
* File: multi_unbounded_queue.hpp
* Author: Barath Kannan
* Vector of unbounded queues. Enqueue operations are assigned a subqueue,
* which is used for all enqueue operations occuring from that thread. The dequeue
* operation maintains a list of subqueues on which a "hit" has occured - pertaining
* to the su... | /*
* File: multi_unbounded_queue.hpp
* Author: Barath Kannan
* Vector of unbounded queues. Enqueue operations are assigned a subqueue,
* which is used for all enqueue operations occuring from that thread. The dequeue
* operation maintains a list of subqueues on which a "hit" has occured - pertaining
* to the su... | correct handling of thread local enqueue/dequeue heuristics across class instances | correct handling of thread local enqueue/dequeue heuristics across class instances
| C++ | unknown | Barath-Kannan/ConcurrentQueues,Barath-Kannan/MPMCQueue |
50aa02a46717f04398dd66f5bf299d4aee2844a1 | include/cppurses/painter/detail/is_paintable.hpp | include/cppurses/painter/detail/is_paintable.hpp | #ifndef CPPURSES_PAINTER_DETAIL_IS_PAINTABLE_HPP
#define CPPURSES_PAINTER_DETAIL_IS_PAINTABLE_HPP
#include <cppurses/widget/widget.hpp>
namespace cppurses {
namespace detail {
// TODO should be protected with mutex, not this but each function that it
// calls, since these could be modified while flushing.. and this i... | #ifndef CPPURSES_PAINTER_DETAIL_IS_PAINTABLE_HPP
#define CPPURSES_PAINTER_DETAIL_IS_PAINTABLE_HPP
#include <cppurses/widget/widget.hpp>
namespace cppurses {
namespace detail {
// TODO should be protected with mutex, not this but each function that it
// calls, since these could be modified while flushing.. and this i... | Fix detail::is_paintable() | Fix detail::is_paintable()
| C++ | mit | a-n-t-h-o-n-y/CPPurses |
c9d82e597952d84ab6898dea4a479b19adc30b81 | src/client-async/api/client-async-api.cpp | src/client-async/api/client-async-api.cpp | /*
* Copyright (c) 2014-2015 Samsung Electronics Co., Ltd 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
*... | /*
* Copyright (c) 2014-2015 Samsung Electronics Co., Ltd 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
*... | Fix SIGSEGV when passing nullptr to cynara_async_finish | Fix SIGSEGV when passing nullptr to cynara_async_finish
cynara_async_finish should check if cynara_async pointer is
empty before any other action.
Change-Id: Ic9019c274a26f1d6802c31cad3b5f83a86c27c00
| C++ | apache-2.0 | Samsung/cynara,Samsung/cynara,Samsung/cynara |
ca6e5d39a8bf4136b11c14af64c3bf8de896bc5f | grantlee_defaultfilters/lists.cpp | grantlee_defaultfilters/lists.cpp | /*
This file is part of the Grantlee template system.
Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 3 only, as published by the Free Software Foundation.
This l... | /*
This file is part of the Grantlee template system.
Copyright (c) 2009 Stephen Kelly <steveire@gmail.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 3 only, as published by the Free Software Foundation.
This l... | Fix the length filter to not return a length of one where it should be 0. | Fix the length filter to not return a length of one where it should be 0.
| C++ | lgpl-2.1 | cutelyst/grantlee,cutelyst/grantlee,simonwagner/grantlee,simonwagner/grantlee,cutelyst/grantlee,simonwagner/grantlee,cutelyst/grantlee,simonwagner/grantlee,simonwagner/grantlee,simonwagner/grantlee,cutelyst/grantlee |
bae2915101d53ce885dd0bc6d637d82ace1e2eec | include/hpp/core/continuous-validation/interval-validation.hh | include/hpp/core/continuous-validation/interval-validation.hh | //
// Copyright (c) 2014,2015,2016,2018 CNRS
// Authors: Florent Lamiraux, Joseph Mirabel, Diane Bury
//
// 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, ei... | //
// Copyright (c) 2014,2015,2016,2018 CNRS
// Authors: Florent Lamiraux, Joseph Mirabel, Diane Bury
//
// 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, ei... | Rewrite documentation of class IntervalValidation. | [Doc] Rewrite documentation of class IntervalValidation.
| C++ | bsd-2-clause | humanoid-path-planner/hpp-core |
63f748a2fabec07216cfb2503afd34d852117e13 | copasi/output/CNodeO.cpp | copasi/output/CNodeO.cpp | /*****************************************************************************
* PROGRAM NAME: CNodeO.cpp
* PROGRAMMER: Wei Sun wsun@vt.edu
* PURPOSE: Implement the node object in user defined function
*****************************************************************************/
#include "copasi.h"
#include "CDatum.h... | /*****************************************************************************
* PROGRAM NAME: CNodeO.cpp
* PROGRAMMER: Wei Sun wsun@vt.edu
* PURPOSE: Implement the node object in user defined function
*****************************************************************************/
#include <math.h>
#include <iostream>
... | Update calculation of node's value | Update calculation of node's value
| C++ | artistic-2.0 | jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI |
53cd0d6d5e721683c69ba5bf7adddeb65e8aae0c | tests/src/vec/tests_MartVec.cpp | tests/src/vec/tests_MartVec.cpp | #include <mart-common/MartVec.h>
#include <catch2/catch.hpp>
#include <iostream>
#include <type_traits>
template<class T, int N>
std::ostream& operator<<( std::ostream& out, mart::Vec<T, N> vec )
{
out << "[";
for( int i = 0; i < N; ++i ) {
out << vec[i] << ", ";
}
out << "]";
return out;
}
namespace {
struct... | #include <mart-common/MartVec.h>
#include <catch2/catch.hpp>
#include <iostream>
#include <type_traits>
template<class T, int N>
std::ostream& operator<<( std::ostream& out, mart::Vec<T, N> vec )
{
out << "[";
for( int i = 0; i < N; ++i ) {
out << vec[i] << ", ";
}
out << "]";
return out;
}
namespace {
struct... | Add constexpr checks for mart:Vec | [Tests/Vec] Add constexpr checks for mart:Vec
| C++ | mit | tum-ei-rcs/mart-common,tum-ei-rcs/mart-common |
d8418ca0c60a21c8145ee1a60bc6f4910944ee3f | src/modules/LCIOWriter/LCIOWriterModule.cpp | src/modules/LCIOWriter/LCIOWriterModule.cpp | /**
* @file
* @brief Implementation of [LCIOWriter] module
* @copyright Copyright (c) 2017 CERN and the Allpix Squared authors.
* This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
* In applying this license, CERN does not waive the privileges and immunities ... | /**
* @file
* @brief Implementation of [LCIOWriter] module
* @copyright Copyright (c) 2017 CERN and the Allpix Squared authors.
* This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md".
* In applying this license, CERN does not waive the privileges and immunities ... | add comment to angles for later reference | LCIOWriter: add comment to angles for later reference
| C++ | mit | Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared |
373e0099cf3bcee351c3a7b0052f896034d6f295 | scene/scene_string_names.cpp | scene/scene_string_names.cpp | /*************************************************************************/
/* scene_string_names.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | /*************************************************************************/
/* scene_string_names.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | Fix auto-enable of _input processing when _input() method is set. | Fix auto-enable of _input processing when _input() method is set.
Since f3f4a11c processing of callbacks such as `_process`, `_fixed_process`, etc will be
automatically enabled when the corresponding method is found in the script.
However, for _input() this wasn't working.
That's simply because `_input` wasn't initial... | C++ | mit | pkowal1982/godot,okamstudio/godot,guilhermefelipecgs/godot,groud/godot,exabon/godot,ficoos/godot,Paulloz/godot,Valentactive/godot,NateWardawg/godot,vnen/godot,Max-Might/godot,mcanders/godot,Marqin/godot,NateWardawg/godot,n-pigeon/godot,josempans/godot,Marqin/godot,ex/godot,honix/godot,MarianoGnu/godot,Brickcaster/godot... |
a9a858c2216f637aa5132e615518bb0ed2340447 | include/mos/gfx/material.hpp | include/mos/gfx/material.hpp | #pragma once
#include <glm/glm.hpp>
#include <string>
#include <memory>
#include <mos/gfx/texture_2d.hpp>
namespace mos::gfx {
class Assets;
/** Physically based material. */
class Material final {
public:
template<class T>
struct Slot {
explicit Slot(const T &value) : value(value) {}
explicit Slot(const... | #pragma once
#include <glm/glm.hpp>
#include <string>
#include <memory>
#include <mos/gfx/texture_2d.hpp>
namespace mos::gfx {
class Assets;
/** Physically based material. */
class Material final {
public:
template<class T>
struct Slot {
Slot(const T &value) : value(value) {}
Slot(const Shared_texture_2D... | Remove explicit | Remove explicit
| C++ | mit | morganbengtsson/mos |
56e301ea64aa94aa0a976db5be89bd1eb67352b8 | include/observable/value.hpp | include/observable/value.hpp | #pragma once
#include <algorithm>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include "observable/subject.hpp"
#include "observable/subscription.hpp"
#include "observable/detail/type_traits.hpp"
namespace observable {
template <typename ValueType,
typename EqualityComp... | #pragma once
#include <algorithm>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include "observable/subject.hpp"
#include "observable/subscription.hpp"
#include "observable/detail/type_traits.hpp"
namespace observable {
template <typename ValueType,
typename EqualityComp... | Fix value assignment operator. | Fix value assignment operator.
| C++ | apache-2.0 | ddinu/observable |
c0ac2398967aacaab68966530d505a1aee4c2d2b | Modules/QtWidgetsExt/src/QmitkNumberPropertySlider.cpp | Modules/QtWidgetsExt/src/QmitkNumberPropertySlider.cpp | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... | undo PropertyRemoved calls | undo PropertyRemoved calls
| C++ | bsd-3-clause | iwegner/MITK,iwegner/MITK,fmilano/mitk,MITK/MITK,iwegner/MITK,iwegner/MITK,RabadanLab/MITKats,RabadanLab/MITKats,fmilano/mitk,RabadanLab/MITKats,RabadanLab/MITKats,MITK/MITK,NifTK/MITK,MITK/MITK,NifTK/MITK,NifTK/MITK,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,fmilano/mitk,fmilano/mitk,fmilano/mitk,RabadanLab/MITKats... |
ee8772e500eaf5d0fceb6880cd5f429f2d3f30c4 | iree/compiler/Conversion/LinalgToLLVM/Passes.cpp | iree/compiler/Conversion/LinalgToLLVM/Passes.cpp | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | Disable CPU workgroup padding (#5884) | Disable CPU workgroup padding (#5884)
This causes segfault on Android devices:
https://buildkite.com/iree/iree-android-arm64-v8a/builds/4235 | C++ | apache-2.0 | google/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,iree-org/iree,iree-org/iree,iree-org/iree,google/iree,google/iree,google/iree |
217ef537f2d9de582680a061a04393c552690391 | include/VFSPP/memory.hpp | include/VFSPP/memory.hpp |
#pragma once
#include <VFSPP/core.hpp>
#include <boost/unordered_map.hpp>
#include <boost/shared_array.hpp>
#include <boost/shared_ptr.hpp>
namespace vfspp
{
namespace memory
{
class MemoryFileSystem;
class VFSPP_EXPORT MemoryFileEntry : public IFileSystemEntry
{
private:
EntryType type;
std::vec... |
#pragma once
#include <VFSPP/core.hpp>
#include <boost/unordered_map.hpp>
#include <boost/shared_array.hpp>
#include <boost/shared_ptr.hpp>
namespace vfspp
{
namespace memory
{
class MemoryFileSystem;
class VFSPP_EXPORT MemoryFileEntry : public IFileSystemEntry
{
private:
EntryType type;
std::vec... | Add missing implementation | Add missing implementation
| C++ | mit | asarium/vfspp,asarium/vfspp,asarium/vfspp,asarium/vfspp |
338da9c41b942fec1a6cc384e060f89a9f4f318d | src/bin/cli/karabiner_cli/main.cpp | src/bin/cli/karabiner_cli/main.cpp | #include "configuration_monitor.hpp"
#include "constants.hpp"
#include "cxxopts/cxxopts.hpp"
#include <iostream>
namespace {
class logger final {
public:
static spdlog::logger& get_logger(void) {
static std::shared_ptr<spdlog::logger> logger;
if (!logger) {
logger = spdlog::stdout_logger_mt("karabiner_... | #include "configuration_monitor.hpp"
#include "constants.hpp"
#include "cxxopts/cxxopts.hpp"
#include <iostream>
namespace {
class logger final {
public:
static spdlog::logger& get_logger(void) {
static std::shared_ptr<spdlog::logger> logger;
if (!logger) {
logger = spdlog::stdout_logger_mt("karabiner_... | improve --select-profile | improve --select-profile
| C++ | unlicense | tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,jrolfs/Karabiner-Elements,jrolfs/Karabiner-Elements,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,jrolfs/Karabiner-Elements,jrolfs/Karabiner-Elements |
650eb26f663b2beec06f92083e5722ff277f4e4e | src/body_angle_visualizer_node.cpp | src/body_angle_visualizer_node.cpp | #include <cmath>
#include <string>
#include <ros/ros.h>
#include <geometry_msgs/Point.h>
#include <rviz_visual_tools/rviz_visual_tools.h>
#include <tf2_eigen/tf2_eigen.h>
#include <tf2_ros/transform_listener.h>
#include <Eigen/Geometry>
int main(int argc, char** argv)
{
ros::init(argc, argv, "body_angle_visualizer... | #include <cmath>
#include <string>
#include <ros/ros.h>
#include <geometry_msgs/Point.h>
#include <rviz_visual_tools/rviz_visual_tools.h>
#include <tf2_eigen/tf2_eigen.h>
#include <tf2_ros/transform_listener.h>
#include <Eigen/Geometry>
int main(int argc, char** argv)
{
ros::init(argc, argv, "body_angle_visualizer... | Add param for target_number | Add param for target_number
| C++ | bsd-3-clause | forno/body_angle_visualizer |
046c055b2b7c4ad07d21e8a3d600ad697efb0e2e | include/config_third.hpp | include/config_third.hpp | //=======================================================================
// Copyright Baptiste Wicht 2015.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef WORD_S... | //=======================================================================
// Copyright Baptiste Wicht 2015.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#ifndef WORD_S... | Change standard | Change standard
| C++ | mit | wichtounet/word_spotting,wichtounet/word_spotting,wichtounet/word_spotting |
2fe1532926ec3ab17715e927045e88e7ae70b316 | unittest/heap_test.cc | unittest/heap_test.cc | // (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing,... | // (C) Copyright 2017, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing,... | Fix some compiler errors for heap_test (more remaining) | Fix some compiler errors for heap_test (more remaining)
Signed-off-by: Stefan Weil <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@weilnetz.de>
| C++ | apache-2.0 | amitdo/tesseract,UB-Mannheim/tesseract,UB-Mannheim/tesseract,stweil/tesseract,stweil/tesseract,UB-Mannheim/tesseract,amitdo/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,tesseract-ocr/tesseract,stweil/tesseract,amitdo/tesseract,tesseract-ocr/tesseract,stweil/tesseract,amitdo/tesseract,tesse... |
b3f36153243afca4e05acac323848003257a8788 | include/mettle/suite.hpp | include/mettle/suite.hpp | #ifndef INC_METTLE_SUITE_HPP
#define INC_METTLE_SUITE_HPP
#include <algorithm>
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <vector>
namespace mettle {
namespace detail {
template<size_t ...>
struct index_sequence {};
template<size_t N, size_t ...S>
struct make_index... | #ifndef INC_METTLE_SUITE_HPP
#define INC_METTLE_SUITE_HPP
#include <algorithm>
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include <vector>
namespace mettle {
namespace detail {
template<size_t ...>
struct index_sequence {};
template<size_t N, size_t ...S>
struct make_index... | Print out messages from uncaught exceptions | Print out messages from uncaught exceptions
| C++ | bsd-3-clause | jimporter/mettle,jimporter/mettle |
ea4555100a9079f1729afabdd7046d1826b052fd | jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx | jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozil... | fix memory leak | coverity#705669: fix memory leak
Change-Id: Ib99c5e5c4a8c3c6efd0ff0665c73b241790b314b
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
c1797bb79d65af6426cacde24a02b9bdef464c2b | src/character/classes/class.cpp | src/character/classes/class.cpp | #include "character/classes/class.h"
namespace d20 {
bool Class::operator==(const Class &other) const {
this->get_name() == other.get_name();
}
float Class::bab_progression() const {
throw("called bab_progression on class base!");
}
std::string Class::get_name() const {
throw("called get_name on class bas... | #include "character/classes/class.h"
namespace d20 {
bool Class::operator==(const Class &other) const {
return this->get_name() == other.get_name();
}
float Class::bab_progression() const {
throw("called bab_progression on class base!");
}
std::string Class::get_name() const {
throw("called get_name on cl... | Fix warning missing return statement | Fix warning missing return statement
| C++ | mit | fotanus/libd20,fotanus/libd20,fotanus/libd20 |
19186440316c692b88952fff8b4b35a50591fc07 | examples/synch.cc | examples/synch.cc | #include "ten/synchronized.hh"
#include <iostream>
using namespace ten;
class A {
private:
int i;
int i_squared;
public:
A(int _i=0) {
set(_i);
}
void set(int _i) {
i = _i;
i_squared = i*i;
}
int get_squared() {
return i_squared;
}
};
int main() {
... | #include "ten/synchronized.hh"
#include <iostream>
using namespace ten;
class A {
private:
int i;
int i_squared;
public:
A(int _i=0) {
set(_i);
}
void set(int _i) {
i = _i;
i_squared = i*i;
}
int get_squared() {
return i_squared;
}
};
int main() {
... | fix sync changes | fix sync changes
| C++ | apache-2.0 | toffaletti/libten,toffaletti/libten,toffaletti/libten,toffaletti/libten,toffaletti/libten |
1651032cee143aa4741ebca17417da6c6789ab0e | src/common/integer_parent_type.cpp | src/common/integer_parent_type.cpp | //===----------------------------------------------------------------------===//
//
// Peloton
//
// numeric_value.cpp
//
// Identification: src/backend/common/numeric_value.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===---------------------------------------... | //===----------------------------------------------------------------------===//
//
// Peloton
//
// numeric_value.cpp
//
// Identification: src/backend/common/numeric_value.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===---------------------------------------... | Fix min aggregation on integer. Will add test cases later. | [#375] Fix min aggregation on integer. Will add test cases later.
| C++ | apache-2.0 | prashasthip/peloton,seojungmin/peloton,PauloAmora/peloton,AllisonWang/peloton,wangziqi2016/peloton,vittvolt/15721-peloton,ShuxinLin/peloton,malin1993ml/peloton,apavlo/peloton,apavlo/peloton,yingjunwu/peloton,vittvolt/peloton,wangziqi2016/peloton,phisiart/peloton-p3,malin1993ml/peloton,apavlo/peloton,seojungmin/peloton,... |
245ffbdfab7bf2ff5252a13cb6843c2f75f90cfc | tmva/src/LDA.cxx | tmva/src/LDA.cxx | // $Id$
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Class : LDA ... | // $Id$
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Class : LDA ... | fix coverity issue 35429 and 35430 | fix coverity issue 35429 and 35430
| C++ | lgpl-2.1 | nilqed/root,buuck/root,mhuwiler/rootauto,Y--/root,simonpf/root,evgeny-boger/root,sbinet/cxx-root,nilqed/root,arch1tect0r/root,perovic/root,omazapa/root-old,arch1tect0r/root,smarinac/root,omazapa/root-old,beniz/root,krafczyk/root,agarciamontoro/root,dfunke/root,dfunke/root,veprbl/root,abhinavmoudgil95/root,bbockelm/root... |
c15cb15c4c799e2c370978e479b9ec8f6df8af47 | toml/to_toml.hpp | toml/to_toml.hpp | #ifndef TOML11_TO_TOML
#define TOML11_TO_TOML
#include "value.hpp"
namespace toml
{
template<typename T, typename std::enable_if<
detail::is_exact_toml_type<T>::value, std::nullptr_t>::type = nullptr>
inline value to_toml(const T& x)
{
return value(x);
}
template<typename T, typename std::enable_if<detail::c... | #ifndef TOML11_TO_TOML
#define TOML11_TO_TOML
#include "value.hpp"
namespace toml
{
template<typename T>
inline value to_toml(T&& x)
{
return value(std::forward<T>(x));
}
template<typename T>
inline value to_toml(T&& x, string_t kind)
{
return value(std::forward<T>(x), kind);
}
inline value to_toml(local_da... | simplify to_toml implementation | simplify to_toml implementation
| C++ | mit | ToruNiina/toml11 |
4e055c0858ff64ef3e203d292bcdafcb282084ce | src/codegen/llvm/llvm_common.cc | src/codegen/llvm/llvm_common.cc | /*!
* Copyright (c) 2017 by Contributors
* \file llvm_common.cc
*/
#ifdef TVM_LLVM_VERSION
#include <tvm/base.h>
#include <mutex>
#include "llvm_common.h"
namespace tvm {
namespace codegen {
struct LLVMEnv {
std::mutex mu;
volatile bool all_initialized{false};
static LLVMEnv* Global() {
static LLVMEnv... | /*!
* Copyright (c) 2017 by Contributors
* \file llvm_common.cc
*/
#ifdef TVM_LLVM_VERSION
#include <tvm/base.h>
#include <atomic>
#include <mutex>
#include "llvm_common.h"
namespace tvm {
namespace codegen {
struct LLVMEnv {
std::mutex mu;
std::atomic<bool> all_initialized{false};
static LLVMEnv* Global(... | Fix LLVM initialization again (#2399) | Fix LLVM initialization again (#2399)
| C++ | apache-2.0 | tqchen/tvm,tqchen/tvm,sxjscience/tvm,Huyuwei/tvm,Huyuwei/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,sxjscience/tvm,Huyuwei/tvm,Laurawly/tvm-1,tqchen/tvm,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,Huyuwei/tvm,tqchen/tvm,Laurawly/tvm-1,sxjscience/tvm,sxjscience/tvm,tqchen/tvm,Huyuwei/tvm,Laurawly/t... |
ea0f0fe0af4fd60eebde5e61b038a99daa70a3f9 | src/eventql/server/sql/scheduler.cc | src/eventql/server/sql/scheduler.cc | /**
* Copyright (c) 2016 zScale Technology GmbH <legal@zscale.io>
* Authors:
* - Paul Asmuth <paul@zscale.io>
* - Laura Schlimmer <laura@zscale.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license") as
* publ... | /**
* Copyright (c) 2016 zScale Technology GmbH <legal@zscale.io>
* Authors:
* - Paul Asmuth <paul@zscale.io>
* - Laura Schlimmer <laura@zscale.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the license") as
* publ... | use servers from partition map in pipelined aggregate | use servers from partition map in pipelined aggregate
| C++ | agpl-3.0 | eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql |
6c3f6353a4f18d78210c85463898433fc5fc9ab6 | src/filebrowser/progress-dialog.cpp | src/filebrowser/progress-dialog.cpp | #include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QProgressBar>
#include <QPushButton>
#include <QDesktopServices>
#include <QDebug>
#include "utils/utils.h"
#include "progress-dialog.h"
FileBrowserProgressDialog::FileBrowserProgressDialog(FileNetworkTask *task, QWidget *parent)
: QPro... | #include <QLabel>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QProgressBar>
#include <QPushButton>
#include <QDesktopServices>
#include <QDebug>
#include <climits>
#include "utils/utils.h"
#include "progress-dialog.h"
FileBrowserProgressDialog::FileBrowserProgressDialog(FileNetworkTask *task, QWidget *par... | Fix integer conversion overflow in `FileBrowserProgressDialog::onProgressUpdate` (#898) | Fix integer conversion overflow in `FileBrowserProgressDialog::onProgressUpdate` (#898)
| C++ | apache-2.0 | haiwen/seafile-client,haiwen/seafile-client,haiwen/seafile-client,haiwen/seafile-client |
b65fd5b24d4dc4f14884c2e4e3f10894e333006d | src/condor_c++_util/iso_dates.C | src/condor_c++_util/iso_dates.C | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | Initialize time->tm_isdst to indicate we don't know if DST is in effect. | Initialize time->tm_isdst to indicate we don't know if DST is in effect.
| C++ | apache-2.0 | zhangzhehust/htcondor,djw8605/htcondor,zhangzhehust/htcondor,clalancette/condor-dcloud,djw8605/htcondor,djw8605/htcondor,djw8605/condor,mambelli/osg-bosco-marco,htcondor/htcondor,mambelli/osg-bosco-marco,zhangzhehust/htcondor,zhangzhehust/htcondor,djw8605/condor,clalancette/condor-dcloud,htcondor/htcondor,bbockelm/cond... |
cbce775a0cacc68e7b5b665bcd778dc604145755 | cores/cosa/Cosa/Event.hh | cores/cosa/Cosa/Event.hh | /**
* @file Cosa/Event.hh
* @version 1.0
*
* @section License
* Copyright (C) 2012-2015, Mikael Patel
*
* 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 t... | /**
* @file Cosa/Event.hh
* @version 1.0
*
* @section License
* Copyright (C) 2012-2015, Mikael Patel
*
* 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 t... | Add Event queue size to configuration. | Add Event queue size to configuration.
| C++ | lgpl-2.1 | jeditekunum/Cosa,jeditekunum/Cosa,rrobinet/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa,dansut/Cosa,rrobinet/Cosa,dansut/Cosa,dansut/Cosa,rrobinet/Cosa,mikaelpatel/Cosa,rrobinet/Cosa,dansut/Cosa,mikaelpatel/Cosa,jeditekunum/Cosa,mikaelpatel/Cosa |
4f6c3166b8a59810ed4aa12d6ccc80e86ddfbc9a | TRD/AliTRDpidESD.cxx | TRD/AliTRDpidESD.cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | Set Probabilities to zero if there is no signal in any plane | Set Probabilities to zero if there is no signal in any plane
| C++ | bsd-3-clause | shahor02/AliRoot,alisw/AliRoot,mkrzewic/AliRoot,ecalvovi/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,miranov25/AliRoot,ecalvovi/AliRoot,coppedis/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,sebaleh/AliRoot,mkrzewic/AliRoot,ALICEHLT/AliRoot,miranov25/AliRoot,alisw/AliRoot,alisw/AliRoot,ALICEHLT/AliRoot,shahor02/AliRoot,shaho... |
b4264b12a51ecea93517a84f94c15f8e97b2f50f | examples/script/customclass/bytearrayclass.cpp | examples/script/customclass/bytearrayclass.cpp | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This ... | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This ... | implement name() function of custom property iterator | implement name() function of custom property iterator
| C++ | lgpl-2.1 | pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,radekp/qt,igor-s... |
3f008453ea8d9d19444813aae348c0a722e14c9f | tinfra/win32/w32_subprocess.cpp | tinfra/win32/w32_subprocess.cpp | #include "tinfra/subprocess.h"
#include "tinfra/io/stream.h"
#include "tinfra/fmt.h"
#include "tinfra/win32.h"
#include "tinfra/holder.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace tinfra {
template<>
void holder<HANDLE>::release() {
if( value_ != 0 ) {
::CloseHandle(... | #include "tinfra/subprocess.h"
#include "tinfra/io/stream.h"
#include "tinfra/fmt.h"
#include "tinfra/win32.h"
#include "tinfra/holder.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
namespace tinfra {
template<>
void holder<HANDLE>::release() {
if( value_ != 0 ) {
::CloseHandle(... | fix fatal error (crash when CreateProcess fails): initialize process_handle member | fix fatal error (crash when CreateProcess fails): initialize process_handle member
| C++ | bsd-2-clause | zbigg/tinfra,zbigg/tinfra,zbigg/tinfra |
33911acbbc48133d56a1367b2fe99a370f55b01d | examples/main.cpp | examples/main.cpp | #include <iostream>
#include "Utils/utils.h"
#include "numgrind.h"
#include "Solvers/GradientDescentSolver.h"
#include "Solvers/SGDSolver.h"
#include "Solvers/SGDWithMomentumSolver.h"
#include "Solvers/checkgradient.h"
#include "DeepGrind/ActivationFunctions.h"
#include "mnist.h"
void mnistTest01() {
const std::... | #include <iostream>
#include "Utils/utils.h"
#include "numgrind.h"
#include "Solvers/GradientDescentSolver.h"
#include "Solvers/SGDSolver.h"
#include "Solvers/SGDWithMomentumSolver.h"
#include "Solvers/checkgradient.h"
#include "DeepGrind/ActivationFunctions.h"
#include "mnist.h"
void mnistTest01() {
const std::... | disable weight decay | disable weight decay
| C++ | mit | Daiver/NumGrind |
f0972a626b715b57092415f03f13e80d4286c65f | jni/src/future_jni.cpp | jni/src/future_jni.cpp | /*
**
** Author(s):
** - Pierre ROULLON <proullon@aldebaran-robotics.com>
**
** Copyright (C) 2012, 2013 Aldebaran Robotics
*/
#include <qitype/anyvalue.hpp>
#include <jnitools.hpp>
#include <futurehandler.hpp>
#include <future_jni.hpp>
#include <callbridge.hpp>
qiLogCategory("qimessaging.java");
void java_fu... | /*
**
** Author(s):
** - Pierre ROULLON <proullon@aldebaran-robotics.com>
**
** Copyright (C) 2012, 2013 Aldebaran Robotics
*/
#include <qitype/anyvalue.hpp>
#include <jnitools.hpp>
#include <futurehandler.hpp>
#include <future_jni.hpp>
#include <callbridge.hpp>
qiLogCategory("qimessaging.java");
void java_fu... | Fix infinite recursion bug. | Future: Fix infinite recursion bug.
Change-Id: I8a5f37e3d767382b23dabe1b8da97ce956c51361
Reviewed-on: http://gerrit.aldebaran.lan/32494
Reviewed-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>
Tested-by: mnottale <e3ccf1b6558404e921a21fa09cebb1153b50ec36@aldebaran-robotics.com>
| C++ | bsd-3-clause | aldebaran/libqi-java,aldebaran/libqi-java,aldebaran/libqi-java |
181b5f17eac06a9629cc0a741d2708b23daaf290 | src/grovecircularled/grovecircularled.cxx | src/grovecircularled/grovecircularled.cxx | /*
* Author: Jun Kato and Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Contributions: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2015 Intel Corporation.
*
* This module is based on the my9221 driver
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and ... | /*
* Author: Jun Kato and Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Contributions: Jon Trulson <jtrulson@ics.com>
* Copyright (c) 2015 Intel Corporation.
*
* This module is based on the my9221 driver
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and ... | fix up a missing mraa::DATA_OUT and formatting | grovecircularled: fix up a missing mraa::DATA_OUT and formatting
Signed-off-by: Mihai Tudor Panu <a27de6130c5d32f5817bf40bb8b348582f37a8af@intel.com>
| C++ | mit | Jon-ICS/upm,kissbac/upm,nitirohilla/upm,nitirohilla/upm,arfoll/upm,pylbert/upm,afmckinney/upm,Jon-ICS/upm,skiselev/upm,skiselev/upm,pylbert/upm,intel-iot-devkit/upm,arfoll/upm,arfoll/upm,andreivasiliu2211/upm,srware/upm,MakerCollider/upm,whbruce/upm,g-vidal/upm,skiselev/upm,stefan-andritoiu/upm,stefan-andritoiu/upm,srw... |
2135cd5c65faf47aed8735b4df36b36fbe642ebb | cpp/SmurffCpp/Utils/HDF5Group.cpp | cpp/SmurffCpp/Utils/HDF5Group.cpp | #include <iostream>
#include <SmurffCpp/Utils/HDF5Group.h>
#include <Utils/Error.h>
#include <Utils/StringUtils.h>
namespace smurff {
bool HDF5Group::hasDataSet(const std::string& section, const std::string& tag) const
{
if (!m_group.exist(section)) return false;
auto section_group = m_group.getGroup(section... | #include <iostream>
#include <SmurffCpp/Utils/HDF5Group.h>
#include <Utils/Error.h>
#include <Utils/StringUtils.h>
namespace smurff {
bool HDF5Group::hasDataSet(const std::string& section, const std::string& tag) const
{
if (!m_group.exist(section)) return false;
auto section_group = m_group.getGroup(section... | use write_raw to write 1D buffer into 2D HDF5 dataset | FIX: use write_raw to write 1D buffer into 2D HDF5 dataset
| C++ | mit | ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff |
673f739bce4e9ef6e50435918be13577b0b7ca6f | util/TableManager.hpp | util/TableManager.hpp | #pragma once
#include "StorageConfig.hpp"
#include "Epoch.hpp"
#include "Record.hpp"
#include "CommitManager.hpp"
#include <crossbow/concurrent_map.hpp>
#include <crossbow/string.hpp>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include <vector>
#include <atomic>
#include <tbb/... | #pragma once
#include "StorageConfig.hpp"
#include "Epoch.hpp"
#include "Record.hpp"
#include "CommitManager.hpp"
#include <crossbow/concurrent_map.hpp>
#include <crossbow/string.hpp>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include <vector>
#include <atomic>
#include <tbb/... | Make tbb_hasher inline to prevent multiple instantiations | Make tbb_hasher inline to prevent multiple instantiations
| C++ | apache-2.0 | tellproject/tellstore |
02c2ba1b62f003af393fe917e39a8a3d91a0b3a8 | tools/lldb-mi/MIUtilFileStd.cpp | tools/lldb-mi/MIUtilFileStd.cpp | //===-- MIUtilFileStd.cpp ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- MIUtilFileStd.cpp ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Add missing header | Add missing header
Presumably included by header leakage on other platforms.
git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@209630 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb |
9ad8cc389cd0bcf99c9c2a2497e0d8a512abae9e | lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp | //===-- WebAssemblyAsmPrinter.cpp - WebAssembly LLVM assembly writer ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- WebAssemblyAsmPrinter.cpp - WebAssembly LLVM assembly writer ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Remove now-unused include | Remove now-unused include
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@255817 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llv... |
10cf24145043d9af4e3649f2baddb7d6490b98ce | include/arrayadapt/arrayadapt.hpp | include/arrayadapt/arrayadapt.hpp | #ifndef HAVE_ARRAYADAPT_ARRAYADAPT_HPP
#define HAVE_ARRAYADAPT_ARRAYADAPT_HPP
#include <stdint.h>
#include <matrix.h>
#include <mex.h>
#include "../mx_traits.hpp"
#include "./detail/get.hpp"
#include "./detail/factory.hpp"
namespace arrayadapt {
/*
*
*/
namespace ptr_access {
/*
*
*/
struct real {
static inline... | #ifndef HAVE_ARRAYADAPT_ARRAYADAPT_HPP
#define HAVE_ARRAYADAPT_ARRAYADAPT_HPP
#include <stdint.h>
#include <matrix.h>
#include <mex.h>
#include "../mx_traits.hpp"
#include "./detail/get.hpp"
#include "./detail/factory.hpp"
namespace arrayadapt {
/*
*
*/
namespace ptr_access {
/*
*
*/
struct real {
static inline... | work around MSVC++ name lookup | work around MSVC++ name lookup
| C++ | bsd-2-clause | Dunkelschorsch/arrayadapt,Dunkelschorsch/arrayadapt |
0c9cade7c9c5e0e78a95e31c5e18fba4c27dd4b6 | volume_I/acm_1089.cpp | volume_I/acm_1089.cpp | /*
* File: main.cpp
* Author: asus
*
* Created on December 29, 2016, 8:36 PM
*
* acm.timus.ru
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
struct word
{
char s[ 16 ]; // s[0] = length of word :)
};
word dict[ 100 ];
int ndict;
bool word_match(word const& u, word const& v)
{
if ... | /*
* File: main.cpp
* Author: asus
*
* Created on December 29, 2016, 8:36 PM
*
* acm.timus.ru
*
*/
#include <cstdio>
#include <cstdlib>
#include <cstring>
struct word
{
char s[ 16 ]; // s[8] = length of word :)
};
word dict[ 100 ];
int ndict;
bool word_match(word const& u, word const& v)
{
if ... | Update acm_1089.cpp | Update acm_1089.cpp | C++ | mit | raidenluikang/acm.timus.ru |
174a8bec26058e8885c9d7d17da5fe8fb34db05b | include/hpp/core/subchain-path.hh | include/hpp/core/subchain-path.hh | //
// Copyright (c) 2016 CNRS
// Authors: Joseph Mirabel
//
// 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 your... | //
// Copyright (c) 2016 CNRS
// Authors: Joseph Mirabel
//
// 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 your... | Fix SubchainPath | Fix SubchainPath
| C++ | bsd-2-clause | humanoid-path-planner/hpp-core |
3fdeb9c3a7df08eee96b289583c98c8ecfdeb72f | cvmfs/swissknife_sign.cc | cvmfs/swissknife_sign.cc | /**
* This file is part of the CernVM File System
*
* This tool signs a CernVM-FS manifest with an X.509 certificate.
*/
#include "cvmfs_config.h"
#include "swissknife_sign.h"
#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <termios.h>
#include <unistd.h>
#include <cstdio>
#include <cst... | /**
* This file is part of the CernVM File System
*
* This tool signs a CernVM-FS manifest with an X.509 certificate.
*/
#include "cvmfs_config.h"
#include "swissknife_sign.h"
#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <termios.h>
#include <unistd.h>
#include <cstdio>
#include <cst... | use UniquePtr and get rid of effing goto | Refactor: use UniquePtr and get rid of effing goto
| C++ | bsd-3-clause | DrDaveD/cvmfs,trshaffer/cvmfs,DrDaveD/cvmfs,cvmfs/cvmfs,reneme/cvmfs,reneme/cvmfs,alhowaidi/cvmfsNDN,trshaffer/cvmfs,alhowaidi/cvmfsNDN,alhowaidi/cvmfsNDN,Gangbiao/cvmfs,Gangbiao/cvmfs,reneme/cvmfs,alhowaidi/cvmfsNDN,Gangbiao/cvmfs,DrDaveD/cvmfs,cvmfs/cvmfs,DrDaveD/cvmfs,trshaffer/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cv... |
17477fc65fe469fefcea455ac5d24733f4fd961c | modules/heat_conduction/src/interfacekernels/ConjugateHeatTransfer.C | modules/heat_conduction/src/interfacekernels/ConjugateHeatTransfer.C | #include "ConjugateHeatTransfer.h"
#include "metaphysicl/raw_type.h"
using MetaPhysicL::raw_value;
registerMooseObject("HeatConductionApp", ConjugateHeatTransfer);
InputParameters
ConjugateHeatTransfer::validParams()
{
InputParameters params = InterfaceKernel::validParams();
params.addRequiredParam<MaterialProp... | #include "ConjugateHeatTransfer.h"
#include "metaphysicl/raw_type.h"
using MetaPhysicL::raw_value;
registerMooseObject("HeatConductionApp", ConjugateHeatTransfer);
InputParameters
ConjugateHeatTransfer::validParams()
{
InputParameters params = InterfaceKernel::validParams();
params.addRequiredParam<MaterialProp... | Add a comma | Add a comma
refs #15114
| C++ | lgpl-2.1 | idaholab/moose,harterj/moose,nuclear-wizard/moose,laagesen/moose,jessecarterMOOSE/moose,dschwen/moose,bwspenc/moose,sapitts/moose,jessecarterMOOSE/moose,andrsd/moose,milljm/moose,SudiptaBiswas/moose,dschwen/moose,jessecarterMOOSE/moose,lindsayad/moose,dschwen/moose,harterj/moose,bwspenc/moose,dschwen/moose,SudiptaBiswa... |
db9bc5877716aa57fb93d0bfe809f2c4053bfc7a | tests/General.cc | tests/General.cc | #include <iostream>
#include <string>
#include <thread>
#include "gtest/gtest.h"
#include "sigs.h"
TEST(General, instantiate)
{
sigs::Signal<void()> s;
sigs::Signal<void(int)> s2;
sigs::Signal<int()> s3;
}
inline void addOne(int &i)
{
i++;
}
TEST(General, function)
{
sigs::Signal<void(int &)> s;
s.conn... | #include <iostream>
#include <string>
#include <thread>
#include "gtest/gtest.h"
#include "sigs.h"
TEST(General, instantiate)
{
sigs::Signal<void()> s;
sigs::Signal<void(int)> s2;
sigs::Signal<int()> s3;
}
inline void addOne(int &i)
{
i++;
}
TEST(General, function)
{
sigs::Signal<void(int &)> s;
s.conn... | Improve code coverage | Improve code coverage
| C++ | mit | netromdk/sigs,netromdk/sigs,netromdk/sigs |
f8f213da1502148e183182e6be03179ffcc9e182 | YorozuyaGS/Trade.cpp | YorozuyaGS/Trade.cpp | #include "stdafx.h"
#include <ATF/global.hpp>
#include <ATF/$FE149BD64943A35FB471F74C3D3B2245.hpp>
#include "Trade.h"
#include "ItemCheckHelper.h"
namespace GameServer
{
namespace Fixes
{
using namespace ATF;
void CTrade::load()
{
auto& core = CATFCore::get_instance();
... | #include "stdafx.h"
#include <ATF/global.hpp>
#include <ATF/$FE149BD64943A35FB471F74C3D3B2245.hpp>
#include "Trade.h"
#include "ItemCheckHelper.h"
namespace GameServer
{
namespace Fixes
{
using namespace ATF;
void CTrade::load()
{
auto& core = CATFCore::get_instance();
... | Update fix trade | Update fix trade
| C++ | mit | goodwinxp/Yorozuya,goodwinxp/Yorozuya |
471ebcaf50add6feb2492016680d680019590905 | base/src/TVirtualFFT.cxx | base/src/TVirtualFFT.cxx | // @(#)root/base:$Id$
// Author: Anna Kreshuk 10/04/2006
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | // @(#)root/base:$Id$
// Author: Anna Kreshuk 10/04/2006
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | Add a protection in case the FFT plugin is not found | Add a protection in case the FFT plugin is not found
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@22936 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | Y--/root,davidlt/root,sawenzel/root,Duraznos/root,omazapa/root-old,davidlt/root,zzxuanyuan/root-compressor-dummy,olifre/root,perovic/root,zzxuanyuan/root,strykejern/TTreeReader,pspe/root,arch1tect0r/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,satyarth934/root,CristinaCristescu/root,dfunke/root,sirinath/root,... |
aa05e8e661c52aef8ecaa241e63171148fa96d84 | sdk/tools/ecppc/variable.cpp | sdk/tools/ecppc/variable.cpp | /*
* Copyright (C) 2003 Tommi Maekitalo
*
* 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 later version.
*
* As a sp... | /*
* Copyright (C) 2003 Tommi Maekitalo
*
* 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 later version.
*
* As a sp... | fix fetching vector of query parameters | fix fetching vector of query parameters
| C++ | lgpl-2.1 | OlafRadicke/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,maekitalo/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,maekitalo/tntnet,maekitalo/tntnet |
aa306af3d7c47de3c7937c98d3aa919eb8da6f34 | src/library/compiler/preprocess.cpp | src/library/compiler/preprocess.cpp | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "kernel/declaration.h"
#include "kernel/type_checker.h"
#include "kernel/replace_fn.h"
#include "kernel/instantiate.h"
#include "kernel/for_each_fn... | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "kernel/declaration.h"
#include "kernel/type_checker.h"
#include "kernel/replace_fn.h"
#include "kernel/instantiate.h"
#include "kernel/for_each_fn... | convert string expressions into macros (#187) | fix(library/compiler): convert string expressions into macros (#187)
| C++ | apache-2.0 | digama0/lean,leanprover-community/lean,leanprover-community/lean,digama0/lean,leanprover-community/lean,dselsam/lean,leanprover-community/lean,leanprover-community/lean,digama0/lean,fpvandoorn/lean,fpvandoorn/lean,digama0/lean,fpvandoorn/lean,dselsam/lean,fpvandoorn/lean,dselsam/lean,dselsam/lean,dselsam/lean,leanprove... |
1ce793eecd01aaa18fae2269c1445e581007a359 | src/cpp/desktop/DesktopMain.cpp | src/cpp/desktop/DesktopMain.cpp | /*
* DesktopMain.cpp
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. ... | /*
* DesktopMain.cpp
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. ... | fix opening project file in osx to fix #2203 and fix #2205 | fix opening project file in osx to fix #2203 and fix #2205
| C++ | agpl-3.0 | JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio |
99fdef50c56fdc42a790683fe3e65f06ee2f3adc | src/libraries/GameStatesLib/InitState.cpp | src/libraries/GameStatesLib/InitState.cpp | #include "InitState.hpp"
const int rd::InitState::LOGIN_SUCCESSFUL = 1;
rd::InitState::InitState(rd::RdNetworkManager *networkManager, rd::RdImageManager *imageManager,
rd::RdInputManager *inputManager, rd::RdMentalMap *mentalMap,
rd::RdRobotManager *robotManager, Aud... | #include "InitState.hpp"
const int rd::InitState::LOGIN_SUCCESSFUL = 1;
rd::InitState::InitState(rd::RdNetworkManager *networkManager, rd::RdImageManager *imageManager,
rd::RdInputManager *inputManager, rd::RdMentalMap *mentalMap,
rd::RdRobotManager *robotManager, Aud... | Fix if-related bug in InitState | Fix if-related bug in InitState
| C++ | lgpl-2.1 | asrob-uc3m/robotDevastation,asrob-uc3m/robotDevastation |
8de84643d70fa45130030853fc6452b9e7dfe392 | tests/fe/rt_6.cc | tests/fe/rt_6.cc | //---------------------------- rt_6.cc ---------------------------
// rt_6.cc,v 1.1 2003/06/09 15:59:07 wolf Exp
// Version:
//
// Copyright (C) 2003, 2005 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
//... | //---------------------------- rt_6.cc ---------------------------
// rt_6.cc,v 1.1 2003/06/09 15:59:07 wolf Exp
// Version:
//
// Copyright (C) 2003, 2005, 2006 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please re... | add tests for higher order and 3D | add tests for higher order and 3D
git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@12107 0785d39b-7218-0410-832d-ea1e28bc413d
| C++ | lgpl-2.1 | natashasharma/dealii,jperryhouts/dealii,flow123d/dealii,nicolacavallini/dealii,spco/dealii,andreamola/dealii,EGP-CIG-REU/dealii,naliboff/dealii,nicolacavallini/dealii,lue/dealii,JaeryunYim/dealii,rrgrove6/dealii,naliboff/dealii,pesser/dealii,gpitton/dealii,nicolacavallini/dealii,mtezzele/dealii,andreamola/dealii,nicola... |
4c8731f21e2d520b1b70970066b8668c9b9dac39 | src/ofp/rpc/rpcconnectionstdio.cpp | src/ofp/rpc/rpcconnectionstdio.cpp | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#include "ofp/rpc/rpcconnectionstdio.h"
#include "ofp/rpc/rpcevents.h"
#include "ofp/sys/asio_utils.h"
#include "ofp/sys/engine.h"
#include "ofp/timestamp.h"
using ofp::rpc::RpcConnectionStdio;
OFP_BEGI... | // Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#include "ofp/rpc/rpcconnectionstdio.h"
#include "ofp/rpc/rpcevents.h"
#include "ofp/sys/asio_utils.h"
#include "ofp/sys/engine.h"
#include "ofp/timestamp.h"
using ofp::rpc::RpcConnectionStdio;
// For `... | Use llvm::StringLiteral. | Use llvm::StringLiteral.
| C++ | mit | byllyfish/libofp,byllyfish/libofp,byllyfish/oftr,byllyfish/oftr,byllyfish/libofp,byllyfish/oftr,byllyfish/oftr,byllyfish/oftr |
e8d59212969569209cb29a86fbc70641a8e2182e | lib/sanitizer_common/sanitizer_symbolizer_mac.cc | lib/sanitizer_common/sanitizer_symbolizer_mac.cc | //===-- sanitizer_symbolizer_mac.cc ---------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- sanitizer_symbolizer_mac.cc ---------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Make AtosSymbolizer more resilient when symbolicating a zero address | [sanitizer] Make AtosSymbolizer more resilient when symbolicating a zero address
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@265269 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
84f3c56016c6c6f992e21afec3361644b1621710 | call/version.cc | call/version.cc | /*
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | /*
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | Update WebRTC code version (2020-12-27T04:03:22). | Update WebRTC code version (2020-12-27T04:03:22).
TBR=26646219319870ca9d01017a011e960429912aaa@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org
Bug: None
Change-Id: I02e4f440f9cf8f4e68ec5b2aa7923ded8c9d34d4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/199381
Reviewed-by: 26646219319870ca9d01017a01... | C++ | bsd-3-clause | TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc |
61f3e69cd14ae37cb0966cda4b21620978131190 | main/src/PolygonTriangularization/poly_triang.cc | main/src/PolygonTriangularization/poly_triang.cc | #include "poly_triang.hh"
#include "Utils/statistics.hh"
#include "circular.hh"
#include "Geo/linear_system.hh"
#include "Geo/area.hh"
#include <numeric>
struct PolygonFilImpl : public PolygonFil
{
void init(const std::vector<Geo::Vector3>& _plgn);
virtual const std::vector<std::array<size_t, 3>>& triang... | #include "poly_triang.hh"
#include "Utils/statistics.hh"
#include "circular.hh"
#include "Geo/linear_system.hh"
#include "Geo/area.hh"
#include <numeric>
struct PolygonFilImpl : public PolygonFil
{
void init(const std::vector<Geo::Vector3>& _plgn);
virtual const std::vector<std::array<size_t, 3>>& triang... | Fix concave cases | Fix concave cases
| C++ | apache-2.0 | marcomanno/polygon_triangulation,marcomanno/polygon_triangulation |
30e09c264cf7bba0b30fcbfaf5b9f79a7eb351bc | akonadi/resources/kolabproxy/collectiontreebuilder.cpp | akonadi/resources/kolabproxy/collectiontreebuilder.cpp | /*
Copyright (c) 2009 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | /*
Copyright (c) 2009 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | add some Q_UNUSED( ) | add some Q_UNUSED( )
svn path=/trunk/KDE/kdepim/; revision=1052051
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
358962c46b854f26d32d254734e65690f2736448 | src/player/XInputMTInputDevice.cpp | src/player/XInputMTInputDevice.cpp | //
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// 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 of the License, or (at y... | //
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// 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 of the License, or (at y... | Remove unnecessary local variable 'maxTouches' | Remove unnecessary local variable 'maxTouches'
git-svn-id: f4e1a40f847802203273bde8e26df4d11611876a@8187 44470bb9-56e9-0310-a0f8-c586564d3dc6
| C++ | lgpl-2.1 | lynxis/libavg,pararthshah/libavg-vaapi,lynxis/libavg,pararthshah/libavg-vaapi,pararthshah/libavg-vaapi,pararthshah/libavg-vaapi,lynxis/libavg,lynxis/libavg |
4ea2e9ed066a8790f6777a906009028a727676f7 | vm/generic_arrays.hpp | vm/generic_arrays.hpp | namespace factor
{
template<typename Array> cell array_capacity(const Array *array)
{
#ifdef FACTOR_DEBUG
FACTOR_ASSERT(array->type() == Array::type_number);
#endif
return array->capacity >> TAG_BITS;
}
template<typename Array> cell array_size(cell capacity)
{
return sizeof(Array) + capacity * Array::element_size;... | namespace factor {
template <typename Array> cell array_capacity(const Array* array) {
#ifdef FACTOR_DEBUG
FACTOR_ASSERT(array->type() == Array::type_number);
#endif
return array->capacity >> TAG_BITS;
}
template <typename Array> cell array_size(cell capacity) {
return sizeof(Array) + capacity * Array::element_... | Refactor generic_arrays.hpp to Factor style | VM: Refactor generic_arrays.hpp to Factor style
| C++ | bsd-2-clause | dch/factor,nicolas-p/factor,bjourne/factor,bpollack/factor,factor/factor,sarvex/factor-lang,AlexIljin/factor,slavapestov/factor,mrjbq7/factor,bjourne/factor,bpollack/factor,factor/factor,nicolas-p/factor,bpollack/factor,sarvex/factor-lang,mrjbq7/factor,mrjbq7/factor,bjourne/factor,AlexIljin/factor,AlexIljin/factor,sarv... |
21e9da5c8a65c14fdab666be35e1ace9465a8d0e | src/openMVG/keyframe/KeyframeSelector.cpp | src/openMVG/keyframe/KeyframeSelector.cpp | #include "KeyframeSelector.hpp"
#include "openMVG/image/image.hpp"
#include "openMVG/features/sift/SIFT_describer.hpp"
#include "openMVG/exif/sensor_width_database/ParseDatabase.hpp"
#include "openMVG/logger.hpp"
#include <tuple>
#include <cassert>
namespace openMVG {
namespace keyframe {
KeyframeSelector::KeyframeS... | #include "KeyframeSelector.hpp"
#include "openMVG/image/image.hpp"
#include "openMVG/features/sift/SIFT_describer.hpp"
#include "openMVG/exif/sensor_width_database/ParseDatabase.hpp"
#include "openMVG/logger.hpp"
#include <tuple>
#include <cassert>
namespace openMVG {
namespace keyframe {
KeyframeSelector::KeyframeS... | fix : first frame can be selected | [keyframe] fix : first frame can be selected
| C++ | mit | poparteu/openMVG,poparteu/openMVG,poparteu/openMVG,poparteu/openMVG |
017af8702c731b47b1ae014c81b159b997191628 | src/base_controller/src/serial_controller/serial_controller_node.cpp | src/base_controller/src/serial_controller/serial_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-Groovy-Workspace,Scheik/ROS-Workspace |
bdbb31a1c760906d43037db3579fa906eea71f33 | src/providers/verbs/connection.hpp | src/providers/verbs/connection.hpp | // Copyright 2016 Peter Georg
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | // Copyright 2016 Peter Georg
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | Align MemoryRegions exchanged with remote | Align MemoryRegions exchanged with remote
| C++ | apache-2.0 | pjgeorg/pMR,pjgeorg/pMR,pjgeorg/pMR |
13e0430948b9b5f4d92c556ec1e88e3f651883ac | src/qt/bitcoinaddressvalidator.cpp | src/qt/bitcoinaddressvalidator.cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoinaddressvalidato... | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017 The Phore developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | Update bitcoinaddressvalidator.cpp | Update bitcoinaddressvalidator.cpp | C++ | mit | 48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P |
85db232d366504c0577c8b3063d5b201d0a439bc | src/components/media_manager/src/audio/audio_stream_sender_thread.cc | src/components/media_manager/src/audio/audio_stream_sender_thread.cc | //
// Copyright (c) 2014, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | //
// Copyright (c) 2014, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... | remove RIFF header from audio stream for AudioPassThru | fix: remove RIFF header from audio stream for AudioPassThru
Please refer to the proposal on
https://github.com/smartdevicelink/sdl_evolution/issues/394.
The correct format is NOT to include any header.
| C++ | bsd-3-clause | smartdevicelink/sdl_core,smartdevicelink/sdl_core,smartdevicelink/sdl_core,smartdevicelink/sdl_core |
13e598345943ae1cbe458f2b5cf56618928001c2 | chrome/browser/chromeos/login/screen_locker_browsertest.cc | chrome/browser/chromeos/login/screen_locker_browsertest.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/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "chrome/browser/chromeos/cros/cros_in_proce... | // 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/command_line.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
#include "chrome/browser/chromeos/cros/cros_in_proce... | Disable flaky ScreenLockerTest.TestEscape. | Disable flaky ScreenLockerTest.TestEscape.
BUG=137488
TEST=ScreenLockerTest.*
TBR=flackr
Review URL: https://chromiumcodereview.appspot.com/10790051
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@147233 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | anirudhSK/chromium,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,hujiajie/pa-chromium,anirudhSK/chromium,mogoweb/chromium-crosswalk,patrickm/chromium.src,ltilve/chromium,axinging/chromium-crosswalk,dednal/chromium.src,Chilledheart/chromium,hujiajie/pa-chromium,markYoungH/chromium.src,pozdnyakov/chromium-crosswa... |
3a9f39c6cdb098011f8fc225ade77f87ef548c3d | modules/globebrowsing/globes/renderableglobe.cpp | modules/globebrowsing/globes/renderableglobe.cpp | /*****************************************************************************************
* *
* OpenSpace *
* ... | /*****************************************************************************************
* *
* OpenSpace *
* ... | Initialize only the first color texture and heightmap as active | Initialize only the first color texture and heightmap as active
| C++ | mit | OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace,OpenSpace/OpenSpace |
787398871efe29b6c156c412309d042e89ad8697 | src/pub14_core/terrain/terrain_service.cc | src/pub14_core/terrain/terrain_service.cc | #include "terrain_service.h"
#include <map>
#include "pub14_core/simulation/scene_events.h"
#include <anh/event_dispatcher.h>
#include <anh/logger.h>
#include "swganh/tre/resource_manager.h"
//#include "swganh/tre/visitors/terrain/layer_visitor.h"
#include "swganh/tre/visitors/terrain/terrain_visitor.h"
#include "... | #include "terrain_service.h"
#include <map>
#include "pub14_core/simulation/scene_events.h"
#include <anh/event_dispatcher.h>
#include <anh/logger.h>
#include "swganh/tre/resource_manager.h"
//#include "swganh/tre/visitors/terrain/layer_visitor.h"
#include "swganh/tre/visitors/terrain/terrain_visitor.h"
#include "... | Update src/pub14_core/terrain/terrain_service.cc | Update src/pub14_core/terrain/terrain_service.cc
lolz | C++ | mit | anhstudios/swganh,anhstudios/swganh,anhstudios/swganh |
f217b3bc01f81c5f00fcf5581976a0552c277ddf | src/import/chips/p9/procedures/hwp/memory/lib/spd/common/raw_cards.C | src/import/chips/p9/procedures/hwp/memory/lib/spd/common/raw_cards.C | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/spd/common/raw_cards.C $ */
/* ... | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/spd/common/raw_cards.C $ */
/* ... | Fix incorrect RCWs settings for power-on DIMM | Fix incorrect RCWs settings for power-on DIMM
Change-Id: Ib673667d7c7531d8ab135541b174e136c71367bb
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/30640
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com>
Tested-by: Hostboot CI <52521565bd8ea18a2b112942dce4f4220a97c2c8@us.ibm.com>
Revi... | C++ | apache-2.0 | Over-enthusiastic/hostboot,Over-enthusiastic/hostboot,Over-enthusiastic/hostboot,Over-enthusiastic/hostboot,Over-enthusiastic/hostboot |
b2a1d07a53611d0797f576726bc7cf51b023b7b6 | kernel/cairo_display.cpp | kernel/cairo_display.cpp | #include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <assert.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winternl.h"
#include "ntcall.h"
#include "debug.h"
#include "win32mgr.h"
#include "ntwin32.h"
#include "cairo_display.h"
#include <stdlib.h>
#include <X11/Xutil... | /*
* Cairo backend
*
* Copyright 2009 Hilary Cheng
*
* 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 later version.
*... | Add copyright header and fallback | Add copyright header and fallback
| C++ | lgpl-2.1 | bragin/ring3k,mikemccormack/ring3k,bragin/ring3k,mikemccormack/ring3k,bragin/ring3k,mikemccormack/ring3k,bragin/ring3k |
064502d830c7e2b2d18677a9802f61674552ac4a | src/plugins/tricon/triconplugin.cpp | src/plugins/tricon/triconplugin.cpp | /*
* Copyright (C) 2008-2013 The Communi Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is d... | /*
* Copyright (C) 2008-2013 The Communi Project
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is d... | Fix tree icon vertical center alignment | Fix tree icon vertical center alignment
| C++ | bsd-3-clause | communi/communi-desktop,jpnurmi/communi-desktop,gdamjan/communi-desktop,communi/communi-desktop,sevanteri/communi-desktop |
5bce0ed87abf6b0012ffbf08860351af4eaf0001 | kernel/util/xprintf.cc | kernel/util/xprintf.cc | /*------------------------------------------------------------------------/
/ Universal string handler for user console interface
/-------------------------------------------------------------------------/
/
/ Copyright (C) 2011, ChaN, all right reserved.
/
/ * This software is a free software and there is NO WARRANT... | /*------------------------------------------------------------------------/
/ Universal string handler for user console interface
/-------------------------------------------------------------------------/
/
/ Copyright (C) 2011, ChaN, all right reserved.
/
/ * This software is a free software and there is NO WARRANT... | fix bug in xprintf | fix bug in xprintf
| C++ | mit | foreverbell/BadAppleOS,foreverbell/BadAppleOS,foreverbell/BadAppleOS |
6e5061a12d4be447c67991d4a9338ce4c0196f05 | service/migration_manager.hh | service/migration_manager.hh | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | add is_raft_enabled() to check if raft is enabled on a cluster | migration_manager: add is_raft_enabled() to check if raft is enabled on a cluster
| C++ | agpl-3.0 | scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla |
1f7da7808913e572c73df984293ce7aa855a46c3 | kernel/include/arp_layer.hpp | kernel/include/arp_layer.hpp | //=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// 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 2013-2016.
// 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)
//================================================... | Complete the header | Complete the header
| C++ | mit | wichtounet/thor-os,wichtounet/thor-os |
2d03e7be8be2c72d7b9f42a8231fd8d00a818fc0 | src/spelling/spellchecker_service_main.cc | src/spelling/spellchecker_service_main.cc | // Copyright 2010-2021, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | // Copyright 2010-2021, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | Fix an OSS build error. | Fix an OSS build error.
* cc_binary requires a main function.
PiperOrigin-RevId: 450640612
| C++ | bsd-3-clause | google/mozc,google/mozc,google/mozc,fcitx/mozc,fcitx/mozc,fcitx/mozc,fcitx/mozc,google/mozc,fcitx/mozc,google/mozc |
5251d34e4044d3711acd9c18eac3fc3963f421c4 | src/tools/rest-backend/service_config.cpp | src/tools/rest-backend/service_config.cpp | /**
* @file
*
* @brief implementation of the config service class
*
* @copyright BSD License (see doc/LICENSE.md or http://www.libelektra.org)
*/
#include <algorithm>
#include <regex>
#include <boost/algorithm/string/predicate.hpp>
#include <service.hpp>
namespace kdbrest
{
namespace service
{
const std::st... | /**
* @file
*
* @brief implementation of the config service class
*
* @copyright BSD License (see doc/LICENSE.md or http://www.libelektra.org)
*/
#include <algorithm>
#include <regex>
#include <boost/algorithm/string/predicate.hpp>
#include <service.hpp>
namespace kdbrest
{
namespace service
{
const std::st... | fix small configuration transformer bug (IP was read as int) | rest-backend: fix small configuration transformer bug (IP was read as int)
| C++ | bsd-3-clause | BernhardDenner/libelektra,BernhardDenner/libelektra,e1528532/libelektra,BernhardDenner/libelektra,mpranj/libelektra,petermax2/libelektra,mpranj/libelektra,petermax2/libelektra,mpranj/libelektra,ElektraInitiative/libelektra,ElektraInitiative/libelektra,mpranj/libelektra,petermax2/libelektra,e1528532/libelektra,mpranj/li... |
e308e5a49ab904f17d06b91921c1f495558bf66d | gm/bitmapcopy.cpp | gm/bitmapcopy.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 "gm.h"
namespace skiagm {
static const char* gConfigNames[] = {
"unknown config",
"A1",
"A8",
"Index8",
"565",
"4444",
"8888"
};
SkBitm... |
/*
* 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 "gm.h"
namespace skiagm {
static const char* gConfigNames[] = {
"unknown config",
"A1",
"A8",
"Index8",
"565",
"4444",
"8888"
};
SkBitm... | Disable bitmapcopy gm on Android | Disable bitmapcopy gm on Android
This has been failing on Nexus S. Disable so that we
don't miss further regressions.
Bug @ http://code.google.com/p/skia/issues/detail?id=705
Review URL: https://codereview.appspot.com/6427053
git-svn-id: e8541e15acce502a64c929015570ad1648e548cd@4696 2bbb7eff-a529-9590-31e7-b0007b41... | C++ | bsd-3-clause | Frankie-666/color-emoji.skia,Hankuo/color-emoji.skia,Hankuo/color-emoji.skia,hbwhlklive/color-emoji.skia,MatChung/color-emoji.skia,MatChung/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.skia,Hankuo/color-emoji.skia,Frankie-666/color-emoji.skia,Frankie-666/color-emoji.skia,hbwhlklive/color-emoji.s... |
797af8baa6583d1ac10c951b4e968861d570b61a | npapi/vlcshell.cpp | npapi/vlcshell.cpp | /*****************************************************************************
* vlcshell.cpp: a VLC plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002-2009 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Jean-Paul S... | /*****************************************************************************
* vlcshell.cpp: a VLC plugin for Mozilla
*****************************************************************************
* Copyright (C) 2002-2009 the VideoLAN team
* $Id$
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Jean-Paul S... | Use more generic VlcPluginBase when possible in vlcshell.cpp | Use more generic VlcPluginBase when possible in vlcshell.cpp
Signed-off-by: Jean-Baptiste Kempf <7b85a41a628204b76aba4326273a3ccc74bd009a@videolan.org>
| C++ | lgpl-2.1 | chengsun/gtk-npapi-vlc,chengsun/gtk-npapi-vlc,jamesbates/npapi-vlc,jamesbates/npapi-vlc,chengsun/gtk-npapi-vlc,jamesbates/npapi-vlc |
b0fa11ca41d85e35d3c1155c6a3af1b67788fce6 | lib/CodeGen/LiveInterval.cpp | lib/CodeGen/LiveInterval.cpp | //===-- LiveInterval.cpp - Live Interval Representation -------------------===//
//
// 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.
//
//===----------... | //===-- LiveInterval.cpp - Live Interval Representation -------------------===//
//
// 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 a new method, play around with some code. | add a new method, play around with some code.
Fix a *bug* in the extendIntervalEndTo method. In particular, if adding
[2:10) to an interval containing [0:2),[10:30), we produced [0:10),[10,30).
Which is not the most smart thing to do. Now produce [0:30).
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@23841 9... | C++ | bsd-2-clause | dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,GPU... |
53b0a2d8c6e00fcd602afcaaeb3efab69e672f27 | lib/IR/PassManager.cpp | lib/IR/PassManager.cpp | //===- PassManager.cpp - Infrastructure for managing & running IR passes --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- PassManager.cpp - Infrastructure for managing & running IR passes --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Remove unnecessary/redundant std::move | Remove unnecessary/redundant std::move
(run returns unique_ptr by value already)
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@213174 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap... |
13c3208403159c5e41342bff9b4685cbc4703dd2 | lib/Support/CachePruning.cpp | lib/Support/CachePruning.cpp | //===-CachePruning.cpp - LLVM Cache Directory Pruning ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-CachePruning.cpp - LLVM Cache Directory Pruning ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix pessimising moves. | Fix pessimising moves.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@297928 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Dri... |
73c56243758d6ef2f35587cdc7ab0ab11767e47c | lib/Target/TargetMachine.cpp | lib/Target/TargetMachine.cpp | //===-- TargetMachine.cpp - General Target Information ---------------------==//
//
// 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.
//
//===----------... | //===-- TargetMachine.cpp - General Target Information ---------------------==//
//
// 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.
//
//===----------... | rename flag | rename flag
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@33634 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymag... |
7775c1f1363ca92609f3529ea05bbaad88a09926 | lib/VMCore/iMemory.cpp | lib/VMCore/iMemory.cpp | //===-- iMemory.cpp - Implement Memory instructions -----------------------===//
//
// 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.
//
//===--------... | //===-- iMemory.cpp - Implement Memory instructions -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------... | Fix for PR#330. When looking at getelementptr instructions, make sure to use a forwarded type. We want to do this because a DerivedType may drop its uses and then refine its users, who may then use another user who hasn't been refined yet. By getting the forwarded type, we always ensure that we're looking at a Type tha... | Fix for PR#330.
When looking at getelementptr instructions, make sure to use a forwarded
type. We want to do this because a DerivedType may drop its uses and then
refine its users, who may then use another user who hasn't been refined yet.
By getting the forwarded type, we always ensure that we're looking at a
Type th... | C++ | apache-2.0 | llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,GPU... |
2e86b99200dd9be3621f1d0bad1ab2d6ec9b517a | gui/xyconvert.cpp | gui/xyconvert.cpp | // xyconvert - GUI to xylib
// Licence: Lesser GNU Public License 2.1 (LGPL)
#include <wx/wx.h>
#include <wx/aboutdlg.h>
#include <wx/cmdline.h>
#include <wx/filefn.h>
#include <wx/ffile.h>
#include <wx/filepicker.h>
#include <wx/settings.h>
#include <wx/infobar.h>
#include "xyconvert16.xpm"
#include "xyconvert48.xpm"... | // xyconvert - GUI to xylib
// Licence: Lesser GNU Public License 2.1 (LGPL)
#include <wx/wx.h>
#include <wx/aboutdlg.h>
#include <wx/cmdline.h>
#include <wx/filefn.h>
#include <wx/ffile.h>
#include <wx/filepicker.h>
#include <wx/settings.h>
#include <wx/infobar.h>
#include "xyconvert16.xpm"
#include "xyconvert48.xpm"... | fix for OSX | gui/xyconvert.cpp: fix for OSX
| C++ | lgpl-2.1 | wojdyr/xylib,wojdyr/xylib,wojdyr/xylib |
653b62bf6a9a14d5dfbfe8bd05bdbd7692d72ea1 | chrome/browser/extensions/external_extension_loader.cc | chrome/browser/extensions/external_extension_loader.cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/external_extension_loader.h"
#include "base/logging.h"
#include "base/values.h"
#include "chrome/browser/browser_... | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/external_extension_loader.h"
#include "base/logging.h"
#include "base/values.h"
#include "chrome/browser/browser_... | Initialize ExternalExtensionLoader member. | Initialize ExternalExtensionLoader member.
BUG=None
TEST=None
CID=14460
Review URL: http://codereview.chromium.org/6471022
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@74795 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,r... |
3cb1554de2e62efaf3853e5b1a07b8e8d69c9ef3 | chrome/browser/geolocation/network_location_request.cc | chrome/browser/geolocation/network_location_request.cc | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/geolocation/network_location_request.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base... | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/geolocation/network_location_request.h"
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base... | Fix geolocation network request to not send/save cookies or send authentication data when accessing the network location server. This is to conserve user privacy. Remove obsolete todos whilst in there. | Fix geolocation network request to not send/save cookies or send authentication data when accessing the network location server. This is to conserve user privacy.
Remove obsolete todos whilst in there.
BUG=http://crbug.com/11246
TEST=use wireshark to inspect request headers sent.
Review URL: http://codereview.chromi... | C++ | bsd-3-clause | ropik/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,C... |
1711e5c0d145367f9bcd2cba9f1ce2f8da51d8c0 | stan/math/opencl/opencl_context.hpp | stan/math/opencl/opencl_context.hpp | #ifndef STAN_MATH_OPENCL_OPENCL_CONTEXT_HPP
#define STAN_MATH_OPENCL_OPENCL_CONTEXT_HPP
#ifdef STAN_OPENCL
#define __CL_ENABLE_EXCEPTIONS
#define DEVICE_FILTER CL_DEVICE_TYPE_ALL
#ifndef OPENCL_DEVICE_ID
#error OPENCL_DEVICE_ID_NOT_SET
#endif
#ifndef OPENCL_PLATFORM_ID
#error OPENCL_PLATFORM_ID_NOT_SET
#endif
#includ... | #ifndef STAN_MATH_OPENCL_OPENCL_CONTEXT_HPP
#define STAN_MATH_OPENCL_OPENCL_CONTEXT_HPP
#ifdef STAN_OPENCL
#define __CL_ENABLE_EXCEPTIONS
#define DEVICE_FILTER CL_DEVICE_TYPE_ALL
#ifndef OPENCL_DEVICE_ID
#error OPENCL_DEVICE_ID_NOT_SET
#endif
#ifndef OPENCL_PLATFORM_ID
#error OPENCL_PLATFORM_ID_NOT_SET
#endif
#includ... | comment fix | comment fix
| C++ | bsd-3-clause | stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math |
84fc392309316172c21f7af0de2dbc4d50b66712 | compiler/src/iree/compiler/Codegen/SPIRV/SPIRVTile.cpp | compiler/src/iree/compiler/Codegen/SPIRV/SPIRVTile.cpp | // Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//===- SPIRVTile.cpp ------------------------------------------------------===//
//
// This pass ... | // Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//===- SPIRVTile.cpp ------------------------------------------------------===//
//
// This pass ... | Refactor SPIRVTilePass to be more readable (#10708) | [spirv] NFC: Refactor SPIRVTilePass to be more readable (#10708)
Breaking down the long function into multiple smaller utility functions
to make the logic clear and easier to read. | C++ | apache-2.0 | iree-org/iree,iree-org/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,iree-org/iree,google/iree,google/iree,google/iree |
325961e188cad2ab5966c1ae9bb8bdc6053e6ef3 | test/test-organization-ts/datasets-test/test_case_interface-test.cpp | test/test-organization-ts/datasets-test/test_case_interface-test.cpp | // (C) Copyright Gennadiy Rozental 2011-2015.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | // (C) Copyright Gennadiy Rozental 2011-2015.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | work in progress | work in progress
| C++ | mit | nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme |
38fcf786f958ca694f438543815e6b519b2ca16b | cli/Session.cpp | cli/Session.cpp | #include <cli/Session.h>
#include <cli/CommandLine.h>
#include <cli/PosixStreams.h>
#include <cli/Tokenizer.h>
#include <mtp/make_function.h>
#include <stdio.h>
namespace cli
{
Session::Session(const mtp::DevicePtr &device):
_device(device),
_session(_device->OpenSession(1)),
_gdi(_session->GetDeviceInfo()),... | #include <cli/Session.h>
#include <cli/CommandLine.h>
#include <cli/PosixStreams.h>
#include <cli/Tokenizer.h>
#include <mtp/make_function.h>
#include <stdio.h>
namespace cli
{
Session::Session(const mtp::DevicePtr &device):
_device(device),
_session(_device->OpenSession(1)),
_gdi(_session->GetDeviceInfo()),... | put size before filename in listing | put size before filename in listing
| C++ | lgpl-2.1 | whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux,whoozle/android-file-transfer-linux |
d407c176f751f2ca46a9669cc30bd6401ec0f4e6 | chrome/browser/net/dns_host_info.cc | chrome/browser/net/dns_host_info.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See header file for description of class
#include "chrome/browser/net/dns_host_info.h"
#include <math.h>
#include <algorithm>
#include <str... | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// See header file for description of class
#include "chrome/browser/net/dns_host_info.h"
#include <math.h>
#include <algorithm>
#include <str... | Add two UMA histograms for DNS prefetching | Add two UMA histograms for DNS prefetching
I have a more complex change list, and wanted to be able to carefully
constrast the before-and-after impact.
r=mbelshe
Review URL: http://codereview.chromium.org/9166
git-svn-id: http://src.chromium.org/svn/trunk/src@4833 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-comm... | 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... |
58a9789dafb7696ca18978edab0f4dbea1b5511f | chrome/browser/views/info_bubble.cc | chrome/browser/views/info_bubble.cc | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/views/info_bubble.h"
#include "base/keyboard_codes.h"
#include "chrome/browser/window_sizer.h"
#include "chrome/common/notif... | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/views/info_bubble.h"
#include "base/keyboard_codes.h"
#include "chrome/browser/window_sizer.h"
#include "chrome/common/notif... | Fix default info_bubble arrow location for RTL. | Fix default info_bubble arrow location for RTL.
Review URL: http://codereview.chromium.org/2008011
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@46944 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | axinging/chromium-crosswalk,Jonekee/chromium.src,robclark/chromium,krieger-od/nwjs_chromium.src,hujiajie/pa-chromium,markYoungH/chromium.src,hgl888/chromium-crosswalk,fujunwei/chromium-crosswalk,Jonekee/chromium.src,hujiajie/pa-chromium,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,Chro... |
ebb4e6dcc6503bca9034cd59cf48da36984862a6 | test/cpp/interop/client.cc | test/cpp/interop/client.cc | /*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | /*
*
* Copyright 2014, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | Add Flags to override host and enable prod ssl root. Change on 2014/12/22 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82679415 | Add Flags to override host and enable prod ssl root.
Change on 2014/12/22 by chenw <chenw@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82679415
| C++ | apache-2.0 | ncteisen/grpc,ksophocleous/grpc,goldenbull/grpc,yinsu/grpc,firebase/grpc,ppietrasa/grpc,chenbaihu/grpc,yangjae/grpc,perumaalgoog/grpc,pszemus/grpc,soltanmm/grpc,kriswuollett/grpc,kpayson64/grpc,dgquintas/grpc,matt-kwong/grpc,a11r/grpc,a11r/grpc,ejona86/grpc,royalharsh/grpc,a11r/grpc,bogdandrutu/grpc,gpndata/grpc,carl-m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.