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
3da1cc25eba2f6ec3d1cfd5687656ca31ae1a4b8
src/backend/gporca/libgpopt/src/xforms/CXformRightOuterJoin2HashJoin.cpp
src/backend/gporca/libgpopt/src/xforms/CXformRightOuterJoin2HashJoin.cpp
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (c) 2020 VMware, Inc. // // @filename: // CXformRightOuterJoin2HashJoin.cpp // // @doc: // Implementation of transform //--------------------------------------------------------------------------- #inclu...
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (c) 2020 VMware, Inc. // // @filename: // CXformRightOuterJoin2HashJoin.cpp // // @doc: // Implementation of transform //--------------------------------------------------------------------------- #inclu...
Fix SIGSEGV due to non-derived statistics (#12970)
Fix SIGSEGV due to non-derived statistics (#12970) Similar to dede33b352f when statistics may not be derived yet, we should take care to handle the scenario gracefully. Following demonstrated error using non-assert build: ```sql CREATE TABLE a_table(col text); SELECT a.col FROM ( SELECT...
C++
apache-2.0
lisakowen/gpdb,greenplum-db/gpdb,lisakowen/gpdb,greenplum-db/gpdb,50wu/gpdb,xinzweb/gpdb,lisakowen/gpdb,lisakowen/gpdb,50wu/gpdb,xinzweb/gpdb,50wu/gpdb,50wu/gpdb,greenplum-db/gpdb,50wu/gpdb,greenplum-db/gpdb,xinzweb/gpdb,50wu/gpdb,xinzweb/gpdb,lisakowen/gpdb,xinzweb/gpdb,lisakowen/gpdb,lisakowen/gpdb,greenplum-db/gpdb,...
4bd24710fdfccef668c1553dc48d192209399285
extensions/CuteHMI/GUI.1/src/cutehmi/gui/internal/QMLPlugin.cpp
extensions/CuteHMI/GUI.1/src/cutehmi/gui/internal/QMLPlugin.cpp
#include "QMLPlugin.hpp" #include <cutehmi/gui/CuteApplication.hpp> #include <cutehmi/gui/ColorSet.hpp> #include <cutehmi/gui/Palette.hpp> #include <cutehmi/gui/Fonts.hpp> #include <cutehmi/gui/Units.hpp> #include <cutehmi/gui/Theme.hpp> #include <QtQml> //<Doxygen-3.workaround target="Doxygen" cause="missing"> #ifd...
#include "QMLPlugin.hpp" #include <cutehmi/gui/CuteApplication.hpp> #include <cutehmi/gui/ColorSet.hpp> #include <cutehmi/gui/Palette.hpp> #include <cutehmi/gui/Fonts.hpp> #include <cutehmi/gui/Units.hpp> #include <cutehmi/gui/Theme.hpp> #include <QtQml> //<Doxygen-3.workaround target="Doxygen" cause="missing"> #ifd...
Use uri annotations and improve check for environmental variable being set
Use uri annotations and improve check for environmental variable being set
C++
mit
michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI,michpolicht/CuteHMI
672c58438e1475c597d53cae86e43dc13f7678d6
CodeCompareLib/Memory.cpp
CodeCompareLib/Memory.cpp
#include "Memory.h" #include <malloc.h> #include <atomic> #include <assert.h> namespace Memory { struct Tracker { std::atomic_size_t TotalMemory; // only 100% accurate globals std::atomic_size_t ActiveAllocations; // only 100% accurate globals std::atomic_size_t TotalAllocations; std::atomic_size_t Trackin...
#include "Memory.h" #include <malloc.h> #include <atomic> #include <assert.h> namespace Memory { struct Tracker { std::atomic_size_t TotalMemory; // only 100% accurate globals std::atomic_size_t ActiveAllocations; // only 100% accurate globals std::atomic_size_t TotalAllocations; std::atomic_size_t Trackin...
Fix crash when deleting null
Fix crash when deleting null
C++
unlicense
kudaba/CodeCompare,kudaba/CodeCompare
3068d55cba6006bff20ab3e15cfb108d45e08f87
gapid_tests/command_buffer_tests/vkCmdResolveImage_test/main.cpp
gapid_tests/command_buffer_tests/vkCmdResolveImage_test/main.cpp
/* Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Change the format to UINT to avoid floating point errors
Change the format to UINT to avoid floating point errors
C++
apache-2.0
google/vulkan_test_applications,google/vulkan_test_applications,google/vulkan_test_applications,google/vulkan_test_applications
79605eb9897d694079c0942c12bf365ef8a61b87
include/opengm/functions/learnable/lweightedsum_of_functions.hxx
include/opengm/functions/learnable/lweightedsum_of_functions.hxx
#pragma once #ifndef OPENGM_LEARNABLE_LWEIGHTEDSUM_OF_FUNCTIONS_FUNCTION_HXX #define OPENGM_LEARNABLE_LWEIGHTEDSUM_OF_FUNCTIONS_FUNCTION_HXX #include <algorithm> #include <vector> #include <cmath> #include "opengm/opengm.hxx" #include "opengm/functions/function_registration.hxx" #include "opengm/functions/function_pr...
#pragma once #ifndef OPENGM_LEARNABLE_LWEIGHTEDSUM_OF_FUNCTIONS_FUNCTION_HXX #define OPENGM_LEARNABLE_LWEIGHTEDSUM_OF_FUNCTIONS_FUNCTION_HXX #include <algorithm> #include <vector> #include <cmath> #include "opengm/opengm.hxx" #include "opengm/functions/function_registration.hxx" #include "opengm/functions/function_pr...
Update lweightedsum_of_functions.hxx
Update lweightedsum_of_functions.hxx fix typo in assert-loop
C++
mit
chaubold/opengm,joergkappes/opengm,joergkappes/opengm,joergkappes/opengm,chaubold/opengm,chaubold/opengm,chaubold/opengm,DerThorsten/opengm,DerThorsten/opengm,joergkappes/opengm,opengm/opengm,DerThorsten/opengm,joergkappes/opengm,plstcharles/opengm,opengm/opengm,plstcharles/opengm,DerThorsten/opengm,plstcharles/opengm,...
0dd9c789302aca305740c848f0f9c486b2d0f3eb
include/tudocomp/compressors/esacomp/decoding/MultiMapBuffer.hpp
include/tudocomp/compressors/esacomp/decoding/MultiMapBuffer.hpp
#pragma once #include <tudocomp/Algorithm.hpp> #include <tudocomp/def.hpp> #include <sdsl/int_vector.hpp> namespace tdc { namespace esacomp { class MultimapBuffer : public Algorithm { public: inline static Meta meta() { Meta m("esadec", "MultimapListBuffer"); m.option("lazy").dynamic("0"); ...
#pragma once #include <tudocomp/Algorithm.hpp> #include <tudocomp/def.hpp> #include <sdsl/int_vector.hpp> namespace tdc { namespace esacomp { class MultimapBuffer : public Algorithm { public: inline static Meta meta() { Meta m("esadec", "MultimapListBuffer"); m.option("lazy").dynamic("0"); ...
Fix MultiMap arithmetic exception
Fix MultiMap arithmetic exception
C++
apache-2.0
tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp
a7c44b2e9f53f9407837e930f61fafeb3bb86376
src/unit_VEHICLE/models/hmmwv/suspension/HMMWV_DoubleWishboneReduced.cpp
src/unit_VEHICLE/models/hmmwv/suspension/HMMWV_DoubleWishboneReduced.cpp
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
Modify tierod attachment points to match the full double wishbone suspension.
Modify tierod attachment points to match the full double wishbone suspension.
C++
bsd-3-clause
armanpazouki/chrono,amelmquist/chrono,Milad-Rakhsha/chrono,andrewseidl/chrono,projectchrono/chrono,jcmadsen/chrono,jcmadsen/chrono,rserban/chrono,armanpazouki/chrono,jcmadsen/chrono,amelmquist/chrono,armanpazouki/chrono,amelmquist/chrono,Bryan-Peterson/chrono,Milad-Rakhsha/chrono,dariomangoni/chrono,Milad-Rakhsha/chron...
d7b0636c668b1b72f6ae7d2ab68751397e538470
tensorflow/compiler/mlir/hlo/lib/Dialect/lhlo/transforms/fusion_utils.cc
tensorflow/compiler/mlir/hlo/lib/Dialect/lhlo/transforms/fusion_utils.cc
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
/* Copyright 2021 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Apply clang-tidy fixes for readability-simplify-boolean-expr in fusion_utils.cc (NFC)
Apply clang-tidy fixes for readability-simplify-boolean-expr in fusion_utils.cc (NFC) PiperOrigin-RevId: 418588961 Change-Id: I175b164ff3f6daecf00b4d0820a1de575d27e320
C++
apache-2.0
Intel-Corporation/tensorflow,yongtang/tensorflow,tensorflow/tensorflow,gautam1858/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,yongtang/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,Intel-t...
c8533d8a93fa9eed822683616ba43fa734cffdb3
src/system/WatchableEventManagerSelect.cpp
src/system/WatchableEventManagerSelect.cpp
/* * * Copyright (c) 2020-2021 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, 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.apa...
/* * * Copyright (c) 2020-2021 Project CHIP Authors * Copyright (c) 2014-2017 Nest Labs, 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.apa...
Fix Watchable Event Manager Select crash on shutdown (#8985)
Fix Watchable Event Manager Select crash on shutdown (#8985)
C++
apache-2.0
project-chip/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,project-chip/connectedhomeip,nestlabs/connectedhomeip,nestlabs/connectedhom...
cd1c78f30089d0486811923405c6d29df02b1bed
chrome/browser/ui/views/file_manager_dialog_browsertest.cc
chrome/browser/ui/views/file_manager_dialog_browsertest.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/views/file_manager_dialog.h" #include "base/file_util.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #i...
// 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/views/file_manager_dialog.h" #include "base/file_util.h" #include "base/logging.h" #include "base/memory/scoped_ptr.h" #i...
Mark SelectFileAndSave test as FLAKY.
Mark SelectFileAndSave test as FLAKY. BUG=89733 TEST=None TBR=jamescook@chromium.org Review URL: http://codereview.chromium.org/7465071 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@94306 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,hgl888/chromium-crosswalk,robclark/chromium,junmin-zhu/chromium-rivertrail,krieger-od/nwjs_chromium.src,mogoweb/chromium-crosswalk,M4sse/chromium.src,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-cros...
5b6a698a794bc01dd3acdb617881998fe55b6f48
copasi/UI/CQMathMatrixWidget.cpp
copasi/UI/CQMathMatrixWidget.cpp
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelber...
// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The University // of Manchester. // All rights reserved. // Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual // Properties, Inc., EML Research, gGmbH, University of Heidelber...
make the test code for derivatives compile again
make the test code for derivatives compile again
C++
artistic-2.0
copasi/COPASI,jonasfoe/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,copasi/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI,jonasfoe/COPASI
66210ad965efffddf5c9415e9f40a8492a6f55cb
getRegionAroundSampledColumn.cpp
getRegionAroundSampledColumn.cpp
// Samples a column and extracts a FASTA of the region surrounding // every column entry. #include <time.h> #include "hal.h" #include "sonLib.h" #include "bioioC.h" using namespace std; using namespace hal; static CLParserPtr initParser() { CLParserPtr optionsParser = hdf5CLParserInstance(true); optionsParser...
// Samples a column and extracts a FASTA of the region surrounding // every column entry. #include <time.h> #include "hal.h" #include "sonLib.h" #include "bioioC.h" using namespace std; using namespace hal; static CLParserPtr initParser() { CLParserPtr optionsParser = hdf5CLParserInstance(true); optionsParser...
Fix segfault on missing reference genome.
Fix segfault on missing reference genome.
C++
mit
joelarmstrong/treeBuildingEvaluation,joelarmstrong/treeBuildingEvaluation,joelarmstrong/treeBuildingEvaluation,joelarmstrong/treeBuildingEvaluation,joelarmstrong/treeBuildingEvaluation
7924abcf9b7ee0eb2c4284b2430afc14e213f3bb
chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h" #include <string> #include "ash/session_state_delegate.h" #inclu...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h" #include <string> #include "ash/session_state_delegate.h" #inclu...
Make timezone editable
Make timezone editable Fixes regression where timezone setting is disabled on enterprise devices. BUG=347071 R=dpolukhin@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/181813004 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@253661 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
markYoungH/chromium.src,Chilledheart/chromium,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,fujunwei/chromium-crosswalk,jaruba/chromium.src,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,M4sse/chromium.src,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chrom...
f95477e944d5c8feeed5ebe13fcdadc2f096ef9f
src/socket_tls.cc
src/socket_tls.cc
// // tls_socket.cc // #include "plat_os.h" #include "plat_net.h" #include <cassert> #include <cstring> #include <memory> #include <sstream> #include <string> #include <vector> #include "log.h" #include "io.h" #include "socket.h" #include "socket_tls.h" /* tls_connected_socket */ tls_connected_socket::tls_connec...
// // tls_socket.cc // #include "plat_os.h" #include "plat_net.h" #include <cassert> #include <cstring> #include <memory> #include <sstream> #include <string> #include <vector> #include "log.h" #include "io.h" #include "socket.h" #include "socket_tls.h" /* tls_connected_socket */ tls_connected_socket::tls_connec...
Fix typo in tls_connected_socket
Fix typo in tls_connected_socket
C++
isc
metaparadigm/latypus,metaparadigm/latypus,metaparadigm/latypus,metaparadigm/latypus
2325650d59511ad1e19e0102cf920b48cca0bfc5
tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc
tensorflow/lite/kernels/internal/reference/portable_tensor_utils.cc
/* Copyright 2017 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 2017 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...
Remove false comments in portable kernel.
Remove false comments in portable kernel. PiperOrigin-RevId: 228203258
C++
apache-2.0
apark263/tensorflow,paolodedios/tensorflow,jbedorf/tensorflow,arborh/tensorflow,ageron/tensorflow,arborh/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensor...
3e9dbd3977feec13660eb11fdd2be11e396a9e42
core/source/datastore/labels.cpp
core/source/datastore/labels.cpp
/** * FILE : datastore/labels.hpp * * Implements a set of labels identifying nodes, elements, field components. * Used to index a dimension of a datastore map. */ /* OpenCMISS-Zinc Library * * 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 distr...
/** * FILE : datastore/labels.hpp * * Implements a set of labels identifying nodes, elements, field components. * Used to index a dimension of a datastore map. */ /* OpenCMISS-Zinc Library * * 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 distr...
Fix bug where contiguous labels always returned the last identifier + 1 as the next free identifier, rather than starting at 1. This broke Cmgui example a/element_types. https://tracker.physiomeproject.org/show_bug.cgi?id=1496
Fix bug where contiguous labels always returned the last identifier + 1 as the next free identifier, rather than starting at 1. This broke Cmgui example a/element_types. https://tracker.physiomeproject.org/show_bug.cgi?id=1496
C++
mpl-2.0
hsorby/zinc,OpenCMISS/zinc,OpenCMISS/zinc,hsorby/zinc,hsorby/zinc,hsorby/zinc,OpenCMISS/zinc,OpenCMISS/zinc
6b221ff1c648b3850c57ce17008eb8fe457d35af
libdariadb/storage/chunk.cpp
libdariadb/storage/chunk.cpp
#include "chunk.h" #include "bloom_filter.h" #include <algorithm> #include <cassert> using namespace dariadb; using namespace dariadb::utils; using namespace dariadb::storage; using namespace dariadb::compression; std::unique_ptr<ChunkPool> ChunkPool::_instance=nullptr; ChunkPool::ChunkPool(){ _max_size = ChunkPool...
#include "chunk.h" #include "bloom_filter.h" #include <algorithm> #include <cassert> #include <cstring> using namespace dariadb; using namespace dariadb::utils; using namespace dariadb::storage; using namespace dariadb::compression; std::unique_ptr<ChunkPool> ChunkPool::_instance=nullptr; ChunkPool::ChunkPool(){ _m...
clean allocated memories.
clean allocated memories.
C++
apache-2.0
dariadb/dariadb,dariadb/dariadb,lysevi/dariadb,lysevi/dariadb,lysevi/dariadb
313663bfdf532d03d44994be4ab2a0fb3a3c59f9
core/src/datamatrix/DMReader.cpp
core/src/datamatrix/DMReader.cpp
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
fix div-by-0 crash in isPure-code path
DataMatrix: fix div-by-0 crash in isPure-code path Also, widen some size based bail-out-early checks.
C++
apache-2.0
nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp
08273c7f08e2800a5923a384627ccbd1f1c1f4fe
src/src/config.cc
src/src/config.cc
#include "config.h" #include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstring> using namespace std; //// parameters // for bam file and reads int min_flank_length = 5; int32_t min_bundle_gap = 50; int min_num_hits_in_bundle = 20; uint32_t min_mapping_quality = 1;...
#include "config.h" #include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstring> using namespace std; //// parameters // for bam file and reads int min_flank_length = 5; int32_t min_bundle_gap = 50; int min_num_hits_in_bundle = 20; uint32_t min_mapping_quality = 1;...
change default min_inner_boundary_weight to 4.0
change default min_inner_boundary_weight to 4.0
C++
bsd-3-clause
Kingsford-Group/scallop
1d512690de35cad13531c72b04fe0870c890bb56
core/src/mapcss/TextureAtlas.hpp
core/src/mapcss/TextureAtlas.hpp
#ifndef MAPCSS_TEXTUREATLAS_HPP_INCLUDED #define MAPCSS_TEXTUREATLAS_HPP_INCLUDED #include "meshing/MeshTypes.hpp" #include <cstdint> #include <string> #include <vector> #include <unordered_map> namespace utymap { namespace mapcss { /// Represents a single texture region inside texture atlas. struct TextureRegion f...
#ifndef MAPCSS_TEXTUREATLAS_HPP_INCLUDED #define MAPCSS_TEXTUREATLAS_HPP_INCLUDED #include "meshing/MeshTypes.hpp" #include <cstdint> #include <string> #include <vector> #include <unordered_map> namespace utymap { namespace mapcss { /// Represents a single texture region inside texture atlas. struct TextureRegion f...
fix compiler warning
core: fix compiler warning
C++
apache-2.0
reinterpretcat/utymap,reinterpretcat/utymap,reinterpretcat/utymap
14596855ff50bcc4140c4aadb5872e724c69ad67
src/stopwatch.hxx
src/stopwatch.hxx
/* * Copyright 2007-2019 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-2019 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...
fix the NDEBUG build
stopwatch: fix the NDEBUG build
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
923df29441fca21747f01856d99d614dff355f16
src/import/chips/ocmb/odyssey/procedures/hwp/memory/ody_check_for_ready.C
src/import/chips/ocmb/odyssey/procedures/hwp/memory/ody_check_for_ready.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/odyssey/procedures/hwp/memory/ody_check_for_ready.C $ *...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/odyssey/procedures/hwp/memory/ody_check_for_ready.C $ *...
Remove no-op when running on simulation.
Remove no-op when running on simulation. Change-Id: I99d590984f26ac44852cc9cddf3f16917b5ef2a1 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/134729 Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13d93ba9a233f@us.ibm.com> Tested-by: FSP CI Jenkins <aa9e4d9ac7cd25905e9c0dd36d4150516e73dd86@us.ibm.com> Revie...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
59d33e3dd43e92b560899b823c6c11dd2bdd50af
stan/math/prim/mat/fun/singular_values.hpp
stan/math/prim/mat/fun/singular_values.hpp
#ifndef STAN_MATH_PRIM_MAT_FUN_SINGULAR_VALUES_HPP #define STAN_MATH_PRIM_MAT_FUN_SINGULAR_VALUES_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> namespace stan { namespace math { /** * Return the vector of the singular values of the specified matrix * in decreasing order of magnitude. * <p>See the documentation ...
#ifndef STAN_MATH_PRIM_MAT_FUN_SINGULAR_VALUES_HPP #define STAN_MATH_PRIM_MAT_FUN_SINGULAR_VALUES_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> namespace stan { namespace math { /** * Return the vector of the singular values of the specified matrix * in decreasing order of magnitude. * <p>See the documentation ...
Use m.size() instead of m.rows() and m.cols()
Use m.size() instead of m.rows() and m.cols()
C++
bsd-3-clause
stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math
8cc30a687da43e327c1a726cfe6a68ed1242e818
Firmware/communication/communication.cpp
Firmware/communication/communication.cpp
/* Includes ------------------------------------------------------------------*/ #include "communication.h" #include "interface_usb.h" #include "interface_uart.h" #include "interface_can.hpp" #include "interface_i2c.h" #include "odrive_main.h" #include "freertos_vars.h" #include "utils.h" #include "../build/versio...
/* Includes ------------------------------------------------------------------*/ #include "communication.h" #include "interface_usb.h" #include "interface_uart.h" #include "interface_can.hpp" #include "interface_i2c.h" #include "odrive_main.h" #include "freertos_vars.h" #include "utils.h" #include "../build/versio...
Add max_regen_current to protocol
Add max_regen_current to protocol
C++
mit
madcowswe/ODriveFirmware,madcowswe/ODriveFirmware,madcowswe/ODriveFirmware,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODrive,madcowswe/ODriveFirmware
f00f8f59a5f06c9aa5e4fc76835c7f9ddb999ab9
eval/src/tests/instruction/dense_single_reduce_function/dense_single_reduce_function_test.cpp
eval/src/tests/instruction/dense_single_reduce_function/dense_single_reduce_function_test.cpp
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/tensor_function.h> #include <vespa/eval/eval/operation.h> #include <vespa/eval/instruction/dense_single_reduce_function.h> #include <ve...
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/tensor_function.h> #include <vespa/eval/eval/operation.h> #include <vespa/eval/instruction/dense_single_reduce_function.h> #include <ve...
use GenSpec in dense_single_reduce_function_test
use GenSpec in dense_single_reduce_function_test
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
97f94dc832596da01a0c026b6a16c49a68fa6f78
tensorflow/compiler/mlir/hlo/lib/Dialect/gml_st/transforms/compose_set_ops.cc
tensorflow/compiler/mlir/hlo/lib/Dialect/gml_st/transforms/compose_set_ops.cc
/* Copyright 2022 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 2022 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...
Use OpInterfaceRewritePattern for subset composition pass
[GML] Use OpInterfaceRewritePattern for subset composition pass PiperOrigin-RevId: 459577592
C++
apache-2.0
karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorfl...
fd3f9e48c3917f8542bdaa9d3742335397c736bf
src/themesdlg.cpp
src/themesdlg.cpp
/* * Copyright (C) 2005 Petri Damstn <petri.damsten@iki.fi> * * This file is part of SuperKaramba. * * SuperKaramba is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or...
/* * Copyright (C) 2005 Petri Damstn <petri.damsten@iki.fi> * * This file is part of SuperKaramba. * * SuperKaramba is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or...
Fix enable/disable "add to desktop" button when we uninstall a themes
Fix enable/disable "add to desktop" button when we uninstall a themes svn path=/branches/KDE/3.5/kdeutils/superkaramba/; revision=484058
C++
lgpl-2.1
KDE/superkaramba,KDE/superkaramba,KDE/superkaramba
776a8406da82989183f9511b62fe7477d68d1233
Source/main.cpp
Source/main.cpp
#include "stdafx.h" //needed for the Windows display #include "globals.h" //some global variables are included here #include <cstdlib> //standard c library #include "mediaItem.h" //the mediaItem class (you need to write a class that extends this class) #include "song.h" #include <fstream> #include <string> using na...
#include "stdafx.h" //needed for the Windows display #include "globals.h" //some global variables are included here #include <cstdlib> //standard c library #include "mediaItem.h" //the mediaItem class #include "song.h" #include <fstream> #include <string> using namespace std; //Global declarations ifstream file; so...
Update main.cpp
Update main.cpp fixed some comment errors
C++
mit
InvdrZim13/Basic-Music-Player
4161b8317c026adeba489a393f1a2b7caedbb0ce
PWGPP/CalibMacros/CPass0/runCalibTrain.C
PWGPP/CalibMacros/CPass0/runCalibTrain.C
/* Template of calibration/filtering macro using ESD: - requires AliESDs.root and AliESDfriend.root - requires OCDB access (default set to "raw://") - requires run number as argument to init OCDB - calls LoadLibraries.C, ConfigCalibTrain.C and AddTaskTPCCalib.C macros - output CalibObjects.root with TPC and...
/* Template of calibration/filtering macro using ESD: - requires AliESDs.root and AliESDfriend.root - requires OCDB access (default set to "raw://") - requires run number as argument to init OCDB - calls LoadLibraries.C, ConfigCalibTrain.C and AddTaskTPCCalib.C macros - output CalibObjects.root with TPC and...
Remove run number from calling AddTaskTPCCalib()
Remove run number from calling AddTaskTPCCalib()
C++
bsd-3-clause
aaniin/AliPhysics,aaniin/AliPhysics,aaniin/AliPhysics,aaniin/AliPhysics,aaniin/AliPhysics,aaniin/AliPhysics,aaniin/AliPhysics
5571ef225138cc7124aeed382c1e5f1d10907161
Parallel/Testing/Cxx/DistributedData.cxx
Parallel/Testing/Cxx/DistributedData.cxx
/*========================================================================= Program: Visualization Toolkit Module: DistributedData.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 software ...
/*========================================================================= Program: Visualization Toolkit Module: DistributedData.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 software ...
Exit the test if the input file is not found.
BUG: Exit the test if the input file is not found.
C++
bsd-3-clause
sgh/vtk,spthaolt/VTK,berendkleinhaneveld/VTK,jeffbaumes/jeffbaumes-vtk,sgh/vtk,demarle/VTK,jeffbaumes/jeffbaumes-vtk,spthaolt/VTK,SimVascular/VTK,keithroe/vtkoptix,sankhesh/VTK,cjh1/VTK,naucoin/VTKSlicerWidgets,johnkit/vtk-dev,candy7393/VTK,arnaudgelas/VTK,ashray/VTK-EVM,sgh/vtk,hendradarwin/VTK,cjh1/VTK,mspark93/VTK,j...
fc5994fe8cc9a9d253501527a98f49f4eea8e445
syncevolution/ActiveSyncSourceRegister.cpp
syncevolution/ActiveSyncSourceRegister.cpp
/* * Copyright (C) 2008-2009 Patrick Ohly <patrick.ohly@gmx.de> * Copyright (C) 2009 Intel Corporation * * 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...
/* * Copyright (C) 2008-2009 Patrick Ohly <patrick.ohly@gmx.de> * Copyright (C) 2009 Intel Corporation * * 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...
set "sourceLUIDsAreVolatile"
syncevolution: set "sourceLUIDsAreVolatile" Client::Source::eas_event::TestLinkedItems failed because it made the assumption that LUIDs are the same for all clients. With ActiveSync they are not (get renumbered in the initial sync), so this particular aspect of the tests has to be disabled.
C++
lgpl-2.1
simo5/evolution-activesync,simo5/evolution-activesync,simo5/evolution-activesync
8c0f6ee4c6693cee1c349208a2606ebbb888444f
test/dyn_vector.cpp
test/dyn_vector.cpp
#include "catch.hpp" #include "etl/dyn_vector.hpp" //{{{ Init tests TEST_CASE( "dyn_vector/init_1", "dyn_vector::dyn_vector(T)" ) { etl::dyn_vector<double> test_vector(4, 3.3); REQUIRE(test_vector.size() == 4); for(std::size_t i = 0; i < test_vector.size(); ++i){ REQUIRE(test_vector[i] == 3.3);...
#include "catch.hpp" #include "etl/dyn_vector.hpp" //{{{ Init tests TEST_CASE( "dyn_vector/init_1", "dyn_vector::dyn_vector(T)" ) { etl::dyn_vector<double> test_vector(4, 3.3); REQUIRE(test_vector.size() == 4); for(std::size_t i = 0; i < test_vector.size(); ++i){ REQUIRE(test_vector[i] == 3.3);...
Add test for dyn_vector
Add test for dyn_vector
C++
mit
wichtounet/etl,wichtounet/etl
365f13cd56305253269eec58714d0f40fc2b478b
tests/RawOpenCL.cpp
tests/RawOpenCL.cpp
/* * Copyright (C) 2014 Martin Preisler <martin@preisler.me> * * This file is part of oclcrypto. * * 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 * wit...
/* * Copyright (C) 2014 Martin Preisler <martin@preisler.me> * * This file is part of oclcrypto. * * 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 * wit...
Split up kernel execution into 3 test cases, added in place square
Split up kernel execution into 3 test cases, added in place square In place square tests read/write buffer functionality.
C++
mit
wdv4758h/oclcrypto,wdv4758h/oclcrypto
891b83e17d7e57ec54fa447fb4372ca21d523f5b
modules/plottinggl/src/processors/parallelcoordinates/pcpaxissettings.cpp
modules/plottinggl/src/processors/parallelcoordinates/pcpaxissettings.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2019 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Make PCP axes display the ranges instead of the values. We should display the values next to the slider boxes when hovering, or similar, instead
PlottingGL: Make PCP axes display the ranges instead of the values. We should display the values next to the slider boxes when hovering, or similar, instead
C++
bsd-2-clause
inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo,inviwo/inviwo
b12150a42e60db287120c9629db5ec570a6770a9
tools/appendzip.cpp
tools/appendzip.cpp
/* Zipios++ - a small C++ library that provides easy access to .zip files. Copyright (C) 2000-2007 Thomas Sondergaard Copyright (C) 2015 Made to Order Software Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
/* Zipios++ - a small C++ library that provides easy access to .zip files. Copyright (C) 2000-2007 Thomas Sondergaard Copyright (C) 2015 Made to Order Software Corporation This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
Add missing header
Add missing header
C++
lgpl-2.1
martinmoene/zipios,pgquiles/zipios,martinmoene/zipios,martinmoene/zipios,pgquiles/zipios,martinmoene/zipios,pgquiles/zipios,pgquiles/zipios
e8335d67cd199f764c3838cc0cbaecb87c2ec913
matrix.cpp
matrix.cpp
#include <iostream> #include <pthread.h> #include <getopt.h> #include <time.h> using namespace std; int SIZE=5000; int NUM=2; long long **A,**B,**C; int sum=0; void init(long long **&mat,bool result=false) { int i=0,j=0,val=0; mat= new long long*[SIZE]; for(int i=0;i<SIZE;i++) { mat[i]=new long long [SIZE]; ...
#include <iostream> #include <pthread.h> #include <getopt.h> #include <time.h> using namespace std; int SIZE=5000; int NUM=2; long long **A,**B,**C; int sum=0; void init(long long **&mat,bool result=false) { int i=0,j=0,val=0; mat= new long long*[SIZE]; for(int i=0;i<SIZE;i++) { mat[i]=new long long [SIZE]; ...
Revert "testing"
Revert "testing" This reverts commit 25ce763e28a93d77be0d8b5347d302f122480499.
C++
apache-2.0
iroot900/pThread-Concurrency-Synchronization
50d1087a944f50c5c7159371449e305e4bb457dc
share/qtcreator/qml/qmlpuppet/qml2puppet/instances/sgitemnodeinstance.cpp
share/qtcreator/qml/qmlpuppet/qml2puppet/instances/sgitemnodeinstance.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file may be used unde...
Fix bounding rectangle calculation
QmlDesinger.NodeInstances: Fix bounding rectangle calculation Change-Id: Ia0633416e50da68377a781050e301e5721540d6b Reviewed-on: http://codereview.qt.nokia.com/3971 Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com> Reviewed-by: Thomas Hartmann <588ee739c05aab7547907becfd1420d2b7316069@nokia....
C++
lgpl-2.1
bakaiadam/collaborative_qt_creator,colede/qtcreator,jonnor/qt-creator,jonnor/qt-creator,xianian/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,xianian/qt-creator,danimo/qt-creator,darksylinc/qt-creator,KDAB/KDAB-Creator,kuba1/qtcreator,martyone/sailfish-qtcreator,kuba1/qtcreator,KDE/andro...
e8347c954b78bf408e6445876797ed28368f641a
opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/enc_output_format_tab.cpp
opencore/codecs_v2/audio/gsm_amr/amr_nb/enc/src/enc_output_format_tab.cpp
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
Fix compiler warning.
Fix compiler warning. Remove extern keyword from defined variable.
C++
apache-2.0
yxl/opencore-amr-js,yxl/opencore-amr-js,Distrotech/opencore-amr,VFR-maniac/opencore-amr,Distrotech/opencore-amr,jiangjianping/opencore-amr,BelledonneCommunications/opencore-amr,KurentoLegacy/opencore-amr,lyx2014/-opencore-amr,BelledonneCommunications/opencore-amr,lyx2014/-opencore-amr,jiangjianping/opencore-amr,Distrot...
f07cdbd5670d0fa212784220de190ce24cd8d461
plugins/robots/generators/generatorBase/src/robotsGeneratorPluginBase.cpp
plugins/robots/generators/generatorBase/src/robotsGeneratorPluginBase.cpp
/* Copyright 2007-2015 QReal Research Group * * 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...
/* Copyright 2007-2015 QReal Research Group * * 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...
Fix redundant semicolon
Fix redundant semicolon
C++
apache-2.0
iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal
c43f60d000802a6c795c03eb7985dab9090c2662
code/ylikuutio/ontology/generic_lisp_function_overload.cpp
code/ylikuutio/ontology/generic_lisp_function_overload.cpp
// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2021 Antti Nuortimo. // // 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 Foundation, either version 3 of the // License, or ...
// Ylikuutio - A 3D game and simulation engine. // // Copyright (C) 2015-2021 Antti Nuortimo. // // 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 Foundation, either version 3 of the // License, or ...
Remove unnecessary `#include` line.
Remove unnecessary `#include` line.
C++
agpl-3.0
nrz/ylikuutio,nrz/ylikuutio,nrz/ylikuutio,nrz/ylikuutio
fd5fbfdfecfa5a1274eae0caed678c20d3ccfd08
WebCore/svg/SVGFEDiffuseLightingElement.cpp
WebCore/svg/SVGFEDiffuseLightingElement.cpp
/* Copyright (C) 2005 Oliver Hunt <ojh16@student.canterbury.ac.nz> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
/* Copyright (C) 2005 Oliver Hunt <ojh16@student.canterbury.ac.nz> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your o...
Fix Qt bustage. Why are filters on in Qt?
Fix Qt bustage. Why are filters on in Qt? git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@37638 bbb929c8-8fbe-4397-9dbb-9b2b20218538
C++
bsd-3-clause
primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs
13d00aef9c58686d9e1a5b03a5e50d02943afed7
src/core/ext/filters/http/message_decompress/message_decompress_filter.cc
src/core/ext/filters/http/message_decompress/message_decompress_filter.cc
// // // Copyright 2020 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
// // // Copyright 2020 gRPC authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
Remove unnecessary header
Remove unnecessary header
C++
apache-2.0
donnadionne/grpc,jboeuf/grpc,stanley-cheung/grpc,vjpai/grpc,firebase/grpc,vjpai/grpc,jtattermusch/grpc,firebase/grpc,ejona86/grpc,ctiller/grpc,firebase/grpc,jtattermusch/grpc,ctiller/grpc,vjpai/grpc,ctiller/grpc,ctiller/grpc,grpc/grpc,nicolasnoble/grpc,nicolasnoble/grpc,donnadionne/grpc,stanley-cheung/grpc,vjpai/grpc,n...
2140b3654331281c7863c0566397d3d4aa7fa2b2
sandbox.cc
sandbox.cc
#include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include <string> #include <vector> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include "sandbox.h" using namespace std; static const uint32_t STACK_SIZE = 64 * 1024; bool l...
#include <sys/types.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include <string> #include <vector> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <signal.h> #include "sandbox.h" using namespace std; static const uint32_t STACK_SIZE = 64 * 1024; bool l...
throw error if no program provided to execute
sandbox: throw error if no program provided to execute
C++
mit
atgreen/moxiebox,atgreen/moxiebox,jgarzik/moxiebox,atgreen/moxiebox,jgarzik/moxiebox,jgarzik/moxiebox
cc4051b5023c624a6ae28c1100ce4a1b79796bdb
chrome/browser/privacy_blacklist/blacklist_manager_unittest.cc
chrome/browser/privacy_blacklist/blacklist_manager_unittest.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/privacy_blacklist/blacklist_manager.h" #include "base/message_loop.h" #include "base/path_service.h" #include "base/scoped_t...
// 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/privacy_blacklist/blacklist_manager.h" #include "base/message_loop.h" #include "base/path_service.h" #include "base/scoped_t...
Fix intermittent DCHECK failure in BlacklistManagerTest.
Fix intermittent DCHECK failure in BlacklistManagerTest. Ensure correct shutdown of threads. TEST=Covered by unit_tests. BUG=27726 Review URL: http://codereview.chromium.org/384149 git-svn-id: http://src.chromium.org/svn/trunk/src@32090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: ee2c4a6add38eb09dadd8c3...
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...
0a4cacb048ebf5ade3910777b74622ffd9a3c092
sdd/sdd.hh
sdd/sdd.hh
#ifndef _SDD_SDD_HH_ #define _SDD_SDD_HH_ #include "sdd/conf/default_configurations.hh" #include "sdd/dd/context.hh" #include "sdd/dd/count_combinations.hh" #include "sdd/dd/definition.hh" #include "sdd/dd/path_generator.hh" #include "sdd/hom/context.hh" #include "sdd/hom/definition.hh" #include "sdd/hom/rewrite.hh" #...
#ifndef _SDD_SDD_HH_ #define _SDD_SDD_HH_ #include "sdd/conf/default_configurations.hh" #include "sdd/dd/context.hh" #include "sdd/dd/count_combinations.hh" #include "sdd/dd/definition.hh" #include "sdd/dd/path_generator.hh" #include "sdd/hom/context.hh" #include "sdd/hom/definition.hh" #include "sdd/hom/rewrite.hh" #...
Add new order strategy ‘’variables_per_level’.
Add new order strategy ‘’variables_per_level’.
C++
bsd-2-clause
ahamez/proto-dd,ahamez/proto-dd,ahamez/libsdd
b920a09de6a5cc0d73da08da28a2e64894876fec
src/chronotext/sound/AudioLoopImplCocoa.cpp
src/chronotext/sound/AudioLoopImplCocoa.cpp
#include "chronotext/sound/AudioLoopImplCocoa.h" #if TARGET_OS_IPHONE #define AUDIO_UNIT_COMPONENT_SUB_TYPE kAudioUnitSubType_RemoteIO #else #define AUDIO_UNIT_COMPONENT_SUB_TYPE kAudioUnitSubType_DefaultOutput #endif bool AudioLoopImplCocoa::init() { if (!initialized) { AudioComponentDesc...
#include "chronotext/sound/AudioLoopImplCocoa.h" #if TARGET_OS_IPHONE #define AUDIO_UNIT_COMPONENT_SUB_TYPE kAudioUnitSubType_RemoteIO #else #define AUDIO_UNIT_COMPONENT_SUB_TYPE kAudioUnitSubType_DefaultOutput #endif bool AudioLoopImplCocoa::init() { if (!initialized) { AudioComponentDesc...
UPDATE REGARDING VOLUME-CONTROL ON iOS
AudioLoop: UPDATE REGARDING VOLUME-CONTROL ON iOS
C++
bsd-2-clause
neshume/new-chronotext-toolkit,neshume/new-chronotext-toolkit,arielm/new-chronotext-toolkit,arielm/new-chronotext-toolkit,michaelboccara/new-chronotext-toolkit,SlateScience/new-chronotext-toolkit,michaelboccara/new-chronotext-toolkit,arielm/new-chronotext-toolkit,SlateScience/new-chronotext-toolkit,neshume/new-chronote...
0f7209388674bb16cd0ef10f8d0f383c1e462c55
src/uoj348241.cpp
src/uoj348241.cpp
#include <iostream> #include <cstdio> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <cstring> #include <string> #include <vector> #include <iomanip> #include <cmath> #include <list> #include <bitset> using namespace std; #define ll long long #define lson l,mid,id<<1 #d...
#include <iostream> #include <cstdio> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <cstring> #include <string> #include <vector> #include <iomanip> #include <cmath> #include <list> #include <bitset> using namespace std; #define ll long long #define lson l,mid,id<<1 #d...
update uoj348241
update uoj348241
C++
mit
czfshine/my_oj,czfshine/my_oj,czfshine/my_oj,czfshine/my_oj
d3c52c1221a8373cfa8dec07a23df6fd500320e3
src/urlreader.cpp
src/urlreader.cpp
#include <fstream> #include <cstring> #include <urlreader.h> #include <utils.h> #include <logger.h> #include <sys/utsname.h> #include <config.h> namespace newsbeuter { urlreader::urlreader() : offline(false) { } urlreader::~urlreader() { } std::vector<std::string>& urlreader::get_urls() { return urls; } std::vect...
#include <fstream> #include <cstring> #include <urlreader.h> #include <utils.h> #include <logger.h> #include <sys/utsname.h> #include <config.h> namespace newsbeuter { urlreader::urlreader() : offline(false) { } urlreader::~urlreader() { } std::vector<std::string>& urlreader::get_urls() { return urls; } std::vect...
Handle urls files lacking EOL mark at the end
Handle urls files lacking EOL mark at the end Kudos to @smaudet for pointing this out and providing the fix.
C++
mit
x4121/newsbeuter,newsboat/newsboat,der-lyse/newsboat,der-lyse/newsboat,der-lyse/newsboat,newsboat/newsboat,newsboat/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,newsboat/newsboat,der-lyse/newsboat,x4121/newsbeuter,der-lyse/newsboat,newsboat/newsboat,x4121/newsbeuter,newsboat/newsboat...
68fdde7d4ae0279bda786176299414e55087212a
tensorflow/core/lib/io/zlib_inputstream.cc
tensorflow/core/lib/io/zlib_inputstream.cc
/* Copyright 2016 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 2016 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
add support for concatenated gzip in ZlibInputStream
add support for concatenated gzip in ZlibInputStream
C++
apache-2.0
frreiss/tensorflow-fred,frreiss/tensorflow-fred,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,annarev/tensorflow,tensorflow/tensorflow-expe...
b3f285985f1380e96248fe5e9b49310994944ad9
notify.cpp
notify.cpp
#include <iostream> #include <string> #include <fstream> using namespace std; class Textfile { public: Textfile(string name) { setFilename(name); } void setFilename(string name) { filename = name; } void readFileContents() { ifstream olaf(filename); string str; int count = 0; while(getline(olaf,...
#include <iostream> #include <string> #include <fstream> using namespace std; class Textfile { public: Textfile(string name) { setFilename(name); } void setFilename(string name) { filename = name; } void readFileContents() { ifstream olaf(filename); string str; int count = 0; while(getline(olaf,...
remove tab
remove tab
C++
mit
aleman/hw01,aleman/hw01
9f52f59a05cf15f194191c224e83f0225a267191
src/utils/sys.cpp
src/utils/sys.cpp
#include <utils/sys.hpp> #include <utils/string.hpp> #include <stdexcept> #if __unix || __unix__ #include <unistd.h> #include <ftw.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <errno.h> #include <cstring> #include <cstdlib> namespace utils { namespace sys { std::string whe...
#include <utils/sys.hpp> #include <utils/string.hpp> #include <stdexcept> #if __unix || __unix__ #include <unistd.h> #include <ftw.h> #endif #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <errno.h> #include <cstring> #include <cstdlib> namespace utils { namespace sys { std::string whe...
add Library destructor
add Library destructor
C++
bsd-2-clause
Krozark/cpp-utils
f0baaa129d4d7148e2949ff479c85e539a6bb9db
RenderSystems/GL/src/OgreGLEngineDll.cpp
RenderSystems/GL/src/OgreGLEngineDll.cpp
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person ...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
Use OGRE_NEW and OGRE_DELETE in OgreGLEngineDLL
[GL] Use OGRE_NEW and OGRE_DELETE in OgreGLEngineDLL
C++
mit
paroj/ogre,RealityFactory/ogre,paroj/ogre,RealityFactory/ogre,RealityFactory/ogre,paroj/ogre,RealityFactory/ogre,OGRECave/ogre,paroj/ogre,OGRECave/ogre,OGRECave/ogre,paroj/ogre,OGRECave/ogre,OGRECave/ogre,RealityFactory/ogre
587aa216bb96a87b004653694b5c5cf518a4b706
src/condor_utils/limit_directory_access.cpp
src/condor_utils/limit_directory_access.cpp
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
Fix memory leak in file xfer directory limiting code
Fix memory leak in file xfer directory limiting code
C++
apache-2.0
htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor,htcondor/htcondor
1f93784c294af5d6cdc8f99f093f0e4c021b9be5
src/core/grabber/include/device_grabber.hpp
src/core/grabber/include/device_grabber.hpp
#pragma once #include "apple_hid_usage_tables.hpp" #include "constants.hpp" #include "event_manipulator.hpp" #include "human_interface_device.hpp" #include "iokit_utility.hpp" #include "logger.hpp" #include "manipulator.hpp" #include "types.hpp" #include <IOKit/hid/IOHIDManager.h> #include <thread> #include <time.h> ...
#pragma once #include "apple_hid_usage_tables.hpp" #include "constants.hpp" #include "event_manipulator.hpp" #include "human_interface_device.hpp" #include "iokit_utility.hpp" #include "logger.hpp" #include "manipulator.hpp" #include "types.hpp" #include <IOKit/hid/IOHIDManager.h> #include <thread> #include <time.h> ...
remove automatically calls of unobserve,observe
remove automatically calls of unobserve,observe
C++
unlicense
epegzz/Karabiner-Elements,jrolfs/Karabiner-Elements,jgosmann/Karabiner-Elements-Neo,jgosmann/Karabiner-Elements-Neo,jrolfs/Karabiner-Elements,jgosmann/Karabiner-Elements-Neo,tekezo/Karabiner-Elements,tekezo/Karabiner-Elements,epegzz/Karabiner-Elements,jrolfs/Karabiner-Elements,tekezo/Karabiner-Elements,jgosmann/Karabin...
42dcca690f55adcc793d7ee22c1b922d2ac6c570
test_rclcpp/test/test_local_parameters.cpp
test_rclcpp/test/test_local_parameters.cpp
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
Fix cpplint warnings
Fix cpplint warnings
C++
apache-2.0
ros2/system_tests,ros2/system_tests
67d8c168de0cecdfe462bb533e88c4830ffe5625
src/exodus/test/script_extraction_tests.cpp
src/exodus/test/script_extraction_tests.cpp
#include "../script.h" #include "../../base58.h" #include "../../pubkey.h" #include "../../utilstrencodings.h" #include "../../script/script.h" #include "../../test/test_bitcoin.h" #include <boost/test/unit_test.hpp> #include <string> #include <vector> namespace exodus { BOOST_FIXTURE_TEST_SUITE(exodus_script_ex...
#include "../script.h" #include "../../base58.h" #include "../../pubkey.h" #include "../../utilstrencodings.h" #include "../../script/script.h" #include "../../test/test_bitcoin.h" #include <boost/test/unit_test.hpp> #include <ostream> #include <string> #include <vector> namespace std { template<typename Char, t...
Refactor exodus_script_extraction_tests
Refactor exodus_script_extraction_tests
C++
mit
zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin,zcoinofficial/zcoin
fca8b707516376102df236ae4a63039ec7fdf045
ConnectedComponentSegmentation/otbConnectedComponentSegmentation.cxx
ConnectedComponentSegmentation/otbConnectedComponentSegmentation.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 ...
add VD reprojection only if input image is in sensor model geometry
ENH: add VD reprojection only if input image is in sensor model geometry
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
8aec124cf0e2b9fd4839c35d221f6a05bef3c576
src/gpu/tessellate/GrPathStencilCoverOp.cpp
src/gpu/tessellate/GrPathStencilCoverOp.cpp
/* * Copyright 2021 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/tessellate/GrPathStencilCoverOp.h" #include "src/gpu/GrDefaultGeoProcFactory.h" #include "src/gpu/GrEagerVertexAllocator.h" #include "src/gpu/GrGpu.h" #incl...
/* * Copyright 2021 Google LLC. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/tessellate/GrPathStencilCoverOp.h" #include "src/gpu/GrDefaultGeoProcFactory.h" #include "src/gpu/GrEagerVertexAllocator.h" #include "src/gpu/GrGpu.h" #incl...
Make BoundingBoxShader inherit from GrGeometryProcessor directly
Make BoundingBoxShader inherit from GrGeometryProcessor directly This is not a tessellation shader, and only inherited from GrPathTessellationShader because it was used by the tessellation path renderer. Remove its dependence on GrPathTessellationShader. Bug: skia:10419 Change-Id: Ia97ef68488fae1c90674c5a006a62a3157b...
C++
bsd-3-clause
aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,google/skia,google/skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,aosp-mirror/platform_exter...
81969bfb9139896c19f398ae4004826fa6813d41
src/import/generic/memory/lib/utils/c_str.H
src/import/generic/memory/lib/utils/c_str.H
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/c_str.H $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/generic/memory/lib/utils/c_str.H $ */ /* ...
Add SPD reader and traits DDR4 def
Add SPD reader and traits DDR4 def Includes addition of a generic const file to store constants that are not controller dependent. In addition to spd::c_str for SPD decoder tracing. Change-Id: I4a3ef37d0c0a6c42a111948a3cae3d34a3bcdc70 Original-Change-Id: I6dafe1ff3328a1ac287b29f148e63e304f626ea5 Reviewed-on: http://r...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
c850df8e27376924f732fb21e8d4dcfb1f08a9a9
grpc/server/dronecore_server.cpp
grpc/server/dronecore_server.cpp
#include <iostream> #include <thread> #include <chrono> #include <cstdint> #include <future> #include <grpc/grpc.h> #include <grpc++/server.h> #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/security/server_credentials.h> #include "dronecore.h" #include "dronecore.grpc.pb.h" us...
#include <iostream> #include <thread> #include <chrono> #include <cstdint> #include <future> #include <grpc/grpc.h> #include <grpc++/server.h> #include <grpc++/server_builder.h> #include <grpc++/server_context.h> #include <grpc++/security/server_credentials.h> #include "dronecore.h" #include "dronecore.grpc.pb.h" us...
remove debug cout
grpc: remove debug cout
C++
bsd-3-clause
dronecore/DroneCore,dronecore/DroneCore,dronecore/DroneCore,dronecore/DroneCore
7acd020b66859417d099f32f85d66ca75c7b0a9d
Modules/OpenCVVideoSupport/Commands/mitkGrabCutOpenCVImageFilter.cpp
Modules/OpenCVVideoSupport/Commands/mitkGrabCutOpenCVImageFilter.cpp
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
Check for wrong pixel index.
Check for wrong pixel index.
C++
bsd-3-clause
lsanzdiaz/MITK-BiiG,danielknorr/MITK,NifTK/MITK,RabadanLab/MITKats,fmilano/mitk,MITK/MITK,danielknorr/MITK,fmilano/mitk,lsanzdiaz/MITK-BiiG,fmilano/mitk,RabadanLab/MITKats,danielknorr/MITK,iwegner/MITK,iwegner/MITK,iwegner/MITK,lsanzdiaz/MITK-BiiG,MITK/MITK,fmilano/mitk,RabadanLab/MITKats,NifTK/MITK,lsanzdiaz/MITK-BiiG...
330ba931aa7a98984270aa11aa2595b9a50df800
watcher/win32.cpp
watcher/win32.cpp
/* Copyright 2014-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include <folly/Synchronized.h> #include "InMemoryView.h" #include <algorithm> #include <condition_variable> #include <list> #include <iterator> #include <tuple> #include <mutex> #ifdef _WIN32 #define...
/* Copyright 2014-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include <folly/Synchronized.h> #include "FileDescriptor.h" #include "InMemoryView.h" #include <algorithm> #include <condition_variable> #include <list> #include <iterator> #include <tuple> #include <mu...
Check CreateFileW() return value correctly (#670)
Check CreateFileW() return value correctly (#670) Summary: `CreateFileW()` returns `INVALID_HANDLE_VALUE` if the handle is invalid, so this piece of code wouldn't correct handle a failure here. Switch the code to use the `FileDescriptor` class to make this less error prone. Pull Request resolved: https://github.com/...
C++
mit
nodakai/watchman,wez/watchman,wez/watchman,wez/watchman,wez/watchman,wez/watchman,nodakai/watchman,nodakai/watchman,wez/watchman,facebook/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,nodakai/watchman,facebook/watchman,wez/watchman,nodakai/watchman,wez/watchman,nodakai/watchman,wez/watchman,facebook/wat...
b110e527599082a374517978187072092358b535
moveit_ros/perception/point_containment_filter/src/shape_mask.cpp
moveit_ros/perception/point_containment_filter/src/shape_mask.cpp
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2008, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
Remove OpenMP parallelization, fixes #563
Remove OpenMP parallelization, fixes #563
C++
bsd-3-clause
davetcoleman/moveit,v4hn/moveit,ros-planning/moveit,davetcoleman/moveit,ros-planning/moveit,ros-planning/moveit,davetcoleman/moveit,davetcoleman/moveit,v4hn/moveit,ros-planning/moveit,v4hn/moveit,v4hn/moveit,ros-planning/moveit
ea034078a6609c2090d04dd54587cbee51572be7
drivers/common/common.hpp
drivers/common/common.hpp
/// Common commands for all bitstreams /// /// (c) Koheron #ifndef __DRIVERS_COMMON_HPP__ #define __DRIVERS_COMMON_HPP__ #include <cstring> #include <array> extern "C" { #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <ifaddrs.h> } #include <drivers/lib/memory_manager.hpp> #in...
/// Common commands for all bitstreams /// /// (c) Koheron #ifndef __DRIVERS_COMMON_HPP__ #define __DRIVERS_COMMON_HPP__ #include <cstring> #include <array> extern "C" { #include <sys/socket.h> #include <sys/types.h> #include <arpa/inet.h> #include <ifaddrs.h> } #include <drivers/lib/memory_manager.hpp> #in...
write only the 8 least sign. bits of ip address (#298)
write only the 8 least sign. bits of ip address (#298)
C++
mit
Koheron/zynq-sdk,Koheron/zynq-sdk,Koheron/zynq-sdk,Koheron/zynq-sdk
937874bb9867c854a3e6bd2d111be9aabcaacd78
HelloWorld/HelloWorld.cpp
HelloWorld/HelloWorld.cpp
#include <iostream> #include <string> #include <vector> using namespace std; vector <string> Census; void Census2017(){ // Census.push_back("Name @ GitHub link"); Census.push_back("Allen Comp Sci @ https://github.com/AllenCompSci"); Census.push_back("Mr. Hudson @ https://github.com/theshrewedshrew"); Census.p...
#include <iostream> #include <string> #include <vector> using namespace std; vector <string> Census; void Census2017(){ // Census.push_back("Name @ GitHub link"); Census.push_back("Allen Comp Sci @ https://github.com/AllenCompSci"); Census.push_back("Mr. Hudson @ https://github.com/theshrewedshrew"); Census.p...
Update HelloWorld.cpp
Update HelloWorld.cpp
C++
mit
AjiteshGupta/Hacktoberfest,AjiteshGupta/Hacktoberfest,PAWAN-KUMAR-GAUTAM000/Hacktoberfest,AllenCompSci/Hacktoberfest,TharinduDilshan/Hacktoberfest-1,deepanshu22/Hacktoberfest-1,deepanshu22/Hacktoberfest-1,deepanshu22/Hacktoberfest-1,joycemaaa/Hacktoberfest-2,PAWAN-KUMAR-GAUTAM000/Hacktoberfest,deepanshu22/Hacktoberfest...
65a17539d2ab1866b2c8252155b0a7fbe127d861
gm/showmiplevels.cpp
gm/showmiplevels.cpp
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "Resources.h" #include "SkBitmapScaler.h" #include "SkGradientShader.h" #include "SkTypeface.h" #include "SkStream.h" #include "SkPaint.h" #include "...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm.h" #include "Resources.h" #include "SkBitmapScaler.h" #include "SkGradientShader.h" #include "SkTypeface.h" #include "SkStream.h" #include "SkPaint.h" #include "...
Fix clang warning about unused lambda capture.
Fix clang warning about unused lambda capture. This was found by a tip of tree build of clang. Change-Id: I9aa3fecd47ae69350e8d58e796f960a991b7759e Reviewed-on: https://skia-review.googlesource.com/7586 Commit-Queue: Brian Salomon <61fabaaf0876044aeedfd8e351e485c028d69e7b@google.com> Reviewed-by: Mike Klein <14574f0...
C++
bsd-3-clause
HalCanary/skia-hc,aosp-mirror/platform_external_skia,google/skia,HalCanary/skia-hc,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,rubenvb/skia,HalCanary/skia-hc,Hikari-no-Tenshi/android_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,Hikari-no-Tenshi/android_external_skia,HalCan...
e0f15fbc8856aa6930c5e34795f1006e7e4cbe20
TESTS/operators/fusedconvmaxpool/test_operators_fusedconvmaxpool.cpp
TESTS/operators/fusedconvmaxpool/test_operators_fusedconvmaxpool.cpp
#include "test_helper.h" #include "uTensor/loaders/tensorIdxImporter.hpp" #include "MatrixOps.hpp" #include <iostream> using std::cout; using std::endl; TensorIdxImporter t_import; Context ctx; void test_operators_fusedConvMaxpool12(void) { ctx.gc(); //inputs ctx.add(t_import.float_import("/fs/constants...
#include "test_helper.h" #include "uTensor/loaders/tensorIdxImporter.hpp" #include "MatrixOps.hpp" #include <iostream> using std::cout; using std::endl; TensorIdxImporter t_import; Context ctx; void test_operators_fusedConvMaxpool12(void) { ctx.gc(); //inputs ctx.add(t_import.float_import("/fs/constants...
Add print to test
Add print to test
C++
apache-2.0
neil-tan/uTensor,neil-tan/uTensor
29e641acd17f6bdc500348d1ef5fa4035cf4f146
xls/noc/drivers/sample_experiments_test.cc
xls/noc/drivers/sample_experiments_test.cc
// Copyright 2021 The XLS Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
// Copyright 2021 The XLS Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
Fix sample_experiments_test for OSS.
[NoC-Sim] Fix sample_experiments_test for OSS. PiperOrigin-RevId: 410089952
C++
apache-2.0
google/xls,google/xls,google/xls,google/xls,google/xls,google/xls
67bbfd1483d2300684fbe5e688e5c80c193776ee
system/Grappa.hpp
system/Grappa.hpp
// Copyright 2010-2012 University of Washington. All Rights Reserved. // LICENSE_PLACEHOLDER // This software was created with Government support under DE // AC05-76RL01830 awarded by the United States Department of // Energy. The Government has certain rights in the software. #ifndef __GRAPPA_HPP__ #define __GRAPPA_...
// Copyright 2010-2012 University of Washington. All Rights Reserved. // LICENSE_PLACEHOLDER // This software was created with Government support under DE // AC05-76RL01830 awarded by the United States Department of // Energy. The Government has certain rights in the software. #ifndef __GRAPPA_HPP__ #define __GRAPPA_...
add 'Array.hpp' and 'Statistics.hpp' to Grappa.hpp
add 'Array.hpp' and 'Statistics.hpp' to Grappa.hpp
C++
bsd-3-clause
buaasun/grappa,buaasun/grappa,uwsampa/grappa,alexfrolov/grappa,uwsampa/grappa,alexfrolov/grappa,uwsampa/grappa,buaasun/grappa,alexfrolov/grappa,buaasun/grappa,alexfrolov/grappa,uwsampa/grappa,uwsampa/grappa,buaasun/grappa,uwsampa/grappa,buaasun/grappa,alexfrolov/grappa,buaasun/grappa,alexfrolov/grappa,alexfrolov/grappa...
7fecea1b803fbca7c5237a9607698f0ea272f65c
drake/solvers/test/mosek_test.cc
drake/solvers/test/mosek_test.cc
#include "drake/solvers/mosek_solver.h" #include <iostream> #include <Eigen/Core> #include "gtest/gtest.h" #include "drake/util/testUtil.h" #include "drake/solvers/mathematical_program.h" #include "drake/solvers/optimization.h" #include "drake/util/eigen_matrix_compare.h" #include "drake/solvers/constraint.h" usi...
#include "drake/solvers/mosek_solver.h" #include <iostream> #include <Eigen/Core> #include "gtest/gtest.h" #include "drake/util/testUtil.h" #include "drake/solvers/mathematical_program.h" #include "drake/solvers/optimization.h" #include "drake/util/eigen_matrix_compare.h" #include "drake/solvers/constraint.h" usi...
indent change.
indent change.
C++
bsd-3-clause
sheim/drake,sheim/drake,sheim/drake,billhoffman/drake,sheim/drake,sheim/drake,sheim/drake,billhoffman/drake,sheim/drake,sheim/drake,billhoffman/drake,billhoffman/drake,billhoffman/drake,billhoffman/drake,billhoffman/drake,billhoffman/drake
dc786c20532b3039b964fba156c519001e837013
gason.cpp
gason.cpp
#include <stdlib.h> #include <ctype.h> #include "gason.h" inline bool is_delim(char c) { return isspace(c) || c == ',' || c == ':' || c == ']' || c == '}' || c == '\0'; } inline bool is_sign(char c) { return c == '-' || c == '+'; } inline int char2int(char c) { if (c >= 'a') return c - 'a' + 10; if (c >= 'A') retur...
#include <stdlib.h> #include <ctype.h> #include "gason.h" inline bool isdelim(char c) { return isspace(c) || c == ',' || c == ':' || c == ']' || c == '}' || c == '\0'; } inline int char2int(char c) { if (c >= 'a') return c - 'a' + 10; if (c >= 'A') return c - 'A' + 10; return c - '0'; } static double str2float(co...
Remove is_sign function
Remove is_sign function
C++
mit
duckie/gason,tvanderbruggen/gason,vivkin/gason,duckie/gason,tvanderbruggen/gason,vivkin/gason,ChrisJefferson/gason,ChrisJefferson/gason,bagobor/gason,ChrisJefferson/gason,bagobor/gason
63e000c7d1743ef31ba5e9c02c91734930e9033f
deal.II/bundled/boost-1.49.0/include/boost/signals2/detail/foreign_ptr.hpp
deal.II/bundled/boost-1.49.0/include/boost/signals2/detail/foreign_ptr.hpp
// helper code for dealing with tracking non-boost shared_ptr/weak_ptr // Copyright Frank Mori Hess 2009. // Distributed under the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/signals2 for library ...
// helper code for dealing with tracking non-boost shared_ptr/weak_ptr // Copyright Frank Mori Hess 2009. // Distributed under the Boost Software License, Version // 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/signals2 for library ...
Fix typos
Fix typos git-svn-id: c76ba5783a977acea081caf371e30e6fdf9e4459@30263 0785d39b-7218-0410-832d-ea1e28bc413d
C++
lgpl-2.1
sriharisundar/dealii,jperryhouts/dealii,EGP-CIG-REU/dealii,nicolacavallini/dealii,Arezou-gh/dealii,pesser/dealii,ESeNonFossiIo/dealii,angelrca/dealii,sriharisundar/dealii,jperryhouts/dealii,mac-a/dealii,danshapero/dealii,kalj/dealii,rrgrove6/dealii,natashasharma/dealii,johntfoster/dealii,EGP-CIG-REU/dealii,flow123d/dea...
9953102813e473dba8cd7d714d70ca33d1a98fb7
src/trace_processor/importers/json/json_trace_parser.cc
src/trace_processor/importers/json/json_trace_parser.cc
/* * Copyright (C) 2018 The Android Open Source Project * * 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 (C) 2018 The Android Open Source Project * * 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 parsing JSON counter events
tp: fix parsing JSON counter events We were accidentally passing utid to InternProcessCounterTrack which is very wrong. Fix by using the correct process function Change-Id: I1c9532d75b06b7d9fa8d4e7079ce331c5f62788c Bug: #140 (https://github.com/google/perfetto/issues/140)
C++
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
0720eabef22d4b4d772f84bca226ccdd3fc32497
rx24t_GPS_sample/main.cpp
rx24t_GPS_sample/main.cpp
//=====================================================================// /*! @file @brief RX24T GPS サンプル @n ・P00(4) ピンに赤色LED(VF:1.9V)を吸い込みで接続する @n ・PB6/RXD5(27) <--- GPS-TX @n ・PB5/TXD5(28) ---> GPS-RX Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //========================...
//=====================================================================// /*! @file @brief RX24T GPS サンプル @n ・P00(4) ピンに赤色LED(VF:1.9V)を吸い込みで接続する @n ・PB6/RXD5(27) <--- GPS-TX @n ・PB5/TXD5(28) ---> GPS-RX Copyright 2017 Kunihito Hiramatsu @author 平松邦仁 (hira@rvf-rc45.net) */ //========================...
update basic decode
update basic decode
C++
bsd-3-clause
hirakuni45/RX,hirakuni45/RX,hirakuni45/RX,hirakuni45/RX
721a82cd907d3d453f2a472eaf3fe3a31c00fe44
MFWebCamToFile/MFWebCamToFile.cpp
MFWebCamToFile/MFWebCamToFile.cpp
/****************************************************************************** * Filename: MFWebCamToFile.cpp * * Description: * This file contains a C++ console application that captures the realtime video * stream from a webcam to an MP4 file. * * Note: The webcam index and the source reader media output type will ...
/****************************************************************************** * Filename: MFWebCamToFile.cpp * * Description: * This file contains a C++ console application that captures the realtime video * stream from a webcam to an MP4 file. * * Note: The webcam index and the source reader media output type will ...
Tweak to MFWebCamToFile sample.
Tweak to MFWebCamToFile sample.
C++
unlicense
sipsorcery/mediafoundationsamples,sipsorcery/mediafoundationsamples,sipsorcery/mediafoundationsamples,sipsorcery/mediafoundationsamples
0f4440125b8693053726fda650591832bb13d468
src/solvers/dpll.cpp
src/solvers/dpll.cpp
#include <set> #include <map> #include <iostream> #include <cassert> #include <memory> #include <exception> #include <stdexcept> #include "structures/affectation.h" #include "structures/deductions.h" #include "structures/CL_proof.h" #include "structures/formula.h" #include "structures/clause.h" #include "solvers/dpll...
#include <set> #include <map> #include <iostream> #include <cassert> #include <memory> #include <exception> #include <stdexcept> #include "structures/affectation.h" #include "structures/deductions.h" #include "structures/CL_proof.h" #include "structures/formula.h" #include "structures/clause.h" #include "solvers/dpll...
Fix handling of 'r' in command-line interaction.
Fix handling of 'r' in command-line interaction.
C++
mit
Ezibenroc/satsolver,Ezibenroc/satsolver,Ezibenroc/satsolver,Ezibenroc/satsolver
462351f24c67c9233fb122cdc5c9fe8b72f9fd91
cmm_socket_passthrough.cpp
cmm_socket_passthrough.cpp
#include "cmm_socket.h" #include "cmm_socket.private.h" #include "debug.h" static void passthrough_debug_alert(const char *fn) { dbgprintf("Passthrough socket function called: %s\n", fn); } CMMSocketPassThrough::CMMSocketPassThrough(mc_socket_t sock_) { sock = sock_; } ssize_t CMMSocketPassThrough::mc_send(...
#include "cmm_socket.h" #include "cmm_socket.private.h" #include "debug.h" static void passthrough_debug_alert(const char *fn) { dbgprintf("Passthrough socket function called: %s\n", fn); } CMMSocketPassThrough::CMMSocketPassThrough(mc_socket_t sock_) { sock = sock_; } ssize_t CMMSocketPassThrough::mc_send(...
Make flags==0 recv/send default to read/write, just in case I call them on a non-socket.
Make flags==0 recv/send default to read/write, just in case I call them on a non-socket.
C++
bsd-2-clause
brettdh/libcmm,brettdh/libcmm,brettdh/libcmm,brettdh/libcmm,brettdh/libcmm
1fdc5a90e3bd5d5e93adfad4f4fd31141336574f
test/pybind11/pybind11_test_01.cpp
test/pybind11/pybind11_test_01.cpp
#include <mp++/extra/pybind11.hpp> #include <mp++/mp++.hpp> #include <string> #include <unordered_map> #include <vector> #if defined(__clang__) || defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" #endif #include <pybind11/pybind11.h> #include <pybind11/stl.h> #if defi...
#include <mp++/extra/pybind11.hpp> #include <mp++/mp++.hpp> #include <string> #include <unordered_map> #include <vector> #if defined(__clang__) || defined(__GNUC__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" #endif #include <pybind11/pybind11.h> #include <pybind11/stl.h> #if defi...
Add a few more functions to the pybind11 testing module.
Add a few more functions to the pybind11 testing module.
C++
mpl-2.0
bluescarni/mppp,bluescarni/mppp,bluescarni/mppp
a6d1d14013b77c4df692c408d7075e7ebbfbf700
src/storm-replay.cpp
src/storm-replay.cpp
/*****************************************************************************/ /* storm-replay.cpp Copyright 2016 Justin J. Novack */ /*---------------------------------------------------------------------------*/ /* Common functions to interface with StormLib */ ...
/*****************************************************************************/ /* storm-replay.cpp Copyright 2016 Justin J. Novack */ /*---------------------------------------------------------------------------*/ /* Common functions to interface with StormLib */ ...
remove eol at eof
remove eol at eof
C++
mit
nydus/storm-replay,nydus/storm-replay,nydus/storm-replay
281b1089302a7fa4e7568bbf148f20912856b1f0
src/symbol_table.cpp
src/symbol_table.cpp
/* Project: TUC File: symbol_table.cpp Author: Leonardo Banderali Created: October 8, 2015 Last Modified: October 8, 2015 Description: TUC is a simple, experimental compiler designed for learning and experimenting. It is not intended to have any useful purpose other than being a way to learn how compilers ...
/* Project: TUC File: symbol_table.cpp Author: Leonardo Banderali Created: October 8, 2015 Last Modified: October 8, 2015 Description: TUC is a simple, experimental compiler designed for learning and experimenting. It is not intended to have any useful purpose other than being a way to learn how compilers ...
Implement symbol type.
Implement symbol type.
C++
mit
Leonardo2718/tuc
69262d9eb435c8c043945a208c3ee4d2fc586b20
src/utils/daemon.cpp
src/utils/daemon.cpp
#include "daemon.h" #include <err.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> namespace clc { namespace utils { bool read_pidfile(const char* pid_path, pid_t* pid) { FILE* f; f = fopen(pid_path, "r"); if (f == NULL) return f...
#include "daemon.h" #include <err.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> namespace clc { namespace utils { bool read_pidfile(const char* pid_path, pid_t* pid) { FILE* f; f = fopen(pid_path, "r"); if (f == NULL) return f...
Fix a bug in daemonize().
Fix a bug in daemonize(). Our std stream closing was broken.
C++
bsd-3-clause
sas/clang-cache,sas/clang-cache
c54e83d8922833d921ed3c83225fd98d195847f3
distributions/rng.hpp
distributions/rng.hpp
// Copyright 2018 Google LLC. All Rights Reserved. /* Copyright (C) 2009 Steven L. Scott 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 you...
// Copyright 2018 Google LLC. All Rights Reserved. /* Copyright (C) 2009 Steven L. Scott 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 you...
Remove commented out boost code.
Remove commented out boost code.
C++
lgpl-2.1
steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM
195152b5bec8c4ee4cec525f9202508ae4092c15
src/view/surface.cpp
src/view/surface.cpp
#include <algorithm> extern "C" { #define static #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_matrix.h> #include <wlr/types/wlr_buffer.h> #include <wlr/util/region.h> #undef static } #include "priv-view.hpp" #include "opengl.hpp" #include "core.hpp" #include "output.hpp" #include "debug.hpp" #include "...
#include <algorithm> extern "C" { #define static #include <wlr/render/wlr_renderer.h> #include <wlr/types/wlr_matrix.h> #include <wlr/types/wlr_buffer.h> #include <wlr/util/region.h> #undef static } #include "priv-view.hpp" #include "opengl.hpp" #include "core.hpp" #include "output.hpp" #include "debug.hpp" #include "...
fix drag icons
fix drag icons Fixes #33
C++
mit
ammen99/wayfire,ammen99/wayfire
23a838f8337158df1c4f22aa1f260e330c8dd0ac
tests/src/main.cpp
tests/src/main.cpp
#include <QTest> #include "test-suite.h" #include "custom-network-access-manager.h" #include <iostream> int main(int argc, char *argv[]) { #ifdef HEADLESS QCoreApplication a(argc, argv); #else QGuiApplication a(argc, argv); #endif QMap<QString,int> results; int failed = 0; CustomNetworkAccessManager::Test...
#include <QTest> #include "test-suite.h" #include "custom-network-access-manager.h" #include <iostream> int main(int argc, char *argv[]) { #ifdef HEADLESS QCoreApplication a(argc, argv); #else QGuiApplication a(argc, argv); #endif QStringList testSuites; for (int i = 1; i < argc; ++i) testSuites.append(ar...
Allow to only run some test suites from the test runner
Allow to only run some test suites from the test runner
C++
apache-2.0
Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber,Bionus/imgbrd-grabber
da842eabb2a6773f939eb099a3d3a41d16d94cac
src/was/was_glue.cxx
src/was/was_glue.cxx
/* * High level WAS client. * * author: Max Kellermann <mk@cm4all.com> */ #include "was_glue.hxx" #include "was_quark.h" #include "was_stock.hxx" #include "was_client.hxx" #include "http_response.hxx" #include "lease.hxx" #include "tcp_stock.hxx" #include "stock/GetHandler.hxx" #include "abort_close.hxx" #include ...
/* * High level WAS client. * * author: Max Kellermann <mk@cm4all.com> */ #include "was_glue.hxx" #include "was_quark.h" #include "was_stock.hxx" #include "was_client.hxx" #include "http_response.hxx" #include "lease.hxx" #include "tcp_stock.hxx" #include "stock/GetHandler.hxx" #include "abort_close.hxx" #include ...
convert struct to class
was/glue: convert struct to class
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
5d2e8e333eb30d38e636d329f03dda36a1189d9e
service/soft-sensor-manager/SampleApp/linux/SSMTesterApp/src/SSMTestApp.cpp
service/soft-sensor-manager/SampleApp/linux/SSMTesterApp/src/SSMTestApp.cpp
/****************************************************************** * * Copyright 2014 Samsung Electronics All Rights Reserved. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
/****************************************************************** * * Copyright 2014 Samsung Electronics All Rights Reserved. * * * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
Fix console sample
[SSM] Fix console sample 1. Fix sample application while reading query string from console Change-Id: I90076ad0711ce165293a4db159e5796f1b7c93ee Signed-off-by: jk13 <ecfb86b5d85d5430a7602d1e11f4f25d16714d36@samsung.com> Reviewed-on: https://gerrit.iotivity.org/gerrit/347 Tested-by: jenkins-iotivity <09cb29e8a2b473a2c9...
C++
apache-2.0
WojciechLuczkow/iotivity,santais/iotivity_1.1,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,iotivity/iotivity,WojciechLuczkow/iotivity,rzr/iotivity,WojciechLuczkow/iotivity,kartben/iotivity,rzr/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1...
2aa6bd6afe1b32601dc1bbe1cffc0f354b959669
src/world/skybox.cpp
src/world/skybox.cpp
// skybox.cpp // Skybox info // Copyright 2015 Matthew Chandler // 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...
// skybox.cpp // Skybox info // Copyright 2015 Matthew Chandler // 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...
fix skybox texture binding
fix skybox texture binding
C++
mit
mattvchandler/mazerun
73fb136e9ab1c4e2250fcf088ee9b2c5a5160ac3
src/xpiks-qt/Models/logsmodel.cpp
src/xpiks-qt/Models/logsmodel.cpp
/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2016 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can redistribute it ...
/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2016 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can redistribute it ...
Fix for tests
Fix for tests
C++
mpl-2.0
Artiom-M/xpiks,Ribtoks/xpiks,Artiom-M/xpiks,Ribtoks/xpiks,Ribtoks/xpiks,Artiom-M/xpiks,Artiom-M/xpiks,Ribtoks/xpiks
3d6c476e7437cd971ddb546837b7418582241db2
stateplex/core/receiversource.cpp
stateplex/core/receiversource.cpp
/* * Stateplex - A server-side actor model library. * * core/upstreamsource.cpp * * (c) 2013 Henrik Hedberg <henrik.hedberg@innologies.fi> * * This library 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 Fre...
/* * Stateplex - A server-side actor model library. * * core/upstreamsource.cpp * * (c) 2013 Henrik Hedberg <henrik.hedberg@innologies.fi> * * This library 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 Fre...
handle Connection reset by peer error in read
ReceiverSource: handle Connection reset by peer error in read
C++
lgpl-2.1
hhedberg/stateplex,hhedberg/stateplex
fa47a419d856cf187be6cb6d97fd98087694b2b6
chrome/browser/views/tab_contents/native_tab_contents_container_gtk.cc
chrome/browser/views/tab_contents/native_tab_contents_container_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/views/tab_contents/native_tab_contents_container_gtk.h" #include "chrome/browser/renderer_host/render_widget_host_view.h" #i...
// 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/views/tab_contents/native_tab_contents_container_gtk.h" #include "chrome/browser/renderer_host/render_widget_host_view.h" #i...
Fix toolkit_views bustage by updating callsite to use the new function name.
Fix toolkit_views bustage by updating callsite to use the new function name. BUG=none TEST=none TBR=jcampan Review URL: http://codereview.chromium.org/118419 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@17929 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
c59d0040b6a830d867b6471acc9b74afaa616350
Base/Analysis/voHierarchicalClustering.cpp
Base/Analysis/voHierarchicalClustering.cpp
// Qt includes #include <QDebug> // QtPropertyBrowser includes #include <QtVariantPropertyManager> // Visomics includes #include "voDataObject.h" #include "voHierarchicalClustering.h" #include "vtkExtendedTable.h" #include "voTableDataObject.h" // VTK includes #include <vtkDataSetAttributes.h> #include <vtkDenseArr...
// Qt includes #include <QDebug> // QtPropertyBrowser includes #include <QtVariantPropertyManager> // Visomics includes #include "voDataObject.h" #include "voHierarchicalClustering.h" #include "vtkExtendedTable.h" #include "voTableDataObject.h" // VTK includes #include <vtkDataSetAttributes.h> #include <vtkDenseArr...
Rearrange the columns to reflect the clustering
ENH: Rearrange the columns to reflect the clustering
C++
apache-2.0
Visomics/Visomics,arborworkflows/Visomics,Visomics/Visomics,arborworkflows/Visomics,arborworkflows/Visomics,Visomics/Visomics,arborworkflows/Visomics,Visomics/Visomics,Visomics/Visomics,Visomics/Visomics,arborworkflows/Visomics,arborworkflows/Visomics
0e52af6437ff9c62b55c77c175d11cdafe1cad81
searchlib/src/tests/features/expression_replacement_features/expression_replacement_features_test.cpp
searchlib/src/tests/features/expression_replacement_features/expression_replacement_features_test.cpp
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchlib/attribute/attributefactory.h> #include <vespa/searchlib/fef/test/ftlib.h> #include <vespa/searchlib/features/max_reduce_prod_joi...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/searchlib/attribute/attributefactory.h> #include <vespa/searchlib/fef/test/ftlib.h> #include <vespa/searchlib/features/max_reduce_prod_joi...
Add some extra asserts in feature test
Add some extra asserts in feature test
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
d6778146901a534098045f7888dd53bf34a66b5a
commander/ExeCommander.cpp
commander/ExeCommander.cpp
#include "ExeCommander.h" #include "../parser/ExeNodeWrapper.h" #include "../parser/Formatter.h" #include "../parser/FileBuffer.h" //------------------------------------------ char cmd_util::addrTypeToChar(Executable::addr_type type) { switch (type) { case Executable::RAW: return 'r'; case Executa...
#include "ExeCommander.h" #include "../parser/ExeNodeWrapper.h" #include "../parser/Formatter.h" #include "../parser/FileBuffer.h" //------------------------------------------ char cmd_util::addrTypeToChar(Executable::addr_type type) { switch (type) { case Executable::RAW: return 'r'; case Executa...
Print EntryPoint as hex field, not as offset
[BUGFIX][commander] Print EntryPoint as hex field, not as offset
C++
bsd-2-clause
hasherezade/bearparser,hasherezade/bearparser,hasherezade/bearparser
8779970f39a7a3dcaeb5aca9919f691fe64826a0
src/classify/confusion_matrix.cpp
src/classify/confusion_matrix.cpp
/** * @file confusion_matrix.cpp * @author Sean Massung */ #include <iomanip> #include <algorithm> #include <vector> #include "util/common.h" #include "classify/confusion_matrix.h" namespace meta { namespace classify { confusion_matrix::confusion_matrix(): _predictions{32, string_pair_hash}, _total{0} { /...
/** * @file confusion_matrix.cpp * @author Sean Massung */ #include <iomanip> #include <algorithm> #include <vector> #include "util/common.h" #include "classify/confusion_matrix.h" namespace meta { namespace classify { confusion_matrix::confusion_matrix(): _predictions{32, string_pair_hash}, _total{0} { /...
Fix minor display bug with confusion matrix stats with short class labels.
Fix minor display bug with confusion matrix stats with short class labels.
C++
mit
husseinhazimeh/meta,esparza83/meta,saq7/MeTA,husseinhazimeh/meta,gef756/meta,husseinhazimeh/meta,gef756/meta,esparza83/meta,gef756/meta,saq7/MeTA,esparza83/meta,husseinhazimeh/meta,esparza83/meta,gef756/meta,saq7/MeTA,esparza83/meta,husseinhazimeh/meta,gef756/meta
904b1434fb75dbe6024bb8d07b520a65d438a403
Filtering/vtkInformationVector.cxx
Filtering/vtkInformationVector.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkInformationVector.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This soft...
/*========================================================================= Program: Visualization Toolkit Module: vtkInformationVector.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This soft...
fix warning
COMP: fix warning
C++
bsd-3-clause
demarle/VTK,berendkleinhaneveld/VTK,Wuteyan/VTK,candy7393/VTK,berendkleinhaneveld/VTK,collects/VTK,SimVascular/VTK,collects/VTK,aashish24/VTK-old,aashish24/VTK-old,candy7393/VTK,sankhesh/VTK,spthaolt/VTK,naucoin/VTKSlicerWidgets,ashray/VTK-EVM,jmerkow/VTK,naucoin/VTKSlicerWidgets,biddisco/VTK,cjh1/VTK,arnaudgelas/VTK,W...
df0db9dae9c8061403a9a3eafa4b9b8893fd6396
src/import/chips/ocmb/odyssey/procedures/hwp/memory/lib/phy/ody_phy_utils.C
src/import/chips/ocmb/odyssey/procedures/hwp/memory/lib/phy/ody_phy_utils.C
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/odyssey/procedures/hwp/memory/lib/phy/ody_phy_utils.C $...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/ocmb/odyssey/procedures/hwp/memory/lib/phy/ody_phy_utils.C $...
Add unit tests for Odyssey IMEM/DMEM load/read
Add unit tests for Odyssey IMEM/DMEM load/read Also fix a couple bugs: Address increment in read_dmem_field Loop parameters in ate::read_message_block Zen:MST-1617 Change-Id: I408543ff388f6437e094c007738080c84309eaba Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/132035 Tested-by: Jenkins Server <8e3f934e4c4487...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
b97499b37a1fae59978bb328d901d5d6ffa56387
tutorials/latex3.C
tutorials/latex3.C
{ //example illustrating a TPaveText with Latex inside gROOT->Reset(); TCanvas c1("c1"); TPaveText pt(.05,.1,.95,.8); pt.AddText("#frac{2s}{#pi#alpha^{2}} #frac{d#sigma}{dcos#theta} (e^{+}e^{-} #rightarrow f#bar{f} ) = \ #left| #frac{1}{1 - #Delta#alpha} #right|^{2} (1+cos^{2}#theta)"); pt.AddText...
{ //example illustrating a TPaveText with Latex inside gROOT->Reset(); TCanvas c1("c1"); TPaveText pt(.05,.1,.95,.8); pt.AddText("#frac{2s}{#pi#alpha^{2}} #frac{d#sigma}{dcos#theta} (e^{+}e^{-} #rightarrow f#bar{f} ) = \ #left| #frac{1}{1 - #Delta#alpha} #right|^{2} (1+cos^{2}#theta)"); pt.AddText...
Add missing "\" at the end of the lines continuing the definition of a string in the next line(s).
Add missing "\" at the end of the lines continuing the definition of a string in the next line(s). git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@12577 27541ba8-7e3a-0410-8455-c3a389f83636
C++
lgpl-2.1
mhuwiler/rootauto,olifre/root,tc3t/qoot,veprbl/root,Dr15Jones/root,dfunke/root,cxx-hep/root-cern,arch1tect0r/root,alexschlueter/cern-root,BerserkerTroll/root,simonpf/root,mhuwiler/rootauto,sawenzel/root,lgiommi/root,bbockelm/root,root-mirror/root,pspe/root,krafczyk/root,esakellari/root,sirinath/root,georgtroska/root,bb...
5b5718eb32655b93d556cff0bdc8762524e0ba94
app/src/Main.cpp
app/src/Main.cpp
#include <docopt.h> #include <iostream> #include <utility> #include <nsearch/Sequence.h> #include <nsearch/FASTQ/Writer.h> #include <nsearch/FASTA/Reader.h> #include <nsearch/PairedEnd/Merger.h> #include <nsearch/PairedEnd/Reader.h> #include <nsearch/Database.h> #include <nsearch/Aligner.h> #include <nsearch/Alignmen...
#include <docopt.h> #include <iostream> #include <utility> #include <nsearch/Sequence.h> #include <nsearch/FASTQ/Writer.h> #include <nsearch/FASTA/Reader.h> #include <nsearch/PairedEnd/Merger.h> #include <nsearch/PairedEnd/Reader.h> #include <nsearch/Database.h> #include <nsearch/Aligner.h> #include <nsearch/Alignmen...
Add todo
Add todo
C++
bsd-3-clause
stevschmid/nsearch
87563a030e1f7836f5349fc4864e3a6fc6271621
app/src/main.cpp
app/src/main.cpp
/* Copyright (C) 2016 INRA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distr...
/* Copyright (C) 2016 INRA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distr...
update main parameter
update main parameter
C++
mit
quesnel/baryonyx,quesnel/baryonyx,quesnel/baryonyx
ca27f78e299a86fc1aca2c087270a6133eb1a79e
paddle/fluid/operators/load_op.cc
paddle/fluid/operators/load_op.cc
/* Copyright (c) 2016 PaddlePaddle 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...
/* Copyright (c) 2016 PaddlePaddle 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 o...
load op add seletedRows
load op add seletedRows
C++
apache-2.0
tensor-tang/Paddle,jacquesqiao/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,QiJune/Paddle,tensor-tang/Paddle,QiJune/Paddle,QiJune/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,PaddlePaddle/Paddle,baidu/Paddle,jacquesqiao/Paddle,chengduoZH/Paddle,baidu/Paddle,tensor-tang/P...