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 |
|---|---|---|---|---|---|---|---|---|---|
52a90b51d94214beeef50e9a34daf47dd1a89db2 | Modules/MitkExt/DataManagement/mitkPlanarCross.cpp | Modules/MitkExt/DataManagement/mitkPlanarCross.cpp | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2010-02-17 23:03:29 +0100 (Mi, 17 Feb 2010) $
Version: $Revision: 18029 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biologi... | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date: 2010-02-17 23:03:29 +0100 (Mi, 17 Feb 2010) $
Version: $Revision: 18029 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biologi... | FIX (#3830): Make sure that helper line for PlanarCross is drawn at correct angle; start helper line at control point (open-ended only to one side) | FIX (#3830): Make sure that helper line for PlanarCross is drawn at correct angle; start helper line at control point (open-ended only to one side)
| C++ | bsd-3-clause | lsanzdiaz/MITK-BiiG,NifTK/MITK,fmilano/mitk,NifTK/MITK,danielknorr/MITK,NifTK/MITK,danielknorr/MITK,lsanzdiaz/MITK-BiiG,nocnokneo/MITK,rfloca/MITK,nocnokneo/MITK,rfloca/MITK,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,danielknorr/MITK,danielknorr/MITK,danielknorr/MITK,rfloca/MITK,RabadanLab/MITKats,iwegner/MITK,rfloca/MITK,... |
caee21f4dce3e9e282d391faaa3984d4e4406559 | chrome/browser/extensions/extension_webrequest_apitest.cc | chrome/browser/extensions/extension_webrequest_apitest.cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_webrequest_api.h... | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extension_webrequest_api.h... | Disable ExtensionWebApiTest.WebRequestBlocking on Linux, it's consistently failing on two bots. | Disable ExtensionWebApiTest.WebRequestBlocking on Linux, it's consistently failing on two bots.
BUG=91715
TEST=
TBR=mpcomplete@chromium.org, jochen@chromium.org
Review URL: http://codereview.chromium.org/7618008
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@96365 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | Jonekee/chromium.src,ChromiumWebApps/chromium,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,keishi/chromium,Just-D/chromium-1,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,junmin-zhu/chromium-rivertrail,jaruba/chromium.src,Chromiu... |
bcdf3ed41298316d068e6aa4e24eb2781bd92bc4 | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio.cc | ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_audio.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 "native_client/src/shared/ppapi_proxy/plugin_ppb_audio.h"
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <sys/errno.h>... | // 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 "native_client/src/shared/ppapi_proxy/plugin_ppb_audio.h"
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <sys/errno.h>... | Add audio buffer size notification to NaCl proxy. BUG=http://code.google.com/p/chromium/issues/detail?id=120837 TEST=variuos nacl audio samples | Add audio buffer size notification to NaCl proxy.
BUG=http://code.google.com/p/chromium/issues/detail?id=120837
TEST=variuos nacl audio samples
Review URL: http://codereview.chromium.org/10165016
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@133502 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,ropik/chromium,adobe/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,adobe/chrom... |
1b1c64805fc222038a4d3c8d0e0f6ac049020998 | xml11/xml11_associativearray.hpp | xml11/xml11_associativearray.hpp | #pragma once
namespace {
template<class T>
inline auto to_lower(T s) -> std::string
{
std::transform(s.begin(), s.end(), s.begin(), ::tolower);
return s;
}
} // anonymous namespace
template <class T>
struct AssociativeArray {
public:
using ValuePointerT = std::shared_ptr<T>;
using ValuesListT = std:... | #pragma once
namespace {
template<class T>
inline auto to_lower1(T s) -> std::string
{
std::transform(s.begin(), s.end(), s.begin(), ::tolower);
return s;
}
template<class T>
inline auto to_lower2(T&& s) -> void
{
std::transform(s.begin(), s.end(), s.begin(), ::tolower);
}
} // anonymous namespace
temp... | Add an ability to use rvalue name values when finding nodes | Add an ability to use rvalue name values when finding nodes
| C++ | mit | idfumg/xml11,idfumg/xml11 |
1437f25f05ea9a3c7c14213a3ba1227b3b8a5d43 | chrome/browser/extensions/theme_installed_infobar_delegate.cc | chrome/browser/extensions/theme_installed_infobar_delegate.cc | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/theme_installed_infobar_delegate.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/st... | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/theme_installed_infobar_delegate.h"
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/st... | Fix theme install crasher. | Fix theme install crasher.
BUG= 26704
TEST= change themes. browser does not crash.
Review URL: http://codereview.chromium.org/366015
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@31036 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| C++ | bsd-3-clause | wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser |
dd7e9907aa9c01390d9623ce55b1f44e99ae5870 | src/openMVG_Samples/image_spherical_to_pinholes/main_pano_converter.cpp | src/openMVG_Samples/image_spherical_to_pinholes/main_pano_converter.cpp | // Copyright (c) 2016 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <openMVG/numeric/numeric.h>
#include <openMVG/image/image.hpp>
#includ... | // Copyright (c) 2016 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <openMVG/numeric/numeric.h>
#include <openMVG/image/image.hpp>
#includ... | Use type_alias #708 | [c++11] Use type_alias #708
| C++ | mpl-2.0 | openMVG/openMVG,openMVG/openMVG,openMVG/openMVG,openMVG/openMVG,openMVG/openMVG |
e7c7ac10a4fa141be1c4eac67562fd673171fb41 | C++/unique-word-abbreviation.cpp | C++/unique-word-abbreviation.cpp | // Time: O(n) for constructor, n is number of words in the dictionary.
// O(1) for lookup
// Space: O(k), k is number of unique words.
class ValidWordAbbr {
public:
ValidWordAbbr(vector<string> &dictionary) {
for (string& word : dictionary) {
const string hash_val = word.front() + to_s... | // Time: O(n) for constructor, n is number of words in the dictionary.
// O(1) for lookup
// Space: O(k), k is number of unique words.
class ValidWordAbbr {
public:
ValidWordAbbr(vector<string> &dictionary) {
for (string& word : dictionary) {
const string hash_word = hash(word);
... | Update unique-word-abbreviation.cpp | Update unique-word-abbreviation.cpp | C++ | mit | kamyu104/LeetCode,jaredkoontz/leetcode,tudennis/LeetCode---kamyu104-11-24-2015,yiwen-luo/LeetCode,kamyu104/LeetCode,kamyu104/LeetCode,jaredkoontz/leetcode,githubutilities/LeetCode,yiwen-luo/LeetCode,jaredkoontz/leetcode,githubutilities/LeetCode,githubutilities/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,yiwen-luo/... |
c0f8f87b771d62386fe651f20ea6e87ef1f4742d | 2D-Game-Engine/TextureManager.cpp | 2D-Game-Engine/TextureManager.cpp | #include "TextureManager.h"
#include "RawImage.h"
TextureManager::TextureManager() {}
TextureManager::~TextureManager() {
for (Texture* tex : m_textures) {
delete tex;
}
}
Texture* TextureManager::createTexture2D(const RawImage& img, Texture::Filter filtering, Texture::Wrap textureWrapS, Texture::Wrap textureW... | #include "TextureManager.h"
#include "RawImage.h"
TextureManager::TextureManager() {}
TextureManager::~TextureManager() {
for (Texture* tex : m_textures) {
delete tex;
}
}
Texture* TextureManager::createTexture2D(const RawImage& img, Texture::Filter filtering, Texture::Wrap textureWrapS, Texture::Wrap textureW... | Fix it again | Fix it again
| C++ | mit | simon-bourque/2D-Game-Engine-Cpp,simon-bourque/2D-Game-Engine-Cpp |
d77d376858d33fd10dcf3392ad18854a8caa724f | plugins/videobasedtracker/BeaconBasedPoseEstimator_Kalman.cpp | plugins/videobasedtracker/BeaconBasedPoseEstimator_Kalman.cpp | /** @file
@brief Implementation of Kalman-specific code in beacon-based pose
estimator, to reduce incremental build times.
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you ... | /** @file
@brief Implementation of Kalman-specific code in beacon-based pose
estimator, to reduce incremental build times.
@date 2015
@author
Sensics, Inc.
<http://sensics.com/osvr>
*/
// Copyright 2015 Sensics, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you ... | Add some simple emission direction checking for the LEDs to prune out those facing away from the camera. | Add some simple emission direction checking for the LEDs to prune out those facing away from the camera.
| C++ | apache-2.0 | leemichaelRazer/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,leemichaelRazer/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,leemichaelRazer/OSVR-Core,leemichaelRazer/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,leemichaelRazer/OSVR-Core,godbyk/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Cor... |
3dcf6647109feeaa199e64d30a71407e225be582 | sal/qa/osl/profile/osl_old_testprofile.cxx | sal/qa/osl/profile/osl_old_testprofile.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 CppunitTest_sal_osl_profile | Fix CppunitTest_sal_osl_profile
Change-Id: Ie66636881a2e4c754bd95f9d1d72e0b4fc2828df
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
e1aa9b9403698d73045bf54bab6267d6854785d0 | lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp | lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp | //===-- WebAssemblyAsmBackend.cpp - WebAssembly Assembler Backend ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- WebAssemblyAsmBackend.cpp - WebAssembly Assembler Backend ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Add an assertion to catch unexpected MCFixupKindInfo flags. | [WebAssembly] Add an assertion to catch unexpected MCFixupKindInfo flags.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@257657 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Dri... |
f8974fb72e90eeeada3cc3a347afcc3321d7c42a | src/GameStyle.cpp | src/GameStyle.cpp | #include "GameStyle.h"
#include <TranslationUtils.h>
#include <Application.h>
#include <Directory.h>
#include <Path.h>
#include <Roster.h>
#include <String.h>
#include <TranslatorFormats.h>
GameStyle::GameStyle(const char *path)
: fSmileyUp(NULL),
fSmileyDown(NULL),
fWinUp(NULL),
fWinDown(NULL),
fLoseUp(NULL)... | #include "GameStyle.h"
#include <TranslationUtils.h>
#include <Application.h>
#include <Directory.h>
#include <Path.h>
#include <Roster.h>
#include <String.h>
#include <TranslatorFormats.h>
GameStyle::GameStyle(const char *path)
: fSmileyUp(NULL),
fSmileyDown(NULL),
fWinUp(NULL),
fWinDown(NULL),
fLoseUp(NULL)... | Build fix. | Build fix.
| C++ | mit | HaikuArchives/BeMines |
a94a92af7fdba018e87f048cf05b7b5fc1b16c14 | src/Geo/QGCGeo.cc | src/Geo/QGCGeo.cc | /****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
*************************************... | /****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
*************************************... | Fix convertGeoToNed and convertNedToGeo | Fix convertGeoToNed and convertNedToGeo
| C++ | agpl-3.0 | Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol,Hunter522/qgroundcontrol |
d16db11657a6815cf062d33391885a1d57aeadf1 | modules/stochastic_tools/src/controls/MultiAppCommandLineControl.C | modules/stochastic_tools/src/controls/MultiAppCommandLineControl.C | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
// ... | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
// ... | Update MultiAppCommandLineControl to use getNextLocalRow | Update MultiAppCommandLineControl to use getNextLocalRow
(refs #13906)
| C++ | lgpl-2.1 | milljm/moose,lindsayad/moose,andrsd/moose,laagesen/moose,idaholab/moose,bwspenc/moose,nuclear-wizard/moose,jessecarterMOOSE/moose,idaholab/moose,sapitts/moose,milljm/moose,milljm/moose,sapitts/moose,sapitts/moose,jessecarterMOOSE/moose,dschwen/moose,harterj/moose,laagesen/moose,milljm/moose,bwspenc/moose,bwspenc/moose,... |
91597b2166f7543be56f91bc15046a35f06b7a77 | AD/macros/MakeADRecoParamEntry.C | AD/macros/MakeADRecoParamEntry.C | void MakeADRecoParamEntry(AliRecoParam::EventSpecie_t defaultEventSpecie=AliRecoParam::kLowMult, const char *outputCDB = "local:///home/mbroz/OCDB") {
//========================================================================
//
// Steering macro for AD reconstruction parameters
//
// Author: Michal Broz
//
//=========... | void MakeADRecoParamEntry(AliRecoParam::EventSpecie_t defaultEventSpecie=AliRecoParam::kLowMult, const char *outputCDB = "local://$ALICE_ROOT/OCDB") {
//========================================================================
//
// Steering macro for AD reconstruction parameters
//
// Author: Michal Broz
//
//=========... | Cut adjustment | Cut adjustment
| C++ | bsd-3-clause | miranov25/AliRoot,miranov25/AliRoot,mkrzewic/AliRoot,ALICEHLT/AliRoot,ecalvovi/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,sebaleh/AliRoot,ecalvovi/AliRoot,shahor02/AliRoot,mkrzewic/AliRoot,jgrosseo/AliRoot,jgrosseo/AliRoot,ecalvovi/AliRoot,sebaleh/AliRoot,ALICEHLT/AliRoot,ecalvovi/AliRoot,alisw/AliRoot,alisw/AliRoot,mk... |
f489a6606573530cabed24dfdb081853cba49c3f | content/browser/devtools/devtools_frame_trace_recorder.cc | content/browser/devtools/devtools_frame_trace_recorder.cc | // Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/devtools/devtools_frame_trace_recorder.h"
#include <string>
#include <vector>
#include "base/atomicops.h"
#include "base/b... | // Copyright (c) 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/devtools/devtools_frame_trace_recorder.h"
#include <string>
#include <vector>
#include "base/atomicops.h"
#include "base/b... | fix recording screenshot with stale timestamp | DevTools: fix recording screenshot with stale timestamp
This fixes recording of a screenshot with a timestamp and metadata
captured during previous tracing session.
BUG=
Review URL: https://codereview.chromium.org/1215553007
Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#337840}
| C++ | bsd-3-clause | TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,Chilledheart/chromium,chuan9/chromium-crosswalk,Chilledheart/chromium,chuan9/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/... |
d6493677042b0712fc764236079f4d4de8346bf4 | opencog/reasoning/RuleEngine/rule-engine-src/pln/ForwardChainer.cc | opencog/reasoning/RuleEngine/rule-engine-src/pln/ForwardChainer.cc | /*
* ForwardChainer.cc
*
* Copyright (C) 2014,2015 Misgana Bayetta
*
* Author: Misgana Bayetta <misgana.bayetta@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Foundation and... | /*
* ForwardChainer.cc
*
* Copyright (C) 2014,2015 Misgana Bayetta
*
* Author: Misgana Bayetta <misgana.bayetta@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by the Free Software Foundation and... | Replace target by source in ForwardChainer log message | Replace target by source in ForwardChainer log message
| C++ | agpl-3.0 | iAMr00t/opencog,AmeBel/atomspace,misgeatgit/opencog,inflector/opencog,misgeatgit/opencog,printedheart/opencog,printedheart/atomspace,ceefour/atomspace,rohit12/opencog,jlegendary/opencog,gavrieltal/opencog,jlegendary/opencog,Tiggels/opencog,MarcosPividori/atomspace,ruiting/opencog,andre-senna/opencog,kim135797531/openco... |
01abe4f436564bd18e77a07c79d7ee49801b47a0 | src/zillians-thorscript-compiler/compiler/ThorScriptCompiler.cpp | src/zillians-thorscript-compiler/compiler/ThorScriptCompiler.cpp | /**
* Zillians MMO
* Copyright (C) 2007-2010 Zillians.com, Inc.
* For more information see http://www.zillians.com
*
* Zillians MMO is the library and runtime for massive multiplayer online game
* development in utility computing model, which runs as a service for every
* developer to build their virtual world r... | /**
* Zillians MMO
* Copyright (C) 2007-2010 Zillians.com, Inc.
* For more information see http://www.zillians.com
*
* Zillians MMO is the library and runtime for massive multiplayer online game
* development in utility computing model, which runs as a service for every
* developer to build their virtual world r... | update thor compiler -- correctly print filename when error occurs | update thor compiler -- correctly print filename when error occurs
| C++ | agpl-3.0 | zillians/supercell_language,zillians/supercell_language,zillians/supercell_language,zillians/supercell_language,zillians/supercell_language |
9b97b17d67e76c6ae7ff02ddec46a79aecde395b | src/RunStyles.cxx | src/RunStyles.cxx | /** @file RunStyles.cxx
** Data structure used to store sparse styles.
**/
// Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#inclu... | /** @file RunStyles.cxx
** Data structure used to store sparse styles.
**/
// Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#inclu... | Make compile with libc++ on OS X. | Make compile with libc++ on OS X.
| C++ | isc | windoze/scintilla,windoze/scintilla,windoze/scintilla,windoze/scintilla,windoze/scintilla,windoze/scintilla,windoze/scintilla,windoze/scintilla |
421bbc7912df3a147f7b3d7ec54243a1b6ba5978 | chrome/browser/views/browser_views_accessibility_browsertest.cc | chrome/browser/views/browser_views_accessibility_browsertest.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 <oleacc.h>
#include "app/l10n_util.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browse... | // 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 <oleacc.h>
#include "app/l10n_util.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_window.h"
#include "chrome/browse... | Mark BrowserViewsAccessibilityTest.TestChromeWindowAccObj as flaky. | Mark BrowserViewsAccessibilityTest.TestChromeWindowAccObj as flaky.
I've seen this fail on my local machine as well as on the try server. Looks like there's a race condition.
BUG=none
TEST=none
TBR=dmazonni@chromium.org
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@47424 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,robclark/chromium,jaruba/chromium.src,fujunwei/chromium-crosswalk,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,Jonekee/chromium.src,M4sse/chromium.src,Fireblend/chromium-crosswalk,junmin-zhu/c... |
ffd865a5fe5b54aa18fe9d55fd16a3518b51aa12 | ClrPhlib/src/managed/PeImport.cpp | ClrPhlib/src/managed/PeImport.cpp | #include <ClrPhlib.h>
#include <UnmanagedPh.h>
using namespace Dependencies;
using namespace ClrPh;
PeImport::PeImport(
_In_ const PPH_MAPPED_IMAGE_IMPORT_DLL importDll,
_In_ size_t Index
)
{
PH_MAPPED_IMAGE_IMPORT_ENTRY importEntry;
if (NT_SUCCESS(PhGetMappedImageImportEntry((PPH_MAPPED_IMAGE_IMPORT_DLL) impo... | #include <ClrPhlib.h>
#include <UnmanagedPh.h>
using namespace Dependencies;
using namespace ClrPh;
PeImport::PeImport(
_In_ const PPH_MAPPED_IMAGE_IMPORT_DLL importDll,
_In_ size_t Index
)
{
PH_MAPPED_IMAGE_IMPORT_ENTRY importEntry;
if (NT_SUCCESS(PhGetMappedImageImportEntry((PPH_MAPPED_IMAGE_IMPORT_DLL) impo... | Use dummy entries when PE import parsing is failing | [ClrPhLib] Use dummy entries when PE import parsing is failing
| C++ | mit | lucasg/Dependencies,lucasg/Dependencies,lucasg/Dependencies |
00d7c733fafd737d42747a01483ed304cce61e90 | sigc++/trackable.cc | sigc++/trackable.cc | /*
* Copyright 2002, The libsigc++ Development Team
*
* 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.... | /*
* Copyright 2002, The libsigc++ Development Team
*
* 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 a comment | trackable: Add a comment
| C++ | lgpl-2.1 | Distrotech/libsigcxx2,Distrotech/libsigcxx2,Distrotech/libsigcxx2 |
763157ee8d2626cdb2466c08c017bbbee34aadb7 | tensorflow_federated/cc/core/impl/executors/executor_bindings.cc | tensorflow_federated/cc/core/impl/executors/executor_bindings.cc | /* Copyright 2021, The TensorFlow Federated Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | /* Copyright 2021, The TensorFlow Federated Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | Use the namespace pybind11_protobuf::WithWrappedProtos rather than the alias py::google::... | Use the namespace pybind11_protobuf::WithWrappedProtos rather than the alias py::google::...
PiperOrigin-RevId: 441279387
| C++ | apache-2.0 | tensorflow/federated,tensorflow/federated,tensorflow/federated |
4c863ba22d8686ae5d58ee13d0a527517437137b | src/Simulator.cpp | src/Simulator.cpp | /*
* Universe
*
* Copyright 2015 Lubosz Sarnecki <lubosz@gmail.com>
*
*/
#include <stdio.h>
#include <string>
#include <iostream>
#include "Simulator.h"
#include "Renderer.h"
#include "util.h"
#include <GL/glx.h>
using std::string;
static std::string deviceTypeToString(int type) {
switch (type) {
case ... | /*
* Universe
*
* Copyright 2015 Lubosz Sarnecki <lubosz@gmail.com>
*
*/
#include <stdio.h>
#include <string>
#include <iostream>
#include "Simulator.h"
#include "Renderer.h"
#include "util.h"
#include <GL/glx.h>
using std::string;
static std::string deviceTypeToString(int type) {
switch (type) {
case ... | fix warning, do not initialize debug buffer. | Simulator: fix warning, do not initialize debug buffer.
| C++ | mit | lubosz/universe,lubosz/universe,lubosz/universe,lubosz/universe |
2b1700d8a17ecf9a8c20aaa934a53618dac604a9 | source/extensions/filters/http/dynamo/dynamo_request_parser.cc | source/extensions/filters/http/dynamo/dynamo_request_parser.cc | #include "extensions/filters/http/dynamo/dynamo_request_parser.h"
#include <cmath>
#include <cstdint>
#include <string>
#include <vector>
#include "common/common/utility.h"
#include "absl/strings/match.h"
namespace Envoy {
namespace Extensions {
namespace HttpFilters {
namespace Dynamo {
/**
* Basic json request/... | #include "extensions/filters/http/dynamo/dynamo_request_parser.h"
#include <cmath>
#include <cstdint>
#include <string>
#include <vector>
#include "common/common/utility.h"
#include "absl/strings/match.h"
namespace Envoy {
namespace Extensions {
namespace HttpFilters {
namespace Dynamo {
/**
* Basic json request/... | Add InvalidSignatureException to supported error types (#12509) | dynamo: Add InvalidSignatureException to supported error types (#12509)
Signed-off-by: Bob Wang <187eb753a5cfcfd8fea7798f61990e75f5dba486@lyft.com> | C++ | apache-2.0 | lizan/envoy,envoyproxy/envoy-wasm,lyft/envoy,lyft/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,lizan/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy,e... |
4bb439af8962a8abafe80c65a5777af028e9672e | src/SlicePool.hxx | src/SlicePool.hxx | /*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | /*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | use list_base_hook instead of list_member_hook | SlicePool: use list_base_hook instead of list_member_hook
Easier to use and allows forward declaration.
| C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
674b65d0d0bb23ffa92100f5f5f20b23d58042f7 | source/thewizardplusplus/wizard_parser/parser/match_parser.cpp | source/thewizardplusplus/wizard_parser/parser/match_parser.cpp | #include "match_parser.hpp"
#include "ast_node.hpp"
#include <memory>
namespace thewizardplusplus::wizard_parser::parser {
match_parser::match_parser(const match_type& type, const std::string& sample):
type{type},
sample{sample}
{}
parsing_result match_parser::parse(const lexer::token_span& tokens) const {
if (to... | #include "match_parser.hpp"
#include "ast_node.hpp"
#include <memory>
namespace thewizardplusplus::wizard_parser::parser {
match_parser::match_parser(const match_type& type, const std::string& sample):
type{type},
sample{sample}
{}
parsing_result match_parser::parse(const lexer::token_span& tokens) const {
if (to... | Refactor the `parser::match_parser::parse()` method | Refactor the `parser::match_parser::parse()` method
| C++ | mit | thewizardplusplus/wizard-parser,thewizardplusplus/wizard-parser |
d86866ecdd07a403a39bfa022c1e578fe74a92c2 | common/eeprom_io.hpp | common/eeprom_io.hpp | #pragma once
//=====================================================================//
/*! @file
@brief EEPROM ドライバー
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include "common/i2c_io.hpp"
#include "common/time.h"
namespace device ... | #pragma once
//=====================================================================//
/*! @file
@brief EEPROM ドライバー
@author 平松邦仁 (hira@rvf-rc45.net)
*/
//=====================================================================//
#include <cstdint>
#include "common/i2c_io.hpp"
#include "common/time.h"
namespace device ... | update eeprom type | update eeprom type
| C++ | bsd-3-clause | hirakuni45/R8C,hirakuni45/R8C,hirakuni45/R8C |
13cb85f154454da887ac6bc3b6b3594a41d30e7c | samples/learn_depth_segmentation/learn_depth_segmentation.cpp | samples/learn_depth_segmentation/learn_depth_segmentation.cpp | #include <iostream>
#include <boost/filesystem.hpp>
#include "elm/core/core.h"
#include "elm/core/debug_utils.h"
#include "elm/core/layerconfig.h"
#include "elm/core/inputname.h"
#include "elm/io/readnyudepthv2labeled.h"
#include "elm/layers/layerfactory.h"
#include "elm/layers/mlp.h"
using namespace std;
namespace ... | #include <iostream>
#include <boost/filesystem.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "elm/core/core.h"
#include "elm/core/cv/mat_utils.h"
#include "elm/core/debug_utils.h"
#include "elm/core/layerconfig.h"
#include "elm/core/inputname.h"
#include "elm/io/readnyudepthv2labeled.h"
#include "elm/layers/l... | load nyu depth v2 data | load nyu depth v2 data
| C++ | bsd-3-clause | kashefy/elm,kashefy/elm,kashefy/elm,kashefy/elm |
72a34d835900c03c84918f5bebb0ec91915b7619 | src/plugins/clangcodemodel/test/clangcompletioncontextanalyzertest.cpp | src/plugins/clangcodemodel/test/clangcompletioncontextanalyzertest.cpp | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance wit... | Fix build with namespaced Qt. | ClangCodeModel: Fix build with namespaced Qt.
Change-Id: I8a8e92e9bbd441bac1b305248034f31e7a2ad5d7
Reviewed-by: hjk <4622a3e4640ee19ab4ebad197849e45b7170d50c@theqtcompany.com>
Reviewed-by: Christian Stenger <accbb51712d7b9c4fb108439d01e716148e5f9e6@theqtcompany.com>
| C++ | lgpl-2.1 | xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,xianian/qt-creator,martyone/sailfish-q... |
d6a94b0dc002966753225cc1eeca13cf173f9c83 | src/plugins/qmldesigner/components/importmanager/importmanagerview.cpp | src/plugins/qmldesigner/components/importmanager/importmanagerview.cpp | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | Fix warning in ImportManager | QmlDesigner: Fix warning in ImportManager
Change-Id: I3c392ad333b9a7720495073fb8549996c6f1842d
Reviewed-by: Marco Bubke <5254e489b34ec8bbce36789100e3fc0f41fa62ef@digia.com>
| C++ | lgpl-2.1 | martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,omniacreator/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,danimo/qt-creator,omniacreator/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,maui-packages/qt-crea... |
9a8f5383d5fe5570331711966b8a7c5f2b83fa65 | src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp | src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | Improve short name | QmlDesigner: Improve short name
Change-Id: I773964fac0b4981a9d33bc047b8e5e9599c2a3b0
Reviewed-by: Tim Jenssen <6a21f175c697b4129e1bafb6e9b52078bb1a6738@digia.com>
| C++ | lgpl-2.1 | danimo/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,darksylinc/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,colede/qtcreator,maui-packages/qt-creator,xianian/qt-creator,omniacreator/qtcreator,darksylinc/qt-creator,darksylinc/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-... |
8b10fd58311857f49af0b5d2fbfb298626a9fdeb | platform/shared/common/PosixThreadImpl.cpp | platform/shared/common/PosixThreadImpl.cpp | /*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | /*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software ... | fix wait time calculation in PosixThread | fix wait time calculation in PosixThread
| C++ | mit | rhomobile/rhodes,watusi/rhodes,rhomobile/rhodes,tauplatform/tau,rhomobile/rhodes,watusi/rhodes,rhomobile/rhodes,rhomobile/rhodes,rhomobile/rhodes,watusi/rhodes,watusi/rhodes,watusi/rhodes,watusi/rhodes,tauplatform/tau,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,rhom... |
dc407aa2a9c458af049a4c6c473247c16129736d | server/SesNotSvc/BroadcastTcpServer.cpp | server/SesNotSvc/BroadcastTcpServer.cpp | #include "BroadcastTcpServer.h"
#include <winsock2.h>
#include <ws2tcpip.h>
#include <string>
#include <vector>
#include <list>
#include <process.h> // _beginthreadex
#pragma comment(lib, "ws2_32.lib")
const static int DeletedObject = 0;
std::string getLastWsaError(const char *msg);
class TcpServerSocket {
public:
... | #include "BroadcastTcpServer.h"
#include <winsock2.h>
#include <ws2tcpip.h>
#include <string>
#include <vector>
#include <list>
#include <process.h> // _beginthreadex
#pragma comment(lib, "ws2_32.lib")
const static int DeletedObject = 0;
std::string getLastWsaError(const char *msg);
class TcpServerSocke... | combine the implement of classes | [SE-0005] combine the implement of classes
| C++ | mit | namhokim/windows-session-notification,namhokim/windows-session-notification |
7268a4b87ffc963be544301c1d8daf9bd77e5ba9 | Plugins/org.mitk.gui.qt.application/src/QmitkFileSaveAction.cpp | Plugins/org.mitk.gui.qt.application/src/QmitkFileSaveAction.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... | Check if workbench window still exists. | Check if workbench window still exists.
| C++ | bsd-3-clause | NifTK/MITK,RabadanLab/MITKats,fmilano/mitk,iwegner/MITK,iwegner/MITK,NifTK/MITK,fmilano/mitk,iwegner/MITK,danielknorr/MITK,MITK/MITK,MITK/MITK,fmilano/mitk,NifTK/MITK,danielknorr/MITK,iwegner/MITK,danielknorr/MITK,RabadanLab/MITKats,iwegner/MITK,fmilano/mitk,danielknorr/MITK,danielknorr/MITK,NifTK/MITK,RabadanLab/MITKa... |
795be496fe855ebe09413995f6ecb891d03a6bf0 | modules/webbrowser/src/properties/propertycefsynchronizer.cpp | modules/webbrowser/src/properties/propertycefsynchronizer.cpp | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | /*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2018-2019 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... | Handle inviwo and std exception, not on json exception to prevent broken state (see #584) | WebBrowser: Handle inviwo and std exception, not on json exception to prevent broken state (see #584) | C++ | bsd-2-clause | inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo |
42f436f6d8e0abc1788f6d2ab0dfcb5ad09d84b1 | remoting/host/setup/me2me_native_messaging_host_main.cc | remoting/host/setup/me2me_native_messaging_host_main.cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/setup/me2me_native_messaging_host_main.h"
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/message_loop/me... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/host/setup/me2me_native_messaging_host_main.h"
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/i18n/icu_util.h... | Initialize ICU on remoting_native_messaging_host | Initialize ICU on remoting_native_messaging_host
BUG=371432
R=rmsousa@chromium.org
Review URL: https://codereview.chromium.org/274933002
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@269413 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | krieger-od/nwjs_chromium.src,axinging/chromium-crosswalk,littlstar/chromium.src,Just-D/chromium-1,mohamed--abdel-maksoud/chromium.src,ltilve/chromium,jaruba/chromium.src,jaruba/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,PeterWangIntel/chrom... |
e5168811a25484521268024d09f5a1d89046d8f8 | dune/stuff/grid/periodicview.hh | dune/stuff/grid/periodicview.hh | // This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff/
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
//
// Contributors: Tobias Leibner
#ifndef DUNE_STUFF_GRID_PERIODICVIEW_HH
#define DUNE_STUFF_G... | // This file is part of the dune-stuff project:
// https://github.com/wwu-numerik/dune-stuff/
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
//
// Contributors: Tobias Leibner
#ifndef DUNE_STUFF_GRID_PERIODICVIEW_HH
#define DUNE_STUFF_G... | add some documentation | [grid.periodicview] add some documentation
| C++ | bsd-2-clause | renemilk/DUNE-Stuff,renemilk/DUNE-Stuff,renemilk/DUNE-Stuff |
18edcc8b2d1226f509717612b846b5fb62904482 | Source/GenericGraphEditor/Private/GenericGraphAssetEditor/SEdNode_GenericGraphNode.cpp | Source/GenericGraphEditor/Private/GenericGraphAssetEditor/SEdNode_GenericGraphNode.cpp | #include "SEdNode_GenericGraphNode.h"
#include "GenericGraphEditorPCH.h"
#include "Colors_GenericGraph.h"
#include "SLevelOfDetailBranchNode.h"
#include "Widgets/Text/SInlineEditableTextBlock.h"
#include "SCommentBubble.h"
#include "SlateOptMacros.h"
#include "SGraphPin.h"
#include "GraphEditorSettings.h"
#include "EdN... | #include "SEdNode_GenericGraphNode.h"
#include "GenericGraphEditorPCH.h"
#include "Colors_GenericGraph.h"
#include "SLevelOfDetailBranchNode.h"
#include "Widgets/Text/SInlineEditableTextBlock.h"
#include "SCommentBubble.h"
#include "SlateOptMacros.h"
#include "SGraphPin.h"
#include "GraphEditorSettings.h"
#include "EdN... | Make pins less visible | Make pins less visible
| C++ | mit | jinyuliao/GenericGraph,jinyuliao/GenericGraph,jinyuliao/GenericGraph |
3868c9779124d9f8b377a1103a6cd4b31be37021 | HLT/BASE/AliHLTTrackGeometry.cxx | HLT/BASE/AliHLTTrackGeometry.cxx | // $Id$
//**************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
//... | // $Id$
//**************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* *
//... | use explicite cast from double to int | use explicite cast from double to int
| C++ | bsd-3-clause | sebaleh/AliRoot,miranov25/AliRoot,alisw/AliRoot,miranov25/AliRoot,miranov25/AliRoot,coppedis/AliRoot,ALICEHLT/AliRoot,ALICEHLT/AliRoot,ecalvovi/AliRoot,ecalvovi/AliRoot,ecalvovi/AliRoot,shahor02/AliRoot,alisw/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,miranov25/AliRoot,alisw/AliRoot,mkrzewic/AliRoot,jgrosseo/AliRoot,mkrz... |
81b04723fdfaaef658114c0247945e9fa175e041 | xchainer/check_backward_test.cc | xchainer/check_backward_test.cc | #include "xchainer/gradient_check.h"
#include <algorithm>
#include <memory>
#include <tuple>
#include <unordered_map>
#include <vector>
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include <gsl/gsl>
#include "xchainer/array.h"
#include "xchainer/check_backward.h"
#include "xchainer/native_backend.h"
#inclu... | #include "xchainer/gradient_check.h"
#include <algorithm>
#include <memory>
#include <tuple>
#include <unordered_map>
#include <vector>
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include <gsl/gsl>
#include "xchainer/array.h"
#include "xchainer/check_backward.h"
#include "xchainer/native_backend.h"
#inclu... | Fix check_backward_test.cc to use new DeviceId | Fix check_backward_test.cc to use new DeviceId
| C++ | mit | jnishi/chainer,ktnyt/chainer,pfnet/chainer,niboshi/chainer,niboshi/chainer,hvy/chainer,okuta/chainer,chainer/chainer,jnishi/chainer,ktnyt/chainer,wkentaro/chainer,wkentaro/chainer,keisuke-umezawa/chainer,niboshi/chainer,okuta/chainer,keisuke-umezawa/chainer,wkentaro/chainer,jnishi/chainer,keisuke-umezawa/chainer,okuta/... |
b5d840e4dce2fdc0940a3f17fec89bf4ea938105 | include/stack.hpp | include/stack.hpp | #include <iostream>
using namespace std;
template <typename T>
class stack
{
public:
stack();
stack(const stack<T> ©);
size_t count() const;
void print()const;
void push(T const &);
void swap();
void swap(const stack&);
T pop();
stack<T>& operator=(stack<T> const &);
~stack();
private:
T * array_;
siz... | #include <iostream>
using namespace std;
template <typename T>
class stack
{
public:
stack();
stack(const stack<T> &);
size_t count() const;
void print()const;
void push(T const &);
void swap(stack<T>&);
T pop();
stack<T>& operator=(const stack<T> &);
~stack();
private:
T * array_;
size_t array_size_;
siz... | Update stack.hpp | Update stack.hpp | C++ | mit | rtv22/stack |
5c8ec1aaba65305e8a65e45ca5aa151440b0d697 | include/stack.hpp | include/stack.hpp | #ifndef stack_cpp
#define stack_cpp
#pragma once
#include <iostream>
#include <memory>
#include <thread>
#include <mutex>
class bitset
{
public:
explicit
bitset(size_t size) /*strong*/;
bitset(bitset const & other) = delete;
auto operator =(bitset const & other)->bitset & = delete;
bitset(bitset... | #ifndef stack_cpp
#define stack_cpp
#pragma once
#include <iostream>
#include <memory>
#include <thread>
#include <mutex>
class bitset
{
public:
explicit
bitset(size_t size) /*strong*/;
bitset(bitset const & other) = delete;
auto operator =(bitset const & other)->bitset & = delete;
bitset(bitset... | Update stack.hpp | Update stack.hpp | C++ | mit | DANTEpolaris/stack |
c3a902de78b484222e7d549efc020ccd250c6768 | vcf2multialign/vcf2multialign/check_overlapping_non_nested_variants.cc | vcf2multialign/vcf2multialign/check_overlapping_non_nested_variants.cc | /*
* Copyright (c) 2017 Tuukka Norri
* This code is licensed under MIT license (see LICENSE for details).
*/
#include <boost/bimap.hpp>
#include <boost/bimap/list_of.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <iostream>
#include <vcf2multialign/check_overlapping... | /*
* Copyright (c) 2017 Tuukka Norri
* This code is licensed under MIT license (see LICENSE for details).
*/
#include <boost/bimap.hpp>
#include <boost/bimap/list_of.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/range/adaptor/reversed.hpp>
#include <iostream>
#include <vcf2multialign/check_overlapping... | Handle nested variants in case the longer REF is listed first | Handle nested variants in case the longer REF is listed first
| C++ | mit | tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign,tsnorri/vcf2multialign |
9ef8bc31776e3f4f1b6b1b0706882da5c579b090 | dtrans/test/win32/dnd/dndTest.cxx | dtrans/test/win32/dnd/dndTest.cxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform ... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform ... | Remove unused variable errMsg and dead code. | Remove unused variable errMsg and dead code.
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
e9693bed4dac41fb1ae8bffa4221e0ba1f9218de | frameworks/runtime-src/Framework/utils/MWAssetManager.cpp | frameworks/runtime-src/Framework/utils/MWAssetManager.cpp | #include "MWAssetManager.h"
#include "../json/MWJsonStructure.h"
#include "../platform/MWIOUtils.h"
#include "../net/http/MWHttpDownloader.h"
#include "../lua/MWLuaUtils.h"
#include "cocos2d.h"
#include <vector>
// files and directorys
#define AM_VERSION_FILE "version.json"
#define AM_CONFIG_FILE "config.json"
#defi... | #include "MWAssetManager.h"
#include "../json/MWJsonStructure.h"
#include "../platform/MWIOUtils.h"
#include "../net/http/MWHttpDownloader.h"
#include "../lua/MWLuaUtils.h"
#include "cocos2d.h"
#include <vector>
// files and directorys
#define AM_VERSION_FILE "version.json"
#define AM_CONFIG_FILE "config.json"
#defi... | fix save version | fix save version
| C++ | apache-2.0 | wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua,wanmaple/MWFrameworkForCocosLua |
413d7f945015d4da3f247a058ef07fb91d8c0ab3 | walude/ultrabool.hpp | walude/ultrabool.hpp | #ifndef WALUDE_ULTRABOOL
#define WALUDE_ULTRABOOL
#include <random>
#include <ctime>
bool
darkurza_bool() {
// Do not try and fix it with any of that mt199937 or sane random seeding
// nonsense. Here we adhere to darkurza principles only.
std::srand(std::time(0));
auto success = std::rand();
retur... | #ifndef WALUDE_ULTRABOOL
#define WALUDE_ULTRABOOL
#include <random>
#include <ctime>
volatile bool
darkurza_bool() {
// Do not try and fix it with any of that mt199937 or sane random seeding
// nonsense. Here we adhere to darkurza principles only.
std::srand(std::time(0));
return std::rand() & 0x40;
}... | Make things super stable. | Make things super stable.
| C++ | mit | Reisen/Walude |
96c9e31d97fc7250aafc47fdc73ddd20750d534b | source/Plugins/ExpressionParser/Swift/SwiftExpressionSourceCode.cpp | source/Plugins/ExpressionParser/Swift/SwiftExpressionSourceCode.cpp | //===-- SwiftExpressionSourceCode.cpp --------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------... | //===-- SwiftExpressionSourceCode.cpp --------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------... | Move swift-lldb changes from ExpressionSourceCode.cpp to SwiftExpressionSourceCode.cpp (NFC) | Move swift-lldb changes from ExpressionSourceCode.cpp to
SwiftExpressionSourceCode.cpp (NFC)
| C++ | apache-2.0 | apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb |
f00ecb94211905c063a2707828fab149fd35b615 | engine/core/NativeWindow.hpp | engine/core/NativeWindow.hpp | // Ouzel by Elviss Strazdins
#ifndef OUZEL_CORE_NATIVEWINDOW_HPP
#define OUZEL_CORE_NATIVEWINDOW_HPP
#include <mutex>
#include <string>
#include <queue>
#include "../math/Size.hpp"
namespace ouzel::core
{
class NativeWindow
{
public:
class Command final
{
public:
enum ... | // Ouzel by Elviss Strazdins
#ifndef OUZEL_CORE_NATIVEWINDOW_HPP
#define OUZEL_CORE_NATIVEWINDOW_HPP
#include <string>
#include "../math/Size.hpp"
namespace ouzel::core
{
class NativeWindow
{
public:
class Command final
{
public:
enum class Type
{
... | Remove the command queue from NativeWindow | Remove the command queue from NativeWindow
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
6a21c1ad5155e58c8d0f414c13d1a9bc328fae25 | fbhackcup/2020/round1/10/10.cpp | fbhackcup/2020/round1/10/10.cpp |
/* ========================================
* File Name : 10.cpp
* Creation Date : 16-08-2020
* Last Modified : Ne 16. srpna 2020, 14:13:25
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2020/round-1/problems/A1
* Points Gained (in ... |
/* ========================================
* File Name : 10.cpp
* Creation Date : 16-08-2020
* Last Modified : Ne 16. srpna 2020, 14:16:20
* Created By : Karel Ha <mathemage@gmail.com>
* URL : https://www.facebook.com/codingcompetitions/hacker-cup/2020/round-1/problems/A1
* Points Gained (in ... | Define coord and deq_pts | Define coord and deq_pts
- Fb Hackercup '20 Round 1, 10
Signed-off-by: Karel Ha <70f8965fdfb04f1fc0e708a55d9e822c449f57d3@gmail.com>
| C++ | mit | mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming,mathemage/CompetitiveProgramming |
af103f3dd6176b993052d42c2f038e38ae74962f | examples/undocumented/libshogun/classifier_multiclasslibsvm.cpp | examples/undocumented/libshogun/classifier_multiclasslibsvm.cpp | #include <shogun/labels/MulticlassLabels.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/kernel/GaussianKernel.h>
#include <shogun/multiclass/MulticlassLibSVM.h>
#include <shogun/base/init.h>
using namespace shogun;
void print_message(FILE* target, const char* str)
{
fprintf(target, "%s", str);
}
int... | #include <shogun/labels/MulticlassLabels.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/kernel/GaussianKernel.h>
#include <shogun/multiclass/MulticlassLibSVM.h>
#include <shogun/base/init.h>
using namespace shogun;
int main(int argc, char** argv)
{
init_shogun_with_defaults();
index_t num_vec=3;
in... | simplify example | simplify example
| C++ | bsd-3-clause | lisitsyn/shogun,shogun-toolbox/shogun,shogun-toolbox/shogun,karlnapf/shogun,karlnapf/shogun,geektoni/shogun,geektoni/shogun,shogun-toolbox/shogun,karlnapf/shogun,geektoni/shogun,geektoni/shogun,lisitsyn/shogun,lambday/shogun,Saurabh7/shogun,besser82/shogun,lisitsyn/shogun,lambday/shogun,Saurabh7/shogun,lambday/shogun,S... |
b0b2d8862d2b1efcef3d7e9734fc817c44e34dfd | network/src/EmptyFmu.cpp | network/src/EmptyFmu.cpp | /*
* NetworkFmu.cpp
*
* Created on: 03.06.2016
* Author: hartung
*/
#include "../include/EmptyFmu.hpp"
namespace FMI
{
EmptyFmu::EmptyFmu(const Initialization::FmuPlan & in)
: AbstractFmu(in)
{
}
EmptyFmu::~EmptyFmu()
{
}
AbstractFmu* EmptyFmu::duplicate()
{
... | /*
* NetworkFmu.cpp
*
* Created on: 03.06.2016
* Author: hartung
*/
#include "EmptyFmu.hpp"
namespace FMI
{
EmptyFmu::EmptyFmu(const Initialization::FmuPlan & in)
: AbstractFmu(in)
{
}
EmptyFmu::~EmptyFmu()
{
}
AbstractFmu* EmptyFmu::duplicate()
{
throw ... | Fix include | Fix include
| C++ | bsd-3-clause | marchartung/ParallelFMU |
9cf1d007a7de1e743b596456be74ad289272e6af | include/abaclade/collections/detail/type_void_adapter.hxx | include/abaclade/collections/detail/type_void_adapter.hxx | /* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2010, 2011, 2012, 2013, 2014, 2015
Raffaello D. Di Napoli
This file is part of Abaclade.
Abaclade 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 S... | /* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2010, 2011, 2012, 2013, 2014, 2015
Raffaello D. Di Napoli
This file is part of Abaclade.
Abaclade 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 S... | Remove unusable type_void_adapter::equal and related code | Remove unusable type_void_adapter::equal and related code
Equality comparison is typically provided by a functor that only the most
derived class of a container, being a template, has access to, and as a
member method, not a static function.
This means that either type_void_adapter be changed to store a this
pointer, ... | C++ | lgpl-2.1 | raffaellod/lofty,raffaellod/lofty |
63d58f84532d86b71da2f8d4b040f84ae0e247cc | include/alpaka/block/shared/st/BlockSharedMemStMember.hpp | include/alpaka/block/shared/st/BlockSharedMemStMember.hpp | /* Copyright 2020 Jeffrey Kelling
*
* This file is part of alpaka.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <alpaka/block/shar... | /* Copyright 2020 Jeffrey Kelling
*
* This file is part of alpaka.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <alpaka/block/shar... | Remove placement new call from BlockSharedMemStMemberImpl | Remove placement new call from BlockSharedMemStMemberImpl
As discussed in #1128, this is not consistent with other implementations of shared memory
As a side product, when out of memory this allows the debug assert to shoot before the segfault happens
Co-authored-by: Jeffrey Kelling <6fb60bb52b8c09852b7b9d5a9f5a39d0f... | C++ | mpl-2.0 | BenjaminW3/alpaka,BenjaminW3/alpaka |
d73afda478960c72d01ec8875c88cfab6f3bb112 | src/master/gru.cc | src/master/gru.cc | #include "gru.h"
#include <sstream>
#include <gflags/gflags.h>
#include <boost/algorithm/string.hpp>
#include <vector>
#include "logging.h"
DECLARE_int32(galaxy_deploy_step);
DECLARE_string(minion_path);
DECLARE_string(nexus_server_list);
DECLARE_string(nexus_root_path);
DECLARE_string(master_path);
DECLARE_bool(enab... | #include "gru.h"
#include <sstream>
#include <gflags/gflags.h>
#include <boost/algorithm/string.hpp>
#include <vector>
#include "logging.h"
#include "util.h"
DECLARE_int32(galaxy_deploy_step);
DECLARE_string(minion_path);
DECLARE_string(nexus_server_list);
DECLARE_string(nexus_root_path);
DECLARE_string(master_path);... | fix bugs for the new galaxy3 sdk | fix bugs for the new galaxy3 sdk
| C++ | bsd-3-clause | fxsjy/shuttle,fxsjy/shuttle,fxsjy/shuttle,baidu/shuttle,baidu/shuttle,baidu/shuttle |
9d4aa420a580af1b228caafc23dd374d399a4212 | src/math/math.cpp | src/math/math.cpp | #include "math.hpp"
namespace math
{
double pointDistance(double x1, double y1, double x2, double y2)
{
return sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2));
}
double pointDirection(double x1, double y1, double x2, double y2)
{
return radtodeg(acos((x2 - x1) / pointDistance(x1, y1, x2, y... | #include "math/math.hpp"
namespace math
{
double pointDistance(double x1, double y1, double x2, double y2)
{
return sqrt(pow(x2 - x1, 2) + pow(y2 - y1, 2));
}
double pointDirection(double x1, double y1, double x2, double y2)
{
return radtodeg(acos((x2 - x1) / pointDistance(x1, y1, ... | Fix include of math.hpp | Fix include of math.hpp
| C++ | mit | mall0c/cppmath,mphe/cppmath |
175b74d303c11e6cb760f4d6e6e2c5821c827c48 | service/reference-update/TypeReference.cpp | service/reference-update/TypeReference.cpp | /**
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | /**
* Copyright (c) 2018-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... | Handle array return type when updating reference in proto | Handle array return type when updating reference in proto
Summary:
We had this bug for a long time in `update_proto_reference`.
When updating a proto with reference to a mergeable type, we didn't handle the return type correctly.
We flatten the return type if it is an array type. But if the flatten type is not a merge... | C++ | mit | facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex |
29be253e452cf3586adf9d0552ae60479343e92c | source/examples/qtexample-es/WindowQt.cpp | source/examples/qtexample-es/WindowQt.cpp | #include "WindowQt.h"
#include <QApplication>
#include <QDebug>
#include <QResizeEvent>
#include <QSurfaceFormat>
#include <QOpenGLContext>
QSurfaceFormat defaultFormat()
{
QSurfaceFormat format;
format.setProfile(QSurfaceFormat::CoreProfile);
#ifndef NDEBUG
format.setOption(QSurfaceFormat::DebugContext)... | #include "WindowQt.h"
#include <QApplication>
#include <QDebug>
#include <QResizeEvent>
#include <QSurfaceFormat>
#include <QOpenGLContext>
QSurfaceFormat defaultFormat()
{
QSurfaceFormat format;
format.setProfile(QSurfaceFormat::CoreProfile);
#ifndef NDEBUG
format.setOption(QSurfaceFormat::DebugContext)... | Add missing fix | Add missing fix
| C++ | mit | j-o/globjects,j-o/globjects,j-o/globjects,cginternals/globjects,cginternals/globjects,j-o/globjects |
c881c4f49177c6ad2fc0f0e419fbc51758a0c6d7 | MatrixStore_Ver00.00_01/main.cpp | MatrixStore_Ver00.00_01/main.cpp | #include <stdio.h>
#include <iostream>
#include "MatrixStore.hpp"
int main(){
class MatrixStore<double> MatA(3, 3); MatA.Zeros();
class MatrixStore<double> MatB(3, 3); MatB.Zeros();
for(unsigned int q=0; q<MatA.ColNum; q++){
for(unsigned int p=0; p<MatA.RowNum; p++){
MatA(p, q) = (MatA.ColNum)*p ... | #include <stdio.h>
#include <iostream>
#include "MatrixStore.hpp"
int main(){
class MatrixStore<double> MatA(3, 3); MatA.Zeros();
class MatrixStore<double> MatB(3, 3); MatB.Zeros();
for(unsigned int q=0; q<MatA.ColNum; q++){
for(unsigned int p=0; p<MatA.RowNum; p++){
MatA(p, q) = (MatA.ColNum)*p ... | Update main.cpp | Update main.cpp | C++ | mit | admiswalker/MatrixStore,admiswalker/MatrixStore |
335e4b9d52a978aa6a7a845a24b044ab0927c91e | paddle/fluid/framework/details/threaded_ssa_graph_executor.cc | paddle/fluid/framework/details/threaded_ssa_graph_executor.cc | // Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | // Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... | fix a dead lock bug | fix a dead lock bug
| C++ | apache-2.0 | chengduoZH/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle,jacquesqiao/Paddle,jacquesqiao/Paddle,baidu/Paddle,jacquesqiao/Paddle,reyoung/Paddle,jacquesqiao/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,QiJune/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,baidu/Paddle,tensor-tang/Paddle,PaddlePaddle/Paddle,rey... |
4196095975bb0778c7cf02d535f60ca80ba81620 | Maze/src/maze/proceduralmaze.cpp | Maze/src/maze/proceduralmaze.cpp | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <ctime>
#include "proceduralmaze.h"
ProceduralMaze::ProceduralMaze(int width, int height)
{
std::srand(std::time(NULL));
this->width = width % 2 == 0 ? width + 1 : width;
this->height = height % 2 == 0 ? height + 1 : height;
this->grid = std::m... | #include <algorithm>
#include <cstdlib>
#include <iostream>
#include <ctime>
#include "proceduralmaze.h"
ProceduralMaze::ProceduralMaze(int width, int height)
{
std::srand(std::time(NULL));
this->width = width % 2 == 0 ? width + 1 : width;
this->height = height % 2 == 0 ? height + 1 : height;
clearGrid();
}
voi... | add ProceDuralMaze::generateLight | add ProceDuralMaze::generateLight
| C++ | mit | gfceccon/Maze,gfceccon/Maze |
34b697cd04e7d645f8bf95d5c1a2dfeb623181f1 | src/mem/packet.hh | src/mem/packet.hh | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | Add in HasData, and move the define of NUM_MEM_CMDS to a more visible location. | Add in HasData, and move the define of NUM_MEM_CMDS to a more visible location.
--HG--
extra : convert_revision : 4379efe892ca0a39363ee04009e1bbb8c8f77afa
| C++ | bsd-3-clause | aclifton/cpeg853-gem5,SanchayanMaity/gem5,HwisooSo/gemV-update,powerjg/gem5-ci-test,Weil0ng/gem5,yb-kim/gemV,samueldotj/TeeRISC-Simulator,KuroeKurose/gem5,kaiyuanl/gem5,HwisooSo/gemV-update,austinharris/gem5-riscv,austinharris/gem5-riscv,gedare/gem5,TUD-OS/gem5-dtu,zlfben/gem5,gem5/gem5,aclifton/cpeg853-gem5,rallylee/g... |
d5482a6a30b6619699684f307039337a00d4f101 | src/core/kext/RemapFunc/common/DependingPressingPeriodKeyToKey.cpp | src/core/kext/RemapFunc/common/DependingPressingPeriodKeyToKey.cpp | #include <IOKit/IOLib.h>
#include "Config.hpp"
#include "DependingPressingPeriodKeyToKey.hpp"
#include "IOLogWrapper.hpp"
#include "KeyboardRepeat.hpp"
#include "RemapClass.hpp"
namespace org_pqrs_Karabiner {
namespace RemapFunc {
TimerWrapper DependingPressingPeriodKeyToKey::fire_timer_;
DependingPressingPeriodKeyTo... | #include <IOKit/IOLib.h>
#include "Config.hpp"
#include "DependingPressingPeriodKeyToKey.hpp"
#include "IOLogWrapper.hpp"
#include "KeyboardRepeat.hpp"
#include "RemapClass.hpp"
namespace org_pqrs_Karabiner {
namespace RemapFunc {
TimerWrapper DependingPressingPeriodKeyToKey::fire_timer_;
DependingPressingPeriodKeyTo... | call dokeydown in prepare | call dokeydown in prepare
| C++ | unlicense | wataash/Karabiner,wataash/Karabiner,astachurski/Karabiner,chzyer-dev/Karabiner,miaotaizi/Karabiner,tekezo/Karabiner,tekezo/Karabiner,wataash/Karabiner,muramasa64/Karabiner,tekezo/Karabiner,e-gaulue/Karabiner,chzyer-dev/Karabiner,e-gaulue/Karabiner,runarbu/Karabiner,muramasa64/Karabiner,chzyer-dev/Karabiner,astachurski/... |
58195db582aed858c58118b0d84d0a88ae1cf149 | irkick/irkick.cpp | irkick/irkick.cpp | /***************************************************************************
irkick.cpp - Implementation of the main window
-------------------
copyright : (C) 2002 by Gav Wood
email : gav@indigoarchive.net
**********************... | /***************************************************************************
irkick.cpp - Implementation of the main window
-------------------
copyright : (C) 2002 by Gav Wood
email : gav@indigoarchive.net
**********************... | Make the dialog EXACTLY like the klipper one | Make the dialog EXACTLY like the klipper one
svn path=/trunk/kdeutils/kdelirc/; revision=246193
| C++ | lgpl-2.1 | KDE/kremotecontrol,KDE/kremotecontrol,KDE/kremotecontrol |
1d814da24d62772afceca0b1a0def3e2b46b87f3 | Modules/Applications/AppClassification/app/otbZonalStatistics.cxx | Modules/Applications/AppClassification/app/otbZonalStatistics.cxx | /*
* Copyright (C) 2017 National Research Institute of Science and
* Technology for Environment and Agriculture (IRSTEA)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... | /*
* Copyright (C) 2017 National Research Institute of Science and
* Technology for Environment and Agriculture (IRSTEA)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compli... | remove shp from members | ENH: remove shp from members
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
fc8c7ab30b94888e6527553fe4d47a33fca124a8 | Modules/Numerics/Statistics/include/itkCovarianceSampleFilter.hxx | Modules/Numerics/Statistics/include/itkCovarianceSampleFilter.hxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... | Fix warnings in matrix division by scalar. | COMP: Fix warnings in matrix division by scalar.
At compilation time we were observing the following warning in Debian 7
with gcc 4.7:
itkFixedArray.h:197:82: warning: array subscript is above array bounds
A binary disection of the code lead to identifying the division by a scalar of
a VariableSizeMatrix as the culp... | C++ | apache-2.0 | Kitware/ITK,msmolens/ITK,BRAINSia/ITK,zachary-williamson/ITK,InsightSoftwareConsortium/ITK,thewtex/ITK,thewtex/ITK,fbudin69500/ITK,Kitware/ITK,zachary-williamson/ITK,eile/ITK,fbudin69500/ITK,hendradarwin/ITK,spinicist/ITK,blowekamp/ITK,LucasGandel/ITK,hjmjohnson/ITK,jmerkow/ITK,jcfr/ITK,biotrump/ITK,atsnyder/ITK,blowek... |
499c3c57d57c62de6f749ceb6362faa979c757c6 | examples/clients/TrackerState.cpp | examples/clients/TrackerState.cpp | /** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#include <osvr/Clie... | /** @file
@brief Implementation
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed under
// the Apache License, Version 2.0)
// Internal Includes
#include <osvr/Clie... | Update tracker state C++ example to use the C++ wrapper as much as possible. | Update tracker state C++ example to use the C++ wrapper as much as possible.
| C++ | apache-2.0 | leemichaelRazer/OSVR-Core,d235j/OSVR-Core,d235j/OSVR-Core,leemichaelRazer/OSVR-Core,godbyk/OSVR-Core,feilen/OSVR-Core,godbyk/OSVR-Core,Armada651/OSVR-Core,godbyk/OSVR-Core,feilen/OSVR-Core,OSVR/OSVR-Core,godbyk/OSVR-Core,OSVR/OSVR-Core,OSVR/OSVR-Core,d235j/OSVR-Core,godbyk/OSVR-Core,godbyk/OSVR-Core,leemichaelRazer/OSV... |
361bd613eb9bd46650d3ce8386e81931041b27a9 | sipXmediaLib/src/test/mp/MpMMTimerTest.cpp | sipXmediaLib/src/test/mp/MpMMTimerTest.cpp | //
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#include <cppunit/extensions/Hel... | //
// Copyright (C) 2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2007 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
#include <cppunit/extensions/Hel... | Update MMTimers unittest: * Separate checking of delta and mean values, because mean value may be calculated easier and more presice from raw data. * Increase number of test fires from 200 to 500 for better results. * Generate (N-1) deltas from raw data instead of (N/2) deltas. | Update MMTimers unittest:
* Separate checking of delta and mean values, because mean value may be calculated easier and more presice from raw data.
* Increase number of test fires from 200 to 500 for better results.
* Generate (N-1) deltas from raw data instead of (N/2) deltas.
git-svn-id: 5274dacc98e2a95d0b045267077... | C++ | lgpl-2.1 | sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror,sipXtapi/sipXtapi-svn-mirror |
54beb059264815955cb82d2100bdc2b0f62dd171 | src/nfs/Cache.cxx | src/nfs/Cache.cxx | /*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | /*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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 reta... | move Rubber before Cache to fix ordering problem | nfs/Cache: move Rubber before Cache to fix ordering problem
The Cache destructor must be called first to remove all items from
Rubber.
| C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
ab955ea7c7acafc0d7cc9b82ce274a0933d10140 | src/opencvros.cpp | src/opencvros.cpp | #include <ros/ros.h>
#include "std_msgs/Int32.h"
#include <sstream>
#include <geometry_msgs/Twist.h>
#include <stdlib.h>
#include <image_transport/image_transport.h>
#include <image_transport/subscriber_filter.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/LaserScan.h... | #include <ros/ros.h>
#include "std_msgs/Int32.h"
#include <sstream>
#include <geometry_msgs/Twist.h>
#include <stdlib.h>
#include <image_transport/image_transport.h>
#include <image_transport/subscriber_filter.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/LaserScan.h... | Update opencvros.cpp | Update opencvros.cpp | C++ | mit | yacob1010/ros |
8565c7f2a140769fdd237704ed93ee6a36c20d2e | liboh/plugins/manual_query/ManualObjectQueryProcessor.cpp | liboh/plugins/manual_query/ManualObjectQueryProcessor.cpp | // Copyright (c) 2011 Sirikata 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 "ManualObjectQueryProcessor.hpp"
#include <sirikata/core/network/IOStrandImpl.hpp>
#define QPLOG(lvl, msg) SILOG(manual-query-processor, lvl, ms... | // Copyright (c) 2011 Sirikata 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 "ManualObjectQueryProcessor.hpp"
#include <sirikata/core/network/IOStrandImpl.hpp>
#define QPLOG(lvl, msg) SILOG(manual-query-processor, lvl, ms... | Fix missing check on iterator in ManualObjectQueryProcessor. | Fix missing check on iterator in ManualObjectQueryProcessor.
| C++ | bsd-3-clause | sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata |
b60cf19fdddbb13380f9e167c1326df8365005c9 | Source/core/frame/ConsoleBase.cpp | Source/core/frame/ConsoleBase.cpp | /*
* Copyright (C) 2007 Apple 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | /*
* Copyright (C) 2007 Apple 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... | fix console.log() output in terminal | fix console.log() output in terminal
From: Roger <wenrui@gmail.com>
Conflicts:
Source/core/frame/ConsoleBase.cpp
| C++ | bsd-3-clause | modulexcite/blink,jtg-gg/blink,nwjs/blink,jtg-gg/blink,jtg-gg/blink,jtg-gg/blink,modulexcite/blink,jtg-gg/blink,modulexcite/blink,jtg-gg/blink,modulexcite/blink,nwjs/blink,nwjs/blink,modulexcite/blink,modulexcite/blink,modulexcite/blink,modulexcite/blink,modulexcite/blink,nwjs/blink,nwjs/blink,nwjs/blink,modulexcite/bl... |
5a24e07617200506d6d2f6fafea9ff18503f0fc6 | modules/phase_field/src/auxkernels/FeatureFloodCountAux.C | modules/phase_field/src/auxkernels/FeatureFloodCountAux.C | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | //* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgpl-2.1.html
#in... | Add some ghosting to FeatureFloodCount refs #12354 | Add some ghosting to FeatureFloodCount refs #12354
| C++ | lgpl-2.1 | SudiptaBiswas/moose,sapitts/moose,lindsayad/moose,milljm/moose,bwspenc/moose,harterj/moose,lindsayad/moose,dschwen/moose,laagesen/moose,dschwen/moose,jessecarterMOOSE/moose,milljm/moose,laagesen/moose,andrsd/moose,harterj/moose,SudiptaBiswas/moose,jessecarterMOOSE/moose,jessecarterMOOSE/moose,idaholab/moose,lindsayad/m... |
4fe15daac1e672155cfb9253e026939cf6db106d | Sample/LedFlashPulseLighting.cpp | Sample/LedFlashPulseLighting.cpp |
// G910_SAMPLE.cpp : Defines the class behaviors for the application.
//
#pragma comment(lib, "LogitechLEDLib.lib")
#include <stdio.h>
#include <stdlib.h>
#include "LogitechLEDLib.h"
#include <iostream>
#include "windows.h"
using namespace std;
int main()
{
LogiLedInit();
Sleep(500);
... |
// G910_SAMPLE.cpp : Defines the class behaviors for the application.
//
#pragma comment(lib, "LogitechLEDLib.lib")
#include <stdio.h>
#include <stdlib.h>
#include "LogitechLEDLib.h"
#include <iostream>
#include "windows.h"
using namespace std;
int main()
{
LogiLedInit();
Sleep(500);
... | Update LedFlashPulseLighting.cpp | Update LedFlashPulseLighting.cpp | C++ | mit | logihackdays/LGS_LED,logihackdays/LGS_LED,logihackdays/LGS_LED |
c3c0085e1ae3b848f2b3e434a7466d17b5e45d3d | grit_core/src/CollisionMesh.c++ | grit_core/src/CollisionMesh.c++ | /* Copyright (c) David Cunningham and the Grit Game Engine project 2010
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | /* Copyright (c) David Cunningham and the Grit Game Engine project 2010
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* t... | Adjust triangle edge info, doesn't help though | Adjust triangle edge info, doesn't help though
| C++ | mit | sparkprime/grit-engine,sparkprime/grit-engine,grit-engine/grit-engine,sparkprime/grit-engine,grit-engine/grit-engine,grit-engine/grit-engine,sparkprime/grit-engine,grit-engine/grit-engine |
1e16e6c53182500ec3d3d6d9057391fc125760ad | src/ntp-clock.cpp | src/ntp-clock.cpp | /**
* 24-hour NTP clock
* For use with a 4-digit 7-segment display and an ESP8266
* @copyright 2016 Christopher Hiller <boneskull@boneskull.com>
* @license MIT
*/
#include <ESP8266WiFi.h>
#include <NTPClient.h>
#include <Adafruit_LEDBackpack.h>
#define SSID "YOUR WIFI NETWORK"
#define PASS "AND ITS PASSWORD"
#de... | /**
* 24-hour NTP clock
* For use with a 4-digit 7-segment display and an ESP8266
* @copyright 2016 Christopher Hiller <boneskull@boneskull.com>
* @license MIT
*/
#include <ESP8266WiFi.h>
#include <NTPClient.h>
#include <Adafruit_LEDBackpack.h>
#define SSID "YOUR WIFI NETWORK"
#define PASS "AND ITS PASSWORD"
#de... | fix bug causing clock to not actually update | fix bug causing clock to not actually update
| C++ | mit | boneskull/ntp-clock |
4b98d0f3cab536dac1524b2c48a83fc3be3c5459 | remoting/protocol/pepper_stream_channel.cc | remoting/protocol/pepper_stream_channel.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 "remoting/protocol/pepper_stream_channel.h"
#include "base/bind.h"
#include "crypto/hmac.h"
#include "jingle/glue/utils.h"
#include "net/bas... | // 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 "remoting/protocol/pepper_stream_channel.h"
#include "base/bind.h"
#include "crypto/hmac.h"
#include "jingle/glue/utils.h"
#include "net/bas... | Remove old DCHECK from ~PepperStreamChannel(). | Remove old DCHECK from ~PepperStreamChannel().
Now channel_ can be owned by the ChannelAuthenticator, so the assumption
verified by this DCHECK is not valid anymore.
BUG=105214
Review URL: http://codereview.chromium.org/8989068
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@116105 0039d316-1c4b-4281-b951-d872... | C++ | bsd-3-clause | gavinp/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,adobe/chromiu... |
02a962207bca0c9719a5e28d10881ecb16a9ca9e | src/Gui/MDIView.cpp | src/Gui/MDIView.cpp | /***************************************************************************
* Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | /***************************************************************************
* Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | Fix possible crash when cleaning up MDI views | Fix possible crash when cleaning up MDI views
| C++ | lgpl-2.1 | usakhelo/FreeCAD,marcoitur/FreeCAD,YuanYouYuan/FreeCAD,Creworker/FreeCAD,marcoitur/FreeCAD,cpollard1001/FreeCAD_sf_master,wood-galaxy/FreeCAD,usakhelo/FreeCAD,bblacey/FreeCAD-MacOS-CI,marcoitur/Freecad_test,marcoitur/Freecad_test,usakhelo/FreeCAD,chrisjaquet/FreeCAD,elgambitero/FreeCAD_sf_master,cpollard1001/FreeCAD_sf... |
d13bcdb3a9f9b43010fe8cbb4efbfe7eec0b705b | src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp | src/mesa/drivers/dri/i965/brw_fs_peephole_predicated_break.cpp | /*
* Copyright © 2013 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | /*
* Copyright © 2013 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | Extend predicated break pass to predicate WHILE. | i965/fs: Extend predicated break pass to predicate WHILE.
Helps a handful of programs in Serious Sam 3 that use do-while loops.
instructions in affected programs: 16114 -> 16075 (-0.24%)
Reviewed-by: Ian Romanick <2b237cafb16dc45038e85df6c85e74e6d899eba9@intel.com>
| C++ | mit | bkaradzic/glsl-optimizer,tokyovigilante/glsl-optimizer,mcanthony/glsl-optimizer,benaadams/glsl-optimizer,jbarczak/glsl-optimizer,tokyovigilante/glsl-optimizer,djreep81/glsl-optimizer,zz85/glsl-optimizer,tokyovigilante/glsl-optimizer,jbarczak/glsl-optimizer,zz85/glsl-optimizer,zz85/glsl-optimizer,dellis1972/glsl-optimiz... |
ff6a8a6d579a76bfd6338ca8fbc12273af336d32 | src/nanoFramework.System.Collections/nf_system_collections.cpp | src/nanoFramework.System.Collections/nf_system_collections.cpp | #include "nf_system_collections.h"
static const CLR_RT_MethodHandler method_lookup[] =
{
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,... | #include "nf_system_collections.h"
static const CLR_RT_MethodHandler method_lookup[] =
{
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,... | Update declaration of System.Collections (#1594) | Update declaration of System.Collections (#1594)
| C++ | mit | nanoframework/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter,nanoframework/nf-interpreter |
3404edfcd59258dc1a218a8fe6c8331f5c365a8a | engine/utils/Log.cpp | engine/utils/Log.cpp | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#if defined(__APPLE__)
# include <TargetConditionals.h>
#endif
#if defined(__ANDROID__)
# include <android/log.h>
#elif TARGET_OS_IOS || TARGET_OS_TV
# include <sys/syslog.h>
#elif TARGET_OS_MAC || defined(__linux__)
# include <unistd.h>
#elif defined(... | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#if defined(__APPLE__)
# include <TargetConditionals.h>
#endif
#if defined(__ANDROID__)
# include <android/log.h>
#elif TARGET_OS_IOS || TARGET_OS_TV
# include <sys/syslog.h>
#elif TARGET_OS_MAC || defined(__linux__)
# include <unistd.h>
#elif defined(... | Fix logging on Windows | Fix logging on Windows
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
b24240187257d4cfda5ee5571726f4145ba2475c | opencog/embodiment/Control/MessagingSystem/SpawnerExecutable.cc | opencog/embodiment/Control/MessagingSystem/SpawnerExecutable.cc | /*
* opencog/embodiment/Control/MessagingSystem/SpawnerExecutable.cc
*
* Copyright (C) 2002-2009 Novamente LLC
* All Rights Reserved
* Author(s): Andre Senna
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published ... | /*
* opencog/embodiment/Control/MessagingSystem/SpawnerExecutable.cc
*
* Copyright (C) 2002-2009 Novamente LLC
* All Rights Reserved
* Author(s): Andre Senna
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published ... | Disable LearningServer which is not currently used | Disable LearningServer which is not currently used
That is just to avoid useless log in the ROUTER log file which is
already hard enouhg to comprehend.
| C++ | agpl-3.0 | kinoc/opencog,anitzkin/opencog,kinoc/opencog,AmeBel/atomspace,yantrabuddhi/opencog,ArvinPan/opencog,shujingke/opencog,virneo/opencog,kinoc/opencog,eddiemonroe/atomspace,tim777z/opencog,sumitsourabh/opencog,MarcosPividori/atomspace,Allend575/opencog,Allend575/opencog,Tiggels/opencog,rodsol/atomspace,rTreutlein/atomspace... |
ca31fcb4c315a2f22d8593add2a12ce38869b248 | tensorflow/compiler/xla/service/all_reduce_reassociate_test.cc | tensorflow/compiler/xla/service/all_reduce_reassociate_test.cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Delete unused `pass` | [NFC] Delete unused `pass`
PiperOrigin-RevId: 393383495
Change-Id: I5c956264d5c0909940bf97aabed01f53d38c2dd1
| C++ | apache-2.0 | tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,gautam1858/tensorflow... |
5ca0a403f6f573dbbfd20a1807bf70f64c7c9ab6 | tensorflow/compiler/xla/service/while_loop_constant_sinking.cc | tensorflow/compiler/xla/service/while_loop_constant_sinking.cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Address review comments | Address review comments
| C++ | apache-2.0 | Bismarrck/tensorflow,jendap/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,asimshankar/tensorflow,jbedorf/tensorflow,petewarden/tensorflow,ghchinoy/tensorflow,petewarden/tensorflow,renyi533/tensorflow,frreis... |
6aea4b20a9383586a9bf9d845b2bb6580a2e8aed | external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp | external/vulkancts/modules/vulkan/api/vktApiDeviceDrmPropertiesTests.cpp | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2021 NVIDIA, Inc.
* Copyright (c) 2021 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | /*-------------------------------------------------------------------------
* Vulkan Conformance Tests
* ------------------------
*
* Copyright (c) 2021 NVIDIA, Inc.
* Copyright (c) 2021 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | Fix FreeBSD build of VK_EXT_physical_device_drm tests | Fix FreeBSD build of VK_EXT_physical_device_drm tests
Linux defines the major() and minor() macros in
the sys/sysmacros.h header, but FreeBSD does not
have this header and instead defines them in
sys/types.h.
Components: Vulkan
Affects: dEQP-VK.api.device_drm_properties.*
Change-Id: I0bed149d24241e152437f530f5eb1377... | C++ | apache-2.0 | KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS |
bf269d67b3d1e8d88797022e4ea542f34c06df47 | paddle/platform/place.cc | paddle/platform/place.cc | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 applica... | /* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 applica... | fix place_test on MKLDNNPlace | fix place_test on MKLDNNPlace
| C++ | apache-2.0 | Canpio/Paddle,PaddlePaddle/Paddle,putcn/Paddle,jacquesqiao/Paddle,Canpio/Paddle,pkuyym/Paddle,jacquesqiao/Paddle,putcn/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,jacquesqiao/Paddle,pkuyym/Paddle,chengduoZH/Paddle,pkuyym/Paddle,putcn/Paddle,reyoung/Paddle,tensor-tang/Paddle,pkuyym/Paddle,reyoung/Paddle,lcy-seso/Paddle,QiJ... |
f0367a8826080fda393e313e58894130c6909b8a | slideshow/source/engine/animationnodes/animationcommandnode.cxx | slideshow/source/engine/animationnodes/animationcommandnode.cxx | /*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: animationcommandnode.cxx,v $
* $Revision: 1.9.1... | /*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: animationcommandnode.cxx,v $
* $Revision: 1.9.1... | integrate CWS cmcfixes54 2009-02-19 17:39:12 +0100 cmc r268301 : revert meant-to-be local-only changes in configure 2009-02-19 17:33:52 +0100 cmc r268300 : revert meant-to-be local-only change in readlicense_oo 2009-02-19 17:31:48 +0100 cmc r268299 : remove config_office dir from workspace, hopefully this doesn't screw... | CWS-TOOLING: integrate CWS cmcfixes54
2009-02-19 17:39:12 +0100 cmc r268301 : revert meant-to-be local-only changes in configure
2009-02-19 17:33:52 +0100 cmc r268300 : revert meant-to-be local-only change in readlicense_oo
2009-02-19 17:31:48 +0100 cmc r268299 : remove config_office dir from workspace, hopefully th... | C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
4a8d62eb9b4bd523fefc5c6ab3bb3195f07d7df2 | source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp | source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp | //===-- SwiftREPLMaterializer.cpp -------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | //===-- SwiftREPLMaterializer.cpp -------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | Fix a problem with new symbol mangling in the repl. | Fix a problem with new symbol mangling in the repl.
It's not sufficient to grep for the "lldb_result" variable in a mangled name,
because in the new mangling scheme parts of the name may be substituted.
Instead the name has to be de-mangled.
| C++ | apache-2.0 | apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,apple/swift-lldb |
254866bf00d10b9d81fed228f4a1cc2833bacbaa | src/BabylonImGui/src/babylon_imgui/run_scene_with_inspector.cpp | src/BabylonImGui/src/babylon_imgui/run_scene_with_inspector.cpp | #include <imgui_utils/icons_font_awesome_5.h>
#include <babylon/babylon_imgui/run_scene_with_inspector.h>
#include <babylon/babylon_imgui/babylon_logs_window.h>
#include <imgui_utils/app_runner/imgui_runner.h>
#include <babylon/GL/framebuffer_canvas.h>
#include <babylon/core/filesystem.h>
#include <babylon/core/system.... | #include <imgui_utils/icons_font_awesome_5.h>
#include <babylon/babylon_imgui/run_scene_with_inspector.h>
#include <babylon/babylon_imgui/babylon_logs_window.h>
#include <imgui_utils/app_runner/imgui_runner.h>
#include <babylon/GL/framebuffer_canvas.h>
#include <babylon/core/filesystem.h>
#include <babylon/core/system.... | add "Run" button in the sandbox tab | run_scene_with_inspector: add "Run" button in the sandbox tab
| C++ | apache-2.0 | samdauwe/BabylonCpp,samdauwe/BabylonCpp,samdauwe/BabylonCpp,samdauwe/BabylonCpp |
465f4c69ac34a592b2d6526e44b6248a183dd257 | Library/Sources/Stroika/Foundation/DataExchange/7z/ArchiveReader.cpp | Library/Sources/Stroika/Foundation/DataExchange/7z/ArchiveReader.cpp | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "../../StroikaPreComp.h"
#include "../../Characters/Format.h"
#include "../../Execution/Finally.h"
#include "../../Streams/iostream/InputStreamFromStdIStream.h"
#include "ArchiveReader.h"
#if qHasFeature_LZMA... | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "../../StroikaPreComp.h"
#include "../../Characters/Format.h"
#include "../../Execution/Finally.h"
#include "../../Streams/iostream/InputStreamFromStdIStream.h"
#include "ArchiveReader.h"
#if qHasFeature_LZMA... | tweak DataExchange/7z/ArchiveReader | tweak DataExchange/7z/ArchiveReader
| C++ | mit | SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika |
ec8b7ed57f45cf972b5d6d6435db7d8d22751620 | src/opencvros.cpp | src/opencvros.cpp | #include <ros/ros.h>
#include "std_msgs/Int32.h"
#include <sstream>
#include <geometry_msgs/Twist.h>
#include <stdlib.h>
#include <image_transport/image_transport.h>
#include <image_transport/subscriber_filter.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/LaserScan.h... | #include <ros/ros.h>
#include "std_msgs/Int32.h"
#include <sstream>
#include <geometry_msgs/Twist.h>
#include <stdlib.h>
#include <image_transport/image_transport.h>
#include <image_transport/subscriber_filter.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <sensor_msgs/LaserScan.h... | Update opencvros.cpp | Update opencvros.cpp | C++ | mit | yacob1010/ros |
b3d76c3426d65bfca4ca700d0c9be38b01ee5c17 | gui/qtgsi/src/TQApplication.cxx | gui/qtgsi/src/TQApplication.cxx | // @(#)root/qtgsi:$Id$
// Author: Denis Bertini, M. Al-Turany 01/11/2000
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | // @(#)root/qtgsi:$Id$
// Author: Denis Bertini, M. Al-Turany 01/11/2000
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | Fix uninitialized variable (coverity) | Fix uninitialized variable (coverity)
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@38438 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | root-mirror/root,gbitzes/root,thomaskeck/root,root-mirror/root,buuck/root,gganis/root,omazapa/root,smarinac/root,sbinet/cxx-root,ffurano/root5,veprbl/root,jrtomps/root,gganis/root,esakellari/my_root_for_test,mkret2/root,esakellari/root,esakellari/my_root_for_test,esakellari/root,cxx-hep/root-cern,root-mirror/root,jrtom... |
b6e505dd9b7bfe8c89c393de6c070c2db0c9b190 | src/MCJITHelper.hpp | src/MCJITHelper.hpp | #ifndef MCJITHELPER_HPP
#define MCJITHELPER_HPP
#include <string>
#include <vector>
#include <memory>
#include <llvm/Analysis/Passes.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/LegacyPassManager.h>
#include <llvm/Transforms/Scalar.h>
#include <llvm/E... | #ifndef MCJITHELPER_HPP
#define MCJITHELPER_HPP
#include <string>
#include <vector>
#include <memory>
#include <llvm/Analysis/Passes.h>
#include <llvm/IR/LLVMContext.h>
#include <llvm/IR/Module.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/LegacyPassManager.h>
#include <llvm/Transforms/Scalar.h>
#include <llvm/E... | fix for LLVM 3.7 | fix for LLVM 3.7
| C++ | bsd-3-clause | ytakano/tsukuyomi,ytakano/tsukuyomi |
9fdf16201e1332f1c02c5592c54ad5c9c3440427 | roofit/roostats/src/SequentialProposal.cxx | roofit/roostats/src/SequentialProposal.cxx | // @(#)root/roostats:$Id$
// Authors: Giovanni Petrucciani 4/21/2011
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | // @(#)root/roostats:$Id$
// Authors: Giovanni Petrucciani 4/21/2011
/*************************************************************************
* Copyright (C) 1995-2008, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | fix a compilation warning | fix a compilation warning
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@39005 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | root-mirror/root,jrtomps/root,buuck/root,CristinaCristescu/root,esakellari/my_root_for_test,tc3t/qoot,ffurano/root5,omazapa/root,thomaskeck/root,ffurano/root5,georgtroska/root,strykejern/TTreeReader,abhinavmoudgil95/root,georgtroska/root,sawenzel/root,tc3t/qoot,kirbyherm/root-r-tools,mkret2/root,sirinath/root,tc3t/qoot... |
fca52a2d5bc438099d7fe49ce01a33782d2acd4a | examples/graphics/lights.cpp | examples/graphics/lights.cpp | /*
Allocore Example: Lighting
Description:
This example demonstrates how to use lighting within a scene.
Author:
Lance Putnam, 12/2010 (putnam.lance at gmail dot com)
*/
#include "allocore/al_Allocore.hpp"
using namespace al;
struct MyWindow : Window{
MyWindow(){
phase = 0.5;
surface.primitive(Graphics::T... | /*
Allocore Example: Lighting
Description:
This example demonstrates how to use lighting within a scene.
Author:
Lance Putnam, 12/2010 (putnam.lance at gmail dot com)
*/
#include "allocore/al_Allocore.hpp"
using namespace al;
struct MyWindow : Window{
MyWindow(){
phase = 0.5;
surface.primitive(Graphics::T... | fix light example mesh | fix light example mesh
| C++ | bsd-3-clause | AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem |
3d724c00606b6d98f7d7ed4a1b4ce78293746177 | src/interpolated-path.cc | src/interpolated-path.cc | // Copyright (c) 2015, Joseph Mirabel
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// 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 versio... | // Copyright (c) 2015, Joseph Mirabel
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// 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 versio... | Fix bug in InterpolatedPath::impl_derivative | Fix bug in InterpolatedPath::impl_derivative
| C++ | bsd-2-clause | humanoid-path-planner/hpp-core |
fb31d22b5fd6d7f516758d68b8b0fae0f5a7629e | src/sail/game.cpp | src/sail/game.cpp | /*
* Copyright (C) 2015 Luke San Antonio
* All rights reserved.
*/
#include "game.h"
#include <thread>
#include "../common/log.h"
#include "../net/protocol.h"
#include "../tasks/render.h"
namespace redc { namespace sail
{
po::options_description command_options_desc() noexcept
{
po::options_description gener... | /*
* Copyright (C) 2015 Luke San Antonio
* All rights reserved.
*/
#include "game.h"
#include <thread>
#include "../common/log.h"
#include "../net/protocol.h"
#include "../tasks/render.h"
#include <boost/program_options.hpp>
#include <boost/program_options/parsers.hpp>
namespace redc { namespace sail
{
po::options... | Add field of view config option! | Add field of view config option!
| C++ | bsd-3-clause | RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine,RedCraneStudio/redcrane-engine |
4a8f63fcd263c649534d121e25430675b6cb701a | src/SegmentBase.hpp | src/SegmentBase.hpp | #ifndef CPPJIEBA_SEGMENTBASE_H
#define CPPJIEBA_SEGMENTBASE_H
#include "TransCode.hpp"
#include "Limonp/Logger.hpp"
#include "Limonp/InitOnOff.hpp"
#include "ISegment.hpp"
#include <cassert>
namespace CppJieba
{
using namespace Limonp;
//const char* const SPECIAL_CHARS = " \t\n";
#ifndef CPPJIEBA_GBK
co... | #ifndef CPPJIEBA_SEGMENTBASE_H
#define CPPJIEBA_SEGMENTBASE_H
#include "TransCode.hpp"
#include "Limonp/Logger.hpp"
#include "Limonp/InitOnOff.hpp"
#include "Limonp/NonCopyable.hpp"
#include "ISegment.hpp"
#include <cassert>
namespace CppJieba
{
using namespace Limonp;
//const char* const SPECIAL_CHARS = " ... | make segments NonCopyable | make segments NonCopyable
| C++ | mit | fortranlee/cppjieba,songinfo/cppjieba,fortranlee/cppjieba,songinfo/cppjieba,fortranlee/cppjieba,songinfo/cppjieba |
c7bb83e1d06176100eb759507d670fc1321799ac | src/Bull/Core/Hardware/Unix/CPUImpl.hpp | src/Bull/Core/Hardware/Unix/CPUImpl.hpp | #ifndef BULL_CORE_HARDWARE_CPU_HPP
#define BULL_CORE_HARDWARE_CPU_HPP
#include <Bull/Core/Hardware/CPU.hpp>
namespace Bull
{
namespace prv
{
struct CPUImpl
{
/*! \brief Get the number of CPU
*
* \return Return the number of CPU
*
... | #ifndef BULL_CORE_HARDWARE_CPUIMPL_HPP
#define BULL_CORE_HARDWARE_CPUIMPL_HPP
#include <Bull/Core/Hardware/CPU.hpp>
namespace Bull
{
namespace prv
{
struct CPUImpl
{
/*! \brief Get the number of CPU
*
* \return Return the number of CPU
*
... | Fix build on Linux | [Core/CPU] Fix build on Linux
| C++ | mit | siliace/Bull |
b32e2bd548964c6349bc299f2d9f68b8253a3aa6 | benchmarks/pt_mcomponentdata/pt_mcomponentdata.cpp | benchmarks/pt_mcomponentdata/pt_mcomponentdata.cpp | /***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of this ... | /***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of libmeegotouch.
**
** If you have questions regarding the use of this ... | Fix coverity issue 90 | Changes: Fix coverity issue 90
RevBy: Mike
| C++ | lgpl-2.1 | nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch,nemomobile-graveyard/libmeegotouch |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.