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
d0d67849eeaccc6ca6959bc7a36208accdda3499
src/adblock_engine/ad_filter_manager.cpp
src/adblock_engine/ad_filter_manager.cpp
/* @ 0xCCCCCCCC */ #include "adblock_engine/ad_filter_manager.h" namespace abe { void AdFilterManager::LoadAdFilter(const kbase::Path& filter_file_path) { // Yeah, we don't check if there was duplicate adfilters. ad_filters_.push_back(AdFilterPair(filter_file_path, AdFilter(filter_file_path))); } void AdFi...
/* @ 0xCCCCCCCC */ #include "adblock_engine/ad_filter_manager.h" #include "kbase/string_util.h" namespace abe { void AdFilterManager::LoadAdFilter(const kbase::Path& filter_file_path) { // Yeah, we don't check if there was duplicate adfilters. ad_filters_.push_back(AdFilterPair(filter_file_path, AdFilter(f...
add implementation of GetElementHideContent().
AdFilterManager: add implementation of GetElementHideContent().
C++
mit
kingsamchen/KAdBlockEngine
c32166c71fa970b409630c3efe40dd35154abf43
utils/shapeindex/shapeindex.cpp
utils/shapeindex/shapeindex.cpp
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
move loop terminatiion condition to the top and avoid potential infinite loop when `if (content_length != shp.read_xdr_integer())` + Track `empty` shapes and don't create *.index when there is no non-empty geometries (#3184)
move loop terminatiion condition to the top and avoid potential infinite loop when `if (content_length != shp.read_xdr_integer())` + Track `empty` shapes and don't create *.index when there is no non-empty geometries (#3184)
C++
lgpl-2.1
naturalatlas/mapnik,naturalatlas/mapnik,lightmare/mapnik,mapycz/mapnik,mapycz/mapnik,pnorman/mapnik,pnorman/mapnik,zerebubuth/mapnik,mapnik/mapnik,naturalatlas/mapnik,naturalatlas/mapnik,mapycz/mapnik,mapnik/mapnik,CartoDB/mapnik,tomhughes/mapnik,tomhughes/mapnik,CartoDB/mapnik,lightmare/mapnik,CartoDB/mapnik,tomhughes...
4b19bd1b0f5bbe3208a3496690917978815e6424
src/condor_submit.V6/submit_simulate.cpp
src/condor_submit.V6/submit_simulate.cpp
#include "condor_common.h" #include "condor_config.h" #include "condor_debug.h" #include "condor_network.h" #include "spooled_job_files.h" #include "subsystem_info.h" #include "env.h" #include "basename.h" #include "condor_getcwd.h" #include <time.h> #include "write_user_log.h" #include "condor_classad.h" #include "con...
#include "condor_common.h" #include "condor_config.h" #include "condor_debug.h" #include "condor_network.h" #include "spooled_job_files.h" #include "subsystem_info.h" #include "env.h" #include "basename.h" #include "condor_getcwd.h" #include <time.h> #include "write_user_log.h" #include "condor_classad.h" #include "con...
Check for null ptr before deref #6992
Check for null ptr before deref #6992
C++
apache-2.0
htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor
011791b4c6793b8bb04698cebc33a550d16ae72a
src/cpp/core/system/PosixSystemTests.cpp
src/cpp/core/system/PosixSystemTests.cpp
/* * PosixSystemTests.cpp * * Copyright (C) 2009-17 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Lice...
/* * PosixSystemTests.cpp * * Copyright (C) 2009-17 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Lice...
Fix linux build
Fix linux build
C++
agpl-3.0
JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio
51f6afe5709ee4e7a5c5d37bd2a9a53bfffa774b
src/demos/fea/demo_FEAelectrostatics.cpp
src/demos/fea/demo_FEAelectrostatics.cpp
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2013 Project Chrono // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. // // // ...
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2013 Project Chrono // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. // // // ...
Fix comments.
Fix comments.
C++
bsd-3-clause
armanpazouki/chrono,Bryan-Peterson/chrono,andrewseidl/chrono,Bryan-Peterson/chrono,projectchrono/chrono,rserban/chrono,Milad-Rakhsha/chrono,andrewseidl/chrono,armanpazouki/chrono,projectchrono/chrono,rserban/chrono,amelmquist/chrono,jcmadsen/chrono,tjolsen/chrono,tjolsen/chrono,amelmquist/chrono,armanpazouki/chrono,rse...
4727ac8b443aa0814ebf081233231e1701b4bd14
platform/shared/rubyext/System.cpp
platform/shared/rubyext/System.cpp
#include "common/RhoPort.h" #include "ruby/ext/rho/rhoruby.h" #include "sync/ClientRegister.h" #include "common/RhodesApp.h" #include "logging/RhoLog.h" #undef DEFAULT_LOGCATEGORY #define DEFAULT_LOGCATEGORY "RhoSystem" extern "C" { extern int rho_sysimpl_get_property(char* szPropName, VALUE* resValue); extern VALUE r...
#include "common/RhoPort.h" #include "ruby/ext/rho/rhoruby.h" #include "sync/ClientRegister.h" #include "common/RhodesApp.h" #include "logging/RhoLog.h" #undef DEFAULT_LOGCATEGORY #define DEFAULT_LOGCATEGORY "RhoSystem" extern "C" { extern int rho_sysimpl_get_property(char* szPropName, VALUE* resValue); extern VALUE r...
add has_sqlite property
add has_sqlite property
C++
mit
tauplatform/tau,rhomobile/rhodes,rhomobile/rhodes,rhomobile/rhodes,watusi/rhodes,rhomobile/rhodes,tauplatform/tau,tauplatform/tau,rhomobile/rhodes,pslgoh/rhodes,pslgoh/rhodes,tauplatform/tau,pslgoh/rhodes,watusi/rhodes,pslgoh/rhodes,pslgoh/rhodes,watusi/rhodes,tauplatform/tau,watusi/rhodes,rhomobile/rhodes,watusi/rhode...
a2f533454cbedb9b757b291394086e5478d10256
plugin-volume/pulseaudioengine.cpp
plugin-volume/pulseaudioengine.cpp
/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Johannes Zellner <webmaster@nebulon.de> * * This program or library is free software; you can redistribute it * and/or modify it under the term...
/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Johannes Zellner <webmaster@nebulon.de> * * This program or library is free software; you can redistribute it * and/or modify it under the term...
use full volume range, even over 100%
panel-volume: use full volume range, even over 100%
C++
lgpl-2.1
npmiller/lxqt-panel,rysiowski/lxqt-panel,jeremywh7/lxqt-panel,lxde/lxqt-panel,rbazaud/lxqt-panel,DrTobe/lxqt-panel,Ilya87/lxqt-panel,hagabaka/lxqt-panel,stefonarch/lxqt-panel,ThomasVie/lxqt-panel-de,hagabaka/lxqt-panel,rbazaud/lxqt-panel,cferr/lxqt-panel,pmattern/lxqt-panel,jubalh/lxqt-panel,npmiller/lxqt-panel,cferr/l...
bf3250b2a08d4fa27c408ca8e27fe7dd1a9726fe
source/reflectionzeug/include/reflectionzeug/VectorProperty.hpp
source/reflectionzeug/include/reflectionzeug/VectorProperty.hpp
#pragma once #include <sstream> #include <reflectionzeug/util.h> namespace reflectionzeug { template <typename Type> VectorProperty<Type>::VectorProperty(const std::string & name, const std::vector<Type> & value) : ValuePropertyInterface(name) , ValueProperty<std::vector<Type>>(name, value) , m_fixedSize...
#pragma once #include <sstream> #include <reflectionzeug/util.h> namespace reflectionzeug { template <typename Type> VectorProperty<Type>::VectorProperty(const std::string & name, const std::vector<Type> & value) : ValuePropertyInterface(name) , ValueProperty<std::vector<Type>>(name, value) , m_fixedSize...
fix windows warning unsigned / signed mismatch
fix windows warning unsigned / signed mismatch
C++
mit
j-o/libzeug,lanice/libzeug,p-otto/libzeug,j-o/libzeug,lanice/libzeug,kateyy/libzeug,kateyy/libzeug,lanice/libzeug,hpi-r2d2/libzeug,mjendruk/libzeug,lanice/libzeug,hpi-r2d2/libzeug,cginternals/libzeug,p-otto/libzeug,cginternals/libzeug,cginternals/libzeug,j-o/libzeug,simonkrogmann/libzeug,simonkrogmann/libzeug,cginterna...
35bb15b009ea02d1c56443de15f240e13e1c7637
chrome/browser/sync/engine/process_updates_command.cc
chrome/browser/sync/engine/process_updates_command.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/engine/process_updates_command.h" #include <vector> #include "base/basictypes.h" #include "base/location.h" #include "...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/engine/process_updates_command.h" #include <vector> #include "base/basictypes.h" #include "base/location.h" #include "...
Set HasCustomGroupsToChange() to true for ProcessUpdatesCommand
[Sync] Set HasCustomGroupsToChange() to true for ProcessUpdatesCommand Follow-up to 113090 to see which ModelChangingSyncerCommand triggers a perf regression. BUG=97832 TEST= Review URL: http://codereview.chromium.org/8822017 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@114090 0039d316-1c4b-4281-b951-d872f2...
C++
bsd-3-clause
gavinp/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,ropik/chr...
2c529dad560649b1db62a406f1b876d425c78c19
app/gfx/gl/gl_implementation_mac.cc
app/gfx/gl/gl_implementation_mac.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 "app/gfx/gl/gl_bindings.h" #include "app/gfx/gl/gl_implementation.h" #include "base/base_paths.h" #include "base/file_path.h" #include "base/...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "app/gfx/gl/gl_bindings.h" #include "app/gfx/gl/gl_implementation.h" #include "base/base_paths.h" #include "base/file_path.h" #include "base/...
Fix the wrong mesa lib name.
Fix the wrong mesa lib name. Review URL: http://codereview.chromium.org/3596012 git-svn-id: http://src.chromium.org/svn/trunk/src@61902 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 37d52a4c17cad7d6d526933db70bfc661446fa44
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...
0227203a229e85f98a491c6b9480c0bc210f1dbb
dispatch/glimports.hpp
dispatch/glimports.hpp
/************************************************************************** * * Copyright 2010 VMware, Inc. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
/************************************************************************** * * Copyright 2010 VMware, Inc. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
Move kCGLPFABackingVolatile to < 10.8
Move kCGLPFABackingVolatile to < 10.8 kCGLPFABackingVolatile was added in 10.8 not 10.7
C++
mit
surround-io/apitrace,swq0553/apitrace,apitrace/apitrace,schulmar/apitrace,joshua5201/apitrace,trtt/apitrace,tuanthng/apitrace,EoD/apitrace,tuanthng/apitrace,tuanthng/apitrace,surround-io/apitrace,joshua5201/apitrace,apitrace/apitrace,schulmar/apitrace,swq0553/apitrace,surround-io/apitrace,swq0553/apitrace,trtt/apitrace...
6fcd2a15e62c7c3428363dd896b710d0bef4d14b
content/browser/debugger/devtools_manager_unittest.cc
content/browser/debugger/devtools_manager_unittest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/basictypes.h" #include "base/time.h" #include "content/browser/debugger/devtools_manager_impl.h" #include "content/browser/debugger/ren...
// 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/basictypes.h" #include "base/time.h" #include "content/browser/debugger/devtools_manager_impl.h" #include "content/browser/debugger/ren...
Convert uses of int ms to TimeDelta in content/browser/debugger.
Convert uses of int ms to TimeDelta in content/browser/debugger. R=yurys@chromium.org BUG=108171 Review URL: http://codereview.chromium.org/9572040 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@124948 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
yitian134/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,gavinp/chromiu...
950f617328ba8cb9b0bb41a42af43ba72492dfdc
examples/react.cpp
examples/react.cpp
#include <reactive/bridge.hpp> #include <reactive/ptr_observable.hpp> #include <reactive/transform.hpp> #include <reactive/while.hpp> #include <reactive/finite_state_machine.hpp> #include <reactive/filter.hpp> #include <reactive/generate.hpp> #include <reactive/total_consumer.hpp> #include <reactive/cache.hpp> #include...
#include <reactive/bridge.hpp> #include <reactive/ptr_observable.hpp> #include <reactive/transform.hpp> #include <reactive/while.hpp> #include <reactive/finite_state_machine.hpp> #include <reactive/filter.hpp> #include <reactive/generate.hpp> #include <reactive/total_consumer.hpp> #include <reactive/cache.hpp> #include...
make deref_optional more readable
make deref_optional more readable
C++
mit
TyRoXx/silicium,TyRoXx/silicium
518bcd80c15dae523d44095df8030e848dd72a32
editor_src2/drag2d/src/drag2d/dataset/ImageLoader.cpp
editor_src2/drag2d/src/drag2d/dataset/ImageLoader.cpp
#include <string> #include "ImageLoader.h" #include <SOIL/SOIL.h> #include <libpng/png.h> #include <assert.h> #include <gl/glew.h> #include <fstream> #include "common/tools.h" #define USE_SOIL namespace d2d { uint8_t* ImageLoader::load(const std::string& filepath, int& width, int& height, unsigned int& texture, i...
#include <string> #include "ImageLoader.h" #include <SOIL/SOIL.h> #include <libpng/png.h> #include <assert.h> #include <gl/glew.h> #include <fstream> #include "common/tools.h" #define USE_SOIL namespace d2d { uint8_t* ImageLoader::load(const std::string& filepath, int& width, int& height, unsigned int& texture, i...
修改图像边缘的采样,保证拉伸后正确
修改图像边缘的采样,保证拉伸后正确
C++
mit
xzrunner/easyeditor,xzrunner/easyeditor
186a7758b9d30675e0c8eda979a2fa5ca52683e7
engine/audio/plugins/sndfile/audiodecoder_sndfile.cpp
engine/audio/plugins/sndfile/audiodecoder_sndfile.cpp
/* Q Light Controller Plus audiodecoder_sndfile.cpp Copyright (c) Massimo Callegari 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.txt...
/* Q Light Controller Plus audiodecoder_sndfile.cpp Copyright (c) Massimo Callegari 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.txt...
improve ogg format detection
audio: improve ogg format detection
C++
apache-2.0
mcallegari/qlcplus,plugz/qlcplus,plugz/qlcplus,sbenejam/qlcplus,kripton/qlcplus,kripton/qlcplus,plugz/qlcplus,mcallegari/qlcplus,kripton/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,plugz/qlcplus,sbenejam/qlcplus,sbenejam/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,kripton/qlcplus,kripton/qlcplus,mcallegari/qlcplus,sben...
9d2e043879b84f5781efa39ed66e2a45637bb0ca
framework/cybertron/tools/cyber_recorder/recorder.cpp
framework/cybertron/tools/cyber_recorder/recorder.cpp
/****************************************************************************** * 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 ...
enlarge pending queue size of recorder reader to avoid message drop
framework: enlarge pending queue size of recorder reader to avoid message drop
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
12d4124ad93263e5df4197f13b93c00dcbd57fee
src/sync_metadata.cpp
src/sync_metadata.cpp
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
Remove an erroneous check
Remove an erroneous check
C++
apache-2.0
realm/realm-object-store,realm/realm-core,realm/realm-object-store,realm/realm-object-store,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core
db7223933628c475b5beb522cd8ec1e2e1a6f4b5
views/examples/native_theme_button_example.cc
views/examples/native_theme_button_example.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 "views/examples/native_theme_button_example.h" #include "base/logging.h" #include "base/stringprintf.h" #include "base/utf_string_conversion...
// 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 "views/examples/native_theme_button_example.h" #include "base/logging.h" #include "base/stringprintf.h" #include "base/utf_string_conversion...
Switch usages of wchar_t in ExampleComboboxModel to char type.
views/examples: Switch usages of wchar_t in ExampleComboboxModel to char type. R=sky@chromium.org Review URL: http://codereview.chromium.org/7867035 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@100690 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
TheTypoMaster/chromium-crosswalk,patrickm/chromium.src,hgl888/chromium-crosswalk,patrickm/chromium.src,ondra-novak/chromium.src,nacl-webkit/chrome_deps,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,patrickm/chromium.src,ltilve/chromium,chuan9/chromium-crosswalk,dednal/chromium.src,dednal/chromi...
dbf7d2168631e6206d4a2ef9cd190e39675dfc22
Widgets/vtkAxesTransformRepresentation.cxx
Widgets/vtkAxesTransformRepresentation.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkAxesTransformRepresentation.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
/*========================================================================= Program: Visualization Toolkit Module: vtkAxesTransformRepresentation.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
Remove commented out code.
Remove commented out code. Change-Id: I4a7dfdf2d0a51d1b0f1595b068b46cbc7057e75f
C++
bsd-3-clause
gram526/VTK,spthaolt/VTK,SimVascular/VTK,ashray/VTK-EVM,aashish24/VTK-old,aashish24/VTK-old,hendradarwin/VTK,aashish24/VTK-old,johnkit/vtk-dev,johnkit/vtk-dev,msmolens/VTK,gram526/VTK,SimVascular/VTK,candy7393/VTK,daviddoria/PointGraphsPhase1,sankhesh/VTK,demarle/VTK,biddisco/VTK,berendkleinhaneveld/VTK,mspark93/VTK,de...
5a5ca4812e574b84238e72566d5d358cc62a25f7
tests/examples.hh
tests/examples.hh
#ifndef EXAMPLES_HH #define EXAMPLES_HH #include <maya/MPxLocatorNode.h> #include <maya/MPxCommand.h> #include <maya/MSyntax.h> class Locator : public MPxLocatorNode { public: static MTypeId id; static void* creator() { return new Locator; } static MStatus initialize() { return MS::kSuccess; } }; class...
#ifndef EXAMPLES_HH #define EXAMPLES_HH #include <maya/MPxLocatorNode.h> #include <maya/MPxCommand.h> #include <maya/MSyntax.h> class Locator : public MPxLocatorNode { public: static MTypeId id; static void* creator() { return new Locator; } static MStatus initialize() { return MS::kSuccess; } }; class...
Fix incorrect creator function
Fix incorrect creator function
C++
bsd-3-clause
michaeljones/maya-plugin-handler
3e3981fb3953fd3d97cfd3f27effc756540ae841
ferocious/main.cpp
ferocious/main.cpp
#include "mainwindow.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setApplicationVersion(APP_VERSION); // activate anti-aliasing on all fonts: QFont font = QApplication::font(); font.setStyleStrategy(QFont::PreferAntialias); a.setFont(font); /...
#include "mainwindow.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setApplicationVersion(APP_VERSION); // activate anti-aliasing on all fonts: QFont font = QApplication::font(); font.setStyleStrategy(QFont::PreferAntialias); a.setFont(font); /...
clean whitespace
clean whitespace
C++
lgpl-2.1
jniemann66/ferocious
626331b7ecc9a3e4eac8d12d5b0c5a62c7916775
matrix/mem_worker_thread.cpp
matrix/mem_worker_thread.cpp
/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * 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 ...
/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * 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 ...
fix a bug in wait 4 IOs in io_worker_task.
[Matrix]: fix a bug in wait 4 IOs in io_worker_task.
C++
apache-2.0
zheng-da/FlashX,flashxio/FlashX,icoming/FlashX,icoming/FlashGraph,flashxio/FlashX,zheng-da/FlashX,icoming/FlashGraph,flashxio/FlashX,icoming/FlashX,flashxio/FlashX,zheng-da/FlashX,zheng-da/FlashX,icoming/FlashGraph,icoming/FlashX,flashxio/FlashX,icoming/FlashGraph,flashxio/FlashX,icoming/FlashGraph,zheng-da/FlashX,icom...
d6c1eaf01a94b36f6974624fbce8d321e35d991e
tests/test_10.cpp
tests/test_10.cpp
#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <tiramisu/debug.h> #include <tiramisu/core.h> #include <string.h> #include <Halide.h> #define AUTOMATIC_VECTORIATION 1 using namespace tiramisu; vo...
#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <tiramisu/debug.h> #include <tiramisu/core.h> #include <string.h> #include <Halide.h> using namespace tiramisu; void generate_function_1(std::string...
Remove deprecated code from test10
Remove deprecated code from test10
C++
mit
rbaghdadi/tiramisu,rbaghdadi/ISIR,rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/ISIR,rbaghdadi/COLi,rbaghdadi/COLi
382de274d5ab0df168dd1527ed20665ffc604a34
protocols/irc/ircservercontact.cpp
protocols/irc/ircservercontact.cpp
/* ircservercontact.cpp - IRC Server Contact Copyright (c) 2003 by Michel Hermier <mhermier@kde.org> Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> ************************************************************...
/* ircservercontact.cpp - IRC Server Contact Copyright (c) 2003 by Michel Hermier <mhermier@kde.org> Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> ************************************************************...
Remove the buffering of message in the server for now. It's a source of memory leak.
Remove the buffering of message in the server for now. It's a source of memory leak. svn path=/trunk/KDE/kdenetwork/kopete/; revision=437402
C++
lgpl-2.1
Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete
0119eb5aa10a65139659376f65b6f8268749157f
src/modules/SimplePropagation/SimplePropagationModule.cpp
src/modules/SimplePropagation/SimplePropagationModule.cpp
/** * @author Paul Schuetze <paul.schuetze@desy.de> * @author Koen Wolters <koen.wolters@cern.ch> */ #include "SimplePropagationModule.hpp" #include <cmath> #include <limits> #include <map> #include <memory> #include <random> #include <string> #include <utility> #include <Eigen/Core> #include <Math/Point3D.h> #i...
/** * @author Paul Schuetze <paul.schuetze@desy.de> * @author Koen Wolters <koen.wolters@cern.ch> */ #include "SimplePropagationModule.hpp" #include <cmath> #include <limits> #include <map> #include <memory> #include <random> #include <string> #include <utility> #include <Eigen/Core> #include <Math/Point3D.h> #i...
remove voltage as long it is not consistent with electric field
remove voltage as long it is not consistent with electric field
C++
mit
Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared,Koensw/allpix-squared
7ac046c58f0815223712f77288722a7b06755ec3
src/operator/tensor/elemwise_binary_scalar_op_extended.cc
src/operator/tensor/elemwise_binary_scalar_op_extended.cc
/*! * Copyright (c) 2016 by Contributors * \file elemwise_binary_scalar_op.cc * \brief CPU Implementation of unary function. */ #include "./elemwise_unary_op.h" #include "./elemwise_binary_op.h" #include "./elemwise_binary_scalar_op.h" namespace mxnet { namespace op { MXNET_OPERATOR_REGISTER_BINARY_SCALAR(_maximu...
/*! * Copyright (c) 2016 by Contributors * \file elemwise_binary_scalar_op.cc * \brief CPU Implementation of unary function. */ #include "./elemwise_unary_op.h" #include "./elemwise_binary_op.h" #include "./elemwise_binary_scalar_op.h" namespace mxnet { namespace op { MXNET_OPERATOR_REGISTER_BINARY_SCALAR(_maximu...
Fix smooth_l1 example display (#6377)
[DOC] Fix smooth_l1 example display (#6377) * Fix doc format * Fix
C++
apache-2.0
kevinthesun/mxnet,tornadomeet/mxnet,madjam/mxnet,sergeykolychev/mxnet,wangyum/mxnet,vikingMei/mxnet,mbaijal/incubator-mxnet,fullfanta/mxnet,jamesliu/mxnet,leezu/mxnet,rahul003/mxnet,jennyzhang0215/incubator-mxnet,kevinthesun/mxnet,EvanzzzZ/mxnet,apaleyes/mxnet,ZihengJiang/mxnet,TuSimple/mxnet,DR08/mxnet,DR08/mxnet,remi...
1d8dcc464df4d4f57af94f3e5efba7fa4b995cf0
include/eixx/connect/transport_otp_connection_tcp.hpp
include/eixx/connect/transport_otp_connection_tcp.hpp
//---------------------------------------------------------------------------- /// \file transport_otp_connection_tcp.hpp //---------------------------------------------------------------------------- /// \brief Interface of TCP connectivity transport with an Erlang node. //--------------------------------------------...
//---------------------------------------------------------------------------- /// \file transport_otp_connection_tcp.hpp //---------------------------------------------------------------------------- /// \brief Interface of TCP connectivity transport with an Erlang node. //--------------------------------------------...
use int for ERL_VERSION_MAGIC
use int for ERL_VERSION_MAGIC When comparing int to char, char was interpreted as signed. This caused "Invalid control message magic number"
C++
apache-2.0
saleyn/eixx
00c1cb1cffb20d58a513321a140934f971939deb
src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs01.C
src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs01.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs01.C $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs01.C $ */ /* ...
Change DRAM output impedance value to be from MSS_VPD_MT_DRAM_DRV_IMP_DQ_DQS
Change DRAM output impedance value to be from MSS_VPD_MT_DRAM_DRV_IMP_DQ_DQS Change-Id: I934ef11c93dec80795df6f173bbd996ffee5af31 Original-Change-Id: I146ff2adbaa96d7b0ae34c4fdde6b6fde3c34f5e Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/28147 Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
b61423cb531c71a1c6faf254b522258bfa02d656
src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs06.C
src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs06.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs06.C $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/mrs06.C $ */ /* ...
Add mrs_one_shot to the MSS Lab code
Add mrs_one_shot to the MSS Lab code Change-Id: I1bbec5a33dc662a45b0034d2afcd64d0b4d6df79 Original-Change-Id: I84fd2f29f4b3d8581a6ff8c0f8a2688cc0cf645a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/27373 Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com> Tested-by: Hostboot CI <5252...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
053c261564cf070aa799f42a6c0ee9631f7bd33e
src/import/chips/p9/procedures/hwp/perv/p9_proc_gettracearray.C
src/import/chips/p9/procedures/hwp/perv/p9_proc_gettracearray.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_proc_gettracearray.C $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/perv/p9_proc_gettracearray.C $ */ /* ...
Update hardware procedure metadata
Update hardware procedure metadata update the metadata to reflect that HWPs are product ready (HWP Level: 3) Change-Id: I7c78dc9a45c8c603e80fe0afc3f45bdc1b2a0119 Original-Change-Id: I5a7380e9f34865b3e0ef7872d6338a840b08aa4a Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46789 Tested-by: FSP CI Jenkins <aa9e4d9a...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
2e1b3b61c603321b2c6a3d5d262773ff847e6aeb
jni/main.cpp
jni/main.cpp
#include <jni.h> #include <dlfcn.h> #include <android/log.h> #include <stdlib.h> #include <Substrate.h> #include <string> #include <mcpe/client/resources/I18n.h> #include <mcpe/item/Item.h> #include <mcpe/tile/Tile.h> #include <mcpe/client/renderer/TileTessellator.h> #include <mcpe/util/Matrix.h> #include ...
#include <jni.h> #include <dlfcn.h> #include <android/log.h> #include <stdlib.h> #include <Substrate.h> #include <string> #include <mcpe/client/resources/I18n.h> #include <mcpe/item/Item.h> #include <mcpe/tile/Tile.h> #include <mcpe/client/renderer/TileTessellator.h> #include <mcpe/util/Matrix.h> #include ...
Update main.cpp
Update main.cpp
C++
apache-2.0
byteandahalf/PocketPC,byteandahalf/PocketPC
30de99d4e94f2d06112c235cc5216a4d9103f8f3
test/correctness/skip_stages_external_array_functions.cpp
test/correctness/skip_stages_external_array_functions.cpp
#include <Halide.h> #include <stdio.h> using namespace Halide; #ifdef _MSC_VER #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT #endif int bounds_query_count[4]; int call_count[4]; extern "C" DLLEXPORT int call_counter(buffer_t *input, int x, int idx, buffer_t *output) { if (input->host == NULL) {...
#include <Halide.h> #include <stdio.h> using namespace Halide; #ifdef _MSC_VER #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT #endif int bounds_query_count[4]; int call_count[4]; extern "C" DLLEXPORT int call_counter(buffer_t *input, int x, int idx, buffer_t *output) { if (input->host == NULL) {...
Add additional checks to verify the right number of bounds inference queries.
Add additional checks to verify the right number of bounds inference queries. Former-commit-id: 1d13aeb6ce532a06648ca413c7690793275a849b
C++
mit
darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide
a99e49a85676efb25ee53324c4d463f4c3fb76d4
src/modules/landing_target_estimator/LandingTargetEstimator.cpp
src/modules/landing_target_estimator/LandingTargetEstimator.cpp
/**************************************************************************** * * Copyright (c) 2013-2018 PX4 Development Team. 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. Red...
/**************************************************************************** * * Copyright (c) 2013-2018 PX4 Development Team. 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. Red...
fix param type: int -> int32_t
landing_target_estimator: fix param type: int -> int32_t
C++
bsd-3-clause
krbeverx/Firmware,dagar/Firmware,dagar/Firmware,krbeverx/Firmware,Aerotenna/Firmware,mje-nz/PX4-Firmware,Aerotenna/Firmware,krbeverx/Firmware,mcgill-robotics/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,krbeverx/Firmware,mcgill-robotics/Firmware,dagar/Firmware,krbeverx/Firmware,PX4/Firmware,mcgill-robotics/Firmware,mcgill...
e9b906eb772a5fad8d33017b99a3a541a26b189f
src/DataViews/DataView.cpp
src/DataViews/DataView.cpp
// Copyright (c) 2021 The Orbit 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 "DataViews/DataView.h" #include <absl/strings/str_replace.h> #include <memory> #include "OrbitBase/File.h" #include "OrbitBase/Logging.h" us...
// Copyright (c) 2021 The Orbit 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 "DataViews/DataView.h" #include <absl/strings/str_replace.h> #include <memory> #include "OrbitBase/File.h" #include "OrbitBase/Logging.h" us...
Fix frametrack creation before capturing (#3172)
Fix frametrack creation before capturing (#3172) Bug: b/209611981
C++
bsd-2-clause
google/orbit,google/orbit,google/orbit,google/orbit
4ade0bdbea45b03492764c19dd84569c7204751a
connectivity/netsocket/tests/UNITTESTS/netsocket/DTLSSocket/test_DTLSSocket.cpp
connectivity/netsocket/tests/UNITTESTS/netsocket/DTLSSocket/test_DTLSSocket.cpp
/* * Copyright (c) 2018, Arm Limited and affiliates * SPDX-License-Identifier: Apache-2.0 * * 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/LICENS...
/* * Copyright (c) 2018, Arm Limited and affiliates * SPDX-License-Identifier: Apache-2.0 * * 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/LICENS...
Fix DTLS socket unittest
CMake: Fix DTLS socket unittest - Binding the socket address into network stack to avoid socket connect API call hangs in the unittest
C++
apache-2.0
mbedmicro/mbed,mbedmicro/mbed,mbedmicro/mbed,mbedmicro/mbed,mbedmicro/mbed
f376f470550edf8cb054fe4d78bf053319cf3149
src/accounts.cpp
src/accounts.cpp
//======================================================================= // Copyright Baptiste Wicht 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=====================================================...
//======================================================================= // Copyright Baptiste Wicht 2013. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=====================================================...
Implement function to get the accounts of a specific month
Implement function to get the accounts of a specific month
C++
mit
wichtounet/budgetwarrior,wichtounet/budgetwarrior,wichtounet/budgetwarrior
43f249adb711b7f05f16c8be1549323ccff21a50
tools/lli/lli.cpp
tools/lli/lli.cpp
//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===----------...
//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===----------...
add a new (hidden) -disable-core-files option
add a new (hidden) -disable-core-files option git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@30318 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,dslab-epfl/asap...
30183bf04273127dedd4342c49f7612214c57181
tools/lli/lli.cpp
tools/lli/lli.cpp
//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove redundant line (the memory manager is set above to the same object if !ForceInterpreteri). It has no effect (apart from a memory leak...)
Remove redundant line (the memory manager is set above to the same object if !ForceInterpreteri). It has no effect (apart from a memory leak...) git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@155792 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,chubbymaggie/asap,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llv...
0713a1d8fa66b35bedeed6fdcdb0cd3328610f77
applications/util/format/format.cpp
applications/util/format/format.cpp
#include <Grappa.hpp> #include <graph/Graph.hpp> using namespace Grappa; // file specifications DEFINE_string(input_path, "", "Path to graph source file"); DEFINE_string(input_format, "bintsv4", "Format of graph source file"); DEFINE_string(output_path, "", "Path to graph destination file"); DEFINE_string(output_form...
#include <Grappa.hpp> #include <graph/Graph.hpp> using namespace Grappa; // file specifications DEFINE_string(input_path, "", "Path to graph source file"); DEFINE_string(input_format, "bintsv4", "Format of graph source file"); DEFINE_string(output_path, "", "Path to graph destination file"); DEFINE_string(output_form...
add some info about conversion
add some info about conversion
C++
bsd-3-clause
buaasun/grappa,uwsampa/grappa,uwsampa/grappa,alexfrolov/grappa,alexfrolov/grappa,uwsampa/grappa,uwsampa/grappa,alexfrolov/grappa,alexfrolov/grappa,buaasun/grappa,alexfrolov/grappa,uwsampa/grappa,buaasun/grappa,buaasun/grappa,uwsampa/grappa,buaasun/grappa,alexfrolov/grappa,uwsampa/grappa,alexfrolov/grappa,buaasun/grappa...
72fcbf9d4556a98d160e4cc46134b44d6686008e
tensorflow/core/kernels/data/experimental/rebatch_dataset_op.cc
tensorflow/core/kernels/data/experimental/rebatch_dataset_op.cc
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Add traceme on rebatch to log num_replicas param
[tf.data] Add traceme on rebatch to log num_replicas param PiperOrigin-RevId: 273855865
C++
apache-2.0
tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,xzturn/tensorflow,aam-at/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,xzturn/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,xzturn/tensorflow,paolo...
83de1012a975916b7804f9a4a89f35d95fb2ef54
test/std/utilities/function.objects/func.invoke/invoke.pass.cpp
test/std/utilities/function.objects/func.invoke/invoke.pass.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. // //===----------------------------------------...
//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------...
Remove non-ascii characters
Remove non-ascii characters git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@242197 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx
2337443034d7cc92c1a61b2347fefeb5cdc8ad72
api/impl/defaultMappedSegment.cpp
api/impl/defaultMappedSegment.cpp
/* * Copyright (C) 2013 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <string> #include <sstream> #include <iostream> #include <limits> #include <algorithm> #include "hal.h" #include "defaultMappedSegment.h" #include "defaultTopSegmentIterator.h" #include "def...
/* * Copyright (C) 2013 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <string> #include <sstream> #include <iostream> #include <limits> #include <algorithm> #include "hal.h" #include "defaultMappedSegment.h" #include "defaultTopSegmentIterator.h" #include "def...
fix iteration end condition
fix iteration end condition
C++
mit
glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal
d8c4a46aed7155e5a5d219cebfe6b5b56c3c8917
source/annotatorlib/source/Commands/NewAnnotation.cpp
source/annotatorlib/source/Commands/NewAnnotation.cpp
#include <AnnotatorLib/Annotation.h> #include <AnnotatorLib/Commands/NewAnnotation.h> #include <AnnotatorLib/Object.h> #include <AnnotatorLib/Session.h> AnnotatorLib::Commands::NewAnnotation::NewAnnotation( const unsigned long newObjectId, const shared_ptr<Class> newObjectClass, AnnotatorLib::Session *sess...
#include <AnnotatorLib/Annotation.h> #include <AnnotatorLib/Commands/NewAnnotation.h> #include <AnnotatorLib/Object.h> #include <AnnotatorLib/Session.h> AnnotatorLib::Commands::NewAnnotation::NewAnnotation( const unsigned long newObjectId, const shared_ptr<Class> newObjectClass, AnnotatorLib::Session *sess...
return if command weas successfull
return if command weas successfull
C++
apache-2.0
annotatorproject/annotatorlib,annotatorproject/annotatorlib,annotatorproject/annotatorlib,lasmue/annotatorlib,lasmue/annotatorlib
f20985ba9e00e34d42caf738c8cf2024342df875
src/bitcoind.cpp
src/bitcoind.cpp
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "chainp...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "chainp...
Use GetBoolArg to check dumpforks
[review] Use GetBoolArg to check dumpforks
C++
mit
BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/BitcoinUnlimited,Justaphf/BitcoinUnlimited,Justaphf/BitcoinUnlimited,Justaphf/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,BitcoinUnlimited/BitcoinUnlimited,Justaphf/Bit...
afd99c9c81ec37a294b14612ff98a4af6daabe29
modules/cuda/src/precomp.hpp
modules/cuda/src/precomp.hpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
fix bug #3544:
fix bug #3544: add "opencv2/core/utility.hpp" header to precomp.hpp
C++
apache-2.0
opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv
5db5af997e59b4ab0d4a380ee41ed530302a50be
src/bufstream.cc
src/bufstream.cc
/* Copyright (c) 2014 Noel R. Cower 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, publish, dis...
/* Copyright (c) 2014 Noel R. Cower 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, publish, dis...
Fix incorrect mode check in sz_bufstream_write.
Fix incorrect mode check in sz_bufstream_write. Was causing a failure in a test.
C++
mit
nilium/libsnowball
95a3f0daf72b4fc5a1b87f781f84877856034a11
include/Pomdog/Basic/Platform.hpp
include/Pomdog/Basic/Platform.hpp
// // Copyright (C) 2013-2015 mogemimi. // Distributed under the MIT License. See LICENSE.md or // http://enginetrouble.net/pomdog/license for details. // #ifndef POMDOG_PLATFORM_C59B59BE_0311_4CB7_96D7_541924F8C06A_HPP #define POMDOG_PLATFORM_C59B59BE_0311_4CB7_96D7_541924F8C06A_HPP #if (_MSC_VER > 1000) #pragma...
// // Copyright (C) 2013-2015 mogemimi. // Distributed under the MIT License. See LICENSE.md or // http://enginetrouble.net/pomdog/license for details. // #ifndef POMDOG_PLATFORM_C59B59BE_0311_4CB7_96D7_541924F8C06A_HPP #define POMDOG_PLATFORM_C59B59BE_0311_4CB7_96D7_541924F8C06A_HPP #if (_MSC_VER > 1000) #pragma...
Add PS4 platform
Add PS4 platform
C++
mit
mogemimi/pomdog,Mourtz/pomdog,mogemimi/pomdog,mogemimi/pomdog,bis83/pomdog,bis83/pomdog,Mourtz/pomdog
a8cd36d29ba6aef515ef0c05f63e8429b55e4428
src/thread_worker.cxx
src/thread_worker.cxx
/* * A thread that performs queued work. * * author: Max Kellermann <mk@cm4all.com> */ #include "thread_worker.hxx" #include "thread_queue.hxx" #include "thread_job.hxx" #include "ssl/ssl_init.hxx" static void * thread_worker_run(void *ctx) { /* reduce glibc's thread cancellation overhead */ pthread_setca...
/* * A thread that performs queued work. * * author: Max Kellermann <mk@cm4all.com> */ #include "thread_worker.hxx" #include "thread_queue.hxx" #include "thread_job.hxx" #include "ssl/ssl_init.hxx" #include "util/ScopeExit.hxx" static void * thread_worker_run(void *ctx) { /* reduce glibc's thread cancellation...
use AtScopeExit()
thread_worker: use AtScopeExit()
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
1cdd2a9aecf560ce066bebfb2d5e839c441526d9
src/BabylonImGui/src/babylon_imgui/babylon_studio.cpp
src/BabylonImGui/src/babylon_imgui/babylon_studio.cpp
#include <babylon/GL/framebuffer_canvas.h> #include <babylon/babylon_imgui/babylon_logs_window.h> #include <babylon/babylon_imgui/babylon_studio.h> #include <babylon/core/filesystem.h> #include <babylon/core/system.h> #include <babylon/inspector/components/actiontabs/action_tabs_component.h> #include <babylon/interface...
#include <babylon/GL/framebuffer_canvas.h> #include <babylon/babylon_imgui/babylon_logs_window.h> #include <babylon/babylon_imgui/babylon_studio.h> #include <babylon/cameras/free_camera.h> #include <babylon/core/filesystem.h> #include <babylon/core/system.h> #include <babylon/inspector/components/actiontabs/action_tabs...
add camera to EmptyScene
babylon_studio: add camera to EmptyScene
C++
apache-2.0
samdauwe/BabylonCpp,samdauwe/BabylonCpp,samdauwe/BabylonCpp,samdauwe/BabylonCpp
3a98e89b4433b4edef2d338840e995fd3564560e
include/d2/detail/basic_mutex.hpp
include/d2/detail/basic_mutex.hpp
/** * This file defines several utilities used in the rest of the library. */ #ifndef D2_DETAIL_BASIC_MUTEX_HPP #define D2_DETAIL_BASIC_MUTEX_HPP #include <boost/assert.hpp> #include <boost/noncopyable.hpp> #include <boost/thread/detail/platform.hpp> #if defined(BOOST_THREAD_PLATFORM_PTHREAD) # include <cerrno> ...
/** * This file defines several utilities used in the rest of the library. * Note: This file contains parts from Boost that were cherry picked and * modified a bit in some cases. Because of this, this file is * distributed under the same license as the original files. * * (C) Copyright 2006-8 Anthony ...
Add support for Win32 in the basic_mutex class.
Add support for Win32 in the basic_mutex class.
C++
mit
ldionne/d2
c2f5c85eccb68f215f10c12b6a6822935db9d51d
include/dll/standard_conv_rbm.hpp
include/dll/standard_conv_rbm.hpp
//======================================================================= // Copyright (c) 2014-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
//======================================================================= // Copyright (c) 2014-2016 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
Disable FFT full convolution for now
Disable FFT full convolution for now This is slower than AVX convolution on small kernels
C++
mit
wichtounet/dll,wichtounet/dll,wichtounet/dll
144870319dd024d991ce25e8905734cb86e26aa7
include/primesieve/pod_vector.hpp
include/primesieve/pod_vector.hpp
/// /// @file pod_vector.hpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef POD_VECTOR_HPP #define POD_VECTOR_HPP #include "macros.hpp" #include <algorithm> #include <cstddef> #i...
/// /// @file pod_vector.hpp /// /// Copyright (C) 2022 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef POD_VECTOR_HPP #define POD_VECTOR_HPP #include "macros.hpp" #include <algorithm> #include <cstddef> #i...
Add more assertions
Add more assertions
C++
bsd-2-clause
kimwalisch/primesieve,kimwalisch/primesieve,kimwalisch/primesieve
9f1309638e451df4c4027eb6fd40d5461e7ed17e
include/bptree/internal/static_vector.hpp
include/bptree/internal/static_vector.hpp
/************************************************ * static_vector.hpp * bptree * * Copyright (c) 2017, Chi-En Wu * Distributed under MIT License ************************************************/ #ifndef BPTREE_INTERNAL_STATIC_VECTOR_HPP_ #define BPTREE_INTERNAL_STATIC_VECTOR_HPP_ #include <cassert> #include...
/************************************************ * static_vector.hpp * bptree * * Copyright (c) 2017, Chi-En Wu * Distributed under MIT License ************************************************/ #ifndef BPTREE_INTERNAL_STATIC_VECTOR_HPP_ #define BPTREE_INTERNAL_STATIC_VECTOR_HPP_ #include <cassert> #include...
Implement `static_vector<T, N>::push_back()` with `static_vector<T, N>::emplace_back()`
:hammer: Implement `static_vector<T, N>::push_back()` with `static_vector<T, N>::emplace_back()`
C++
mit
jason2506/bptree,jason2506/bptree
44918e352cfe03ce28a5562db5f9e0af1a895c2e
include/primesieve/WheelFactorization.hpp
include/primesieve/WheelFactorization.hpp
/// /// @file WheelFactorization.hpp /// @brief Classes and structs related to wheel factorization. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef WHEELFACTORIZATION_HPP #define ...
/// /// @file WheelFactorization.hpp /// @brief Classes and structs related to wheel factorization. /// /// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com> /// /// This file is distributed under the BSD License. See the COPYING /// file in the top level directory. /// #ifndef WHEELFACTORIZATION_HPP #define ...
Use C-style casts
Use C-style casts
C++
bsd-2-clause
kimwalisch/primesieve,kimwalisch/primesieve,kimwalisch/primesieve
a0749511f6c0446930fcbcd3192801bbc78a6978
src/textformatter.cpp
src/textformatter.cpp
#include "textformatter.h" #include <algorithm> #include <assert.h> #include <cinttypes> #include <limits.h> #include "htmlrenderer.h" #include "stflpp.h" #include "strprintf.h" #include "utils.h" namespace newsboat { TextFormatter::TextFormatter() {} TextFormatter::~TextFormatter() {} void TextFormatter::add_lin...
#include "textformatter.h" #include <algorithm> #include <assert.h> #include <cinttypes> #include <limits.h> #include "htmlrenderer.h" #include "stflpp.h" #include "strprintf.h" #include "utils.h" namespace newsboat { TextFormatter::TextFormatter() {} TextFormatter::~TextFormatter() {} void TextFormatter::add_lin...
Use non-stfl variant of string-handling functions
Use non-stfl variant of string-handling functions
C++
mit
der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,der-lyse/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat
7e2ee08ad1e6a6a2d90e5ab8562e8842f3701cd2
source/WebcamImageTransform.cpp
source/WebcamImageTransform.cpp
#include "main.hpp" #include "WebcamImageTransform.hpp" void WebcamImageTransform::create(const graphics::ScreenRectBuffer *rectangle, uint32_t input_width, uint32_t input_height, uint32_t output_width, uint32_t output_height) { this->rectangle = rectangle; this->input_width = input_width; this->inp...
#include "main.hpp" #include "WebcamImageTransform.hpp" void WebcamImageTransform::create(const graphics::ScreenRectBuffer *rectangle, uint32_t input_width, uint32_t input_height, uint32_t output_width, uint32_t output_height) { this->rectangle = rectangle; this->input_width = input_width; this->inp...
Tweak Webcam saturation and brightness
Tweak Webcam saturation and brightness
C++
mit
luckyxxl/hfg-webcam-particles
f90f252170074dce3a083c848e7d7f433b6ef242
modules/common/filters/digital_filter_coefficients.cc
modules/common/filters/digital_filter_coefficients.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 ...
Update digital_filter_coefficients.cc
Update digital_filter_coefficients.cc
C++
apache-2.0
ApolloAuto/apollo,jinghaomiao/apollo,ycool/apollo,jinghaomiao/apollo,ApolloAuto/apollo,xiaoxq/apollo,jinghaomiao/apollo,xiaoxq/apollo,xiaoxq/apollo,ApolloAuto/apollo,ApolloAuto/apollo,ApolloAuto/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,xiaoxq/apollo,ApolloAuto/apollo,ycool/apollo,jinghaomiao/apollo,ycool/ap...
73506792636b3d5c2b4a6226d81967bc73dd73d2
src/api/c/vector_field.cpp
src/api/c/vector_field.cpp
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
/******************************************************* * Copyright (c) 2014, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause **********************************************...
Fix element count in vector field
Fix element count in vector field
C++
bsd-3-clause
arrayfire/arrayfire,umar456/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,munnybearz/arrayfire,umar456/arrayfire,9prady9/arrayfire,victorv/arrayfire,shehzan10/arrayfire,shehzan10/arrayfire,umar456/arrayfire,umar456/arrayfire,marbre/arrayfire,marbre/arrayfire,marbre/arrayfire,9prady9/arrayfire,victorv/arrayfire,vict...
9ac12dba8f723394ea0c80068962506572e882f9
src/api/wayfire/plugin.hpp
src/api/wayfire/plugin.hpp
#ifndef PLUGIN_H #define PLUGIN_H #include <functional> #include <memory> #include "wayfire/util.hpp" #include "wayfire/bindings.hpp" extern "C" { #include <wlr/types/wlr_input_device.h> } class wayfire_config; namespace wf { class output_t; /** * Plugins can set their capabilities to indicate what kind of plugin ...
#ifndef PLUGIN_H #define PLUGIN_H #include <functional> #include <memory> #include "wayfire/util.hpp" #include "wayfire/bindings.hpp" extern "C" { #include <wlr/types/wlr_input_device.h> } class wayfire_config; namespace wf { class output_t; /** * Plugins can set their capabilities to indicate what kind of plugin ...
update ABI version
api: update ABI version
C++
mit
ammen99/wayfire,ammen99/wayfire
9b845c6e367d95c442940578bfc18559d86ec52c
net/disk_cache/file_posix.cc
net/disk_cache/file_posix.cc
// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/disk_cache/file.h" #include <fcntl.h> #include "base/logging.h" #include "base/threading/worker_pool.h" #include "net/disk_cache/...
// 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 "net/disk_cache/file.h" #include <fcntl.h> #include "base/logging.h" #include "base/threading/worker_pool.h" #include "net/disk_cache/disk_...
Check for negative lseek return valies in disk_cache::File::GetLength.
Coverity: Check for negative lseek return valies in disk_cache::File::GetLength. BUG=none TEST=none CID=11651 Review URL: http://codereview.chromium.org/7218019 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@89925 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Jonekee/chromium.src,keishi/chromium,chuan9/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,rogerwang/chromium,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,junmin-zhu/chromium-rivertrail,timopulkkinen/Bubb...
85642a5132a478273a7217abbd0e71d3522d9081
src/values/symbol.cpp
src/values/symbol.cpp
#include "../values.hpp" #include <unordered_map> namespace rev { value_t::p Symbol_Printable_str(value_t::p self) { auto sym = as<sym_t>(self); if (sym->has_ns()) { return imu::nu<string_t>(sym->ns() + "/" + sym->name()); } return imu::nu<string_t>(sym->name()); } value_t::p Symbol_With...
#include "../values.hpp" #include <unordered_map> namespace rev { value_t::p Symbol_Printable_str(value_t::p self) { auto sym = as<sym_t>(self); if (sym->has_ns()) { return imu::nu<string_t>(sym->ns() + "/" + sym->name()); } return imu::nu<string_t>(sym->name()); } value_t::p Symbol_With...
Handle nil maps in keyword dispatch
Handle nil maps in keyword dispatch
C++
mit
torque-project/rev
1ee08f736d5db4b8ef05fc91518dd155748ca42a
defaults/src/vespa/defaults.cpp
defaults/src/vespa/defaults.cpp
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "defaults.h" #include <stdlib.h> #include <dirent.h> #include <stdio.h> #include <string.h> #include <string> #include <vector> #include <unistd.h> #include <atomic> #include <pwd.h> namespa...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "defaults.h" #include <stdlib.h> #include <dirent.h> #include <stdio.h> #include <string.h> #include <string> #include <vector> #include <unistd.h> #include <atomic> #include <pwd.h> namespa...
refactor to look more like java version
refactor to look more like java version
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
5d9bf905e42d14a09133c79298a9cb3ab7b2cf3d
Library/Sources/Stroika/Foundation/Execution/Platform/Windows/Exception.cpp
Library/Sources/Stroika/Foundation/Execution/Platform/Windows/Exception.cpp
/* * Copyright(c) Sophist Solutions, Inc. 1990-2019. All rights reserved */ #include "../../../StroikaPreComp.h" #if qPlatform_Windows #include <Windows.h> #include <shellapi.h> #include <winerror.h> #include <wininet.h> // for error codes #else #error "WINDOWS REQUIRED FOR THIS MODULE" #endif #include "../../../...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2019. All rights reserved */ #include "../../../StroikaPreComp.h" #if qPlatform_Windows #include <Windows.h> #include <shellapi.h> #include <winerror.h> #include <wininet.h> // for error codes #else #error "WINDOWS REQUIRED FOR THIS MODULE" #endif #include "../../../...
remove ifdefed comemnted out excpetion code
remove ifdefed comemnted out excpetion code
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
eb973b48fb55774fafb4e001f08cb334e22fa829
src/application/Window.cpp
src/application/Window.cpp
#include "Window.h" #include "devices/Mouse.h" #include "devices/Keyboard.h" #include "devices/Touches.h" #include "devices/Joystick.h" #include "collision/area/EventsToCollisions.h" #include "Collision/Quadtree/Quadtree.h" #include "widgets/systems/DragSystem.h" #include "widgets/systems/TooltipSystem.h" #include "wid...
#include "Window.h" #include "devices/Mouse.h" #include "devices/Keyboard.h" #include "devices/Touches.h" #include "devices/Joystick.h" #include "collision/area/EventsToCollisions.h" #include "collision/quadtree/Quadtree.h" #include "widgets/systems/DragSystem.h" #include "widgets/systems/TooltipSystem.h" #include "wid...
Fix path.
Fix path.
C++
mit
Kaosumaru/libmx,Kaosumaru/libmx,Kaosumaru/libmx
6aa70e148ef9380fddd0fa6ab14b82bb59718f91
Modules/Filtering/DimensionalityReduction/include/otbFastICAImageFilter.hxx
Modules/Filtering/DimensionalityReduction/include/otbFastICAImageFilter.hxx
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
swap line/column during the update of W
BUG: swap line/column during the update of W
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
d2c08afd7ec95c40523b0d200e7abb73b86bddca
modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
modules/video_coding/codecs/vp8/vp8_sequence_coder.cc
/* * Copyright (c) 2012 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 contribu...
/* * Copyright (c) 2012 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 contribu...
Add missing call to SetUsageMessage().
vp8: Add missing call to SetUsageMessage(). Without it vp8_coder --help does not work. BUG=None TEST=ninja -C out/Debug && out/Debug/vp8_coder --help now shows the usage message. R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/44649005 Patch from Thiago Farina <tfarina@chromium.org>. git-svn...
C++
bsd-3-clause
svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758,svn2github/webrtc-Revision-8758
65044e8ba223bc01dc8731d6d1207cce8dc471d8
cpp/openlocationcode_test.cc
cpp/openlocationcode_test.cc
#include "openlocationcode.h" #include <stdio.h> #include <stdlib.h> #include <fstream> #include <string> #include "codearea.h" #include "gtest/gtest.h" namespace openlocationcode { namespace internal { namespace { TEST(ParameterChecks, PairCodeLengthIsEven) { EXPECT_EQ(0, internal::kPairCodeLength % 2); } TEST(...
#include "openlocationcode.h" #include <stdio.h> #include <stdlib.h> #include <fstream> #include <string> #include "codearea.h" #include "gtest/gtest.h" namespace openlocationcode { namespace internal { namespace { TEST(ParameterChecks, PairCodeLengthIsEven) { EXPECT_EQ(0, internal::kPairCodeLength % 2); } TEST(...
Add unit test to verify internal::kPositionLUT
Add unit test to verify internal::kPositionLUT Add unit test PositionLUTMatchesAlphabet to verify that internal::kPositionLUT matches the contents of internal::kAlphabet.
C++
apache-2.0
google/open-location-code,zongweil/open-location-code,google/open-location-code,zongweil/open-location-code,bocops/open-location-code,zongweil/open-location-code,zongweil/open-location-code,google/open-location-code,google/open-location-code,google/open-location-code,google/open-location-code,google/open-location-code,...
4fb28d1d025eda15f1f61cc6b48ed7fb1898e8dd
src/os/async_thread.cc
src/os/async_thread.cc
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundled wi...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundled wi...
Fix compilation
Fix compilation
C++
apache-2.0
LinkedDestiny/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,swoole/swoole-src,LinkedDestiny/swoole-src,LinkedDestiny/swoole-src,swoole/swoole-src
be21e8d19d5abfcc3629532ca886b56834bb9478
deps/CoinQ/src/CoinQ_blocks.cpp
deps/CoinQ/src/CoinQ_blocks.cpp
/////////////////////////////////////////////////////////////////////////////// // // CoinQ_blocks.cpp // // Copyright (c) 2013 Eric Lombrozo // // All Rights Reserved. #include "CoinQ_blocks.h" #include <logger/logger.h> using namespace CoinQ; bool CoinQBlockTreeMem::setBestChain(ChainHeader& header) { if (hea...
/////////////////////////////////////////////////////////////////////////////// // // CoinQ_blocks.cpp // // Copyright (c) 2013 Eric Lombrozo // // All Rights Reserved. #include "CoinQ_blocks.h" #include <logger/logger.h> using namespace CoinQ; bool CoinQBlockTreeMem::setBestChain(ChainHeader& header) { if (hea...
Truncate blocktree swapfile if exists.
Truncate blocktree swapfile if exists.
C++
mit
ciphrex/mSIGNA,Faldon/mSIGNA,ciphrex/mSIGNA,ciphrex/mSIGNA,Faldon/mSIGNA
67aca772ef630913f09454c4e068192749f37ebb
src/split/splitBed.cpp
src/split/splitBed.cpp
/***************************************************************************** splitBed.cpp (c) 2015 - Pierre Lindenbaum PhD @yokofakun http://plindenbaum.blogspot.com Univ. Nantes, France Licenced under the GNU General Public License 2.0 license. ************************************************************...
/***************************************************************************** splitBed.cpp (c) 2015 - Pierre Lindenbaum PhD @yokofakun http://plindenbaum.blogspot.com Univ. Nantes, France Licenced under the GNU General Public License 2.0 license. ************************************************************...
Use ostringstream to format filename
Use ostringstream to format filename Using C++'s native facility here avoids a warning from the sprintf() in the previous code.
C++
mit
arq5x/bedtools2,jmarshall/bedtools2,jmarshall/bedtools2,arq5x/bedtools2,jmarshall/bedtools2,jmarshall/bedtools2,arq5x/bedtools2,arq5x/bedtools2,jmarshall/bedtools2,arq5x/bedtools2
8f719512ba7c6529368c62135d5bd6ab7a0e3aff
src/syscoin-wallet.cpp
src/syscoin-wallet.cpp
// Copyright (c) 2016-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/syscoin-config.h> #endif #include <chainparams.h> #include <chainparamsbase.h> #...
// Copyright (c) 2016-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/syscoin-config.h> #endif #include <chainparams.h> #include <chainparamsbase.h> #...
Use PACKAGE_NAME in usage help
bitcoin-wallet: Use PACKAGE_NAME in usage help Former-commit-id: 2e23d0c700cc3cca587e00eab12ae5d64cbd7c1c
C++
mit
syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin2,syscoin/syscoin2,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin2
ac11672067b543ce415748e64ee079a72849be3e
opencog/reasoning/pln/rules/simsubst/SimSubstRule1.cc
opencog/reasoning/pln/rules/simsubst/SimSubstRule1.cc
/* * Copyright (C) 2002-2007 Novamente LLC * Copyright (C) 2008 by Singularity Institute for Artificial Intelligence * All Rights Reserved * * 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 ...
/* * Copyright (C) 2002-2007 Novamente LLC * Copyright (C) 2008 by Singularity Institute for Artificial Intelligence * All Rights Reserved * * 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 ...
Convert SimSubstRule1 to use vtree instead of the obsolete PLN atom class. It now works properly with applyRule (pln-ar) but still crashes the BIT.
Convert SimSubstRule1 to use vtree instead of the obsolete PLN atom class. It now works properly with applyRule (pln-ar) but still crashes the BIT.
C++
agpl-3.0
TheNameIsNigel/opencog,shujingke/opencog,Tiggels/opencog,williampma/atomspace,ceefour/opencog,cosmoharrigan/atomspace,Tiggels/opencog,sumitsourabh/opencog,eddiemonroe/atomspace,cosmoharrigan/atomspace,misgeatgit/atomspace,gaapt/opencog,rodsol/opencog,printedheart/opencog,ceefour/opencog,UIKit0/atomspace,shujingke/openc...
b519be027882c09d5f94b3ef7baecae1d1de3812
src/SimplifySpecializations.cpp
src/SimplifySpecializations.cpp
#include "SimplifySpecializations.h" #include "IROperator.h" #include "IRMutator.h" #include "Simplify.h" #include "Substitute.h" #include "Definition.h" #include "IREquality.h" #include <set> namespace Halide{ namespace Internal { using std::map; using std::set; using std::string; using std::vector; namespace { v...
#include "SimplifySpecializations.h" #include "IROperator.h" #include "IRMutator.h" #include "Simplify.h" #include "Substitute.h" #include "Definition.h" #include "IREquality.h" #include <set> namespace Halide{ namespace Internal { using std::map; using std::set; using std::string; using std::vector; namespace { v...
Revert previous change
Revert previous change values and args *can* vary across specializations in some cases, per psuriana@ Former-commit-id: d76ea81df849239dff5d959bf9b4141dc68e9f80
C++
mit
Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide
04a5298a72d53fa990383ccbe1825a93f09d55df
api/impl/halValidate.cpp
api/impl/halValidate.cpp
/* * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <sstream> #include <deque> #include <vector> #include <iostream> #include "halValidate.h" #include "hal.h" using namespace std; using namespace hal; // current implementation is poor and h...
/* * Copyright (C) 2012 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include <sstream> #include <deque> #include <vector> #include <iostream> #include "halValidate.h" #include "hal.h" using namespace std; using namespace hal; // current implementation is poor and h...
add a bit more information to error message
add a bit more information to error message
C++
mit
glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal,glennhickey/hal
b256fd8a4b87e9ae30847d9e1995d9de2b59076b
src/Mod/Part/Gui/AppPartGui.cpp
src/Mod/Part/Gui/AppPartGui.cpp
/*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * * pub...
/*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU Library General Public License as * * pub...
rebase auto merge error fix AppPartGui.cpp
rebase auto merge error fix AppPartGui.cpp add ViewProviderRegularPolygon
C++
lgpl-2.1
Fat-Zer/FreeCAD_sf_master,Creworker/FreeCAD,cypsun/FreeCAD,cypsun/FreeCAD,marcoitur/FreeCAD,cpollard1001/FreeCAD_sf_master,elgambitero/FreeCAD_sf_master,usakhelo/FreeCAD,Alpistinho/FreeCAD,Alpistinho/FreeCAD,marcoitur/Freecad_test,jriegel/FreeCAD,jonnor/FreeCAD,jonnor/FreeCAD,maurerpe/FreeCAD,bblacey/FreeCAD-MacOS-CI,k...
48cd8d58136ccbb952be1bf536b2a3031a56c1d4
interpreter/cling/test/LibraryCall/call.C
interpreter/cling/test/LibraryCall/call.C
// RUN: clang -shared %S/call_lib.c -olibcall_lib%shlibext && cat %s | %cling | FileCheck %s .L libcall_lib extern "C" int cling_testlibrary_function(); int i = cling_testlibrary_function(); extern "C" int printf(const char* fmt, ...); printf("got i=%d\n", i); // CHECK: got i=66 .q
// RUN: clang -shared %S/call_lib.c -o%p/libcall_lib%shlibext && ls %p/libcall_lib%shlibext && cat %s | %cling -L%p | FileCheck %s .L libcall_lib extern "C" int cling_testlibrary_function(); int i = cling_testlibrary_function(); extern "C" int printf(const char* fmt, ...); printf("got i=%d\n", i); // CHECK: got i=66 ....
Make test more verbose; fix directory for library.
Make test more verbose; fix directory for library. git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@47430 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT
d42de28bf476643a1b01e749d4fe83ba668821da
src/OrbitGl/ModulesDataView.cpp
src/OrbitGl/ModulesDataView.cpp
// Copyright (c) 2020 The Orbit 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 "ModulesDataView.h" #include <absl/flags/declare.h> #include <absl/strings/ascii.h> #include <absl/strings/str_format.h> #include <absl/strings...
// Copyright (c) 2020 The Orbit 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 "ModulesDataView.h" #include <absl/flags/declare.h> #include <absl/strings/ascii.h> #include <absl/strings/str_format.h> #include <absl/strings...
Address lint warning in ModulesDataView
Address lint warning in ModulesDataView
C++
bsd-2-clause
google/orbit,google/orbit,google/orbit,google/orbit
e548154bbb1cfbe344bd86f9195f40e5ecb6db3a
runtime/vm/os_fuchsia.cc
runtime/vm/os_fuchsia.cc
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/globals.h" #if defined(HOST_OS_FUCHSIA) #include "vm/os.h" #include <errno.h> #include <...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "vm/globals.h" #if defined(HOST_OS_FUCHSIA) #include "vm/os.h" #include <errno.h> #include <...
Update to new FIDL API
[fuchsia] Update to new FIDL API There's an incoming change to use std:: types for non-nullable strings and vectors. See: https://fuchsia-review.googlesource.com/c/garnet/+/236996 Change-Id: Ib924e812a679213928a26dbf29402f40cb5f4cb3 Reviewed-on: https://dart-review.googlesource.com/c/88122 Commit-Queue: Zach Anderso...
C++
bsd-3-clause
dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dart-archiv...
82cf3dc55da6d4aeda197f0c1d01bc2925cd9657
encoder/file_writer.cc
encoder/file_writer.cc
// Copyright (c) 2015 The WebM 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 contributing projec...
// Copyright (c) 2015 The WebM 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 contributing projec...
Use time_util.
file_writer: Use time_util. Change-Id: Ia85efea5c01fb8f3811b72b895e53a2307ec1ac7
C++
bsd-3-clause
webmproject/webmlive,felipebetancur/webmlive,webmproject/webmlive,felipebetancur/webmlive,webmproject/webmlive,felipebetancur/webmlive,felipebetancur/webmlive,webmproject/webmlive,webmproject/webmlive,felipebetancur/webmlive
cacf9fc8199eff800a4ed2d55a13c377443b0ae2
gears/io/lines.hpp
gears/io/lines.hpp
// The MIT License (MIT) // Copyright (c) 2012-2014 Danny Y., Rapptz // 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 // us...
// The MIT License (MIT) // Copyright (c) 2012-2014 Danny Y., Rapptz // 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 // us...
Add example for gears::io::lines
Add example for gears::io::lines
C++
mit
Rapptz/Gears,Rapptz/Gears
93e57fa31b08f850197009c58ab362f5fe97de3d
aws-cpp-sdk-cognitoidentity-integration-tests/IdentityPoolOperationTest.cpp
aws-cpp-sdk-cognitoidentity-integration-tests/IdentityPoolOperationTest.cpp
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or ...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or ...
Solve cross platform race condition in IdentityPoolOperationTest (#245)
Solve cross platform race condition in IdentityPoolOperationTest (#245)
C++
apache-2.0
JoyIfBam5/aws-sdk-cpp,aws/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,jt70471/aws-sdk-cpp,awslabs/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,aws/aws-sdk-cpp,aws/aws-sdk-cpp,aws/aws-sdk-cpp,cedral/aws-sdk-cpp,JoyIfBam5/aws-sdk-cpp,cedral/aws-sdk-cpp,cedral/aws-sdk-cpp,cedral/aws-sdk-cpp,aws/aws-sdk-cpp,jt70471/aws-sdk-cpp,cedral/aws-sdk-c...
bf90e033f4fe86cfb90492c7e0962278ea3a146d
src/wallet/sqlite.cpp
src/wallet/sqlite.cpp
// Copyright (c) 2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <wallet/sqlite.h> #include <logging.h> #include <sync.h> #include <util/memory.h> #include <util/strencodings.h> #includ...
// Copyright (c) 2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <wallet/sqlite.h> #include <logging.h> #include <sync.h> #include <util/memory.h> #include <util/strencodings.h> #includ...
Implement SQLiteBatch::ReadKey, WriteKey, EraseKey, and HasKey
Implement SQLiteBatch::ReadKey, WriteKey, EraseKey, and HasKey
C++
mit
Xekyo/bitcoin,rnicoll/dogecoin,MeshCollider/bitcoin,fujicoin/fujicoin,AkioNak/bitcoin,sipsorcery/bitcoin,qtumproject/qtum,mm-s/bitcoin,qtumproject/qtum,litecoin-project/litecoin,prusnak/bitcoin,GroestlCoin/bitcoin,ElementsProject/elements,JeremyRubin/bitcoin,alecalve/bitcoin,yenliangl/bitcoin,rnicoll/bitcoin,yenliangl/...
ed8cfad5baf9d7fd7c8cb2178dabaed4eac71eb7
src/basic_clean_server.cpp
src/basic_clean_server.cpp
#include <ros/ros.h> #include <actionlib/server/simple_action_server.h> #include <roomba_clean_actions/basic_cleanAction.h> #include <roomba_serial/SendButton.h> #include <roomba_serial/SetMode.h> #include <roomba_serial/Sensors.h> #include <ctime> class basic_cleanAction { protected: ros::NodeHandle nh_; ros::Ser...
#include <ros/ros.h> #include <actionlib/server/simple_action_server.h> #include <roomba_clean_actions/basic_cleanAction.h> #include <roomba_serial/SendButton.h> #include <roomba_serial/SetMode.h> #include <roomba_serial/Sensors.h> #include <ctime> class basic_cleanAction { protected: ros::NodeHandle nh_; ros::Ser...
Change completion condition for clean action. It was "charge state == 2", now it is "current > 0".
Change completion condition for clean action. It was "charge state == 2", now it is "current > 0".
C++
mit
danbsmith/roomba-cleaning
a30fbf4834e20eebe8b2534fcdeb67b012b2d6a6
opencv_detector/src/main.cpp
opencv_detector/src/main.cpp
#include "lib/camera/web_camera.h" #include "lib/filter/filter_chain.h" #include "lib/filter/frame_grab.h" #include "lib/filter/gaussian_blur.h" #include "lib/filter/display.h" #include "lib/filter/background_extractor.h" #include "lib/filter/binary_threshold.h" #include "lib/filter/dilate.h" #include "lib/filter/erode...
#include "lib/camera/web_camera.h" #include "lib/filter/filter_chain.h" #include "lib/filter/frame_grab.h" #include "lib/filter/gaussian_blur.h" #include "lib/filter/display.h" #include "lib/filter/background_extractor.h" #include "lib/filter/binary_threshold.h" #include "lib/filter/dilate.h" #include "lib/filter/erode...
Add fps counter
Add fps counter
C++
mit
99-bugs/toomanypeeps,99-bugs/toomanypeeps,99-bugs/toomanypeeps
a8a80f5bcb31850ff451683dd42bf94ff0e0c68a
kopete/config/avdevice/avdeviceconfig.cpp
kopete/config/avdevice/avdeviceconfig.cpp
/* avdeviceconfig.cpp - Kopete Video Device Configuration Panel Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* ...
/* avdeviceconfig.cpp - Kopete Video Device Configuration Panel Copyright (c) 2005-2006 by Cláudio da Silveira Pinheiro <taupter@gmail.com> Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> ************************************************************************* ...
Add the video preferences to the tab
Add the video preferences to the tab svn path=/trunk/KDE/kdenetwork/kopete/; revision=703949
C++
lgpl-2.1
Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete
5abd34cb8f034ac3290b61fe4852e237a9114543
src/blender-geom-writer.cc
src/blender-geom-writer.cc
// Copyright (c) 2016, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of gepetto-viewer-corba. // gepetto-viewer-corba 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 F...
// Copyright (c) 2016, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of gepetto-viewer-corba. // gepetto-viewer-corba 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 F...
Fix generation of script to import models into blender
Fix generation of script to import models into blender
C++
bsd-3-clause
olivier-stasse/gepetto-viewer
3f895e98cc642a25585d2f03f9bed170e66cd1ee
engine/thread/Thread.hpp
engine/thread/Thread.hpp
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_UTILS_THREAD_HPP #define OUZEL_UTILS_THREAD_HPP #include <system_error> #include <thread> #if defined(_WIN32) # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AN...
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_UTILS_THREAD_HPP #define OUZEL_UTILS_THREAD_HPP #include <system_error> #include <thread> #if defined(_WIN32) # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AN...
Use bitCast instead of memcpy
Use bitCast instead of memcpy
C++
unlicense
elnormous/ouzel,elnormous/ouzel,elnormous/ouzel
9d08962f6fb6580f5315bf9a69cb485647838b92
waveFrontLoader.cpp
waveFrontLoader.cpp
#include "waveFrontLoader.h" waveFrontLoader::waveFrontLoader() { indexCount = 0; } void waveFrontLoader::loadFile(const char *fileName) { ifstream file; char line[255]; //open file in openframeworks data folder file.open(ofToDataPath(fileName).c_str()); if (file.is_open()) { whi...
#include "waveFrontLoader.h" waveFrontLoader::waveFrontLoader() { indexCount = 0; faceCount = 0; materialColorCount = 0; materialCount = 0; materialBool = false; } void waveFrontLoader::loadFile(const char *fileName) { //if we're using a material file, load it if (materialBool == true) ...
Update waveFrontLoader.cpp
Update waveFrontLoader.cpp added ability to parse and use .mtl files
C++
mit
section14/openframeworks-WaveFront-obj-loader
c563fca438b6039c187d55ce54c6c7944960daf3
lib/Target/ARM/ARMMachineFunctionInfo.cpp
lib/Target/ARM/ARMMachineFunctionInfo.cpp
//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Add an initializer of ARMFunctionInfo::ReturnRegsCount in the explicit ctor.
ARMMachineFunctionInfo.cpp: Add an initializer of ARMFunctionInfo::ReturnRegsCount in the explicit ctor. It caused crash since r283867. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@283909 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llv...
9240ba213833bbbcef5c43d5f014dde9ec8264f1
generator/road_access_generator.cpp
generator/road_access_generator.cpp
#include "generator/road_access_generator.hpp" #include "generator/routing_helpers.hpp" #include "routing/road_access.hpp" #include "routing/road_access_serialization.hpp" #include "indexer/classificator.hpp" #include "indexer/feature.hpp" #include "indexer/feature_data.hpp" #include "indexer/features_vector.hpp" #...
#include "generator/road_access_generator.hpp" #include "generator/routing_helpers.hpp" #include "routing/road_access.hpp" #include "routing/road_access_serialization.hpp" #include "indexer/classificator.hpp" #include "indexer/feature.hpp" #include "indexer/feature_data.hpp" #include "indexer/features_vector.hpp" #...
Allow road access for access=permissive
[routing][generator] Allow road access for access=permissive
C++
apache-2.0
matsprea/omim,rokuz/omim,bykoianko/omim,rokuz/omim,darina/omim,mapsme/omim,milchakov/omim,mpimenov/omim,ygorshenin/omim,rokuz/omim,milchakov/omim,rokuz/omim,mpimenov/omim,mpimenov/omim,matsprea/omim,alexzatsepin/omim,milchakov/omim,alexzatsepin/omim,mpimenov/omim,rokuz/omim,bykoianko/omim,VladiMihaylenko/omim,bykoianko...
b1de553f78e5a83e3684e9ff1603a298ce84738b
apps/evmc/memcache_client_pool.cc
apps/evmc/memcache_client_pool.cc
#include "memcache_client_pool.h" #include "vbucket_config.h" #include "evpp/event_loop_thread_pool.h" #include "likely.h" namespace evmc { #define GET_FILTER_KEY_POS(name, key) \ name = key.find(key_filter_[0]); \ if (name == std::string::npos) { \ name = key.size(); \ } #define SET_SERVERID(vbucket,command)...
#include "memcache_client_pool.h" #include "vbucket_config.h" #include "evpp/event_loop_thread_pool.h" #include "likely.h" namespace evmc { #define GET_FILTER_KEY_POS(name, key) \ name = key.find(key_filter_[0]); \ if (name == std::string::npos) { \ name = key.size(); \ } #define SET_SERVERID(vbucket,command)...
fix retry bug
fix retry bug
C++
bsd-3-clause
Qihoo360/evpp,Qihoo360/evpp,Qihoo360/evpp,Qihoo360/evpp,Qihoo360/evpp
a6b7c523b2f088aeddcd19c47bbdb03c3de17d00
gm/texturedomaineffect.cpp
gm/texturedomaineffect.cpp
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This test only works with the GPU backend. #include "gm/gm.h" #include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #incl...
/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ // This test only works with the GPU backend. #include "gm/gm.h" #include "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #incl...
Revert "Use bitmap subset for comparison in texture_domain_effect GMs."
Revert "Use bitmap subset for comparison in texture_domain_effect GMs." This reverts commit 6377f1c1f9a44d5a6b4a7a53840d82885a8ff2ff. Reason for revert: doesn't work with ES2 w/out NPOT extension Original change's description: > Use bitmap subset for comparison in texture_domain_effect GMs. > > This used to do 2 te...
C++
bsd-3-clause
google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/pla...
3d2c84e33db68c523b9acb6f9aefd0ea6c2289a0
Library/Sources/Stroika/Foundation/Containers/LRUCache.inl
Library/Sources/Stroika/Foundation/Containers/LRUCache.inl
/* * Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved */ #ifndef _Stroika_Foundation_Containers_LRUCache_inl_ #define _Stroika_Foundation_Containers_LRUCache_inl_ 1 /* ******************************************************************************** ***************************** Implementation D...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved */ #ifndef _Stroika_Foundation_Containers_LRUCache_inl_ #define _Stroika_Foundation_Containers_LRUCache_inl_ 1 /* ******************************************************************************** ***************************** Implementation D...
fix small bug un LRUCache code
fix small bug un LRUCache code
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
37ee856dec65f6e346f8a9a677902ed0b9f0949b
lib/graph.hpp
lib/graph.hpp
// This file contains definitions of basic types: Vertex, Distance, Arc, and Graph. // Graph can be read from file in DIMACS or METIS format. // // Copyright (c) savrus, 2014 #pragma once #include <vector> #include <utility> #include <algorithm> #include <limits> #include <cassert> #include <stdio.h> #include <ctype....
// This file contains definitions of basic types: Vertex, Distance, Arc, and Graph. // Graph can be read from file in DIMACS or METIS format. // // Copyright (c) savrus, 2014 #pragma once #include <vector> #include <utility> #include <algorithm> #include <limits> #include <cassert> #include <stdio.h> #include <ctype....
Add Graph::write interface to write grap to file
Add Graph::write interface to write grap to file Graph::write() writes graph to a file in DIMACS format. There is an interface to create graph inside a program, one may want to write the result to a file.
C++
mit
savrus/hl
ba3df40c5daadb59ffa9a5c667388dd3acf0568b
data_structures/linked_list/problems/convert_sorted_to_bst/cpp/solution.cpp
data_structures/linked_list/problems/convert_sorted_to_bst/cpp/solution.cpp
/* * Problem description: Given a singly linked list where elements are sorted in ascending order, convert * it to a height balanced BST. * Solution time complexity: O(n log n) * Comments: Given solution is non-destructive to the list it's called upon. */ /** * Def...
/* * Problem description: Given a singly linked list where elements are sorted in ascending order, convert * it to a height balanced BST. * Solution time complexity: O(n log n) * Comments: Given solution is non-destructive to the list it's called upon. See the comment...
Update solution.cpp
Update solution.cpp
C++
mit
lilsweetcaligula/Algorithms,lilsweetcaligula/Algorithms,lilsweetcaligula/Algorithms
636cafef941a6eee6adb9c3c704f4c5aac1686cd
example/cifar10/main.cpp
example/cifar10/main.cpp
#define NEU_CONVOLUTION_LAYER_USE_VECTORIZED_KERNEL #include <iostream> #include <boost/timer.hpp> #include <boost/program_options.hpp> #include <neu/vector_io.hpp> #include <neu/layers_algorithm.hpp> #include <neu/kernel.hpp> //#include <neu/learning_rate_gen/subtract_delta_weight.hpp> //#include <neu/learning_rate_ge...
#define NEU_CONVOLUTION_LAYER_USE_VECTORIZED_KERNEL #include <iostream> #include <boost/timer.hpp> #include <boost/program_options.hpp> #include <neu/vector_io.hpp> #include <neu/layers_algorithm.hpp> #include <neu/kernel.hpp> //#include <neu/learning_rate_gen/subtract_delta_weight.hpp> //#include <neu/learning_rate_ge...
add program option codes
add program option codes
C++
mit
okdshin/Neu,okdshin/Neu
655a90e38ae9869050d356f99dd90692c7636b10
plugins/single_plugins/expo.cpp
plugins/single_plugins/expo.cpp
#include <core.hpp> #include <opengl.hpp> void trigger_scale_change(int scX, int scY) { SignalListenerData sigData; sigData.push_back(&scX); sigData.push_back(&scY); core->trigger_signal("screen-scale-changed", sigData); } class Expo : public Plugin { private: KeyBinding toggle; Bu...
#include <core.hpp> #include <opengl.hpp> void trigger_scale_change(int scX, int scY) { SignalListenerData sigData; sigData.push_back(&scX); sigData.push_back(&scY); core->trigger_signal("screen-scale-changed", sigData); } class Expo : public Plugin { private: KeyBinding toggle; Bu...
Add viewport-change-notify listener
Expo: Add viewport-change-notify listener
C++
mit
ammen99/wayfire,ammen99/wayfire
e8835da3c74ce442a4726369cb49726b493edbf3
src/abaclade/perf/stopwatch.cxx
src/abaclade/perf/stopwatch.cxx
/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2014 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2014 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
Implement abc::perf::stopwatch for Darwin
Implement abc::perf::stopwatch for Darwin
C++
lgpl-2.1
raffaellod/lofty,raffaellod/lofty
787a17d20e338de7268553ab1faa1415ee1bdabb
wasm/MarkLive.cpp
wasm/MarkLive.cpp
//===- MarkLive.cpp -------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
//===- MarkLive.cpp -------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
Refactor markLive.cpp. NFC
[lld][WebAssembly] Refactor markLive.cpp. NFC This pattern matches the ELF implementation add if also useful as part of a planned change where running `mark` more than once is needed. Differential Revision: https://reviews.llvm.org/D68749 git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@374275 91177308-0d34-0410...
C++
apache-2.0
llvm-mirror/lld,llvm-mirror/lld
401bb43311d2bd15c140a4be840f304121bf9f57
src/arch/sparc/syscallreturn.hh
src/arch/sparc/syscallreturn.hh
/* * Copyright (c) 2003-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) 2003-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...
Change to use -return_value.value like other implementations.
Change to use -return_value.value like other implementations.
C++
bsd-3-clause
haowu4682/gem5,andrewfu0325/gem5-aladdin,haowu4682/gem5,andrewfu0325/gem5-aladdin,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,andrewfu0325/gem5-aladdin,LingxiaoJIA/gem5,LingxiaoJIA/gem5,andrewfu0325/gem5-aladdin,haowu4682/gem5,LingxiaoJIA/gem5,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,Lingxiao...