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 |
|---|---|---|---|---|---|---|---|---|---|
4d4afa25daa55b917e6e1454ebcb4b421ec03d8d | prototype2/tools/ReaderPcap.cpp | prototype2/tools/ReaderPcap.cpp | /** Copyright (C) 2016, 2017 European Spallation Source ERIC */
#include <algorithm>
#include <arpa/inet.h>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <tools/ReaderPcap.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <fmt/format.h>
// GCOVR_EXCL_START
// Protocol identifiers
con... | /** Copyright (C) 2016, 2017 European Spallation Source ERIC */
#include <algorithm>
#include <arpa/inet.h>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <tools/ReaderPcap.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <fmt/format.h>
// GCOVR_EXCL_START
// Protocol identifiers
con... | Update prototype2/tools/ReaderPcap.cpp | Update prototype2/tools/ReaderPcap.cpp
Co-Authored-By: Jonas Nilsson <3cdaf6a46728d020876bf8d8f5aed6a1603ea40a@gmail.com> | C++ | bsd-2-clause | ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit,ess-dmsc/event-formation-unit |
a76b826e5d257d7b2534d1ec814946ef131c193b | src/istream_later.cxx | src/istream_later.cxx | /*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "istream_later.hxx"
#include "istream_internal.hxx"
#include "istream_forward.hxx"
#include "event/defer_event.h"
#include "util/Cast.hxx"
#include <event.h>
struct istream_later {
struct istream output;
struct istream *input;
struct defer_event d... | /*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "istream_later.hxx"
#include "istream_internal.hxx"
#include "istream_forward.hxx"
#include "event/defer_event.h"
#include "util/Cast.hxx"
#include "pool.hxx"
#include <event.h>
struct istream_later {
struct istream output;
struct istream *input;
... | use NewFromPool() | istream_later: use NewFromPool() | C++ | bsd-2-clause | CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy |
1be74eaee862045e2845b28e2c7a9cc9f6c9d223 | src/parser/Parser.cpp | src/parser/Parser.cpp | /*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs
*
* Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr>
*
* This program is free software; y... | /*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs
*
* Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr>
*
* This program is free software; y... | Remove leftover debug | Parser: Remove leftover debug
| C++ | lgpl-2.1 | chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary |
8e9f7e7458cf3b853e0c7c031a93102142a20580 | src/Tools/Math/Distribution/Distributions.cpp | src/Tools/Math/Distribution/Distributions.cpp | #include <sstream>
#include <algorithm>
#include <vector>
#include <iostream>
#include "Tools/Exception/exception.hpp"
#include "Tools/Arguments/Splitter/Splitter.hpp"
#include "Distributions.hpp"
using namespace aff3ct;
using namespace tools;
template<typename R>
Distributions<R>::
Distributions()
{
}
template<ty... | #include <sstream>
#include <algorithm>
#include <vector>
#include <iostream>
#include "Tools/Exception/exception.hpp"
#include "Tools/Arguments/Splitter/Splitter.hpp"
#include "Distributions.hpp"
using namespace aff3ct;
using namespace tools;
template<typename R>
Distributions<R>::
Distributions()
{
}
template<ty... | Add a sort after getting the ROP range from file | Add a sort after getting the ROP range from file
| C++ | mit | aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct |
ae6614f1cb7c65045681cf8e9448d742834818da | google/cloud/storage/tests/bucket_integration_test.cc | google/cloud/storage/tests/bucket_integration_test.cc | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | Use random object names in integration test. (#991) | Use random object names in integration test. (#991)
This fixes #681. Random object names make it less likely that two tests
running simultaneously will conflict with each other. When I first wrote
this test we did not have the pseudo-random number helpers in
google::cloud, and left a TODO to fix them, time to do th... | C++ | apache-2.0 | googleapis/google-cloud-cpp,googleapis/google-cloud-cpp,googleapis/google-cloud-cpp,googleapis/google-cloud-cpp |
e49813a7e05e1daa23b3c1bf52eb81f0546819b4 | test/bgn_test.cpp | test/bgn_test.cpp | #define PUT(x) std::cout << #x << "=" << (x) << std::endl;
#include <cybozu/test.hpp>
#include <cybozu/benchmark.hpp>
#include <cybozu/random_generator.hpp>
#include <mcl/bn256.hpp>
#include <mcl/bgn.hpp>
#if CYBOZU_CPP_VERSION >= CYBOZU_CPP_VERSION_CPP11
#include <random>
std::random_device rg;
#else
cybozu::RandomGe... | #define PUT(x) std::cout << #x << "=" << (x) << std::endl;
#include <cybozu/test.hpp>
#include <cybozu/benchmark.hpp>
#include <cybozu/random_generator.hpp>
#include <mcl/bn256.hpp>
#include <mcl/bgn.hpp>
#if CYBOZU_CPP_VERSION >= CYBOZU_CPP_VERSION_CPP11
#include <random>
std::random_device g_rg;
#else
cybozu::Random... | add benchmark of bgn | add benchmark of bgn
| C++ | bsd-3-clause | herumi/mcl,herumi/mcl,herumi/mcl,herumi/mcl,herumi/mcl,herumi/mcl,herumi/mcl,herumi/mcl |
35b888dc1194eafabb6646abcdd2614339b5dd26 | ReactCommon/cxxreact/Instance.cpp | ReactCommon/cxxreact/Instance.cpp | // Copyright 2004-present Facebook. All Rights Reserved.
#include "Instance.h"
#include "Executor.h"
#include "MethodCall.h"
#include "RecoverableError.h"
#include "SystraceSection.h"
#include <folly/json.h>
#include <folly/Memory.h>
#include <folly/MoveWrapper.h>
#include <glog/logging.h>
#include <condition_vari... | // Copyright 2004-present Facebook. All Rights Reserved.
#include "Instance.h"
#include "Executor.h"
#include "MethodCall.h"
#include "RecoverableError.h"
#include "SystraceSection.h"
#include <folly/json.h>
#include <folly/Memory.h>
#include <folly/MoveWrapper.h>
#include <glog/logging.h>
#include <condition_vari... | Fix making loadScriptFromString always synchronous | Fix making loadScriptFromString always synchronous
Reviewed By: javache
Differential Revision: D5129620
fbshipit-source-id: a0ad5e2704fc38f4cdfe29187a2b59ba4b0ff61b
| C++ | bsd-3-clause | Ehesp/react-native,pandiaraj44/react-native,peterp/react-native,farazs/react-native,gilesvangruisen/react-native,cdlewis/react-native,cdlewis/react-native,tszajna0/react-native,farazs/react-native,formatlos/react-native,exponentjs/react-native,skevy/react-native,peterp/react-native,negativetwelve/react-native,janicdupl... |
cb516e3acf4c729987007c032c286e76ac628471 | RPC/ClientSessionTest.cc | RPC/ClientSessionTest.cc | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... | Fix RPCClientSessionTest.onReceiveMessage deadlocks | Fix RPCClientSessionTest.onReceiveMessage deadlocks
This deadlock would happen when the timer fires while onReceiveMessage
deschedules it. This can't happen in normal operation because the timer
and onReceiveMessage both always run on the event loop thread, but it
was happening in this unit test that calls onReceiveMe... | C++ | isc | dankenigsberg/logcabin,gaoning777/logcabin,tempbottle/logcabin,gaoning777/logcabin,chaozh/logcabin,nhardt/logcabin,dankenigsberg/logcabin,dankenigsberg/logcabin,nhardt/logcabin,logcabin/logcabin,TigerZhang/logcabin,chaozh/logcabin,TigerZhang/logcabin,logcabin/logcabin,nhardt/logcabin,chaozh/logcabin,nhardt/logcabin,tem... |
99d91d9d4a806d63e01ea506a10a1e49bd4eb894 | RankTransformDataset.cpp | RankTransformDataset.cpp | #include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <cstdio>
#include <iostream>
#include <fstream>
#include <cmath>
namespace po = boost::pr... | #include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/random/uniform_int.hpp>
#include <boost/random/mersenne_twister.hpp>
#include <cstdio>
#include <iostream>
#include <fstream>
#include <cmath>
namespace po = boost::pr... | Fix a bug where we were counting the number of NaN values incorrectly | Fix a bug where we were counting the number of NaN values incorrectly
| C++ | agpl-3.0 | A1kmm/soft2matrix |
e4bf7bd52d468dae944ee64ed0cf17814e4c32c2 | libraries/disp3D/engine/model/items/network/networktreeitem.cpp | libraries/disp3D/engine/model/items/network/networktreeitem.cpp | //=============================================================================================================
/**
* @file networktreeitem.cpp
* @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date January, 2016
*
* @section LICENSE
... | //=============================================================================================================
/**
* @file networktreeitem.cpp
* @author Lorenz Esch <Lorenz.Esch@tu-ilmenau.de>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date January, 2016
*
* @section LICENSE
... | Use colormap also for default edge and node colors | [SC-167] Use colormap also for default edge and node colors
| C++ | bsd-3-clause | mne-tools/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp |
15f6fbec666a6e6a45ae88a8bd1da0268bc882fc | Testing/Unit/sitkTransformTests.cxx | Testing/Unit/sitkTransformTests.cxx | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://ww... | fix expected test results | fix expected test results
Default constructed images are only 2D. Comparison of z size is not
valid.
Change-Id: I49313e4447f78b14fdbd45523c149ab21c1d8b80
| C++ | apache-2.0 | kaspermarstal/SimpleElastix,blowekamp/SimpleITK,blowekamp/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,richardbeare/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,blowekamp/SimpleITK,richardbeare/SimpleITK,InsightSoftwareConsortium/SimpleITK,InsightSoftwareConsortium/SimpleITK,Simp... |
527a0b774f69d31403381cc57d043fdd981d229b | UsbDkController/UsbDkController.cpp | UsbDkController/UsbDkController.cpp | // UsbDkController.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "UsbDkHelper.h"
using namespace std;
//-------------------------------------------------------------------------------
void ShowUsage()
{
tcout << endl;
tcout << TEXT(" UsbDkController ... | // UsbDkController.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "UsbDkHelper.h"
using namespace std;
//-------------------------------------------------------------------------------
void ShowUsage()
{
tcout << endl;
tcout << TEXT(" UsbDkController ... | Handle start redirect return value properly | UsbDkController: Handle start redirect return value properly
Signed-off-by: Dmitry Fleytman <f50f56ffad4b379c2a89812e98b14900ef87e9ea@redhat.com>
| C++ | apache-2.0 | SPICE/win32-usbdk,daynix/UsbDk,freedesktop-unofficial-mirror/spice__win32__usbdk,freedesktop-unofficial-mirror/spice__win32__usbdk,daynix/UsbDk,freedesktop-unofficial-mirror/spice__win32__usbdk,SPICE/win32-usbdk |
4d0777d42e1177055d38a51b74c582682c04ae64 | kaddressbook/imagewidget.cpp | kaddressbook/imagewidget.cpp | /*
This file is part of KAddressBook.
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at ... | /*
This file is part of KAddressBook.
Copyright (c) 2003 Tobias Koenig <tokoe@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at ... | Enable reset button when we changed url | Enable reset button when we changed url
svn path=/trunk/KDE/kdepim/; revision=662872
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
19d93370a4927cbea9780794cf612aef10f21a32 | test/obd_test.cpp | test/obd_test.cpp | #undef NDEBUG
#include <assert.h>
#include <ellis/codec/elm327.hpp>
#include <ellis/core/array_node.hpp>
#include <ellis/core/map_node.hpp>
#include <ellis/private/codec/obd/pid.hpp>
#include <ellis/private/using.hpp>
#include <test/assert.hpp>
int main() {
using namespace ellis;
using namespace ellis::obd;
usin... | #undef NDEBUG
#include <ellis/codec/elm327.hpp>
#include <ellis/core/array_node.hpp>
#include <ellis/core/map_node.hpp>
#include <ellis/private/codec/obd/pid.hpp>
#include <ellis/core/system.hpp>
#include <ellis/private/using.hpp>
#include <test/assert.hpp>
int main() {
using namespace ellis;
using namespace ellis... | use ELLIS_ASSERT instead of assert | obdtest: use ELLIS_ASSERT instead of assert
| C++ | mit | project-ellis/ellis,project-ellis/ellis |
ed3eef1ff134043b8fb49bd2fceff5d0c8a03c3e | src/compiler/translator/RewriteElseBlocks.cpp | src/compiler/translator/RewriteElseBlocks.cpp | //
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RewriteElseBlocks.cpp: Implementation for tree transform to change
// all if-else blocks to if-if blocks.
//
#include "compiler/transl... | //
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// RewriteElseBlocks.cpp: Implementation for tree transform to change
// all if-else blocks to if-if blocks.
//
#include "compiler/transl... | Fix not rewriting else-if blocks. | Fix not rewriting else-if blocks.
We would miss expanding the else-if clauses in a chain
of selection statements.
BUG=346463
BUG=391697
Change-Id: Iee644b875cf68d0ed3dc0b73542efc49ecb23242
Reviewed-on: https://chromium-review.googlesource.com/206822
Reviewed-by: Nicolas Capens <0612353e1fcebbfd4b302d9337447ca0cdfa91... | C++ | bsd-3-clause | ppy/angle,geekboxzone/lollipop_external_chromium_org_third_party_angle,ppy/angle,csa7mdm/angle,mrobinson/rust-angle,MIPS/external-chromium_org-third_party-angle,larsbergstrom/angle,mybios/angle,larsbergstrom/angle,xin3liang/platform_external_chromium_org_third_party_angle,ghostoy/angle,bsergean/angle,jgcaaprom/android_... |
16eed68a1eea02799a8879a148f1fb17ede59f63 | orttraining/orttraining/training_ops/cpu/nn/layer_norm.cc | orttraining/orttraining/training_ops/cpu/nn/layer_norm.cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "orttraining/training_ops/cpu/nn/layer_norm.h"
#include "core/framework/tensor.h"
#include "core/util/math_cpuonly.h"
#include "core/providers/common.h"
namespace onnxruntime {
namespace contrib {
// LayerNormGra... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "orttraining/training_ops/cpu/nn/layer_norm.h"
#include "core/framework/tensor.h"
#include "core/util/math_cpuonly.h"
#include "core/providers/common.h"
namespace onnxruntime {
namespace contrib {
// LayerNormGra... | Fix layer_norm.cc on x86 (#6556) | Fix layer_norm.cc on x86 (#6556)
* Fix LayerNromGrad on x86
* PR feedback | C++ | mit | microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime |
429d5457ab34e37c8126b47ef4328db7f650bf02 | src/cpp/session/modules/SessionCodeSearch.cpp | src/cpp/session/modules/SessionCodeSearch.cpp | /*
* SessionCodeSearch.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 FITN... | /*
* SessionCodeSearch.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 FITN... | update code search todos | update code search todos | C++ | agpl-3.0 | githubfun/rstudio,jzhu8803/rstudio,edrogers/rstudio,Sage-Bionetworks/rstudio,thklaus/rstudio,john-r-mcpherson/rstudio,suribes/rstudio,brsimioni/rstudio,jar1karp/rstudio,sfloresm/rstudio,githubfun/rstudio,more1/rstudio,githubfun/rstudio,jar1karp/rstudio,jrnold/rstudio,more1/rstudio,jar1karp/rstudio,pssguy/rstudio,sflore... |
81e0bb6816b40f4c5b14eda14cafde5ad9abfc0f | src/cpp/session/modules/SessionCodeSearch.cpp | src/cpp/session/modules/SessionCodeSearch.cpp | /*
* SessionCodeSearch.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 FITN... | /*
* SessionCodeSearch.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 FITN... | make modifications to code index O(1) | make modifications to code index O(1) | C++ | agpl-3.0 | jar1karp/rstudio,vbelakov/rstudio,pssguy/rstudio,Sage-Bionetworks/rstudio,jrnold/rstudio,Sage-Bionetworks/rstudio,jar1karp/rstudio,jzhu8803/rstudio,brsimioni/rstudio,brsimioni/rstudio,john-r-mcpherson/rstudio,brsimioni/rstudio,jzhu8803/rstudio,vbelakov/rstudio,edrogers/rstudio,thklaus/rstudio,nvoron23/rstudio,nvoron23/... |
2196c422cfe50713200e97d206c7d183308dfce6 | src/rate_limiting.cpp | src/rate_limiting.cpp | #include <franka/rate_limiting.h>
#include <Eigen/Dense>
#include <franka/exception.h>
namespace franka {
std::array<double, 7> limitRate(const std::array<double, 7>& max_derivatives,
const std::array<double, 7>& desired_values,
const std::array<double... | #include <franka/rate_limiting.h>
#include <Eigen/Dense>
#include <franka/exception.h>
namespace franka {
std::array<double, 7> limitRate(const std::array<double, 7>& max_derivatives,
const std::array<double, 7>& desired_values,
const std::array<double... | Add Euclidean distance computation for Cartesian safe acceleration limits | Add Euclidean distance computation for Cartesian safe acceleration limits
| C++ | apache-2.0 | frankaemika/libfranka,frankaemika/libfranka,frankaemika/libfranka |
0379d8cfeac189a7fd815e23908b422b861592c7 | test/pc/e2e/analyzer/audio/default_audio_quality_analyzer.cc | test/pc/e2e/analyzer/audio/default_audio_quality_analyzer.cc | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | /*
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | Change a way, how receive stream is determined in DefaultAudioQualityAnalyzer. | Change a way, how receive stream is determined in DefaultAudioQualityAnalyzer.
Bug: webrtc:10138
Change-Id: I8955c30f0a5d98abeca029323396e469a2fb243b
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/136683
Reviewed-by: Mirko Bonadei <d2c43c210eae6feef04f53bae50885e8152edcca@webrtc.org>
Commit-Queue: Artem T... | C++ | bsd-3-clause | ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc |
6e28f6918023260845a33b91b9cbec65268c0c41 | src/libaktualizr/uptane/uptane_serial_test.cc | src/libaktualizr/uptane/uptane_serial_test.cc | #include <gtest/gtest.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include "httpfake.h"
#include "logging/logging.h"
#include "primary/reportqueue.h"
#include "primary/sotauptaneclient.h"
#include "storage/invstorage... | #include <gtest/gtest.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include <boost/filesystem.hpp>
#include <boost/program_options.hpp>
#include "httpfake.h"
#include "logging/logging.h"
#include "primary/reportqueue.h"
#include "primary/sotauptaneclient.h"
#include "storage/invstorage... | Update comments for uptane serial tests. | Update comments for uptane serial tests.
| C++ | mpl-2.0 | advancedtelematic/sota_client_cpp,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/aktualizr,advancedtelematic/sota_client_cpp,advancedtelematic/aktualizr |
75f00280601c18d179668b3497cc49476098abed | src/libcsg/modules/io/h5mdtrajectoryreader.cc | src/libcsg/modules/io/h5mdtrajectoryreader.cc | #include <memory>
/*
* Copyright 2009-2019 The VOTCA Development Team (http://www.votca.org)
*
* 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/LIC... | #include <memory>
/*
* Copyright 2009-2019 The VOTCA Development Team (http://www.votca.org)
*
* 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/LIC... | fix another wrong Index | h5mdtrajectoryreader: fix another wrong Index
| C++ | apache-2.0 | votca/csg,MrTheodor/csg,MrTheodor/csg,MrTheodor/csg,MrTheodor/csg,votca/csg,MrTheodor/csg,votca/csg,votca/csg |
8d8293eefba5c79c409e9faeff38a89c6ea90686 | lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp | lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp | //===- lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp --------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | //===- lib/ReaderWriter/ELF/Hexagon/HexagonTargetHandler.cpp --------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... | Use C++ non-static member initialization. | Use C++ non-static member initialization.
git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@233739 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/lld,llvm-mirror/lld |
fb1065bfb34727e7727de770946a345da0c1bc5e | src/libgetenv/benchmarks/benchmark_getenv.cpp | src/libgetenv/benchmarks/benchmark_getenv.cpp | /**
* @file
*
* @brief benchmark for getenv
*
* @copyright BSD License (see doc/COPYING or http://www.libelektra.org)
*
*/
#include <keyset.hpp>
#include <kdbtimer.hpp>
#include <fstream>
#include <iostream>
#include <dlfcn.h>
#include <string.h>
extern "C" char **environ;
// long long iterations = 100000000000LL; ... | /**
* @file
*
* @brief benchmark for getenv
*
* @copyright BSD License (see doc/COPYING or http://www.libelektra.org)
*
*/
#include <keyset.hpp>
#include <kdbtimer.hpp>
#include <fstream>
#include <iostream>
#include <dlfcn.h>
#include <string.h>
extern "C" char **environ;
const long long nr_keys = 100;
// long l... | make nr_keys var+change to 100 | getenv: make nr_keys var+change to 100
| C++ | bsd-3-clause | BernhardDenner/libelektra,mpranj/libelektra,e1528532/libelektra,ElektraInitiative/libelektra,BernhardDenner/libelektra,ElektraInitiative/libelektra,petermax2/libelektra,petermax2/libelektra,petermax2/libelektra,mpranj/libelektra,mpranj/libelektra,petermax2/libelektra,mpranj/libelektra,ElektraInitiative/libelektra,peter... |
d9eee0cd32d07a773ddea79a9aab6b339592423c | src/main/activemq/util/PrimitiveValueNode.cpp | src/main/activemq/util/PrimitiveValueNode.cpp | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Fix segfault in unit tests | Fix segfault in unit tests
git-svn-id: 0fb8a5a922afe2085ae9a967a0cf0864fe09ecff@749820 13f79535-47bb-0310-9956-ffa450edef68
| C++ | apache-2.0 | apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp,apache/activemq-cpp |
eebbd9dc5c80e461dbfe024a02829b3a7a416c37 | utils/image.cc | utils/image.cc | #include "utils.hpp"
#include "image.hpp"
#include <cerrno>
#include <cstdio>
#include <cassert>
const Color Image::red(1, 0, 0);
const Color Image::green(0, 1, 0);
const Color Image::blue(0, 0, 1);
const Color Image::black(0, 0, 0);
const Color Image::white(1, 1, 1);
const Color somecolors[] = {
Color(0.0, 0.6, 0.0... | #include "utils.hpp"
#include "image.hpp"
#include <cerrno>
#include <cstdio>
#include <cassert>
const Color Image::red(1, 0, 0);
const Color Image::green(0, 1, 0);
const Color Image::blue(0, 0, 1);
const Color Image::black(0, 0, 0);
const Color Image::white(1, 1, 1);
const Color somecolors[] = {
Color(0.0, 0.6, 0.0... | fix translation. | image: fix translation.
| C++ | mit | eaburns/search,skiesel/search,skiesel/search,eaburns/search,eaburns/search,skiesel/search |
28d41f213a83ce0ec2a65ff6227550662b022c8d | src/mem/ruby/network/garnet2.0/NetworkLink.cc | src/mem/ruby/network/garnet2.0/NetworkLink.cc | /*
* Copyright (c) 2020 Advanced Micro Devices, Inc.
* Copyright (c) 2020 Inria
* Copyright (c) 2016 Georgia Institute of Technology
* Copyright (c) 2008 Princeton University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | /*
* Copyright (c) 2020 Advanced Micro Devices, Inc.
* Copyright (c) 2020 Inria
* Copyright (c) 2016 Georgia Institute of Technology
* Copyright (c) 2008 Princeton University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... | Allow empty vnet list for garnet network links | mem-garnet: Allow empty vnet list for garnet network links
An empty supporting_vnet list is the default and implies that
all vnets are supported. This removes the assert which requires
the list to have a minimum list size of 1.
Change-Id: I6710ba06041164bbd597d98e75374a26a1aa5655
Reviewed-on: https://gem5-review.goog... | C++ | bsd-3-clause | gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5,gem5/gem5 |
1bcb9f4934e35b9176ab1d97bf6c0798d64640ef | src/plugins/cppeditor/cppincludehierarchy.cpp | src/plugins/cppeditor/cppincludehierarchy.cpp | /****************************************************************************
**
** Copyright (C) 2014 Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may u... | /****************************************************************************
**
** Copyright (C) 2014 Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may u... | Fix size policy in CppIncludeHierarchyWidget | CppEditor: Fix size policy in CppIncludeHierarchyWidget
Re-produce the fixed problem with:
1. Shut down Qt Creator while having the include hierarchy sidebar
open.
2. Re-start Qt Creator - the side bar is displayed again, but the
"No include hierarchy available" label is not scaled at the full
... | C++ | lgpl-2.1 | amyvmiwei/qt-creator,danimo/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,xianian/qt-creator,farseerri/git_code,kuba1/qtcreator,AltarBeastiful/qt-creator,AltarB... |
a79d47c888e7ae12608f7809250f03e7aa3d3b10 | src/plugins/projectexplorer/ioutputparser.cpp | src/plugins/projectexplorer/ioutputparser.cpp | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this f... | Simplify detection of fatal errors a bit. | OutputParser: Simplify detection of fatal errors a bit.
Change-Id: I46f6942a8bee8a1c9711dc97db6424893dd3f276
Reviewed-by: Tobias Hunger <012f8d714267bccc9d4766fbeace9f175fcc70c4@digia.com>
| C++ | lgpl-2.1 | richardmg/qtcreator,maui-packages/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,richardmg/qtcreator,amyvmiwei/qt-creator,richardmg/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,colede/qtcreator,Distrotech/qtcreator,xianian/qt-creato... |
72f38d4f62e8dfd505af976c8a0d35b38592bb2b | src/togo/resource/resource_handler/shader.cpp | src/togo/resource/resource_handler/shader.cpp | #line 2 "togo/resource/resource_handler/shader.cpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
*/
#include <togo/config.hpp>
#include <togo/error/assert.hpp>
#include <togo/collection/array.hpp>
#include <togo/collection/fixed_array.hpp>
#include <togo/resource/types.hpp>
#include <to... | #line 2 "togo/resource/resource_handler/shader.cpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
*/
#include <togo/config.hpp>
#include <togo/error/assert.hpp>
#include <togo/collection/array.hpp>
#include <togo/collection/fixed_array.hpp>
#include <togo/resource/types.hpp>
#include <to... | print param block name hash in validation assertion. | resource/resource_handler/shader: print param block name hash in validation assertion.
| C++ | mit | komiga/togo,komiga/togo,komiga/togo |
e4922a4fdc7a3da3859fb04b2edfa317bb387385 | strapon/resource_manager/resource_manager.hpp | strapon/resource_manager/resource_manager.hpp | #ifndef RESOURCE_MANAGER_HPP
#define RESOURCE_MANAGER_HPP
#include <iostream>
#include <SDL2/SDL.h>
#include <string>
#include <map>
#include <iostream>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#ifdef __EMSCRIPTEN__
#include <SDL/SDL_mixer.h>
#else
#include <SDL2/SDL_mixer.h>
#endif
class ResourceManager... | #ifndef RESOURCE_MANAGER_HPP
#define RESOURCE_MANAGER_HPP
#include <iostream>
#include <SDL2/SDL.h>
#include <string>
#include <map>
#include <iostream>
#include <SDL2/SDL_image.h>
#ifdef __EMSCRIPTEN__
#include <SDL/SDL_mixer.h>
#include <SDL/SDL_ttf.h>
#else
#include <SDL2/SDL_mixer.h>
#include <SDL2/SDL_ttf.h>
#end... | Fix for emscripten | ResourceManager: Fix for emscripten
| C++ | mit | svenstaro/strapon |
4307b2ce216f54ee28f9ea51b33651eb244e1c3c | src/script/ismine.cpp | src/script/ismine.cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <script/ismine.h>
#include <key.h>
#include <keystore.h>
#include <scri... | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <script/ismine.h>
#include <key.h>
#include <keystore.h>
#include <scri... | Use anonymous namespace instead of static functions | Use anonymous namespace instead of static functions
| C++ | mit | chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin,chaincoin/chaincoin |
5fed164d7002f93fbe46c9e4b6d5c055a4635cb4 | lib/VMCore/IntrinsicInst.cpp | lib/VMCore/IntrinsicInst.cpp | //===-- InstrinsicInst.cpp - Intrinsic Instruction Wrappers -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... | //===-- InstrinsicInst.cpp - Intrinsic Instruction Wrappers -----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by James M. Laskey and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===------------------... | Update version in safe guards. | Update version in safe guards.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@32546 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-ep... |
b5754b092e633db64b2371eed16e496622e9755a | Modules/Learning/Supervised/include/otbNeuralNetworkMachineLearningModel.hxx | Modules/Learning/Supervised/include/otbNeuralNetworkMachineLearningModel.hxx | /*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | /*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of ... | remove debug cout | STY: remove debug cout
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
68a16d01bb72dfe7bf466de11ee3740f4f6a2d83 | automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.cpp | automated-tests/src/dali/dali-test-suite-utils/test-platform-abstraction.cpp | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | /*
* Copyright (c) 2014 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Fix Klocwork issue. | Fix Klocwork issue.
Change-Id: I134af7bf46aec9226f406d6f7ec81103fef52150
Signed-off-by: Victor Cebollada <bd4ca07245b7f4eb2d3ace02513dff6e050d7f4b@samsung.com>
| C++ | apache-2.0 | dalihub/dali-core,dalihub/dali-core,pwisbey/dali-core,pwisbey/dali-core,dalihub/dali-core,pwisbey/dali-core,pwisbey/dali-core,dalihub/dali-core |
b188058fd5f5ec23b90045af2ff451235de85f02 | 01/PrintAll.cpp | 01/PrintAll.cpp | #include <iostream>
#include "PrintAll.h"
using namespace std;
void samples::PrintEverything()
{
int integer = 10;
float decimal = 1.5f;
char letter = 'A';
char string[] = "Hello, world!";
cout << integer << endl;
cout << decimal << endl;
cout << letter << endl;
cout << string << endl;
return 0;
} | #include "PrintAll.h" | Revert "no message" | Revert "no message"
This reverts commit 3947e5cbf62d301e59921aaa5181a43bfe21c435.
| C++ | mit | popekim/CppSamples |
602ca6492750a87ef110a7bccf07b5bd574859ff | Game/Square.cpp | Game/Square.cpp | #include "Square.h"
Square::Square() {
// Vertices
vertexNr = 4;
vertexData = new Vertex[vertexNr];
vertexData[0] = {
glm::vec3(0.5f, 0.5f, 0.0f),
glm::vec3(0.0f, 0.0f, 1.0f),
glm::vec2(1.0f, 0.0f)
};
vertexData[1] = {
glm::vec3(-0.5f, -0.5f, 0.0f),
glm::vec3(0.0f, 0.0f, 1.0f),
glm::vec2(0.0f, 1.0f)... | #include "Square.h"
Square::Square() {
// Vertices
vertexNr = 4;
vertexData = new Vertex[vertexNr];
vertexData[0] = {
glm::vec3(0.5f, 0.5f, 0.0f),
glm::vec3(0.0f, 0.0f, 1.0f),
glm::vec2(1.0f, 0.0f),
glm::vec3(1.0f, 0.0f, 0.0f),
glm::vec3(0.0f, 1.0f, 0.0f)
};
vertexData[1] = {
glm::vec3(-0.5f, -0.5f,... | Add tangents and bitangents to Square | Add tangents and bitangents to Square
| C++ | mit | NinjaDanz3r/NinjaOctopushBurgersOfDoom,NinjaDanz3r/NinjaOctopushBurgersOfDoom |
236a805fd034a36908a7cdd8aa3d5fe3c6851828 | HumanPlayer.cpp | HumanPlayer.cpp | #include <cstdlib>
#include <cstdio>
#include <list>
#include <cctype>
#include "HumanPlayer.h"
#include "ChessBoard.h"
HumanPlayer::HumanPlayer(int color)
: ChessPlayer(color)
{}
HumanPlayer::~HumanPlayer()
{}
bool HumanPlayer::getMove(ChessBoard & board, Move & move)
{
list<Move> regulars, nulls;
char * input;
... | #include <cstdlib>
#include <cstdio>
#include <list>
#include <cctype>
#include <cstring>
#include "HumanPlayer.h"
#include "ChessBoard.h"
HumanPlayer::HumanPlayer(int color)
: ChessPlayer(color)
{}
HumanPlayer::~HumanPlayer()
{}
bool HumanPlayer::getMove(ChessBoard & board, Move & move)
{
list<Move> regulars, nul... | Allow user to exit by typing 'quit' | Allow user to exit by typing 'quit'
| C++ | bsd-2-clause | tobijk/simple-chess,tobijk/simple-chess |
3742fa1b670e7478c930fd93d502972edabd685c | KTp/contact.cpp | KTp/contact.cpp | /*
* Copyright (C) 2012 David Edmundson <kde@davidedmundson.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ver... | /*
* Copyright (C) 2012 David Edmundson <kde@davidedmundson.co.uk>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ver... | Fix signal connection | Fix signal connection
| C++ | lgpl-2.1 | KDE/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals |
38ef048d761817e8564051abcd3055c397f7e737 | test/AppTest/src/AppTestApp.cpp | test/AppTest/src/AppTestApp.cpp | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Texture.h"
#include "cinder/Log.h"
#include "cinder/CinderAssert.h"
#include "cinder/ImageIo.h"
#include "cinder/Text.h"
#include "cinder/Utilities.h"
#include "Resources.h"
#include <boost/format.hpp>
using ... | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/gl/Texture.h"
#include "cinder/Log.h"
#include "cinder/CinderAssert.h"
#include "cinder/ImageIo.h"
#include "cinder/Text.h"
#include "cinder/Utilities.h"
#include "Resources.h"
#include <boost/format.hpp>
using ... | add some framerate setting test code to AppTest | add some framerate setting test code to AppTest | C++ | bsd-2-clause | sosolimited/Cinder,sosolimited/Cinder,2666hz/Cinder,2666hz/Cinder,2666hz/Cinder,sosolimited/Cinder,morbozoo/sonyHeadphones,morbozoo/sonyHeadphones,sosolimited/Cinder,morbozoo/sonyHeadphones,2666hz/Cinder,morbozoo/sonyHeadphones |
8ec87473ac7087d73b4bd0897f86695908ef1eec | include/tao/pegtl/internal/always_false.hpp | include/tao/pegtl/internal/always_false.hpp | // Copyright (c) 2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_INTERNAL_ALWAYS_FALSE_HPP
#define TAO_PEGTL_INTERNAL_ALWAYS_FALSE_HPP
#include "../config.hpp"
#include <type_traits>
namespace tao
{
namespace TAO_PEGTL_NAMESPACE
... | // Copyright (c) 2018 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_INTERNAL_ALWAYS_FALSE_HPP
#define TAO_PEGTL_INTERNAL_ALWAYS_FALSE_HPP
#include "../config.hpp"
#include <type_traits>
namespace tao
{
namespace TAO_PEGTL_NAMESPACE
... | Fix helper | Fix helper
| C++ | mit | ColinH/PEGTL,ColinH/PEGTL |
4bc13e98c21f107ddfa5b56b81a156e95c948e88 | Source/modules/serviceworkers/RespondWithObserver.cpp | Source/modules/serviceworkers/RespondWithObserver.cpp | // Copyright 2014 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 "config.h"
#include "modules/serviceworkers/RespondWithObserver.h"
#include "V8Response.h"
#include "bindings/v8/ScriptFunction.h"
#include "bin... | // Copyright 2014 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 "config.h"
#include "modules/serviceworkers/RespondWithObserver.h"
#include "V8Response.h"
#include "bindings/v8/ScriptFunction.h"
#include "bin... | Fix crash in RespondWithObserver::respondWith | Fix crash in RespondWithObserver::respondWith
This is the same fix as r166987 for WaitUntilObserver.
No test is added. The upcoming Chromium CL
https://codereview.chromium.org/178343011/ caught
this crash so it will be tested by it.
BUG=342301
Review URL: https://codereview.chromium.org/192603002
git-svn-id: bf5cd... | C++ | bsd-3-clause | kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,modulexcite/blink,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,hgl888/blink-crosswalk-efl,nwjs/blink,crosswalk-project/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,Pluto... |
33805c64436117a4d24271c462ff818069c4bcf5 | test/click_transformer_test.cpp | test/click_transformer_test.cpp | #include "simplecp/click_transformer.h"
#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
#include <ros/console.h>
#include <ros/duration.h>
#include <ros/node_handle.h>
#include <ros/publisher.h>
#include <ros/subscriber.h>
#include <ros/time.h>
#include <ros/topic.h>
#include <visualization_msgs/InteractiveM... | #include "simplecp/click_transformer.h"
#include <boost/shared_ptr.hpp>
#include <gtest/gtest.h>
#include <ros/console.h>
#include <ros/duration.h>
#include <ros/node_handle.h>
#include <ros/publisher.h>
#include <ros/subscriber.h>
#include <ros/time.h>
#include <ros/topic.h>
#include <visualization_msgs/InteractiveM... | Use consistent click/drag times. | Use consistent click/drag times.
| C++ | mit | jstnhuang/simplecp |
2264f6c9134fd9d0ce4a96212370e45806743836 | frameworks/C++/lithium/lithium.cc | frameworks/C++/lithium/lithium.cc | #include "lithium_http_backend.hh"
#if TFB_MYSQL
#include "lithium_mysql.hh"
#elif TFB_PGSQL
#include "lithium_pgsql.hh"
#endif
#include "symbols.hh"
using namespace li;
template <typename B>
void escape_html_entities(B& buffer, const std::string& data)
{
for(size_t pos = 0; pos != data.size(); ++pos) {
... | #include "lithium_http_backend.hh"
#if TFB_MYSQL
#include "lithium_mysql.hh"
#elif TFB_PGSQL
#include "lithium_pgsql.hh"
#endif
#include "symbols.hh"
using namespace li;
template <typename B>
void escape_html_entities(B& buffer, const std::string& data)
{
for(size_t pos = 0; pos != data.size(); ++pos) {
... | Stop using max_connections SQL connections. (#5408) | Lithium: Stop using max_connections SQL connections. (#5408)
| C++ | bsd-3-clause | sagenschneider/FrameworkBenchmarks,jaguililla/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,MTDdk/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,RockinRoel/FrameworkBenchmarks,MTDdk/FrameworkBenchmarks,jamming/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,stefanocasazza/FrameworkBenchmarks,greenlaw110/Fra... |
8a61097500f891a51918eef717007be76306e389 | source/level_assembler.cxx | source/level_assembler.cxx | #include <boomhs/billboard.hpp>
#include <boomhs/components.hpp>
#include <boomhs/dungeon_generator.hpp>
#include <boomhs/level_assembler.hpp>
#include <boomhs/level_loader.hpp>
#include <boomhs/player.hpp>
#include <boomhs/start_area_generator.hpp>
#include <boomhs/tilegrid_algorithms.hpp>
#include <boomhs/world_objec... | #include <boomhs/billboard.hpp>
#include <boomhs/components.hpp>
#include <boomhs/dungeon_generator.hpp>
#include <boomhs/level_assembler.hpp>
#include <boomhs/level_loader.hpp>
#include <boomhs/player.hpp>
#include <boomhs/start_area_generator.hpp>
#include <boomhs/tilegrid_algorithms.hpp>
#include <boomhs/world_objec... | Add a bounding box to each OBJ loaded through the level assembler | Add a bounding box to each OBJ loaded through the level assembler
| C++ | mit | bjadamson/BoomHS,bjadamson/BoomHS |
b751058c517b20d9bbe3ecc8ca9bb1944b6338c0 | eval/src/vespa/eval/instruction/generic_peek.cpp | eval/src/vespa/eval/instruction/generic_peek.cpp | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "generic_peek.h"
#include <vespa/eval/eval/nested_loop.h>
#include <vespa/eval/eval/wrap_param.h>
#include <vespa/vespalib/util/overload.h>
#include <vespa/vespalib/util/stash.h>
#include <vespa/ve... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "generic_peek.h"
#include <vespa/eval/eval/nested_loop.h>
#include <vespa/eval/eval/wrap_param.h>
#include <vespa/vespalib/util/overload.h>
#include <vespa/vespalib/util/stash.h>
#include <vespa/ve... | fix bug found by AddressSanitizer | fix bug found by AddressSanitizer
* using "auto label" would copy the TensorSpec::Label (including
its string) into a temporary stack object, and then we would
reference into the temporary with a stringref.
| C++ | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
83cb09442ee76e4dfe1820432229e15a638371bc | tensorflow/core/tpu/tpu_initializer_helper.cc | tensorflow/core/tpu/tpu_initializer_helper.cc | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Update Cloud TPU VM topology env vars | Update Cloud TPU VM topology env vars
PiperOrigin-RevId: 402352593
Change-Id: I584f40675883106d5939b58522bfc3b10a6d167e
| C++ | apache-2.0 | tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tens... |
ab63bb576525aa44b0b2becd2fb17f74b2d017aa | test/test_main.cc | test/test_main.cc | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | /*
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | Add a flag to store perf results as a JSON file. | Add a flag to store perf results as a JSON file.
Add a flag to store perf results as a JSON file in the format specified
by https://github.com/catapult-project/catapult/blob/master/dashboard/docs/data-format.md
Bug: webrtc:7156
Change-Id: Ia5b0317f0f5dc8767fa219f42bc39bf4073203e8
Reviewed-on: https://webrtc-review.go... | C++ | bsd-3-clause | TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc |
26c2bca77ee80ae8b7413bd11f78280116606e78 | examples/exti/exti.cpp | examples/exti/exti.cpp | /*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
#include "config/stm32plus.h"
#include "config/button.h"
#include "config/exti.h"
using namespace stm32plus;
/**
* Button demo that u... | /*
* This file is a part of the open source stm32plus library.
* Copyright (c) 2011,2012,2013,2014 Andy Brown <www.andybrown.me.uk>
* Please see website for licensing terms.
*/
#include "config/stm32plus.h"
#include "config/button.h"
#include "config/exti.h"
using namespace stm32plus;
/**
* Button demo that u... | include f0 in comment | include f0 in comment
| C++ | bsd-3-clause | trigrass2/stm32plus,phynex/stm32plus,phynex/stm32plus,tokoro10g/stm32plus,phynex/stm32plus,ThanhVic/stm32plus,punkkeks/stm32plus,ThanhVic/stm32plus,punkkeks/stm32plus,trigrass2/stm32plus,ThanhVic/stm32plus,ThanhVic/stm32plus,lcbowling/stm32plus,tokoro10g/stm32plus,tokoro10g/stm32plus,lcbowling/stm32plus,tokoro10g/stm32... |
f1a93a0e613e46121039f8aa1415bb8f02946cf9 | src/option_manager.hh | src/option_manager.hh | #ifndef option_manager_hh_INCLUDED
#define option_manager_hh_INCLUDED
#include "completion.hh"
#include "containers.hh"
#include "exception.hh"
#include "flags.hh"
#include "option_types.hh"
#include "vector.hh"
#include <memory>
namespace Kakoune
{
class OptionManager;
enum class OptionFlags
{
None = 0,
... | #ifndef option_manager_hh_INCLUDED
#define option_manager_hh_INCLUDED
#include "completion.hh"
#include "containers.hh"
#include "exception.hh"
#include "flags.hh"
#include "option_types.hh"
#include "vector.hh"
#include <memory>
namespace Kakoune
{
class OptionManager;
enum class OptionFlags
{
None = 0,
... | Replace some const String& with StringView in option_manager.hh | Replace some const String& with StringView in option_manager.hh
| C++ | unlicense | ekie/kakoune,danr/kakoune,ekie/kakoune,jjthrash/kakoune,jkonecny12/kakoune,ekie/kakoune,mawww/kakoune,flavius/kakoune,occivink/kakoune,alexherbo2/kakoune,mawww/kakoune,lenormf/kakoune,mawww/kakoune,casimir/kakoune,occivink/kakoune,jjthrash/kakoune,Somasis/kakoune,flavius/kakoune,jjthrash/kakoune,danr/kakoune,Somasis/ka... |
32084534c185dc9dde301c58890a7fc1ff10ade6 | SurgSim/Devices/Novint/UnitTests/NovintDeviceTest.cpp | SurgSim/Devices/Novint/UnitTests/NovintDeviceTest.cpp | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | // This file is a part of the OpenSurgSim project.
// Copyright 2013, SimQuest Solutions Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICE... | Use the Framework::Clock alias in NovintDeviceTest. | Use the Framework::Clock alias in NovintDeviceTest.
| C++ | apache-2.0 | simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim |
0d02c2cbdf73bdf5a667aaf85ef8ab7b7feadb89 | renderer/shader/phong_shader.cc | renderer/shader/phong_shader.cc | /*
* Author: Dino Wernli
*/
#include "phong_shader.h"
#include <cmath>
#include <glog/logging.h>
#include <memory>
#include "renderer/intersection_data.h"
#include "scene/material.h"
#include "scene/point_light.h"
#include "scene/scene.h"
PhongShader::PhongShader(bool shadows) : shadows_(shadows) {
}
PhongShader... | /*
* Author: Dino Wernli
*/
#include "phong_shader.h"
#include <cmath>
#include <glog/logging.h>
#include <memory>
#include "renderer/intersection_data.h"
#include "scene/material.h"
#include "scene/point_light.h"
#include "scene/scene.h"
PhongShader::PhongShader(bool shadows) : shadows_(shadows) {
}
PhongShader... | Remove unnecessary clamping in phong shader. | Remove unnecessary clamping in phong shader.
| C++ | mit | dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer |
ec31600ca601eca956fca623b309655e83c9f94a | test/prototype_factory_test.cpp | test/prototype_factory_test.cpp | /**
*
* Modern Wheel : all the things that shouldn't be reinvented from one project to the other
*
* The MIT License (MIT)
*
* Copyright (C) 2015 Massimiliano Culpo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | /**
*
* Modern Wheel : all the things that shouldn't be reinvented from one project to the other
*
* The MIT License (MIT)
*
* Copyright (C) 2015 Massimiliano Culpo
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | Add virtual destructor to BaseMultiParms class (#16) | Add virtual destructor to BaseMultiParms class (#16)
| C++ | mit | alalazo/modern_wheel |
a6741a4f8ed167adda6b27a359eec9291e8b3b8e | rclcpp/test/rclcpp/test_logger.cpp | rclcpp/test/rclcpp/test_logger.cpp | // Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | // Copyright 2017 Open Source Robotics Foundation, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... | Add unit tests for logging functionality (#1184) | Add unit tests for logging functionality (#1184)
Signed-off-by: Stephen Brawner <b1d598fdd857fd94ea5d1ed6be6151604c16b92a@gmail.com> | C++ | apache-2.0 | ros2/rclcpp,ros2/rclcpp |
b985b5c9efdd158f4cf4ae71631c3df22e8e3a78 | res/generators/templates/api/platform/android/gen/jni/montana_js_wrap.cpp | res/generators/templates/api/platform/android/gen/jni/montana_js_wrap.cpp | #include "<%= $cur_module.name %>.h"
#include "MethodResultJni.h"
<%if $cur_module.is_template_default_instance %>
#include "api_generator/MethodResult.h"
#include "api_generator/MethodResultConvertor.h"
#include "api_generator/JSONResultConvertor.h"
<% end %>
#include "rhodes/JNIRhoJS.h"
#include "logging/RhoLog.h"
... | #include "<%= $cur_module.name %>.h"
#include "MethodResultJni.h"
<%if $cur_module.is_template_default_instance %>
#include "api_generator/MethodResult.h"
#include "api_generator/MethodResultConvertor.h"
#include "api_generator/JSONResultConvertor.h"
<% end %>
#include "rhodes/JNIRhoJS.h"
#include "logging/RhoLog.h"
... | Fix setDefault in generator | Android: Fix setDefault in generator
| C++ | mit | louisatome/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,UIKit0/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,louisatome/rhodes,UIKit0/rhodes,UIKit0/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,rhosilver/rhodes-1,UIKit0/rhodes,louisatome/rhodes,rhosilver/rhodes-1,louisatome/rhodes,rhosilver/rhodes-1,rhosilver/rhodes-1,rhosilver/rh... |
e722c9486b68198196ea2b5b9b7f3409e2559b57 | addons/medical/script_component.hpp | addons/medical/script_component.hpp | #define COMPONENT medical
#include "\z\fpa\addons\main\script_mod.hpp"
#define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\z\fpa\addons\main\script_macros.hpp"
| #define COMPONENT medical
#include "\z\fpa\addons\main\script_mod.hpp"
// #define DEBUG_MODE_FULL
// #define DISABLE_COMPILE_CACHE
// #define CBA_DEBUG_SYNCHRONOUS
// #define ENABLE_PERFORMANCE_COUNTERS
#include "\z\fpa\addons\main\script_macros.hpp"
| disable debug mode | disable debug mode
| C++ | mit | fparma/fparma-mods,fparma/fparma-mods,fparma/fparma-mods |
e507648688eefa966038e36241bf2e11847a19ce | Source/Samples/SamplesManager.cpp | Source/Samples/SamplesManager.cpp | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | //
// Copyright (c) 2017-2019 the rbfx project.
//
// 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, mer... | Fix use of --full-screen and --borderless flags with samples. | Samples: Fix use of --full-screen and --borderless flags with samples.
Fixes #164
| C++ | mit | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D |
9407ca7c9a561defa3d6132327d246a2be469b29 | Source/Tools/Editor/SceneView.cpp | Source/Tools/Editor/SceneView.cpp | //
// Copyright (c) 2008-2017 the Urho3D project.
//
// 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, m... | //
// Copyright (c) 2008-2017 the Urho3D project.
//
// 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, m... | Add button for toggling headlight of the scene camera | Editor: Add button for toggling headlight of the scene camera
| C++ | mit | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D |
718d0c7abbe0a279ca713e6c59acc83d722356ce | Testing/mitkExternalToolsTest.cpp | Testing/mitkExternalToolsTest.cpp | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile: mitkPropertyManager.cpp,v $
Language: C++
Date: $Date$
Version: $Revision: 1.12 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biological ... | /*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile: mitkPropertyManager.cpp,v $
Language: C++
Date: $Date$
Version: $Revision: 1.12 $
Copyright (c) German Cancer Research Center, Division of Medical and
Biological ... | FIX (#1513): Provide mechanism to add tools as external MITK developer | FIX (#1513): Provide mechanism to add tools as external MITK developer
Changing directory to MITK binary directory using chdir/_chdir now.
| C++ | bsd-3-clause | NifTK/MITK,iwegner/MITK,nocnokneo/MITK,MITK/MITK,iwegner/MITK,nocnokneo/MITK,iwegner/MITK,MITK/MITK,NifTK/MITK,fmilano/mitk,nocnokneo/MITK,fmilano/mitk,RabadanLab/MITKats,fmilano/mitk,NifTK/MITK,MITK/MITK,danielknorr/MITK,danielknorr/MITK,rfloca/MITK,nocnokneo/MITK,lsanzdiaz/MITK-BiiG,danielknorr/MITK,NifTK/MITK,nocnok... |
dcc5248dc537cf78e8b82c87b0910206ad61dcb5 | examples/maxcommonsubseq/testmaxcommonsubseq.cpp | examples/maxcommonsubseq/testmaxcommonsubseq.cpp | /* Copyright (c) 2013 Quanta Research Cambridge, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify... | /* Copyright (c) 2013 Quanta Research Cambridge, Inc
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify... | put back the checker | put back the checker
| C++ | mit | 8l/connectal,chenm001/connectal,cambridgehackers/connectal,chenm001/connectal,csail-csg/connectal,8l/connectal,cambridgehackers/connectal,chenm001/connectal,cambridgehackers/connectal,hanw/connectal,csail-csg/connectal,hanw/connectal,cambridgehackers/connectal,8l/connectal,8l/connectal,8l/connectal,chenm001/connectal,h... |
be57fee12b40394e9524fcf982f8e1a9d1cc1bea | examples/stm32f4_discovery/stm32f4_discovery.hpp | examples/stm32f4_discovery/stm32f4_discovery.hpp | // coding: utf-8
/* Copyright (c) 2013, Roboterclub Aachen e.V.
* All Rights Reserved.
*
* The file is part of the xpcc library and is released under the 3-clause BSD
* license. See the file `LICENSE` for the full license governing this code.
*/
// -----------------------------------------------------------------------... | // coding: utf-8
/* Copyright (c) 2013, Roboterclub Aachen e.V.
* All Rights Reserved.
*
* The file is part of the xpcc library and is released under the 3-clause BSD
* license. See the file `LICENSE` for the full license governing this code.
*/
// -----------------------------------------------------------------------... | Improve STM32F4 Discovery board header. | Examples: Improve STM32F4 Discovery board header. | C++ | bsd-3-clause | chrism333/xpcc,chrism333/xpcc,dergraaf/xpcc,dergraaf/xpcc,chrism333/xpcc,chrism333/xpcc,dergraaf/xpcc,dergraaf/xpcc |
fb71dd1fc8d83f7f908de56b9670de8f68426a06 | agi/migrate.cpp | agi/migrate.cpp | #include "ngraph.h"
#include <PCU.h>
#include <unordered_set>
#include <vector>
namespace agi {
typedef std::unordered_set<GraphVertex*> VertexVector;
//TODO: Make a vector by using a "tag" on the edges to detect added or not
typedef std::unordered_set<GraphEdge*> EdgeVector;
void Ngraph::updateGhostOwners(Migr... | #include "ngraph.h"
#include <PCU.h>
#include <unordered_set>
#include <vector>
namespace agi {
typedef std::unordered_set<GraphVertex*> VertexVector;
//TODO: Make a vector by using a "tag" on the edges to detect added or not
typedef std::unordered_set<GraphEdge*> EdgeVector;
void Ngraph::updateGhostOwners(Migr... | Fix a small compile error | Fix a small compile error
| C++ | bsd-3-clause | SCOREC/EnGPar,SCOREC/EnGPar,SCOREC/EnGPar |
cea3759383af0114544bb29803d86bd064924bff | modules/drivers/velodyne/parser/velodyne128_parser.cc | modules/drivers/velodyne/parser/velodyne128_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
... | /******************************************************************************
* 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
... | fix velodyne128 timestamp issue (#459) | Drivers: fix velodyne128 timestamp issue (#459)
| C++ | apache-2.0 | wanglei828/apollo,ycool/apollo,ApolloAuto/apollo,xiaoxq/apollo,wanglei828/apollo,ycool/apollo,ApolloAuto/apollo,ApolloAuto/apollo,wanglei828/apollo,ApolloAuto/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,jinghaomiao/apollo,jinghaomiao/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,wanglei828/apollo,jingha... |
30382a11c174b9fae6b5431fce93ca0f5fc75ced | modules/gles2/functional/es2fFboCompletenessTests.cpp | modules/gles2/functional/es2fFboCompletenessTests.cpp | /*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL (ES) Module
* -----------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... | /*-------------------------------------------------------------------------
* drawElements Quality Program OpenGL (ES) Module
* -----------------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use ... | Add RENDERBUFFER_VALID bit to R8, RG8 definition am: 1d7c8df82e | Add RENDERBUFFER_VALID bit to R8, RG8 definition
am: 1d7c8df82e
Change-Id: Icac62d124fbf4343bd4df66b996df29e141bf904
| C++ | apache-2.0 | googlestadia/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/Vulkan-CTS,googlestadia/VK-GL-CTS,KhronosGroup/VK-GL-CTS,googlestadia/VK-G... |
c485d9b25a3a739785b24f43f15de70aa8f3c83d | base/QtMain.cpp | base/QtMain.cpp | /*
* Copyright (c) 2012 Sacha Refshauge
*
*/
// Qt 4.7+ / 5.0+ implementation of the framework.
// Currently supports: Symbian, Blackberry, Meego, Linux, Windows
#include <QApplication>
#include <QUrl>
#include <QDir>
#include <QDesktopWidget>
#include <QDesktopServices>
#include <QLocale>
#include <QThread>
#ifde... | /*
* Copyright (c) 2012 Sacha Refshauge
*
*/
// Qt 4.7+ / 5.0+ implementation of the framework.
// Currently supports: Symbian, Blackberry, Meego, Linux, Windows
#include <QApplication>
#include <QUrl>
#include <QDir>
#include <QDesktopWidget>
#include <QDesktopServices>
#include <QLocale>
#include <QThread>
#ifde... | Increase vibration on Symbian. | Increase vibration on Symbian.
| C++ | mit | unknownbrackets/native,unknownbrackets/native,libretro/ppsspp-native,libretro/ppsspp-native,libretro/ppsspp-native,libretro/ppsspp-native,unknownbrackets/native,zhykzhykzhyk/ppsspp-native,hrydgard/native,hrydgard/native,zhykzhykzhyk/ppsspp-native,zhykzhykzhyk/ppsspp-native,zhykzhykzhyk/ppsspp-native,hrydgard/native,hry... |
8d57a8b8ba764b9a09ada35f7212fc2e9a2c1fbb | modules/gui/qt4/components/playlist/standardpanel.cpp | modules/gui/qt4/components/playlist/standardpanel.cpp | /*****************************************************************************
* standardpanel.cpp : The "standard" playlist panel : just a treeview
****************************************************************************
* Copyright (C) 2000-2005 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@... | /*****************************************************************************
* standardpanel.cpp : The "standard" playlist panel : just a treeview
****************************************************************************
* Copyright (C) 2000-2005 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@... | Fix the header menu popup when you have a header-state saved. | [Qt] Fix the header menu popup when you have a header-state saved.
| C++ | lgpl-2.1 | xkfz007/vlc,krichter722/vlc,shyamalschandra/vlc,jomanmuk/vlc-2.1,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,xkfz007/vlc,jomanmuk/vlc-2.2,jomanmuk/vlc-2.2,shyamalschandra/vlc,shyamalschandra/vlc,vlc-mirror/vlc,shyamalschandra/vlc,krichter722/vlc,xkfz007/vlc,jomanmuk/vlc-2.1,krichter722/vlc,vlc-mirror/vlc-2.1,vlc-mirror/vlc-2.1,v... |
000ebedaed8f4076e698c060a5180c35c798c435 | libs/vds_dht_network/impl/udp_transport.cpp | libs/vds_dht_network/impl/udp_transport.cpp | /*
Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com
All rights reserved
*/
#include "stdafx.h"
#include "private/udp_transport.h"
#include "messages/dht_route_messages.h"
#include "private/dht_session.h"
#include "logger.h"
#include "dht_network_client.h"
#include "dht_network_client_p.h"
vds::dht::network::udp... | /*
Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com
All rights reserved
*/
#include "stdafx.h"
#include "private/udp_transport.h"
#include "messages/dht_route_messages.h"
#include "private/dht_session.h"
#include "logger.h"
#include "dht_network_client.h"
#include "dht_network_client_p.h"
vds::dht::network::udp... | change UDP MTU size | change UDP MTU size
| C++ | mit | lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds,lboss75/vds |
41c12703f9d520844ce7c6f39785dddbf337bdc9 | libcaf_core/caf/optional.hpp | libcaf_core/caf/optional.hpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | Initialize temporaries in optional's inspect | Initialize temporaries in optional's inspect
| C++ | bsd-3-clause | actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework |
8c366626269a9225311fc2eeff8c0ffcddc31d1a | fml/message_loop_task_queues_unittests.cc | fml/message_loop_task_queues_unittests.cc | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/message_loop_task_queues.h"
#include <thread>
#include "flutter/fml/synchronization/count_down_latch.... | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#define FML_USED_ON_EMBEDDER
#include "flutter/fml/message_loop_task_queues.h"
#include <algorithm>
#include <cstdlib>
#include <thread>
#include "flutt... | Fix and re-enable flaky test `MessageLoopTaskQueue::ConcurrentQueueAndTaskCreatingCounts`. (#25826) | Fix and re-enable flaky test `MessageLoopTaskQueue::ConcurrentQueueAndTaskCreatingCounts`. (#25826)
| C++ | bsd-3-clause | jason-simmons/sky_engine,jason-simmons/flutter_engine,jamesr/flutter_engine,jason-simmons/flutter_engine,devoncarew/sky_engine,Hixie/sky_engine,chinmaygarde/flutter_engine,jason-simmons/sky_engine,devoncarew/engine,jamesr/flutter_engine,jason-simmons/flutter_engine,chinmaygarde/sky_engine,jason-simmons/sky_engine,devon... |
dad37444de893b131ccbf9e402a17615a067824a | agency/cuda/detail/future/event.hpp | agency/cuda/detail/future/event.hpp | #pragma once
#include <agency/detail/config.hpp>
#include <agency/cuda/detail/feature_test.hpp>
#include <agency/cuda/detail/terminate.hpp>
#include <agency/cuda/detail/launch_kernel.hpp>
#include <agency/cuda/detail/kernel.hpp>
#include <agency/cuda/detail/future/stream.hpp>
#include <agency/cuda/gpu.hpp>
namespace ... | #pragma once
#include <agency/detail/config.hpp>
#include <agency/cuda/detail/feature_test.hpp>
#include <agency/cuda/detail/terminate.hpp>
#include <agency/cuda/detail/launch_kernel.hpp>
#include <agency/cuda/detail/kernel.hpp>
#include <agency/cuda/detail/future/stream.hpp>
#include <agency/cuda/gpu.hpp>
namespace ... | Add cuda::detail::event::then_on() | Add cuda::detail::event::then_on()
| C++ | bsd-3-clause | egaburov/agency,egaburov/agency |
f72dff6adc0e3ef0283f4f34ef5f787d5c6f190a | akonadi/kcm/akonadiconfigmodule.cpp | akonadi/kcm/akonadiconfigmodule.cpp | /*
Copyright (c) 2008 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | /*
Copyright (c) 2008 Volker Krause <vkrause@kde.org>
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later versio... | Revert 910521, since most users will only need to configure resources. | Revert 910521, since most users will only need to configure resources.
svn path=/trunk/KDE/kdepim/; revision=910525
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
ac30830212e2d3884dd9afbba82261f876913c67 | dtrace_provider.cc | dtrace_provider.cc | #include "dtrace_provider.h"
#include <v8.h>
#include <node.h>
#include <stdio.h>
namespace node {
using namespace v8;
Persistent<FunctionTemplate> DTraceProvider::constructor_template;
void DTraceProvider::Initialize(Handle<Object> target) {
HandleScope scope;
Local<FunctionTemplate> t = Function... | #include "dtrace_provider.h"
#include <v8.h>
#include <node.h>
#include <stdio.h>
namespace node {
using namespace v8;
Persistent<FunctionTemplate> DTraceProvider::constructor_template;
void DTraceProvider::Initialize(Handle<Object> target) {
HandleScope scope;
Local<FunctionTemplate> t = Function... | Fix mismerge to master. | Fix mismerge to master.
| C++ | bsd-2-clause | dieface/node-dtrace-provider,DataSweeper/node-dtrace-provider,mgenereu/node-dtrace-provider,DataSweeper/node-dtrace-provider,tjfontaine/node-dtrace-provider,DataSweeper/node-dtrace-provider,dieface/node-dtrace-provider,mgenereu/node-dtrace-provider,dieface/node-dtrace-provider,DataSweeper/node-dtrace-provider,mgenereu/... |
e1c835b10358afc8e76f2bc0b8bcab4a6120cb0a | media/filters/ffmpeg_video_decode_engine.cc | media/filters/ffmpeg_video_decode_engine.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 "media/filters/ffmpeg_video_decode_engine.h"
#include "base/task.h"
#include "media/base/buffers.h"
#include "media/base/callback.h"
#includ... | // 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 "media/filters/ffmpeg_video_decode_engine.h"
#include "base/task.h"
#include "media/base/buffers.h"
#include "media/base/callback.h"
#includ... | Fix nested ifs and incorrect indentation in ffmpeg_video_decode_engine.cc. | Fix nested ifs and incorrect indentation in ffmpeg_video_decode_engine.cc.
No logic change, just inserting returns and de-nesting ifs.
BUG=none
TEST=media_unittests
Review URL: http://codereview.chromium.org/1735012
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@45788 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,gavinp/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,ropik/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-l... |
20d280d404b42a0eb48dcc025c2c14a697d376a7 | mjolnir/input/read_external_interaction.hpp | mjolnir/input/read_external_interaction.hpp | #ifndef MJOLNIR_READ_EXTERNAL_INTERACTION_HPP
#define MJOLNIR_READ_EXTERNAL_INTERACTION_HPP
#include <extlib/toml/toml.hpp>
#include <mjolnir/interaction/ExternalDistanceInteraction.hpp>
#include <mjolnir/core/AxisAlignedPlane.hpp>
#include <mjolnir/util/make_unique.hpp>
#include <mjolnir/util/throw_exception.hpp>
#inc... | #ifndef MJOLNIR_READ_EXTERNAL_INTERACTION_HPP
#define MJOLNIR_READ_EXTERNAL_INTERACTION_HPP
#include <extlib/toml/toml.hpp>
#include <mjolnir/interaction/ExternalDistanceInteraction.hpp>
#include <mjolnir/core/AxisAlignedPlane.hpp>
#include <mjolnir/util/make_unique.hpp>
#include <mjolnir/util/throw_exception.hpp>
#inc... | refactor read_external_interaction w/ toml11-v2 features | refactor read_external_interaction w/ toml11-v2 features
| C++ | mit | ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir |
fc35b267ac0b9bc755ada51c7bfb53e1970ac6b0 | pw_string/format_test.cc | pw_string/format_test.cc | // Copyright 2019 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | // Copyright 2019 The Pigweed Authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | Remove problematic test | pw_string: Remove problematic test
Remove a test that attempts to trigger a negative (error) return value
for snprintf. The format strings that trigger these errors vary by
platform, and a format that returns a negative result on one platform
(Linux) may crash another (Windows).
Change-Id: I7b60bc301cd534d0e78228829e... | C++ | apache-2.0 | google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed,google/pigweed |
ba344d8ce81804cb7d36f9891ee24afa3624660f | autotests/vktestbase.cpp | autotests/vktestbase.cpp | /*
* Unit tests for libkvkontakte.
* Copyright (C) 2015 Alexander Potashev <aspotashev@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... | /*
* Unit tests for libkvkontakte.
* Copyright (C) 2015 Alexander Potashev <aspotashev@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* ... | Fix crash in VkTestBase::accessToken() if authenticate() was not called | autotests: Fix crash in VkTestBase::accessToken() if authenticate() was not called
| C++ | lgpl-2.1 | KDE/libkvkontakte,KDE/libkvkontakte |
223fa4f0ce6fde93d646afa547828fb38807ce5f | tracking/save_camera_images.cpp | tracking/save_camera_images.cpp | #include "FlyCapture2.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <fstream>
#include <boost/filesystem.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
static void help()
{
std::cout
<< "-----------------------------------------------------... | #include "FlyCapture2.h"
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <fstream>
#include <boost/filesystem.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
static void help()
{
std::cout
<< "-----------------------------------------------------... | Convert image to grayscale before saving. | Convert image to grayscale before saving.
| C++ | bsd-3-clause | janelia-idf/stern_odor_rig,peterpolidoro/stern_odor_rig,peterpolidoro/stern_odor_rig,JaneliaSciComp/stern_odor_rig,JaneliaSciComp/stern_odor_rig,JaneliaSciComp/stern_odor_rig,peterpolidoro/stern_odor_rig,janelia-idf/stern_odor_rig,janelia-idf/stern_odor_rig |
3f044c0803b245b8ddfa80cb5e05425f2d5ebacf | Code/UtilitiesAdapters/OssimAdapters/otbAeronetFileReader.cxx | Code/UtilitiesAdapters/OssimAdapters/otbAeronetFileReader.cxx | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ... | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ... | Remove ossim dependencies from aeronet file reader | Remove ossim dependencies from aeronet file reader
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
7c44ccd39638b26dc98b8258e83e7a980728346e | Tudat/Astrodynamics/Radiation/UnitTests/unitTestParseSolarActivityData.cpp | Tudat/Astrodynamics/Radiation/UnitTests/unitTestParseSolarActivityData.cpp | /* Copyright (c) 2010-2012, Delft University of Technology
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
* - Redistributions of source code must retain the above copyright ... | /* Copyright (c) 2010-2016, Delft University of Technology
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
* - Redistributions of source code must retain the above copyright ... | Update current Tudat | Update current Tudat
| C++ | bsd-3-clause | DominicDirkx/tudat,JPelamatti/TudatDevelopment,DominicDirkx/tudat,Tudat/tudat,JPelamatti/TudatDevelopment,Tudat/tudat,Tudat/tudat,JPelamatti/TudatDevelopment,DominicDirkx/tudat,Tudat/tudat |
92983b9d00b8d36985c3d10f01158df96e2d0e23 | NFComm/NFKernelPlugin/NFScheduleModule.cpp | NFComm/NFKernelPlugin/NFScheduleModule.cpp | /*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2020 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... | /*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2020 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... | modify when invalid timer remove | modify when invalid timer remove
| C++ | apache-2.0 | ketoo/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFrame,zh423328/NoahGameFrame,ketoo/NoahGameFrame,ketoo/NoahGameFrame,ketoo/NoahGameFrame,zh423328/NoahGameFr... |
da9e09c6f61f410a1926ffef1be49909a98090be | OpenSim/Common/Test/testAPDMDataReader.cpp | OpenSim/Common/Test/testAPDMDataReader.cpp | /* -------------------------------------------------------------------------- *
* OpenSim: testAPDMDataReader.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | /* -------------------------------------------------------------------------- *
* OpenSim: testAPDMDataReader.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | Use different imu in testing last row of data | Use different imu in testing last row of data
| C++ | apache-2.0 | opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core |
37c707892172626f63dc1302ae8853e1ac86c7d3 | Rendering/OpenGL2/vtkOpenGLShaderCache.cxx | Rendering/OpenGL2/vtkOpenGLShaderCache.cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLShaderCache.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This soft... | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLShaderCache.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This soft... | Fix for compile issue on OpenGLES | Fix for compile issue on OpenGLES
| C++ | bsd-3-clause | demarle/VTK,gram526/VTK,SimVascular/VTK,sumedhasingla/VTK,gram526/VTK,sankhesh/VTK,sumedhasingla/VTK,msmolens/VTK,jmerkow/VTK,msmolens/VTK,sumedhasingla/VTK,candy7393/VTK,sankhesh/VTK,msmolens/VTK,gram526/VTK,msmolens/VTK,keithroe/vtkoptix,jmerkow/VTK,jmerkow/VTK,msmolens/VTK,sankhesh/VTK,keithroe/vtkoptix,sankhesh/VTK... |
13f18b143e84b3a0f899ca5712fbaa55ba68308d | src/persons-model.cpp | src/persons-model.cpp | /*
Persons Model
Copyright (C) 2012 Martin Klapetek <martin.klapetek@gmail.com>
Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.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 th... | /*
Persons Model
Copyright (C) 2012 Martin Klapetek <martin.klapetek@gmail.com>
Copyright (C) 2012 Aleix Pol Gonzalez <aleixpol@blue-systems.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 th... | Append the standalone contacts to the root item directly | Append the standalone contacts to the root item directly
| C++ | lgpl-2.1 | detrout/libkpeople-debian,detrout/libkpeople-debian,detrout/libkpeople-debian |
247866ef4f6af2368ab25e46c28cbdf142dceed0 | src/plugins/os/os.cpp | src/plugins/os/os.cpp | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Rüdiger Sonderfeld
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... | // vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Rüdiger Sonderfeld
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the r... | put sleep_ into hidden namespace | plugins.os: put sleep_ into hidden namespace
| C++ | mit | Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd,Flusspferd/flusspferd |
209864d7caa931c8b76e35241c47c9b74343c579 | tests/src/NetAccessorTest/NetAccessorTest.cpp | tests/src/NetAccessorTest/NetAccessorTest.cpp | /*
* Copyright 1999-2000,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | /*
* Copyright 1999-2000,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | Allow for old iostreams to be able to compile on some platforms. | Allow for old iostreams to be able to compile on some platforms.
git-svn-id: 95233098a850bdf68e142cb551b6b3e756f38fc7@436885 13f79535-47bb-0310-9956-ffa450edef68
| C++ | apache-2.0 | svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c,svn2github/xerces-c |
0bbc6042487364ef097765d3a7277e04a32f3268 | src/provider/main.cpp | src/provider/main.cpp | #include <chrono>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <iostream>
#include <string>
#include <vector>
#include "boost/filesystem.hpp"
#include "boost/lexical_cast.hpp"
#include "zmq.hpp"
#include "coral/fmi/fmu.hpp"
#include "coral/fmi/importer.hpp"
#include "coral/l... | #include <chrono>
#include <cstdint>
#include <cstdlib>
#include <cstring>
#include <exception>
#include <iostream>
#include <string>
#include <vector>
#include "boost/filesystem.hpp"
#include "boost/lexical_cast.hpp"
#include "zmq.hpp"
#include "coral/fmi/fmu.hpp"
#include "coral/fmi/importer.hpp"
#include "coral/l... | Update slave executable name in slave provider | Update slave executable name in slave provider
| C++ | mpl-2.0 | kyllingstad/coral,kyllingstad/coral,viproma/coral |
61b5b58ab7077a22d585a38f45400283d7a9e8d6 | specific_object_type_implementations.cpp | specific_object_type_implementations.cpp | /*
Copyright Eli Dupree and Isaac Dupree, 2011, 2012
This file is part of Lasercake.
Lasercake is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... | /*
Copyright Eli Dupree and Isaac Dupree, 2011, 2012
This file is part of Lasercake.
Lasercake is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... | Fix beam_first_contact_finder virtual method naming. | Fix beam_first_contact_finder virtual method naming.
I don't notice any practical effect from making this change
(I did check that I'm now overriding by using C++11 'override'
contextual-keyword, which I'm not leaving in the commit because
not enough compilers support it and the benefit of leaving it
there seems smal... | C++ | agpl-3.0 | idupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,elidupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,idupree/Lasercake,elidupree/Lasercake,idupree/Lasercake,Lasercake/Lasercake,idupree/Lasercake,elidupree/Lase... |
aa6b93169825738230d0b3c486d62ba3ed0ed2db | rtos/TARGET_CORTEX/SysTimer.cpp | rtos/TARGET_CORTEX/SysTimer.cpp | /* mbed Microcontroller Library
* Copyright (c) 2006-2012 ARM Limited
*
* 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... | /* mbed Microcontroller Library
* Copyright (c) 2006-2012 ARM Limited
*
* 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... | Fix possible bug with SysTimer | Fix possible bug with SysTimer
Ensure the SysTimer isn't added to the timer list twice by adding
an extra call to remove() inside suspend().
| C++ | apache-2.0 | mbedmicro/mbed,betzw/mbed-os,andcor02/mbed-os,betzw/mbed-os,mbedmicro/mbed,kjbracey-arm/mbed,mbedmicro/mbed,betzw/mbed-os,andcor02/mbed-os,c1728p9/mbed-os,c1728p9/mbed-os,kjbracey-arm/mbed,mbedmicro/mbed,c1728p9/mbed-os,c1728p9/mbed-os,andcor02/mbed-os,betzw/mbed-os,c1728p9/mbed-os,betzw/mbed-os,kjbracey-arm/mbed,mbedm... |
c27fe5fdce940ec249dd6df7880961373fdebafc | core/imt/inc/ROOT/TExecutor.hxx | core/imt/inc/ROOT/TExecutor.hxx | // @(#)root/thread:$Id$
// Author: Xavier Valls September 2020
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | // @(#)root/thread:$Id$
// Author: Xavier Valls September 2020
/*************************************************************************
* Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... | fix parameters for TSequentialExecutor | fix parameters for TSequentialExecutor
Avoid unused variable warnings
| C++ | lgpl-2.1 | root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root |
56d6070c6e9f8135479e7d96d9198e1ee1105dab | RPC/ProtoBuf.cc | RPC/ProtoBuf.cc | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... | /* Copyright (c) 2012 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR(S) DI... | Fix bug in printing log message | Fix bug in printing log message
| C++ | isc | dankenigsberg/logcabin,nhardt/logcabin,jimpelton/mingle-logcabin,dankenigsberg/logcabin,logcabin/logcabin,TigerZhang/logcabin,gaoning777/logcabin,logcabin/logcabin,chaozh/logcabin,logcabin/logcabin,jimpelton/mingle-logcabin,gaoning777/logcabin,gaoning777/logcabin,chaozh/logcabin,logcabin/logcabin,jimpelton/mingle-logca... |
9ec9a903a37be323d53d05de21f9fa105e24ee1c | cpp/Tests/TestsTensorConfig.cpp | cpp/Tests/TestsTensorConfig.cpp | #include "catch.hpp"
#include <cmath>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <vector>
#include <SmurffCpp/Types.h>
#include <SmurffCpp/Types.h>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/Utils/TensorUtils.h>
#include <SmurffCpp/Configs/TensorConfig.h>
namespace smurff {
... | #include "catch.hpp"
#include <cmath>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <vector>
#include <SmurffCpp/Types.h>
#include <SmurffCpp/Types.h>
#include <SmurffCpp/Utils/MatrixUtils.h>
#include <SmurffCpp/Utils/TensorUtils.h>
#include <Utils/Tensor.h>
namespace smurff {
TEST_CASE("DenseT... | test DenseTensor and SparseTensor i.o. TensorConfig | WIP: test DenseTensor and SparseTensor i.o. TensorConfig
| C++ | mit | ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff,ExaScience/smurff |
50172d19a17db4385d4e593176048e460e0b4c09 | cpp/add_ub_sigil_to_articles.cc | cpp/add_ub_sigil_to_articles.cc | /** \file
* \author Johannes Riedl
*
* New implementation to derive information for articles about being available in Tübingen
* from superior works and augment LOK data appropriately
*/
/*
Copyright (C) 2017, Library of the University of Tübingen
This program is free software: you can redistribute it... | /** \file add_ub_sigil_to_articles.cc
* \author Johannes Riedl
*
* New implementation to derive information for articles about being available in Tübingen
* from superior works and augment LOK data appropriately
*/
/*
Copyright (C) 2017, Library of the University of Tübingen
This program is free softw... | Update add_ub_sigil_to_articles.cc | Update add_ub_sigil_to_articles.cc | C++ | agpl-3.0 | ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools |
1a7d6665deafc1e35e5f8d56106a81a4686a6e44 | selfdrive/sensord/sensors_qcom2.cc | selfdrive/sensord/sensors_qcom2.cc | #include <sys/resource.h>
#include <chrono>
#include <thread>
#include <vector>
#include <poll.h>
#include <linux/gpio.h>
#include "cereal/messaging/messaging.h"
#include "common/i2c.h"
#include "common/swaglog.h"
#include "common/timing.h"
#include "common/util.h"
#include "selfdrive/sensord/sensors/bmx055_accel.h"
... | #include <sys/resource.h>
#include <chrono>
#include <thread>
#include <vector>
#include <poll.h>
#include <linux/gpio.h>
#include "cereal/messaging/messaging.h"
#include "common/i2c.h"
#include "common/swaglog.h"
#include "common/timing.h"
#include "common/util.h"
#include "selfdrive/sensord/sensors/bmx055_accel.h"
... | remove unnecessary brace pair (#25816) | sensord: remove unnecessary brace pair (#25816)
Remove unnecessary brace pair | C++ | mit | commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot |
95554a8fb4f518771da407ad2e492f4c0a55b72a | ui/views/corewm/tooltip_aura.cc | ui/views/corewm/tooltip_aura.cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/corewm/tooltip_aura.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "ui/aura/window.h"
#inclu... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/corewm/tooltip_aura.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "ui/aura/window.h"
#inclu... | Add padding around tooltip | Add padding around tooltip
I missed this in https://codereview.chromium.org/924433002.
mukai's label change is still under review in case you're interested.
BUG=None
TEST=manually tested with RTL,LTR multiline tooltips
Review URL: https://codereview.chromium.org/981933003
Cr-Commit-Position: 972c6d2dc6dd5efdad1377... | C++ | bsd-3-clause | axinging/chromium-crosswalk,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,ltilve/chromium,axinging/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,Pluto-tv/chromium-crosswal... |
f3930de28bfd13e29fa0cd4d78e7525be386383d | src/riscv-elf-file.cc | src/riscv-elf-file.cc | //
// riscv-elf-file.cc
//
#include <cstdio>
#include <cstdint>
#include <cerrno>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <sys/stat.h>
#include "riscv-elf.h"
#include "riscv-elf-file.h"
#include "riscv-elf-format.h"
#include "riscv-util.h"
elf_file::elf_file(std::string fi... | //
// riscv-elf-file.cc
//
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <cerrno>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <sys/stat.h>
#include "riscv-elf.h"
#include "riscv-elf-file.h"
#include "riscv-elf-format.h"
#include "riscv-util.h"
elf_file::elf_... | Add #include <cstring> to riscv-elf-file.cc | Add #include <cstring> to riscv-elf-file.cc
| C++ | mit | rv8-io/rv8,rv8-io/rv8,rv8-io/rv8 |
88695412607167315822d0ceca59f5d9bc5128a6 | unit_testing/test_unpublish.cpp | unit_testing/test_unpublish.cpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | Improve unpublish unit test | Improve unpublish unit test
| C++ | bsd-3-clause | szdavid92/actor-framework,actor-framework/actor-framework,tbenthompson/actor-framework,TanNgocDo/actor-framework,firegurafiku/actor-framework,actor-framework/actor-framework,cmaughan/actor-framework,szdavid92/actor-framework,actor-framework/actor-framework,tbenthompson/actor-framework,tempbottle/actor-framework,tempbot... |
43c0cee390ccfe0eff192a2d6e2f250298d70cd6 | unittests/ADT/BitVectorTest.cpp | unittests/ADT/BitVectorTest.cpp | //===- llvm/unittest/ADT/BitVectorTest.cpp - BitVector tests --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- llvm/unittest/ADT/BitVectorTest.cpp - BitVector tests --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix BitVectorTest on 32-bit hosts after r247972. We can't apply two words of 32-bit mask in the small case where the internal storage is just one 32-bit word. | Fix BitVectorTest on 32-bit hosts after r247972.
We can't apply two words of 32-bit mask in the small case
where the internal storage is just one 32-bit word.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@247974 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llv... |
8a21e77eb8a1c7cfbd284d3f471a102918668d91 | src/IntersonArrayCxxImagingContainer.cxx | src/IntersonArrayCxxImagingContainer.cxx | /*=========================================================================
Library: IntersonArray
Copyright Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 ( the "License" );
you may not use this file except in compliance with the... | /*=========================================================================
Library: IntersonArray
Copyright Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 ( the "License" );
you may not use this file except in compliance with the... | Fix Buffer Size | Fix Buffer Size
The buffer size in the Bmode image was to large. The buffer size is unaffacted
by scanWidth and scanHeight in the ScanConverter and appers to have a fixed size
of NBOLINES x MAX_SAMPLES.
Now teh BMode images is received at full depth and the image size does not ahve to
be set to MAX_SMAPLES/2.
| C++ | apache-2.0 | KitwareMedical/IntersonArraySDKCxx |
c04b650e7cbcdee53b07f71cb1428182133c21fc | src/Nazara/Shader/Ast/ExpressionType.cpp | src/Nazara/Shader/Ast/ExpressionType.cpp | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Shader module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Shader/Ast/ExpressionType.hpp>
#include <Nazara/Shader/Ast/AstCloner.hpp>
#include <Nazara/Shader... | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Shader module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Shader/Ast/ExpressionType.hpp>
#include <Nazara/Shader/Ast/AstCloner.hpp>
#include <Nazara/Shader... | Fix compilation | Fix compilation | C++ | mit | DigitalPulseSoftware/NazaraEngine |
1f6e213d1548156a4d415699433e89261204ec98 | src/RemoveDuplicatesfromSortedArray2.cpp | src/RemoveDuplicatesfromSortedArray2.cpp | //Follow up for "Remove Duplicates":
//What if duplicates are allowed at most twice?
//
//For example,
//Given sorted array A = [1,1,1,2,2,3],
//
//Your function should return length = 5, and A is now [1,1,2,2,3].
#include <iostream>
#include <vector>
#include <set>
#include <algorithm>
using namespace std... | //Follow up for "Remove Duplicates":
//What if duplicates are allowed at most twice?
//
//For example,
//Given sorted array A = [1,1,1,2,2,3],
//
//Your function should return length = 5, and A is now [1,1,2,2,3].
#include <iostream>
#include <vector>
#include <set>
#include <algorithm>
using namespace std... | Change Algorithm | Change Algorithm
This is more clear
| C++ | mit | lzz5235/leetcode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.