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 |
|---|---|---|---|---|---|---|---|---|---|
922a68de8e960172c5d9433696acb63ed3f97a0a | source/syscalls/syscallsStubs.cpp | source/syscalls/syscallsStubs.cpp | /**
* \file
* \brief Stub system calls for newlib's libc
*
* \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* 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 t... | /**
* \file
* \brief Stub system calls for newlib's libc
*
* \author Copyright (C) 2014-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* 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 w... | Fix weak stub of _sbrk_r() | Fix weak stub of _sbrk_r()
When LTO is enabled a "warning: '_sbrk_r' violates the C++ One
Definition Rule [-Wodr]" is generated, because the weak stub returns
"caddr_t", while the real implementation - "void*". Use "void*" in both
places, which is also consistent with the type used internally by
newlib. | C++ | mpl-2.0 | DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,DISTORTEC/distortos |
73dc9b7c2f52165983d3bb645eebc610df0d0afd | libraries/types/AbiSerializer.cpp | libraries/types/AbiSerializer.cpp | #include <eos/types/AbiSerializer.hpp>
#include <fc/io/raw.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/depth_first_search.hpp>
using namespace boost;
namespace eos { namespace types {
using boost::algorithm::ends_with;
using std::vector;
... | #include <eos/types/AbiSerializer.hpp>
#include <fc/io/raw.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/depth_first_search.hpp>
using namespace boost;
namespace eos { namespace types {
using boost::algorithm::ends_with;
using std::vector;
... | remove log | remove log
| C++ | mit | EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos |
0eb36a2509b048d26a1dfc28bd93edeb39b6281b | src/environment.hh | src/environment.hh | /*
Freebox QtCreator plugin for QML application development.
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.... | /*
Freebox QtCreator plugin for QML application development.
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 missing overrides | add missing overrides
| C++ | lgpl-2.1 | fbx/freebox-qtcreator-plugin,fbx/freebox-qtcreator-plugin |
d965ad66dbf391aae420fb96c7570a9d9cb9bf98 | libs/obs/src/carmen_log_tools.cpp | libs/obs/src/carmen_log_tools.cpp | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | fix one more bug parsing carmen logs | fix one more bug parsing carmen logs
| C++ | bsd-3-clause | MRPT/mrpt,MRPT/mrpt,MRPT/mrpt,MRPT/mrpt,MRPT/mrpt |
a6eab69aeeeab775d57b6813c177dda9a0e437ed | tests/unit/geom/Geometry/touchesTest.cpp | tests/unit/geom/Geometry/touchesTest.cpp | //
// Test Suite for Geometry's touches() functions
// tut
#include <tut.hpp>
// geos
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <geos/io/WKTReader.h>
#include <geos/io/WKBReader.h>
// std
#include <sstream>
#include <memory>
namespace tut {
//
// Test Group
//
... | //
// Test Suite for Geometry's touches() functions
// tut
#include <tut.hpp>
// geos
#include <geos/geom/GeometryFactory.h>
#include <geos/geom/Geometry.h>
#include <geos/io/WKTReader.h>
#include <geos/io/WKBReader.h>
// std
#include <sstream>
#include <memory>
namespace tut {
//
// Test Group
//
... | Adjust test comment | Adjust test comment
git-svn-id: 6c2b1bd10c324c49ea9d9e6e31006a80e70507cb@4376 5242fede-7e19-0410-aef8-94bd7d2200fb
| C++ | lgpl-2.1 | libgeos/libgeos,libgeos/libgeos,strk/libgeos,mwtoews/libgeos,mwtoews/libgeos,libgeos/libgeos,strk/libgeos,mwtoews/libgeos,mwtoews/libgeos,libgeos/libgeos,mwtoews/libgeos,mwtoews/libgeos,mwtoews/libgeos,strk/libgeos,libgeos/libgeos,strk/libgeos,strk/libgeos |
dc50d6bfb89f7341c93de216fc19aa12da0059b7 | include/alpaka/mem/buf/Traits.hpp | include/alpaka/mem/buf/Traits.hpp | /* Copyright 2019 Alexander Matthes, Benjamin Worpitz
*
* 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
#includ... | /* Copyright 2019 Alexander Matthes, Benjamin Worpitz
*
* 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
#includ... | Add missing doxygen for TIdx parameter of mem::buf::alloc | Add missing doxygen for TIdx parameter of mem::buf::alloc
| C++ | mpl-2.0 | BenjaminW3/alpaka,BenjaminW3/alpaka |
8463ba6b5917886700e2382a90de321b11891954 | include/commonpp/core/Options.hpp | include/commonpp/core/Options.hpp | /*
* File: include/commonpp/core/Options.hpp
* Part of commonpp.
*
* Distributed under the 2-clause BSD licence (See LICENCE.TXT file at the
* project root).
*
* Copyright (c) 2016 Thomas Sanchez. All rights reserved.
*
*/
#pragma once
#include <iosfwd>
#include <type_traits>
#include <commonpp/core/Utils.h... | /*
* File: include/commonpp/core/Options.hpp
* Part of commonpp.
*
* Distributed under the 2-clause BSD licence (See LICENCE.TXT file at the
* project root).
*
* Copyright (c) 2016 Thomas Sanchez. All rights reserved.
*
*/
#pragma once
#include <iosfwd>
#include <type_traits>
#include <commonpp/core/Utils.h... | add some useful member functions in Options | core: add some useful member functions in Options
| C++ | bsd-2-clause | daedric/commonpp,daedric/commonpp |
5c3fb11e2df67bfe5e301c3d5acaa3adeeaac591 | include/huffman/wx_huff_naive.hpp | include/huffman/wx_huff_naive.hpp | /*******************************************************************************
* include/huffman/wx_huff_naive.hpp
*
* Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
*********************************************... | /*******************************************************************************
* include/huffman/wx_huff_naive.hpp
*
* Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
*********************************************... | Fix counting of zeros on last level huff_naive WM | Fix counting of zeros on last level huff_naive WM
| C++ | bsd-2-clause | kurpicz/pwm,kurpicz/pwm,kurpicz/pwm |
e55b20addaa95c9fea29dea8e7cfd40ca4c167fe | include/internal/iutest_debug.hpp | include/internal/iutest_debug.hpp | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_debug.hpp
* @brief iris unit test debug 用定義 ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2019, Ta... | //======================================================================
//-----------------------------------------------------------------------
/**
* @file iutest_debug.hpp
* @brief iris unit test debug 用定義 ファイル
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2011-2020, Ta... | fix cpplint | fix cpplint
| C++ | bsd-3-clause | srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest,srz-zumix/iutest |
00de7f872950e38e284c3a35ef89bd3a925350ff | Filters/Core/Testing/Cxx/TestDelaunay2DFindTriangle.cxx | Filters/Core/Testing/Cxx/TestDelaunay2DFindTriangle.cxx | /*=========================================================================
Program: Visualization Toolkit
Module: TestDelaunay2D_FindTriangle.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... | /*=========================================================================
Program: Visualization Toolkit
Module: TestDelaunay2D_FindTriangle.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Th... | Add newline at end of file to silence warning. | Add newline at end of file to silence warning.
| C++ | bsd-3-clause | keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,sumedhasingla/VTK,keithroe/vtkoptix,sumedhasingla/VTK,SimVascular/VTK,sumedhasingla/VTK,sumedhasingla/VTK,keithroe/vtkoptix,SimVascular/VTK,keithroe/vtkoptix,keithroe/vtkoptix,sumedhasingla/VTK,SimVascular/VTK,SimVascular/VTK,sumedhasingla/VTK,SimVascular/VTK,sumedhas... |
bed299b54c4b93858973ffd48a969f5ba5733f8c | dfa.cpp | dfa.cpp | #include "dfa.h"
#include <vector>
#include <utility>
#include <memory>
#include <queue>
#include <numeric>
#include <algorithm>
DFA::DFA(const NFA& nfa)
{
using state_closure_pair = std::pair<State*, eps_closure_type>;
states.push_back(std::make_unique<State>());
auto q0 = nfa.eps_closure(nfa.start_state());
au... | #include "dfa.h"
#include <vector>
#include <utility>
#include <memory>
#include <queue>
#include <numeric>
#include <algorithm>
DFA::DFA(const NFA& nfa)
{
using state_closure_pair = std::pair<State*, eps_closure_type>;
states.push_back(std::make_unique<State>());
auto q0 = nfa.eps_closure(nfa.start_state());
au... | Use overloaded == operator to compare vectors | Use overloaded == operator to compare vectors
| C++ | mit | ghallak/lexical-analyzer |
bc48a024e1237735e10c8ce1239cd8e08e2f1c56 | dht.cpp | dht.cpp | #include <boost/foreach.hpp>
#include <event.h>
#include "libcage/src/cage.hpp"
#include "ipc.h"
extern "C" {
#include "safe_assert.h"
}
#ifndef MAX
#define MAX(a,b) a>b ? a : b
#endif
static int sock;
static void
dht_on_joined(bool res) {
int len;
struct ipc_message msg = {};
msg.type = JOINED;
msg.joined.re... | #include <boost/foreach.hpp>
#include <event.h>
#include "libcage/src/cage.hpp"
#include "ipc.h"
extern "C" {
#include "safe_assert.h"
}
#ifndef MAX
#define MAX(a,b) a>b ? a : b
#endif
static int sock;
static void
dht_on_joined(bool res) {
int len;
struct ipc_message msg = {};
msg.type = JOINED;
msg.joined.re... | Introduce constructor for dht_get_callback | Introduce constructor for dht_get_callback
| C++ | bsd-3-clause | manuels/lunadht,manuels/lunadht,manuels/lunadht |
5a6e8c2435c40c5e5a677383a32de4668f14450f | loader/src/etl_image.cpp | loader/src/etl_image.cpp | #include "etl_image.hpp"
using namespace std;
using namespace nervana;
void image::params::dump(ostream & ostr)
{
ostr << "Angle: " << setw(3) << angle << " ";
ostr << "Flip: " << flip << " ";
ostr << "Lighting: ";
for_each (lighting.begin(), lighting.end(), [&ostr](float &l) {ostr << l << " ";});
... | #include "etl_image.hpp"
using namespace std;
using namespace nervana;
void image::params::dump(ostream & ostr)
{
ostr << "Angle: " << setw(3) << angle << " ";
ostr << "Flip: " << flip << " ";
ostr << "Lighting: ";
for_each (lighting.begin(), lighting.end(), [&ostr](float &l) {ostr << l << " ";});
... | add support in image::loader for multiple images | add support in image::loader for multiple images
| C++ | apache-2.0 | NervanaSystems/aeon,NervanaSystems/aeon,NervanaSystems/aeon,NervanaSystems/aeon |
c8eefebef629e0c5a87e2230fbd255cca98cc8b6 | stoc/source/bootstrap/services.cxx | stoc/source/bootstrap/services.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 ... | Use prefixed getFactory and no canUnload on iOS | Use prefixed getFactory and no canUnload on iOS
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
066158e5c1384b23067c79a7144e25e3eecbc0da | src/AssimpWorker/model/Folder.cpp | src/AssimpWorker/model/Folder.cpp | /*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
#include <atlas/model/Folder.hpp>
#i... | /*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
#include <atlas/model/Folder.hpp>
#i... | Fix memory leak: clean-up blobs that do not end up within the blobholder | Fix memory leak: clean-up blobs that do not end up within the blobholder
| C++ | apache-2.0 | dfki-asr/atlas-worker,dfki-asr/atlas-worker |
f134dc096006b055bf0d4835e6dd6788dce912c6 | src/BatchEncoderWorkerContext.cpp | src/BatchEncoderWorkerContext.cpp | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "StdAfx.h"
#include "BatchEncoder.h"
#include "BatchEncoderWorkerContext.h"
void CBatchEncoderWorkerContext::Init()
{
this->timer.Start();
pDlg... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "StdAfx.h"
#include "BatchEncoder.h"
#include "utilities\Utilities.h"
#include "BatchEncoderWorkerContext.h"
void CBatchEncoderWorkerContext::Init()
{
... | Update BatchEncoderWorkerContext.cpp | Update BatchEncoderWorkerContext.cpp | C++ | mit | wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder,wieslawsoltes/BatchEncoder |
dea5f1db77d0c5bd04d9706bccf2f29594adc4e0 | basics/session.hpp | basics/session.hpp | #ifndef SESSION_HPP_
#define SESSION_HPP_
#include <iostream>
class Session {
public:
static Session* GetNewSession() {
if (session) {
Session * tmp = session;
session = NULL;
delete tmp;
}
session = new Session();
return session;
}
static Session* GetSession() {
if (!sessio... | #ifndef SESSION_HPP_
#define SESSION_HPP_
#include <iostream>
class Session {
public:
static Session* GetNewSession() {
if (session) {
Session * tmp = session;
session = NULL;
delete tmp;
}
session = new Session();
return session;
}
static Session* GetSession() {
if (!sessio... | add batch-size to session | add batch-size to session
| C++ | mit | stormmax/Teaism,stormmax/Teaism,stormmax/Teaism,stormmax/Teaism |
906d52117f5dedeac3b74a4b23cf97f6462bcfcc | src/qtquick/PeruseConfig.cpp | src/qtquick/PeruseConfig.cpp | /*
* Copyright (C) 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
*
* 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) versio... | /*
* Copyright (C) 2016 Dan Leinir Turthra Jensen <admin@leinir.dk>
*
* 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) versio... | Use the new KNSCore config location bits | Use the new KNSCore config location bits
| C++ | lgpl-2.1 | KDE/peruse,KDE/peruse,KDE/peruse |
2a7addcfa6059ea8d75bd15f7da359bd80811112 | src/Interface/Application/Note.cc | src/Interface/Application/Note.cc | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person o... | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
License for the specific language governing rights and limitations under
Permission is hereby granted, free of charge, to any person o... | Fix notes in Qt5 | Fix notes in Qt5
| C++ | mit | jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,moritzdannhauer/SCIRunGUIPrototype,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIPrototype,jessdtate/SCIRun,jessdtate/SCIRun,jessdtate/SCIRun,moritzdannhauer/SCIRunGUIP... |
b7888ccd27f86aa601fc95c04ac4c0512ec88f93 | src/realm/util/terminate.cpp | src/realm/util/terminate.cpp | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | /*************************************************************************
*
* Copyright 2016 Realm Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... | Update terminate.cpp | Update terminate.cpp | C++ | apache-2.0 | realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core |
8dea059b1cad5e94da604f9ba91d14468172f106 | chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc | chrome/browser/ui/views/ash/balloon_collection_impl_ash.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/ash/balloon_collection_impl_ash.h"
#include "ash/ash_switches.h"
#include "ash/shell.h"
#include "ash/system/status... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/ash/balloon_collection_impl_ash.h"
#include "ash/ash_switches.h"
#include "ash/shell.h"
#include "ash/system/status... | Remove notifications when clicked on | Ash: Remove notifications when clicked on
BUG=144546
TEST=Ensure that clicking on a notification still invokes any associated action. Notification should be removed regardless of whether it is a popup or in the tray.
Review URL: https://chromiumcodereview.appspot.com/10870051
git-svn-id: de016e52bd170d2d4f2344f9b... | C++ | bsd-3-clause | nacl-webkit/chrome_deps,ondra-novak/chromium.src,ltilve/chromium,mogoweb/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,jaruba/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk-efl,ltilve/chromium,M4sse/chromium.src,zcbenz/cefode-chromium,hgl8... |
d8074674c0abd64b1ca5016f54cc4957f0fe0c2a | chrome/browser/views/tab_contents/tab_contents_drag_win.cc | chrome/browser/views/tab_contents/tab_contents_drag_win.cc | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/views/tab_contents/tab_contents_drag_win.h"
#include <windows.h>
#include <string>
#include "base/file_path.h"
#include "b... | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/views/tab_contents/tab_contents_drag_win.h"
#include <windows.h>
#include <string>
#include "base/file_path.h"
#include "b... | Fix drag data population on Windows so URL data doesn't take precedence over text. | Fix drag data population on Windows so URL data doesn't take precedence over text.
BUG=59229
TEST=Manual test using test case attached to bug 59229.
Review URL: http://codereview.chromium.org/3818005
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@62803 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | yitian134/chromium,yitian134/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/... |
aed9ac164252be8f97561bb0d145775388a4b6d5 | main/src/hadd.cxx | main/src/hadd.cxx | /*
This program will add histograms (see note) and Trees from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
or
hadd -f targetfile source1 source2 .... | /*
This program will add histograms (see note) and Trees from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
or
hadd -f targetfile source1 source2 .... | Make the verbosity level optional after -v | Make the verbosity level optional after -v
| C++ | lgpl-2.1 | krafczyk/root,olifre/root,Y--/root,satyarth934/root,omazapa/root,georgtroska/root,beniz/root,abhinavmoudgil95/root,root-mirror/root,agarciamontoro/root,evgeny-boger/root,gbitzes/root,lgiommi/root,mkret2/root,davidlt/root,buuck/root,davidlt/root,satyarth934/root,jrtomps/root,krafczyk/root,gganis/root,gganis/root,root-mi... |
eb780ae5d46bfba2909d0cdf4b51f636944f7689 | main/src/hadd.cxx | main/src/hadd.cxx | /*
This program will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
if the source files contains histograms and Trees, one can skip
t... | /*
This program will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
or
hadd -f targetfile source1 source2 ...
... | Extend functionality of hadd. The new version can store in the result file histograms or Trees that are not found in the first file but are present in any other file. For example assume 3 files f1, f2, f3 containing histograms hn and Trees Tn f1 with h1 h2 h3 T1 f2 with h1 h4 T1 T2 f3 with h5 the result of hadd -f x.ro... | Extend functionality of hadd. The new version can store in the result file
histograms or Trees that are not found in the first file but are present
in any other file.
For example assume 3 files f1, f2, f3 containing histograms hn and Trees Tn
f1 with h1 h2 h3 T1
f2 with h1 h4 T1 T2
f3 with h5
the resul... | C++ | lgpl-2.1 | mkret2/root,sirinath/root,jrtomps/root,tc3t/qoot,root-mirror/root,karies/root,satyarth934/root,gganis/root,BerserkerTroll/root,jrtomps/root,krafczyk/root,zzxuanyuan/root-compressor-dummy,Dr15Jones/root,zzxuanyuan/root,omazapa/root,sbinet/cxx-root,krafczyk/root,agarciamontoro/root,beniz/root,Y--/root,olifre/root,pspe/ro... |
14a4677c66504a79b499a0f08985d28788c7d7e7 | envcontext_processor.cpp | envcontext_processor.cpp | #include "stdafx.h"
#include "envcontext_processor.h"
#include "EnVistasGeometryPlugin.h"
#include <Maplayer.h>
#include "SHP3D.h"
#include <cstring>
#include <thread>
using std::string;
using std::thread;
static const string shp3dRegisterName("vip_core_shpviewer");
#ifdef _DEBUG
static const string shp3dPath("E:/Vau... | #include "stdafx.h"
#include "envcontext_processor.h"
#include "EnVistasGeometryPlugin.h"
#include <Maplayer.h>
#include "SHP3D.h"
#include <cstring>
#include <thread>
#include "SHP3DVizPlugin.h"
using std::string;
using std::thread;
static const string shp3dRegisterName("vip_core_shpviewer");
#ifdef _DEBUG
static co... | include new vizplugin header after vistas reorganization. | include new vizplugin header after vistas reorganization.
| C++ | apache-2.0 | ratanasv/EnVistas |
43387c81de38e3cdcafa703b53191b9d1a8b77d5 | test/gtx/gtx_fast_trigonometry.cpp | test/gtx/gtx_fast_trigonometry.cpp | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2013-10-25
// Updated : 20... | ///////////////////////////////////////////////////////////////////////////////////////////////////
// OpenGL Mathematics Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
///////////////////////////////////////////////////////////////////////////////////////////////////
// Created : 2013-10-25
// Updated : 20... | test perf fastAcos | test perf fastAcos
| C++ | mit | hrehfeld/glm,hrehfeld/glm |
8f69a98eb31ddfae2a79b9f107c837b4bb8fbbe5 | test/integration-test/UserTest.cpp | test/integration-test/UserTest.cpp | #include "AuthenticatedClient.h"
#include <gmock/gmock.h>
#include <memory>
using namespace Instagram;
using namespace testing;
TEST(UserTest, findsUserById)
{
ClientPtr client = CreateClient("d7b1086490044ada88da482a87b073f3");
UserPtr user = client->findUserById("1479058533");
EXPECT_THAT(user->getId... | #include "AuthenticatedClient.h"
#include <gmock/gmock.h>
#include <memory>
using namespace Instagram;
using namespace testing;
TEST(UserTest, findsUserById)
{
ClientPtr client = CreateClient("d7b1086490044ada88da482a87b073f3");
UserPtr user = client->findUserById("1479058533");
EXPECT_THAT(user->getId... | Call MediaData::download in integration test | Call MediaData::download in integration test
| C++ | mit | gumb0/cpp-instagram,gumb0/cpp-instagram |
b6eab3de31d29be9ef7e2cae31ee11ec4f5e576e | xchainer/check_backward_test.cc | xchainer/check_backward_test.cc | #include "xchainer/numerical_gradient.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 <nonstd/optional.hpp>
#include "xchainer/array.h"
#include "xchainer/check_backward.h"
#include... | #include "xchainer/numerical_gradient.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 <nonstd/optional.hpp>
#include "xchainer/array.h"
#include "xchainer/check_backward.h"
#include... | Add tests for CheckDoubleBackpropOption | Add tests for CheckDoubleBackpropOption
| C++ | mit | ktnyt/chainer,hvy/chainer,jnishi/chainer,okuta/chainer,wkentaro/chainer,jnishi/chainer,chainer/chainer,pfnet/chainer,keisuke-umezawa/chainer,jnishi/chainer,keisuke-umezawa/chainer,wkentaro/chainer,okuta/chainer,wkentaro/chainer,niboshi/chainer,okuta/chainer,hvy/chainer,okuta/chainer,wkentaro/chainer,ktnyt/chainer,nibos... |
a740e35eb0fc96b28246932ec6be39f008ac1077 | xchainer/check_backward_test.cc | xchainer/check_backward_test.cc | #include "xchainer/gradient_check.h"
#include <algorithm>
#include <memory>
#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/op_node.h"
#include "xchainer/shape.h"
namespace xchainer {
names... | #include "xchainer/gradient_check.h"
#include <algorithm>
#include <memory>
#include <tuple>
#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/op_node.h"
#include "xchainer/shape.h"
namespace... | Change testing::tuple to std::tuple | Change testing::tuple to std::tuple
| C++ | mit | wkentaro/chainer,wkentaro/chainer,jnishi/chainer,hvy/chainer,niboshi/chainer,okuta/chainer,ktnyt/chainer,okuta/chainer,ktnyt/chainer,hvy/chainer,pfnet/chainer,chainer/chainer,jnishi/chainer,keisuke-umezawa/chainer,hvy/chainer,ktnyt/chainer,keisuke-umezawa/chainer,wkentaro/chainer,keisuke-umezawa/chainer,niboshi/chainer... |
b9e6762c3f862788da2dd9b6f5529105d64f6277 | test/test_dont_print_log_value.cpp | test/test_dont_print_log_value.cpp | // (C) Copyright Marek Kurdej 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version : $Rev... | // (C) Copyright Marek Kurdej 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
//! @file
//! BOOST_TEST_DONT_PRINT_LOG_VALUE unit te... | test case for the BOOST_TEST_DONT_PRINT_LOG_VALUE for contexts | test case for the BOOST_TEST_DONT_PRINT_LOG_VALUE for contexts
| C++ | mit | nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme,nihildeb/hme |
c03e0c83670b1a7334a7165990c5a3744d77e692 | src/mex_wrapper.cc | src/mex_wrapper.cc | #include <vector>
#include <string>
#include <set>
#include <math.h>
#include <matrix.h>
#include <mex.h>
#include "mex_helper.h"
#include "emd_flow.h"
#include "emd_flow_network_factory.h"
using namespace std;
void output_function(const char* s) {
mexPrintf(s);
mexEvalString("drawnow;");
}
void mexFunction(in... | #include <vector>
#include <string>
#include <set>
#include <math.h>
#include <matrix.h>
#include <mex.h>
#include "mex_helper.h"
#include "emd_flow.h"
#include "emd_flow_network_factory.h"
using namespace std;
void output_function(const char* s) {
mexPrintf(s);
mexEvalString("drawnow;");
}
void mexFunction(in... | add outdegree_vertical_distance option to mex wrapper | add outdegree_vertical_distance option to mex wrapper
| C++ | mit | ludwigschmidt/emd_flow,samvrit/emd_flow,ludwigschmidt/emd_flow |
cbbbfdcbaf5ff53eb4da8f0dbe8ca82dc94a6ca8 | src/models/api.cpp | src/models/api.cpp | #include "source.h"
#include "site.h"
#include "functions.h"
Api::Api(QString name, QMap<QString, QString> data)
: m_name(name), m_data(data)
{
QString sr = m_name;
if (m_data.contains("Urls/"+sr+"/Tags"))
m_data["Urls/Tags"] = m_data["Urls/"+sr+"/Tags"];
if (m_data.contains("Urls/"+sr+"/Home"))
m_data["Urls... | #include "source.h"
#include "site.h"
#include "functions.h"
Api::Api(QString name, QMap<QString, QString> data)
: m_name(name), m_data(data)
{
QString sr = m_name;
if (m_data.contains("Urls/"+sr+"/Tags"))
m_data["Urls/Tags"] = m_data["Urls/"+sr+"/Tags"];
if (m_data.contains("Urls/"+sr+"/Home"))
m_data["Urls... | Fix coverage for Api class | Fix coverage for Api class
| C++ | apache-2.0 | YoukaiCat/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,YoukaiCat/imgbrd-grabber,Bionus/imgbrd-grabber |
1e2b1c9fc4b76f8803b85a713b808292eb3e8bf1 | src/condor_c++_util/stat_info.cpp | src/condor_c++_util/stat_info.cpp | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | /***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... | Set file size to be intialized to 0 in stat_info.cpp to avoid returning an uninitialized value. #1621 | Set file size to be intialized to 0 in stat_info.cpp to avoid returning an uninitialized value. #1621
| C++ | apache-2.0 | djw8605/condor,zhangzhehust/htcondor,djw8605/htcondor,djw8605/htcondor,zhangzhehust/htcondor,mambelli/osg-bosco-marco,mambelli/osg-bosco-marco,bbockelm/condor-network-accounting,djw8605/htcondor,clalancette/condor-dcloud,clalancette/condor-dcloud,neurodebian/htcondor,htcondor/htcondor,djw8605/condor,djw8605/htcondor,ma... |
e7f01cc9754c572b4ccef324cea5758b2ca0eb8d | src/core/kext/util/FlagStatus.cpp | src/core/kext/util/FlagStatus.cpp | #include "FlagStatus.hpp"
namespace org_pqrs_KeyRemap4MacBook {
FlagStatus::Item FlagStatus::item_[FlagStatus::MAXNUM];
void
FlagStatus::Item::initialize(const ModifierFlag& f)
{
flag_ = f;
count_ = 0;
temporary_count_ = 0;
lock_count_ = 0;
original_lock_count_ = 0;
}
void
FlagStatu... | #include "FlagStatus.hpp"
namespace org_pqrs_KeyRemap4MacBook {
FlagStatus::Item FlagStatus::item_[FlagStatus::MAXNUM];
void
FlagStatus::Item::initialize(const ModifierFlag& f)
{
flag_ = f;
count_ = 0;
temporary_count_ = 0;
lock_count_ = 0;
original_lock_count_ = 0;
}
void
FlagStatu... | apply uncrustify | apply uncrustify
| C++ | unlicense | muramasa64/Karabiner,muramasa64/Karabiner,miaotaizi/Karabiner,e-gaulue/Karabiner,miaotaizi/Karabiner,wataash/Karabiner,chzyer-dev/Karabiner,muramasa64/Karabiner,miaotaizi/Karabiner,e-gaulue/Karabiner,e-gaulue/Karabiner,wataash/Karabiner,muramasa64/Karabiner,runarbu/Karabiner,tekezo/Karabiner,wataash/Karabiner,runarbu/K... |
b9fd8e40736b69c6ad1d8ed4bd066e4b84474424 | examples/hello-world.cxx | examples/hello-world.cxx | /* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2014
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as pub... | /* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2014
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as pub... | Improve code documentation | Improve code documentation
| C++ | lgpl-2.1 | raffaellod/lofty,raffaellod/lofty |
50e454278188d16807f2e2539354ef1e8d07cabc | examples/json_classes.hh | examples/json_classes.hh | // Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_EXAMPLES_JSON_CLASSES_HH
#define PEGTL_EXAMPLES_JSON_CLASSES_HH
#include <map>
#include <string>
#include <vector>
#include <memory>
#include <iostream>
namespace exam... | // Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_EXAMPLES_JSON_CLASSES_HH
#define PEGTL_EXAMPLES_JSON_CLASSES_HH
#include <map>
#include <string>
#include <vector>
#include <memory>
#include <iostream>
namespace exam... | Fix JSON string escape. | Fix JSON string escape.
| C++ | mit | ColinH/PEGTL,nlyan/PEGTL,ColinH/PEGTL,kneth/PEGTL,kneth/PEGTL |
c54aed8aaaa063c68a9979b1598b50d1e475aa67 | sash/libedit_backend.hpp | sash/libedit_backend.hpp | /******************************************************************************
* ____ ______ ____ __ __ *
* /\ _`\ /\ _ \ /\ _`\ /\ \/\ \ *
* \ \,\L\_\\ \ \L\ \\ \,\L\_\\ \ \_\ \ *
... | /******************************************************************************
* ____ ______ ____ __ __ *
* /\ _`\ /\ _ \ /\ _`\ /\ \/\ \ *
* \ \,\L\_\\ \ \L\ \\ \,\L\_\\ \ \_\ \ *
... | Fix VI-Mode when scrolling trough history | Fix VI-Mode when scrolling trough history
| C++ | bsd-3-clause | Neverlord/sash |
b2191d0467eaee992eff48646c40a01d1e405597 | rmidevice/rmidevice.cpp | rmidevice/rmidevice.cpp | /*
* Copyright (C) 2014 Andrew Duggan
* Copyright (C) 2014 Synaptics Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | /*
* Copyright (C) 2014 Andrew Duggan
* Copyright (C) 2014 Synaptics Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... | Check return value of Read(), Write() | rmidevice: Check return value of Read(), Write()
Addresses security concern:
All users of Read and Write fail to check for return value being equal
to desired write size (only look for <0, not a size >= 0 but less than
expected). This can lead to all kinds of corruption or overflows.
| C++ | apache-2.0 | aduggan/rmi4utils,aduggan/rmi4utils |
12d072a4a933a33350fb73dbb6fe99c7e8aab98c | src/prioritydb.cpp | src/prioritydb.cpp | #include "prioritydb.h"
#include <functional>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <sqlite3.h>
class PriorityDB::Impl {
public:
Impl(const unsigned long long& max_size, const std::string& path)
: max_size_{max_size}, table_path_{path}, ta... | #include "prioritydb.h"
#include <functional>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <sqlite3.h>
class PriorityDB::Impl {
public:
Impl(const unsigned long long& max_size, const std::string& path)
: max_size_{max_size}, table_path_{path}, ta... | Clear out in-memory messages in the db in case of a dirty exit | Clear out in-memory messages in the db in case of a dirty exit
| C++ | mit | prismskylabs/PriorityBuffer |
da22738ba1dbb33db3f6eb0f5fbc01d759f12ef6 | formats/ico.cpp | formats/ico.cpp | #include "ico.h"
#include <algorithm>
#include <iostream>
#include <vector>
#include "../lib/zopflipng/lodepng/lodepng.h"
#include "bmp.h"
#include "png.h"
using std::cout;
using std::cerr;
using std::endl;
using std::vector;
const uint8_t Ico::header_magic[] = { 0x00, 0x00, 0x01, 0x00 };
namespace
{
struct Icon... | #include "ico.h"
#include <algorithm>
#include <iostream>
#include <vector>
#include "../lib/zopflipng/lodepng/lodepng.h"
#include "bmp.h"
#include "png.h"
using std::cout;
using std::cerr;
using std::endl;
using std::vector;
const uint8_t Ico::header_magic[] = { 0x00, 0x00, 0x01, 0x00 };
namespace
{
struct Icon... | fix header if moved | ICO: fix header if moved
| C++ | mit | JayXon/Leanify,yyjdelete/Leanify,JayXon/Leanify,yyjdelete/Leanify |
4303278424261091dde0121212f14f67a6add16a | modules/notes.cpp | modules/notes.cpp | /*
* Copyright (C) 2004-2011 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "Chan.h"
#include "HTTPSock.h"
#include "Server.h"
... | /*
* Copyright (C) 2004-2011 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "Chan.h"
#include "HTTPSock.h"
#include "Server.h"
... | Add a option to the notes module so that you can prevent it from sending you notes when you connect | Add a option to the notes module so that you can prevent it from sending you notes when you connect
| C++ | apache-2.0 | psychon/znc,badloop/znc,TuffLuck/znc,Adam-/znc,Adam-/znc,ollie27/znc,jantman/znc,Hasimir/znc,badloop/znc,markusj/znc,Kriechi/znc,BtbN/znc,jpnurmi/znc,Mikaela/znc,anthonyryan1/znc,Mkaysi/znc,psychon/znc,Zarthus/znc,DarthGandalf/znc,anthonyryan1/znc,trisk/znc,withinsoft/znc,znc/znc,reedloden/znc,reedloden/znc,Mikaela/znc... |
2c68ab3cded74c9e584d05bbadd9a6f912ae2bb5 | net-rcf/include/RCFClientImpl.hpp | net-rcf/include/RCFClientImpl.hpp | /* Copyright(C)
* For free
* All right reserved
*
*/
/**
* @file RCFClientImpl.h
* @brief RCF客户端通信框架实现类
* @author highway-9, 787280310@qq.com
* @version 1.1.0
* @date 2016-01-04
*/
#ifndef _RCFCLIENTIMPL_H
#define _RCFCLIENTIMPL_H
#include <RCF/RCF.hpp>
#include <iostream>
#include <boost/shared_ptr.hpp>
/**
* @bri... | /* Copyright(C)
* For free
* All right reserved
*
*/
/**
* @file RCFClientImpl.h
* @brief RCF客户端通信框架实现类
* @author highway-9, 787280310@qq.com
* @version 1.1.0
* @date 2016-01-04
*/
#ifndef _RCFCLIENTIMPL_H
#define _RCFCLIENTIMPL_H
#include <RCF/RCF.hpp>
#include <iostream>
#include <boost/shared_ptr.hpp>
/**
* @bri... | Update net-rcf | Update net-rcf
| C++ | mit | chxuan/easyrpc,chxuan/easyrpc,chxuan/easyrpc,chxuan/easyrpc |
b2e8c08ded3d3f18171b6bf8abef1375d8d90ef4 | net/spdy/spdy_session_unittest.cc | net/spdy/spdy_session_unittest.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 "net/spdy/spdy_io_buffer.h"
#include "googleurl/src/gurl.h"
#include "net/base/mock_host_resolver.h"
#include "net/base/ssl_config_service_d... | // 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 "net/spdy/spdy_io_buffer.h"
#include "googleurl/src/gurl.h"
#include "net/base/mock_host_resolver.h"
#include "net/base/ssl_config_service_d... | Remove hex frames from spdy_session_unittest.cc | Remove hex frames from spdy_session_unittest.cc
BUG=None
TEST=net_unittests pass
Review URL: http://codereview.chromium.org/2896004
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@52118 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,adobe/chr... |
7e4eb476e67b2e29c96a80e228c81b623ce3befc | media/webrtc/webrtcmediaengine.cc | media/webrtc/webrtcmediaengine.cc | /*
* libjingle
* Copyright 2014 Google Inc.
*
* 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 conditions and the fo... | /*
* libjingle
* Copyright 2014 Google Inc.
*
* 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 conditions and the fo... | Add field-trial flag to disable WebRtcVideoEngine2. | Add field-trial flag to disable WebRtcVideoEngine2.
BUG=chromium:475164
R=stefan@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/45059004
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#8957}
Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc
Cr-Mirrored-Commit: ... | C++ | bsd-3-clause | sippet/talk,sippet/talk,sippet/talk,sippet/talk,sippet/talk |
ca468021d9d5f0fbba4ace5de03840a1497776aa | src/search/SearchHandler.cpp | src/search/SearchHandler.cpp | /* SearchHandler.cpp
*
* Kubo Ryosuke
*/
#include "search/SearchHandler.hpp"
#include "search/Searcher.hpp"
#include "logger/Logger.hpp"
#include <iomanip>
namespace sunfish {
void LoggingSearchHandler::onStart(const Searcher&) {
}
void LoggingSearchHandler::onUpdatePV(const Searcher& searcher, const PV& pv, fl... | /* SearchHandler.cpp
*
* Kubo Ryosuke
*/
#include "search/SearchHandler.hpp"
#include "search/Searcher.hpp"
#include "logger/Logger.hpp"
#include <iomanip>
namespace sunfish {
void LoggingSearchHandler::onStart(const Searcher&) {
}
void LoggingSearchHandler::onUpdatePV(const Searcher& searcher, const PV& pv, fl... | Fix LoggingSearchHandler | Fix LoggingSearchHandler
| C++ | mit | sunfish-shogi/sunfish4,sunfish-shogi/sunfish4,sunfish-shogi/sunfish4,sunfish-shogi/sunfish4 |
3650d5ddd64e077695cf23533592e8d145fe5720 | src/datasource_cache.cpp | src/datasource_cache.cpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as ... | fix scope issue in previous commit | fix scope issue in previous commit
git-svn-id: 5adfda8227e14e59fd47d5bd9925a30df16fed74@1182 d397654b-2ff0-0310-9e29-ba003691a0f9
| C++ | lgpl-2.1 | craigds/mapnik2,craigds/mapnik2,makinacorpus/mapnik2,makinacorpus/mapnik2,makinacorpus/mapnik2,craigds/mapnik2,makinacorpus/mapnik2,craigds/mapnik2 |
f49ec8023fbe7f42bf94eb6970f89331f79fb822 | max-points-on-a-line.cpp | max-points-on-a-line.cpp | class Solution {
public:
int maxPoints(vector<Point> &points) {
int maxCount = 0;
for(int i = 0; i != points.size(); ++i){
for(int j = 0; j < i; ++j){
int count = 0;
for(int k = 0; k != points.size(); ++k){
... | class Solution {
public:
int maxPoints(vector<Point> &points) {
int maxCount = 0;
if(points.size() == 0) return maxCount;
for(int i = 0; i != points.size(); ++i){
int count = 0, n = 0;
unordered_map<double, int> umap;
for(in... | add a O(n^2*lgn) solution, accepted | add a O(n^2*lgn) solution, accepted
| C++ | mit | mengjiaowang/leetcode |
c6cd57b9ed176597f0aac08ee6d21438187695e8 | tests/openssl_async_echo_server.cc | tests/openssl_async_echo_server.cc | //
// openssl_async_echo_server.cc
//
// clang++ -std=c++11 openssl_async_echo_server.cc -lcrypto -lssl -o openssl_async_echo_server
//
// * example of non-blocking TLS
// * probably leaks
// * tested with boringssl
//
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/poll.h>
#include <sys/t... | //
// openssl_async_echo_server.cc
//
// clang++ -std=c++11 openssl_async_echo_server.cc -lcrypto -lssl -o openssl_async_echo_server
//
// * example of non-blocking TLS
// * probably leaks
// * tested with boringssl
//
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/poll.h>
#include <sys/t... | remove unused label | remove unused label
| C++ | isc | metaparadigm/latypus,metaparadigm/latypus,metaparadigm/latypus,metaparadigm/latypus |
3369910b5a9884e687cf1e46a87be6c65c31812d | q3/qs/src/ui/theme.cpp | q3/qs/src/ui/theme.cpp | /*
* $Id$
*
* Copyright(C) 1998-2004 Satoshi Nakamura
* All rights reserved.
*
*/
#ifndef _WIN32_WCE
#include <qstheme.h>
#include <uxtheme.h>
using namespace qs;
/****************************************************************************
*
* ThemeImpl
*
*/
struct qs::ThemeImpl... | /*
* $Id$
*
* Copyright(C) 1998-2004 Satoshi Nakamura
* All rights reserved.
*
*/
#ifndef _WIN32_WCE
#include <qstheme.h>
#include <tchar.h>
#include <uxtheme.h>
using namespace qs;
/****************************************************************************
*
* ThemeImpl
*
*/
... | Fix for ANSI version. | Fix for ANSI version.
git-svn-id: 12ae5aeef08fd453d75833463da4cc20df82a94e@816 8af8166b-12a6-a448-a533-9086ace3f9f6
| C++ | mit | snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3,snakamura/q3 |
b34655ae0527dd112024e8ec9729e3fefa12f901 | modules/map/hdmap/adapter/xml_parser/signals_xml_parser.cc | modules/map/hdmap/adapter/xml_parser/signals_xml_parser.cc | /* Copyright 2017 The Apollo Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | /* Copyright 2017 The Apollo Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | Fix bug in xml parser (#3090) | Fix bug in xml parser (#3090)
Signed-off-by: Yu Ding <bbc4a47fc781bb8f99dfb4fb5f43e7caf4c7d90d@baidu.com> | C++ | apache-2.0 | startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo,startcode/apollo |
134af6b6d2639033b32e23cecc651f26466e584c | src/gpu/vk/GrVkUniformHandler.cpp | src/gpu/vk/GrVkUniformHandler.cpp | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrVkUniformHandler.h"
#include "glsl/GrGLSLProgramBuilder.h"
// To determine whether a current offset is aligned, we can just 'and' the lowest bits with the
// alignment... | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrVkUniformHandler.h"
#include "glsl/GrGLSLProgramBuilder.h"
// To determine whether a current offset is aligned, we can just 'and' the lowest bits with the
// alignment... | Fix Vk build breakage due to new GrSLType | Fix Vk build breakage due to new GrSLType
R=egdaniel@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1881033002
Review URL: https://codereview.chromium.org/1881033002
| C++ | bsd-3-clause | aosp-mirror/platform_external_skia,HalCanary/skia-hc,rubenvb/skia,Hikari-no-Tenshi/android_external_skia,tmpvar/skia.cc,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,tmpvar/skia.cc,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,HalCanary/skia-hc,rubenvb/sk... |
8113d2ce2b342d815ba8e5a6396619386067fd12 | src/http/HttpOutputCompressor.cpp | src/http/HttpOutputCompressor.cpp | #include <xzero/http/HttpOutputCompressor.h>
#include <xzero/http/HttpOutputFilter.h>
#include <xzero/http/HttpOutput.h>
#include <xzero/http/HttpRequest.h>
#include <xzero/http/HttpResponse.h>
#include <xzero/Tokenizer.h>
#include <xzero/Buffer.h>
#include <algorithm>
#include <system_error>
#include <stdexcept>
#incl... | #include <xzero/http/HttpOutputCompressor.h>
#include <xzero/http/HttpOutputFilter.h>
#include <xzero/http/HttpOutput.h>
#include <xzero/http/HttpRequest.h>
#include <xzero/http/HttpResponse.h>
#include <xzero/Tokenizer.h>
#include <xzero/Buffer.h>
#include <algorithm>
#include <system_error>
#include <stdexcept>
#incl... | add application/javascript to mimetype-list to be compressed by default | HttpOutputCompressor: add application/javascript to mimetype-list to be compressed by default
| C++ | agpl-3.0 | eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql |
b543ac2a167f019262c052c1b838593b44a35c58 | tests/src/device_usbspeed_test.cpp | tests/src/device_usbspeed_test.cpp | #define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
// std
#include <atomic>
#include <iostream>
// Include depthai library
#include <depthai/depthai.hpp>
void makeInfo(dai::Pipeline& p) {
auto info = p.create<dai::node::SystemLogger>();
auto xo = p.create<dai::node::XLinkOut>();
xo->setStreamName("sys... | #define CATCH_CONFIG_MAIN
#include <catch2/catch.hpp>
// std
#include <atomic>
#include <chrono>
#include <iostream>
// Include depthai library
#include <depthai/depthai.hpp>
void makeInfo(dai::Pipeline& p) {
auto xo = p.create<dai::node::XLinkOut>();
xo->setStreamName("sysinfo");
auto info = p.create<da... | strengthen test for device construct+q+frame | strengthen test for device construct+q+frame
| C++ | mit | luxonis/depthai-core,luxonis/depthai-core,luxonis/depthai-core |
212ec72a6cb7324d2335d0ee45d1f9f5c7511e8f | src/image_annotator/mainwindow.cc | src/image_annotator/mainwindow.cc | #include <algorithm>
#include <QFileDialog>
#include <QMessageBox>
#include "fish_annotator/common/species_dialog.h"
#include "fish_annotator/image_annotator/mainwindow.h"
#include "ui_mainwindow.h"
namespace fish_annotator { namespace image_annotator {
namespace fs = boost::filesystem;
namespace { //anonymous
st... | #include <algorithm>
#include <QFileDialog>
#include <QMessageBox>
#include "fish_annotator/common/species_dialog.h"
#include "fish_annotator/image_annotator/mainwindow.h"
#include "ui_mainwindow.h"
namespace fish_annotator { namespace image_annotator {
namespace fs = boost::filesystem;
namespace { //anonymous
st... | Fix issue with updating counts, set current ID to latest added | Fix issue with updating counts, set current ID to latest added
| C++ | mit | BGWoodward/FishDetector |
f0f3dedb2e5941942765575a0eca610bad295ea5 | src/rpcz/worker.cc | src/rpcz/worker.cc | // Copyright 2011 Google Inc. All Rights Reserved.
// Copyright 2015 Jin Qing.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
/... | // Copyright 2011 Google Inc. All Rights Reserved.
// Copyright 2015 Jin Qing.
//
// 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
//
/... | read rpc header | read rpc header
| C++ | apache-2.0 | jinq0123/rpcz,malexzx/rpcz,malexzx/rpcz,malexzx/rpcz,jinq0123/rpcz |
938cedbc62c2e77f815908c329f12152dac10265 | src/run_tagger.cpp | src/run_tagger.cpp | // This file is part of MorphoDiTa.
//
// Copyright 2013 by Institute of Formal and Applied Linguistics, Faculty of
// Mathematics and Physics, Charles University in Prague, Czech Republic.
//
// MorphoDiTa is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public Li... | // This file is part of MorphoDiTa.
//
// Copyright 2013 by Institute of Formal and Applied Linguistics, Faculty of
// Mathematics and Physics, Charles University in Prague, Czech Republic.
//
// MorphoDiTa is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public Li... | Fix wrong argument count check. | Fix wrong argument count check.
| C++ | mpl-2.0 | ufal/morphodita,ufal/morphodita,ufal/morphodita,ufal/morphodita,ufal/morphodita,ufal/morphodita,ufal/morphodita,ufal/morphodita |
2c0460a5c9d15739d36ea800ed4d9614a299f7da | AlembicImporterPlugin/AlembicImporter.cpp | AlembicImporterPlugin/AlembicImporter.cpp | #include "pch.h"
#include "AlembicImporter.h"
#include "aiContext.h"
#include "aiObject.h"
#include "Schema/aiSchema.h"
#include "Schema/aiXForm.h"
#include "Schema/aiPolyMesh.h"
#include "Schema/aiCamera.h"
#include "aiLogger.h"
#ifdef aiWindows
#include <windows.h>
# define aiBreak() DebugBreak(... | #include "pch.h"
#include "AlembicImporter.h"
#include "aiContext.h"
#include "aiObject.h"
#include "Schema/aiSchema.h"
#include "Schema/aiXForm.h"
#include "Schema/aiPolyMesh.h"
#include "Schema/aiCamera.h"
#include "aiLogger.h"
#ifdef aiWindows
#include <windows.h>
# define aiBreak() DebugBreak(... | add missing 'aiSetConfig' function | add missing 'aiSetConfig' function
| C++ | mit | unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter,unity3d-jp/AlembicImporter |
b9c254a6d47cee43040617dfd45e47ac43701bdd | src/serializer.cpp | src/serializer.cpp | /* This file is part of qjson
*
* Copyright (C) 2009 Till Adam <adam@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at yo... | /* This file is part of qjson
*
* Copyright (C) 2009 Till Adam <adam@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at yo... | make it static | make it static
git-svn-id: ec8dad496322030ce832d387f43d3d061c430ff7@1008734 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
| C++ | lgpl-2.1 | drizt/qjson,drizt/qjson,cbranch/qjson-qmakefriendly,gentlefn/qjson,coolshou/qjson,gentlefn/qjson,coolshou/qjson,qlands/qjson,seem-sky/qjson,cbranch/qjson-qmakefriendly,flavio/qjson,seem-sky/qjson,flavio/qjson,qlands/qjson |
d67babe256d8115ee524d2621df8904f36332936 | src/graph/list_graph.hpp | src/graph/list_graph.hpp | #pragma once
#include <algorithm>
#include <map>
#include <set>
#include "graphi.hpp"
template <bool Dir, typename V, typename E>
class ListGraph : public GraphI<V, E> {
public:
ListGraph() : vertex_num_(0), vertices_(), edges_() {}
virtual ~ListGraph() = default;
virtual int add_vertex(const Vertex<V> &... | #pragma once
#include <algorithm>
#include <map>
#include <set>
#include "graphi.hpp"
template <bool Dir, typename V, typename E>
class ListGraph : public GraphI<V, E> {
public:
ListGraph() : vertex_num_(0), vertices_(), neighbours_(), edges_() {}
virtual ~ListGraph() = default;
virtual int add_vertex(co... | Store edges in graph | Store edges in graph
| C++ | mit | sfod/simple-graph |
c46fbc7fc9b89f4c043e25c5814a915ff5fa2030 | pano.cpp | pano.cpp | /*
* Pano engine
*
* Copyright (C)2016 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* A copy of this license has been included with this distribution in the file LICENSE.
*/
#include "pano.h"
Pano::Pano(Motor& horiz_motor, Motor& vert_motor, Camera& camera, int motors_... | /*
* Pano engine
*
* Copyright (C)2016 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* A copy of this license has been included with this distribution in the file LICENSE.
*/
#include "pano.h"
Pano::Pano(Motor& horiz_motor, Motor& vert_motor, Camera& camera, int motors_... | Remove logging statement. | Remove logging statement. | C++ | mit | laurb9/pano-controller,laurb9/pano-controller,laurb9/gigapanplus,laurb9/gigapanplus |
7b2f938954180e8945f776d3e202f6a2bda1aaf9 | third_party/subzero/src/IceRNG.cpp | third_party/subzero/src/IceRNG.cpp | //===- subzero/src/IceRNG.cpp - PRNG implementation -----------------------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | //===- subzero/src/IceRNG.cpp - PRNG implementation -----------------------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | Fix implicit inexact conversion | Fix implicit inexact conversion
Clang 10's -Wimplicit-int-float-conversion complains that
MAX = 2147483647 cannot be exactly represented as a float.
Use an explicit conversion to suppress the warning locally. Note that
this value's usage to produce a random boolean doesn't critically depend
on exact conversion.
Bug:... | C++ | apache-2.0 | bkaradzic/SwiftShader,google/swiftshader,google/swiftshader,google/swiftshader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,bkaradzic/SwiftShader,bkaradzic/SwiftShader |
022f3224d3da885c6cf25b845d0dc0477b633cee | tools/memory_watcher/call_stack.cc | tools/memory_watcher/call_stack.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 "tools/memory_watcher/call_stack.h"
#include <shlwapi.h>
#include <tlhelp32.h>
#include "base/string_number_conversions.h"
#include "tools/... | // 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 "tools/memory_watcher/call_stack.h"
#include <shlwapi.h>
#include <tlhelp32.h>
#include "base/string_number_conversions.h"
#include "tools/... | Fix typo in build fix. | Fix typo in build fix.
TEST=it compiles
BUG=none
Review URL: http://codereview.chromium.org/6346011
git-svn-id: http://src.chromium.org/svn/trunk/src@72112 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
Former-commit-id: 0fb2d73110002a7cd70d00ecdcb19ef183bab386 | C++ | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u... |
8c529521fc83b48a58667d7619690d5ca4b58847 | src/libaten/material/material.cpp | src/libaten/material/material.cpp | #include <atomic>
#include "material/material.h"
#include "light/light.h"
#include "material/sample_texture.h"
namespace AT_NAME
{
static const char* g_mtrlTypeNames[] = {
"emissive",
"lambert",
"ornenayar",
"specular",
"refraction",
"blinn",
"ggx",
"... | #include <atomic>
#include "material/material.h"
#include "light/light.h"
#include "material/sample_texture.h"
namespace AT_NAME
{
static const char* g_mtrlTypeNames[] = {
"emissive",
"lambert",
"ornenayar",
"specular",
"refraction",
"blinn",
"ggx",
"... | Fix character code | Fix character code
| C++ | mit | nakdai/aten,nakdai/aten |
cb65ecb0801c3b26d3877fc7748033a45a4bf3e6 | firmware/ros_arduino.cpp | firmware/ros_arduino.cpp | #include <string.h>
#include <ros.h>
#include <std_msgs/String.h>
#include <joystick/PwmRequests.h>
#include <uranus_dp/ThrusterForces.h>
#include "ForceToPwmLookup.h"
//incleder for IMU og trykksensor
#include "MPU6050/MPU6050.h"
#include "MS5803_14BA.h"
#include <Wire.h>
#include <ros_arduino/SensorRaw.h>
#inclu... | #include <string.h>
#include <ros.h>
#include <std_msgs/String.h>
#include <joystick/PwmRequests.h>
#include <uranus_dp/ThrusterForces.h>
#include "ForceToPwmLookup.h"
//incleder for IMU og trykksensor
#include "MPU6050/MPU6050.h"
#include "MS5803_14BA.h"
#include <Wire.h>
#include <ros_arduino/SensorRaw.h>
#inclu... | Change control input topic name to snake_case | Change control input topic name to snake_case
| C++ | mit | vortexntnu/rov-control,vortexntnu/rov-control,vortexntnu/rov-control |
94b0be96c219c7354963375389491215feba430c | src/libusb/AFU420PropertyImpl.cpp | src/libusb/AFU420PropertyImpl.cpp |
#include "AFU420PropertyImpl.h"
#include "../logging.h"
#include "AFU420DeviceBackend.h"
namespace tcam::property
{
AFU420PropertyIntegerImpl::AFU420PropertyIntegerImpl(
const std::string& name,
tcam_value_int i,
tcam::afu420::AFU420Property id,
std::shared_ptr<tcam::property::AFU420DeviceBackend> c... |
#include "AFU420PropertyImpl.h"
#include "../logging.h"
#include "AFU420DeviceBackend.h"
namespace tcam::property
{
AFU420PropertyIntegerImpl::AFU420PropertyIntegerImpl(
const std::string& name,
tcam_value_int i,
tcam::afu420::AFU420Property id,
std::shared_ptr<tcam::property::AFU420DeviceBackend> c... | Add static information to AFU420 properties | libusb: Add static information to AFU420 properties
| C++ | apache-2.0 | TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera |
e83260103f1208173ad6de7325dffcd400a8a8f6 | Applications/src/compose-dofs.cc | Applications/src/compose-dofs.cc | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2013 Daniel Rueckert, Julia Schnabel
* Copyright 2013-2015 Andreas Schuh
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the ... | Add -approximate option to compose-dofs [Applications] | enh: Add -approximate option to compose-dofs [Applications]
Closes #325. | C++ | apache-2.0 | schuhschuh/MIRTK,schuhschuh/MIRTK,BioMedIA/MIRTK,BioMedIA/MIRTK,stefanpsz/MIRTK,stefanpsz/MIRTK,BioMedIA/MIRTK,schuhschuh/MIRTK,BioMedIA/MIRTK,stefanpsz/MIRTK,schuhschuh/MIRTK,stefanpsz/MIRTK |
c12a87c4d3fb36d00581cd889be47c33ad586f30 | src/system/rocket_system.cpp | src/system/rocket_system.cpp | #include "system/rocket_system.hpp"
#include "util/time.hpp"
#include "ch.hpp"
#include "chprintf.h"
RocketSystem::RocketSystem(
Accelerometer& accel,
optional<Accelerometer *> accelH,
optional<Barometer *> bar,
optional<GPS *> gps,
Gyroscope& gyr,
optional<Magnetometer *> mag,
WorldEstima... | #include "system/rocket_system.hpp"
#include "util/time.hpp"
#include "ch.hpp"
#include "chprintf.h"
RocketSystem::RocketSystem(
Accelerometer& accel,
optional<Accelerometer *> accelH,
optional<Barometer *> bar,
optional<GPS *> gps,
Gyroscope& gyr,
optional<Magnetometer *> mag,
WorldEstima... | Disable most sensor health checks in rocket system. | Disable most sensor health checks in rocket system.
| C++ | mit | OSURoboticsClub/aerial_control,OSURoboticsClub/aerial_control,OSURoboticsClub/aerial_control |
6d5ece012f508206059fcce420362d61dbd398e6 | src/uri/Verify.cxx | src/uri/Verify.cxx | /*
* Copyright 2007-2020 CM4all GmbH
* 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 retain the abo... | /*
* Copyright 2007-2020 CM4all GmbH
* 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 retain the abo... | use StringView::Split() | uri/Verify: use StringView::Split()
| C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
5d76027dc46998fddd6e69bea4e1e62d3ee355b0 | src/test/scheduler_tests.cpp | src/test/scheduler_tests.cpp | // Copyright (c) 2012-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <scheduler.h>
#include <util/time.h>
#include <random.h>
#include <sync.h>
#include <boost/test/unit_test.hpp>
#in... | // Copyright (c) 2012-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <scheduler.h>
#include <util/time.h>
#include <random.h>
#include <sync.h>
#include <boost/test/unit_test.hpp>
#in... | Replace boost::mutex with std::mutex | test: Replace boost::mutex with std::mutex
Summary: This is a backport of Core [[https://github.com/bitcoin/bitcoin/pull/18695 | PR18695]]
Test Plan: ninja all check-all
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D8941
| C++ | mit | Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc,Bitcoin-ABC/bitcoin-abc |
7caf92ef6c189ba32bc87dc9b9c9d7c7d5c138d7 | glc_factory.cpp | glc_factory.cpp | /****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
Version 1.1.0, packaged on March, 2009.
http://glc-lib.sourceforge.net
GLC-lib is free software; you can redistribute it a... | /****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
Version 1.1.0, packaged on March, 2009.
http://glc-lib.sourceforge.net
GLC-lib is free software; you can redistribute it a... | Add the possibility to get collada and 3dxml attached files list. | Add the possibility to get collada and 3dxml attached files list.
| C++ | lgpl-2.1 | 3drepo/GLC_lib |
b551056330fca324dee167a5920004bc39e79659 | trunk/src/rtmp/srs_protocol_io.hpp | trunk/src/rtmp/srs_protocol_io.hpp | /*
The MIT License (MIT)
Copyright (c) 2013-2014 winlin
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, p... | /*
The MIT License (MIT)
Copyright (c) 2013-2014 winlin
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, p... | add comments of io interfaces. | add comments of io interfaces.
| C++ | mit | dymx101/simple-rtmp-server,oceanho/simple-rtmp-server,tribbiani/srs,KevinHM/simple-rtmp-server,KevinHM/simple-rtmp-server,skyfe79/srs,CallMeNP/srs,drunknbass/srs,oceanho/simple-rtmp-server,lewdon/srs,skyfe79/srs,myself659/simple-rtmp-server,JinruiWang/srs,dymx101/srs,antonioparisi/srs,JinruiWang/srs,danielfree/srs,newl... |
ff5a3fe3d12e8fd5e356e7726ce2048345db6203 | src/ui/map/Waypoint2DIcon.cc | src/ui/map/Waypoint2DIcon.cc | #include "Waypoint2DIcon.h"
#include <QPainter>
#include "opmapcontrol.h"
#include "QGC.h"
Waypoint2DIcon::Waypoint2DIcon(mapcontrol::MapGraphicItem* map, mapcontrol::OPMapWidget* parent, qreal latitude, qreal longitude, qreal altitude, int listindex, QString name, QString description, int radius)
: mapcontrol::Wa... | #include "Waypoint2DIcon.h"
#include <QPainter>
#include "opmapcontrol.h"
#include "QGC.h"
Waypoint2DIcon::Waypoint2DIcon(mapcontrol::MapGraphicItem* map, mapcontrol::OPMapWidget* parent, qreal latitude, qreal longitude, qreal altitude, int listindex, QString name, QString description, int radius)
: mapcontrol::Wa... | Fix crash when acceptance in pixels == 0 | Fix crash when acceptance in pixels == 0
| C++ | agpl-3.0 | nado1688/qgroundcontrol,Hunter522/qgroundcontrol,cfelipesouza/qgroundcontrol,jy723/qgroundcontrol,CornerOfSkyline/qgroundcontrol,cfelipesouza/qgroundcontrol,catch-twenty-two/qgroundcontrol,LIKAIMO/qgroundcontrol,UAVenture/qgroundcontrol,Hunter522/qgroundcontrol,RedoXyde/PX4_qGCS,BMP-TECH/qgroundcontrol,caoxiongkun/qgro... |
31db083d682adedfaf3a968650c3f4a31fc6fe00 | C++/minimum-window-substring.cpp | C++/minimum-window-substring.cpp | // Time: O(n)
// Space: O(1)
class Solution {
public:
/**
* @param source: A string
* @param target: A string
* @return: A string denote the minimum window
* Return "" if there is no such a string
*/
string minWindow(string &source, string &target) {
if (source.em... | // Time: O(n)
// Space: O(1)
class Solution {
public:
/**
* @param source: A string
* @param target: A string
* @return: A string denote the minimum window
* Return "" if there is no such a string
*/
string minWindow(string &source, string &target) {
if (source.em... | Update minimum-window-substring.cpp | Update minimum-window-substring.cpp | C++ | mit | jaredkoontz/lintcode,jaredkoontz/lintcode,jaredkoontz/lintcode,kamyu104/LintCode,kamyu104/LintCode,kamyu104/LintCode |
7ee7dc5c30681f899f0d7157e2d90ee965c1a8df | src/vogltrace/vogl_trace.cpp | src/vogltrace/vogl_trace.cpp | /**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | /**************************************************************************
*
* Copyright 2013-2014 RAD Game Tools and Valve Software
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to d... | Fix gcc 4.8 build. | Fix gcc 4.8 build.
| C++ | mit | bclemetsonblizzard/vogl,bclemetsonblizzard/vogl,ValveSoftware/vogl,ValveSoftware/vogl,ValveSoftware/vogl,bclemetsonblizzard/vogl,bclemetsonblizzard/vogl,kingtaurus/vogl,bclemetsonblizzard/vogl,kingtaurus/vogl,kingtaurus/vogl,ValveSoftware/vogl,kingtaurus/vogl |
050d4275af57a21ed76bd3302df2180333228c30 | unitTesting/tools/test_mailbox.cpp | unitTesting/tools/test_mailbox.cpp | /*
* Copyright 2010,
* François Bleibel,
* Olivier Stasse,
*
* CNRS/AIST
*
* This file is part of sot-core.
* sot-core is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of
* th... | /*
* Copyright 2010,
* François Bleibel,
* Olivier Stasse,
*
* CNRS/AIST
*
* This file is part of sot-core.
* sot-core is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of
* th... | Fix unwanted race condition in test_mailbox | Fix unwanted race condition in test_mailbox
| C++ | bsd-2-clause | stack-of-tasks/sot-core,stack-of-tasks/sot-core,stack-of-tasks/sot-core |
356aa77b75948b217ba3e6ce60467dccd891deec | src/web_util_http_parser.cpp | src/web_util_http_parser.cpp | #include "web_util_http_parser.h"
#include "hphp/runtime/server/http-protocol.h"
#include "hphp/runtime/ext/json/ext_json.h"
namespace HPHP {
#if HHVM_API_VERSION < 20140702L
using JIT::VMRegAnchor;
#endif
const static StaticString
s_header("Header"),
s_request("Request"),
s_query("Q... | #include "web_util_http_parser.h"
#include "hphp/runtime/server/http-protocol.h"
#include "hphp/runtime/ext/json/ext_json.h"
namespace HPHP {
#if HHVM_API_VERSION < 20140702L
using JIT::VMRegAnchor;
#endif
const static StaticString
s_header("Header"),
s_request("Request"),
s_query("Q... | add cookie parser | add cookie parser
| C++ | mit | RickySu/hhvm-ext-web-util,RickySu/hhvm-ext-web-util,RickySu/hhvm-ext-web-util |
e64ffef727028f460f3cdcea77174cd199afd423 | ode/src/error.cpp | ode/src/error.cpp | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | Put WIN32/CYGWIN specific defines back in | Put WIN32/CYGWIN specific defines back in
| C++ | lgpl-2.1 | forrestv/opende,forrestv/opende,forrestv/opende,forrestv/opende,forrestv/opende |
3cb7070d7cabc8971e30243d6eb47eaf322fffad | C++/kth-smallest-element-in-a-sorted-matrix.cpp | C++/kth-smallest-element-in-a-sorted-matrix.cpp | // Time: O(klogk)
// Space: O(k)
class Solution {
public:
int kthSmallest(vector<vector<int>>& matrix, int k) {
int kth_smallest = 0;
using P = pair<int, int>;
const auto Compare = [&matrix](const P& a, const P& b) {
return matrix[a.first][a.second] > matrix[b.first][b.second]... | // Time: O(k * log(min(n, m, k))), with n x m matrix
// Space: O(min(n, m, k))
class Solution {
public:
int kthSmallest(vector<vector<int>>& matrix, int k) {
int kth_smallest = 0;
using P = pair<int, pair<int, int>>;
priority_queue<P, vector<P>, greater<P>> q;
auto push = [&matrix... | Update kth-smallest-element-in-a-sorted-matrix.cpp | Update kth-smallest-element-in-a-sorted-matrix.cpp | C++ | mit | kamyu104/LeetCode,githubutilities/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,tudennis/LeetCode---kamyu104-11-24-2015,yiwen-luo/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,githubutilities/LeetCode,yiwen-luo/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,githubutilities/LeetCode,yiwen-luo/LeetCode,githubutil... |
c68c385b270d9632c576efff4126eff821cfbde6 | ode/ode/src/collision_trimesh.cpp | ode/ode/src/collision_trimesh.cpp | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | apply the following fix, with a mildly descriptive comment: ------------------ Hi, | apply the following fix, with a mildly descriptive comment:
------------------
Hi,
TriMesh for temporal coherence uses ODE's dArray of SphereTC and BoxTC
classes. These in turn are derived from OPCODE classes, and contain
IceCore::Container that has a non-trivial destructor.
Now, dxTriMesh::ClearTCCache uses dArray's... | C++ | lgpl-2.1 | keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,keletskiy/ode |
478b02cf8c818106f377a43d81d3cdf0148377e5 | DSP/extensions/EffectsLib/tests/TTThru.test.cpp | DSP/extensions/EffectsLib/tests/TTThru.test.cpp | /** @file
*
* @ingroup dspEffectsLib
*
* @brief Unit tests for #TTThru
*
* @authors Timothy Place, Trond Lossius
*
* @copyright Copyright © 2011, Timothy Place @n
* License: This code is licensed under the terms of the "New BSD License" @n
* http://creativecommons.org/licenses/BSD/
*/
#include "TTThru.h"
... | /** @file
*
* @ingroup dspEffectsLib
*
* @brief Unit tests for #TTThru
*
* @authors Timothy Place, Trond Lossius
*
* @copyright Copyright © 2011, Timothy Place @n
* License: This code is licensed under the terms of the "New BSD License" @n
* http://creativecommons.org/licenses/BSD/
*/
#include "TTThru.h"
... | refactor of TTThru test. see issue #295 | TTEffectsLib: refactor of TTThru test. see issue #295
| C++ | bsd-3-clause | jamoma/JamomaCore,eriser/JamomaCore,jamoma/JamomaCore,eriser/JamomaCore,eriser/JamomaCore,jamoma/JamomaCore,eriser/JamomaCore,jamoma/JamomaCore,jamoma/JamomaCore,eriser/JamomaCore,eriser/JamomaCore,jamoma/JamomaCore,eriser/JamomaCore,jamoma/JamomaCore,eriser/JamomaCore |
aa14615309a7997e0e9a2332c8d377952927c1d4 | DungeonsOfNoudar486/SDLVersion/CSDLRenderer.cpp | DungeonsOfNoudar486/SDLVersion/CSDLRenderer.cpp | #include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <utility>
#include <functional>
#include <memory>
#include <algorithm>
#include <iostream>
#include <map>
#include <chrono>
#include <sg14/fixed_point>
#include <EASTL/vector.h>
#include <EASTL/array.h>
using eastl::ve... | #include <cstdlib>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <string>
#include <utility>
#include <functional>
#include <memory>
#include <algorithm>
#include <iostream>
#include <map>
#include <chrono>
#include <sg14/fixed_point>
#include <EASTL/vector.h>
#include <EASTL/array.h>
using eastl::ve... | Unify controls, making SDL like the 486 version | Unify controls, making SDL like the 486 version
| C++ | bsd-2-clause | TheFakeMontyOnTheRun/dungeons-of-noudar,TheFakeMontyOnTheRun/dungeons-of-noudar |
29712f67cc49a15b91e24d87ab1bd5928e0ea3b5 | chrome/renderer/renderer_main.cc | chrome/renderer/renderer_main.cc | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/command_line.h"
#include "base/field_trial.h"
#include "base/histogram... | // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "app/l10n_util.h"
#include "app/resource_bundle.h"
#include "base/command_line.h"
#include "base/field_trial.h"
#include "base/histogram... | Remove a comment that doesn't make any sense. | Remove a comment that doesn't make any sense.
Review URL: http://codereview.chromium.org/159509
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@21850 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ondra-novak/chromium.src,Just-D/chromium-1,hujiajie/pa-chromium,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,anirudhSK/chromium,markYoungH/chromium.src,axinging/chromium-crosswalk,hujiajie/pa-chromium,crosswalk-project/chrom... |
7dc965c3f88cbc75f0768ed015b02cb583751281 | MMLoader/Inject.cpp | MMLoader/Inject.cpp | #include "StdAfx.h"
#include "Inject.h"
#include "Util.h"
// Ripped from Oblivion Script Extender
// http://obse.silverlock.org/
// The sordid thread-suspending logic in DoInjectDLL is my own dismal contribution
extern BOOL ToggleProcessThreads(DWORD dwOwnerPID, bool suspend);
Inject::Inject(void)
{
}
Inject::~I... | #include "StdAfx.h"
#include "Inject.h"
#include "Util.h"
// Ripped from Oblivion Script Extender
// http://obse.silverlock.org/
// The sordid thread-suspending logic in DoInjectDLL is my own dismal contribution
extern BOOL ToggleProcessThreads(DWORD dwOwnerPID, bool suspend);
Inject::Inject(void)
{
}
Inject::~I... | use the resume/suspend trick to in the case where CreateRemoteThread fails | Fix(loader): use the resume/suspend trick to in the case where CreateRemoteThread fails
- This appeared to fix the issue on at least one occassion
| C++ | lgpl-2.1 | jmquigs/ModelMod,jmquigs/ModelMod,jmquigs/ModelMod,jmquigs/ModelMod |
b0c1bdf5d366afc47d4a94cebc00fd2912128929 | chrome_frame/test/reliability/run_all_unittests.cc | chrome_frame/test/reliability/run_all_unittests.cc | // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome_frame/test/reliability/reliability_test_suite.h"
#include "base/command_line.h"
#include "chrome/common/chrome_paths.h"
#includ... | // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome_frame/test/reliability/reliability_test_suite.h"
#include "base/command_line.h"
#include "chrome/common/chrome_paths.h"
#includ... | Fix a crash in the chrome frame relaibility test suite which occurs while accessing a deleted CommandLine object. The test suite on startup initializes the command line. It then initializes the gtest TestSuite class which also initializes a new instance of the CommandLine object. This ends up deleting the CommandLine i... | Fix a crash in the chrome frame relaibility test suite which occurs while accessing a deleted
CommandLine object. The test suite on startup initializes the command line. It then initializes
the gtest TestSuite class which also initializes a new instance of the CommandLine object. This
ends up deleting the CommandLine i... | C++ | bsd-3-clause | meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u... |
69ac786a0ce98f14bcb1dbe4de27a7eb52d60be3 | tests/unit/fem/test_datacollection.cpp | tests/unit/fem/test_datacollection.cpp | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | // Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | Add unit test for ParaView restart mode | Add unit test for ParaView restart mode
| C++ | bsd-3-clause | mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem |
a8b3dded7939b4a63d2cf04993023ddce5245ae9 | tests/unit/fem/test_linearform_ext.cpp | tests/unit/fem/test_linearform_ext.cpp | // Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | // Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availability visit ht... | Use variable coefficients in linear form extension unit tests | Use variable coefficients in linear form extension unit tests
| C++ | bsd-3-clause | mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem,mfem/mfem |
d031d20cdb5197f208811a386e659ddbe19cca27 | src/test/pegtl/verify_file.hpp | src/test/pegtl/verify_file.hpp | // Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_FILE_HPP
#define TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_FILE_HPP
#include <tao/pegtl.hpp>
#include "test.hpp"
#if defined( _MSC_VER )
#define TAO_P... | // Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_FILE_HPP
#define TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_FILE_HPP
#include <tao/pegtl.hpp>
#include "test.hpp"
#if defined( _MSC_VER )
#define TAO_P... | Revert useless change | Revert useless change
| C++ | mit | ColinH/PEGTL,ColinH/PEGTL |
9cdc1cbebc72779a048b00006d3bb30f5cb0abec | src/test/pegtl/verify_rule.hpp | src/test/pegtl/verify_rule.hpp | // Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_RULE_HPP
#define TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_RULE_HPP
#include <cstdlib>
#include <string>
#include <tao/pegtl/eol.hpp>
#include <tao/peg... | // Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_RULE_HPP
#define TAO_PEGTL_SRC_TEST_PEGTL_VERIFY_RULE_HPP
#include <cstdlib>
#include <string>
#include <tao/pegtl/eol.hpp>
#include <tao/peg... | Fix typo. | Fix typo.
| C++ | mit | ColinH/PEGTL,ColinH/PEGTL |
35176ad47efec77e929cc7772e09a2b91d169475 | X10_Project/Classes/Sling.cpp | X10_Project/Classes/Sling.cpp | #include "stdafx.h"
#include "Sling.h"
#include "GameManager.h"
#include "FileStuff.h"
#include <SimpleAudioEngine.h>
Sling::Sling() : m_expectLine(), m_shotAngle(Vec2(0, 0)), m_shotPower(0), m_arm(nullptr), m_character(nullptr)
{
///# ڸ ̿ ʱȭ å Ѵ. (Ŀ ٸ Լ ʱȭ ϴ..)
}
bool Sling::init()
{
if (Node::init() == false... | #include "stdafx.h"
#include "Sling.h"
#include "GameManager.h"
#include "FileStuff.h"
#include <SimpleAudioEngine.h>
Sling::Sling() : m_expectLine(), m_shotAngle(Vec2(0, 0)), m_shotPower(0), m_arm(nullptr), m_character(nullptr)
{
///# ڸ ̿ ʱȭ å Ѵ. (Ŀ ٸ Լ ʱȭ ϴ..)
}
bool Sling::init()
{
if (Node::init() == false... | change sling pull point | change sling pull point
| C++ | mit | kimsin3003/X10,kimsin3003/X10,kimsin3003/X10,kimsin3003/X10,kimsin3003/X10 |
cdfdca8cb43f9ba93b93253383c502900383d7ca | thrust/detail/device/cuda/for_each.inl | thrust/detail/device/cuda/for_each.inl | /*
* Copyright 2008-2010 NVIDIA Corporation
*
* 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... | /*
* Copyright 2008-2010 NVIDIA Corporation
*
* 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... | Add #include <thrust/detail/config.h> to cuda/for_each.inl as it relies on THRUST_DEVICE_COMPILER Reported by Ryuta | Add #include <thrust/detail/config.h> to cuda/for_each.inl as it relies on THRUST_DEVICE_COMPILER
Reported by Ryuta
--HG--
extra : convert_revision : svn%3A83215879-3e5a-4751-8c9d-778f44bb06a5/trunk%40877
| C++ | apache-2.0 | jbrownbridge/thrust,jbrownbridge/thrust,jbrownbridge/thrust,jbrownbridge/thrust |
981fbfd51009ce247e010c284046e4fba768365e | src/unittest/snapshots_test.cc | src/unittest/snapshots_test.cc | #include "unittest/gtest.hpp"
#include <boost/bind.hpp>
#include <cstdlib>
#include <string>
#include <functional>
#include "server/cmd_args.hpp"
#include "serializer/log/log_serializer.hpp"
#include "serializer/translator.hpp"
#include "btree/slice.hpp"
#include "buffer_cache/transactor.hpp"
#include "buffer_cache/co... | #include "unittest/gtest.hpp"
#include <boost/bind.hpp>
#include <cstdlib>
#include <string>
#include <functional>
#include "server/cmd_args.hpp"
#include "serializer/log/log_serializer.hpp"
#include "serializer/translator.hpp"
#include "btree/slice.hpp"
#include "buffer_cache/transactor.hpp"
#include "buffer_cache/co... | Add unit-test for issue 194 | Add unit-test for issue 194
If issue 194 is present, the unit-test fails with an assertion failure.
Sorry, until it's fixed, our unit-test suite will die with an assertion,
because there's no way I can catch it.
| C++ | agpl-3.0 | sontek/rethinkdb,mbroadst/rethinkdb,tempbottle/rethinkdb,tempbottle/rethinkdb,matthaywardwebdesign/rethinkdb,dparnell/rethinkdb,yaolinz/rethinkdb,robertjpayne/rethinkdb,sontek/rethinkdb,wujf/rethinkdb,jfriedly/rethinkdb,lenstr/rethinkdb,wojons/rethinkdb,ayumilong/rethinkdb,mquandalle/rethinkdb,elkingtonmcb/rethinkdb,wu... |
11713b8c37b9a6eeb087161f2e8d04ba52bf40c0 | src/unix/fcitx5/mozc_engine.cc | src/unix/fcitx5/mozc_engine.cc | /*
* Copyright (C) 2017~2017 by CSSlayer
* wengxt@gmail.com
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later versi... | /*
* Copyright (C) 2017~2017 by CSSlayer
* wengxt@gmail.com
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later versi... | Fix typo in katakana half action. #12 | Fix typo in katakana half action. #12
| C++ | bsd-3-clause | fcitx/mozc,fcitx/mozc,fcitx/mozc,fcitx/mozc,fcitx/mozc |
9cbff3779ff159ed24b6f044d67e5b6270736626 | tools/data-collect/rs-data-collect.cpp | tools/data-collect/rs-data-collect.cpp | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
#include <librealsense2/rs.hpp>
#include <chrono>
#include <thread>
#include <iostream>
#include <fstream>
#include <sstream>
#include "tclap/CmdLine.h"
#include <condition_variable>
#include <set>
... | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2015 Intel Corporation. All Rights Reserved.
#include <librealsense2/rs.hpp>
#include <chrono>
#include <thread>
#include <iostream>
#include <fstream>
#include <sstream>
#include "tclap/CmdLine.h"
#include <condition_variable>
#include <set>
... | Change per CR | Change per CR
| C++ | apache-2.0 | IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense |
cf35ffb126c1e4f3902ec2d8a64ec1a0cde53ec3 | vm/data_heap.cpp | vm/data_heap.cpp | #include "master.hpp"
namespace factor
{
void factor_vm::init_card_decks()
{
cards_offset = (cell)data->cards - addr_to_card(data->start);
decks_offset = (cell)data->decks - addr_to_deck(data->start);
}
data_heap::data_heap(cell young_size_,
cell aging_size_,
cell tenured_size_)
{
young_size_ = align(young_size... | #include "master.hpp"
namespace factor
{
void factor_vm::init_card_decks()
{
cards_offset = (cell)data->cards - addr_to_card(data->start);
decks_offset = (cell)data->decks - addr_to_deck(data->start);
}
data_heap::data_heap(cell young_size_,
cell aging_size_,
cell tenured_size_)
{
young_size_ = align(young_size... | fix problem in card marking if first block is free | vm: fix problem in card marking if first block is free | C++ | bsd-2-clause | sarvex/factor-lang,factor/factor,slavapestov/factor,mrjbq7/factor,slavapestov/factor,AlexIljin/factor,bjourne/factor,mrjbq7/factor,slavapestov/factor,bpollack/factor,bjourne/factor,sarvex/factor-lang,bpollack/factor,bjourne/factor,sarvex/factor-lang,tgunr/factor,factor/factor,bjourne/factor,nicolas-p/factor,tgunr/facto... |
46d82c64edc316122af7417a412316e841ed64f6 | src/zippylog/device/server.hpp | src/zippylog/device/server.hpp | // Copyright 2010 Gregory Szorc
//
// 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 agree... | // Copyright 2010 Gregory Szorc
//
// 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 agree... | reorder member variables | reorder member variables
| C++ | apache-2.0 | indygreg/zippylog,indygreg/zippylog,indygreg/zippylog,indygreg/zippylog |
e3236e68753b82dbd4538078a5ddb8676d378fa8 | src/cpp/session/modules/tex/SessionTexi2Dvi.cpp | src/cpp/session/modules/tex/SessionTexi2Dvi.cpp | /*
* SessionTexi2Dvi.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNES... | /*
* SessionTexi2Dvi.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANTABILITY OR FITNES... | fix win32 build | fix win32 build
| C++ | agpl-3.0 | maligulzar/Rstudio-instrumented,jar1karp/rstudio,pssguy/rstudio,sfloresm/rstudio,suribes/rstudio,sfloresm/rstudio,thklaus/rstudio,JanMarvin/rstudio,sfloresm/rstudio,jzhu8803/rstudio,pssguy/rstudio,nvoron23/rstudio,Sage-Bionetworks/rstudio,nvoron23/rstudio,brsimioni/rstudio,suribes/rstudio,piersharding/rstudio,piershard... |
a6086fc9754c28a5f72045ca96b3a3a0f00dfce6 | lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp | lib/Target/Blackfin/AsmPrinter/BlackfinAsmPrinter.cpp | //===-- BlackfinAsmPrinter.cpp - Blackfin LLVM assembly writer ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- BlackfinAsmPrinter.cpp - Blackfin LLVM assembly writer ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | switch blackfin to the default runOnMachineFunction | switch blackfin to the default runOnMachineFunction
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@94729 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-2-clause | chubbymaggie/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,dslab-epfl/asap,chubbymaggie/asap,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers... |
c4bc7164994bda989fe1f294312cd3f6b98e8da5 | EngineCommand.C | EngineCommand.C | #include "EngineCommand.h"
#include <maya/MArgDatabase.h>
#include <maya/MArgList.h>
#include <maya/MStatus.h>
#include <HAPI/HAPI.h>
#include "SubCommand.h"
#define kHoudiniVersionFlag "-hv"
#define kHoudiniVersionFlagLong "-houdiniVersion"
#define kHoudiniEngineVersionFlag "-hev"
#define kHoudiniEngineVersionFlag... | #include "EngineCommand.h"
#include <maya/MArgDatabase.h>
#include <maya/MArgList.h>
#include <maya/MStatus.h>
#include <HAPI/HAPI.h>
#include "SubCommand.h"
#define kLicenseFlag "-lic"
#define kLicenseFlagLong "-license"
#define kHoudiniVersionFlag "-hv"
#define kHoudiniVersionFlagLong "-houdiniVersion"
#define kH... | Add "houdiniEngine -license" to get the license type | Add "houdiniEngine -license" to get the license type
| C++ | mit | sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya |
d3c15b862b88feb8aed500fa9bc91b1b02023b69 | speed.cpp | speed.cpp | #include <cstring>
#include <set>
#include <chrono>
// --------------------------------------------------
#include "config.h"
#include "popcnt-all.cpp"
#include "function_registry.cpp"
// --------------------------------------------------
class Error final {
std::string message;
public:
Error(const std::... | #include <cstring>
#include <set>
#include <chrono>
// --------------------------------------------------
#include "config.h"
#include "popcnt-all.cpp"
#include "function_registry.cpp"
// --------------------------------------------------
class Error final {
std::string message;
public:
Error(const std::... | enable performance testing of the new function | enable performance testing of the new function
| C++ | bsd-2-clause | WojciechMula/sse-popcount,WojciechMula/sse-popcount,WojciechMula/sse-popcount,WojciechMula/sse-popcount |
d79cbb7fe5ae80969a9d3f1026510c5bab740dce | FTDebouncer.cpp | FTDebouncer.cpp | /*
* @Author: Ubi de Feo | Future Tailors
* @Date: 2017-07-09 16:34:07
* @Last Modified by: ubi
* @Last Modified time: 2017-07-09 16:41:17
*/
#include "FTDebouncer.h"
/* CONSTRUCTORS/DESTRUCTOR */
FTDebouncer::FTDebouncer() {
FTDebouncer(40);
}
FTDebouncer::FTDebouncer(uint16_t debounceDelay) : _debounceD... | /*
* @Author: Ubi de Feo | Future Tailors
* @Date: 2017-07-09 16:34:07
* @Last Modified by: ubi
* @Last Modified time: 2017-07-09 16:41:17
*/
#include "FTDebouncer.h"
/* CONSTRUCTORS/DESTRUCTOR */
FTDebouncer::FTDebouncer() {
FTDebouncer(40);
}
FTDebouncer::FTDebouncer(uint16_t debounceDelay) : _debounceD... | Use faster prefixed increment operator | Use faster prefixed increment operator
| C++ | mit | ubidefeo/FTDebouncer |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.