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
894f8401a1749fe97e896c9d4f915a4c5c17d775
src/libpsl-native/test/test-createsymlink.cpp
src/libpsl-native/test/test-createsymlink.cpp
//! @file test-createsymlink.cpp //! @author George Fleming <v-geflem@microsoft.com> //! @brief Implements test for CreateSymLink() and FollowSymLink() #include <gtest/gtest.h> #include <errno.h> #include <unistd.h> #include "issymlink.h" #include "createsymlink.h" #include "followsymlink.h" using namespace std; cla...
//! @file test-createsymlink.cpp //! @author George Fleming <v-geflem@microsoft.com> //! @brief Implements test for CreateSymLink() and FollowSymLink() #include <gtest/gtest.h> #include <errno.h> #include <unistd.h> #include "issymlink.h" #include "createsymlink.h" #include "followsymlink.h" using namespace std; cla...
Fix CreateSymLink tests for OS X
Fix CreateSymLink tests for OS X /tmp is symlinked to /private/tmp and since we're testing symlink resolution through FollowSymlink, we need to change what we expect to the realpath.
C++
mit
KarolKaczmarek/PowerShell,PaulHigin/PowerShell,bingbing8/PowerShell,kmosher/PowerShell,TravisEz13/PowerShell,bmanikm/PowerShell,bmanikm/PowerShell,TravisEz13/PowerShell,KarolKaczmarek/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,PaulHigin/PowerShell,bmanikm/PowerShell,kmosher/PowerShell,bingbing8/PowerShe...
d4a3edf70039538231032fb14a1079a8a5422ff1
src/Tests/Tests/Test_FastConv.cpp
src/Tests/Tests/Test_FastConv.cpp
#include "MUSI8903Config.h" #ifdef WITH_TESTS #include <cassert> #include <cstdio> #include <iostream> #include "UnitTest++.h" #include "Vector.h" #include "FastConv.h" SUITE(FastConv) { struct FastConvData { FastConvData(): m_pCFastConv(0), inputData(0), outputD...
#include "MUSI8903Config.h" #ifdef WITH_TESTS #include <cassert> #include <cstdio> #include <iostream> #include "UnitTest++.h" #include "Vector.h" #include "FastConv.h" SUITE(FastConv) { struct FastConvData { FastConvData(): m_pCFastConv(0), inputData(0), outputD...
add back test fixture
add back test fixture both tests running.
C++
mit
ashispati/MUSIC-8903-2016-assignment3-fastconv,ashispati/MUSIC-8903-2016-assignment3-fastconv
3f5ca536d8bb25fdeec1c3dc72dc6c0cead76951
Modules/DiffusionImaging/FiberTracking/cmdapps/Tractography/RfTraining.cpp
Modules/DiffusionImaging/FiberTracking/cmdapps/Tractography/RfTraining.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...
Remove unmatching closing parenthesis
Remove unmatching closing parenthesis
C++
bsd-3-clause
MITK/MITK,fmilano/mitk,fmilano/mitk,fmilano/mitk,fmilano/mitk,fmilano/mitk,MITK/MITK,MITK/MITK,fmilano/mitk,MITK/MITK,MITK/MITK,MITK/MITK,fmilano/mitk
5d119377ce4b3b4f46e2b3736038f493ba4ca3be
Sources/hspp/Policy/BasicPolicy.cpp
Sources/hspp/Policy/BasicPolicy.cpp
// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <hspp/Policy/BasicPolicy.hpp> namespace Hearthstonepp { Task...
// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <hspp/Policy/BasicPolicy.hpp> namespace Hearthstonepp { Task...
Make unused variable void
fix: Make unused variable void
C++
mit
Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp
ef9b9fbf09e723b7adeebd5e365b33e8d0671542
include/Bull/Math/Vector/Vector.inl
include/Bull/Math/Vector/Vector.inl
#include <cmath> namespace Bull { template <typename T, Index S> Vector<T, S> Vector<T, S>::normalize(const Vector<T, S>& vector) { return Vector<T, S>(vector).normalize(); } template <typename T, Index S> T Vector<T, S>::dotProduct(const Vector<T, S>& left, const Vector<T, S>& right) ...
#include <cmath> namespace Bull { template <typename T, Index S> Vector<T, S> Vector<T, S>::normalize(const Vector<T, S>& vector) { return Vector<T, S>(vector).normalize(); } template <typename T, Index S> T Vector<T, S>::dotProduct(const Vector<T, S>& left, const Vector<T, S>& right) ...
Fix dot product
[Math/Vector] Fix dot product
C++
mit
siliace/Bull
c345a6a6c9af634cda82dc699d5dc83686be5864
include/seastar/websocket/server.hh
include/seastar/websocket/server.hh
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License. * * You may ...
remove eof_exception and use empty buffer instead
websocket: remove eof_exception and use empty buffer instead In order to signal EOF, an exception is no longer used - instead, an empty buffer is appended to the queue, and it's later recognized as end-of-stream.
C++
apache-2.0
syuu1228/seastar,scylladb/seastar,avikivity/seastar,syuu1228/seastar,syuu1228/seastar,avikivity/seastar,scylladb/seastar,scylladb/seastar,avikivity/seastar
24a4766597af0e91443803c11693aac06121cd83
include/tudocomp_stat/StatPhase.hpp
include/tudocomp_stat/StatPhase.hpp
#pragma once #include <cstring> #include <ctime> #include <tudocomp_stat/Json.hpp> namespace tdc { class StatPhase { private: static StatPhase* s_current; inline static unsigned long current_time_millis() { timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return t.tv_sec * 1000L + t...
#pragma once #include <cstring> #include <ctime> #include <tudocomp_stat/Json.hpp> namespace tdc { class StatPhase { private: static StatPhase* s_current; inline static unsigned long current_time_millis() { timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return t.tv_sec * 1000L + t...
Implement split method for StatPhase
Implement split method for StatPhase
C++
apache-2.0
tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp
8b8735229b4c6e42dacc804f05a35b7465550e06
Xcode/SmartSensors/src/tuneable.cpp
Xcode/SmartSensors/src/tuneable.cpp
#include "tuneable.h" #include <cmath> #include "ofApp.h" static std::map<void*, Tuneable*> allTuneables; void Tuneable::onSliderEvent(ofxDatGuiSliderEvent e) { for (const auto& t : allTuneables) { void* data_ptr = t.second->getDataAddress(); void* ui_ptr = t.second->getUIAddress(); if (...
#include "tuneable.h" #include <cmath> #include "ofApp.h" static std::map<void*, Tuneable*> allTuneables; void Tuneable::onSliderEvent(ofxDatGuiSliderEvent e) { for (const auto& t : allTuneables) { void* data_ptr = t.second->getDataAddress(); void* ui_ptr = t.second->getUIAddress(); if (...
Comment styling.
Comment styling.
C++
bsd-3-clause
damellis/ESP,damellis/ESP
7c1c7f81d2589ca86223aa9f4adfb9b684eab436
faiss/MetaIndexes.cpp
faiss/MetaIndexes.cpp
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // -*- c++ -*- #include <faiss/MetaIndexes.h> #include <cinttypes> #include <cstdio> #include <stdint.h> #include <faiss/impl/F...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ // -*- c++ -*- #include <faiss/MetaIndexes.h> #include <cinttypes> #include <cstdio> #include <limits> #include <stdint.h> #inc...
Fix division by zero. (#1339)
Fix division by zero. (#1339) Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/1339 Test Plan: Imported from OSS Reviewed By: mdouze Differential Revision: D23234966 Pulled By: beauby fbshipit-source-id: 43142bbf2e30ce69dd15dfc1818d3e3079c7ec48
C++
mit
facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss,facebookresearch/faiss
78a565b6c4498da241dfe3991e63024e1f66330c
MQWeb/src/StaticRequestHandler.cpp
MQWeb/src/StaticRequestHandler.cpp
/* * Copyright 2010 MQWeb - Franky Braem * * Licensed under the EUPL, Version 1.1 or – as soon they * will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the * Licence. * You may obtain a copy of the Licence at: ...
/* * Copyright 2010 MQWeb - Franky Braem * * Licensed under the EUPL, Version 1.1 or – as soon they * will be approved by the European Commission - subsequent * versions of the EUPL (the "Licence"); * You may not use this work except in compliance with the * Licence. * You may obtain a copy of the Licence at: ...
Return HTTP_NOT_FOUND for favicon.ico
Return HTTP_NOT_FOUND for favicon.ico
C++
mit
fbraem/mqweb,fbraem/mqweb,fbraem/mqweb
aba9a594b6d2b79058110b68714faf997f4a5e74
OSVRUpdateCallback.cpp
OSVRUpdateCallback.cpp
/** @file @brief Implementation @date 2014 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2014 Sensics, 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 L...
/** @file @brief Implementation @date 2014 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2014 Sensics, 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 L...
Add missing include
Add missing include
C++
apache-2.0
OSVR/OSVR-Tracker-Viewer
2830825c563ef1f5315030fb7988665679095d15
src/buffer_iterator.inl.hh
src/buffer_iterator.inl.hh
#ifndef buffer_iterator_inl_h_INCLUDED #define buffer_iterator_inl_h_INCLUDED #include "assert.hh" namespace Kakoune { inline BufferIterator::BufferIterator(const Buffer& buffer, BufferCoord coord) : m_buffer(&buffer), m_coord(coord) { assert(is_valid()); } inline const Buffer& BufferIterator::buffer() cons...
#ifndef buffer_iterator_inl_h_INCLUDED #define buffer_iterator_inl_h_INCLUDED #include "assert.hh" namespace Kakoune { inline BufferIterator::BufferIterator(const Buffer& buffer, BufferCoord coord) : m_buffer(&buffer), m_coord(coord) { assert(is_valid()); } inline const Buffer& BufferIterator::buffer() cons...
allow invalid iterator in operator=
BufferIterator: allow invalid iterator in operator=
C++
unlicense
rstacruz/kakoune,jjthrash/kakoune,occivink/kakoune,xificurC/kakoune,danielma/kakoune,elegios/kakoune,jkonecny12/kakoune,casimir/kakoune,alexherbo2/kakoune,Asenar/kakoune,Asenar/kakoune,jkonecny12/kakoune,ekie/kakoune,jjthrash/kakoune,zakgreant/kakoune,danielma/kakoune,danielma/kakoune,xificurC/kakoune,xificurC/kakoune,...
05edabff5e8a09ebace6446d370fa3eb6fbda431
stdlib/public/stubs/UnicodeNormalization.cpp
stdlib/public/stubs/UnicodeNormalization.cpp
//===--- UnicodeNormalization.cpp - Unicode Normalization Helpers ---------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//===--- UnicodeNormalization.cpp - Unicode Normalization Helpers ---------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
fix Windows link
stubs: fix Windows link There is no icucore.lib in the official ICU distribution for Windows. Remove the autolink directive for now.
C++
apache-2.0
parkera/swift,hooman/swift,tkremenek/swift,sschiau/swift,shajrawi/swift,brentdax/swift,alblue/swift,austinzheng/swift,gregomni/swift,aschwaighofer/swift,devincoughlin/swift,benlangmuir/swift,brentdax/swift,parkera/swift,glessard/swift,jopamer/swift,natecook1000/swift,devincoughlin/swift,huonw/swift,hooman/swift,ahoppen...
982cc3b15c9ec5e0757e93876d74a3eb178d7e4e
CoreUI/Bundles/org.mitk.gui.qt.common/src/QmitkStdMultiWidgetEditor.cpp
CoreUI/Bundles/org.mitk.gui.qt.common/src/QmitkStdMultiWidgetEditor.cpp
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or...
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or...
Add default colors if no preferences are saved.
Add default colors if no preferences are saved.
C++
bsd-3-clause
iwegner/MITK,danielknorr/MITK,lsanzdiaz/MITK-BiiG,rfloca/MITK,danielknorr/MITK,NifTK/MITK,nocnokneo/MITK,RabadanLab/MITKats,danielknorr/MITK,rfloca/MITK,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,fmilano/mitk,MITK/MITK,fmilano/mitk,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,NifTK/MITK,iwegner/MITK,rfloca/MITK,RabadanLab/MITKat...
5d6b0e0b169f5b64f05bd23448373e0a90167470
src/appleseed/renderer/kernel/lighting/bdpt/bdptlightingengine.cpp
src/appleseed/renderer/kernel/lighting/bdpt/bdptlightingengine.cpp
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2017 Aytek Aman, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person obtaining a ...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2017 Aytek Aman, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person obtaining a ...
Implement tracing of emitting triangles
Implement tracing of emitting triangles -Right now, most functionality is copied from LightTracingSampleGenerator class
C++
mit
dictoon/appleseed,pjessesco/appleseed,appleseedhq/appleseed,dictoon/appleseed,dictoon/appleseed,est77/appleseed,Biart95/appleseed,Biart95/appleseed,Biart95/appleseed,luisbarrancos/appleseed,luisbarrancos/appleseed,Vertexwahn/appleseed,appleseedhq/appleseed,pjessesco/appleseed,Biart95/appleseed,Vertexwahn/appleseed,pjes...
4a7dbbe9e9d675dbf3ab47878d16cce23c26e8da
chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
chrome/browser/ui/views/frame/app_non_client_frame_view_ash_browsertest.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/chrome_notification_types.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_finder.h" #include "c...
// 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/chrome_notification_types.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_finder.h" #include "c...
Disable AppNonClientFrameViewAshTest.SwitchFrames
Disable AppNonClientFrameViewAshTest.SwitchFrames BUG=290240 TBR=jamescook@chromium.org,yoz@chromium.org,vadimsh@chromium.org Review URL: https://codereview.chromium.org/23536044 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@222806 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
littlstar/chromium.src,bright-sparks/chromium-spacewalk,mohamed--abdel-maksoud/chromium.src,markYoungH/chromium.src,ltilve/chromium,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,hgl888/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk,mogoweb/chromium-crosswalk,Chromiu...
1dfd3a0f41d3cf07688416091594145d3531d066
Modules/Filtering/Projection/test/otbGeometriesProjectionFilterFromMapToGeo.cxx
Modules/Filtering/Projection/test/otbGeometriesProjectionFilterFromMapToGeo.cxx
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
fix prTvGeometriesProjectionFilterFromMapToGeo test
TEST: fix prTvGeometriesProjectionFilterFromMapToGeo test
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
c524443b4c8f2b0cf82b8e1032fd7c7c136d52aa
Plugins/org.mitk.gui.qt.xnat/src/internal/QmitkXnatConnectionPreferencePage.cpp
Plugins/org.mitk.gui.qt.xnat/src/internal/QmitkXnatConnectionPreferencePage.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...
Fix hard-coded style modifications
Fix hard-coded style modifications
C++
bsd-3-clause
fmilano/mitk,fmilano/mitk,fmilano/mitk,fmilano/mitk,MITK/MITK,fmilano/mitk,MITK/MITK,MITK/MITK,MITK/MITK,MITK/MITK,MITK/MITK,fmilano/mitk,fmilano/mitk
e89d712f296b8de5e6c5ecc5194ad1af1f6b76d4
include/stack.hpp
include/stack.hpp
#include <iostream> #include <algorithm> template <typename T> class stack { public: stack(); size_t count() const; size_t array_size() const; T * operator[](unsigned int index) const; void push(T const &); T pop(); T last()const; void print(); void swap(); private: T * array_; size_t array_size_; size_t c...
#include <iostream> #include <algorithm> template <typename T> class stack { public: stack(); size_t count() const; size_t array_size() const; T * operator[](unsigned int index) const; void push(T const &); void pop(); T top(); T last()const; void print(); void swap(); bool empty(); private: T * array_; s...
Update stack.hpp
Update stack.hpp
C++
mit
kate-lozovaya/stack-0.0.3
d2f0cf398d2cba498205a024b4b71536883034f5
MerlionServerCore/NodeClientSocket.cpp
MerlionServerCore/NodeClientSocket.cpp
/** * Copyright (C) 2014 yvt <i@yvt.jp>. * * 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 (C) 2014 yvt <i@yvt.jp>. * * 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...
Support for sending an empty message
Support for sending an empty message
C++
apache-2.0
yvt/Merlion,yvt/Merlion,yvt/Merlion,yvt/Merlion,yvt/Merlion
e37091931cc409d3189a69eb581871c6e743832d
lib/Target/PowerPC/PPCSubtarget.cpp
lib/Target/PowerPC/PPCSubtarget.cpp
//===-- PowerPCSubtarget.cpp - PPC Subtarget Information ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- PowerPCSubtarget.cpp - PPC Subtarget Information ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
test commit / whitespace
test commit / whitespace git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@165233 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
dslab-epfl/asap,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,chubbymaggie/asap,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,dslab-epfl/asap,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,GPUOpen...
020ea75f8d61fce949857aaa11bc9913fc144371
include/stack.hpp
include/stack.hpp
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> #include <thread> #include <mutex> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset...
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> #include <thread> #include <mutex> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset...
Update stack.hpp
Update stack.hpp
C++
mit
DANTEpolaris/stack
dc48ad725e41a1e7de5723dec47ecefd9dd9d80d
Source/ArticyEditor/Private/CodeGeneration/ExpressoScriptsGenerator.cpp
Source/ArticyEditor/Private/CodeGeneration/ExpressoScriptsGenerator.cpp
// // Copyright (c) articy Software GmbH & Co. KG. All rights reserved. // #include "ExpressoScriptsGenerator.h" #include "CodeFileGenerator.h" #include "ArticyPluginSettings.h" void GenerateMethodInterface(CodeFileGenerator* header, const UArticyImportData* Data, bool bCreateBlueprintableUserMethods) { header-...
// // Copyright (c) articy Software GmbH & Co. KG. All rights reserved. // #include "ExpressoScriptsGenerator.h" #include "CodeFileGenerator.h" #include "ArticyPluginSettings.h" void GenerateMethodInterface(CodeFileGenerator* header, const UArticyImportData* Data, bool bCreateBlueprintableUserMethods) { header-...
Fix according to marketplace feedback.
Fix according to marketplace feedback.
C++
mit
ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal,ArticySoftware/ArticyImporterForUnreal
ff2c3ac850b0bc3d894880ea3a007c1964088b38
src/qblowfish.cpp
src/qblowfish.cpp
/* This file is part of QBlowfish and is licensed under the MIT License Copyright 2012 Roopesh Chander <roop@forwardbias.in> 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 res...
/* This file is part of QBlowfish and is licensed under the MIT License Copyright (C) 2012 Roopesh Chander <roop@forwardbias.in> 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 ...
Remove special char - Qt Creator on Linux doesn't seem to like it
Remove special char - Qt Creator on Linux doesn't seem to like it
C++
mit
roop/qblowfish,roop/qblowfish
00be69755160399756152eed8f1fbbcba8ec115a
test/core/end2end/tests/keepalive_timeout.cc
test/core/end2end/tests/keepalive_timeout.cc
/* * * Copyright 2017 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 2017 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...
Test changes
Test changes
C++
apache-2.0
vjpai/grpc,stanley-cheung/grpc,vjpai/grpc,stanley-cheung/grpc,grpc/grpc,vjpai/grpc,sreecha/grpc,sreecha/grpc,muxi/grpc,carl-mastrangelo/grpc,carl-mastrangelo/grpc,mehrdada/grpc,nicolasnoble/grpc,stanley-cheung/grpc,nicolasnoble/grpc,nicolasnoble/grpc,pszemus/grpc,grpc/grpc,pszemus/grpc,sreecha/grpc,donnadionne/grpc,sre...
8fe8321285e6ca79094a90ef8e46c4cbc586beb4
content/browser/renderer_host/media/desktop_capture_device_ash_unittest.cc
content/browser/renderer_host/media/desktop_capture_device_ash_unittest.cc
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/media/desktop_capture_device_ash.h" #include "base/synchronization/waitable_event.h" #include "content/browser/br...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/browser/renderer_host/media/desktop_capture_device_ash.h" #include "base/synchronization/waitable_event.h" #include "content/browser/br...
Revert 237645 "Fix memory leak in DesktopCaptureDeviceAshTest on..."
Revert 237645 "Fix memory leak in DesktopCaptureDeviceAshTest on..." DesktopCaptureApiTest.ChooseDesktopMedia still failing. > Fix memory leak in DesktopCaptureDeviceAshTest on Linux Chromium OS ASAN. > > The aura::test::TestWindowDelegate should be held in a scoped_ptr. > > TBR=hshi@chromium.org > TEST=run content...
C++
bsd-3-clause
krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,dednal/chromium.src,anirudhSK/chromium,ondra-novak/chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,patrickm/chromium.src,markYoungH/chromium.src,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,markYoungH/ch...
1d3e74a14e2fccede719cbe63ef34689bc5f33ce
src/robotskirt.cc
src/robotskirt.cc
#include <v8.h> #include <node.h> #include <node_buffer.h> #include <string> #include "markdownWrapper.hpp" using namespace std; using namespace node; using namespace v8; using namespace mkd; #define OUTPUT_UNIT 64 //////////////////////////////////////////////////////////////////////////////// // UTILITIES to ...
#include <v8.h> #include <node.h> #include <node_buffer.h> #include <string> #include "markdownWrapper.hpp" using namespace std; using namespace node; using namespace v8; using namespace mkd; #define OUTPUT_UNIT 64 //////////////////////////////////////////////////////////////////////////////// // UTILITIES to ...
Update extension flags
Update extension flags
C++
mit
benmills/robotskirt,benmills/robotskirt,benmills/robotskirt,benmills/robotskirt,benmills/robotskirt
d26521b41d259f79e8a4579d39d22737ffdf788c
Runtime/MP1/World/CElitePirate.hpp
Runtime/MP1/World/CElitePirate.hpp
#pragma once #include "Runtime/Character/CBoneTracking.hpp" #include "Runtime/Collision/CCollisionActorManager.hpp" #include "Runtime/Collision/CJointCollisionDescription.hpp" #include "Runtime/MP1/World/CGrenadeLauncher.hpp" #include "Runtime/MP1/World/CShockWave.hpp" #include "Runtime/World/CActorParameters.hpp" #in...
#pragma once #include "Runtime/Character/CBoneTracking.hpp" #include "Runtime/Collision/CCollisionActorManager.hpp" #include "Runtime/Collision/CJointCollisionDescription.hpp" #include "Runtime/MP1/World/CGrenadeLauncher.hpp" #include "Runtime/MP1/World/CShockWave.hpp" #include "Runtime/World/CActorParameters.hpp" #in...
Add missing const specifiers
CElitePirate: Add missing const specifiers Note to self: Remember to stage all of the necessary changes in commits.
C++
mit
AxioDL/PathShagged,AxioDL/PathShagged,AxioDL/PathShagged
cb1fb695d385e0d6186c3e37bfbf89f0ba5f60df
src/rpcclient.cpp
src/rpcclient.cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2017 The Phore developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://...
Update rpcclient.cpp
Update rpcclient.cpp
C++
mit
48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P,48thct2jtnf/P
f18001c06a3c894358b45ecc761a439e2049b755
src/rpcclient.cpp
src/rpcclient.cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcclient.h" #include "rpcprotocol.h" #include "util.h" #include "ui_interfa...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcclient.h" #include "rpcprotocol.h" #include "util.h" #include "ui_interfa...
remove include of chainparams.h
remove include of chainparams.h chainparams.h has not been used in this cpp file already, consider to remove it for clean.
C++
mit
langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin,langerhans/dogecoin
d9f16cf23c39d929b38afde99f2f5a2542c06f87
utils/config_file.cc
utils/config_file.cc
/* * Copyright (C) 2017 ScyllaDB * */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
/* * Copyright (C) 2017 ScyllaDB * */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
fix a typo in warning message
trivial: fix a typo in warning message > std::invalid_argument: Option memtable_allocation_typeis not applicable Signed-off-by: Amos Kong <eb01d8f828a6c9a20be4534e72e049aaf41503df@scylladb.com> Message-Id: <37d293a4eadfb8a58acaf96f80b1d2e943530c6b.1509947604.git.eb01d8f828a6c9a20be4534e72e049aaf41503df@scylladb.com>
C++
agpl-3.0
avikivity/scylla,avikivity/scylla,duarten/scylla,scylladb/scylla,scylladb/scylla,duarten/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,duarten/scylla
b5072ce6d3d295150128706e5d95aa787cdb3480
src/v4l2/V4L2DeviceProperties.cpp
src/v4l2/V4L2DeviceProperties.cpp
/* * Copyright 2021 The Imaging Source Europe GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2021 The Imaging Source Europe GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Add missing renames
v4l2: Add missing renames
C++
apache-2.0
TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera,TheImagingSource/tiscamera
73bec3a0910249d73cc0e1179fdde2cb1b4d1169
Modules/Wrappers/ApplicationEngine/src/otbWrapperElevationParametersHandler.cxx
Modules/Wrappers/ApplicationEngine/src/otbWrapperElevationParametersHandler.cxx
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of ...
update the elevation parameter documentation for OTB 8.0
DOC: update the elevation parameter documentation for OTB 8.0
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
a9514a388278524e2a261c32f15cad3503e33522
src/plugins/qt4projectmanager/qmldumptool.cpp
src/plugins/qt4projectmanager/qmldumptool.cpp
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
Disable warning message for qmldump
Disable warning message for qmldump Discussed-with: fkleint
C++
lgpl-2.1
azat/qtcreator,KDE/android-qt-creator,syntheticpp/qt-creator,xianian/qt-creator,omniacreator/qtcreator,KDE/android-qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,darksylinc/qt-creator,dmik/qt-creator-os2,colede/qtcreator,duythanhphan/qt-creator,farseerri/git_code,azat...
19b4cdc7292d400a5f63f20f69a20f89c3a478cf
src/breakpad/DumpSyms.cpp
src/breakpad/DumpSyms.cpp
/* * DumpSyms.cpp * OpenLieroX * * Created by Albert Zeyer on 18.10.09. * Code under LGPL. * */ #include "DumpSyms.h" #ifdef WIN32 #include <stdio.h> #include <string> #include "FindFile.h" #include "common/windows/pdb_source_line_writer.h" using std::wstring; using google_breakpad::PDBSourceLineWriter;...
/* * DumpSyms.cpp * OpenLieroX * * Created by Albert Zeyer on 18.10.09. * Code under LGPL. * */ #include "DumpSyms.h" #ifdef WIN32 #include <stdio.h> #include <string> #include "FindFile.h" #include "common/windows/pdb_source_line_writer.h" using std::wstring; using google_breakpad::PDBSourceLineWriter;...
Fix for Utf8->Utf16 conversion
Fix for Utf8->Utf16 conversion
C++
lgpl-2.1
ProfessorKaos64/openlierox,ProfessorKaos64/openlierox,ProfessorKaos64/openlierox,ProfessorKaos64/openlierox,ProfessorKaos64/openlierox,ProfessorKaos64/openlierox,ProfessorKaos64/openlierox
28a16e852dd82d987f8ee4465e063e0a26d5ede6
Infovis/vtkStatisticsAlgorithm.cxx
Infovis/vtkStatisticsAlgorithm.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkStatisticsAlgorithm.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This so...
/*========================================================================= Program: Visualization Toolkit Module: vtkStatisticsAlgorithm.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This so...
document the fact that the Validate output port (3rd -- #2) is not used for now.
STYLE: document the fact that the Validate output port (3rd -- #2) is not used for now.
C++
bsd-3-clause
jmerkow/VTK,cjh1/VTK,jmerkow/VTK,keithroe/vtkoptix,johnkit/vtk-dev,naucoin/VTKSlicerWidgets,aashish24/VTK-old,daviddoria/PointGraphsPhase1,biddisco/VTK,gram526/VTK,demarle/VTK,daviddoria/PointGraphsPhase1,SimVascular/VTK,spthaolt/VTK,hendradarwin/VTK,candy7393/VTK,aashish24/VTK-old,sumedhasingla/VTK,sumedhasingla/VTK,j...
66a73128dd94ebc2fe86613e99895e451b0b4260
src/xenia/base/debugging_posix.cc
src/xenia/base/debugging_posix.cc
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2017 Ben Vanik. All rights reserved. ...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2017 Ben Vanik. All rights reserved. ...
Fix debugging_posix.cc
Fix debugging_posix.cc
C++
bsd-3-clause
sephiroth99/xenia,maxton/xenia,maxton/xenia,maxton/xenia,sephiroth99/xenia,sephiroth99/xenia
90b8163d5465adcaa3e56c6c30f3060ace85a71e
Machines/Enterprise/Enterprise.cpp
Machines/Enterprise/Enterprise.cpp
// // Enterprise.cpp // Clock Signal // // Created by Thomas Harte on 10/06/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #include "Enterprise.hpp" #include "Nick.hpp" #include "../MachineTypes.hpp" #include "../../Processors/Z80/Z80.hpp" #include "../../Analyser/Static/Enterprise/Target.hpp"...
// // Enterprise.cpp // Clock Signal // // Created by Thomas Harte on 10/06/2021. // Copyright © 2021 Thomas Harte. All rights reserved. // #include "Enterprise.hpp" #include "Nick.hpp" #include "../MachineTypes.hpp" #include "../../Processors/Z80/Z80.hpp" #include "../../Analyser/Static/Enterprise/Target.hpp"...
Add exposition.
Add exposition.
C++
mit
TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK,TomHarte/CLK
12907b6c94c13dc08baf7f8bb8b626ceb6be95a1
src/chemkit/conformer.cpp
src/chemkit/conformer.cpp
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
/****************************************************************************** ** ** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com> ** All rights reserved. ** ** This file is a part of the chemkit project. For more information ** see <http://www.chemkit.org>. ** ** Redistribution and use in source and binar...
Change Conformer to use std::map
Change Conformer to use std::map This changes the Conformer class to use a std::map instead of a QHash.
C++
bsd-3-clause
kylelutz/chemkit,kylelutz/chemkit,kylelutz/chemkit,kylelutz/chemkit
e1e5db7e88d3d0734fa6e7a64e6674dc7bcba8c7
tools/debugserver/source/DNBRegisterInfo.cpp
tools/debugserver/source/DNBRegisterInfo.cpp
//===-- DNBRegisterInfo.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- DNBRegisterInfo.cpp -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Add missing include
Add missing include git-svn-id: 4c4cc70b1ef44ba2b7963015e681894188cea27e@346525 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
apple/swift-lldb,apple/swift-lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb,llvm-mirror/lldb,apple/swift-lldb,llvm-mirror/lldb
4cca13ca50c4d95571d9007065747e789d0b2875
src/croi/roombaRoowifi.cpp
src/croi/roombaRoowifi.cpp
#include "roombaRoowifi.h" #include "croiUtil.h" #include "mapQGraphicsView.h" namespace Croi { RoombaRoowifi::RoombaRoowifi(PoiQGraphicsEllipseItem *startPoint, MapQGraphicsView* map, FleetManager *parent): IRoomba(startPoint, map, parent), reconnectCounter_(0), ip_("") { roowifi...
#include "roombaRoowifi.h" #include "croiUtil.h" #include "mapQGraphicsView.h" namespace Croi { RoombaRoowifi::RoombaRoowifi(PoiQGraphicsEllipseItem *startPoint, MapQGraphicsView* map, FleetManager *parent): IRoomba(startPoint, map, parent), reconnectCounter_(0), ip_("") { roowifi...
Fix the battery level
ROOWIFI: Fix the battery level
C++
mit
joonaspessi/rotfl
24e325fdd98555d9fceffb0feeb1582d411b3c6d
include/stack.hpp
include/stack.hpp
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset && other) = delete; auto operato...
#ifndef stack_cpp #define stack_cpp #pragma once #include <iostream> #include <memory> class bitset { public: explicit bitset(size_t size) /*strong*/; bitset(bitset const & other) = delete; auto operator =(bitset const & other)->bitset & = delete; bitset(bitset && other) = delete; auto operato...
Update stack.hpp
Update stack.hpp
C++
mit
DANTEpolaris/stack
e44597980b0afd27098f087e3c080e4cca2011ca
include/stack.hpp
include/stack.hpp
#include <iostream> #include <algorithm> #include <stdexcept> template <typename T> class stack { public: stack(); size_t count() const; size_t array_size() const; T * operator[](unsigned int index) const; void push(T const &); void pop(); T top(); T last()const; void print(); void swap(); bool empty(); pri...
#include <iostream> #include <algorithm> #include <stdexcept> template <typename T> class stack { public: stack(); size_t count() const; size_t array_size() const; T * operator[](unsigned int index) const; void push(T const &); void pop(); T top(); T last()const; void print(); void swap(); bool empty(); pri...
Update stack.hpp
Update stack.hpp
C++
mit
kate-lozovaya/stack-0.0.3
f82014ff4ac359d0e2f79b8dba692cad0a4493a4
TableGen/ClangASTNodesEmitter.cpp
TableGen/ClangASTNodesEmitter.cpp
#include "ClangASTNodesEmitter.h" #include "Record.h" #include <vector> #include <stack> #include <string> #include <map> #include <utility> #include <clocale> using namespace llvm; //===----------------------------------------------------------------------===// // Statement Node Tables (.inc file) generation. //===--...
#include "ClangASTNodesEmitter.h" #include "Record.h" #include <vector> #include <stack> #include <string> #include <map> #include <utility> #include <cctype> using namespace llvm; //===----------------------------------------------------------------------===// // Statement Node Tables (.inc file) generation. //===---...
Include the right header for toupper
Include the right header for toupper git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@103073 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-3-clause
lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx
347f19ad919083dbcf414dddf2a82ee877c22b0f
backends/jitrt/lib/memory_mapper.cc
backends/jitrt/lib/memory_mapper.cc
/* * Copyright 2022 The TensorFlow Runtime 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 applicab...
/* * Copyright 2022 The TensorFlow Runtime 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 applicab...
Implement fake MemoryMapper virtual methods
[tfrt:jitrt] Implement fake MemoryMapper virtual methods PiperOrigin-RevId: 431578673
C++
apache-2.0
tensorflow/runtime,tensorflow/runtime,tensorflow/runtime,tensorflow/runtime
338db008b3f7dc090226ed52a5be5e22c581c336
index/MMIndex.cpp
index/MMIndex.cpp
#include <iostream> #include <MMIndex.h> #include <PostingStream.h> void MMIndex::add(const string &term, size_t fieldID, size_t docID, size_t pos) { vector<Posting> &pstList = index[term][fieldID]; const size_t N = pstList.size(); if ( N > 0 && pstList[N - 1].docID == docID ) { pstList[N - 1].addPos(pos); s...
#include <iostream> #include <MMIndex.h> #include <PostingStream.h> void MMIndex::add(const string &term, size_t fieldID, size_t docID, size_t pos) { vector<Posting> &pstList = index[term][fieldID]; const size_t N = pstList.size(); if ( N > 0 && pstList[N - 1].docID == docID ) { pstList[N - 1].addPos(pos); s...
Update MMIndex.cpp
Update MMIndex.cpp sizeof(docID) -> sizeof(pos)
C++
apache-2.0
Da-Huang/Search-Engine,Da-Huang/Search-Engine
f7e7ed6aaf600d99e9db6a4af51eec9d8983cb84
base/i18n/icu_encoding_detection.cc
base/i18n/icu_encoding_detection.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/i18n/icu_encoding_detection.h" #include <set> #include "base/string_util.h" #include "unicode/ucsdet.h" namespace base { bool Detec...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/i18n/icu_encoding_detection.h" #include <set> #include "base/string_util.h" #include "unicode/ucsdet.h" namespace base { bool Detec...
Make DetectEncoding() failed when ucsdet_detect() returls NULL.
Make DetectEncoding() failed when ucsdet_detect() returls NULL. In some cases, DetectEncoding() crashes and the reason may be becasue ucsdet_detect() returns NULL with no error status. (cf. http://crosbug.com/15691) BUG=http://crosbug.com/15691 TEST=none Review URL: http://codereview.chromium.org/7064039 git-svn-id...
C++
bsd-3-clause
hgl888/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,ondra-novak/chromium.src,Fireblend/chromium-crosswalk,Chilledheart/chromium,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,ondra-novak/chromium.src,dushu1203/chromium.src,anirudhSK/chromium,m...
76ff0bed5c6e597fd808bc921c4338bbce32fb1b
bench/tests/qdb/tag/attach_blob.hpp
bench/tests/qdb/tag/attach_blob.hpp
#pragma once #include <bench/tests/qdb/qdb_test_template.hpp> namespace bench { namespace tests { namespace qdb { namespace tag { class attach_blob : public qdb_test_template<attach_blob> { public: attach_blob(bench::test_config config) : qdb_test_template(config) { _tag = alias(0) + "-tag"; } ...
#pragma once #include <bench/tests/qdb/qdb_test_template.hpp> namespace bench { namespace tests { namespace qdb { namespace tag { class attach_blob : public qdb_test_template<attach_blob> { public: attach_blob(bench::test_config config) : qdb_test_template(config) { _tag = alias(0) + "-tag"; } ...
Improve qdb_tag_attach_blob cleanup time
Improve qdb_tag_attach_blob cleanup time
C++
bsd-2-clause
bureau14/qdb-benchmark,bureau14/qdb-benchmark,bureau14/qdb-benchmark,bureau14/qdb-benchmark
f4ce1e270bb661e9092e1b5de651d7ea5a7bd3d2
src/stdexcept.cpp
src/stdexcept.cpp
//===------------------------ stdexcept.cpp -------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
//===------------------------ stdexcept.cpp -------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------...
Change size of reference count field in __libcpp_nmstr from 32 bits to 64 bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2.
Change size of reference count field in __libcpp_nmstr from 32 bits to 64 bits for 64 bit targets. This is controls the data layout of all exceptions defined in <stdexcept>. This aligns the ABI with that of gcc-4.2. git-svn-id: 6a9f6578bdee8d959f0ed58970538b4ab6004734@161496 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi,llvm-mirror/libcxxabi
00ba49f9abe13b0a659217c9036841f70a08abb2
src/common/KeyManager.cxx
src/common/KeyManager.cxx
/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARR...
/* bzflag * Copyright (c) 1993 - 2004 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named LICENSE that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR * IMPLIED WARR...
increment the iterator before deleting the object it points to
increment the iterator before deleting the object it points to git-svn-id: 67bf12f30ddf2081c31403e0b02b2123541f1680@7816 08b3d480-bf2c-0410-a26f-811ee3361c24
C++
lgpl-2.1
adamsdadakaeti/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,adamsdadakaeti/b...
a6e5887d73ba5ce5e2a8538594dafa4674465337
src/engine/Application.cpp
src/engine/Application.cpp
#include "Application.hpp" #include "input/Input.hpp" #include "graphics/GLUtilities.hpp" #include "graphics/Framebuffer.hpp" #include "system/System.hpp" Application::Application(RenderingConfig & config) : _config(config) { } void Application::update() { // Handle window resize. if(Input::manager().resized()) { ...
#include "Application.hpp" #include "input/Input.hpp" #include "graphics/GLUtilities.hpp" #include "graphics/Framebuffer.hpp" #include "system/System.hpp" Application::Application(RenderingConfig & config) : _config(config) { } void Application::update() { // Handle window resize. if(Input::manager().resized()) { ...
use timestamp for saving screenshot.
Application: use timestamp for saving screenshot.
C++
mit
kosua20/GL_Template,kosua20/GL_Template
18e3b8b7fa087a208f85e7f2ea07cded79033b59
openCherry/Bundles/org.opencherry.ui/src/internal/cherryLayoutPartSash.cpp
openCherry/Bundles/org.opencherry.ui/src/internal/cherryLayoutPartSash.cpp
/*========================================================================= Program: openCherry Platform Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or http://www...
/*========================================================================= Program: openCherry Platform Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See MITKCopyright.txt or http://www...
FIX (#2904): The sash widget was invisible by default after creating it, and not synchronized with the state of LayoutPartSash. Fixed by calling setVisible on the sash with the current visibility of LayoutPartSash.
FIX (#2904): The sash widget was invisible by default after creating it, and not synchronized with the state of LayoutPartSash. Fixed by calling setVisible on the sash with the current visibility of LayoutPartSash.
C++
bsd-3-clause
fmilano/mitk,iwegner/MITK,danielknorr/MITK,NifTK/MITK,danielknorr/MITK,rfloca/MITK,rfloca/MITK,danielknorr/MITK,lsanzdiaz/MITK-BiiG,MITK/MITK,rfloca/MITK,fmilano/mitk,iwegner/MITK,MITK/MITK,nocnokneo/MITK,iwegner/MITK,NifTK/MITK,rfloca/MITK,rfloca/MITK,fmilano/mitk,iwegner/MITK,nocnokneo/MITK,RabadanLab/MITKats,nocnokn...
6c5d02d2f15cd3bf47e2a7da1f88c346a9454d92
src/filemgr_ops_windows.cc
src/filemgr_ops_windows.cc
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
Fix typo in filemgr_ops_windows
Fix typo in filemgr_ops_windows sszie_t --> ssize_t Change-Id: I7ddb61581b4df13a99c5b7d8e85f2add1f9f52d6 Reviewed-on: http://review.couchbase.org/65692 Reviewed-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com> Tested-by: Chiyoung Seo <fcffc23db27b19ee4ebba46695ee6b50e09216a2@couchbase.com>
C++
apache-2.0
couchbase/forestdb,hisundar/forestdb,couchbase/forestdb,wurikiji/forestdb,hisundar/forestdb,wurikiji/forestdb
73a3f9680e468b6062d90e9ebe0d3c2c38dcbe66
src/test_parse.cc
src/test_parse.cc
#include <algorithm> #include <fstream> #include <iostream> #include <iterator> #include "lhef.h" int main(int argc, char* argv[]) { if (argc != 2) { std::cout << "Usage: testparse input\n" << " - input: Input file in " << "Les Houches Event File format\n"; re...
#include <algorithm> #include <fstream> #include <iostream> #include <iterator> #include "lhef.h" int main(int argc, char* argv[]) { if (argc != 2) { std::cout << "Usage: test_parse input\n" << " - input: Input file in " << "Les Houches Event File format\n"; r...
Fix test_parse.cc
Fix test_parse.cc
C++
bsd-3-clause
cbpark/CLHEF,cbpark/CLHEF
eba33db61a3fca15d623ff9cd8e7681cbfecf5ea
src/textcat++.hxx
src/textcat++.hxx
#ifndef TEXTCAT_HXX #define TEXTCAT_HXX #include <iterator> #include <iostream> #include <fstream> #include <tuple> #include <functional> #include <unordered_map> #include <vector> #include <algorithm> #include <limits> extern "C" { //:TODO: adjust configure #include <unicode/uchar.h> } #include "utf_codecs.hxx" #in...
#ifndef TEXTCAT_HXX #define TEXTCAT_HXX #include <iterator> #include <iostream> #include <fstream> #include <tuple> #include <functional> #include <unordered_map> #include <vector> #include <algorithm> #include <limits> extern "C" { //:TODO: adjust configure #include <unicode/uchar.h> } #include "utf_codecs.hxx" #in...
remove dead code
remove dead code
C++
bsd-3-clause
scientific-coder/libtextcat,scientific-coder/libtextcat,scientific-coder/libtextcat
457e8b7046a0ab6fec1498e1e6026721bf3a7f3d
nanocv/func/function_rosenbrock.cpp
nanocv/func/function_rosenbrock.cpp
#include "function_rosenbrock.h" #include "math/numeric.hpp" #include "text/to_string.hpp" namespace ncv { struct function_rosenbrock_t : public function_t { explicit function_rosenbrock_t(const size_t dims) : m_dims(dims) { ...
#include "function_rosenbrock.h" #include "math/numeric.hpp" #include "text/to_string.hpp" namespace ncv { struct function_rosenbrock_t : public function_t { explicit function_rosenbrock_t(const size_t dims) : m_dims(dims) { ...
fix warning
fix warning
C++
mit
accosmin/nanocv,accosmin/nano,accosmin/nano,accosmin/nanocv,accosmin/nano,accosmin/nanocv
2e62c62b1bd4d25a6fc55b27d71805ca9e2e4aea
telepathy-handler-application.cpp
telepathy-handler-application.cpp
/* * Copyright (C) 2011 Daniele E. Domenichelli <daniele.domenichelli@gmail.com> * Copyright (C) 1999 Preston Brown <pbrown@kde.org> * * 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; eith...
/* * Copyright (C) 2011 Daniele E. Domenichelli <daniele.domenichelli@gmail.com> * Copyright (C) 1999 Preston Brown <pbrown@kde.org> * * 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; eith...
Initialize initialTimeout with the correct value
Initialize initialTimeout with the correct value
C++
lgpl-2.1
leonhandreke/ktp-common-internals,leonhandreke/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals,KDE/ktp-common-internals,leonhandreke/ktp-common-internals
78d36c58f95ab26f99651c0815b15a5a22af6527
test/JsonTest/src/JsonTestApp.cpp
test/JsonTest/src/JsonTestApp.cpp
#include "cinder/app/AppBasic.h" #include "cinder/Json.h" #include "Resources.h" class JsonTestApp : public ci::app::AppBasic { public: void draw(); void mouseDown( ci::app::MouseEvent event ); void setup(); }; using namespace ci; using namespace ci::app; using namespace std; voi...
#include "cinder/app/AppBasic.h" #include "cinder/Json.h" #include "Resources.h" class JsonTestApp : public ci::app::AppBasic { public: void draw(); void mouseDown( ci::app::MouseEvent event ); void setup(); }; using namespace ci; using namespace ci::app; using namespace std; voi...
use operator/= for appending file name
JsonTest: use operator/= for appending file name
C++
bsd-2-clause
sosolimited/Cinder,morbozoo/sonyHeadphones,sosolimited/Cinder,sosolimited/Cinder,2666hz/Cinder,morbozoo/sonyHeadphones,2666hz/Cinder,morbozoo/sonyHeadphones,2666hz/Cinder,sosolimited/Cinder,2666hz/Cinder,morbozoo/sonyHeadphones
1747fe2156e99b9509da6b2c2d344c55b6d5daad
src/tiltshift.cpp
src/tiltshift.cpp
#include <iostream> #include <cmath> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; double start_focus = 20; int start_focus_slider = 20; int start_focus_slider_max = 100; double decay_strength = 100; int decay_strength_slider = 100; int decay_strength_slider_max = 100; double center_focus =...
#include <iostream> #include <cmath> #include <opencv2/opencv.hpp> using namespace cv; using namespace std; double start_focus = 20; int start_focus_slider = 20; int start_focus_slider_max = 100; double decay_strength = 100; int decay_strength_slider = 100; int decay_strength_slider_max = 100; double center_focus =...
remove unnecessary whitespace
remove unnecessary whitespace
C++
mit
cadubentzen/pdi-ufrn
339c91215f0bae4af44fe3124f41244541607a2b
src/declarative/qml/qmlrewrite.cpp
src/declarative/qml/qmlrewrite.cpp
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commerc...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commerc...
Add QML_REWRITE_DUMP env flag
Add QML_REWRITE_DUMP env flag
C++
lgpl-2.1
pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,igo...
9ea2c3dfb1321c805007f7f33ed9de897e9c43ff
src/constant_mappings.cpp
src/constant_mappings.cpp
/* * D-Bus AT-SPI, Qt Adaptor * * Copyright 2008, 2009 Nokia. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any la...
/* * D-Bus AT-SPI, Qt Adaptor * * Copyright 2008, 2009 Nokia. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any la...
Update role mappings.
Update role mappings.
C++
lgpl-2.1
KDE/qtatspi,KDE/qtatspi,KDE/qtatspi
b9865dbc4a001c39e31e1a76f2be19e85a0fc1c4
test/core/test_read_simulator.cpp
test/core/test_read_simulator.cpp
#define BOOST_TEST_MODULE "test_read_simulator" #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <test/util/make_empty_input.hpp> #include <mjolnir/input/read_simulator.hpp> BOOST_AUTO_TEST_CASE(read_newtonian_molecular_dynamics_simulato...
#define BOOST_TEST_MODULE "test_read_simulator" #ifdef BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #else #include <boost/test/included/unit_test.hpp> #endif #include <test/util/make_empty_input.hpp> #include <mjolnir/input/read_simulator.hpp> BOOST_AUTO_TEST_CASE(read_newtonian_molecular_dynamics_simulato...
add test for reading simulators with BAOAB
test: add test for reading simulators with BAOAB
C++
mit
ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir
10dab1950e162ee4df84f71fbd0827a7d24b1b0a
MyBlinkySketch/RandomColorFade.cpp
MyBlinkySketch/RandomColorFade.cpp
#include "RandomColorFade.h" #include "BlinkyTape.h" #include <Arduino.h> RndColFade::RndColFade(CRGB NewRndColFade) : rnd_col_fade(NewRndColFade) { } void RndColFade::draw(CRGB* leds) { if ((((Col1 == 0) || (Col1 == 250)) && (((Col2 == 0) || (Col2 == 250)) && ((Col3 == 0) || (Col3 == 250))))) { do { ...
#include "RandomColorFade.h" #include "BlinkyTape.h" #include <Arduino.h> RndColFade::RndColFade(CRGB NewRndColFade) : rnd_col_fade(NewRndColFade) { } void RndColFade::draw(CRGB* leds) { if ((((Col1 == 0) || (Col1 == 250)) && (((Col2 == 0) || (Col2 == 250)) && ((Col3 == 0) || (Col3 == 250))))) { do { ...
Update RandomColorFade.cpp
Update RandomColorFade.cpp First Commit
C++
mit
oddacon/BlinkyTape,oddacon/BlinkyTape
f7f2d999d49e3daeb781b36b548d49f8de5a1f85
ofSketchApp/src/BaseProcessTask.cpp
ofSketchApp/src/BaseProcessTask.cpp
// ============================================================================= // // Copyright (c) 2013 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
// ============================================================================= // // Copyright (c) 2013 Christopher Baker <http://christopherbaker.net> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal //...
Stop button now works.
Stop button now works.
C++
mit
brannondorsey/ofSketch,brannondorsey/ofSketch,olab-io/ofSketch,olab-io/ofSketch,brannondorsey/ofSketch,olab-io/ofSketch
7c17c8a865fb1523e26397d5819644dc4c045140
ogles_gpgpu/common/proc/pyramid.cpp
ogles_gpgpu/common/proc/pyramid.cpp
// // ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0 // // Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015 // http://www.mkonrad.net // // See LICENSE file in project repository root for the license. // #include "../common_includes.h" #include "pyramid.h" using name...
// // ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0 // // Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015 // http://www.mkonrad.net // // See LICENSE file in project repository root for the license. // #include "../common_includes.h" #include "pyramid.h" using name...
Fix max dimension estimation typo (width vs height)
Fix max dimension estimation typo (width vs height)
C++
apache-2.0
headupinclouds/ogles_gpgpu,headupinclouds/ogles_gpgpu,hunter-packages/ogles_gpgpu,hunter-packages/ogles_gpgpu,hunter-packages/ogles_gpgpu,headupinclouds/ogles_gpgpu,hunter-packages/ogles_gpgpu,headupinclouds/ogles_gpgpu
97d9c2e43facab2b405cfdd29ad110f846be2e64
OpenSim/Simulation/Test/testPrescribedForce.cpp
OpenSim/Simulation/Test/testPrescribedForce.cpp
/* -------------------------------------------------------------------------- * * OpenSim: testPrescribedForce.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
/* -------------------------------------------------------------------------- * * OpenSim: testPrescribedForce.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
Remove unused include.
Remove unused include.
C++
apache-2.0
opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core,opensim-org/opensim-core
f0e2b9330b1836e3de22fce0d139959d1ddd2b9d
src/input/psp/joystick.cpp
src/input/psp/joystick.cpp
#ifdef MINPSPW #include "joystick.h" void PSPJoystick::poll(){ sceCtrlPeekBufferPositive(&joystick, 1); } JoystickInput PSPJoystick::readAll(){ JoystickInput input; if(joystick.Buttons != 0){ // WIIMOTE for now, we can add in nunchuck and classic later if(joystick.Buttons & PSP_CTRL_ST...
#ifdef MINPSPW #include "joystick.h" void PSPJoystick::poll(){ sceCtrlPeekBufferPositive(&joystick, 1); } JoystickInput PSPJoystick::readAll(){ JoystickInput input; if(joystick.Buttons != 0){ if(joystick.Buttons & PSP_CTRL_START){ //input.button7 = true; } else if(joystick.B...
Remove comment.
Remove comment. git-svn-id: 39e099a8ed5324aded674b764a67f7a08796d9a7@4331 662fdd30-d327-0410-a531-f549c87e1e9e
C++
bsd-3-clause
Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,Sevalecan/paintown,Sevalecan/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,Sevalecan/paintown,boyjimeking/paintown,boyjimeking/paintown,boyjimeking/paintown
cf89978fc0f6b1ff269ed59c14d275cf0fb23c28
src/cpp/code-generator.cc
src/cpp/code-generator.cc
#include <cpp/code-generator.hh> #include <ast/all.hh> namespace cpp { CodeGenerator::CodeGenerator(std::ostream& o) : o_(o) , params_(false) {} CodeGenerator::~CodeGenerator() {} void CodeGenerator::generate_main() { o_ << "int main()" << misc::iendl; o_ << "{...
#include <cpp/code-generator.hh> #include <ast/all.hh> namespace cpp { CodeGenerator::CodeGenerator(std::ostream& o) : o_(o) , params_(false) {} CodeGenerator::~CodeGenerator() {} void CodeGenerator::generate_main() { o_ << "int main()" << misc::iendl; o_ << "{...
Add variable type on the first declaration
[CGENERATOR] Add variable type on the first declaration
C++
mit
Nakrez/RePy,Nakrez/RePy
a28f2386902505ba1b45c173d13bb060012eaf47
chrome/test/startup/startup_test.cc
chrome/test/startup/startup_test.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "base/platform_thread.h" #include "base/string_util.h" #include "base/test_fi...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_util.h" #include "base/path_service.h" #include "base/platform_thread.h" #include "base/string_util.h" #include "base/test_fi...
Fix startup test error for now.
Fix startup test error for now. Review URL: http://codereview.chromium.org/164267 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@22937 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
3b155821bb1487ceece6bac9fb32cb4fb357fd97
test/integration/overload_integration_test.cc
test/integration/overload_integration_test.cc
#include <unordered_map> #include "envoy/config/bootstrap/v3/bootstrap.pb.h" #include "envoy/config/overload/v3/overload.pb.h" #include "envoy/server/resource_monitor.h" #include "envoy/server/resource_monitor_config.h" #include "test/common/config/dummy_config.pb.h" #include "test/integration/http_protocol_integrati...
#include <unordered_map> #include "envoy/config/bootstrap/v3/bootstrap.pb.h" #include "envoy/config/overload/v3/overload.pb.h" #include "envoy/server/resource_monitor.h" #include "envoy/server/resource_monitor_config.h" #include "test/common/config/dummy_config.pb.h" #include "test/integration/http_protocol_integrati...
Fix TSAN bug in integration test (#14327)
Fix TSAN bug in integration test (#14327) Don't delete the HTTP stream prematurely. Signed-off-by: Alex Konradi <3ee61dd7715e31b012f8edaf69177fdbdc394d59@google.com>
C++
apache-2.0
lyft/envoy,envoyproxy/envoy,lyft/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy,lyft/envoy,envoyproxy/envoy,envoyproxy/envoy,envoyproxy/envoy
a11caa7aa9e6241b0a78b06114b068ac47a04903
src/ultracomm.cpp
src/ultracomm.cpp
#include "StdAfx.h" #define BUFFERSIZE (2 * 1024 * 1024) char gBuffer[BUFFERSIZE]; #define PROBE_ID 19 // TODO: remove hard-coding of probe id /* Construct Ultracomm object, connect to server, and set/check parameters. */ Ultracomm::Ultracomm(const UltracommOptions& myuopt) : uopt(myuopt), addre...
#include "StdAfx.h" #define BUFFERSIZE (2 * 1024 * 1024) char gBuffer[BUFFERSIZE]; #define PROBE_ID 19 // TODO: remove hard-coding of probe id /* Construct Ultracomm object, connect to server, and set/check parameters. */ Ultracomm::Ultracomm(const UltracommOptions& myuopt) : uopt(myuopt), addre...
Remove unnecessary checks.
Remove unnecessary checks.
C++
bsd-3-clause
rsprouse/ultracomm,rsprouse/ultracomm,rsprouse/ultracomm
97b0f8600e5052792207b26ac24cba7ef0ba8f1a
src/utilities.cpp
src/utilities.cpp
/* * Copyright (c) 2015-2016 Alex Spataru <alex_spataru@outlook.com> * * 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 ...
/* * Copyright (c) 2015-2016 Alex Spataru <alex_spataru@outlook.com> * * 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 ...
Fix autoscale factor on GNU/Linux
Fix autoscale factor on GNU/Linux
C++
mit
FRC-Utilities/QDriverStation,FRC-Utilities/QDriverStation,FRC-Utilities/QDriverStation
399dc2d251300d891d1f698128df19d327a90a98
os/net/testsuite/testUrgReceive.cpp
os/net/testsuite/testUrgReceive.cpp
/* * Copyright 2009 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 ...
/* * Copyright 2009 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 ...
clean up
clean up
C++
apache-2.0
mattl/es-operating-system,mattl/es-operating-system,mattl/es-operating-system,mattl/es-operating-system,mattl/es-operating-system,mattl/es-operating-system,mattl/es-operating-system
31dec0ea07593074cb7660a907b3865881a2fd3d
unit-tests/internal/internal-tests-linux.cpp
unit-tests/internal/internal-tests-linux.cpp
#include "catch/catch.hpp" #include <thread> #include <string> #include <linux/backend-v4l2.h> #include <sys/types.h> #include <sys/wait.h> #include <semaphore.h> using namespace librealsense::platform; TEST_CASE("named_mutex_threads", "[code]") { class locker_test { std::mutex _m0, _m1; bool ...
#include "catch/catch.hpp" #include <thread> #include <string> #include <linux/backend-v4l2.h> #include <sys/types.h> #include <sys/wait.h> #include <semaphore.h> using namespace librealsense::platform; TEST_CASE("named_mutex_threads", "[code]") { class locker_test { std::mutex _m0, _m1; bool ...
Drop trailing white spaces
Drop trailing white spaces
C++
apache-2.0
IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense,IntelRealSense/librealsense
c5253c84a4236a566d09aac82fc3a60edb85fd36
tests/amnoid-clang-tutorial/src/inputargs.cpp
tests/amnoid-clang-tutorial/src/inputargs.cpp
//! Libs: -lclangFrontendTool -lLLVM-3.1svn -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangIndex -lclangRewrite -lclangCodeGen -lclangFrontend -lclangParse -lclangDriver -lclangSerialization -lclangSema -lclangEdit -lclangAnalysis -lclangAST -lclangLex -lc...
//! Libs: -lLLVM-3.1svn -lclangARCMigrate -lclangStaticAnalyzerFrontend -lclangStaticAnalyzerCheckers -lclangStaticAnalyzerCore -lclangIndex -lclangCodeGen -lclangRewrite -lclangFrontend -lclangParse -lclangDriver -lclangSerialization -lclangSema -lclangEdit -lclangAnalysis -lclangAST -lclangLex -lclangBasic -lclangFro...
Update libs with shared libs ordering
Update libs with shared libs ordering Only src/inputargs.cpp needs an update. Compilation is faster with shared libs, hurray!
C++
bsd-3-clause
ofavre/TwistIDE,ofavre/TwistIDE,ofavre/TwistIDE
656e6c378104cd72d0db569600e502113dd108bc
tests/bogus-dynamic-cast/main.cpp
tests/bogus-dynamic-cast/main.cpp
struct A { }; struct B : public A { }; void test() { A *a = new A(); B *b = new B(); dynamic_cast<A*>(b); // warning: Casting to base dynamic_cast<A*>(a); // warning: Casting to itself dynamic_cast<B*>(a); // OK dynamic_cast<B*>(b); // warning: Casting to itself }
struct A { virtual void foo() { } }; struct B : public A { }; void test() { A *a = new A(); B *b = new B(); dynamic_cast<A*>(b); // warning: Casting to base dynamic_cast<A*>(a); // warning: Casting to itself dynamic_cast<B*>(a); // OK dynamic_cast<B*>(b); // warning: Cast...
Fix unit-test build
bogus-dynamic-cast: Fix unit-test build
C++
lgpl-2.1
nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy,nyalldawson/clazy
74dca8d642bc1fd7df7f4d694094530ebb1271ae
src/liboslexec/opcolor.cpp
src/liboslexec/opcolor.cpp
/* Copyright (c) 2009 Sony Pictures Imageworks, et al. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions a...
/* Copyright (c) 2009 Sony Pictures Imageworks, et al. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions a...
Fix typo in DASSERT for luminance
Fix typo in DASSERT for luminance git-svn-id: 93cebb81a0f5cc00f31a7ad40d16024532691b70@173 a3683778-fedd-11de-87c3-653bb6514e15
C++
bsd-3-clause
yaroslav-tarasov/OpenShadingLanguage,Anteru/OpenShadingLanguage,brechtvl/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,lgritz/OpenShadingLanguage,fpsunflower/OpenShadingLanguage,yaroslav-tarasov/OpenShadingLanguage,aconty/OpenShadingLanguage,svenstaro/OpenShadingLanguage,lgritz/OpenShadingLanguage,juvenal/OpenSha...
88508d5166370b144433c27f8dc60ea60d6ff78b
shell/browser/extensions/api/resources_private/resources_private_api.cc
shell/browser/extensions/api/resources_private/resources_private_api.cc
// Copyright 2015 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 "shell/browser/extensions/api/resources_private/resources_private_api.h" #include <memory> #include <string> #include <utility> #include "base/...
// Copyright 2015 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 "shell/browser/extensions/api/resources_private/resources_private_api.h" #include <memory> #include <string> #include <utility> #include "base/...
support new PDF viewer update (#26010)
fix: support new PDF viewer update (#26010)
C++
mit
seanchas116/electron,electron/electron,seanchas116/electron,bpasero/electron,bpasero/electron,bpasero/electron,seanchas116/electron,electron/electron,bpasero/electron,seanchas116/electron,seanchas116/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,bpasero/electron,electron/electron,bpasero/elec...
acf68582702c52552052658c4a7c8b77fbb0dc92
src/wall_grid.cpp
src/wall_grid.cpp
#include "wall_grid.hpp" namespace Quoridor { enum NodeOccupiedSide { kBottom = 1, kLeft = 2, kRight = 4, kUp = 8, kVertical = kBottom | kUp, kHorizontal = kLeft | kRight, kAll = 15 }; static const NodeOccupiedSide horiz_occ_sides_[] = { NodeOccupiedSide::kRight, NodeOccupiedSide:...
#include "wall_grid.hpp" namespace Quoridor { enum NodeOccupiedSide { kBottom = 1, kLeft = 2, kRight = 4, kUp = 8, kVertical = kBottom | kUp, kHorizontal = kLeft | kRight, kAll = 15 }; static const NodeOccupiedSide horiz_occ_sides_[] = { NodeOccupiedSide::kRight, NodeOccupiedSide:...
Fix placing wall at WallGrid
Fix placing wall at WallGrid
C++
mit
sfod/quoridor
15a7e16b124ac5d9330a651febb389216b9fb183
src/libutil/filesystem.cpp
src/libutil/filesystem.cpp
/* Copyright 2008 Larry Gritz and the other authors and contributors. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
/* Copyright 2008 Larry Gritz and the other authors and contributors. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright noti...
Fix unused variable warnings.
Fix unused variable warnings.
C++
bsd-3-clause
lgritz/oiio,OpenImageIO/oiio,cwilling/oiio,bdeluca/oiio,bdeluca/oiio,mcanthony/oiio,micler/oiio,OpenImageIO/oiio,OpenImageIO/oiio,mcanthony/oiio,YangYangTL/oiio,scott-wilson/oiio,sambler/oiio,sambler/oiio,YangYangTL/oiio,lgritz/oiio,micler/oiio,scott-wilson/oiio,lgritz/oiio,YangYangTL/oiio,cwilling/oiio,scott-wilson/oi...
f6f005ebb6d7b5b9e25d9e74564ad155f92d7f7d
Tests/OgreMain/src/ZipArchiveTests.cpp
Tests/OgreMain/src/ZipArchiveTests.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 obta...
/* ----------------------------------------------------------------------------- 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...
Update Zip unit tests
Update Zip unit tests --HG-- branch : v1-9
C++
mit
digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre
1735ba114e444f914fab50488f09545d48cd6e06
src/location/qlandmark.cpp
src/location/qlandmark.cpp
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
Fix compile error / remove unecessary deletes.
Fix compile error / remove unecessary deletes.
C++
lgpl-2.1
qtproject/qt-mobility,KDE/android-qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,kaltsi/qt-mobility,qtproject/qt-mobility,qtp...
3334689c2140fb6ccbb47a625ff4eab9d2847190
sqlite-kvstore.hh
sqlite-kvstore.hh
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef SQLITE_BASE_H #define SQLITE_BASE_H 1 #include <sqlite3.h> #include "kvstore.hh" /** * A sqlite prepared statement. */ class PreparedStatement { public: /** * Construct a prepared statement. * * @param d the...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ #ifndef SQLITE_BASE_H #define SQLITE_BASE_H 1 #include <sqlite3.h> #include "kvstore.hh" /** * A sqlite prepared statement. */ class PreparedStatement { public: /** * Construct a prepared statement. * * @param d the...
Reorder the initialization sequence
Reorder the initialization sequence
C++
apache-2.0
jimwwalker/ep-engine,hisundar/ep-engine,teligent-ru/ep-engine,daverigby/ep-engine,jimwwalker/ep-engine,teligent-ru/ep-engine,sriganes/ep-engine,sriganes/ep-engine,membase/ep-engine,abhinavdangeti/ep-engine,abhinavdangeti/ep-engine,zbase/ep-engine,couchbaselabs/ep-engine,daverigby/ep-engine,membase/ep-engine,abhinavdang...
7c3af41deff2acd754329aa358a9414a0cf8793f
src/ArgParser.cpp
src/ArgParser.cpp
#include "ArgParser.h" #include <string.h> #include <tclap/CmdLine.h> #include <sstream> #include "ArgParseOutput.h" #include "Version.h" #include "Log.h" #include "PlatformSpecifics.h" #undef module_name #define module_name "ARGPARSER" ArgParser::ArgParser(int argc, char * * argv) { outDefault = ...
#include "ArgParser.h" #include <string.h> #include <tclap/CmdLine.h> #include <sstream> #include "ArgParseOutput.h" #include "Version.h" #include "Log.h" #include "PlatformSpecifics.h" #undef module_name #define module_name "ARGPARSER" ArgParser::ArgParser(int argc, char * * argv) { outDefault = ...
Fix for -o/--output
Fix for -o/--output
C++
mit
philres/ngmlr,philres/ngmlr,philres/ngmlr,philres/ngmlr
090d2866f18ec9f25fd98a5846d4b3736d77f2df
Realm/ObjectStore/shared_realm.cpp
Realm/ObjectStore/shared_realm.cpp
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
Fix error in cleanup after an error during a migration
Fix error in cleanup after an error during a migration
C++
apache-2.0
ul7290/realm-cocoa,ul7290/realm-cocoa,tenebreux/realm-cocoa,tenebreux/realm-cocoa,ul7290/realm-cocoa,tenebreux/realm-cocoa,ul7290/realm-cocoa,tenebreux/realm-cocoa,ul7290/realm-cocoa,tenebreux/realm-cocoa
595d3884b88d4c764f951869a95ca635d6ae97d0
Models/IndependentMvnModel.hpp
Models/IndependentMvnModel.hpp
// Copyright 2018 Google LLC. All Rights Reserved. /* Copyright (C) 2012 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) 2012 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...
append to previous commit
append to previous commit
C++
lgpl-2.1
steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM,steve-the-bayesian/BOOM
17fc49563c38499262caf901ecf69281dcd1fc02
source/gloperate/include/gloperate/painter/AbstractOutputCapability.hpp
source/gloperate/include/gloperate/painter/AbstractOutputCapability.hpp
#pragma once #include <gloperate/base/collection.hpp> #include <gloperate/pipeline/Data.h> namespace gloperate { template <typename T> gloperate::Data<T> * AbstractOutputCapability::getOutput(const std::string & name) const { for (AbstractData* output : findOutputs(name)) { auto = dynamic_cast<Data<...
#pragma once #include <gloperate/base/collection.hpp> #include <gloperate/pipeline/Data.h> namespace gloperate { template <typename T> gloperate::Data<T> * AbstractOutputCapability::getOutput(const std::string & name) const { for (AbstractData* output : findOutputs(name)) { auto data = dynamic_cast<...
Use auto correctly
Use auto correctly
C++
mit
hpi-r2d2/gloperate,lanice/gloperate,hpicgs/gloperate,lanice/gloperate,lanice/gloperate,Beta-Alf/gloperate,p-otto/gloperate,j-o/gloperate,p-otto/gloperate,lanice/gloperate,cginternals/gloperate,p-otto/gloperate,Beta-Alf/gloperate,Beta-Alf/gloperate,hpicgs/gloperate,j-o/gloperate,p-otto/gloperate,hpicgs/gloperate,cginter...
0069d2a9c38928cfe5bd756432a5f355fcbefce9
include/cmoh/attribute.hpp
include/cmoh/attribute.hpp
/* * The MIT License (MIT) * * Copyright (c) 2016 Julian Ganz * * 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, ...
/* * The MIT License (MIT) * * Copyright (c) 2016 Julian Ganz * * 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, ...
Add static utility method for selecting an attribute value
Add static utility method for selecting an attribute value
C++
mit
neithernut/cmoh,neithernut/cmoh
896c101c32f53accb904bf3ae83efa3f64126464
include/command_router.hpp
include/command_router.hpp
/* * Copyright 2014 Matthew Harvey */ #ifndef GUARD_command_router_hpp_6901861572126794 #define GUARD_command_router_hpp_6901861572126794 #include "command_processor.hpp" #include "time_log.hpp" #include <memory> #include <ostream> #include <string> #include <map> #include <utility> #include <vector> namespace swx...
/* * Copyright 2014 Matthew Harvey */ #ifndef GUARD_command_router_hpp_6901861572126794 #define GUARD_command_router_hpp_6901861572126794 #include "command_processor.hpp" #include "time_log.hpp" #include <memory> #include <ostream> #include <string> #include <map> #include <utility> #include <vector> namespace swx...
Fix access level for some member functions of CommandRouter.
Fix access level for some member functions of CommandRouter.
C++
apache-2.0
matt-harvey/swx,skybaboon/swx
67a95b1f5e8d21b6ca61d100cc15a35f074a44fd
include/dll/rbm_traits.hpp
include/dll/rbm_traits.hpp
//======================================================================= // Copyright (c) 2014 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=======================================================================...
//======================================================================= // Copyright (c) 2014 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=======================================================================...
Add traits function for shuffle
Add traits function for shuffle
C++
mit
wichtounet/dll,wichtounet/dll,wichtounet/dll
4ee27c124c8ebb218719a3510236d06c63ab8d42
NatNetReceiver/src/listner.cpp
NatNetReceiver/src/listner.cpp
// // Created by andrea on 15/03/16. // #include <lcm/lcm-cpp.hpp> #include "NatNetReceiver.h" #include <QApplication> #include "lcm_messages/geometry/pose.hpp" #include <iostream> #include "common/common.h" void setPositionMsg(NatNetReceiver &nat, geometry::pose &msg); bool isPoseValid(geometry::pose &state, const ...
// // Created by andrea on 15/03/16. // #include <lcm/lcm-cpp.hpp> #include "NatNetReceiver.h" #include <QApplication> #include "lcm_messages/geometry/pose.hpp" #include <iostream> #include "common/common.h" void setPositionMsg(NatNetReceiver &nat, geometry::pose &msg); bool isPoseValid(geometry::pose &state, const ...
fix broken master
fix broken master
C++
mit
EmaroLab/mocap2mav,EmaroLab/mocap2mav
d1af621a872ef9bd931ff7c686982c536723f1ad
src/libs/plugins/pokey/drivers/PokeyMAX7219Manager/PokeyMAX7219Manager.cpp
src/libs/plugins/pokey/drivers/PokeyMAX7219Manager/PokeyMAX7219Manager.cpp
#include <string.h> #include <thread> #include <iostream> #include "PokeyMAX7219Manager.h" using namespace std::chrono_literals; PokeyMAX7219Manager::PokeyMAX7219Manager(sPoKeysDevice *pokey, uint8_t chipSelect) { _chipSelect = chipSelect; _pokey = pokey; _driver = std::make_shared<MAX7219>(); _stat...
#include <string.h> #include <thread> #include <iostream> #include "PokeyMAX7219Manager.h" using namespace std::chrono_literals; PokeyMAX7219Manager::PokeyMAX7219Manager(sPoKeysDevice *pokey, uint8_t chipSelect) { _chipSelect = chipSelect; _pokey = pokey; _driver = std::make_shared<MAX7219>(); _stat...
Fix indentation
Fix indentation
C++
mit
mteichtahl/simhub,mteichtahl/simhub,mteichtahl/simhub,mteichtahl/simhub
5db5eb96ed82418e2d5d73753ff4c192925e04ca
include/pandora/Charon.hpp
include/pandora/Charon.hpp
#ifndef PANDORA_CHARON_H #define PANDORA_CHARON_H #include <H5Cpp.h> #include <boost/multi_array.hpp> #include <pandora/PSize.hpp> namespace pandora { namespace hades { /* ********** */ template<typename T> struct TypeSpec { static const bool is_valid = false; const H5::DataType fileType; const H5::DataTy...
#ifndef PANDORA_CHARON_H #define PANDORA_CHARON_H #include <H5Cpp.h> #include <boost/multi_array.hpp> #include <pandora/PSize.hpp> #include <pandora/DataType.hpp> namespace pandora { namespace hades { /* ********** */ template<typename T> struct TypeSpec { static const bool is_valid = false; const H5::DataT...
Implement TypeSpec for DataType
Charon: Implement TypeSpec for DataType
C++
bsd-3-clause
stoewer/nix
57edafa76e6b3d295c822246f45cece084301154
include/tao/seq/config.hpp
include/tao/seq/config.hpp
// Copyright (c) 2015-2017 Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/sequences/ #ifndef TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP #define TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP #if __cplusplus >= 201402L #define TAOCPP_USE_STD_INTEGER_SEQUENCE #endif #if( __cplusplus >= 201402L ) && def...
// Copyright (c) 2015-2017 Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/sequences/ #ifndef TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP #define TAOCPP_SEQUENCES_INCLUDE_CONFIG_HPP #if __cplusplus >= 201402L #define TAOCPP_USE_STD_INTEGER_SEQUENCE #endif #if defined( _LIBCPP_VERSION ) && ( ...
Use MSVC's integer_sequence/make_integer_sequence
Use MSVC's integer_sequence/make_integer_sequence
C++
mit
taocpp/sequences,taocpp/sequences
a3611010dbb621fdc442692e90a380a3301140a9
include/tudocomp/Range.hpp
include/tudocomp/Range.hpp
#ifndef _INCLUDED_RANGE_HPP #define _INCLUDED_RANGE_HPP #include <tudocomp/def.hpp> #include <limits> namespace tdc { class Range { private: size_t m_min, m_max; public: inline Range(size_t max) : m_min(0), m_max(max) {} inline Range(size_t min, size_t max) : m_min(min), m_max(max...
#ifndef _INCLUDED_RANGE_HPP #define _INCLUDED_RANGE_HPP #include <tudocomp/def.hpp> #include <limits> namespace tdc { class Range { private: size_t m_min, m_max; public: inline Range(size_t max) : m_min(0), m_max(max) {} inline Range(size_t min, size_t max) : m_min(min), m_max(max...
Introduce class for ranges that are distributed towards their minimum
Introduce class for ranges that are distributed towards their minimum
C++
apache-2.0
tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp
af6d12715464e9d301565bde8923b544331fd388
include/vtkCameraDevice.hh
include/vtkCameraDevice.hh
/*========================================================================= Program: Visualization Toolkit Module: vtkCameraDevice.hh Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ken Martin, W...
/*========================================================================= Program: Visualization Toolkit Module: vtkCameraDevice.hh Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-1995 Ken Martin, Will Schroeder, Bill Lorensen. This software is copyrighted by Ken Martin, W...
comment update
comment update
C++
bsd-3-clause
collects/VTK,hendradarwin/VTK,sumedhasingla/VTK,sankhesh/VTK,candy7393/VTK,sankhesh/VTK,ashray/VTK-EVM,jmerkow/VTK,daviddoria/PointGraphsPhase1,mspark93/VTK,SimVascular/VTK,jeffbaumes/jeffbaumes-vtk,hendradarwin/VTK,arnaudgelas/VTK,naucoin/VTKSlicerWidgets,collects/VTK,SimVascular/VTK,aashish24/VTK-old,daviddoria/Point...
fdf1fbd12b694a3f233a455ac7341dc1beff32e3
parser/parser.cpp
parser/parser.cpp
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 Realm Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/li...
fix for not predicate
fix for not predicate
C++
apache-2.0
realm/realm-core,realm/realm-js,realm/realm-core,Shaddix/realm-dotnet,realm/realm-object-store,Shaddix/realm-dotnet,realm/realm-core,realm/realm-core,realm/realm-js,realm/realm-js,realm/realm-core,realm/realm-dotnet,realm/realm-dotnet,realm/realm-core,realm/realm-core,realm/realm-js,realm/realm-object-store,realm/realm...
c6f220e795631d81d130a9b69700ecab034158fa
parser/parser.cpp
parser/parser.cpp
/* * Copyright (C) 2008-2009 Daniel Prevost <dprevost@users.sourceforge.net> * * This file may be distributed and/or modified under the terms of the * MIT License as described by the Open Source Initiative * (http://opensource.org/licenses/mit-license.php) and appearing in * the file COPYING included in the packa...
/* * Copyright (C) 2008-2009 Daniel Prevost <dprevost@users.sourceforge.net> * * This file may be distributed and/or modified under the terms of the * MIT License as described by the Open Source Initiative * (http://opensource.org/licenses/mit-license.php) and appearing in * the file COPYING included in the packa...
Fix warnings on win32.
Fix warnings on win32. git-svn-id: cc07906f5311cb692740222662fcae95cc55c60b@172 bdce659d-a14a-0410-ae70-83a44b484ef0
C++
mit
dprevost/errorparser,dprevost/errorparser,dprevost/errorparser,dprevost/errorparser,dprevost/errorparser,dprevost/errorparser
183c606066b1b260acb189e46a40cb71e63b44aa
src/glsl/link_interface_blocks.cpp
src/glsl/link_interface_blocks.cpp
/* * Copyright © 2013 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
/* * Copyright © 2013 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, pub...
simplify interface matching
glsl: simplify interface matching This makes the code easier to follow, should be more efficient and will makes it easier to add matching via explicit locations in the following patch. This patch also replaces the hash table with the newer resizable hash table this should be more suitable as the table is likely to on...
C++
mit
metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler
5eded6f7e8c34cf0bcdaf7c68bb4d70ff1cb3ec5
src/elements/versions.cpp
src/elements/versions.cpp
/* MusicXML Library Copyright (C) Grame 2006-2013 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly...
/* MusicXML Library Copyright (C) Grame 2006-2013 This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly...
Update xml2guido version
Update xml2guido version
C++
mpl-2.0
grame-cncm/libmusicxml,dfober/libmusicxml,dfober/libmusicxml,dfober/libmusicxml,grame-cncm/libmusicxml,grame-cncm/libmusicxml,arshiacont/libmusicxml,grame-cncm/libmusicxml,arshiacont/libmusicxml,arshiacont/libmusicxml,grame-cncm/libmusicxml,arshiacont/libmusicxml,grame-cncm/libmusicxml,arshiacont/libmusicxml,dfober/lib...