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
277cc6452e24b955f84438e4f221f53f33ea427f
Lib/Io/PinFactories.hpp
Lib/Io/PinFactories.hpp
/************************************************************************** Copyright 2015 Odin Holmes 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 Unles...
/************************************************************************** Copyright 2015 Odin Holmes 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 Unles...
Update PinFactories.hpp
Update PinFactories.hpp
C++
apache-2.0
porkybrain/Kvasir,porkybrain/Kvasir,porkybrain/Kvasir,kvasir-io/Kvasir,kvasir-io/Kvasir,kvasir-io/Kvasir
72798c7c7ed8d4e15216fc5ec473dfb01e0eedcc
chainerx_cc/chainerx/native/native_device/binary.cc
chainerx_cc/chainerx/native/native_device/binary.cc
#include "chainerx/native/native_device.h" #include "chainerx/array.h" #include "chainerx/device.h" #include "chainerx/dtype.h" #include "chainerx/kernels/binary.h" #include "chainerx/native/elementwise.h" #include "chainerx/native/kernel_regist.h" #include "chainerx/routines/binary.h" #include "chainerx/scalar.h" na...
#include "chainerx/native/native_device.h" #include "chainerx/array.h" #include "chainerx/device.h" #include "chainerx/dtype.h" #include "chainerx/kernels/binary.h" #include "chainerx/native/elementwise.h" #include "chainerx/native/kernel_regist.h" #include "chainerx/routines/binary.h" #include "chainerx/scalar.h" na...
Convert dtype from bool to int
Convert dtype from bool to int
C++
mit
okuta/chainer,niboshi/chainer,wkentaro/chainer,okuta/chainer,hvy/chainer,pfnet/chainer,wkentaro/chainer,wkentaro/chainer,hvy/chainer,niboshi/chainer,hvy/chainer,chainer/chainer,chainer/chainer,wkentaro/chainer,okuta/chainer,chainer/chainer,chainer/chainer,hvy/chainer,niboshi/chainer,okuta/chainer,niboshi/chainer
0062ab1694d4b590eecd28061673e9e7a8aa668d
qNewton/HEqNewton.cc
qNewton/HEqNewton.cc
#include <kv/Heine.hpp> #include <kv/qAiry.hpp> #include <kv/qBessel.hpp> #include <cmath> typedef kv::interval<double> itv; typedef kv::complex< kv::interval<double> > cp; using namespace std; int main() { cout.precision(17); int n=50; itv x,nu,q; q="0.7"; nu=2.5; x=3.5; for(int i=1;i<=n;i++){ x=x-kv...
#include <kv/Heine.hpp> #include <kv/qAiry.hpp> #include <kv/qBessel.hpp> #include <cmath> typedef kv::interval<double> itv; typedef kv::complex< kv::interval<double> > cp; using namespace std; int main() { cout.precision(17); int n=50; itv x,nu,q; q="0.7"; nu=2.5; x=3.5; for(int i=1;i<=n;i++){ x=x-kv...
Update HEqNewton.cc
Update HEqNewton.cc
C++
mit
Daisuke-Kanaizumi/q-special-functions,Daisuke-Kanaizumi/q-special-functions
8f19dde8b963fecfaad109bd07dc83fa50d24a88
compiler/ifa/sym.cpp
compiler/ifa/sym.cpp
#include "defs.h" #include "ast.h" #include "if1.h" #include "fa.h" #include "builtin.h" char *type_kind_string[] = { "NONE", "UNKNOWN", "LUB", "GLB", "PRODUCT", "RECORD", "VECTOR", "FUN", "REF", "TAGGED", "PRIMITIVE", "APPLICATION", "VARIABLE", "ALIAS"}; BasicSym::BasicSym(void) : name(NULL), in(NULL), typ...
#include "defs.h" #include "ast.h" #include "if1.h" #include "fa.h" #include "builtin.h" char *type_kind_string[] = { "NONE", "UNKNOWN", "LUB", "GLB", "PRODUCT", "RECORD", "VECTOR", "FUN", "REF", "TAGGED", "PRIMITIVE", "APPLICATION", "VARIABLE", "ALIAS"}; BasicSym::BasicSym(void) : name(NULL), in(NULL), typ...
Patch another performance issue. This time with the "nil" type.
Patch another performance issue. This time with the "nil" type. git-svn-id: 88467cb1fb04b8a755be7e1ee1026be4190196ef@5606 3a8e244f-b0f2-452b-bcba-4c88e055c3ca
C++
apache-2.0
chizarlicious/chapel,hildeth/chapel,chizarlicious/chapel,sungeunchoi/chapel,sungeunchoi/chapel,hildeth/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,hildeth/chapel,hildeth/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,hildeth/chapel,sungeunchoi/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,chizarlicious/chapel,sungeun...
f0c829b67d31b3785636a2ca91aa2fbf5f984c1e
chrome/browser/debugger/devtools_sanity_unittest.cc
chrome/browser/debugger/devtools_sanity_unittest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/...
// 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 "base/command_line.h" #include "base/path_service.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/...
Disable DevToolsSanityTest.TestPauseWhenLoadingDevTools and DevToolsSanityTest.TestPauseWhenScriptIsRunning. They started failing after a webkit roll on Linux.
Disable DevToolsSanityTest.TestPauseWhenLoadingDevTools and DevToolsSanityTest.TestPauseWhenScriptIsRunning. They started failing after a webkit roll on Linux. BUG=70639 Review URL: http://codereview.chromium.org/6266019 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@72357 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
2a92f0b12ca433c1166a6b560e7f4e7f36950e3a
chrome/browser/debugger/devtools_sanity_unittest.cc
chrome/browser/debugger/devtools_sanity_unittest.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/browser.h" #include "chrome/browser/debugger/devtools_client_host.h" #include "chrome/browser/...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/browser.h" #include "chrome/browser/debugger/devtools_client_host.h" #include "chrome/browser/...
Disable anther DevTools sanity test that was missed in r34516.
Disable anther DevTools sanity test that was missed in r34516. BUG=30418 TBR=pfeldman Review URL: http://codereview.chromium.org/500007 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@34522 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,ropik/chrom...
936e9f2a72d8026d8fc8a3d7ed306442ea8cb429
chrome/browser/views/options/user_data_page_view.cc
chrome/browser/views/options/user_data_page_view.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef CHROME_PERSONALIZATION #include "chrome/browser/views/user_data_page_view.h" #include "app/l10n_util.h" #include "base/path_service.h" #...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef CHROME_PERSONALIZATION #include "chrome/browser/views/options/user_data_page_view.h" #include "app/l10n_util.h" #include "base/path_serv...
Fix include path for header file to fix sync build. I'll hold off committing until Idan lets me know I didn't butcher anything else, too :) Review URL: http://codereview.chromium.org/165004
Fix include path for header file to fix sync build. I'll hold off committing until Idan lets me know I didn't butcher anything else, too :) Review URL: http://codereview.chromium.org/165004 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@22546 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Jonekee/chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,Pluto-tv/chromium-crosswalk,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,robclark/chromium,Jonekee/chromium.src,patrickm/chromium.src,littlstar/chromium.src,mogoweb/chromium-crosswalk,Chilledheart/chromium,jun...
2ddd6d0fd3bb72d00eac051d58b1b28876fd5a57
dune/stuff/common/parallel/threadmanager.cc
dune/stuff/common/parallel/threadmanager.cc
// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "config.h" #include "threadmanager.hh" #if HAVE_DUNE_FEM #include <dune/fem...
// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #include "config.h" #include "threadmanager.hh" #if HAVE_DUNE_FEM #include <dune/fem...
replace deprecated include
[common.parallel.threadmanager] replace deprecated include
C++
bsd-2-clause
renemilk/DUNE-Stuff,renemilk/DUNE-Stuff,renemilk/DUNE-Stuff
e31a197b7415042e6a87af0baacf2de95d3585b0
ecmd-core/ext/fapi2/capi/target_types.H
ecmd-core/ext/fapi2/capi/target_types.H
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2019 IBM International Business Machines Corp. * * 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 a...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2019 IBM International Business Machines Corp. * * 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 a...
update fapi2 multicastable type Signed-off-by: Kahn Evans <kahnevan@us.ibm.com>
update fapi2 multicastable type Signed-off-by: Kahn Evans <88417bcf564329fca88ff3071c3628a57ed3e5c7@us.ibm.com>
C++
apache-2.0
open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD
08212db733f886143b8d5f4daec18902e70fb247
python/brotlimodule.cc
python/brotlimodule.cc
#define PY_SSIZE_T_CLEAN 1 #include <Python.h> #include <bytesobject.h> #include "../enc/encode.h" #include "../dec/decode.h" #if PY_MAJOR_VERSION >= 3 #define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #endif using namespace brotli; static PyObject *BrotliError; static int mode_convertor(PyObject ...
#define PY_SSIZE_T_CLEAN 1 #include <Python.h> #include <bytesobject.h> #include "../enc/encode.h" #include "../dec/decode.h" #if PY_MAJOR_VERSION >= 3 #define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #endif using namespace brotli; static PyObject *BrotliError; static int mode_convertor(PyObject ...
fix C++11 warning about conversion from string literal to 'char *'
[brotlimodule.cc] fix C++11 warning about conversion from string literal to 'char *'
C++
mit
dragon788/brotli,smourier/brotli,fouzelddin/brotli,rayning0/brotli,Bulat-Ziganshin/brotli,fouzelddin/brotli,lukw00/brotli,IIoTeP9HuY/brotli,rafaelbc/brotli,leo237/brotli,carlhuting/brotli,rajathkumarmp/brotli,google/brotli,Abhikos/brotli,lzq8272587/brotli,jqk6/brotli,madhudskumar/brotli,cosmicwomp/brotli,ebiggers/brotl...
078c55321908ca6e94fb1f8592119ba7c6b6f0df
core/src/oned/ODReader.cpp
core/src/oned/ODReader.cpp
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
add comment about upsideDown/RSSExpanded/DecoderState
add comment about upsideDown/RSSExpanded/DecoderState See also #87.
C++
apache-2.0
huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp
6182c032c7e42ec8d78ee566a1058d960b13ff3f
engine/plugins/soundfile_api_libsndfile.cpp
engine/plugins/soundfile_api_libsndfile.cpp
// Copyright 2013 Samplecount S.L. // // 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 t...
// Copyright 2013 Samplecount S.L. // // 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 t...
Fix compilation errors
Fix compilation errors
C++
apache-2.0
samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla
c549965a159e8bb06794d5043782c37453504477
engine/core/linux/NativeWindowLinux.cpp
engine/core/linux/NativeWindowLinux.cpp
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include "../Setup.h" #include <stdexcept> #include <X11/extensions/Xrandr.h> #include "NativeWindowLinux.hpp" #include "EngineLinux.hpp" #if OUZEL_SUPPORTS_X11 namespace { constexpr long NET_WM_STATE_REMOVE = 0L; constexpr long NET_WM_STATE_ADD ...
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include "../Setup.h" #include <stdexcept> #include <X11/extensions/Xrandr.h> #include "NativeWindowLinux.hpp" #include "EngineLinux.hpp" #if OUZEL_SUPPORTS_X11 namespace { constexpr long NET_WM_STATE_REMOVE = 0L; constexpr long NET_WM_STATE_ADD ...
Fix window position on Linux
Fix window position on Linux
C++
unlicense
elnormous/ouzel,elnormous/ouzel,elnormous/ouzel
a4b30363e6ebd3428468b839a4e395da56b12a30
engine/thread/Thread.hpp
engine/thread/Thread.hpp
// Ouzel by Elviss Strazdins #ifndef OUZEL_THREAD_THREAD_HPP #define OUZEL_THREAD_THREAD_HPP #include <system_error> #include <thread> #ifdef _WIN32 # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # ifndef NOMINMAX # ...
// Ouzel by Elviss Strazdins #ifndef OUZEL_THREAD_THREAD_HPP #define OUZEL_THREAD_THREAD_HPP #include <system_error> #include <thread> #ifdef _WIN32 # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # ifndef NOMINMAX # ...
Join a joinable thread in move operator
Join a joinable thread in move operator
C++
unlicense
elnormous/ouzel,elnormous/ouzel,elnormous/ouzel
7f97f73c1b4c44e06989a9d8a7d5f4ba30078af3
environment/core/hlt.hpp
environment/core/hlt.hpp
#ifndef HLT_H #define HLT_H #include <list> #include <vector> #include <random> #include <algorithm> #include <functional> #include <iostream> #include <fstream> #include <assert.h> #include <array> #include "json.hpp" extern bool quiet_output; namespace hlt { constexpr auto MAX_PLAYERS = 4; constexpr auto ...
#ifndef HLT_H #define HLT_H #include <list> #include <vector> #include <random> #include <algorithm> #include <functional> #include <iostream> #include <fstream> #include <assert.h> #include <array> #include "json.hpp" extern bool quiet_output; namespace hlt { constexpr auto MAX_PLAYERS = 4; constexpr auto ...
Fix planet health calculation (whoops)
Fix planet health calculation (whoops)
C++
mit
lanyudhy/Halite-II,HaliteChallenge/Halite-II,lanyudhy/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,lanyudhy/Halite-II,lanyudhy/Halite-II,lanyudhy/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/Halite-II,HaliteChallenge/H...
29bae28aec1dd243d775d8114e3bd2b01bca8ba6
treeplayer/src/TTreeIndex.cxx
treeplayer/src/TTreeIndex.cxx
// @(#)root/tree:$Name: $:$Id: TTreeIndex.cxx,v 1.2 2004/07/09 07:41:43 brun Exp $ // Author: Rene Brun 05/07/2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. ...
// @(#)root/tree:$Name: $:$Id: TTreeIndex.cxx,v 1.3 2004/07/09 07:54:59 brun Exp $ // Author: Rene Brun 05/07/2004 /************************************************************************* * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. * * All rights reserved. ...
Extend the functionality of TTreeIndex::GetEntryNumberFriend to support additional cases like a Tree Index in the friend disconnected from the parent Tree. Add more comments in this key function explaining the steps and decisions.
Extend the functionality of TTreeIndex::GetEntryNumberFriend to support additional cases like a Tree Index in the friend disconnected from the parent Tree. Add more comments in this key function explaining the steps and decisions. git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@9473 27541ba8-7e3a-0410-8455-c3a38...
C++
lgpl-2.1
dawehner/root,dawehner/root,dawehner/root,dawehner/root,bbannier/ROOT,bbannier/ROOT,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT
cfbb72f812bf182b8bf87d72f9dbb2f090d424d8
daemon/timing_histogram.cc
daemon/timing_histogram.cc
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 * * ...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, 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 * * ...
Fix memoryleak in subdoc_execute stat
Fix memoryleak in subdoc_execute stat Change-Id: I1dda195c87b5e8d33d059c95ed6f7fb91057820d Reviewed-on: http://review.couchbase.org/57804 Well-Formed: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com> Tested-by: buildbot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com> Reviewed-by: Dave Rigby <...
C++
bsd-3-clause
daverigby/memcached,owendCB/memcached,couchbase/memcached,daverigby/memcached,daverigby/kv_engine,daverigby/memcached,daverigby/kv_engine,owendCB/memcached,couchbase/memcached,couchbase/memcached,daverigby/memcached,daverigby/kv_engine,daverigby/kv_engine,owendCB/memcached,couchbase/memcached,owendCB/memcached
a502592ffeae50a46506481cf93e426d5e852701
dune/stuff/grid/information.hh
dune/stuff/grid/information.hh
// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_GRID_INFORMATION_HH #define DUNE_STUFF_GRID_INFORMATION_HH #include...
// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_GRID_INFORMATION_HH #define DUNE_STUFF_GRID_INFORMATION_HH #include...
replace deprecated method
[grid.information] replace deprecated method
C++
bsd-2-clause
renemilk/DUNE-Stuff,renemilk/DUNE-Stuff,renemilk/DUNE-Stuff
daedc223785890eeaa40f2fd89a786c20ee15861
examples/heatTransfer/read/heatRead.cpp
examples/heatTransfer/read/heatRead.cpp
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * IO_ADIOS2.cpp * * Created on: Nov 2017 * Author: Norbert Podhorszki * */ #include <mpi.h> #include "adios2.h" #include <cstdint> #include <iomanip> #include <iostream> #include <...
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * IO_ADIOS2.cpp * * Created on: Nov 2017 * Author: Norbert Podhorszki * */ #include <mpi.h> #include "adios2.h" #include <cstdint> #include <iomanip> #include <iostream> #include <...
Fix reader schedule too
Fix reader schedule too
C++
apache-2.0
JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2,ornladios/ADIOS2
c71fab7465ed96758f5ad46482547dfaa75b236d
examples/src/system_information_example.cpp
examples/src/system_information_example.cpp
#include <cstdio> #include <iostream> #include "utility.hpp" // Inludes common necessary includes for development using depthai library #include "depthai/depthai.hpp" void printSystemInformation(dai::SystemInformation); int main() { using namespace std; dai::Pipeline pipeline; auto sysLog = pipeline....
#include <cstdio> #include <iostream> #include "utility.hpp" // Inludes common necessary includes for development using depthai library #include "depthai/depthai.hpp" void printSystemInformation(dai::SystemInformation); int main() { using namespace std; dai::Pipeline pipeline; auto sysLog = pipeline....
Move queue init after pipeline start in system information example
Move queue init after pipeline start in system information example
C++
mit
luxonis/depthai-core,luxonis/depthai-core,luxonis/depthai-core
8070f78451ce8c33bcac19e6261aaefa2dc260c6
content/renderer/media/android/media_info_loader.cc
content/renderer/media/android/media_info_loader.cc
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/android/media_info_loader.h" #include "base/bits.h" #include "base/callback_helpers.h" #include "base/metrics/histogram....
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/renderer/media/android/media_info_loader.h" #include "base/bits.h" #include "base/callback_helpers.h" #include "base/metrics/histogram....
Fix the issue of ContentShell can't play video with file scheme.
Fix the issue of ContentShell can't play video with file scheme. MediaInfoLoader checks single security origin and CROS access, but for media resources with file protocol, it always returns false, which disables local video playback. BUG=234710 TEST=video with file protocol Review URL: https://chromiumcodereview.app...
C++
bsd-3-clause
pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-...
d8a214444f94c42ac5346866da14ef5e5d2573c3
cpp/src/RoundRobinCodisPool.cpp
cpp/src/RoundRobinCodisPool.cpp
#include "RoundRobinCodisPool.h" #include "Log.h" #include "json/json.h" #include "ScopedLock.h" using namespace bfd::codis; RoundRobinCodisPool::RoundRobinCodisPool(const string& zookeeperAddr, const string& proxyPath, const string& businessID) :m_Zh(NULL), m_ZookeeperAddr(zookeeperAddr), m_ProxyPath(proxyP...
#include "RoundRobinCodisPool.h" #include "Log.h" #include "json/json.h" #include "ScopedLock.h" using namespace bfd::codis; RoundRobinCodisPool::RoundRobinCodisPool(const string& zookeeperAddr, const string& proxyPath, const string& businessID) :m_Zh(NULL), m_ZookeeperAddr(zookeeperAddr), m_ProxyPath(proxyP...
update getproxy
update getproxy
C++
apache-2.0
baifendian/CodisClient,baifendian/CodisClient,baifendian/CodisClient,baifendian/CodisClient,baifendian/CodisClient
827ad7a88c642d3f818077b7802581a621e8e0c8
chrome/browser/tab_contents/web_drag_dest_gtk.cc
chrome/browser/tab_contents/web_drag_dest_gtk.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" #include <string> #include "app/gtk_dnd_util.h" #include "base/file_path.h" #include "bas...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" #include <string> #include "app/gtk_dnd_util.h" #include "base/file_path.h" #include "bas...
Add a couple more drop targets to the render view.
Add a couple more drop targets to the render view. BUG=35063 TEST=see bug Review URL: http://codereview.chromium.org/1030001 git-svn-id: http://src.chromium.org/svn/trunk/src@41772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: b1509db625ece1f87d39c9601569e897c70cf23f
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
9cbff7fc179450fb07ec30400434620b8b1c6420
test/opengl/save_state.cpp
test/opengl/save_state.cpp
// Test doesn't build on windows, because OpenGL on windows is a nightmare. #ifdef _WIN32 #include <stdio.h> int main() { printf("Skipping test on Windows\n"); return 0; } #else #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <cstring> #include "../src/runtime/mini_opengl.h" #include "Halid...
// Test doesn't build on windows, because OpenGL on windows is a nightmare. #ifdef _WIN32 #include <stdio.h> int main() { printf("Skipping test on Windows\n"); return 0; } #else #include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <cstring> #include "../src/runtime/mini_opengl.h" #include "Halid...
Print a message if skipping tests
Print a message if skipping tests Also, move the check for initial state out of the conditional: it should be run no matter the OpenGL version.
C++
mit
psuriana/Halide,jiawen/Halide,psuriana/Halide,jiawen/Halide,jiawen/Halide,ronen/Halide,ronen/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,ronen/Halide,kgnk/Halide,jiawen/Halide,kgnk/Halide,jiawen/Halide,ronen/Halide,ronen/Halide,ronen/Halide,kgnk/Halide,psuriana/Halide,ronen/Halide,psuriana/Halide,kgnk/Halide,ronen/H...
8e0d4169eb4908bc697df0cf3aa36c8d70ce377f
demos/rlAxisControllerDemo/rlAxisControllerDemo.cpp
demos/rlAxisControllerDemo/rlAxisControllerDemo.cpp
// // Copyright (c) 2009, Markus Rickert // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of condit...
// // Copyright (c) 2009, Markus Rickert // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright notice, // this list of condit...
Use max. velocity, acceleration, and jerk values for interpolators
Use max. velocity, acceleration, and jerk values for interpolators
C++
bsd-2-clause
roboticslibrary/rl
ec3f920477ec67a64cdcdad527a4dfe2d5fb718a
DeviceAdapters/TriggerScope/TriggerScope.cpp
DeviceAdapters/TriggerScope/TriggerScope.cpp
/////////////////////////////////////////////////////////////////////////////// // FILE: TriggerScope.h // PROJECT: Micro-Manager // SUBSYSTEM: DeviceAdapters //----------------------------------------------------------------------------- // DESCRIPTION: Implements the ARC TriggerScope device adapt...
/////////////////////////////////////////////////////////////////////////////// // FILE: TriggerScope.h // PROJECT: Micro-Manager // SUBSYSTEM: DeviceAdapters //----------------------------------------------------------------------------- // DESCRIPTION: Implements the ARC TriggerScope device adapt...
Remove use of Microsoft-only functions
TriggerScope: Remove use of Microsoft-only functions git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@14961 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
C++
mit
kmdouglass/Micro-Manager,kmdouglass/Micro-Manager
2dede8bfbab5d353f91acc5f5fa7c21b1b1a4fea
sal/osl/unx/mutex.cxx
sal/osl/unx/mutex.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
Change from <osl/diagnose.h> to <sal/log.hxx> and add more logging
Change from <osl/diagnose.h> to <sal/log.hxx> and add more logging Change-Id: Iee8c093f5aa8306c3e5336d6dd5e801df6df87a4
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
593d202efa21266934edf5cb5d4c68077d67fe16
external/grpc/src/core/lib/gpr/thd_posix.cc
external/grpc/src/core/lib/gpr/thd_posix.cc
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
fix grpc thread name
external/grpc: fix grpc thread name - fix grpc thread naming issue
C++
apache-2.0
jeongchanKim/TizenRT,pillip8282/TizenRT,JeonginKim/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,jeongarmy/TizenRT,sunghan-chang/TizenRT,HONGCHAEHEE/TizenRT,Samsung/TizenRT,davidfather/TizenRT,pillip8282/TizenRT,pillip8282/TizenRT,jeongarmy/TizenRT,chanijjani/TizenRT,junmin-kim/Ti...
1da7fc4c6ade06ce0a458b56531c26b3cd0366a3
Source/Drivers/PS1080/Sensor/XnBayerImageProcessor.cpp
Source/Drivers/PS1080/Sensor/XnBayerImageProcessor.cpp
/***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
/***************************************************************************** * * * OpenNI 2.x Alpha * * Copyright (C) 2012 PrimeSense Ltd. * * ...
Reduce number of corrupt frames on BAYER input
Reduce number of corrupt frames on BAYER input
C++
apache-2.0
mediastanza/OpenNI2,vaughamhong/OpenNI2,medengineer/OpenNI2,cmcmurrough/OpenNI2,klpanagi/OpenNI2,mediastanza/OpenNI2,aldebaran/openni2,mediastanza/OpenNI2,mediastanza/OpenNI2,danielelic/OpenNI2,vamsirajendra/OpenNI2,nh2/OpenNI2,tomburtonwood/OpenNI2,corlab/OpenNI2,orbbec/OpenNI2,MasWag/OpenNI2,danielelic/OpenNI2,vaugha...
20051781444a46a29244bf179313010e3297c397
test/t_widget_resolver.cxx
test/t_widget_resolver.cxx
#include "widget_resolver.hxx" #include "widget_registry.hxx" #include "async.hxx" #include "widget.hxx" #include "widget_class.hxx" #include "pool.hxx" #include "RootPool.hxx" #include "event/Loop.hxx" #include "util/Cast.hxx" #include <assert.h> struct Context { struct { struct async_operation_ref async...
#include "widget_resolver.hxx" #include "widget_registry.hxx" #include "async.hxx" #include "widget.hxx" #include "widget_class.hxx" #include "pool.hxx" #include "RootPool.hxx" #include "event/Loop.hxx" #include "util/Cast.hxx" #include <assert.h> static struct Context *global; struct Context { struct { ...
add constructor
test/t_widget_resolver: add constructor
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
b28076cc364cfd37cae3a1690e11baf70a28c6be
modules/prediction/prediction.cc
modules/prediction/prediction.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 ...
make prediction module compile by disabling some interface functions temporarily
Prediction: make prediction module compile by disabling some interface functions temporarily
C++
apache-2.0
xiaoxq/apollo,ycool/apollo,jinghaomiao/apollo,jinghaomiao/apollo,xiaoxq/apollo,ycool/apollo,ApolloAuto/apollo,ycool/apollo,wanglei828/apollo,xiaoxq/apollo,wanglei828/apollo,ycool/apollo,jinghaomiao/apollo,ApolloAuto/apollo,ApolloAuto/apollo,ycool/apollo,jinghaomiao/apollo,jinghaomiao/apollo,jinghaomiao/apollo,wanglei82...
e300f7a4096ab9f73ccda8b52ac22068cd3855d8
testPlugins/s_Dustbust.cpp
testPlugins/s_Dustbust.cpp
static const char* const CLASS = "s_Dustbust"; static const char* const HELP = "s_Dustbust tries to remove dust in an" "intelligent way, using simple math and" "motionvectors."; // Standard plug-in include files. #include "DDImage/Iop.h" #include "DDImage/Row.h" #include "DDImage/Tile.h" #include "DDImage/Kn...
static const char* const CLASS = "s_Dustbust"; static const char* const HELP = "s_Dustbust tries to remove dust in an" "intelligent way, using simple math and" "motionvectors."; // Standard plug-in include files. #include "DDImage/Iop.h" #include "DDImage/Row.h" #include "DDImage/Tile.h" #include "DDImage/Kn...
Update s_Dustbust.cpp
Update s_Dustbust.cpp
C++
apache-2.0
zeemzoet/nuke,zeemzoet/nuke
c36a96b0697d45d2a07a537b6ebc13ec377ef685
net/http/http_network_session.cc
net/http/http_network_session.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/http/http_network_session.h" #include "base/logging.h" #include "net/http/http_auth_handler_factory.h" #include "net/http/url_security_...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/http/http_network_session.h" #include "base/logging.h" #include "net/http/http_auth_handler_factory.h" #include "net/http/url_security_...
Increase the global TCP socket limit. It's too low. wtc likes powers of 2, so I chose 256 as we discussed earlier. We need to experiment more in the future. BUG=41289
Increase the global TCP socket limit. It's too low. wtc likes powers of 2, so I chose 256 as we discussed earlier. We need to experiment more in the future. BUG=41289 Review URL: http://codereview.chromium.org/1692008 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@45600 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
dednal/chromium.src,junmin-zhu/chromium-rivertrail,ondra-novak/chromium.src,PeterWangIntel/chromium-crosswalk,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,ChromiumWebApps/chromium,robclark/chromium,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,fujunwei/chromium-crosswalk,nacl-webkit/chrome...
a2e6629766bc712e26192d55a852199a60bb34fb
tree.hpp
tree.hpp
#include <stdlib.h> #include <stdio.h> #include "node.hpp" using namespace std; class Tree { public: Tree(); ~Tree(); void insert(string key, int value); Node *search(string key); void destroy_tree(); void print(); private: int string_to_hash(string k...
#include <stdlib.h> #include <stdio.h> #include "node.hpp" using namespace std; class Tree { public: Tree(); ~Tree(); void insert(string key, int value); Node *search(string key); void destroy_tree(); void print(); private: int string_to_hash(string k...
Document depth first insert & depths first search
Document depth first insert & depths first search
C++
mit
kahnjw/treepp,kahnjw/treepp
ca23d656187c33f480b433e38009e0ae182d8c9f
search/closedlist.hpp
search/closedlist.hpp
#pragma once #include <cstdio> #include <typeinfo> #include <cstring> void dfpair(FILE *, const char *key, const char *fmt, ...); // utils.hpp enum { FillFact = 0 }; template<typename Node, typename D> struct ClosedEntry { Node *nxt; }; template<typename Ops, typename Node, typename D> struct ClosedList { enum ...
#pragma once #include <cstdio> #include <typeinfo> #include <cstring> void dfpair(FILE *, const char *key, const char *fmt, ...); // utils.hpp enum { FillFact = 0 }; template<typename Node, typename D> struct ClosedEntry { Node *nxt; }; template<typename Ops, typename Node, typename D> struct ClosedList { enum ...
Add a destructor for ClosedList.
Add a destructor for ClosedList.
C++
mit
eaburns/search,eaburns/search,skiesel/search,skiesel/search,eaburns/search,skiesel/search
19636d28c3b15c930f8c7ebeae96372fb9a86427
sensors/BM1422GMV.cpp
sensors/BM1422GMV.cpp
#ifndef _BM1422GMV_CPP #define _BM1422GMV_CPP //BM1422GMV register map #define BM1422GMV_REG_INFO_LSB 0x0D #define BM1422GMV_REG_INFO_MSB 0x0E #define BM1422GMV_REG_WHO_AM_I 0x0F #define BM1422GMV_REG_DATA_X_LSB 0x10 #def...
#ifndef _BM1422GMV_CPP #define _BM1422GMV_CPP //BM1422GMV register map #define BM1422GMV_REG_INFO_LSB 0x0D #define BM1422GMV_REG_INFO_MSB 0x0E #define BM1422GMV_REG_WHO_AM_I 0x0F #define BM1422GMV_REG_DATA_X_LSB 0x10 #def...
Update BM1422GMV.cpp
Update BM1422GMV.cpp
C++
mit
jgromes/RohmMultiSensor
6d0813609edc4b7df74aeec68ad55c0c7a43ea4a
ch14/ex14_16_StrBlob.cpp
ch14/ex14_16_StrBlob.cpp
#include "ex14_16_StrBlob.h" //================================================================== // // operators // //================================================================== bool operator==(const StrBlob& lhs, const StrBlob& rhs) { return *lhs.data == *rhs.data; } bool operator!=(const StrBlob& lhs,...
#include <algorithm> #include "ex14_16_StrBlob.h" //================================================================== // // StrBlob - operators // //================================================================== bool operator==(const StrBlob& lhs, const StrBlob& rhs) { return *lhs.data == *rhs.data; } bool...
Update ex14_16_StrBlob.cpp
Update ex14_16_StrBlob.cpp
C++
cc0-1.0
zhangzhizhongz3/CppPrimer,zhangzhizhongz3/CppPrimer
86558c9b877428d18350803927a51e6acd0b52f0
source/thewizardplusplus/wizard-basic-3/process_command_line_arguments.cpp
source/thewizardplusplus/wizard-basic-3/process_command_line_arguments.cpp
#include "process_command_line_arguments.h" #include <iostream> #include <boost/program_options.hpp> #include <boost/format.hpp> using namespace boost; using namespace boost::program_options; const auto POSITIONAL_ARGUMENT_SIGNLE_REPETITION = 1; const auto POSITIONAL_ARGUMENT_UNLIMITED_REPETITIONS = -1; namespace th...
#include "process_command_line_arguments.h" #include <iostream> #include <boost/program_options.hpp> #include <boost/format.hpp> using namespace boost; using namespace boost::program_options; const auto POSITIONAL_ARGUMENT_SIGNLE_REPETITION = 1; const auto POSITIONAL_ARGUMENT_UNLIMITED_REPETITIONS = -1; namespace th...
Correct of command line argument description.
Correct of command line argument description.
C++
mit
thewizardplusplus/wizard-basic-3,thewizardplusplus/wizard-basic-3
7f96eae10c91e45fc2ac7d9a47c88c4e5c2b824d
tutorial/lesson_01_basics.cpp
tutorial/lesson_01_basics.cpp
// Halide tutorial lesson 1. // This lesson demonstrates basic usage of Halide as a JIT compiler for imaging. // This lesson can be built by invoking the command: // make tutorial_lesson_01_basics // in a shell with the current directory at the top of the halide source tree. // Otherwise, see the platform-specific...
// Halide tutorial lesson 1. // This lesson demonstrates basic usage of Halide as a JIT compiler for imaging. // This lesson can be built by invoking the command: // make tutorial_lesson_01_basics // in a shell with the current directory at the top of the halide source tree. // Otherwise, see the platform-specific...
Update lesson_01_basics.cpp
Update lesson_01_basics.cpp Fix compile command on linux
C++
mit
dougkwan/Halide,psuriana/Halide,dougkwan/Halide,adasworks/Halide,dan-tull/Halide,ayanazmat/Halide,kgnk/Halide,ronen/Halide,fengzhyuan/Halide,fengzhyuan/Halide,adasworks/Halide,damienfir/Halide,damienfir/Halide,smxlong/Halide,dan-tull/Halide,psuriana/Halide,lglucin/Halide,aam/Halide,tdenniston/Halide,lglucin/Halide,adas...
81c5a10a8db5530eb028c85887f0cc73d16c04d3
connectivity/source/drivers/odbcbase/ODriver.cxx
connectivity/source/drivers/odbcbase/ODriver.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
Remove conflicting typedef
Remove conflicting typedef Barely used typedef produced compilation error on Solaris, due to already defined type 'SS'. Change-Id: I2d1d563d8c4818a4afe9656cc4a62ba1bbaaafd2
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
d56de849f8f328d8f3eaa7bc104225debb09c956
rcb_generator.hpp
rcb_generator.hpp
/*----------------------------------------------------------------------------------*\ | | | rcb_generator.hpp | | | | Copyright (c) 2016 Richard Cookman | | | | Permission is hereby granted, free of charge, to any person...
/*----------------------------------------------------------------------------------*\ | | | rcb_generator.hpp | | | | Copyright (c) 2016 Richard Cookman | | | | Permission is hereby granted, free of charge, to any person...
remove unneeded assignment
remove unneeded assignment
C++
mit
ceorron/cycle-bit-random-number-generator,ceorron/cycle-bit-random-number-generator
03b405007c67943d6b10a912e5209dcff21e4ded
ui/aura/desktop_host_linux.cc
ui/aura/desktop_host_linux.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/aura/desktop_host.h" #include <X11/cursorfont.h> #include <X11/Xlib.h> // Get rid of a macro from Xlib.h that conflicts with Aura's Roo...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/aura/desktop_host.h" #include <X11/cursorfont.h> #include <X11/Xlib.h> // Get rid of a macro from Xlib.h that conflicts with Aura's Roo...
Implement motion coalescing for XI2
Implement motion coalescing for XI2 BUG=None TEST=None Review URL: http://codereview.chromium.org/8363001 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@106519 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
yitian134/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,yitian...
04b9780b4e6f3e2618103f4b6abe7120410251ba
src/core/lib/security/credentials/external/external_account_credentials.cc
src/core/lib/security/credentials/external/external_account_credentials.cc
// // Copyright 2020 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
// // Copyright 2020 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
Update external_account_credentials.cc
Update external_account_credentials.cc
C++
apache-2.0
grpc/grpc,ejona86/grpc,jtattermusch/grpc,donnadionne/grpc,ctiller/grpc,nicolasnoble/grpc,ctiller/grpc,nicolasnoble/grpc,stanley-cheung/grpc,jtattermusch/grpc,donnadionne/grpc,nicolasnoble/grpc,stanley-cheung/grpc,jtattermusch/grpc,grpc/grpc,vjpai/grpc,ctiller/grpc,ctiller/grpc,ctiller/grpc,donnadionne/grpc,ejona86/grpc...
5deec061115bfe8e9e405f44bb60b0281cd9c252
MQ/src/CommandServer.cpp
MQ/src/CommandServer.cpp
/* * Copyright 2010 MQWeb - Franky Braem * * Licensed under the EUPL, Version 1.1 or – as soon they * will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the * Licence. * You may obtain a copy of the Licence at: ...
/* * Copyright 2010 MQWeb - Franky Braem * * Licensed under the EUPL, Version 1.1 or – as soon they * will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the * Licence. * You may obtain a copy of the Licence at: ...
Set expiry to PCF command message
Set expiry to PCF command message
C++
mit
fbraem/mqweb,fbraem/mqweb,fbraem/mqweb
e0e8e3229e676032abfcf85ea18a1dab3c211d83
MQ/src/PCFParameters.cpp
MQ/src/PCFParameters.cpp
/* * Copyright 2017 - KBC Group NV - Franky Braem - The MIT license * 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...
/* * Copyright 2017 - KBC Group NV - Franky Braem - The MIT license * 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...
Use while-loop and keep looping while length >= 0
Use while-loop and keep looping while length >= 0
C++
mit
fbraem/mqweb,fbraem/mqweb,fbraem/mqweb
82661736c199eaa9faa2c8a234efaa8916100823
opencog/atoms/core/RandomChoice.cc
opencog/atoms/core/RandomChoice.cc
/* * RandomChoice.cc * * Copyright (C) 2015 Linas Vepstas * * Author: Linas Vepstas <linasvepstas@gmail.com> January 2009 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundation and...
/* * RandomChoice.cc * * Copyright (C) 2015 Linas Vepstas * * Author: Linas Vepstas <linasvepstas@gmail.com> January 2009 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundation and...
Add weighted-pair code.
Add weighted-pair code.
C++
agpl-3.0
yantrabuddhi/atomspace,AmeBel/atomspace,ceefour/atomspace,ArvinPan/atomspace,inflector/atomspace,AmeBel/atomspace,inflector/atomspace,misgeatgit/atomspace,AmeBel/atomspace,inflector/atomspace,misgeatgit/atomspace,ArvinPan/atomspace,yantrabuddhi/atomspace,inflector/atomspace,yantrabuddhi/atomspace,rodsol/atomspace,rTreu...
77d7b48d78c3442fec7861b7dd5e547d09cd1981
Sorting/strangesort.cpp
Sorting/strangesort.cpp
// quicksort #include "util.h" using namespace std; int len; namespace NP_STRANGESORT { void printArray(A ** array, int size) { for (int index = 0; index < size; index++) { array[index]->print(); // cout << array[index] << ' '; } cout << "\n"; } void indexSwap(A ** array, int index1, int index2) { ...
// quicksort #include "util.h" using namespace std; int len; namespace NP_STRANGESORT { void printArray(A ** array, int size) { for (int index = 0; index < size; index++) { array[index]->print(); } cout << "\n"; } void indexSwap(A ** array, int index1, int index2) { A * tmp = array[index1]; array[i...
remove int comparison
remove int comparison
C++
mit
qwergram/CS133Assignment,qwergram/CS133Assignment
554d6990c201916cf2e1fcb47ce1ba6459ba08cc
runtime/cpp/Literals.hpp
runtime/cpp/Literals.hpp
#ifndef K3_RUNTIME_LITERALS_H #define K3_RUNTIME_LITERALS_H #include <list> #include <map> #include <memory> #include <string> #include <tuple> #include <vector> #include "boost/asio.hpp" #include "boost/fusion/include/std_pair.hpp" #include "boost/spirit/include/qi.hpp" namespace K3 { namespace qi = boost::spirit...
#ifndef K3_RUNTIME_LITERALS_H #define K3_RUNTIME_LITERALS_H #include <list> #include <map> #include <memory> #include <string> #include <tuple> #include <vector> #include "boost/asio.hpp" #include "boost/fusion/include/std_pair.hpp" #include "boost/spirit/include/qi.hpp" namespace K3 { namespace qi = boost::spirit...
Fix absence of square brackets in literal syntax.
Fix absence of square brackets in literal syntax.
C++
apache-2.0
DaMSL/K3,DaMSL/K3,yliu120/K3
cda07dafe57633439c67473f7c20b5f83316ba03
folly/futures/ThreadWheelTimekeeper.cpp
folly/futures/ThreadWheelTimekeeper.cpp
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2017 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Remove a few memory allocations in ThreadWheelTimekeeper.after()
Remove a few memory allocations in ThreadWheelTimekeeper.after() Summary: This diff reduces number of memory allocation in folly::ThreadWheelTimekeeper.after() method for a bit. * std::shared_ptr(new T) is replaced with std::make_shared<T>() * folly::Promise is stored by value Reviewed By: yfeldblum Differential ...
C++
apache-2.0
Orvid/folly,rklabs/folly,rklabs/folly,facebook/folly,Orvid/folly,rklabs/folly,rklabs/folly,Orvid/folly,facebook/folly,Orvid/folly,Orvid/folly,facebook/folly,rklabs/folly,facebook/folly,facebook/folly
161a263acf187f613e54d6f82e997b39856df96e
src/lib/convenience/RegisterProviderRequest.cpp
src/lib/convenience/RegisterProviderRequest.cpp
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version ...
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version ...
Remove PRINTF macro
Remove PRINTF macro
C++
agpl-3.0
telefonicaid/fiware-orion,Fiware/context.Orion,Fiware/data.Orion,jmcanterafonseca/fiware-orion,Fiware/context.Orion,Fiware/context.Orion,jmcanterafonseca/fiware-orion,guerrerocarlos/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion,telefonicaid/fiware-orion,gavioto/fiware-orion,Fiware/context.Orion,jmcan...
0e947458cca146b4245cf3aeb1b79c2e3f4ca228
sceneGraph/glc_world.cpp
sceneGraph/glc_world.cpp
/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) Version 1.2.0, packaged on September 2009. http://glc-lib.sourceforge.net GLC-lib is free software; you can redist...
/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) Version 1.2.0, packaged on September 2009. http://glc-lib.sourceforge.net GLC-lib is free software; you can redist...
Use the new interface of GLC_Struct.. classes.
Use the new interface of GLC_Struct.. classes.
C++
lgpl-2.1
3drepo/GLC_lib
74b02b781d20e6e009927ee9e6844f29673aac9c
src/userspace/console_user_server/console_user_server/include/receiver.hpp
src/userspace/console_user_server/console_user_server/include/receiver.hpp
#pragma once #include "constants.hpp" #include "local_datagram_server.hpp" class receiver final { public: void start(void) { try { const char* path = constants::get_console_user_socket_file_path(); unlink(path); server_ = std::make_unique<local_datagram_server>(path); chmod(path, 0600); ...
#pragma once #include "constants.hpp" #include "local_datagram_server.hpp" class receiver final { public: receiver(void) : exit_loop_(false) {} void start(void) { if (server_) { return; } const char* path = constants::get_console_user_socket_file_path(); unlink(path); server_ = std::ma...
add exit_loop_
add exit_loop_
C++
unlicense
jgosmann/Karabiner-Elements-Neo,epegzz/Karabiner-Elements,tekezo/Karabiner-Elements,jgosmann/Karabiner-Elements-Neo,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,epegzz/Karabiner-Elements,epegzz/Karabiner-Elements,jrolfs/Karabiner-Elements,jgosmann/Karabiner-Elements-Neo,jrolfs/Karabiner-Elements,jrolfs/Karabiner...
745cdce3de0a1010ed888485bfa32debc0842d9d
velib/include/vdb/vhdfsdb.hpp
velib/include/vdb/vhdfsdb.hpp
#ifndef __V_HDFS_DB_HPP__ #define __V_HDFS_DB_HPP__ #include "utility.hpp" #include "debug.hpp" #include "videotype.hpp" using namespace UtilityLib; class HdfsRecSession; class VHdfsDBData; class HdfsRecWrapper; class VE_LIBRARY_API VHdfsDB { public: typedef std::map<s32, HdfsRecSession*> _MapSession; public: VHdf...
#ifndef __V_HDFS_DB_HPP__ #define __V_HDFS_DB_HPP__ #include "utility.hpp" #include "debug.hpp" #include "videotype.hpp" using namespace UtilityLib; class HdfsRecSession; class VHdfsDBData; class HdfsRecWrapper; class VE_LIBRARY_API VHdfsDB { public: typedef std::map<s32, HdfsRecSession*> _MapSession; public: VHdf...
update hdfs db
update hdfs db
C++
mit
xsmart/opencvr,telecamera/opencvr,herocodemaster/opencvr,herocodemaster/opencvr,veyesys/opencvr,xsmart/opencvr,herocodemaster/opencvr,veyesys/opencvr,xsmart/opencvr,xiaojuntong/opencvr,veyesys/opencvr,xiaojuntong/opencvr,herocodemaster/opencvr,xsmart/opencvr,xsmart/opencvr,telecamera/opencvr,telecamera/opencvr,xiaojunt...
789188aa6d54859c11ed657e9b1c444fbb29cdcd
RawSpeed/TiffEntryBE.cpp
RawSpeed/TiffEntryBE.cpp
#include "StdAfx.h" #include "TiffEntryBE.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009 Klaus Post 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 ...
#include "StdAfx.h" #include "TiffEntryBE.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009 Klaus Post 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 ...
Fix broken Nikons
Fix broken Nikons git-svn-id: 04e88ac4940b0408b73cd6f458a224a262abaaff@250 ec705bc8-faf6-4f9b-9aff-b4916e9bedc3
C++
lgpl-2.1
jbuchbinder/rawspeed,jbuchbinder/rawspeed
e74b0c8495693ea052d3c7436fd7eb86cd29c94b
tests/auto/qserviceinterfacedescriptor/tst_qserviceinterfacedescriptor.cpp
tests/auto/qserviceinterfacedescriptor/tst_qserviceinterfacedescriptor.cpp
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usa...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usa...
test ~QSerivceINterfaceDescriptor
test ~QSerivceINterfaceDescriptor
C++
lgpl-2.1
enthought/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,KDE/android-qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,KDE/android-qt-mobility,KDE/android-qt-mobility,qtproject/...
293050a91973bd6a6974eb852a43438d447a3801
core/io/compression.cpp
core/io/compression.cpp
/*************************************************************************/ /* compression.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*************************************************************************/ /* compression.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Handle Z_BUF_ERROR in decompress_dynamic
Handle Z_BUF_ERROR in decompress_dynamic
C++
mit
godotengine/godot,Zylann/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,firefly2442/godot,Faless/godot,Valentactive/godot,josempans/godot,guilhermefelipecgs/godot,Valentactive/godot,Valentactive/godot,godotengine/godot,sanikoyes/godot,guilhermefelipecgs/godot,vkbsb/godot,pkowal1982/godot,godotengine/godot,vkbs...
3f3508e699ce4de4529750051b32b1cb5004165c
volo.cpp
volo.cpp
// Copyright (c) 2014 Josh Rickmar. // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. #include <volo.h> using namespace volo; WebContext WebContext::get_default() { return WebContext{}; } void WebContext::set_process_model(WebKitProcessModel model) { webkit_web_con...
// Copyright (c) 2014 Josh Rickmar. // Use of this source code is governed by an ISC // license that can be found in the LICENSE file. #include <volo.h> using namespace volo; WebContext WebContext::get_default() { return WebContext{}; } void WebContext::set_process_model(WebKitProcessModel model) { webkit_web_con...
Comment fix.
Comment fix.
C++
isc
jrick/volo
cb8ef7403cb068abd1b6284610f48297fe7c4a87
digitanks/src/digitanks/structures/collector.cpp
digitanks/src/digitanks/structures/collector.cpp
#include "collector.h" #include <renderer/renderer.h> #include <ui/digitankswindow.h> #include <ui/hud.h> #include <digitanksteam.h> #include <digitanksgame.h> REGISTER_ENTITY(CCollector); NETVAR_TABLE_BEGIN(CCollector); NETVAR_DEFINE(CEntityHandle<CResource>, m_hResource); NETVAR_TABLE_END(); SAVEDATA_TABLE_BEGI...
#include "collector.h" #include <renderer/renderer.h> #include <ui/digitankswindow.h> #include <ui/hud.h> #include <digitanksteam.h> #include <digitanksgame.h> REGISTER_ENTITY(CCollector); NETVAR_TABLE_BEGIN(CCollector); NETVAR_DEFINE(CEntityHandle<CResource>, m_hResource); NETVAR_TABLE_END(); SAVEDATA_TABLE_BEGI...
Fix bug where upgraded PSU's got disconnected.
Fix bug where upgraded PSU's got disconnected.
C++
bsd-3-clause
BSVino/Digitanks,BSVino/Digitanks,BSVino/Digitanks,BSVino/Digitanks
8a721460c98532688ef09def39382db9d535d5d8
cyber/croutine/croutine.cc
cyber/croutine/croutine.cc
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/****************************************************************************** * Copyright 2018 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
Add protect for croutine
framework: Add protect for croutine
C++
apache-2.0
ycool/apollo,wanglei828/apollo,ApolloAuto/apollo,jinghaomiao/apollo,xiaoxq/apollo,jinghaomiao/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,ApolloAuto/apollo,ApolloAuto/apollo,wanglei828/apollo,xiaoxq/apollo,ycool/apollo,wanglei828/apollo,ApolloAuto/apollo,xiaoxq/apollo,ycool/apollo,wanglei828/apollo,jinghaomiao...
2c0fbc0e8a07d26aa2832d29353cda0f17ce2dd9
dune/gdt/mapper/default/fv.hh
dune/gdt/mapper/default/fv.hh
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_MAPPER_DEFAULT_FV_HH #define DUNE_GDT_MAPPER_DEFAULT_FV_HH #include <type_traits> #i...
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_MAPPER_DEFAULT_FV_HH #define DUNE_GDT_MAPPER_DEFAULT_FV_HH #include <type_traits> #i...
move traits to internal namespace
[mapper.default.fv] move traits to internal namespace
C++
bsd-2-clause
ftalbrecht/dune-gdt,BarbaraV/dune-gdt
1dfb95de22990708b0172826803796c803d0b4f9
editor/editor_spin_slider.cpp
editor/editor_spin_slider.cpp
#include "editor_spin_slider.h" #include "editor_scale.h" #include "os/input.h" String EditorSpinSlider::get_text_value() const { int zeros = Math::step_decimals(get_step()); return String::num(get_value(), zeros); } void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) { Ref<InputEventMouseButton> mb =...
#include "editor_spin_slider.h" #include "editor_scale.h" #include "os/input.h" String EditorSpinSlider::get_text_value() const { int zeros = Math::step_decimals(get_step()); return String::num(get_value(), zeros); } void EditorSpinSlider::_gui_input(const Ref<InputEvent> &p_event) { Ref<InputEventMouseButton> mb =...
Fix compile error with clang
Fix compile error with clang
C++
mit
honix/godot,Paulloz/godot,sanikoyes/godot,okamstudio/godot,BastiaanOlij/godot,Valentactive/godot,guilhermefelipecgs/godot,godotengine/godot,mcanders/godot,ZuBsPaCe/godot,vkbsb/godot,godotengine/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,DmitriySalnikov/godot,firefly2442/godot,akien-mga/godot,akien-mga/godot,vnen/godot,...
aca4d730eca663941beb71f281aa70651471a28e
tools/tankview/tankview.cpp
tools/tankview/tankview.cpp
// tankview.cpp : Defines the entry point for the application. // #include "tankview.h" #include "Model.h" #include "config.h" #include "TextUtils.h" // for the stupid debug openGLcount model uses #ifdef DEBUG int __beginendCount; #endif class Application : public SimpleDisplayEventCallbacks { public: Application(...
// tankview.cpp : Defines the entry point for the application. // #include "tankview.h" #include "Model.h" #include "config.h" #include "TextUtils.h" // for the stupid debug openGLcount model uses #ifdef DEBUG int __beginendCount; #endif class Application : public SimpleDisplayEventCallbacks { public: Application(...
make normal drawing optional and draw the models properly now
make normal drawing optional and draw the models properly now
C++
lgpl-2.1
kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1,kongr45gpen/bzflag-import-1
1117d68077fa35a325a3466741c8409bd5545d11
tests/pool.cc
tests/pool.cc
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Libmemcached Client and Server * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Libmemcached Client and Server * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follow...
Fix Ubuntu compile find.
Fix Ubuntu compile find.
C++
bsd-3-clause
bigbes/libmemcached,Distrotech/libmemcached,Distrotech/libmemcached,bigbes/libmemcached,bigbes/libmemcached,Distrotech/libmemcached
aac679bfee34bb89b19acf25b4e6555632efa6d1
plugins/sound/renderer/ds3d/sndrdr.cpp
plugins/sound/renderer/ds3d/sndrdr.cpp
/* Copyright (C) 1998, 1999 by Nathaniel 'NooTe' Saint Martin Copyright (C) 1998, 1999 by Jorrit Tyberghein Written by Nathaniel 'NooTe' Saint Martin 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...
/* Copyright (C) 1998, 1999 by Nathaniel 'NooTe' Saint Martin Copyright (C) 1998, 1999 by Jorrit Tyberghein Written by Nathaniel 'NooTe' Saint Martin 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...
Support for proper volume setting.
Support for proper volume setting. git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@598 8cc4aa7f-3514-0410-904f-f2cc9021211c
C++
lgpl-2.1
crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS
e757785d0741a4ec3957fc65720d1a7c331d30cb
rf-server/main.cc
rf-server/main.cc
/* * Copyright 2011 Fundação CPqD * * 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 2011 Fundação CPqD * * 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...
Install BGP,ICMP flows to DP when a VM joins and associates with it.
Install BGP,ICMP flows to DP when a VM joins and associates with it.
C++
apache-2.0
raphaelvrosa/RouteFlow,c3m3gyanesh/RouteFlow-OpenConfig,CPqD/RouteFlow,arazmj/RouteFlow,rsanger/RouteFlow,routeflow/RouteFlow,raphaelvrosa/RouteFlow,ralph-mikera/RouteFlow-1,c3m3gyanesh/RouteFlow-OpenConfig,CPqD/RouteFlow,CPqD/RouteFlow,arazmj/RouteFlow,arazmj/RouteFlow,ralph-mikera/RouteFlow-1,routeflow/RouteFlow,ralp...
381a8b1b40b55dc4831c96d36e2f53219d212fcf
ksp_plugin_test/interface_external_test.cpp
ksp_plugin_test/interface_external_test.cpp
#include "ksp_plugin/interface.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "ksp_plugin_test/fake_plugin.hpp" #include "testing_utilities/componentwise.hpp" #include "testing_utilities/is_near.hpp" #include "testing_utilities/matchers.hpp" #include "testing_utilities/solar_system_factory.hpp" name...
#include "ksp_plugin/interface.hpp" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "ksp_plugin_test/fake_plugin.hpp" #include "testing_utilities/componentwise.hpp" #include "testing_utilities/is_near.hpp" #include "testing_utilities/matchers.hpp" #include "testing_utilities/solar_system_factory.hpp" name...
rename in the test too
rename in the test too
C++
mit
mockingbirdnest/Principia,pleroy/Principia,eggrobin/Principia,eggrobin/Principia,mockingbirdnest/Principia,eggrobin/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,pleroy/Principia,pleroy/Principia,pleroy/Principia
839cf217e24de58f07d683ab357d27d94791e1e2
training/augment_grammar.cc
training/augment_grammar.cc
#include <iostream> #include <vector> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> #include "rule_lexer.h" #include "trule.h" #include "filelib.h" #include "tdict.h" #include "lm/model.hh" #include "lm/enumerate_vocab.hh" #include "wordid.h" namespace po = boost::program_op...
#include <iostream> #include <vector> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> #include "rule_lexer.h" #include "trule.h" #include "filelib.h" #include "tdict.h" #include "lm/model.hh" #include "lm/enumerate_vocab.hh" #include "wordid.h" namespace po = boost::program_op...
deal with SOS
deal with SOS
C++
apache-2.0
agesmundo/FasterCubePruning,pks/cdec-dtrain-legacy,kho/mr-cdec,pks/cdec-dtrain-legacy,agesmundo/FasterCubePruning,agesmundo/FasterCubePruning,pks/cdec-dtrain-legacy,pks/cdec-dtrain-legacy,agesmundo/FasterCubePruning,kho/mr-cdec,kho/mr-cdec,agesmundo/FasterCubePruning,kho/mr-cdec,pks/cdec-dtrain-legacy,pks/cdec-dtrain-l...
52291bf1f1d5aad480b11b5378f0d85d94e5dc74
engine/src/Methcla/Memory.hpp
engine/src/Methcla/Memory.hpp
// Copyright 2012-2013 Samplecount S.L. // // 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 agr...
// Copyright 2012-2013 Samplecount S.L. // // 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 agr...
Check for gcc <= 4.8 instead of Android
Check for gcc <= 4.8 instead of Android
C++
apache-2.0
samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla,samplecount/methcla
fb799608d49df1f25b12a6e0de93690a11928dde
lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp
lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp
//===- MappedBlockStream.cpp - Reads stream data from a PDBFile -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- MappedBlockStream.cpp - Reads stream data from a PDBFile -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix size check when reading stream bytes.
[pdb] Fix size check when reading stream bytes. We were accidentally bounds checking the read against the output ArrayRef instead of against the size of the read. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@271040 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers...
276851c8b947757bcb64f885d96778cfe601d496
src/software/SfM/ImageCollection_F_ACRobust.hpp
src/software/SfM/ImageCollection_F_ACRobust.hpp
#pragma once #include "openMVG/multiview/solver_fundamental_kernel.hpp" #include "openMVG/robust_estimation/robust_estimator_ACRansac.hpp" #include "openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp" using namespace openMVG; using namespace openMVG::robust; //-- A contrario Functor to filter put...
#pragma once #include <limits> #include "openMVG/multiview/solver_fundamental_kernel.hpp" #include "openMVG/robust_estimation/robust_estimator_ACRansac.hpp" #include "openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp" using namespace openMVG; using namespace openMVG::robust; //-- A contrario Fun...
add default argument
add default argument
C++
mpl-2.0
Smozeley/openMVG,yoshidaken/openMVG,danylaksono/openMVG,Vinzza/openMVG,danylaksono/openMVG,openMVG/openMVG,mojovski/openMVG,Smozeley/openMVG,openMVG/openMVG,mojovski/openMVG,caymard/openMVG,caymard/openMVG,caymard/openMVG,yoshidaken/openMVG,openMVG/openMVG,danylaksono/openMVG,poparteu/openMVG,Vinzza/openMVG,poparteu/op...
5289944461feffd1993412ad04841510d5c2bccb
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...
fix timer initialization
fix timer initialization
C++
mit
8l/connectal,cambridgehackers/connectal,hanw/connectal,csail-csg/connectal,csail-csg/connectal,cambridgehackers/connectal,hanw/connectal,csail-csg/connectal,csail-csg/connectal,csail-csg/connectal,chenm001/connectal,8l/connectal,8l/connectal,chenm001/connectal,cambridgehackers/connectal,8l/connectal,hanw/connectal,camb...
02689f2d6932c2e0311337de0f7f3e558a9f4162
src/trusted/validator_arm/actual_vs_baseline.cc
src/trusted/validator_arm/actual_vs_baseline.cc
/* * Copyright (c) 2012 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef NACL_TRUSTED_BUT_NOT_TCB #error This file is not meant for use in the TCB #endif #include "native_client/src/trusted/validator_ar...
/* * Copyright (c) 2012 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef NACL_TRUSTED_BUT_NOT_TCB #error This file is not meant for use in the TCB #endif #include "native_client/src/trusted/validator_ar...
Fix a clang-discovered unused variable bug.
Fix a clang-discovered unused variable bug. This bug was introduced in https://codereview.chromium.org/12328043 It is minor, since the test itself is okay -- it just discards the computed values (since variables are unused) and recomputes them, using a POD-style structure equality comparison. R=kschimpf@google.com B...
C++
bsd-3-clause
sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client
3eda4c9eacf4c1436bfb0a691d4e6a6390433f10
runtime/hipacc_cpu.hpp
runtime/hipacc_cpu.hpp
// // Copyright (c) 2014, Saarland University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this // list of...
// // Copyright (c) 2014, Saarland University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this // list of...
Add missing header (GNU/Linux).
Add missing header (GNU/Linux).
C++
bsd-2-clause
hipacc/hipacc-vivado,hipacc/hipacc,hipacc/hipacc-vivado,hipacc/hipacc,hipacc/hipacc-vivado
5518e335bbaff2fa4ab3ff20a1ca60109a89eccf
libraries/USBDevice/USBSerial/USBSerial.cpp
libraries/USBDevice/USBSerial/USBSerial.cpp
/* Copyright (c) 2010-2011 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pu...
/* Copyright (c) 2010-2011 mbed.org, MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software * and associated documentation files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, modify, merge, pu...
Fix usb serial RX bug
Fix usb serial RX bug USBCDC::readEP already already called readStart, so we should not call it here. Signed-off-by: Paul Brook <a027184a55211cd23e3f3094f1fdc728df5e0500@nowt.org>
C++
apache-2.0
wodji/mbed,jpbrucker/mbed,tung7970/mbed-os,HeadsUpDisplayInc/mbed,rosterloh/mbed,alertby/mbed,sg-/mbed-drivers,mnlipp/mbed,tung7970/mbed-os-1,bulislaw/mbed-os,fpiot/mbed-ats,pradeep-gr/mbed-os5-onsemi,c1728p9/mbed-os,sam-geek/mbed,jrjang/mbed,j-greffe/mbed-os,andcor02/mbed-os,ban4jp/mbed,dbestm/mbed,Timmmm/mbed,nabilbe...
5a000baa138b5fae622be4be79afe694fa87d35a
src/AndroidClient.cpp
src/AndroidClient.cpp
#include <AndroidClient.h> #include <android/log.h> #include <vector> #include <memory> using namespace std; static jbyteArray convertToByteArray(JNIEnv * env, const std::string & s) { const jbyte * pNativeMessage = reinterpret_cast<const jbyte*>(s.c_str()); jbyteArray bytes = env->NewByteArray(s.size()); env-...
#include <AndroidClient.h> #include <android/log.h> #include <vector> #include <memory> using namespace std; static jbyteArray convertToByteArray(JNIEnv * env, const std::string & s) { const jbyte * pNativeMessage = reinterpret_cast<const jbyte*>(s.c_str()); jbyteArray bytes = env->NewByteArray(s.size()); env-...
enable logging, fix infinite loop
enable logging, fix infinite loop
C++
mit
Sometrik/httpclient,Sometrik/httpclient
0bad6fdb1f64140e81d5bd61d40a8c037fe65e41
src/DactTreeScene.cpp
src/DactTreeScene.cpp
#include <algorithm> #include <QDebug> #include <QFontMetrics> #include <QGraphicsSceneHoverEvent> #include <QGraphicsView> #include <QPainter> #include <QSettings> extern "C" { #include <libxml/parser.h> #include <libxml/tree.h> } #include "DactTreeScene.hh" #include "Edge.hh" #include "SecEdge.hh" #include "TreeNod...
#include <algorithm> #include <QDebug> #include <QFontMetrics> #include <QGraphicsSceneHoverEvent> #include <QGraphicsView> #include <QPainter> #include <QSettings> extern "C" { #include <libxml/parser.h> #include <libxml/tree.h> } #include "DactTreeScene.hh" #include "Edge.hh" #include "SecEdge.hh" #include "TreeNod...
Fix z-value for popup items.
Fix z-value for popup items.
C++
lgpl-2.1
evdmade01/dact,evdmade01/dact,rug-compling/dact,evdmade01/dact,rug-compling/dact
87d82f42a31ae9b3b00ee731700b595fc1306836
src/DirectedGraph.cpp
src/DirectedGraph.cpp
#include "DirectedGraph.h" #include <cassert> #include <iostream> #include "RawStatistics.h" using namespace std; DirectedGraph::DirectedGraph(int _id) : Graph(1, _id) { } DirectedGraph::DirectedGraph(const DirectedGraph & other) : Graph(other) { } std::shared_ptr<Graph> DirectedGraph::createSimilar() const {...
#include "DirectedGraph.h" #include <cassert> #include <iostream> #include "RawStatistics.h" using namespace std; DirectedGraph::DirectedGraph(int _id) : Graph(1, _id) { } DirectedGraph::DirectedGraph(const DirectedGraph & other) : Graph(other) { } std::shared_ptr<Graph> DirectedGraph::createSimilar() const {...
update temporal coverage and coverage based weight, only if temporal coverage is enabled
update temporal coverage and coverage based weight, only if temporal coverage is enabled
C++
mit
Sometrik/graphlib,Sometrik/graphlib
31f563e495026e94c4e09ad45dd3febc88370b4e
libqimessaging/qimessaging/details/genericvalue.hxx
libqimessaging/qimessaging/details/genericvalue.hxx
#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QIMESSAGING_DETAILS_GENERICVALUE_HXX_ #define _QI_MESSAGING_VALUE_HXX_ #include <boost/type_traits/remove_const.hpp> #include <qimessaging/typeint.hpp> namespace qi { class ValueClone { public: void* clone(void...
#pragma once /* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #ifndef _QIMESSAGING_DETAILS_GENERICVALUE_HXX_ #define _QIMESSAGING_DETAILS_GENERICVALUE_HXX_ #include <boost/type_traits/remove_const.hpp> #include <qimessaging/typeint.hpp> namespace qi { class ValueClone { public: vo...
fix double-include guard
genericvalue.hxx: fix double-include guard Change-Id: I32fa1b5962a92ee6b85448974316685bdb685a88
C++
bsd-3-clause
vbarbaresi/libqi,aldebaran/libqi-java,bsautron/libqi,aldebaran/libqi,aldebaran/libqi-java,aldebaran/libqi,aldebaran/libqi,aldebaran/libqi-java
2f955a3da73953a46cedea703f409e8463ded9a8
modules/desktop_capture/window_capturer_unittest.cc
modules/desktop_capture/window_capturer_unittest.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...
Disable WindowCapturer tests on OSX and Linux
Disable WindowCapturer tests on OSX and Linux R=alexeypa@chromium.org Review URL: https://webrtc-codereview.appspot.com/1533004 Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: 6ec25073e3b3c68731c24bf60ab65c02d263cdee
C++
bsd-3-clause
sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc
93b8211690cdfae288e3fb400e7f4765ac7d49f2
trunk/extension/src/svn.cpp
trunk/extension/src/svn.cpp
/******************************************************************************\ * File: svn.cpp * Purpose: Implementation of wxExSVN class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction in whole or part i...
/******************************************************************************\ * File: svn.cpp * Purpose: Implementation of wxExSVN class * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reproduction in whole or part i...
fix for return code
fix for return code git-svn-id: e171abefef93db0a74257c7d87d5b6400fe00c1f@2114 f22100f3-aa73-48fe-a4fb-fd497bb32605
C++
mit
antonvw/wxExtension,antonvw/wxExtension,antonvw/wxExtension
5c00b4af61bb6abff2fb28ddd904808623a7db23
tools/gold/gold-plugin.cpp
tools/gold/gold-plugin.cpp
//===-- gold-plugin.cpp - Plugin to gold for Link Time Optimization ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- gold-plugin.cpp - Plugin to gold for Link Time Optimization ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Fix to pass options from Gold plugin to LTO codegen
Fix to pass options from Gold plugin to LTO codegen git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@85419 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chu...
ca4286295f7db200724cb488a04ad15441a8ba99
tools/gold/gold-plugin.cpp
tools/gold/gold-plugin.cpp
//===-- gold-plugin.cpp - Plugin to gold for Link Time Optimization ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- gold-plugin.cpp - Plugin to gold for Link Time Optimization ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Add an option to the gold plugin to make it emit a file with the public api list that can in turn be passed to -internalize pass through -internalize-public-api-file.
Add an option to the gold plugin to make it emit a file with the public api list that can in turn be passed to -internalize pass through -internalize-public-api-file. Pass gold -plugin-opt=generate-api-file to produce "apifile.txt" in the current directory. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@65295 ...
C++
apache-2.0
llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/...
9c49ac15c14a1040752e310aec6826c17ac29830
extensions/browser/api/hid/hid_device_manager.cc
extensions/browser/api/hid/hid_device_manager.cc
// 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 "extensions/browser/api/hid/hid_device_manager.h" #include <limits> #include <vector> #include "base/lazy_instance.h" #include "device/core/dev...
// 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 "extensions/browser/api/hid/hid_device_manager.h" #include <limits> #include <vector> #include "base/lazy_instance.h" #include "device/core/dev...
Revert "extensions: Explicitly ignore result of CalledOnValidThread()."
Revert "extensions: Explicitly ignore result of CalledOnValidThread()." This reverts commit 7fb8b9950da0f1156d07e18dca5151f3f1457e2b. BUG=417939 TBR=rockot@chromium.org Review URL: https://codereview.chromium.org/609633002 Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#296845}
C++
bsd-3-clause
axinging/chromium-crosswalk,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,dednal/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,crosswalk-projec...
4b15a2b5308b66065068b87b4fae104c6dde4768
dune/gdt/operators/elliptic-swipdg.hh
dune/gdt/operators/elliptic-swipdg.hh
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG_HH #define DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG_HH #include <...
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG_HH #define DUNE_GDT_OPERATORS_ELLIPTIC_SWIPDG_HH #include <...
add todo, refs #32
[operators.elliptic-swipdg] add todo, refs #32
C++
bsd-2-clause
ftalbrecht/dune-gdt,BarbaraV/dune-gdt
1ed0b405281a7f2c9d5a587371c0b51794acc862
dune/grid/multiscale/provider/cube.hh
dune/grid/multiscale/provider/cube.hh
// This file is part of the dune-grid-multiscale project: // http://users.dune-project.org/projects/dune-grid-multiscale // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GRID_MULTISCALE_PROVIDER_CUBE_HH #define DUNE_GRID_MULTISCALE_PROVI...
// This file is part of the dune-grid-multiscale project: // http://users.dune-project.org/projects/dune-grid-multiscale // Copyright holders: Felix Albrecht // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GRID_MULTISCALE_PROVIDER_CUBE_HH #define DUNE_GRID_MULTISCALE_PROVI...
make gcc-6.1.1 happy
make gcc-6.1.1 happy
C++
bsd-2-clause
pymor/dune-grid-multiscale
b4bed96ea56cf8ce2fadcebe0d81315734c0be66
src/SpectrumMatch.cpp
src/SpectrumMatch.cpp
#include <algorithm> #include <math.h> #include <tuple> #include "SpectrumMatch.h" using namespace ann_solo; SpectrumSpectrumMatch* SpectrumMatcher::dot( Spectrum *query, std::vector<Spectrum*> candidates, double fragment_mz_tolerance, bool allow_shift) { // compute a dot product score between the query spect...
#include <algorithm> #include <math.h> #include <tuple> #include "SpectrumMatch.h" using namespace ann_solo; SpectrumSpectrumMatch* SpectrumMatcher::dot( Spectrum *query, std::vector<Spectrum*> candidates, double fragment_mz_tolerance, bool allow_shift) { // compute a dot product score between the query spect...
Check whether the _absolute_ mass diff is bigger than the tolerance
Check whether the _absolute_ mass diff is bigger than the tolerance
C++
apache-2.0
bittremieux/ANN-SoLo,bittremieux/ANN-SoLo
31018d5e618449e834919bf66cafbf71705153e3
Source/Processing/Test/NoteRgbSourceTest.cpp
Source/Processing/Test/NoteRgbSourceTest.cpp
/** * @file * @copyright (c) Daniel Schenk, 2017 * This file is part of MLC2. * * @brief Unit test for NoteRgbSource. */ #include <gtest/gtest.h> #include <Drivers/Mock/MockMidiInput.h> #include "../NoteRgbSource.h" #include "../LinearRgbFunction.h" using ::testing::_; using ::testing::SaveArg; using ::testin...
/** * @file * @copyright (c) Daniel Schenk, 2017 * This file is part of MLC2. * * @brief Unit test for NoteRgbSource. */ #include <gtest/gtest.h> #include <Drivers/Mock/MockMidiInput.h> #include "../NoteRgbSource.h" #include "../LinearRgbFunction.h" using ::testing::_; using ::testing::SaveArg; using ::testin...
Add another NoteRgbSource test
Add another NoteRgbSource test
C++
mit
danielschenk/mlc2,danielschenk/mlc2,danielschenk/mlc2
d1fa44be8f5f0510f2de29d461514566254a57c2
Source/Processing/Test/NoteRgbSourceTest.cpp
Source/Processing/Test/NoteRgbSourceTest.cpp
/** * @file * @copyright (c) Daniel Schenk, 2017 * This file is part of MLC2. * * @brief Unit test for NoteRgbSource. */ #include <gtest/gtest.h> #include <Drivers/Mock/MockMidiInput.h> #include "../NoteRgbSource.h" using ::testing::_; using ::testing::SaveArg; using ::testing::Return; class NoteRgbSourceTes...
/** * @file * @copyright (c) Daniel Schenk, 2017 * This file is part of MLC2. * * @brief Unit test for NoteRgbSource. */ #include <gtest/gtest.h> #include <Drivers/Mock/MockMidiInput.h> #include "../NoteRgbSource.h" using ::testing::_; using ::testing::SaveArg; using ::testing::Return; class NoteRgbSourceTes...
Fix unit test
Fix unit test
C++
mit
danielschenk/mlc2,danielschenk/mlc2,danielschenk/mlc2
3e58119fbfceec620baf53c35aae8ab52417ee69
Source/core/dom/MainThreadTaskRunnerTest.cpp
Source/core/dom/MainThreadTaskRunnerTest.cpp
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * Copyright (C) 2013 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
/* * Copyright (C) 2008 Apple Inc. All Rights Reserved. * Copyright (C) 2013 Google Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
Remove wrong overload.
Remove wrong overload. This is a build fix against r161710. TBR=abarth BUG=305497 Review URL: https://codereview.chromium.org/68593002 git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@161714 bbb929c8-8fbe-4397-9dbb-9b2b20218538
C++
bsd-3-clause
primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs
0eeac1c10fdd0adab6be3001d0929fe2d89d0364
VisualizationBase/src/items/TextRenderer.cpp
VisualizationBase/src/items/TextRenderer.cpp
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2014 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** following c...
Optimize TextRenderer to only set the new text when it is different.
Optimize TextRenderer to only set the new text when it is different.
C++
bsd-3-clause
dimitar-asenov/Envision,Vaishal-shah/Envision,mgalbier/Envision,Vaishal-shah/Envision,dimitar-asenov/Envision,mgalbier/Envision,dimitar-asenov/Envision,lukedirtwalker/Envision,lukedirtwalker/Envision,Vaishal-shah/Envision,mgalbier/Envision,lukedirtwalker/Envision,Vaishal-shah/Envision,Vaishal-shah/Envision,mgalbier/Env...
dd5f169b32278fd06fc35b5fc09600b22c91650b
chrome/browser/ui/panels/detached_panel_browsertest.cc
chrome/browser/ui/panels/detached_panel_browsertest.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/message_loop.h" #include "chrome/browser/ui/panels/base_panel_browser_test.h" #include "chrome/browser/ui/panels/detached_panel_collect...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/message_loop.h" #include "chrome/browser/ui/panels/base_panel_browser_test.h" #include "chrome/browser/ui/panels/detached_panel_collect...
Fix and reenable DetachedPanelBrowserTest.CheckDetachedPanelProperties
Fix and reenable DetachedPanelBrowserTest.CheckDetachedPanelProperties The failure is due to that the minimize button is not shown on some Linux desktop environment that does not support system minimize well. The fix is to add the check for that. BUG=143247 TEST=test reenabled Review URL: https://chromiumcodereview....
C++
bsd-3-clause
markYoungH/chromium.src,anirudhSK/chromium,Chilledheart/chromium,jaruba/chromium.src,mogoweb/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,ondra-novak/chromium.src,jaruba/chromium.src,dushu1203/chromium.src,M4sse/chromium.src,Jonekee/chromium.src,bright-s...
1cabead420ff11bd51d4ae4e01c23062c50e881e
pythran/pythonic/include/numpy/dot.hpp
pythran/pythonic/include/numpy/dot.hpp
#ifndef PYTHONIC_INCLUDE_NUMPY_DOT_HPP #define PYTHONIC_INCLUDE_NUMPY_DOT_HPP #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/numpy/sum.hpp" #include "pythonic/include/types/numpy_expr.hpp" #include "pythonic/include/types/traits.hpp" template <class T> struct is_blas_type : pythonic::types::...
#ifndef PYTHONIC_INCLUDE_NUMPY_DOT_HPP #define PYTHONIC_INCLUDE_NUMPY_DOT_HPP #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/numpy/sum.hpp" #include "pythonic/include/types/numpy_expr.hpp" #include "pythonic/include/types/traits.hpp" template <class T> struct is_blas_type : pythonic::types::...
Fix matrix multiply forward declaration
Fix matrix multiply forward declaration Otherwise some specialization are never taken into account.
C++
bsd-3-clause
pombredanne/pythran,pombredanne/pythran,serge-sans-paille/pythran,serge-sans-paille/pythran,pombredanne/pythran
dec042f9c22397e20b4365309f890b51606fb98e
core/async-action.hh
core/async-action.hh
/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef ASYNC_ACTION_HH_ #define ASYNC_ACTION_HH_ #include "future.hh" #include "reactor.hh" // The AsyncAction concept represents an action which can complete later than // the actual function invocation. It is represented by a function which // returns a future w...
/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef ASYNC_ACTION_HH_ #define ASYNC_ACTION_HH_ #include "future.hh" #include "reactor.hh" // The AsyncAction concept represents an action which can complete later than // the actual function invocation. It is represented by a function which // returns a future w...
introduce do_for_each()
core: introduce do_for_each() Useful when composing iteration with async operations.
C++
apache-2.0
scylladb/scylla-seastar,ducthangho/imdb,avikivity/seastar,tempbottle/seastar,tempbottle/scylla,hongliangzhao/seastar,cloudius-systems/seastar,rentongzhang/scylla,bowlofstew/seastar,joerg84/seastar,rluta/scylla,asias/scylla,slivne/seastar,bowlofstew/seastar,kangkot/scylla,justintung/scylla,kjniemi/scylla,shyamalschandra...
abb49e24699d093b77c7db50428e8f9048c9f42b
gfx/font_win.cc
gfx/font_win.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "gfx/font.h" #include <windows.h> #include <math.h> #include <algorithm> #include "base/logging.h" #include "base/string_util.h" #include ...
// 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 "gfx/font.h" #include <windows.h> #include <math.h> #include <algorithm> #include "base/logging.h" #include "base/string_util.h" #include ...
Revert Win specific elements of 46492 to look for perf impact
Revert Win specific elements of 46492 to look for perf impact There was a regression in the moz page cycler around when landed. This was ONLY a single core regression, which suggests it was time spent in the browser becoming critical path. This change involved font layout in the browser, and so it MIGHT be related. ...
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
3cd4fcb03d1737554d35eeeff9bbb81000ab4646
gfx_es2/fbo.cpp
gfx_es2/fbo.cpp
#include <string.h> #include "base/logging.h" #include "gfx/gl_common.h" #include "gfx_es2/fbo.h" #include "gfx/gl_common.h" #include "gfx_es2/gl_state.h" #if defined(USING_GLES2) && !defined(BLACKBERRY) #ifndef GL_READ_FRAMEBUFFER // Careful - our ES3 header defines these. Means that we must make sure // to only us...
#include <string.h> #include "base/logging.h" #include "gfx/gl_common.h" #include "gfx_es2/fbo.h" #include "gfx/gl_common.h" #include "gfx_es2/gl_state.h" #if defined(USING_GLES2) && !defined(BLACKBERRY) #ifndef GL_READ_FRAMEBUFFER // Careful - our ES3 header defines these. Means that we must make sure // to only us...
Add fbo_get_depth_buffer & fbo_get_stencil_buffer
Add fbo_get_depth_buffer & fbo_get_stencil_buffer
C++
mit
hrydgard/native,hrydgard/native,libretro/ppsspp-native,libretro/ppsspp-native,libretro/ppsspp-native,unknownbrackets/native,zhykzhykzhyk/ppsspp-native,hrydgard/native,zhykzhykzhyk/ppsspp-native,zhykzhykzhyk/ppsspp-native,libretro/ppsspp-native,unknownbrackets/native,zhykzhykzhyk/ppsspp-native,unknownbrackets/native,hry...
d2a72c45bb125271df1e68aa66bdf6bc77a2ce96
src/abort_message.cpp
src/abort_message.cpp
//===------------------------- abort_message.cpp --------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
//===------------------------- abort_message.cpp --------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Fix abort_message.cpp for the NDK.
Fix abort_message.cpp for the NDK. The NDK doesn't have access to `android/set_abort_message.h`, so use an extern declaration instead for API 21. For older releases, just use `__assert2`, which will report to logcat and/or the tombstone for some older releases. git-svn-id: 6a9f6578bdee8d959f0ed58970538b4ab6004734@22...
C++
apache-2.0
llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi
1e26954a78bcec693b93193e54aee5cb895b6b97
test/datum.cc
test/datum.cc
#include "test.h" #include "field.h" #include "datum.h" void test_datum_serialize_string ( ) { Datum datum; Container container = Container(); container.t_string = "test"; datum = Datum(container, "foo", CDB_STRING); check(datum.container.t_string == "test", "the value is correct"); check(datum.type == ...
#include "test.h" #include "field.h" #include "datum.h" void test_datum_serialize_string ( ) { Datum datum; Container container = Container(); container.t_string = "test"; datum = Datum(container, "foo", CDB_STRING); check(datum.container.t_string == "test", "the value is correct"); check(datum.type == ...
add additional test
add additional test
C++
mit
JerrySievert/cdb,JerrySievert/cdb
05007312a74c82bfe812bf6777e763590e3bbd77
packages/grpc-native-core/ext/server_credentials.cc
packages/grpc-native-core/ext/server_credentials.cc
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * * Copyright 2015 gRPC authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Replace another variable length stack array with a vector
Replace another variable length stack array with a vector
C++
apache-2.0
grpc/grpc-node,grpc/grpc-node,grpc/grpc-node,grpc/grpc-node
fb49b3cc90d5db216e1840303165c0009745c78d
test/mining-manager/t_AutofillManager.cpp
test/mining-manager/t_AutofillManager.cpp
/// /// @file t_AutofillManager.cpp /// @brief test autofill works /// @author Hongliang Zhao <hongliang.zhao@b5m.com> /// @date Created 2013-02-05 /// #include <mining-manager/auto-fill-submanager/AutoFillSubManager.h> #include <mining-manager/auto-fill-submanager/AutoFillChildManager.h> #include <boost/test/unit_tes...
/// /// @file t_AutofillManager.cpp /// @brief test autofill works /// @author Hongliang Zhao <hongliang.zhao@b5m.com> /// @date Created 2013-02-05 /// #include <mining-manager/auto-fill-submanager/AutoFillSubManager.h> #include <mining-manager/auto-fill-submanager/AutoFillChildManager.h> #include <boost/test/unit_tes...
fix unit test
fix unit test
C++
apache-2.0
izenecloud/sf1r-lite,pombredanne/sf1r-lite,izenecloud/sf1r-lite,pombredanne/sf1r-lite,pombredanne/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,pombredanne/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-ad-delivery,pombredanne/sf1...
7001193f0291d28a015d5407d7b4644a2a81b0e5
src/arch/alpha/tlb.hh
src/arch/alpha/tlb.hh
/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above copyright * not...
Fix an off by one error with the tlb caching mechanism.
Alpha: Fix an off by one error with the tlb caching mechanism.
C++
bsd-3-clause
andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin