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
9d4bc08d6787044cd771f5caa31a790271b61e52
src/DBase3File.cpp
src/DBase3File.cpp
#include "DBase3File.h" #include "utf8.h" #ifndef _WIN32 #include "../system/IConv.h" #endif #include <cstdio> #include <cstring> #include <cassert> #include <shapefil.h> using namespace std; using namespace table; class table::DBase3Handle { public: DBase3Handle() { } ~DBase3Handle() { if (h) { DBFC...
#include "DBase3File.h" #include "utf8.h" #ifndef _WIN32 #include "../system/IConv.h" #endif #include <cstring> #include <cassert> #include <shapefil.h> using namespace std; using namespace table; class table::DBase3Handle { public: DBase3Handle() { } ~DBase3Handle() { if (h) { DBFClose(h); } }...
remove cstdio header file
remove cstdio header file
C++
mit
Sometrik/graphlib,Sometrik/graphlib
abd94fdf50fae6a18c718161b5280da1ace6a62d
src/IndexWriter.cc
src/IndexWriter.cc
/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include "IndexWriter.h" #include...
/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include "IndexWriter.h" #include...
index cm_clicked_terms and cm_ctr_norm_std
index cm_clicked_terms and cm_ctr_norm_std
C++
agpl-3.0
eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql
e2dd45a4dba923ae0157a50420e1dd32fb719861
himan-plugins/source/writer.cpp
himan-plugins/source/writer.cpp
#include "writer.h" #include "logger.h" #include "plugin_factory.h" #include "s3.h" #include "statistics.h" #include "timer.h" #include "util.h" #include <fstream> #include "cache.h" #include "csv.h" #include "grib.h" #include "querydata.h" #include "radon.h" static std::vector<std::string> pendingWrites; static std:...
#include "writer.h" #include "logger.h" #include "plugin_factory.h" #include "s3.h" #include "statistics.h" #include "timer.h" #include "util.h" #include <fstream> #include "cache.h" #include "csv.h" #include "grib.h" #include "querydata.h" #include "radon.h" static std::vector<std::string> pendingWrites; static std:...
Call reserve() after locking
Call reserve() after locking
C++
mit
fmidev/himan,fmidev/himan,fmidev/himan
9069d0aa108de862a03f2f140ad1424cf5c3fa89
src/SearchForm.cpp
src/SearchForm.cpp
/* * Copyright 2016-2017 Raefaldhi Amartya Junior <raefaldhiamartya@gmail.com> * All rights reserved. Distributed under the terms of the MIT license. */ #include "SearchForm.h" #include <regex.h> #include <stdio.h> #include <stdlib.h> #include "tinyxml/tinyxml.h" #include <LayoutBuilder.h> #include <TextView.h> ...
/* * Copyright 2016-2017 Raefaldhi Amartya Junior <raefaldhiamartya@gmail.com> * All rights reserved. Distributed under the terms of the MIT license. */ #include "SearchForm.h" #include <regex.h> #include <stdio.h> #include <stdlib.h> #include "tinyxml/tinyxml.h" #include <LayoutBuilder.h> #include <TextView.h> ...
Fix SegFault error when pressing on empty list
Fix SegFault error when pressing on empty list
C++
mit
raefaldhia/Maps
ffd47f4ff905d4d61e9e8595ad6e0797d247a0ea
tests/test_service.cpp
tests/test_service.cpp
/* ** Author(s): ** - Herve Cuche <hcuche@aldebaran-robotics.com> ** ** Copyright (C) 2010, 2012 Aldebaran Robotics */ #include <vector> #include <iostream> #include <string> #include <gtest/gtest.h> #include <qimessaging/session.hpp> #include <qitype/anyobject.hpp> #include <qitype/dynamicobjectbuilder.hpp> #...
/* ** Author(s): ** - Herve Cuche <hcuche@aldebaran-robotics.com> ** ** Copyright (C) 2010, 2012 Aldebaran Robotics */ #include <vector> #include <iostream> #include <string> #include <gtest/gtest.h> #include <qimessaging/session.hpp> #include <qitype/anyobject.hpp> #include <qitype/dynamicobjectbuilder.hpp> #...
fix warnings
Test: fix warnings Change-Id: I13484079d3dfd43c496decda1308f9ad97d0be52 Reviewed-on: http://gerrit.aldebaran.lan/38248 Reviewed-by: pdaouadi <fc1eb3334d3fdad315bae23aa166bc70bd434067@aldebaran-robotics.com> Tested-by: pdaouadi <fc1eb3334d3fdad315bae23aa166bc70bd434067@aldebaran-robotics.com>
C++
bsd-3-clause
aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,bsautron/libqi,aldebaran/libqi
af72c898095e91132e0569315561dd59def50da9
ext/pdfium_ext/page.cc
ext/pdfium_ext/page.cc
#include "page.h" #include "page_wrapper.h" #include "pdfium.h" #include <FreeImage.h> #include "fpdfview.h" #include <limits.h> #include <algorithm> #include <string> extern "C" { #include "ruby/encoding.h" } static VALUE rb_sym_height; static VALUE rb_sym_width; //static VALUE RB_Document; ///////////////////////...
#include "page.h" #include "page_wrapper.h" #include "pdfium.h" #include <FreeImage.h> #include "fpdfview.h" #include <limits.h> #include <algorithm> #include <string> extern "C" { #include "ruby/encoding.h" } static VALUE rb_sym_height; static VALUE rb_sym_width; //static VALUE RB_Document; ///////////////////////...
Fix unsigned/signed comparision warning
Fix unsigned/signed comparision warning
C++
mit
openresearch/pdfium-ruby,openresearch/pdfium-ruby,openresearch/pdfium-ruby,nathanstitt/pdfium-ruby,nathanstitt/pdfium-ruby,nathanstitt/pdfium-ruby
ddedeab5ddd41affe948f09c6ea5dbf28a7dfc62
src/tools/davix_taskqueue.cpp
src/tools/davix_taskqueue.cpp
/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) CERN 2013 * Author: Kwong Tat Cheung <kwong.tat.cheung@cern.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the F...
/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) CERN 2013 * Author: Kwong Tat Cheung <kwong.tat.cheung@cern.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the F...
Fix thread synchronization
Fix thread synchronization
C++
lgpl-2.1
cern-it-sdc-id/davix,cern-it-sdc-id/davix,cern-it-sdc-id/davix,cern-it-sdc-id/davix
6cef992c54fd4c05f3939f68e5eba97ee5f552c0
src/auth/Crypto.cc
src/auth/Crypto.cc
// vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2009 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Fou...
// vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2009 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software * Fou...
Drop "using namespace", it's almost always used explicitly anyway.
auth: Drop "using namespace", it's almost always used explicitly anyway. This helps us be agnostic about what crypto library is in use. Signed-off-by: Tommi Virtanen <9ab2264cc7e4806727ef3fc8f99e05b759bbf6e0@dreamhost.com>
C++
lgpl-2.1
ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph
b08814e8d26ca9670fed019a7f290814e47d56a7
src/transportserverasio_p.cpp
src/transportserverasio_p.cpp
/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <iostream> #include <string> #include <cstring> #include <cstdlib> #include <queue> #include <qi/log.hpp> #include <cerrno> #include <boost/asio.hpp> #include <boost/lexical_cast.hpp> #include "transportserver.hpp" #include "tra...
/* ** Copyright (C) 2012 Aldebaran Robotics ** See COPYING for the license */ #include <iostream> #include <string> #include <cstring> #include <cstdlib> #include <queue> #include <qi/log.hpp> #include <cerrno> #include <boost/asio.hpp> #include <boost/lexical_cast.hpp> #include "transportserver.hpp" #include "tra...
Fix SSL compilation
Fix SSL compilation Change-Id: Ic896e87332d2a0a5cb69b554c946fb8d21242b9c Reviewed-on: http://gerrit.aldebaran.lan:8080/16244 Reviewed-by: llec <42f1a1c02cacc0f5b0188f0127ea77bedfdcf21a@aldebaran-robotics.com> Tested-by: llec <42f1a1c02cacc0f5b0188f0127ea77bedfdcf21a@aldebaran-robotics.com>
C++
bsd-3-clause
aldebaran/libqi,aldebaran/libqi,aldebaran/libqi,vbarbaresi/libqi,aldebaran/libqi-java,aldebaran/libqi-java,bsautron/libqi,aldebaran/libqi-java
87bfd40fb79067c2070e30b43d2b12f47985e97b
chrome/browser/net/preconnect.cc
chrome/browser/net/preconnect.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/net/preconnect.h" #include "base/logging.h" #include "chrome/browser/profile.h" #include "chrome/browser/chrome_thread.h" #i...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/net/preconnect.h" #include "base/logging.h" #include "chrome/browser/profile.h" #include "chrome/browser/chrome_thread.h" #i...
Fix the construction of the pool names for preconnect.
Fix the construction of the pool names for preconnect. BUG=none TEST=none Review URL: http://codereview.chromium.org/2842033 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@51163 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
ae9856b1dc7808dbd266def84a889644b5d049ca
chrome_frame/test/http_server.cc
chrome_frame/test/http_server.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/test/http_server.h" #include "base/base_paths.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/str...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome_frame/test/http_server.h" #include "base/base_paths.h" #include "base/file_util.h" #include "base/path_service.h" #include "base/str...
Fix a dumb error introduced earlier. We need to call Stop only when the wait on the python server returns an error
Fix a dumb error introduced earlier. We need to call Stop only when the wait on the python server returns an error TBR=amit Review URL: http://codereview.chromium.org/3162028 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@56901 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Just-D/chromium-1,jaruba/chromium.src,mohamed--abdel-maksoud/chromium.src,junmin-zhu/chromium-rivertrail,zcbenz/cefode-chromium,M4sse/chromium.src,mogoweb/chromium-crosswalk,bright-sparks/chromium-spacewalk,timopulkkinen/BubbleFish,Jonekee/chromium.src,krieger-od/nwjs_chromium.src,jaruba/chromium.src,dednal/chromium.sr...
fe8ffb63005accbbe9b86c2bf673bce7f73efd84
tensorflow/cc/gradients/resource_variable_grad_test.cc
tensorflow/cc/gradients/resource_variable_grad_test.cc
/* Copyright 2020 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 2020 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...
Rename scope_
Rename scope_
C++
apache-2.0
gautam1858/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,sarvex/tensorflow,Intel-Corporation/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved...
b055b9c474cd376259dde8779908f9eeaf097d93
tensorflow/core/kernels/ragged_tensor_to_variant_op.cc
tensorflow/core/kernels/ragged_tensor_to_variant_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...
Fix `tf.raw_ops.RaggedTensorToVariant` invalid resize.
Fix `tf.raw_ops.RaggedTensorToVariant` invalid resize. PiperOrigin-RevId: 368299574 Change-Id: I751c186325aa0bab397928845e790e60c2d90918
C++
apache-2.0
frreiss/tensorflow-fred,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,...
b05909987cda772230915def4fa389dc8ef495da
trunk/extension/sample/report/appl.cpp
trunk/extension/sample/report/appl.cpp
/******************************************************************************\ * File: appl.cpp * Purpose: Implementation of sample classes for wxExRep * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009, Anton van Wezenbeek * All rights are reserved. Reproduction in ...
/******************************************************************************\ * File: appl.cpp * Purpose: Implementation of sample classes for wxExRep * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009, Anton van Wezenbeek * All rights are reserved. Reproduction in ...
fix compile error
fix compile error git-svn-id: e171abefef93db0a74257c7d87d5b6400fe00c1f@1770 f22100f3-aa73-48fe-a4fb-fd497bb32605
C++
mit
antonvw/wxExtension,antonvw/wxExtension,antonvw/wxExtension
1e5631a62992f147dae73f5146c11b0bf51cec4d
src/vector_tile_load_tile.hpp
src/vector_tile_load_tile.hpp
#ifndef __MAPNIK_VECTOR_TILE_LOAD_TILE_H__ #define __MAPNIK_VECTOR_TILE_LOAD_TILE_H__ // mapnik-vector-tile #include "vector_tile_config.hpp" #include "vector_tile_compression.hpp" #include "vector_tile_tile.hpp" #include "vector_tile_datasource_pbf.hpp" #include "vector_tile_is_valid.hpp" #include "vector_tile_proces...
#ifndef __MAPNIK_VECTOR_TILE_LOAD_TILE_H__ #define __MAPNIK_VECTOR_TILE_LOAD_TILE_H__ // mapnik-vector-tile #include "vector_tile_config.hpp" #include "vector_tile_compression.hpp" #include "vector_tile_tile.hpp" #include "vector_tile_datasource_pbf.hpp" #include "vector_tile_is_valid.hpp" #include "vector_tile_proces...
simplify code: don't throw in case of upgrading non v1 tiles
simplify code: don't throw in case of upgrading non v1 tiles
C++
bsd-3-clause
mapbox/mapnik-vector-tile,mapbox/mapnik-vector-tile,tomhughes/mapnik-vector-tile,tomhughes/mapnik-vector-tile,mapbox/mapnik-vector-tile,mapbox/mapnik-vector-tile,tomhughes/mapnik-vector-tile,tomhughes/mapnik-vector-tile
03813a9674a9908e04507041ea54ae0ef88322c7
test_conformance/device_execution/host_queue_order.cpp
test_conformance/device_execution/host_queue_order.cpp
// // Copyright (c) 2017 The Khronos Group Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // Copyright (c) 2017 The Khronos Group Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
Fix test_host_queue_order not to rely on bit accurate float ops (#294)
Fix test_host_queue_order not to rely on bit accurate float ops (#294) Currently, test_host_queue_order relies on bit accurate float ops. It expects expects that sqrt((float)i * i) == i. This is not always true due to floating point precision limitations. The test does not really need the sqrt operation and it can ...
C++
apache-2.0
KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS,KhronosGroup/OpenCL-CTS
93ec63dab294d49a1eea29cc03a0045f3e28b4e0
filtersjb/FGFilter.cpp
filtersjb/FGFilter.cpp
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGFilter.cpp Author: Jon S. Berndt Date started: 11/2000 ------------- Copyright (C) 2000 ------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGFilter.cpp Author: Jon S. Berndt Date started: 11/2000 ------------- Copyright (C) 2000 ------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
Fix for second order filter
Fix for second order filter
C++
lgpl-2.1
adrcad/jsbsim,AEgisTG/jsbsim,DolanP/jsbsim-dll,AEgisTG/jsbsim,airware/jsbsim,adrcad/jsbsim,DolanP/jsbsim-dll,Stonelinks/jsbsim,airware/jsbsim,esden/jsbsim,tridge/jsbsim,tridge/jsbsim,Stonelinks/jsbsim,hrabcak/jsbsim,airware/jsbsim,airware/jsbsim,Stonelinks/jsbsim,adrcad/jsbsim,hrabcak/jsbsim,airware/jsbsim,esden/jsbsim...
ac320bb16137e8d5f11a96ac16c6f2a5f3a0e629
src/vw/Image/PixelTypeInfo.cc
src/vw/Image/PixelTypeInfo.cc
// __BEGIN_LICENSE__ // Copyright (C) 2006, 2007 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ /// \file PixelTypeInfo.cc /// /// Functions that return information about types by ID. /// #include <vw/Im...
// __BEGIN_LICENSE__ // Copyright (C) 2006, 2007 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ /// \file PixelTypeInfo.cc /// /// Functions that return information about types by ID. /// #include <vw/Im...
fix a small bug in channel_type_name
fix a small bug in channel_type_name
C++
apache-2.0
AveRapina/visionworkbench,DougFirErickson/visionworkbench,AveRapina/visionworkbench,fengzhyuan/visionworkbench,fengzhyuan/visionworkbench,DougFirErickson/visionworkbench,fengzhyuan/visionworkbench,AveRapina/visionworkbench,fengzhyuan/visionworkbench,DougFirErickson/visionworkbench,DougFirErickson/visionworkbench,fengzh...
83e63d9bef02d002cc8fcbf067b4695cff12b8b5
tutorial/LoadOscProb.C
tutorial/LoadOscProb.C
void LoadOscProb(TString logLevel = "info") { // This macro will try to find the OscProb library // and load it in your session. You may consider // running it in your rootlogon.C file to be loaded // by default when you start ROOT. bool verbose = logLevel.Contains("v"); bool quiet = logLevel.Contai...
#include <iostream> #include "TString.h" #include "TSystem.h" #include "TInterpreter.h" void LoadOscProb(TString logLevel = "info") { // This macro will try to find the OscProb library // and load it in your session. You may consider // running it in your rootlogon.C file to be loaded // by default when you ...
Remove libMathMore and add OscProb to include path
Remove libMathMore and add OscProb to include path
C++
mit
joaoabcoelho/OscProb,joaoabcoelho/OscProb
0cd6efa8f1162f106d2a36cc54c7586070c80671
include/Cats/Corecat/Stream.hpp
include/Cats/Corecat/Stream.hpp
/* * * MIT License * * Copyright (c) 2016-2017 The Cats Project * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
/* * * MIT License * * Copyright (c) 2016-2017 The Cats Project * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to us...
Add StreamBuffer
Add StreamBuffer
C++
mit
SuperSodaSea/Corecat
90bda4a2d65ac924a935acf019cd4b36488cb18e
src/bp/Request.cxx
src/bp/Request.cxx
/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must reta...
/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must reta...
use std::exchange()
bp/Request: use std::exchange()
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
dfdde00ba6266e0b1fcc9ded51abe5dbc67e8840
include/Cats/Corecat/String.hpp
include/Cats/Corecat/String.hpp
/* * * MIT License * * Copyright (c) 2016 The Cats Project * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
/* * * MIT License * * Copyright (c) 2016 The Cats Project * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
Update StringView
Update StringView
C++
mit
SuperSodaSea/Corecat
842211c0028c12857c877aba069de598b6f8f569
include/VBE/system/Keyboard.hpp
include/VBE/system/Keyboard.hpp
#ifndef KEYBOARD_HPP #define KEYBOARD_HPP /// /// \brief The Keyboard class provides support to read the keyboard. /// class Keyboard { public: /// /// \brief Contains all supported keys. /// enum Key { Num0, Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, A, AC_BACK,...
#ifndef KEYBOARD_HPP #define KEYBOARD_HPP /// /// \brief The Keyboard class provides support to read the keyboard. /// class Keyboard { public: /// /// \brief Contains all supported keys. /// enum Key { Num0, Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, A, AC_BACK,...
Update keyboard docs
Update keyboard docs
C++
mit
Towerthousand/VBE
8ed1daaae035e2473ff101d7ebf0f45068eaa67e
include/aleph/topology/Spine.hh
include/aleph/topology/Spine.hh
#ifndef ALEPH_TOPOLOGY_SPINE_HH__ #define ALEPH_TOPOLOGY_SPINE_HH__ #include <aleph/topology/Intersections.hh> namespace aleph { namespace topology { template <class SimplicialComplex, class Simplex> bool isPrincipal( const Simplex& s, const SimplicialComplex& K ) { bool principal = true; for( auto&& t : K ) ...
#ifndef ALEPH_TOPOLOGY_SPINE_HH__ #define ALEPH_TOPOLOGY_SPINE_HH__ #include <aleph/topology/Intersections.hh> #include <vector> namespace aleph { namespace topology { /** Checks whether a simplex in a simplicial complex is principal, i.e. whether it is not a proper face of any other simplex in K. */ template...
Check for admissible and principal simplices
Check for admissible and principal simplices
C++
mit
Submanifold/Aleph,Submanifold/Aleph,Submanifold/Aleph
b47cf8a4a1898f5959fb3d79212b4f02470d77c2
include/estd/CircularBuffer.hpp
include/estd/CircularBuffer.hpp
/** * \file * \brief CircularBuffer class header * * \author Copyright (C) 2020 Kamil Szczygiel https://distortec.com https://freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You ...
/** * \file * \brief CircularBuffer class header * * \author Copyright (C) 2020 Kamil Szczygiel https://distortec.com https://freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You ...
Add non-const version of estd::CircularBuffer::front()
Add non-const version of estd::CircularBuffer::front()
C++
mpl-2.0
DISTORTEC/distortos,DISTORTEC/distortos,DISTORTEC/distortos,DISTORTEC/distortos
e75354154cff58b412d591182e2b46d54cab8e74
include/generator/SvgWriter.hpp
include/generator/SvgWriter.hpp
// Copyright 2015 Markus Ilmola // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. #ifndef GENERATOR_SVG_HPP ...
// Copyright 2015 Markus Ilmola // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either // version 2.1 of the License, or (at your option) any later version. #ifndef GENERATOR_SVG_HPP ...
Fix some #include errors
Fix some #include errors
C++
lgpl-2.1
ilmola/generator
f791c2ac76a5a42c02fb019a959fba5c1c2993c1
include/mdds/grid_map_types.hpp
include/mdds/grid_map_types.hpp
/************************************************************************* * * Copyright (c) 2012 Kohei Yoshida * * 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,...
/************************************************************************* * * Copyright (c) 2012 Kohei Yoshida * * 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,...
Set proper visibility for constructors of cell_block.
Set proper visibility for constructors of cell_block. To avoid getting instantiated directly in the client code.
C++
mit
Distrotech/mdds,Distrotech/mdds
c19c7c56c0ae85b120382525b1547766e4eeac17
include/sot/core/robot-utils.hh
include/sot/core/robot-utils.hh
/* * Copyright 2017, 2019 * LAAS-CNRS * A. Del Prete, T. Flayols, O. Stasse, F. Bailly * */ #ifndef __sot_torque_control_common_H__ #define __sot_torque_control_common_H__ /* --------------------------------------------------------------------- */ /* --- INCLUDE --------------------------------------------------...
/* * Copyright 2017, 2019 * LAAS-CNRS * A. Del Prete, T. Flayols, O. Stasse, F. Bailly * */ #ifndef __sot_torque_control_common_H__ #define __sot_torque_control_common_H__ /* --------------------------------------------------------------------- */ /* --- INCLUDE --------------------------------------------------...
Update include/sot/core/robot-utils.hh
Update include/sot/core/robot-utils.hh Co-authored-by: Joseph Mirabel <c794dc978753694c40f4d5fd4b8c12595a76e068@gmail.com>
C++
bsd-2-clause
stack-of-tasks/sot-core,stack-of-tasks/sot-core,stack-of-tasks/sot-core
41e6936bcefc8827e702daaf154a709ccd4bfeb7
unsupported/test/kronecker_product.cpp
unsupported/test/kronecker_product.cpp
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Kolja Brix <brix@igpm.rwth-aachen.de> // Copyright (C) 2011 Andreas Platen <andiplaten@gmx.de> // Copyright (C) 2012 Chen-Pang He <jdh8@ms63.hinet.net> // // This Source Code Form is subject to the terms of...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Kolja Brix <brix@igpm.rwth-aachen.de> // Copyright (C) 2011 Andreas Platen <andiplaten@gmx.de> // Copyright (C) 2012 Chen-Pang He <jdh8@ms63.hinet.net> // // This Source Code Form is subject to the terms of...
Fix the following warning: "comparison between signed and unsigned integer expressions"
Fix the following warning: "comparison between signed and unsigned integer expressions"
C++
bsd-3-clause
robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen,robustrobotics/eigen
39464ccab377c82480fa092ecf02fcdfd1ba2029
core/http_loader_test.cpp
core/http_loader_test.cpp
#include "dronecore.h" #include "http_loader.h" #include "curl_include.h" #include <fstream> #include <iostream> #include <chrono> #include <vector> #include <numeric> using namespace dronecore; class HttpLoaderTest : public testing::Test { protected: const std::string _file_url_1 = "http://subdomain.domain.com/s...
#include "dronecore.h" #include "http_loader.h" #include "curl_include.h" #include <fstream> #include <iostream> #include <chrono> #include <vector> #include <numeric> #include <gtest/gtest.h> using namespace dronecore; class HttpLoaderTest : public testing::Test { protected: const std::string _file_url_1 = "http...
add missing gtest include
core: add missing gtest include
C++
bsd-3-clause
dronecore/DroneCore,dronecore/DroneCore,dronecore/DroneCore,dronecore/DroneCore
ef2ecdab6c1f079cb2f3ef2927be0b1d07456ff3
src/client/fuse.cc
src/client/fuse.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2010 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GPL. * */ /* ...
make license GPL
fuse.cc: make license GPL Originally based on Miklos' fusexmp.c, which is GPL. Keep that license. LGPL makes no sense here anyway.
C++
lgpl-2.1
ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph
ac0756baf911c7cceefbe99eda3e47d6d188b7cf
kpeople/nepomuk-feeder/main.cpp
kpeople/nepomuk-feeder/main.cpp
/* * This file is part of telepathy-integration-daemon * * Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either ...
/* * This file is part of telepathy-integration-daemon * * Copyright (C) 2009-2010 Collabora Ltd. <info@collabora.co.uk> * @author George Goldberg <george.goldberg@collabora.co.uk> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * ...
Tidy up main.cpp
Tidy up main.cpp svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=1088894
C++
lgpl-2.1
KDE/ktp-common-internals,leonhandreke/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals,leonhandreke/ktp-common-internals
4b8b42be6cca9a5aa1103472de2c9da880e2512a
util/stdlib/strlcpy.cc
util/stdlib/strlcpy.cc
// Copyright 2014 The Crashpad 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 ...
// Copyright 2014 The Crashpad 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 ...
Implement c16lcpy without base:c16*
win: Implement c16lcpy without base:c16* Chromium base doesn't have base::c16len, c16memcpy, etc. when WCHAR_T_IS_UTF16, so implement c16lcpy without using those. R=mark@chromium.org BUG=crashpad:1, chromium:546288 Review URL: https://codereview.chromium.org/1417403004 .
C++
apache-2.0
atom/crashpad,atom/crashpad,chromium/crashpad,atom/crashpad,chromium/crashpad,chromium/crashpad
c0a1ad0b77c6aaa7f539dbeb692b2176f6642e9a
bytes_ostream.hh
bytes_ostream.hh
/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
use larger allocations
bytes_ostream: use larger allocations A 1MB response will require 2000 allocations with the current 512-byte chunk size. Increase it exponentially to reduce allocation count for larger responses (still respecting the upper limit). Message-Id: <fb2b255b705b591e4da2687af507bce23e1a8fb7@scylladb.com>
C++
agpl-3.0
duarten/scylla,raphaelsc/scylla,scylladb/scylla,scylladb/scylla,duarten/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla,raphaelsc/scylla,duarten/scylla,raphaelsc/scylla
b648401adbb50f7c56f274f5b18500168be8a088
util/ldb_cmd.cc
util/ldb_cmd.cc
// Copyright (c) 2012 Facebook. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "leveldb/write_batch.h" #include "db/dbformat.h" #include "db/log_reader.h" #include "db/write_batch_internal.h" #include "util/ldb_cmd.h" namespace le...
// Copyright (c) 2012 Facebook. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "leveldb/write_batch.h" #include "db/dbformat.h" #include "db/log_reader.h" #include "db/write_batch_internal.h" #include "util/ldb_cmd.h" namespace le...
Fix LDB dumpwal to print the messages as in the file.
Fix LDB dumpwal to print the messages as in the file. Summary: StringStream.clear() does not clear the stream. It sets some flags. Who knew? Fixing that is not printing the stuff again and again. Test Plan: ran it on a local db Reviewers: dhruba, emayanke Reviewed By: dhruba Differential Revision: https://reviews....
C++
bsd-3-clause
mbarbon/rocksdb,fengshao0907/rocksdb,mbarbon/rocksdb,kaschaeffer/rocksdb,luckywhu/rocksdb,tsheasha/rocksdb,caijieming-baidu/rocksdb,luckywhu/rocksdb,bbiao/rocksdb,facebook/rocksdb,JoeWoo/rocksdb,kaschaeffer/rocksdb,OverlordQ/rocksdb,mbarbon/rocksdb,jalexanderqed/rocksdb,siddhartharay007/rocksdb,RyanTech/rocksdb,msb-at-...
46ddb18995f08d87d9453a2612688ac9329b67de
cppcodec/detail/codec.hpp
cppcodec/detail/codec.hpp
/** * Copyright (C) 2015 Topology LP * 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 without restriction, including without limitation the * rights to us...
/** * Copyright (C) 2015 Topology LP * 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 without restriction, including without limitation the * rights to us...
Rename non_char_array to non_char_ptr.
Rename non_char_array to non_char_ptr. That's what it really is, and that's what out SFINAE is protecting against to avoid the wrong overload from being called. We're actually sort of fine with actual char arrays. See next commit.
C++
mit
jpetso/cppcodec,tplgy/cppcodec
fe4b55688808e7b10fd2e3a7ae2fc6682351e82a
variables/continuous/BetaPrimeRand.cpp
variables/continuous/BetaPrimeRand.cpp
#include "BetaPrimeRand.h" BetaPrimeRand::BetaPrimeRand(double shape1, double shape2) : BetaRand(shape1, shape2) { } std::string BetaPrimeRand::name() { return "Beta Prime(" + toStringWithPrecision(getAlpha()) + ", " + toStringWithPrecision(getBeta()) + ")"; } double BetaPrimeRand::f(double x) const { if...
#include "BetaPrimeRand.h" BetaPrimeRand::BetaPrimeRand(double shape1, double shape2) : BetaRand(shape1, shape2) { } std::string BetaPrimeRand::name() { return "Beta Prime(" + toStringWithPrecision(getAlpha()) + ", " + toStringWithPrecision(getBeta()) + ")"; } double BetaPrimeRand::f(double x) const { if...
Update BetaPrimeRand.cpp
Update BetaPrimeRand.cpp
C++
mit
StochasticEngineer/RandLib,Quanteeks/RandLib,Quanteeks/RandLib,StochasticEngineer/RandLib
5b652a24e3b3e03fc1380257711b9ed7b0ecc8c7
vcl/source/gdi/embeddedfontshelper.cxx
vcl/source/gdi/embeddedfontshelper.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
fix build with --enable-eot
fix build with --enable-eot Change-Id: Ia4e5f3d5a47ff88e318d930261efdc90e08cde50
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
7082b0ccd6324f5a2e78822e7ee93466fcab2fac
verbose-output/rules/numerals_rule.hpp
verbose-output/rules/numerals_rule.hpp
#ifndef INC_NUMERALS_RULE_HPP_ #define INC_NUMERALS_RULE_HPP_ #include "./../../../Common/verbose-output/rule.hpp" #include <boost/static_assert.hpp> namespace utils { namespace verbose_output { /// @brief rule for events from integrals state changing /// @detailed 1. let x be monotonous increasing ...
#ifndef INC_NUMERALS_RULE_HPP_ #define INC_NUMERALS_RULE_HPP_ #include "./../../../Common/verbose-output/rule.hpp" #include <boost/static_assert.hpp> namespace utils { namespace verbose_output { /// @brief rule for events from integrals state changing /// @detailed 1. let x be monotonous increasing ...
refactor from "integrals" to "numerals"
numerals_rule.hpp: refactor from "integrals" to "numerals"
C++
bsd-3-clause
piotr-semenov/libq
1f91c162659d2dbc1930b83a664f374ad70c7348
lib/Interpreter/Transaction.cpp
lib/Interpreter/Transaction.cpp
//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vvasielv@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/Transaction.h" #in...
//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Vassil Vassilev <vvasielv@cern.ch> //------------------------------------------------------------------------------ #include "cling/Interpreter/Transaction.h" #in...
Transform to proper assertions.
Transform to proper assertions.
C++
lgpl-2.1
perovic/cling,perovic/cling,karies/cling,root-mirror/cling,marsupial/cling,root-mirror/cling,marsupial/cling,root-mirror/cling,karies/cling,perovic/cling,karies/cling,marsupial/cling,root-mirror/cling,karies/cling,root-mirror/cling,karies/cling,marsupial/cling,karies/cling,marsupial/cling,perovic/cling,root-mirror/clin...
843a1d4a6b0380bf5e02a03c467cba65bcdb3504
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmLoopDepLenTests.cpp
external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmLoopDepLenTests.cpp
/*------------------------------------------------------------------------- * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2017 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
/*------------------------------------------------------------------------- * Vulkan Conformance Tests * ------------------------ * * Copyright (c) 2017 The Khronos Group Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. *...
Fix regression from "Add contextSupports functions"
Fix regression from "Add contextSupports functions" Fixes contextSupports condition for missing VK1.1. This regression was introduced in 39a3dba450. Affects: dEQP-VK.spirv_assembly.instruction.compute.loop_control.dependency_infinite dEQP-VK.spirv_assembly.instruction.compute.loop_control.dependency_length Componen...
C++
apache-2.0
googlestadia/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,googlestadia/VK-GL-CTS,googlestadia/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan...
3ba43ac975fae174454f38ec7ae9979ea0eb5964
editor/plugins/texture_editor_plugin.cpp
editor/plugins/texture_editor_plugin.cpp
/*************************************************************************/ /* texture_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*************************************************************************/ /* texture_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Fix gradient texture preview
Fix gradient texture preview
C++
mit
sanikoyes/godot,sanikoyes/godot,BastiaanOlij/godot,groud/godot,josempans/godot,vnen/godot,akien-mga/godot,ex/godot,ex/godot,vkbsb/godot,mcanders/godot,honix/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,firefly2442/godot,guilhermefelipecgs/godot,Shockblast/godot,MarianoGnu/godot,vnen/godot,akien-mga/godot,godotengine/godo...
77fa3a9a63b59c02c62247fa1e7261ab5eefab20
src/compute_ma.cpp
src/compute_ma.cpp
// Copyright (c) 2015 // Ravi Peters -- r.y.peters@tudelft.nl // All rights reserved // This file is part of masbcpp. // // masbcpp is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
// Copyright (c) 2015 // Ravi Peters -- r.y.peters@tudelft.nl // All rights reserved // This file is part of masbcpp. // // masbcpp is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the Lic...
fix bug that caused the feature point of the wrong iteration to be stored
fix bug that caused the feature point of the wrong iteration to be stored
C++
mit
KevinWiebe/masbcpp,tudelft3d/masbcpp,KevinWiebe/masbcpp,tudelft3d/masbcpp,jeffcoukell/masbcpp,jeffcoukell/masbcpp
17dc0dfe7eed46ec21bca5814c9bc1e23b87befc
chrome/browser/ui/touch/frame/touch_browser_frame_view.cc
chrome/browser/ui/touch/frame/touch_browser_frame_view.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/ui/touch/frame/touch_browser_frame_view.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/renderer_ho...
// 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/ui/touch/frame/touch_browser_frame_view.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/renderer_ho...
Update the keyboard visibility more intelligently.
touch: Update the keyboard visibility more intelligently. BUG=76347 TEST=manually Review URL: http://codereview.chromium.org/6667040 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@78480 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
ChromiumWebApps/chromium,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,Jonekee/chromium.src,patrickm/chromium.src,dednal/chromium.src,nacl-webkit/chrome_deps,ChromiumWebApps/chromium,nacl-webkit/chrome_deps,nacl-webkit/chrome_deps,ltilve/chromium,PeterWangIntel/...
caa23d4baaaf7206f353203ca7b1780d482f4881
cvmfs/authz/helper_log.cc
cvmfs/authz/helper_log.cc
/** * This file is part of the CernVM File System. */ #include "helper_log.h" #include <errno.h> #include <fcntl.h> #include <syslog.h> #include <unistd.h> #include <cassert> #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> using namespace std; // NOLINT namespace { int fd_debug = -1; ...
/** * This file is part of the CernVM File System. */ #include "helper_log.h" #include <errno.h> #include <fcntl.h> #include <syslog.h> #include <unistd.h> #include <cassert> #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> using namespace std; // NOLINT namespace { in...
Fix compile error "'time' was not declared in this scope"
Fix compile error "'time' was not declared in this scope"
C++
bsd-3-clause
cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs
2874fd68afeb381395ab1138205e680ef8a6dc4a
content/gpu/transport_texture.cc
content/gpu/transport_texture.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 "content/common/gpu_messages.h" #include "content/gpu/gpu_channel.h" #include "content/gpu/transport_texture.h" TransportTexture::TransportT...
// 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 "content/common/gpu_messages.h" #include "content/common/gpu/gpu_channel.h" #include "content/gpu/transport_texture.h" TransportTexture::Tra...
Fix build
Fix build TEST=compiles BUG=none Review URL: http://codereview.chromium.org/6813037 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@80885 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Crystalnix/house-of-life-chromium,adobe/chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,...
00c28d75b6dc409b25a3be809b3fa7c6a4bfee9f
sdk-remote/src/tests/uobjects/all.uob/all.cc
sdk-remote/src/tests/uobjects/all.uob/all.cc
#include <iostream> #include <sstream> #include <urbi/uobject.hh> class all: public urbi::UObject { public: all(const std::string& name) : urbi::UObject(name) { UBindFunction(all, init); UBindFunction(all, setOwned); UBindFunction(all, setNotifyChange); UBindFunction(all, setNotifyAccess); ...
#include <iostream> #include <sstream> #include <urbi/uobject.hh> class all: public urbi::UObject { public: all(const std::string& name) : urbi::UObject(name) { UBindFunction(all, init); UBindFunction(all, setOwned); UBindFunction(all, setNotifyChange); UBindFunction(all, setNotifyAccess); ...
Fix missing rename introduced by fdd8c1b.
Fix missing rename introduced by fdd8c1b. * src/tests/uobjects/all.uob/all.cc (transmitI): Here.
C++
bsd-3-clause
urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi
441192692ced21f2ff672fa53bc737f1db24cff0
embedding/word2vec_kernels.cc
embedding/word2vec_kernels.cc
/* Copyright 2015 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 2015 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...
Migrate from std::string to tensorflow::tstring. (#7830)
Migrate from std::string to tensorflow::tstring. (#7830) Note that during the transition period tstring is typedef'ed to std::string. See: https://github.com/tensorflow/community/pull/91
C++
apache-2.0
tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples,tensorflow/examples
c7c78f7a7bb4b60efc17ced884657314a6fc797c
chrome/browser/extensions/extension_proxy_api.cc
chrome/browser/extensions/extension_proxy_api.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_proxy_api.h" #include "base/logging.h" #include "base/string_util.h" #include "base/values.h" #include ...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_proxy_api.h" #include "base/logging.h" #include "base/string_util.h" #include "base/values.h" #include ...
Fix compile error by removing "typedef".
Fix compile error by removing "typedef". BUG=48930 TEST=Linux (dbg-shlib) compiles without warnings/errors git-svn-id: http://src.chromium.org/svn/trunk/src@54883 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 5f04f2ddeec0f41507772e08be84625aba87afc0
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...
b1509db625ece1f87d39c9601569e897c70cf23f
chrome/browser/tab_contents/web_drag_dest_gtk.cc
chrome/browser/tab_contents/web_drag_dest_gtk.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" #include <string> #include "app/gtk_dnd_util.h" #include "base/file_path.h" #include "bas...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/web_drag_dest_gtk.h" #include <string> #include "app/gtk_dnd_util.h" #include "base/file_path.h" #include "bas...
Add a couple more drop targets to the render view.
Add a couple more drop targets to the render view. BUG=35063 TEST=see bug Review URL: http://codereview.chromium.org/1030001 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@41772 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
80f1451534d1c2be8e16313b8194bf458678f321
lib/SILPasses/SILCodeMotion.cpp
lib/SILPasses/SILCodeMotion.cpp
//===- SILCodeMotion.cpp - Code Motion Optimizations ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
//===- SILCodeMotion.cpp - Code Motion Optimizations ----------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
Put in assert to make sure we always get a non-null alias analysis. The only way this can happen is if someone is careless and does not add the alias analysis to the pass manager.
[sil-code-motion] Put in assert to make sure we always get a non-null alias analysis. The only way this can happen is if someone is careless and does not add the alias analysis to the pass manager. Swift SVN r13551
C++
apache-2.0
natecook1000/swift,cbrentharris/swift,amraboelela/swift,LeoShimonaka/swift,hooman/swift,uasys/swift,benlangmuir/swift,jtbandes/swift,lorentey/swift,rudkx/swift,cbrentharris/swift,parkera/swift,devincoughlin/swift,huonw/swift,russbishop/swift,allevato/swift,emilstahl/swift,devincoughlin/swift,arvedviehweger/swift,tkreme...
af4c5eac92631f045ec34dcd3178ff54d9159b8c
header/thread/CLock_unordered_set.hpp
header/thread/CLock_unordered_set.hpp
#ifndef CLOCK_UNORDERED_SET #define CLOCK_UNORDERED_SET #include<functional> //equal_to, hash #include<memory> //allocator #include<mutex> #include<shared_mutex> #include<unordered_set> #include<utility> //forward, move namespace nThread { template<class Key,class Hash=std::hash<Key>,class KeyEqual=std::eq...
#ifndef CLOCK_UNORDERED_SET #define CLOCK_UNORDERED_SET #include<functional> //equal_to, hash #include<memory> //allocator #include<mutex> #include<shared_mutex> #include<unordered_set> #include<utility> //forward, move namespace nThread { template<class Key,class Hash=std::hash<Key>,class KeyEqual=std::eq...
fix double lock
fix double lock
C++
mit
Fdhvdu/lib
24adc8f60f0a39e45363eef5392fe1a7e27bd12f
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.cpp
//===-- ARMSubtarget.cpp - ARM Subtarget Information ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- ARMSubtarget.cpp - ARM Subtarget Information ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
make arm-reserve-r9 available for all ARM
make arm-reserve-r9 available for all ARM r9 is defined as a platform-specific register in the ARM EABI. It can be reserved for a special purpose or be used as a general purpose register. Add support for reserving r9 for all ARM, while leaving the IOS usage unchanged. Patch by Jeroen Hofstee. git-svn-id: 0ff597fd157...
C++
apache-2.0
llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llv...
5b0040b212d8a5a4951938466d7cfd5eeed2e380
src/core/ATDev.cpp
src/core/ATDev.cpp
#include "ATDev.h" ATDev::ATDev() { m_hwSerial = NULL; memset(m_endBuffer, 0x00, ATDEV_BUFF_END_SIZE + 1); memset(m_cmdBuffer, 0x00, ATDEV_BUFF_CMD_SIZE + 1); memset(m_msgBuffer, 0x00, ATDEV_BUFF_MSG_SIZE + 1); m_readPtr ^= m_readPtr; m_timeOut ^= m_timeOut; m_onModuleP...
#include "ATDev.h" ATDev::ATDev() { m_hwSerial = NULL; memset(m_endBuffer, 0x00, ATDEV_BUFF_END_SIZE + 1); memset(m_cmdBuffer, 0x00, ATDEV_BUFF_CMD_SIZE + 1); memset(m_msgBuffer, 0x00, ATDEV_BUFF_MSG_SIZE + 1); m_readPtr ^= m_readPtr; m_timeOut ^= m_timeOut; m_onModuleP...
Fix timeout overloaded trouble
Fix timeout overloaded trouble
C++
bsd-3-clause
pvizeli/ATDev,pvizeli/ATDev
44ca834f0a9eb5d0dd0e5bd760ce7987e10c0e65
modules/solid_mechanics/src/actions/PlenumPressureAction.C
modules/solid_mechanics/src/actions/PlenumPressureAction.C
#include "PlenumPressureAction.h" #include "Factory.h" #include "FEProblem.h" #include "Parser.h" template<> InputParameters validParams<PlenumPressureAction>() { InputParameters params = validParams<Action>(); params.addRequiredParam<std::vector<BoundaryName> >("boundary", "The list of boundary IDs from the mesh...
#include "PlenumPressureAction.h" #include "Factory.h" #include "FEProblem.h" #include "Parser.h" template<> InputParameters validParams<PlenumPressureAction>() { InputParameters params = validParams<Action>(); params.addRequiredParam<std::vector<BoundaryName> >("boundary", "The list of boundary IDs from the mesh...
Change type of save_in parameter passed from PlenumPressureAux closes #1421
Change type of save_in parameter passed from PlenumPressureAux closes #1421 r13868
C++
lgpl-2.1
laagesen/moose,apc-llc/moose,liuwenf/moose,tonkmr/moose,jessecarterMOOSE/moose,idaholab/moose,stimpsonsg/moose,adamLange/moose,laagesen/moose,liuwenf/moose,tonkmr/moose,harterj/moose,zzyfisherman/moose,harterj/moose,backmari/moose,apc-llc/moose,zzyfisherman/moose,adamLange/moose,mellis13/moose,andrsd/moose,sapitts/moos...
3378ee1a25c0b3ecdd8f02c639f06e0d980d03b4
server/src/work/DeviceUnpairWorkExecutor.cpp
server/src/work/DeviceUnpairWorkExecutor.cpp
#include <string> #include <Poco/Event.h> #include <Poco/Exception.h> #include <Poco/Net/NetException.h> #include "dao/DeviceDao.h" #include "di/Injectable.h" #include "work/DeviceUnpairWorkExecutor.h" BEEEON_OBJECT_BEGIN(BeeeOn, DeviceUnpairWorkExecutor) BEEEON_OBJECT_CASTABLE(WorkExecutor) BEEEON_OBJECT_REF("devic...
#include <string> #include <Poco/Event.h> #include <Poco/Exception.h> #include <Poco/Net/NetException.h> #include "dao/DeviceDao.h" #include "di/Injectable.h" #include "work/DeviceUnpairWorkExecutor.h" BEEEON_OBJECT_BEGIN(BeeeOn, DeviceUnpairWorkExecutor) BEEEON_OBJECT_CASTABLE(WorkExecutor) BEEEON_OBJECT_REF("devic...
update device in database after success
DeviceUnpairWorkExecutor: update device in database after success When the device is successfully unpair on the gateway, update the device record in databse to reflect the unpaired state. Signed-off-by: Jan Viktorin <3eab6ac54c005c4408f608556a6663b7f2abede7@fit.vutbr.cz>
C++
bsd-3-clause
BeeeOn/server,BeeeOn/server,BeeeOn/server,BeeeOn/server
bace2e847e05bb98cbbbeb984b54868096878616
unotools/inc/unotools/ucblockbytes.hxx
unotools/inc/unotools/ucblockbytes.hxx
#ifndef _UNTOOLS_UCBLOCKBYTES_HXX #define _UNTOOLS_UCBLOCKBYTES_HXX #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include <com/sun/star/uno/Reference.hxx> #endif #ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_HPP_ #include <com/sun/star/io/XInputStream.hpp> #endif #ifndef _COM_SUN_STAR_UCB_XCONTENT_HPP_ #include <com/sun/star/ucb/...
#ifndef _UNTOOLS_UCBLOCKBYTES_HXX #define _UNTOOLS_UCBLOCKBYTES_HXX #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include <com/sun/star/uno/Reference.hxx> #endif #ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_HPP_ #include <com/sun/star/io/XInputStream.hpp> #endif #ifndef _COM_SUN_STAR_UCB_XCONTENT_HPP_ #include <com/sun/star/ucb/...
use namespace utl
use namespace utl
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
1f104804bf30f1457e92fa6ee958a618a958b1ad
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.cpp
//===-- X86Subtarget.cpp - X86 Subtarget Information ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- X86Subtarget.cpp - X86 Subtarget Information ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Put a bunch of calls to ToggleFeature behind proper if statements.
Put a bunch of calls to ToggleFeature behind proper if statements. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@141527 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,GPUOpen-Drivers/llvm,GPUOpen-Dri...
15f11b13896cda0661c61c5b080d18ae6a4913c3
Engine/Source/FishEngine/Internal/FMODPlugin.cpp
Engine/Source/FishEngine/Internal/FMODPlugin.cpp
#include <FishEngine/Internal/FMODPlugin.hpp> #include <fmod.hpp> #include <fmod_errors.h> #include <FishEngine/Debug.hpp> #include <FishEngine/StringFormat.hpp> #include <FishEngine/AudioClip.hpp> using namespace FishEngine; void FMODPlugin::Update() { GetInstance().m_system->update(); } void FMODPlugin::Stop() ...
#include <FishEngine/Internal/FMODPlugin.hpp> #include <fmod.hpp> #include <fmod_errors.h> #include <FishEngine/Debug.hpp> #include <FishEngine/StringFormat.hpp> #include <FishEngine/AudioClip.hpp> using namespace FishEngine; constexpr int maxChannel = 32; void FMODPlugin::Update() { GetInstance().m_system->updat...
stop AudioSystem
stop AudioSystem
C++
mit
yushroom/FishEngine,yushroom/FishEngine,yushroom/FishEngine,yushroom/FishEngine,yushroom/FishEngine
7fca23a260b4c0fb4142248d469c564759fd183e
src/core/Debug.cpp
src/core/Debug.cpp
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Shim...
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Shim...
Add ToString<DFBRectangle>
Core: Add ToString<DFBRectangle>
C++
lgpl-2.1
sklnet/DirectFB,djbclark/directfb-core-DirectFB,lancebaiyouview/DirectFB,DirectFB/directfb,deniskropp/DirectFB,deniskropp/DirectFB,kevleyski/directfb,deniskropp/DirectFB,dfbdok/DirectFB1,deniskropp/DirectFB,kaostao/directfb,DirectFB/directfb,mtsekm/test,DirectFB/directfb,dfbdok/DirectFB1,kevleyski/directfb,djbclark/dir...
8a9dedc1ac49b1a51e3a6bf7569d2bf469a1406f
source/main.cpp
source/main.cpp
#include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> #include <3ds.h> #include <ctrcommon/app.hpp> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE, LAUNCH_TI...
#include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> #include <3ds.h> #include <ctrcommon/app.hpp> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE, LAUNCH_TI...
Break loop when changing the destination in launch mode.
Break loop when changing the destination in launch mode.
C++
mit
Jerry-Shaw/FBI,Possum/LumaLocaleSwitcher,soarqin/FBI,Possum/LumaLocaleSwitcher,Traiver/FBI,Traiver/FBI,masterhou/FBI,Traiver/FBI,Jerry-Shaw/FBI,hippydave/Newquay,leo60228/CTRM,leo60228/CTRM,kot2002/FBI,masterhou/FBI,Jerry-Shaw/FBI,Jerry-Shaw/FBI,hippydave/Newquay,leo60228/CTRM,kot2002/FBI,soarqin/FBI
d2ef80164a97319d6e83490fdb029ca894467976
History/Depthwise-Separable-Convolution/main.cpp
History/Depthwise-Separable-Convolution/main.cpp
#include <fstream> #include <iostream> #include <omp.h> #include <random> #include <stdio.h> #include <string> #include <time.h> #include "Neural_Networks.h" using namespace std; void Read_MNIST(string training_set_images, string training_set_labels, string test_set_images, string test_set_labels, int number_trainin...
#include <fstream> #include <iostream> #include <omp.h> #include <stdio.h> #include <string> #include <time.h> #include "Neural_Networks.h" using namespace std; void Read_MNIST(string training_set_images, string training_set_labels, string test_set_images, string test_set_labels, int number_training, int number_test...
Update main.cpp
Update main.cpp
C++
mit
paperrune/Neural-Networks,paperrune/Neural-Networks
48add58ae8c78fa15183c6d3578bdd903dddc3dc
cbits/Engine.cpp
cbits/Engine.cpp
#include <QtQuick/QQuickItem> #include <QtQuick/QQuickWindow> #include "Manager.h" #include "Engine.h" #include "Object.h" HsQMLEngine::HsQMLEngine(const HsQMLEngineConfig& config) : mComponent(&mEngine) , mStopCb(config.stopCb) { // Connect signals QObject::connect( &mEngine, SIGNAL(quit()), ...
#include <QtQuick/QQuickItem> #include <QtQuick/QQuickWindow> #include "Manager.h" #include "Engine.h" #include "Object.h" HsQMLEngine::HsQMLEngine(const HsQMLEngineConfig& config) : mComponent(&mEngine) , mStopCb(config.stopCb) { // Connect signals QObject::connect( &mEngine, SIGNAL(quit()), ...
Fix engine hanging when error occurs on startup.
Fix engine hanging when error occurs on startup. Ignore-this: 85a91b76e3678eb9f4cdb098e3ee0d9a darcs-hash:20140501173434-4d2ae-c2fe5c1fa42fc1ac107fac2583817a3e96b3809c
C++
bsd-3-clause
johntyree/HsQML,johntyree/HsQML
625e5c88c87614742fce150b2d04fdf55a441765
targets/CMSIS-OS/ChibiOS/nanoCLR/nanoFramework.Hardware.Stm32/nf_hardware_stm32_native.cpp
targets/CMSIS-OS/ChibiOS/nanoCLR/nanoFramework.Hardware.Stm32/nf_hardware_stm32_native.cpp
// // Copyright (c) 2018 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // #include "nf_hardware_stm32_native.h" static const CLR_RT_MethodHandler method_lookup[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL...
// // Copyright (c) 2018 The nanoFramework project contributors // See LICENSE file in the project root for full license information. // #include "nf_hardware_stm32_native.h" static const CLR_RT_MethodHandler method_lookup[] = { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL...
Update nanoFramework.Hardware.Stm32 version to 1.0.2-preview-010 ***NO_CI*** (#998)
Update nanoFramework.Hardware.Stm32 version to 1.0.2-preview-010 ***NO_CI*** (#998)
C++
mit
nanoframework/nf-interpreter,nanoframework/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter
cbc6c142c4eedae30bd752ec755b1af0b1a860f6
video/screenshare_loopback.cc
video/screenshare_loopback.cc
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Fix dangling pointer in screenshare_loopback
Fix dangling pointer in screenshare_loopback BUG= R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/52369004 Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#9098} Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: 9d657cfd664122541086e5ab...
C++
bsd-3-clause
sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc,sippet/webrtc
f2cbf20ada4e4505b0c748e82144e8170bda2fb1
ch13/ex13_40.cpp
ch13/ex13_40.cpp
// // ex13_40.cpp // Exercise 13.40 // // Created by pezy on 2/3/15. // Copyright (c) 2015 pezy. All rights reserved. // // Add a constructor that takes an initializer_list<string> to your StrVec class. // #include "ex13_40.h" void StrVec::push_back(const std::string &s) { chk_n_alloc(); alloc.construct(first_...
// // ex13_40.cpp // Exercise 13.40 // // Created by pezy on 2/3/15. // Copyright (c) 2015 pezy. All rights reserved. // // Add a constructor that takes an initializer_list<string> to your StrVec class. // #include "ex13_40.h" void StrVec::push_back(const std::string &s) { chk_n_alloc(); alloc.construct(...
Update ex13_40.cpp
Update ex13_40.cpp
C++
cc0-1.0
MojieBuddhist/Cpp-Primer,tre-pengxu/Cpp-Primer,andersy005/Cpp-Primer,seekertang/Cpp-Primer,Fenolona/Cpp-Primer,seekertang/Cpp-Primer,OlafLee/Cpp-Primer,Soyn/Cpp-Primer,theneversky/Cpp-Primer,Soyn/Cpp-Primer,AndychenCL/Cpp-Primer,wangqc/Cpp-Primer,LiaoPan/Cpp-Primer,Jinpeiqi/Cpp-Primer,XDXX/Cpp-Primer,XDXX/Cpp-Primer,zh...
393ec018c46827b1000fa56c9cabe5860927ab33
webkit/glue/plugins/pepper_char_set.cc
webkit/glue/plugins/pepper_char_set.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 "webkit/glue/plugins/pepper_char_set.h" #include <stdlib.h> #include "base/i18n/icu_string_conversions.h" #include "third_party/ppapi/c/ppb...
// 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 "webkit/glue/plugins/pepper_char_set.h" #include <stdlib.h> #include "base/i18n/icu_string_conversions.h" #include "third_party/ppapi/c/ppb...
Fix the windows build by casting for ICU.
Fix the windows build by casting for ICU. TEST=none BUG=none git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@57015 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
88e703b8d14f5dcbe059c04c7c095d6f213055dc
src/d8-readline.cc
src/d8-readline.cc
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
// Copyright 2012 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
Fix building d8 with readline support due to API changes
Fix building d8 with readline support due to API changes After recent API changes, d8 will fail to build when passing "console=readline". This patch makes d8 work with readline again. R=bmeurer@chromium.org Review URL: https://codereview.chromium.org/125043006 Patch from Adrian Perez de Castro <aperez@igalia.com>. ...
C++
mit
UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh,UniversalFuture/moosh
c3f0c037c7f83c42c3dfad4a35cb29cfebe8e740
indra/llmessage/llavatarnamecache.cpp
indra/llmessage/llavatarnamecache.cpp
/** * @file llavatarnamecache.cpp * @brief Provides lookup of avatar SLIDs ("bobsmith123") and display names * ("James Cook") from avatar UUIDs. * * $LicenseInfo:firstyear=2010&license=viewergpl$ * * Copyright (c) 2010, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file...
/** * @file llavatarnamecache.cpp * @brief Provides lookup of avatar SLIDs ("bobsmith123") and display names * ("James Cook") from avatar UUIDs. * * $LicenseInfo:firstyear=2010&license=viewergpl$ * * Copyright (c) 2010, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file...
Fix Linux build warning/error for unused function
Fix Linux build warning/error for unused function
C++
lgpl-2.1
gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm,gabeharms/firestorm
1413e53810244a88cbdbf8708c959712d51ceab5
PWG/EMCAL/EMCALtasks/AliEmcalCellMonitorTask.cxx
PWG/EMCAL/EMCALtasks/AliEmcalCellMonitorTask.cxx
#include <algorithm> #include <map> #include <vector> #include <TArrayD.h> #include <THashList.h> #include <THistManager.h> #include <TLinearBinning.h> #include <TObjArray.h> #include <TParameter.h> #include "AliEMCALGeometry.h" #include "AliEmcalCellMonitorTask.h" #include "AliInputEventHandler.h" #include "AliOADBCo...
#include <algorithm> #include <map> #include <vector> #include <TArrayD.h> #include <TGrid.h> #include <THashList.h> #include <THistManager.h> #include <TLinearBinning.h> #include <TObjArray.h> #include <TParameter.h> #include "AliEMCALGeometry.h" #include "AliEmcalCellMonitorTask.h" #include "AliInputEventHandler.h" ...
Add check for grid connectioon in case the OADB file with bad channels is taken from alien
Add check for grid connectioon in case the OADB file with bad channels is taken from alien
C++
bsd-3-clause
rbailhac/AliPhysics,dstocco/AliPhysics,SHornung1/AliPhysics,kreisl/AliPhysics,dlodato/AliPhysics,mvala/AliPhysics,sebaleh/AliPhysics,AudreyFrancisco/AliPhysics,lfeldkam/AliPhysics,lfeldkam/AliPhysics,AMechler/AliPhysics,fcolamar/AliPhysics,lfeldkam/AliPhysics,rderradi/AliPhysics,ALICEHLT/AliPhysics,sebaleh/AliPhysics,p...
7eb4207193eeb57ddf9e48db297949be396d4167
sdk-remote/src/tests/liburbi/syncvalues.cc
sdk-remote/src/tests/liburbi/syncvalues.cc
/* * Copyright (C) 2009, 2010, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <bin/tests.hh> B...
/* * Copyright (C) 2009, 2010, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <bin/tests.hh> B...
Fix liburbi/syncvalue test.
Fix liburbi/syncvalue test. * src/tests/liburbi/syncvalues.cc: Update line number of the error message.
C++
bsd-3-clause
urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,urbiforge/urbi
f49e1f587cd65982b5a5fe314f74211cd20b676d
sdk/rms_sdk/Platform/Http/HttpClientQt.cpp
sdk/rms_sdk/Platform/Http/HttpClientQt.cpp
/* * ====================================================================== * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. * Licensed under the MIT License. * See LICENSE.md in the project root for license information. * =====================================================================...
/* * ====================================================================== * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. * Licensed under the MIT License. * See LICENSE.md in the project root for license information. * =====================================================================...
fix request logging
fix request logging
C++
mit
AzureAD/rms-sdk-for-cpp,AzureAD/rms-sdk-for-cpp,AzureAD/rms-sdk-for-cpp
80eb8ab8c4a3bc1e6bb841d9dd2ab3d609786745
checks/bench.cpp
checks/bench.cpp
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <exception> #include <botan/filters.h> using Botan::byte; using Botan::u64bit; #include "common.h" #include "timer.h" #include "bench.h" /* Discard output to reduce overhead */ struct BitBucket : public Botan::Filter { void wri...
#include <iostream> #include <iomanip> #include <cmath> #include <string> #include <exception> #include <botan/filters.h> using Botan::byte; using Botan::u64bit; #include "common.h" #include "timer.h" #include "bench.h" /* Discard output to reduce overhead */ struct BitBucket : public Botan::Filter { void wri...
Use std::vector instead of SecureVector to hold random input for filter benchmark
Use std::vector instead of SecureVector to hold random input for filter benchmark
C++
bsd-2-clause
Rohde-Schwarz-Cybersecurity/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,webmaster128/botan,randombit/botan,webmaster128/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,Rohde-Schwarz-Cybersecurity/botan,randombit/botan,webmaster128/botan,randomb...
a61f5dcad9c419bdaaab8c6a62f1eacc39a8dc35
cam_qhy5.cpp
cam_qhy5.cpp
/* * cam_qhy5.cpp * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2012 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
/* * cam_qhy5.cpp * PHD Guiding * * Created by Craig Stark. * Copyright (c) 2012 Craig Stark. * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
remove commented-out line
remove commented-out line
C++
bsd-3-clause
olegkutkov/phd2guiding_crao,OpenPHDGuiding/phd2,simonct/phd2,olegkutkov/phd2guiding_crao,OpenPHDGuiding/phd2,OpenPHDGuiding/phd2,simonct/phd2,OpenPHDGuiding/phd2,simonct/phd2,OpenPHDGuiding/phd2,olegkutkov/phd2guiding_crao,simonct/phd2,olegkutkov/phd2guiding_crao,simonct/phd2,OpenPHDGuiding/phd2,simonct/phd2,olegkutkov...
67ce21f989b1220ec3b9a40dfd7f27a8cb92bf80
cores/fastarduino/future.cpp
cores/fastarduino/future.cpp
// Copyright 2016-2020 Jean-Francois Poilpret // // 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 app...
// Copyright 2016-2020 Jean-Francois Poilpret // // 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 app...
Fix link error
Fix link error
C++
lgpl-2.1
jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib,jfpoilpret/fast-arduino-lib
5512fa6c0e89a605113b9c94bbf4697a80c3fd5c
Applications/Utils/otbOSMDownloader.cxx
Applications/Utils/otbOSMDownloader.cxx
/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WITHOUT ...
/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distributed WITHOUT ...
update example for appli OSMDownloader
DOC: update example for appli OSMDownloader
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
bea2e406daf1455f14a0fa1b6f43859e759f2e94
backends/mpi/world_provider.hpp
backends/mpi/world_provider.hpp
#pragma once #include <mpi.h> namespace bulk { namespace mpi { class world_provider { public: world_provider() { MPI_Comm_size(MPI_COMM_WORLD, &nprocs_); MPI_Comm_rank(MPI_COMM_WORLD, &pid_); MPI_Get_processor_name(name_, &name_length_); tag_size_ = 0; } int active_pr...
#pragma once #include <type_traits> #include <mpi.h> #include <boost/bimap.hpp> namespace bulk { namespace mpi { enum class receive_category : int { var_put = 0, var_get = 1, message = 2 }; using receive_type = std::underlying_type<receive_category>::type; class world_provider { public: using var_id_type = ...
Add 'put' communication to MPI backend
Add 'put' communication to MPI backend
C++
mit
jwbuurlage/Bulk
25de837c23f79c4bdd6d341f21b504cd3a03f70c
src/lib/FlightTasks/tasks/Orbit/FlightTaskOrbit.cpp
src/lib/FlightTasks/tasks/Orbit/FlightTaskOrbit.cpp
/**************************************************************************** * * Copyright (c) 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. Redistri...
/**************************************************************************** * * Copyright (c) 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. Redistri...
fix rotation direction in telemetry
FlightTaskOrbit: fix rotation direction in telemetry
C++
bsd-3-clause
dagar/Firmware,krbeverx/Firmware,acfloria/Firmware,PX4/Firmware,PX4/Firmware,acfloria/Firmware,krbeverx/Firmware,krbeverx/Firmware,mje-nz/PX4-Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,dagar/Firmware,acfloria/Firmware,dagar/Firmware,acfloria/Firmware,mje-nz/PX4-Firmware,dagar/Firmware,krbeverx/Firmware,mje-nz/PX4-F...
df8ab9ff8670cbb54e480f9147e5cc4b3a7db0dc
src/DspRate.cpp
src/DspRate.cpp
#include "pch.h" #include "DspRate.h" namespace SaneAudioRenderer { DspRate::~DspRate() { DestroyBackend(); } void DspRate::Initialize(uint32_t inputRate, uint32_t outputRate, uint32_t channels) { DestroyBackend(); m_inputRate = inputRate; m_outputRa...
#include "pch.h" #include "DspRate.h" namespace SaneAudioRenderer { DspRate::~DspRate() { DestroyBackend(); } void DspRate::Initialize(uint32_t inputRate, uint32_t outputRate, uint32_t channels) { DestroyBackend(); m_inputRate = inputRate; m_outputRa...
Fix rate dsp Finish() method
Fix rate dsp Finish() method
C++
lgpl-2.1
kasper93/sanear,kasper93/sanear,alexmarsev/sanear,alexmarsev/sanear,kasper93/sanear
c126c980270b1c5334bbb8d4532bba89dda70896
core/imt/src/TPoolManager.cxx
core/imt/src/TPoolManager.cxx
#include "ROOT/TPoolManager.hxx" #include "TError.h" #include "TROOT.h" #include <algorithm> #include "tbb/task_scheduler_init.h" namespace ROOT { namespace Internal { //Returns the weak_ptr reflecting a shared_ptr to the only instance of the Pool Manager. //This will allow to check if the shared_ptr i...
#include "ROOT/TPoolManager.hxx" #include "TError.h" #include "TROOT.h" #include <algorithm> #include "tbb/task_scheduler_init.h" namespace ROOT { namespace Internal { //Returns the weak_ptr reflecting a shared_ptr to the only instance of the Pool Manager. //This will allow to check if the shared_ptr i...
Fix ROOT-8850 avoiding to reset a shared_ptr which went out of scope
Fix ROOT-8850 avoiding to reset a shared_ptr which went out of scope
C++
lgpl-2.1
karies/root,simonpf/root,simonpf/root,root-mirror/root,karies/root,karies/root,olifre/root,root-mirror/root,karies/root,simonpf/root,root-mirror/root,olifre/root,karies/root,karies/root,zzxuanyuan/root,simonpf/root,zzxuanyuan/root,olifre/root,zzxuanyuan/root,simonpf/root,zzxuanyuan/root,root-mirror/root,simonpf/root,si...
c8d0a7ec460dfe67c8033e416eb3d688f0e4a287
core/src/crypto/AESCipher.hpp
core/src/crypto/AESCipher.hpp
/* * * AESCipher * ledger-core * * Created by Pierre Pollastri on 08/12/2016. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * 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 Sof...
/* * * AESCipher * ledger-core * * Created by Pierre Pollastri on 08/12/2016. * * The MIT License (MIT) * * Copyright (c) 2016 Ledger * * 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 Sof...
Use a #pragma once instead of include guards for AESCipher.
Use a #pragma once instead of include guards for AESCipher. LLC-155
C++
mit
LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core,LedgerHQ/lib-ledger-core
10888def56098e42d56d47d90bfe926a2e1e6cff
core/src/metadata/metadata.cc
core/src/metadata/metadata.cc
/** * @file metadata.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
/** * @file metadata.cc * * @section LICENSE * * The MIT License * * @copyright Copyright (c) 2016 MIT and Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
fix memory leak in metadata
fix memory leak in metadata
C++
mit
TileDB-Inc/TileDB,npapa/TileDB,kavskalyan/TileDB,npapa/TileDB,TileDB-Inc/TileDB,TileDB-Inc/TileDB,kavskalyan/TileDB,TileDB-Inc/TileDB
e2a3cdf71a2dcb2a87452c17cb1ce360b1cb6465
src/UserSpaceInstrumentation/TestProcess.cpp
src/UserSpaceInstrumentation/TestProcess.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 "TestProcess.h" #include <absl/time/clock.h> #include <chrono> #include <cstdio> #include <fstream> #include <string> #include <system_error> ...
// 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 "TestProcess.h" #include <absl/time/clock.h> #include <chrono> #include <string> #include <system_error> #include <vector> #include "OrbitBas...
Use WriteStringToFile in TestProcess
Use WriteStringToFile in TestProcess Test: run unit-test
C++
bsd-2-clause
google/orbit,google/orbit,google/orbit,google/orbit
3255d6de4e19c359ef9bab26075df36bc1456f09
src/Options.cpp
src/Options.cpp
//======================================================================= // Copyright Baptiste Wicht 2011. // 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 2011. // 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) //=====================================================...
Add an option to omit frame pointers
Add an option to omit frame pointers
C++
mit
wichtounet/eddic,vogelsgesang/eddic,vogelsgesang/eddic,vogelsgesang/eddic,wichtounet/eddic,wichtounet/eddic
f25297528de8d7f8769155eb0421ba6e52b6d90f
src/Readable.hh
src/Readable.hh
<?hh // strict /** * This file is part of hhpack\process package. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace hhpack\process; interface Readable { /** * Tests for end...
<?hh // strict /** * This file is part of hhpack\process package. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace hhpack\process; interface Readable { /** * Tests for end...
add default value
add default value
C++
mit
hhpack/process
974addd9c0a4090859f4aee6a56680543f7c099d
src/adapter.cxx
src/adapter.cxx
/* ** See Copyright Notice in LICENSE. **/ #include "luno.hxx" #include <cppuhelper/typeprovider.hxx> #include <com/sun/star/beans/MethodConcept.hpp> #include <com/sun/star/reflection/ParamMode.hpp> using com::sun::star::beans::UnknownPropertyException; using com::sun::star::beans::XIntrospectionAccess; ...
/* ** See Copyright Notice in LICENSE. **/ #include "luno.hxx" #include <cppuhelper/typeprovider.hxx> #include <com/sun/star/beans/MethodConcept.hpp> #include <com/sun/star/reflection/ParamMode.hpp> using com::sun::star::beans::UnknownPropertyException; using com::sun::star::beans::XIntrospectionAccess; ...
Fix real return value
Fix real return value
C++
mit
hanya/luno,hanya/luno
27fd2b53d6fc4c1532597eada36a897c70536883
src/allaser.cpp
src/allaser.cpp
/** * @author pinkasfeld joseph * Copyright (c) Aldebaran Robotics 2010, 2011 All Rights Reserved. */ #include "allaser.h" #include <iostream> #include <alcommon/alproxy.h> #include <alproxies/almemoryproxy.h> #include <boost/shared_ptr.hpp> #include <alcommon/albroker.h> #include <alcommon/almodule.h> #include <s...
/** * @author pinkasfeld joseph * Copyright (c) Aldebaran Robotics 2010, 2011 All Rights Reserved. */ #include "allaser.h" #include <iostream> #include <alcommon/alproxy.h> #include <alproxies/almemoryproxy.h> #include <boost/shared_ptr.hpp> #include <alcommon/albroker.h> #include <alcommon/almodule.h> #include <s...
fix setOpenning angle functionnality.
ALLASER: fix setOpenning angle functionnality.
C++
bsd-3-clause
aldebaran/allaser
369b70d60f774535d10a4b27e6f4ddd7aeeb7d46
src/sdp_solve/SDP_Solver/run/step/initialize_schur_complement_solver/initialize_Q_group.cxx
src/sdp_solve/SDP_Solver/run/step/initialize_schur_complement_solver/initialize_Q_group.cxx
#include "../../../../SDP.hxx" #include "../../../../Block_Diagonal_Matrix.hxx" #include "../../../../../Timers.hxx" void initialize_Q_group(const SDP &sdp, const Block_Info &block_info, const Block_Diagonal_Matrix &schur_complement, Block_Matrix &schur_off_diagonal, ...
#include "../../../../SDP.hxx" #include "../../../../Block_Diagonal_Matrix.hxx" #include "../../../../../Timers.hxx" void initialize_Q_group(const SDP &sdp, const Block_Info &block_info, const Block_Diagonal_Matrix &schur_complement, Block_Matrix &schur_off_diagonal, ...
Fix comments
Fix comments
C++
mit
davidsd/sdpb,davidsd/sdpb,davidsd/sdpb
a85f5284c34f3969701a6f2121e8fcfc2fc5e81d
test/SemaCXX/array-bounds.cpp
test/SemaCXX/array-bounds.cpp
// RUN: %clang_cc1 -verify %s int foo() { int x[2]; // expected-note 4 {{array 'x' declared here}} int y[2]; // expected-note 2 {{array 'y' declared here}} int *p = &y[2]; // no-warning (void) sizeof(x[2]); // no-warning y[2] = 2; // expected-warning {{array index of '2' indexes past the end of an array (tha...
// RUN: %clang_cc1 -verify %s int foo() { int x[2]; // expected-note 4 {{array 'x' declared here}} int y[2]; // expected-note 2 {{array 'y' declared here}} int *p = &y[2]; // no-warning (void) sizeof(x[2]); // no-warning y[2] = 2; // expected-warning {{array index of '2' indexes past the end of an array (tha...
Add -Warray-bounds test showing how the warning currently interoperates with macros.
Add -Warray-bounds test showing how the warning currently interoperates with macros. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@125781 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-cl...
d6b16273af399e65c5132f42ea71b8eb08f99a41
tree/src/TSelector.cxx
tree/src/TSelector.cxx
// @(#)root/treeplayer:$Name: $:$Id: TSelector.cxx,v 1.10 2002/07/17 12:29:38 rdm Exp $ // Author: Rene Brun 05/02/97 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
// @(#)root/treeplayer:$Name: $:$Id: TSelector.cxx,v 1.11 2002/12/13 19:11:06 brun Exp $ // Author: Rene Brun 05/02/97 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
Initialize fStatus in TSelector constructor
Initialize fStatus in TSelector constructor git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@6043 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
perovic/root,mhuwiler/rootauto,omazapa/root,0x0all/ROOT,lgiommi/root,pspe/root,davidlt/root,mhuwiler/rootauto,Y--/root,BerserkerTroll/root,veprbl/root,vukasinmilosevic/root,kirbyherm/root-r-tools,buuck/root,agarciamontoro/root,alexschlueter/cern-root,zzxuanyuan/root,vukasinmilosevic/root,jrtomps/root,krafczyk/root,gbit...
4683d8d0927d183d47b8beb66857e7de993dbdf7
src/plugin/external-auth-plugin/external-auth-module.cc
src/plugin/external-auth-plugin/external-auth-module.cc
/* * Flexisip, a flexible SIP proxy server with media capabilities. * Copyright (C) 2018 Belledonne Communications SARL, 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 as * published by the Free Software ...
/* * Flexisip, a flexible SIP proxy server with media capabilities. * Copyright (C) 2018 Belledonne Communications SARL, 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 as * published by the Free Software ...
Fix memory leak in the external authentication module
Fix memory leak in the external authentication module
C++
agpl-3.0
BelledonneCommunications/flexisip,BelledonneCommunications/flexisip,BelledonneCommunications/flexisip,BelledonneCommunications/flexisip
9dde97a0279b8a794dc2c589ed1fc07bc6ddeb1c
frontends/fltk_gui/CsoundPerformanceSettings.cpp
frontends/fltk_gui/CsoundPerformanceSettings.cpp
/* CsoundPerformanceSettings.cpp: Copyright (C) 2006 Istvan Varga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
/* CsoundPerformanceSettings.cpp: Copyright (C) 2006 Istvan Varga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)...
Initialize heartbeat property
Initialize heartbeat property
C++
lgpl-2.1
iver56/csound,max-ilse/csound,max-ilse/csound,mcanthony/csound,audiokit/csound,Angeldude/csound,mcanthony/csound,iver56/csound,max-ilse/csound,iver56/csound,mcanthony/csound,audiokit/csound,iver56/csound,audiokit/csound,nikhilsinghmus/csound,audiokit/csound,mcanthony/csound,Angeldude/csound,nikhilsinghmus/csound,Angeld...
f9fe01954e3100240c05dd50223bc504337d744d
virvo/virvo/vvimageclient.cpp
virvo/virvo/vvimageclient.cpp
// Virvo - Virtual Reality Volume Rendering // Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University // Contact: Jurgen P. Schulze, jschulze@ucsd.edu // // This file is part of Virvo. // // Virvo is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Genera...
// Virvo - Virtual Reality Volume Rendering // Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University // Contact: Jurgen P. Schulze, jschulze@ucsd.edu // // This file is part of Virvo. // // Virvo is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser Genera...
make namespace function call more save
make namespace function call more save git-svn-id: a0a066a1d7ce87c7a04dae20f169ad0cd8bda35d@1713 04231f92-3938-0410-9931-e931ac552b4f
C++
lgpl-2.1
deskvox/deskvox,deskvox/deskvox,deskvox/deskvox,deskvox/deskvox,deskvox/deskvox
bf55be2b8f0fb14e607986caf72da2ce4a995405
Infovis/Core/vtkPipelineGraphSource.cxx
Infovis/Core/vtkPipelineGraphSource.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkPipelineGraphSource.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This so...
/*========================================================================= Program: Visualization Toolkit Module: vtkPipelineGraphSource.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This so...
Fix compilation on VS 7.1
vtkPipelineGraphSource: Fix compilation on VS 7.1 Fix error Infovis\Core\vtkPipelineGraphSource.cxx(253) : error C2451: conditional expression of type 'std::stringstream' is illegal Ambiguous user-defined-conversion by checking the state of the std::istream& returned by getline. Change-Id: Ib25bfc02b85ac462dfc99...
C++
bsd-3-clause
ashray/VTK-EVM,SimVascular/VTK,SimVascular/VTK,SimVascular/VTK,candy7393/VTK,sankhesh/VTK,demarle/VTK,jmerkow/VTK,msmolens/VTK,collects/VTK,jmerkow/VTK,demarle/VTK,sumedhasingla/VTK,keithroe/vtkoptix,biddisco/VTK,aashish24/VTK-old,johnkit/vtk-dev,hendradarwin/VTK,gram526/VTK,jmerkow/VTK,sankhesh/VTK,johnkit/vtk-dev,msp...
3ad55e37b71b85d68e1f3af76e90dded40fedc35
src/autowiring/test/AnySharedPointerTest.cpp
src/autowiring/test/AnySharedPointerTest.cpp
// Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include "TestFixtures/SimpleObject.hpp" #include <autowiring/AnySharedPointer.h> #include <autowiring/autowiring.h> class AnySharedPointerTest: public testing::Test {}; // Autowiring takes a...
// Copyright (C) 2012-2015 Leap Motion, Inc. All rights reserved. #include "stdafx.h" #include "TestFixtures/Decoration.hpp" #include "TestFixtures/SimpleObject.hpp" #include <autowiring/AnySharedPointer.h> #include <autowiring/autowiring.h> class AnySharedPointerTest: public testing::Test {}; // Autowiring takes a...
Add unit tests for nullptr overloads
Add unit tests for nullptr overloads
C++
apache-2.0
leapmotion/autowiring,codemercenary/autowiring,leapmotion/autowiring,codemercenary/autowiring,leapmotion/autowiring,codemercenary/autowiring,codemercenary/autowiring,codemercenary/autowiring,leapmotion/autowiring,leapmotion/autowiring,codemercenary/autowiring,leapmotion/autowiring
2f1d1827aaf346437922b8a1952dcfedd0e9f590
src/backend/executor/merge_join_executor.cpp
src/backend/executor/merge_join_executor.cpp
/*------------------------------------------------------------------------- * * merge_join.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/src/executor/merge_join_executor.cpp * *------------------------------------------------------------------------- */ #include <vector> #include "backend/c...
/*------------------------------------------------------------------------- * * merge_join.cpp * file description * * Copyright(c) 2015, CMU * * /peloton/src/executor/merge_join_executor.cpp * *------------------------------------------------------------------------- */ #include <vector> #include "backend/c...
fix over outputting in merge join
fix over outputting in merge join Former-commit-id: fe08354da852e22cae2e1ed581c5f2054d391c1f
C++
apache-2.0
omegaga/peloton,larryxiao/peloton-1,ranxian/peloton,omegaga/peloton,larryxiao/peloton-1,ranxian/peloton,omegaga/peloton,larryxiao/peloton-1,omegaga/peloton,larryxiao/peloton-1,larryxiao/peloton-1,larryxiao/peloton,ranxian/peloton,larryxiao/peloton,larryxiao/peloton,larryxiao/peloton,larryxiao/peloton-1,amaliujia/CMUDB-...
2718b9b11afbac56ff39967317fb06bdb1298820
framework/inc/macros/debug/assertion.hxx
framework/inc/macros/debug/assertion.hxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform ...
tweak assert
tweak assert
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
41226c0b6f5da3ecde6cc58b41ee88b4700a764e
framework/source/classes/taskcreator.cxx
framework/source/classes/taskcreator.cxx
/************************************************************************* * * $RCSfile: taskcreator.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: as $ $Date: 2001-08-16 09:45:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * ...
/************************************************************************* * * $RCSfile: taskcreator.cxx,v $ * * $Revision: 1.8 $ * * last change: $Author: mba $ $Date: 2001-09-19 08:06:50 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses * * ...
set background of taskwindow to transparent
#79689#: set background of taskwindow to transparent
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
5421d37da9ee6fffaa360ce902d2e2c93a90bbbb
boost/horner-sine.cc
boost/horner-sine.cc
#include <iostream> #include <utility> #include <boost/math/constants/constants.hpp> #include <boost/multiprecision/cpp_dec_float.hpp> using boost::multiprecision::cpp_dec_float; typedef boost::multiprecision::number<cpp_dec_float<64> > mp_type; mp_type mysin(const mp_type& x) { // Approximation of sin(x * pi/2) f...
/* based upon http://www.boost.org/doc/libs/1_55_0/libs/multiprecision/doc/html/boost_multiprecision/tut/floats/fp_eg/poly_eg.html * Use, modification and distribution are subject to 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) * C...
add boost license for code copied from their website
add boost license for code copied from their website
C++
bsd-3-clause
jeffhammond/multiprecision,jeffhammond/multiprecision
6678efaacf47a46e33469b66db34cb5d3c1e88e2
shell/platform/linux/fl_platform_plugin.cc
shell/platform/linux/fl_platform_plugin.cc
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/fl_platform_plugin.h" #include <gtk/gtk.h> #include <cstring> #include "flutter/shell/platform/linux/public/flutte...
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "flutter/shell/platform/linux/fl_platform_plugin.h" #include <gtk/gtk.h> #include <cstring> #include "flutter/shell/platform/linux/public/flutte...
Implement SystemSound.play
Implement SystemSound.play
C++
bsd-3-clause
aam/engine,chinmaygarde/sky_engine,jamesr/sky_engine,rmacnak-google/engine,aam/engine,jason-simmons/sky_engine,jamesr/flutter_engine,flutter/engine,jamesr/sky_engine,jason-simmons/sky_engine,devoncarew/engine,jamesr/flutter_engine,jason-simmons/sky_engine,flutter/engine,chinmaygarde/flutter_engine,devoncarew/sky_engine...