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
1bc0fbab83f1f377255fbdacace15db7a00c0b22
Settings/SettingsUI.cpp
Settings/SettingsUI.cpp
#include "SettingsUI.h" #include <iostream> #include "../3RVX/CommCtl.h" /* DLGTEMPLATEEX Structure */ #include <pshpack1.h> typedef struct DLGTEMPLATEEX { WORD dlgVer; WORD signature; DWORD helpID; DWORD exStyle; DWORD style; WORD cDlgItems; short x; short y; short cx; short ...
#include "SettingsUI.h" #include <iostream> #include "../3RVX/CommCtl.h" /* DLGTEMPLATEEX Structure */ #include <pshpack1.h> typedef struct DLGTEMPLATEEX { WORD dlgVer; WORD signature; DWORD helpID; DWORD exStyle; DWORD style; WORD cDlgItems; short x; short y; short cx; short ...
Move update check to later in the startup process, add documentation
Move update check to later in the startup process, add documentation
C++
bsd-2-clause
malensek/3RVX,malensek/3RVX,malensek/3RVX
f0aaddb533b78643e4d773997185de29c48c22c8
TRD/qaRec/makeResults.C
TRD/qaRec/makeResults.C
// Usage: // makeResults.C("tasks?file_list") // tasks : "ALL" or one/more of the following separated by space: // "EFF" : TRD Tracking Efficiency // "EFFC" : TRD Tracking Efficiency Combined (barrel + stand alone) - only in case of simulations // "RES" : TRD tracking Resolution // "CAL" : TRD c...
// Usage: // makeResults.C("tasks", "file_list", kGRID) // tasks : "ALL" or one/more of the following separated by space: // "EFF" : TRD Tracking Efficiency // "EFFC" : TRD Tracking Efficiency Combined (barrel + stand alone) - only in case of simulations // "RES" : TRD tracking Resolution // "CAL...
update makeResults for GRID usage
update makeResults for GRID usage
C++
bsd-3-clause
shahor02/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,ecalvovi/AliRoot,mkrzewic/AliRoot,miranov25/AliRoot,ecalvovi/AliRoot,jgrosseo/AliRoot,mkrzewic/AliRoot,ecalvovi/AliRoot,coppedis/AliRoot,mkrzewic/AliRoot,sebaleh/AliRoot,ALICEHLT/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,jgrosseo/AliRoot,sebaleh/AliRoot,miranov25/AliRo...
52b998c5304db5c1511f3fc6fc0160a66dc8627a
Test/SegmentListTest.cc
Test/SegmentListTest.cc
#include <SegmentList.hh> #include "catch.hpp" SCENARIO("Kernel heap allocator SegmentList", "[kernelheap]") { GIVEN("A segment list") { SegmentList list; WHEN("The list is empty") { THEN("The count of the list is zero") { CHECK(list.count() == 0); } ...
#include <SegmentList.hh> #include "catch.hpp" SCENARIO("Kernel heap allocator SegmentList", "[kernelheap]") { GIVEN("A segment list") { SegmentList list; Segment* s2 = new Segment(); Segment* s3 = new Segment(); Segment* s1 = new Segment(); WHEN("The list is empty") { ...
Add more tests
Add more tests
C++
bsd-2-clause
ahoka/esrtk,ahoka/esrtk,ahoka/esrtk
65c14d1520f3d1f3fdd09aeb65856f055b74828f
ros/src/sensing/filters/packages/points_preprocessor/nodes/points_concat_filter/points_concat_filter.cpp
ros/src/sensing/filters/packages/points_preprocessor/nodes/points_concat_filter/points_concat_filter.cpp
/* * Copyright (c) 2018, Nagoya University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list ...
/* * Copyright (c) 2018, Nagoya University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this * list ...
apply clang-format
apply clang-format
C++
apache-2.0
CPFL/Autoware,CPFL/Autoware,CPFL/Autoware,CPFL/Autoware,CPFL/Autoware,CPFL/Autoware,CPFL/Autoware
cfaef3d1a2e6067f9b684164bf4f03e8f0cd4d23
engine/storage/FileSystem.cpp
engine/storage/FileSystem.cpp
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include "../core/Setup.h" #include <algorithm> #include <fstream> #if defined(_WIN32) # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # ifndef NOMINMAX # ...
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #include "../core/Setup.h" #include <algorithm> #include <fstream> #if defined(_WIN32) # pragma push_macro("WIN32_LEAN_AND_MEAN") # pragma push_macro("NOMINMAX") # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN # endif # ifndef NOMINMAX # ...
Read data directly into the vector
Read data directly into the vector
C++
unlicense
elnormous/ouzel,elnormous/ouzel,elnormous/ouzel
efa0781b47dbbdc10fe4bdfbd82892b8e3b39554
mimosa/channel.hh
mimosa/channel.hh
#ifndef MIMOSA_CHANNEL_HH # define MIMOSA_CHANNEL_HH # include <queue> # include "mutex.hh" # include "condition.hh" # include "ref-countable.hh" namespace mimosa { /** * @ingroup Sync */ template <typename T, typename QueueType = std::queue<T> > class Channel : public RefCountable<Channel<T, QueueType> ...
#ifndef MIMOSA_CHANNEL_HH # define MIMOSA_CHANNEL_HH # include <queue> # include <limits> # include "mutex.hh" # include "condition.hh" # include "ref-countable.hh" namespace mimosa { /** * @ingroup Sync */ template <typename T, typename QueueType = std::queue<T> > class Channel : public RefCountable<Cha...
add a maximum size
Channel: add a maximum size
C++
mit
abique/mimosa,abique/mimosa
93df083aa2b4f661fce45c6f86a7cb99a344b369
tools/gtfcompare/src/compare.cc
tools/gtfcompare/src/compare.cc
#include "compare.h" #include <cassert> bool compare_transcript_structure(const transcript &x, const transcript &y) { if(x.exons.size() != y.exons.size()) return false; for(int i = 0; i < x.exons.size(); i++) { if(x.exons[i].first != y.exons[i].first) return false; if(x.exons[i].second != y.exons[i].second) ret...
#include "compare.h" #include <cassert> bool compare_transcript_structure(const transcript &x, const transcript &y) { if(x.exons.size() != y.exons.size()) return false; for(int i = 0; i < x.exons.size(); i++) { if(x.exons[i].first != y.exons[i].first) return false; if(x.exons[i].second != y.exons[i].second) ret...
add comparing #transcripts in gtfcompare
add comparing #transcripts in gtfcompare
C++
bsd-3-clause
Kingsford-Group/scallop
9b881deff522d3d394de6a1080b4304a6f31d7c4
osquery/core/query.cpp
osquery/core/query.cpp
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed in accordance with the terms specified in * the LICENSE file found in the root directory of this source tree. */ #include <algorithm> #include <string> #include <vector> #include <osquery/database.h> #in...
/** * Copyright (c) 2014-present, Facebook, Inc. * All rights reserved. * * This source code is licensed in accordance with the terms specified in * the LICENSE file found in the root directory of this source tree. */ #include <algorithm> #include <string> #include <vector> #include <osquery/database.h> #in...
Store results for differential queries serialized with types
Store results for differential queries serialized with types Summary: Every time a differential query runs we save the results to the database. We were serializing those results with or without types based on the `FLAGS_log_numerics_as_numbers` flag. However we always collect results with proper types therefore, on su...
C++
bsd-3-clause
hackgnar/osquery,hackgnar/osquery,hackgnar/osquery
63e6c058730149b7a711dd2229e08ba012bca36a
Utils/OutputPrinter.cpp
Utils/OutputPrinter.cpp
#include "OutputPrinter.h" OutputPrinter::OutputPrinter(const std::string& outputFileName) : m_outputFileName(outputFileName) { TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "", ""); m_document.LinkEndChild(decl); TiXmlElement* resultsElement = new TiXmlElement("results"); resultsElement->S...
#include "OutputPrinter.h" OutputPrinter::OutputPrinter(const std::string& outputFileName) : m_outputFileName(outputFileName) { TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "", ""); m_document.LinkEndChild(decl); TiXmlElement* resultsElement = new TiXmlElement("results"); resultsElement->S...
Change XML version info to colobot-lint
Change XML version info to colobot-lint
C++
bsd-3-clause
colobot/colobot-lint,piotrdz/colobot-lint,piotrdz/colobot-lint,piotrdz/colobot-lint,piotrdz/colobot-lint,colobot/colobot-lint,colobot/colobot-lint,colobot/colobot-lint
a87a39e38e950de92b1f345e83cc717536d3d6e3
VL53L0X_sample/main.cpp
VL53L0X_sample/main.cpp
//=====================================================================// /*! @file @brief VL53L0X 距離センサー・サンプル @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/R8C/blob/master/LICENSE */ //=============...
//=====================================================================// /*! @file @brief VL53L0X 距離センサー・サンプル @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/R8C/blob/master/LICENSE */ //=============...
update management
update management
C++
bsd-3-clause
hirakuni45/R8C,hirakuni45/R8C,hirakuni45/R8C
1b0ee130d81aa3205d70c1c8957d6ea40184ca58
chrome/common/child_thread.cc
chrome/common/child_thread.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/child_thread.h" #include "base/command_line.h" #include "chrome/common/child_process.h" #include "chrome/common/chrome_switch...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/child_thread.h" #include "base/command_line.h" #include "base/string_util.h" #include "chrome/common/child_process.h" #includ...
Fix release build break
Fix release build break git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@10081 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
adobe/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,Crystalnix/ho...
b050e312f4ac4000356fdd4937efcdc283e52617
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Libraries/RTSCollisionLibrary.cpp
Source/RTSProject/Plugins/RealTimeStrategy/Source/RealTimeStrategy/Private/Libraries/RTSCollisionLibrary.cpp
#include "Libraries/RTSCollisionLibrary.h" #include "Landscape.h" #include "Components/ShapeComponent.h" #include "GameFramework/Actor.h" #include "RTSLog.h" #include "Libraries/RTSGameplayLibrary.h" float URTSCollisionLibrary::GetActorDistance(AActor* First, AActor* Second, bool bConsiderCollisionSize) { if (!...
#include "Libraries/RTSCollisionLibrary.h" #include "Landscape.h" #include "Components/ShapeComponent.h" #include "GameFramework/Actor.h" #include "RTSLog.h" #include "Libraries/RTSGameplayLibrary.h" float URTSCollisionLibrary::GetActorDistance(AActor* First, AActor* Second, bool bConsiderCollisionSize) { if (!...
Fix missing sub-components when retrieved from default components (#127)
Fix missing sub-components when retrieved from default components (#127)
C++
mit
npruehs/ue4-rts,npruehs/ue4-rts,npruehs/ue4-rts
a7413619a879119100b0242ae010ba2340e43b79
eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp
eval/src/tests/instruction/mixed_simple_join_function/mixed_simple_join_function_test.cpp
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/fast_value.h> #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/eval/tensor_function.h> #include <vespa/eval/instruction/m...
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/vespalib/testkit/test_kit.h> #include <vespa/eval/eval/fast_value.h> #include <vespa/eval/eval/simple_value.h> #include <vespa/eval/eval/tensor_function.h> #include <vespa/eval/instruction/m...
drop unused code
drop unused code
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
6176ae28777fc6d2894485e38cc0e48cf7caf986
searchlib/src/vespa/searchlib/features/bm25_feature.cpp
searchlib/src/vespa/searchlib/features/bm25_feature.cpp
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "bm25_feature.h" #include <vespa/searchlib/fef/itermdata.h> #include <vespa/searchlib/fef/itermfielddata.h> #include <memory> namespace search::features { using fef::Blueprint; using fef::Feature...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "bm25_feature.h" #include <vespa/searchlib/fef/itermdata.h> #include <vespa/searchlib/fef/itermfielddata.h> #include <memory> namespace search::features { using fef::Blueprint; using fef::Feature...
Trim down what to unpack for bm25 feature.
Trim down what to unpack for bm25 feature.
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
c375dc49d0dc51225631ae096cb036f4e43d33ba
corelib/PWSprefs.cpp
corelib/PWSprefs.cpp
#include "PWSprefs.h" #include <AfxWin.h> // for AfxGetApp() #include <strstream> using namespace std; #if defined(POCKET_PC) const LPCTSTR PWS_REG_POSITION = _T("Position"); const LPCTSTR PWS_REG_OPTIONS = _T("Options"); #else const LPCTSTR PWS_REG_POSITION = _T(""); const LPCTSTR PWS_REG_OPTIONS = _T(""); #endif ...
#include "PWSprefs.h" #include <AfxWin.h> // for AfxGetApp() #include <strstream> using namespace std; #if defined(POCKET_PC) const LPCTSTR PWS_REG_POSITION = _T("Position"); const LPCTSTR PWS_REG_OPTIONS = _T("Options"); #else const LPCTSTR PWS_REG_POSITION = _T(""); const LPCTSTR PWS_REG_OPTIONS = _T(""); #endif ...
Make sure we only used DB pref. if still DB related Also need to input unused/unkown value to keep in step
Make sure we only used DB pref. if still DB related Also need to input unused/unkown value to keep in step git-svn-id: 6fc9ba494899942902f7488ac93c4c58960a7ec4@998 1f79f812-37fb-46fe-a122-30589dd2bf55
C++
artistic-2.0
sorinAche23/Psafe,ronys/pwsafe-test,Sp1l/pwsafe,sorinAche23/Psafe,Sp1l/pwsafe,gpmidi/pwsafe,sorinAche23/Psafe,sorinAche23/Psafe,ronys/pwsafe-test,Sp1l/pwsafe,Sp1l/pwsafe,Sp1l/pwsafe,ronys/pwsafe-test,gpmidi/pwsafe,Sp1l/pwsafe,gpmidi/pwsafe,gpmidi/pwsafe,gpmidi/pwsafe,sorinAche23/Psafe,ronys/pwsafe-test,ronys/pwsafe-tes...
e139fb6d7740751321527ce2c6f133c52b21b338
GitGud/GitGud/ImporterTexture.cpp
GitGud/GitGud/ImporterTexture.cpp
#include "ImporterTexture.h" #include "App.h" #include "M_FileSystem.h" #include "M_ResourceManager.h" #include "ResourceTexture.h" #include <il.h> #include <ilu.h> #include <ilut.h> ImporterTexture::ImporterTexture() { _LOG(LOG_INFO, "Texture importer: Created."); ilInit(); iluInit(); ilutInit(); ilutRendere...
#include "ImporterTexture.h" #include "App.h" #include "M_FileSystem.h" #include "M_ResourceManager.h" #include "ResourceTexture.h" #include <il.h> #include <ilu.h> #include <ilut.h> ImporterTexture::ImporterTexture() { _LOG(LOG_INFO, "Texture importer: Created."); ilInit(); iluInit(); ilutInit(); ilutRendere...
Load texture resource
Load texture resource
C++
apache-2.0
Josef212/GitGud-Engine,Josef212/GitGud-Engine
5f58823331beb0cf823e7ac8f165797210fcde3e
cpp/fessa_detail.hpp
cpp/fessa_detail.hpp
// Fair Exponential Smoothing with Small Alpha by Juha Reunanen, 2015 #ifndef FESSA_ALPHA #define FESSA_ALPHA #include <limits> #include <assert.h> namespace fessa { namespace detail { // A is for the calculations; it must be floating-point // T is for time; essentially integer, need not be v...
// Fair Exponential Smoothing with Small Alpha by Juha Reunanen, 2015 #ifndef FESSA_ALPHA #define FESSA_ALPHA #include <limits> #include <assert.h> namespace fessa { namespace detail { // A is for the calculations; it must be floating-point // T is for time; essentially integer, need not be v...
Fix comparison
Fix comparison
C++
mit
reunanen/fessa
e2e497dc283cf1a33af2822f86ad4fdee620d9b5
cpp/jami/namedir.cpp
cpp/jami/namedir.cpp
// Vsevolod Ivanov #include <string> #include <iostream> #include <thread> #include "dring/dring.h" #include "dring/callmanager_interface.h" #include "dring/configurationmanager_interface.h" #include "dring/presencemanager_interface.h" // jamidht/namedirectory.h enum class Response : int { found = 0, invalidResponse...
// Vsevolod Ivanov #include <string> #include <iostream> #include <thread> #include "dring/dring.h" #include "dring/callmanager_interface.h" #include "dring/configurationmanager_interface.h" #include "dring/presencemanager_interface.h" // jamidht/namedirectory.h enum class Response : int { found = 0, invalidResponse...
add register name to namedir
cpp/jami: add register name to namedir
C++
mit
sevaivanov/various,sevaivanov/various,sevaivanov/various,sevaivanov/various,sevaivanov/various,sevaivanov/various
6d162480ee8be3b393dd411042fc11dda7e5df2b
cpp/ztracker_tool.cc
cpp/ztracker_tool.cc
/** \file ztracker_tool.cc \brief A utility to inspeect and manipulate our Zotero tracker database. \author Dr. Johannes Ruscheinski \copyright 2018 Universitätsbibliothek Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Gener...
/** \file ztracker_tool.cc \brief A utility to inspect and manipulate our Zotero tracker database. \author Dr. Johannes Ruscheinski \copyright 2018 Universitätsbibliothek Tübingen This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero Genera...
Update ztracker_tool.cc
Update ztracker_tool.cc
C++
agpl-3.0
ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools,ubtue/ub_tools
6b25ef4839b2e5941fda7ba8c68b4ed251519f78
dune/stuff/la/container/eigen/sparse.hh
dune/stuff/la/container/eigen/sparse.hh
// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff/ // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_LA_CONTAINER_EIGEN_SPARSE_HH #define DUNE_STUFF_LA_CONTAINER_EIGEN_SPARSE_HH...
// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff/ // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_LA_CONTAINER_EIGEN_SPARSE_HH #define DUNE_STUFF_LA_CONTAINER_EIGEN_SPARSE_HH...
fix ctor
[la.container.eigen.sparse] fix ctor
C++
bsd-2-clause
renemilk/DUNE-Stuff,renemilk/DUNE-Stuff,renemilk/DUNE-Stuff
6b33a468a02bec7418d3e130fcb61380d96dca6f
IslandMUD/npc_enemy_bodyguard.cpp
IslandMUD/npc_enemy_bodyguard.cpp
#include "npc_enemy_bodyguard.h" void Hostile_NPC_Bodyguard::update(World & world, map<string, shared_ptr<Character>> & actors) { // NPC bodyguards cheat by knowing their protect_target's location. Gameplay impact should be negligible. // idle if no protect_target has been set if (protect_target_id == "") return;...
#include "npc_enemy_bodyguard.h" void Hostile_NPC_Bodyguard::update(World & world, map<string, shared_ptr<Character>> & actors) { // NPC bodyguards cheat by knowing their protect_target's location. Gameplay impact should be negligible. // idle if no protect_target has been set if (protect_target_id == "") return;...
reduce nested bodyguard NPC code
reduce nested bodyguard NPC code See http://stackoverflow.com/a/764424 for a basic explanation on rationale.
C++
mit
JimViebke/IslandMUD,JimViebke/IslandMUD,JimViebke/IslandMUD,JimViebke/IslandMUD
2cb411fa630945dc37339a3007cc16bb29f32804
src/models/flight_control/FGAngles.cpp
src/models/flight_control/FGAngles.cpp
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGAngles.cpp Author: Jon S. Berndt Date started: 6/2013 ------------- Copyright (C) 2013 Jon S. Berndt (jon@jsbsim.org) ------------- This program is free software; you can redistribute it and/or modify it under...
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGAngles.cpp Author: Jon S. Berndt Date started: 6/2013 ------------- Copyright (C) 2013 Jon S. Berndt (jon@jsbsim.org) ------------- This program is free software; you can redistribute it and/or modify it under...
Make sure the argument to acos() is never out of bounds.
Make sure the argument to acos() is never out of bounds.
C++
lgpl-2.1
hrabcak/jsbsim,pmatigakis/jsbsim,hrabcak/jsbsim,tridge/jsbsim,hrabcak/jsbsim,Stonelinks/jsbsim,hrabcak/jsbsim,pmatigakis/jsbsim,Stonelinks/jsbsim,Stonelinks/jsbsim,pmatigakis/jsbsim,Stonelinks/jsbsim,pmatigakis/jsbsim,hrabcak/jsbsim,tridge/jsbsim,tridge/jsbsim,pmatigakis/jsbsim,Stonelinks/jsbsim,tridge/jsbsim,tridge/js...
40d241c6b6d13fac8ce9ff606277b802f38a4861
mining/include/mframework.hpp
mining/include/mframework.hpp
//------------------------------------------------------------------------------ // File: mframework.hpp // // Desc: Data Mining Framework. // // Copyright (c) 2014-2018. veyesys.com All rights reserved. //------------------------------------------------------------------------------ #ifndef __M_FRAME_WORK_HPP__ #defin...
//------------------------------------------------------------------------------ // File: mframework.hpp // // Desc: Data Mining Framework. // // Copyright (c) 2014-2018. veyesys.com All rights reserved. //------------------------------------------------------------------------------ #ifndef __M_FRAME_WORK_HPP__ #defin...
add module parse
add module parse
C++
mit
veyesys/opencvr,xsmart/opencvr,xiaojuntong/opencvr,veyesys/opencvr,xiaojuntong/opencvr,herocodemaster/opencvr,herocodemaster/opencvr,herocodemaster/opencvr,telecamera/opencvr,xsmart/opencvr,xiaojuntong/opencvr,xsmart/opencvr,telecamera/opencvr,telecamera/opencvr,xsmart/opencvr,telecamera/opencvr,xiaojuntong/opencvr,vey...
12eeeb6323694ef973a4669a907f94cc5c7f2a44
src/nerved/config/dump_config_yaml.cpp
src/nerved/config/dump_config_yaml.cpp
// Copyright (C) 2011, James Webber. // Distributed under a 3-clause BSD license. See COPYING. #include <map> #include "../util/asserts.hpp" #include "pipeline_configs.hpp" void config::dump_config_yaml(config::pipeline_config &pc) { using namespace config; typedef pipeline_config::job_iterator_type job_ite...
// Copyright (C) 2011, James Webber. // Distributed under a 3-clause BSD license. See COPYING. #include <map> #include "../util/asserts.hpp" #include "pipeline_configs.hpp" void config::dump_config_yaml(config::pipeline_config &pc) { using namespace config; typedef pipeline_config::job_iterator_type job_ite...
Remove useless var.
Remove useless var.
C++
bsd-3-clause
bnkr/nerve,bnkr/nerve,bnkr/nerve
932b0ea2fd51defad33002e42bbed245e9cda4a2
src/numerics/trilinos_preconditioner.C
src/numerics/trilinos_preconditioner.C
// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
Fix for Trilnos without ML case
Fix for Trilnos without ML case git-svn-id: ffc1bc5b3feaf8644044862cc38c386ade156493@5508 434f946d-2f3d-0410-ba4c-cb9f52fb0dbf
C++
lgpl-2.1
certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh,certik/libmesh
12c1fc0adedf2f2c2d01d06ee143a59a8cbda8fd
src/scenes/menkmanJPG1/menkmanJPG1.cpp
src/scenes/menkmanJPG1/menkmanJPG1.cpp
#include "menkmanJPG1.h" void menkmanJPG1::setup(){ ofSetLogLevel(OF_LOG_VERBOSE); srcPath = "menkmanJPG1/images/menkman.jpg"; dstPath = "menkmanJPG1/images/menkmanGlitch.jpg"; lineCount = getLineCount(srcPath); src.load(srcPath); dst.load(dstPath); // setup pramaters ...
#include "menkmanJPG1.h" void menkmanJPG1::setup(){ // ofSetLogLevel(OF_LOG_VERBOSE); srcPath = "menkmanJPG1/images/menkman.jpg"; dstPath = "menkmanJPG1/images/menkmanGlitch.jpg"; lineCount = getLineCount(srcPath); src.load(srcPath); dst.load(dstPath); // setup pramaters ...
Remove extra logging stuff
Remove extra logging stuff
C++
mit
roymacdonald/dayForNightSFPC,quinkennedy/dayForNightSFPC,sh0w/recoded,sh0w/recoded,roymacdonald/dayForNightSFPC,ofZach/dayForNightSFPC,ofZach/dayForNightSFPC,sh0w/recoded,roymacdonald/dayForNightSFPC,ofZach/dayForNightSFPC,roymacdonald/dayForNightSFPC,quinkennedy/dayForNightSFPC,quinkennedy/dayForNightSFPC,quinkennedy/...
1a505baf302c5724ddf1573a886df9b2799af8b6
src/simplifier/PropagateEqualities.cpp
src/simplifier/PropagateEqualities.cpp
#include <string> #include "PropagateEqualities.h" #include "simplifier.h" #include "../AST/ArrayTransformer.h" namespace BEEV { /* The search functions look for variables that can be expressed in terms of variables. * The most obvious case it doesn't check for is NOT (OR (.. .. )). * I suspect this could tak...
#include <string> #include "PropagateEqualities.h" #include "simplifier.h" #include "../AST/ArrayTransformer.h" namespace BEEV { /* The search functions look for variables that can be expressed in terms of variables. * The most obvious case it doesn't check for is NOT (OR (.. .. )). * I suspect this could tak...
Fix an assertion error.
Fix an assertion error. git-svn-id: 5069ba8be4c997ee907bf46f8ec9a2bbfb655637@1535 e59a4935-1847-0410-ae03-e826735625c1
C++
mit
linpc/STP,linpc/STP,linpc/STP,linpc/STP,linpc/STP
e1e055e6e932e671fcd73ca0104f99b3a171e01e
Modules/DiffusionImaging/DiffusionCore/Algorithms/Registration/mitkDWIHeadMotionCorrectionFilter.cpp
Modules/DiffusionImaging/DiffusionCore/Algorithms/Registration/mitkDWIHeadMotionCorrectionFilter.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...
Enhance generate output
Enhance generate output
C++
bsd-3-clause
NifTK/MITK,fmilano/mitk,RabadanLab/MITKats,rfloca/MITK,danielknorr/MITK,rfloca/MITK,iwegner/MITK,iwegner/MITK,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,lsanzdiaz/MITK-BiiG,danielknorr/MITK,nocnokneo/MITK,fmilano/mitk,fmilano/mitk,nocnokneo/MITK,RabadanLab/MITKats,danielknorr/MITK,RabadanLab/MITKats,MITK/MITK,danielknorr/M...
b29a602ee00cc2e8553d0e4acfe30b32f88fa7bb
libraries/chain/include/eosio/chain/webassembly/eos-vm.hpp
libraries/chain/include/eosio/chain/webassembly/eos-vm.hpp
#pragma once #include <eosio/chain/webassembly/common.hpp> #include <eosio/chain/webassembly/runtime_interface.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/apply_context.hpp> #include <softfloat_types.h> //eos-vm includes /* #include <eosio/vm/host_function.hpp> namespace eosio { namespace vm { ...
#pragma once #include <eosio/chain/webassembly/common.hpp> #include <eosio/chain/webassembly/runtime_interface.hpp> #include <eosio/chain/exceptions.hpp> #include <eosio/chain/apply_context.hpp> #include <softfloat_types.h> //eos-vm includes /* #include <eosio/vm/host_function.hpp> namespace eosio { namespace vm { ...
Add checking of pointers
Add checking of pointers
C++
mit
EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos,EOSIO/eos
a36166962a569dd37e738212f6bc53395a7b70d2
hoomd/md/MuellerPlatheFlowGPU.cc
hoomd/md/MuellerPlatheFlowGPU.cc
// Copyright (c) 2009-2021 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. #include "MuellerPlatheFlowGPU.h" #include "hoomd/HOOMDMPI.h" namespace py = pybind11; using namespace std; //! \file MuellerPlatheFlowGPU.cc Implementation of...
// Copyright (c) 2009-2021 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. #include "MuellerPlatheFlowGPU.h" #include "hoomd/HOOMDMPI.h" namespace py = pybind11; using namespace std; //! \file MuellerPlatheFlowGPU.cc Implementation of...
Update constructor arguments in GPU files
Update constructor arguments in GPU files
C++
bsd-3-clause
joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue,joaander/hoomd-blue
d74c77813eb087ca9d26b98aa7d5c0bea59d0080
examples/custom1.cpp
examples/custom1.cpp
/*********************************************************************** custom1.cpp - Example that produces the same results as simple1, but it uses a Specialized SQL Structure to store the results instead of a MySQL++ Result object. Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by MySQL AB, an...
/*********************************************************************** custom1.cpp - Example that produces the same results as simple1, but it uses a Specialized SQL Structure to store the results instead of a MySQL++ Result object. Copyright (c) 1998 by Kevin Atkinson, (c) 1999, 2000 and 2001 by MySQL AB, an...
Comment tweak
Comment tweak
C++
lgpl-2.1
winsock/mysqlpp,winsock/mysqlpp,winsock/mysqlpp
f36e2d1c7932391830e27a906134cc113768aa84
include/cereal/types/variant.hpp
include/cereal/types/variant.hpp
/*! \file variant.hpp \brief Support for std::variant \ingroup STLSupport */ /* Copyright (c) 2014, 2017, Randolph Voorhies, Shane Grant, Juan Pedro Bolivar Puente. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
/*! \file variant.hpp \brief Support for std::variant \ingroup STLSupport */ /* Copyright (c) 2014, 2017, Randolph Voorhies, Shane Grant, Juan Pedro Bolivar Puente. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
Fix signed/unsigned comparison warning on gcc-7
Fix signed/unsigned comparison warning on gcc-7
C++
bsd-3-clause
abutcher-gh/cereal,USCiLab/cereal,USCiLab/cereal,abutcher-gh/cereal
1135ca1592848ef8962f8cac0074bd5eaf72873a
examples/threads.cpp
examples/threads.cpp
// // Created by Ivan Shynkarenka on 23.07.2015. // #include "benchmark/cppbenchmark.h" #include <atomic> #include <mutex> const int iterations = 10000000; const auto settings = CppBenchmark::Settings().Iterations(iterations).ThreadsRange(1, 8, [](int from, int to, int& result) { int r = result; result *= 2; return ...
// // Created by Ivan Shynkarenka on 23.07.2015. // #include "benchmark/cppbenchmark.h" #include <atomic> #include <mutex> const int iterations = 10000000; const auto settings = CppBenchmark::Settings().Iterations(iterations).ThreadsRange(1, 8, [](int from, int to, int& result) { int r = result; result *= 2; return ...
Clean code
Clean code
C++
mit
chronoxor/CppBenchmark,chronoxor/CppBenchmark
5477321ce7cdcdf57d2d5b540f71215593b9c14a
examples/tsl2561.cxx
examples/tsl2561.cxx
/* * Author: Nandkishor Sonar <Nandkishor.Sonar@intel.com> * Copyright (c) 2014 Intel Corporation. * * LIGHT-TO-DIGITAL CONVERTER [TAOS-TSL2561] * * 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 t...
/* * Author: Nandkishor Sonar <Nandkishor.Sonar@intel.com> * Copyright (c) 2014 Intel Corporation. * * LIGHT-TO-DIGITAL CONVERTER [TAOS-TSL2561] * * 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 t...
fix indentation of example
tsl2561: fix indentation of example Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>
C++
mit
mircea/upm,kissbac/upm,whbruce/upm,Propanu/upm,GSmurf/upm,jontrulson/upm,srware/upm,MakerCollider/upm,0xD34D/upm,jontrulson/upm,yoyojacky/upm,Jon-ICS/upm,Propanu/upm,malikabhi05/upm,srware/upm,sasmita/upm,g-vidal/upm,nitirohilla/upm,g-vidal/upm,pylbert/upm,noahchense/upm,ShawnHymel/upm,skiselev/upm,yoyojacky/upm,arfoll...
ba4c7cfc7b94ff7a3be604324854095eb9a3d69a
include/insertionfinder/cube.hpp
include/insertionfinder/cube.hpp
#pragma once #include <cstddef> #include <cstdint> #include <cstring> #include <array> #include <exception> #include <functional> #include <initializer_list> #include <istream> #include <optional> #include <ostream> #include <vector> #include <insertionfinder/algorithm.hpp> #include <insertionfinder/twist.hpp> namespa...
#pragma once #include <cstddef> #include <cstdint> #include <cstring> #include <array> #include <exception> #include <functional> #include <initializer_list> #include <istream> #include <optional> #include <ostream> #include <vector> #include <insertionfinder/algorithm.hpp> #include <insertionfinder/twist.hpp> namespa...
fix bug
fix bug
C++
mit
xuanyan0x7c7/insertionfinder
2bed35935d1e831eaaa944014d455bdb32e88d8a
tests/auto/declarative/examples/tst_examples.cpp
tests/auto/declarative/examples/tst_examples.cpp
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GN...
/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GN...
Remove fonts example from qpa platform tests
Remove fonts example from qpa platform tests Task-number: QTBUG-21415 Change-Id: I82b1600fe74a50dee8651247fcd172f09ba45a64 Reviewed-on: http://codereview.qt-project.org/4724 Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com> Reviewed-by: Rohan McGovern <d75463945f40a9669160a73cef2843e56b22c...
C++
lgpl-2.1
matthewvogt/qtdeclarative,jfaust/qtdeclarative,corngood/qtdeclarative,corngood/qtdeclarative,jfaust/qtdeclarative,qmlc/qtdeclarative,mgrunditz/qtdeclarative-2d,qmlc/qtdeclarative,crobertd/qtdeclarative,corngood/qtdeclarative,crobertd/qtdeclarative,mgrunditz/qtdeclarative-2d,matthewvogt/qtdeclarative,matthewvogt/qtdecla...
2184731975c44f050dd569b1bb4370f3b8bdc21d
include/misc/matrix_ops/size.hpp
include/misc/matrix_ops/size.hpp
/*################################################################################ ## ## Copyright (C) 2016-2020 Keith O'Hara ## ## This file is part of the OptimLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
/*################################################################################ ## ## Copyright (C) 2016-2020 Keith O'Hara ## ## This file is part of the OptimLib C++ library. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance...
add static_cast to size
add static_cast to size
C++
apache-2.0
kthohr/optim,kthohr/optim
18817e8d1cff5c822b339d14fce837d99929a941
tests/db/qdjangocompiler/tst_qdjangocompiler.cpp
tests/db/qdjangocompiler/tst_qdjangocompiler.cpp
/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * 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 Foundati...
/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * 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 Foundati...
use data driven tests
use data driven tests
C++
lgpl-2.1
jlaine/qdjango,paradoxon82/qdjango,jlaine/qdjango,ericLemanissier/qdjango,jlaine/qdjango,ericLemanissier/qdjango,ericLemanissier/qdjango,jlaine/qdjango,paradoxon82/qdjango,jlaine/qdjango,paradoxon82/qdjango,paradoxon82/qdjango,ericLemanissier/qdjango,ericLemanissier/qdjango,paradoxon82/qdjango
40f7f513887cfa235988923285d42a0d11d1fcab
include/seastar/core/io_queue.hh
include/seastar/core/io_queue.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 unused code from io_queue.hh
io_queue: Remove unused code from io_queue.hh A couple of includes and double forward declaration of the io_priority_class. Signed-off-by: Pavel Emelyanov <c9a32589e048e044184536f7ac71ef92fe82df3e@scylladb.com>
C++
apache-2.0
syuu1228/seastar,scylladb/seastar,avikivity/seastar,scylladb/seastar,syuu1228/seastar,avikivity/seastar,avikivity/seastar,scylladb/seastar,syuu1228/seastar
b827ef5f21845623380fccbd20cfa18d64d16897
tutorials/developers/tutorial_03/tutorial_03.cpp
tutorials/developers/tutorial_03/tutorial_03.cpp
/* This example defines the following sequence of computations. for (i = 0; i < M; i++) S0(i) = 4; S1(i) = 3; for (j = 0; j < N; j++) S2(i, j) = 2; S3(i) = 1; The goal of this tutorial is to show how one can indicate the order of computations in Tiramisu. */ #include <tiramisu/tiramisu.h> #define SI...
/* This example defines the following sequence of computations. for (i = 0; i < M; i++) S0(i) = 4; S1(i) = 3; for (j = 0; j < N; j++) S2(i, j) = 2; S3(i) = 1; The goal of this tutorial is to show how one can indicate the order of computations in Tiramisu. */ #include <tiramisu/tiramisu.h> #define SI...
Use new API in tuto 03
Use new API in tuto 03
C++
mit
rbaghdadi/COLi,rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/ISIR,rbaghdadi/ISIR,rbaghdadi/COLi,rbaghdadi/tiramisu,rbaghdadi/tiramisu
502975ab8136f9712fdd012ddad45ca3ace95f8c
introduction/exp_apx/exp_eps.hpp
introduction/exp_apx/exp_eps.hpp
/* $Id$ */ # ifndef CPPAD_EXP_EPS_INCLUDED # define CPPAD_EXP_EPS_INCLUDED /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of th...
/* $Id$ */ # ifndef CPPAD_EXP_EPS_INCLUDED # define CPPAD_EXP_EPS_INCLUDED /* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell CppAD is distributed under multiple licenses. This distribution is under the terms of th...
convert exp_eps.hpp to more modern omhelp formatting
convert exp_eps.hpp to more modern omhelp formatting git-svn-id: 3f5418f4deb1796ec361794c2e3ca0aec3c9c1fd@1897 0e562018-b8fb-0310-a933-ecf073c7c197
C++
epl-1.0
wegamekinglc/CppAD,kaskr/CppAD,kaskr/CppAD,kaskr/CppAD,utke1/cppad,kaskr/CppAD,wegamekinglc/CppAD,utke1/cppad,wegamekinglc/CppAD,wegamekinglc/CppAD,kaskr/CppAD,utke1/cppad,wegamekinglc/CppAD,utke1/cppad
b732d667f13b0de4958d595ebb4ccc4788b8d084
QBrowseButton.cc
QBrowseButton.cc
/** \file * * \brief Implementation of \a QBrowseButton * * This file provides the implementation of the \a QBrowseButton class. * * \author Peter 'png' Hille <peter@das-system-networks.de> * * \version 1.0 */ #include <QHBoxLayout> #include <QDebug> #include <QMessageBox> #include "nullptr.h" #include "QBrow...
/** \file * * \brief Implementation of \a QBrowseButton * * This file provides the implementation of the \a QBrowseButton class. * * \author Peter 'png' Hille <peter@das-system-networks.de> * * \version 1.0 */ #include <QHBoxLayout> #include <QDebug> #include <QMessageBox> #include "nullptr.h" #include "QBrow...
Remove debug message
Remove debug message
C++
bsd-3-clause
png85/QBrowseButton
f1e025dc6896774a21df8ab3eb9e555df0a486d0
modules/imgproc/src/gabor.cpp
modules/imgproc/src/gabor.cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
delete normalization in gabor kernel #1995
delete normalization in gabor kernel #1995
C++
apache-2.0
opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv
d394e163b50de4082b2acd498f0ac6c261ed3753
neon/data/loader/image.hpp
neon/data/loader/image.hpp
/* Copyright 2016 Nervana Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
/* Copyright 2016 Nervana Systems Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
Support random rotations on images
Support random rotations on images
C++
apache-2.0
NervanaSystems/neon,Jokeren/neon,NervanaSystems/neon,Jokeren/neon,NervanaSystems/neon,NervanaSystems/neon,Jokeren/neon,Jokeren/neon
a4309994fdd74e8db786ad43038ff6cd3dbf3a18
beast-gtk/bstparam-item-seq.cc
beast-gtk/bstparam-item-seq.cc
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html /* --- item sequence editors --- */ #include "bstitemseqdialog.hh" static void param_item_seq_changed (gpointer data, BseIt3mSeq *iseq, BstItemSeqDialog *isdialog) { GxkP...
// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html /* --- item sequence editors --- */ #include "bstitemseqdialog.hh" static void param_item_seq_changed (gpointer data, BseIt3mSeq *iseq, BstItemSeqDialog *isdialog) { GxkP...
adjust to use Item.check_is_a()
BST: adjust to use Item.check_is_a() Signed-off-by: Tim Janik <6ec6ff229c4e1c5bbd5933ee92e6c5832ff023bb@gnu.org>
C++
lgpl-2.1
tim-janik/beast,tim-janik/beast,tim-janik/beast,swesterfeld/beast,tim-janik/beast,GNOME/beast,swesterfeld/beast,GNOME/beast,tim-janik/beast,GNOME/beast,swesterfeld/beast,GNOME/beast,GNOME/beast,tim-janik/beast,GNOME/beast,swesterfeld/beast,GNOME/beast,tim-janik/beast,swesterfeld/beast,swesterfeld/beast,swesterfeld/beas...
0436f43446c441027fb393288f20775c4cdb0b52
phonon/audiooutput.cpp
phonon/audiooutput.cpp
/* This file is part of the KDE project Copyright (C) 2005-2006 Matthias Kretz <kretz@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; either version 2.1 of the Li...
/* This file is part of the KDE project Copyright (C) 2005-2006 Matthias Kretz <kretz@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; either version 2.1 of the Li...
Fix qmath.h include: should be written <QtCore/qmath.h> instead of <qmath.h> in order to be consistent with the rest of the code that use <QtCore/...>
Fix qmath.h include: should be written <QtCore/qmath.h> instead of <qmath.h> in order to be consistent with the rest of the code that use <QtCore/...>
C++
lgpl-2.1
KDE/phonon-gstreamer,shadeslayer/phonon-gstreamer,KDE/phonon-xine,KDE/phonon-xine,KDE/phonon-directshow,KDE/phonon-quicktime,KDE/phonon-mmf,shadeslayer/phonon-gstreamer,shadeslayer/phonon-gstreamer,KDE/phonon-gstreamer,KDE/phonon-waveout,KDE/phonon-xine,KDE/phonon-directshow
dcc414bdf52148b8f76d684505bb0a3fc997cecf
plugins/qt/context.cpp
plugins/qt/context.cpp
#include "context.h" #include <QMetaType> #include <QVariantList> /*! A meta method property for storing index */ #define DUK_QT_METAMETHOD_INDEX_PROPERTY "\1_____meta_method_index\1" /*! A meta method property for storing typename */ #define DUK_QT_METAMETHOD_TYPENAME_PROPERTY "\1_____meta_method_typename\1" /*! ...
#include "context.h" #include <QMetaType> #include <QVariantList> /*! A meta method property for storing index */ #define DUK_QT_METAMETHOD_INDEX_PROPERTY "\1_____meta_method_index\1" /*! A meta method property for storing typename */ #define DUK_QT_METAMETHOD_TYPENAME_PROPERTY "\1_____meta_method_typename\1" /*! ...
Fix for removing function.
Fix for removing function.
C++
mit
mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03,mamontov-cpp/dukpp-03
2dac6f3e59b388fd2f4c129b92f7e11a1732424d
T0/MakeTrendT0.C
T0/MakeTrendT0.C
#include "TChain.h" #include "TTree.h" #include "TH1F.h" #include "TF1.h" #include "TH2F.h" #include "TCanvas.h" #include "TObjArray.h" #include "/home/alla/alice/AliRoot/AliRoot/STEER/STEERBase/TTreeStream.h" #define NPMTs 24 int MakeTrendT0( char *infile, int run) { char *outfile = "trending.root"; if(!infil...
#include "TChain.h" #include "TTree.h" #include "TH1F.h" #include "TF1.h" #include "TH2F.h" #include "TCanvas.h" #include "TObjArray.h" #include "TTreeStream.h" #define NPMTs 24 int MakeTrendT0( char *infile, int run) { char *outfile = "trending.root"; if(!infile) return -1; if(!outfile) return -1; TFile ...
remove wrong long path
remove wrong long path
C++
bsd-3-clause
miranov25/AliRoot,ecalvovi/AliRoot,ecalvovi/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,mkrzewic/AliRoot,alisw/AliRoot,mkrzewic/AliRoot,mkrzewic/AliRoot,alisw/AliRoot,mkrzewic/AliRoot,shahor02/AliRoot,shahor02/AliRoot,coppedis/AliRoot,sebaleh/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,sebaleh/AliRoot,sebaleh/AliRoot,jgr...
82262a3f314f227b906e64d8a7c13957c9a4bb5a
Code/GraphMol/Fingerprints/Fingerprints.cpp
Code/GraphMol/Fingerprints/Fingerprints.cpp
// $Id$ // // Copyright (C) 2003-2008 Greg Landrum and Rational Discovery LLC // // @@ All Rights Reserved @@ // #include <GraphMol/RDKitBase.h> #include <DataStructs/ExplicitBitVect.h> #include <DataStructs/BitOps.h> #include "Fingerprints.h" #include <GraphMol/Subgraphs/Subgraphs.h> #include <GraphMol/Subgraphs/S...
// $Id$ // // Copyright (C) 2003-2008 Greg Landrum and Rational Discovery LLC // // @@ All Rights Reserved @@ // #include <GraphMol/RDKitBase.h> #include <DataStructs/ExplicitBitVect.h> #include <DataStructs/BitOps.h> #include "Fingerprints.h" #include <GraphMol/Subgraphs/Subgraphs.h> #include <GraphMol/Subgraphs/S...
use a different RNG and different approach for generating seeds. NOTE: this breaks compatibility of fingerprints
use a different RNG and different approach for generating seeds. NOTE: this breaks compatibility of fingerprints
C++
bsd-3-clause
rdkit/rdkit,greglandrum/rdkit,jandom/rdkit,rdkit/rdkit,greglandrum/rdkit,soerendip42/rdkit,greglandrum/rdkit,strets123/rdkit,ptosco/rdkit,jandom/rdkit,adalke/rdkit,rdkit/rdkit,bp-kelley/rdkit,bp-kelley/rdkit,soerendip42/rdkit,rvianello/rdkit,ptosco/rdkit,strets123/rdkit,soerendip42/rdkit,AlexanderSavelyev/rdkit,ptosco/...
0a30a9e99fb83580af7b443b3b6c7d1f2dae5fe1
monte.cpp
monte.cpp
/* Copyright (c) 2015 Neil Babson and Gabe Stauth This source file is protected under the MIT License. Please see the file LICENSE in the distribution for license terms. */ /* This file contains the implementation of the Monte Carlo Search Tree which controls the computer AI. */ #include "board.h" ...
/* Copyright (c) 2015 Neil Babson and Gabe Stauth This source file is protected under the MIT License. Please see the file LICENSE in the distribution for license terms. */ /* This file contains the implementation of the Monte Carlo Search Tree which controls the computer AI. */ #include "board.h" ...
Update monte.cpp
Update monte.cpp Bubbling bestmove be broken badly. Breaks be best bandage?
C++
mit
nbabson/MontyGo
3dcf13572ccb705ffa54f2fba09fb4f52447cdeb
src/tools/editor/src/halley_editor.cpp
src/tools/editor/src/halley_editor.cpp
#include "halley_editor.h" #include "editor_root_stage.h" #include "halley/tools/project/project.h" #include "preferences.h" #include "halley/core/game/environment.h" #include "halley/tools/file/filesystem.h" #include "halley/tools/project/project_loader.h" using namespace Halley; void initOpenGLPlugin(IPluginRegistr...
#include "halley_editor.h" #include "editor_root_stage.h" #include "halley/tools/project/project.h" #include "preferences.h" #include "halley/core/game/environment.h" #include "halley/tools/file/filesystem.h" #include "halley/tools/project/project_loader.h" using namespace Halley; void initOpenGLPlugin(IPluginRegistr...
Fix editor.
Fix editor.
C++
apache-2.0
amzeratul/halley,amzeratul/halley,amzeratul/halley
5ba11bc90223b55eecd5da4cfbe86c8fc40637a5
src/mlpack/methods/sparse_coding/sparse_coding_main.cpp
src/mlpack/methods/sparse_coding/sparse_coding_main.cpp
/** * @file sparse_coding_main.cpp * @author Nishant Mehta * * Executable for Sparse Coding. */ #include <mlpack/core.hpp> #include "sparse_coding.hpp" PROGRAM_INFO("Sparse Coding", "An implementation of Sparse Coding with " "Dictionary Learning, which achieves sparsity via an l1-norm regularizer on" " th...
/** * @file sparse_coding_main.cpp * @author Nishant Mehta * * Executable for Sparse Coding. */ #include <mlpack/core.hpp> #include "sparse_coding.hpp" PROGRAM_INFO("Sparse Coding", "An implementation of Sparse Coding with " "Dictionary Learning, which achieves sparsity via an l1-norm regularizer on" " th...
Add additional parameter validation.
Add additional parameter validation.
C++
bsd-3-clause
ajjl/mlpack,palashahuja/mlpack,ranjan1990/mlpack,theranger/mlpack,ajjl/mlpack,darcyliu/mlpack,palashahuja/mlpack,darcyliu/mlpack,palashahuja/mlpack,ranjan1990/mlpack,darcyliu/mlpack,theranger/mlpack,theranger/mlpack,ranjan1990/mlpack,ajjl/mlpack
4336e39b60fa5617e582db98d4b0e6ed5170f3f3
Modules/Pharmacokinetics/test/mitkStandardToftsModelTest.cpp
Modules/Pharmacokinetics/test/mitkStandardToftsModelTest.cpp
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
Add test data for AIF, time grid and paramters from real data. Add unit test for computeModelFunction and ComputeDerivedParameters.
Add test data for AIF, time grid and paramters from real data. Add unit test for computeModelFunction and ComputeDerivedParameters.
C++
bsd-3-clause
MITK/MITK,MITK/MITK,MITK/MITK,MITK/MITK,MITK/MITK,MITK/MITK
1338cbe754fef1ef6c35f9b0d779fdbf6c685079
exotica/src/Visualization.cpp
exotica/src/Visualization.cpp
/* * Author: Wolfgang Merkt * * Copyright (c) 2016, Wolfgang Merkt * 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 copyrig...
/* * Author: Wolfgang Merkt * * Copyright (c) 2016, Wolfgang Merkt * 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 copyrig...
Fix for KinematicTree/Scene updates
[exotica] Visualization: Fix for KinematicTree/Scene updates
C++
bsd-3-clause
openhumanoids/exotica,openhumanoids/exotica,openhumanoids/exotica,openhumanoids/exotica
740fc5abb5cbdf6d89d1c915468381ec83d4f40e
DeviceAdapters/GigECamera/GigECameraAcq.cpp
DeviceAdapters/GigECamera/GigECameraAcq.cpp
/////////////////////////////////////////////////////////////////////////////// // FILE: GigECameraAcq.cpp // PROJECT: Micro-Manager // SUBSYSTEM: DeviceAdapters //----------------------------------------------------------------------------- // DESCRIPTION: An adapter for Gigbit-Ethernet camer...
/////////////////////////////////////////////////////////////////////////////// // FILE: GigECameraAcq.cpp // PROJECT: Micro-Manager // SUBSYSTEM: DeviceAdapters //----------------------------------------------------------------------------- // DESCRIPTION: An adapter for Gigbit-Ethernet camer...
Add some debug logging.
GigECamera: Add some debug logging. git-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@11264 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
C++
mit
kmdouglass/Micro-Manager,kmdouglass/Micro-Manager
7572bc9673bafdd5cdeb5a3df067529897f3364d
desktop/source/app/langselect.cxx
desktop/source/app/langselect.cxx
/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: langselect.cxx,v $ * $Revision: 1.22 $ * * Th...
/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: langselect.cxx,v $ * $Revision: 1.22 $ * * Th...
fix typo
#i108067#: fix typo
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
37df959f7ff627a91fb6f7110ce65780b29a3bcb
chrome/browser/printing/print_dialog_cloud_uitest.cc
chrome/browser/printing/print_dialog_cloud_uitest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/printing/print_dialog_cloud.h" #include "chrome/browser/printing/print_dialog_cloud_internal.h" #include <functional> #incl...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/printing/print_dialog_cloud.h" #include "chrome/browser/printing/print_dialog_cloud_internal.h" #include <functional> #incl...
Disable PrintDialogloudTest.HandlerRegistered again This passes locally and was passing two days ago on aura bot, but now it's failing. Disabling again
Disable PrintDialogloudTest.HandlerRegistered again This passes locally and was passing two days ago on aura bot, but now it's failing. Disabling again TBR=thestig@chromium.org BUG=103497 TEST=none Review URL: http://codereview.chromium.org/8907030 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@114498 0039d3...
C++
bsd-3-clause
yitian134/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,r...
0b8545bf5feeb7e5340eeff11279402c2d06a778
chrome/browser/ui/webui/print_preview_ui_unittest.cc
chrome/browser/ui/webui/print_preview_ui_unittest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <vector> #include "base/command_line.h" #include "base/memory/ref_counted_memory.h" #include "chrome/browser/printing/print_preview_tab_cont...
// 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 <vector> #include "base/command_line.h" #include "base/memory/ref_counted_memory.h" #include "chrome/browser/printing/print_preview_tab_cont...
Print Preview: Fixing more tests that were failing on official builds only.
Print Preview: Fixing more tests that were failing on official builds only. BUG=none TEST=unit_tests --gtest_filter=PrintPreviewUIUnitTest.* should pass on official builds Review URL: http://codereview.chromium.org/9127007 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@116747 0039d316-1c4b-4281-b951-d872f2087c...
C++
bsd-3-clause
M4sse/chromium.src,robclark/chromium,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,pozdnyakov/chromium-crosswalk,dushu1203/chromium.src,axinging/chromium-crosswalk,dushu1203/chromium.src,hgl888/chromium-crosswalk,rogerwang/chromium,Fireblend/chromium-crosswalk,dednal/chromium.src,mohamed--abdel-maksoud/c...
f9e3dde240ede48387fe1ad5dc8ef7a51a2446b7
remoting/client/audio_player_unittest.cc
remoting/client/audio_player_unittest.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 "remoting/client/audio_player.h" #include "base/memory/scoped_ptr.h" #include "remoting/client/audio_player.h" #include "testing/gtest/inclu...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/client/audio_player.h" #include "base/compiler_specific.h" #include "base/memory/scoped_ptr.h" #include "testing/gtest/include/gte...
Fix leak in remoting AudioPlayerTests.
Valgrind/Heapchecker: Fix leak in remoting AudioPlayerTests. BUG=154986 TBR=garykac,eugenis Review URL: https://codereview.chromium.org/11087042 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@161039 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,chuan9/chromium-crosswalk,mogoweb/chromium-crosswalk,zcbenz/cefode-chromium,ltilve/chromium,hgl888/chromiu...
fa2e28dd4d9096f8d57cadd9a286d6e683664a98
contrib/other-builds/moses2/PhraseBased/Sentence.cpp
contrib/other-builds/moses2/PhraseBased/Sentence.cpp
/* * Sentence.cpp * * Created on: 14 Dec 2015 * Author: hieu */ #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include "Sentence.h" #include "../System.h" #include "../parameters/AllOptions.h" #include "../pugixml.hpp" #include "../legacy/Util2.h" using namespace std...
/* * Sentence.cpp * * Created on: 14 Dec 2015 * Author: hieu */ #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include "Sentence.h" #include "../System.h" #include "../parameters/AllOptions.h" #include "../pugixml.hpp" #include "../legacy/Util2.h" using namespace std...
comment out debugging info
comment out debugging info
C++
lgpl-2.1
moses-smt/mosesdecoder,alvations/mosesdecoder,moses-smt/mosesdecoder,tofula/mosesdecoder,alvations/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mosesdecoder,alvations/mosesdecoder,tofula/mosesdecoder,tofula/mosesdecoder,alvations/mosesdecoder,tofula/mosesdecoder,tofula/mosesdecoder,moses-smt/mosesdecoder,moses-smt/mos...
419dcb6b5688c6573fcba270ea6792f112985780
examples/graphics/frontBack.cpp
examples/graphics/frontBack.cpp
/* Allocore Example: Front and back views Description: This example demonstrates how to render both front and back views from a single navigation point. Author: Lance Putnam, 8/29/2011 */ #include "alloutil/al_World.hpp" using namespace al; class MyActor : public Actor{ public: virtual void onDraw(Graphics& g, ...
/* Allocore Example: Front and back views Description: This example demonstrates how to render both front and back views from a single navigation point. Author: Lance Putnam, 8/29/2011 */ #include "alloutil/al_App.hpp" using namespace al; class MyApp : public App{ public: virtual void onDraw(Graphics& g, const ...
update to use App
update to use App
C++
bsd-3-clause
AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem,AlloSphere-Research-Group/AlloSystem
4726f5d6716b111e1adf80ab92e304fd4fc7475c
core/Core/ExperimentDataLoading/LoadingUtilities.cpp
core/Core/ExperimentDataLoading/LoadingUtilities.cpp
/** * LoadingUtilities.cpp * * Copyright (c) 2004 MIT. All rights reserved. */ #include "OpenGLContextManager.h" #include "Event.h" #include "LoadingUtilities.h" #include "Experiment.h" #include "PlatformDependentServices.h" #include "SystemEventFactory.h" #include "EventBuffer.h" #include "StandardVariables.h" ...
/** * LoadingUtilities.cpp * * Copyright (c) 2004 MIT. All rights reserved. */ #include "OpenGLContextManager.h" #include "Event.h" #include "LoadingUtilities.h" #include "Experiment.h" #include "PlatformDependentServices.h" #include "SystemEventFactory.h" #include "EventBuffer.h" #include "StandardVariables.h" ...
Clear the stimulus display after the experiment and all components have been loaded
Clear the stimulus display after the experiment and all components have been loaded This (hopefully!) eliminates the persistent display update "hiccups" that occur the first time an experiment is run.
C++
mit
mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks,mworks/mworks
05bda291ea7d7c6bb47af0470b93925b84c66965
examples/querymessages/main.cpp
examples/querymessages/main.cpp
/**************************************************************************** ** ** Copyright (C) 2010 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:BSD$ ** You may u...
/**************************************************************************** ** ** Copyright (C) 2010 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:BSD$ ** You may u...
Remove spurious 0x.
Remove spurious 0x.
C++
lgpl-2.1
tmcguire/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,enthought/qt-mobility,qtproject/qt-mobility,tmcguire/qt-mobility,...
a4f40c1b2422573ce0d17c4074ac1f36f9066b43
python/brotlimodule.cc
python/brotlimodule.cc
#define PY_SSIZE_T_CLEAN 1 #include <Python.h> #include <bytesobject.h> #include "../enc/encode.h" #include "../dec/decode.h" #include "../tools/version.h" #if PY_MAJOR_VERSION >= 3 #define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #endif using namespace brotli; static PyObject *BrotliError; stati...
#define PY_SSIZE_T_CLEAN 1 #include <Python.h> #include <bytesobject.h> #include "../enc/encode.h" #include "../dec/decode.h" #include "../tools/version.h" #if PY_MAJOR_VERSION >= 3 #define PyInt_Check PyLong_Check #define PyInt_AsLong PyLong_AsLong #endif using namespace brotli; static PyObject *BrotliError; stati...
Fix brotlimodule compilation warnings
Fix brotlimodule compilation warnings
C++
mit
google/brotli,anthrotype/brotli,smourier/brotli,szabadka/brotli,nicksay/brotli,nicksay/brotli,google/brotli,anthrotype/brotli,smourier/brotli,szabadka/brotli,smourier/brotli,nicksay/brotli,smourier/brotli,szabadka/brotli,nicksay/brotli,nicksay/brotli,anthrotype/brotli,nicksay/brotli,google/brotli,nicksay/brotli,anthrot...
7c750a855a02eef9823eeab7360866206a65c17d
dali/internal/system/common/command-line-options.cpp
dali/internal/system/common/command-line-options.cpp
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * 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...
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. * * 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...
Move getopt.h include file to the bottom
windows: Move getopt.h include file to the bottom getopt-win32 defines the symbol _END_EXTERN_C and undefines at the end of the file. It turns out msvc standard library defines this same symbol. If getopt.h is included before C++ standard includes, it will undef _END_EXTERN_C and causes compilation errors under msvc....
C++
apache-2.0
dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor
819c5c9dcd4be568900ddde5567cfdcd2f47bdd2
sdc-plugin/clocks.cc
sdc-plugin/clocks.cc
/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2020 The Symbiflow Authors * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * ...
/* * yosys -- Yosys Open SYnthesis Suite * * Copyright (C) 2020 The Symbiflow Authors * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * ...
Add period and waveform format error checks
SDC: Add period and waveform format error checks Signed-off-by: Tomasz Michalak <a2fdaa543b4cc5e3d6cd8672ec412c0eb393b86e@antmicro.com>
C++
apache-2.0
chipsalliance/yosys-f4pga-plugins,SymbiFlow/yosys-f4pga-plugins,chipsalliance/yosys-f4pga-plugins,SymbiFlow/yosys-symbiflow-plugins,SymbiFlow/yosys-f4pga-plugins,SymbiFlow/yosys-symbiflow-plugins,antmicro/yosys-symbiflow-plugins,antmicro/yosys-symbiflow-plugins,SymbiFlow/yosys-f4pga-plugins,antmicro/yosys-symbiflow-plu...
b79726cb41bd4c094d8b6f82e2faacd4cbd1d1e0
debug_layer/varun_gazebo/src/varun_motion_plugin.cpp
debug_layer/varun_gazebo/src/varun_motion_plugin.cpp
// Copyright 2016 AUV-IITK #include <gazebo/common/Plugin.hh> #include <geometry_msgs/Wrench.h> #include <std_msgs/Int32.h> #include <ros/ros.h> #include <gazebo/gazebo.hh> #include <gazebo/physics/physics.hh> #include <gazebo/transport/transport.hh> #include <gazebo/msgs/msgs.hh> #include <gazebo/math/gzmath.hh> const...
// Copyright 2016 AUV-IITK #include <gazebo/common/Plugin.hh> #include <geometry_msgs/Wrench.h> #include <std_msgs/Int32.h> #include <ros/ros.h> #include <gazebo/gazebo.hh> #include <gazebo/physics/physics.hh> #include <gazebo/transport/transport.hh> #include <gazebo/msgs/msgs.hh> #include <gazebo/math/gzmath.hh> const...
Add error factor to varun motion plugin
Add error factor to varun motion plugin Calculated the expected linear acceleration and angular acceleration, added error factor so that imu output matched expected values. Error is because mass and inertia of varun in model.sdf have slight error.
C++
bsd-3-clause
AUV-IITK/auv,AUV-IITK/auv,AUV-IITK/auv,ShikherVerma/auv,ShikherVerma/auv,ShikherVerma/auv
c854daf6110644ba5dd0a29b101c1907f037783a
runtime/vm/thread_interrupter_fuchsia.cc
runtime/vm/thread_interrupter_fuchsia.cc
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "platform/globals.h" #if defined(HOST_OS_FUCHSIA) #include "vm/thread_interrupter.h" #includ...
// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "platform/globals.h" #if defined(HOST_OS_FUCHSIA) #include "vm/thread_interrupter.h" #includ...
Update a type for a Fuchsia syscall.
Update a type for a Fuchsia syscall. Change-Id: I92993e5e7bc60fee02b9301b8069ac2b94995020 Reviewed-on: https://dart-review.googlesource.com/38440 Reviewed-by: Zach Anderson <9f8b31e960a68dade71618f1ff6da6e23a1edfc9@google.com>
C++
bsd-3-clause
dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,...
47a7e196979ec3edcfefdcf440b1caf96eb83928
Rendering/vtkPrimitivePainter.cxx
Rendering/vtkPrimitivePainter.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkPrimitivePainter.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 softw...
/*========================================================================= Program: Visualization Toolkit Module: vtkPrimitivePainter.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 softw...
Fix the condition to determine if colors have alpha < 1.
Fix the condition to determine if colors have alpha < 1. The condition to check if we can avoid passing alpha to the graphics card was incorrect. Previous commit broke traditional opacity with scalar coloring, while the code before that didn't respect alpha when scalars weren't mapped. The right fix is to look at the ...
C++
bsd-3-clause
cjh1/VTK,spthaolt/VTK,aashish24/VTK-old,ashray/VTK-EVM,ashray/VTK-EVM,collects/VTK,msmolens/VTK,gram526/VTK,SimVascular/VTK,SimVascular/VTK,gram526/VTK,candy7393/VTK,demarle/VTK,berendkleinhaneveld/VTK,sankhesh/VTK,jmerkow/VTK,berendkleinhaneveld/VTK,sankhesh/VTK,msmolens/VTK,mspark93/VTK,candy7393/VTK,keithroe/vtkopti...
958362e457c329d7915fc9f2d5c0d6a779bebd67
util/kd_tree.cc
util/kd_tree.cc
/* * Author: Dino Wernli */ #include "kd_tree.h" #include <glog/logging.h> #include "renderer/intersection_data.h" #include "scene/element.h" #include "util/ray.h" struct KdTree::Node { // Creates an empty leaf. Sets axis to X. Node(); // Only to be called on leaves. Expects depth to be the current depth o...
/* * Author: Dino Wernli */ #include "kd_tree.h" #include <glog/logging.h> #include "renderer/intersection_data.h" #include "scene/element.h" #include "util/ray.h" struct KdTree::Node { // Creates an empty leaf. Sets axis to X. Node(); // Only to be called on leaves. Expects depth to be the current depth o...
Fix nasty bug in KdTree building.
Fix nasty bug in KdTree building.
C++
mit
dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer,dinowernli/raytracer
9357a53a7daf9071fc7e46bb6b511c318f02fdbe
util/options.cc
util/options.cc
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/options.h" #include <limits> #include "leveldb/cache.h" #include "leveldb/compactio...
// Copyright (c) 2011 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #include "leveldb/options.h" #include <limits> #include "leveldb/cache.h" #include "leveldb/compactio...
Fix merge problems with options.
Fix merge problems with options. Summary: Fix merge problems with options. Test Plan: Reviewers: CC: Task ID: # Blame Rev:
C++
bsd-3-clause
wenduo/rocksdb,JohnPJenkins/rocksdb,zhangpng/rocksdb,vashstorm/rocksdb,caijieming-baidu/rocksdb,geraldoandradee/rocksdb,wenduo/rocksdb,fengshao0907/rocksdb,makelivedotnet/rocksdb,fengshao0907/rocksdb,hobinyoon/rocksdb,wlqGit/rocksdb,facebook/rocksdb,temicai/rocksdb,Andymic/rocksdb,vmx/rocksdb,Vaisman/rocksdb,wenduo/roc...
de382903a709bcc62a84719eb97240b35ae23ea4
util/vector.cpp
util/vector.cpp
/* * vector.cpp * * Created on: 17/09/2013 * Author: drb */ #include "vector.h" #define _USE_MATH_DEFINES #include <cmath> #include <vector> /* * Rotation using point rotation around the origin ( more here http://en.wikipedia.org/wiki/Rotation_%28mathematics%29 ) * Angle in degrees */ std::vector<SDL_Po...
/* * vector.cpp * * Created on: 17/09/2013 * Author: drb */ #include "vector.h" #define _USE_MATH_DEFINES #include <cmath> #include <vector> /* * Rotation using point rotation around the origin ( more here http://en.wikipedia.org/wiki/Rotation_%28mathematics%29 ) * Angle in degrees */ std::vector<SDL_Po...
Update vector.cpp
Update vector.cpp Turned Rect check in the polygon collision check.
C++
unlicense
zyphrus/asteroids,zyphrus/asteroids
817e54b1baa830b25979dd68c8b2c852aa864cbe
src/cpp/session/modules/zotero/ZoteroCollectionsWeb.cpp
src/cpp/session/modules/zotero/ZoteroCollectionsWeb.cpp
/* * ZoteroCollectionsWeb.cpp * * Copyright (C) 2009-20 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public ...
/* * ZoteroCollectionsWeb.cpp * * Copyright (C) 2009-20 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public ...
include api version in zotero requests
include api version in zotero requests
C++
agpl-3.0
JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio
b9bf6191ee1cf40c81e6cc2c80c9c49d426f174b
utils/utils.hpp
utils/utils.hpp
/* * A Remote Debugger for SpiderMonkey Java Script engine. * Copyright (C) 2014-2015 Sławomir Wojtasiak * * 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 t...
/* * A Remote Debugger for SpiderMonkey Java Script engine. * Copyright (C) 2014-2015 Sławomir Wojtasiak * * 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 t...
add OnScopeExit helper class
utils: add OnScopeExit helper class
C++
lgpl-2.1
swojtasiak/jsrdbg,bkircher/jsrdbg,bkircher/jsrdbg,otris/jsrdbg,otris/jsrdbg,swojtasiak/jsrdbg,bkircher/jsrdbg,swojtasiak/jsrdbg,otris/jsrdbg,swojtasiak/jsrdbg,bkircher/jsrdbg
c2deb40189cbc762030fd1c11b84b6746bcb8621
finans/core_test/testcmdline.cc
finans/core_test/testcmdline.cc
// Copyright (2015) Gustav #include "finans/core/commandline.h" #include "gtest/gtest.h" #include "gmock/gmock.h" using namespace testing; class TestSubParser : public argparse::SubParser { public: TestSubParser() { } void AddParser(argparse::Parser& parser) override { parser.AddOption("-name", name); ...
// Copyright (2015) Gustav #include "finans/core/commandline.h" #include "gtest/gtest.h" #include "gmock/gmock.h" using namespace testing; class TestSubParser : public argparse::SubParser { public: TestSubParser() { } void AddParser(argparse::Parser& parser) override { parser.AddOption("-name", name); ...
verify that the subparser function is called
verify that the subparser function is called
C++
mit
madeso/finans,madeso/finans
3619ec97dd338fea1979f18cc3407ca4dc4aefab
folly/test/ForeachBenchmark.cpp
folly/test/ForeachBenchmark.cpp
/* * Copyright 2016 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2016 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
fix command line parsing
fix command line parsing Summary: parse command line flags to pick up -json flag Reviewed By: mzlee Differential Revision: D3405794 fbshipit-source-id: e2d216c74f04c15d7470c70abfc2bd25c2ceda98
C++
apache-2.0
brunomorishita/folly,facebook/folly,rklabs/folly,floxard/folly,brunomorishita/folly,floxard/folly,mqeizi/folly,rklabs/folly,floxard/folly,facebook/folly,rklabs/folly,mqeizi/folly,rklabs/folly,facebook/folly,charsyam/folly,mqeizi/folly,Orvid/folly,Orvid/folly,brunomorishita/folly,floxard/folly,Orvid/folly,brunomorishita...
76280e87789c96f1c3ba8e283410fefbec3209f7
hardware/arduino/sam/cores/arduino/UARTClass.cpp
hardware/arduino/sam/cores/arduino/UARTClass.cpp
/* Copyright (c) 2011 Arduino. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This ...
/* Copyright (c) 2011 Arduino. All right reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This ...
Correct an issue where write could send data out of order.
Correct an issue where write could send data out of order.
C++
lgpl-2.1
gonium/Arduino,PaoloP74/Arduino,shannonshsu/Arduino,laylthe/Arduino,arunkuttiyara/Arduino,nkolban/Arduino,Cloudino/Cloudino-Arduino-IDE,jabezGit/Arduino,OpenDevice/Arduino,jomolinare/Arduino,arduino-org/Arduino,lukeWal/Arduino,talhaburak/Arduino,Alfredynho/AgroSis,arduino-org/Arduino,NeuralSpaz/Arduino,Cloudino/Cloudin...
eeddd58c1a68c2fd6842dc5708fcd263e976a5dd
kalarm/main.cpp
kalarm/main.cpp
/* * main.cpp * Program: kalarm * Copyright (C) 2001 - 2005 by David Jarvie <software@astrojar.org.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
/* * main.cpp * Program: kalarm * Copyright (C) 2001 - 2005 by David Jarvie <software@astrojar.org.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lic...
Remove KDE 2 compatibility code
Remove KDE 2 compatibility code svn path=/branches/KDE/3.5/kdepim/; revision=453902
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
74ea7b03b3237486a992201bd0244407a1e40636
test/instr/OptimizeEnumsTestVerify.cpp
test/instr/OptimizeEnumsTestVerify.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. */ #include <unordered_set> #include "DexInstruction.h" #include "verify/VerifyUtil.h" namespace { constexpr const char* FOO = "Lc...
/** * 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. */ #include <unordered_set> #include "DexInstruction.h" #include "SwitchMap.h" #include "verify/VerifyUtil.h" namespace { constexp...
Handle if-else tree in SwitchMap
Handle if-else tree in SwitchMap Summary: SwitchMethodPartitioning was originally designed for methods that had a single switch statement, but this diff extends it to support methods that use an if-else tree to choose a case block (instead of a switch). These methods may have been switch-only in source code, but have ...
C++
mit
facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex
141a323c3410f9d65b75cd546af69715735db23a
paddle/operators/spp_op.cc
paddle/operators/spp_op.cc
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Indicesou may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Indicesou may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable l...
fix a bug
fix a bug
C++
apache-2.0
PaddlePaddle/Paddle,PaddlePaddle/Paddle,lcy-seso/Paddle,tensor-tang/Paddle,reyoung/Paddle,Canpio/Paddle,lcy-seso/Paddle,Canpio/Paddle,jacquesqiao/Paddle,putcn/Paddle,reyoung/Paddle,tensor-tang/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,pkuyym/Paddle,Canpio/Paddle,QiJune/Paddle,lcy-seso/Paddle,reyoung/Paddle,reyoung/Padd...
d744ab12d3a72169ef656fc6bcec6d9eadd1a3ec
test_rclcpp/test/test_subscription.cpp
test_rclcpp/test/test_subscription.cpp
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
test case for spinning before creating subscription
test case for spinning before creating subscription
C++
apache-2.0
ros2/system_tests,ros2/system_tests
ac8a1b75428a9fdff58d61d30044172a430123f6
karmaplugin.cpp
karmaplugin.cpp
/** * Copyright (c) Sjors Gielen, 2011-2012 * See LICENSE for license. */ #include <QtCore/QList> #include <QtCore/QDebug> #include <QtCore/QCoreApplication> #include "karmaplugin.h" int main(int argc, char *argv[]) { if(argc < 2) { qWarning() << "Usage: dazeus-plugin-karma socketfile"; return 1; } QString...
/** * Copyright (c) Sjors Gielen, 2011-2012 * See LICENSE for license. */ #include <QtCore/QList> #include <QtCore/QDebug> #include <QtCore/QCoreApplication> #include "karmaplugin.h" int main(int argc, char *argv[]) { if(argc < 2) { qWarning() << "Usage: dazeus-plugin-karma socketfile"; return 1; } QString...
Implement case insensitivity for karma objects
Implement case insensitivity for karma objects
C++
mit
dazeus/dazeus-plugin-karma,dazeus/dazeus-plugin-karma,dazeus/dazeus-plugin-karma
d3b8934c64526b7659dfb1a68869654f86664962
tests/concurrency/transaction_test.cpp
tests/concurrency/transaction_test.cpp
//===----------------------------------------------------------------------===// // // PelotonDB // // transaction_test.cpp // // Identification: tests/concurrency/transaction_test.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-----------------------------------...
//===----------------------------------------------------------------------===// // // PelotonDB // // transaction_test.cpp // // Identification: tests/concurrency/transaction_test.cpp // // Copyright (c) 2015, Carnegie Mellon University Database Group // //===-----------------------------------...
test abort insertion
test abort insertion
C++
apache-2.0
ranxian/peloton,larryxiao/peloton-1,amaliujia/CMUDB-peloton,ranxian/peloton,ranxian/peloton,omegaga/peloton,larryxiao/peloton-1,larryxiao/peloton,larryxiao/peloton,omegaga/peloton,larryxiao/peloton,amaliujia/CMUDB-peloton,amaliujia/CMUDB-peloton,larryxiao/peloton,omegaga/peloton,larryxiao/peloton-1,omegaga/peloton,larr...
48d2c96b3c5e08a1a028a946e1cba1a59c02f2dc
db/serializer.hh
db/serializer.hh
/* * Copyright 2015 Cloudius Systems */ #ifndef DB_SERIALIZER_HH_ #define DB_SERIALIZER_HH_ #include "utils/data_input.hh" #include "utils/data_output.hh" #include "bytes.hh" #include "mutation.hh" #include "keys.hh" #include "database_fwd.hh" #include "frozen_mutation.hh" namespace db { /** * Serialization objec...
/* * Copyright 2015 Cloudius Systems */ #ifndef DB_SERIALIZER_HH_ #define DB_SERIALIZER_HH_ #include "utils/data_input.hh" #include "utils/data_output.hh" #include "bytes_ostream.hh" #include "bytes.hh" #include "mutation.hh" #include "keys.hh" #include "database_fwd.hh" #include "frozen_mutation.hh" namespace db ...
Introduce write() which works with bytes_ostream
db/serializer: Introduce write() which works with bytes_ostream
C++
agpl-3.0
justintung/scylla,phonkee/scylla,capturePointer/scylla,scylladb/scylla,justintung/scylla,linearregression/scylla,wildinto/scylla,respu/scylla,capturePointer/scylla,gwicke/scylla,dwdm/scylla,raphaelsc/scylla,bowlofstew/scylla,kangkot/scylla,aruanruan/scylla,shaunstanislaus/scylla,guiquanz/scylla,phonkee/scylla,eklitzke/...
61ea5383383346ad2a25bd725e2f5e1f003260eb
plugins/single_plugins/grid.cpp
plugins/single_plugins/grid.cpp
#include <output.hpp> #include <core.hpp> #include <debug.hpp> #include <view.hpp> #include <workspace-manager.hpp> #include <render-manager.hpp> #include <algorithm> #include <linux/input-event-codes.h> #include "signal-definitions.hpp" #include <nonstd/make_unique.hpp> #include <animation.hpp> #include "snap_signal....
#include <output.hpp> #include <core.hpp> #include <debug.hpp> #include <view.hpp> #include <workspace-manager.hpp> #include <render-manager.hpp> #include <algorithm> #include <linux/input-event-codes.h> #include "signal-definitions.hpp" #include <nonstd/make_unique.hpp> #include <animation.hpp> #include "snap_signal....
check if there is active view before doing anything
grid: check if there is active view before doing anything
C++
mit
ammen99/wayfire,ammen99/wayfire
d695ee6573ad3b37952ef930b1608c9227dfe6f7
decoder/trule.cc
decoder/trule.cc
#include "trule.h" #include <sstream> #include "stringlib.h" #include "tdict.h" #include "rule_lexer.h" #include "threadlocal.h" using namespace std; ostream &operator<<(ostream &o,TRule const& r) { return o<<r.AsString(true); } bool TRule::IsGoal() const { static const int kGOAL(TD::Convert("Goal") * -1); // ...
#include "trule.h" #include <sstream> #include "stringlib.h" #include "tdict.h" #include "rule_lexer.h" #include "threadlocal.h" using namespace std; ostream &operator<<(ostream &o,TRule const& r) { return o<<r.AsString(true); } bool TRule::IsGoal() const { static const int kGOAL(TD::Convert("Goal") * -1); // ...
print word alignments in rule
print word alignments in rule
C++
apache-2.0
pks/cdec-dtrain,redpony/cdec,carhaas/cdec-semparse,m5w/atools,redpony/cdec,pks/cdec-dtrain,veer66/cdec,veer66/cdec,pks/cdec-dtrain,pks/cdec-dtrain,redpony/cdec,carhaas/cdec-semparse,pks/cdec-dtrain,m5w/atools,pks/cdec-dtrain,redpony/cdec,redpony/cdec,veer66/cdec,carhaas/cdec-semparse,veer66/cdec,carhaas/cdec-semparse,c...
639733baabd52a0bf286ba9651514e783d5bf5d6
targets/FreeRTOS/ESP32_DevKitC/nanoCLR/nanoFramework.Hardware.ESP32/nanoFramework_hardware_esp32_native.cpp
targets/FreeRTOS/ESP32_DevKitC/nanoCLR/nanoFramework.Hardware.ESP32/nanoFramework_hardware_esp32_native.cpp
// // Copyright (c) 2018 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "nanoFramework_hardware_esp32_native.h" static const CLR_RT_MethodHandler method_lookup[] = { NU...
// // Copyright (c) 2018 The nanoFramework project contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #include "nanoFramework_hardware_esp32_native.h" static const CLR_RT_MethodHandler method_lookup[] = { NU...
Update nanoFramework.Hardware.Esp32 version to 1.0.2-preview-004 (#968)
Update nanoFramework.Hardware.Esp32 version to 1.0.2-preview-004 (#968)
C++
mit
nanoframework/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter,Eclo/nf-interpreter,Eclo/nf-interpreter,nanoframework/nf-interpreter,nanoframework/nf-interpreter
8d11ec9820c3b46fd6d8aa0c34e1ec0085e3de31
physics/ephemeris_test.cpp
physics/ephemeris_test.cpp
#include "physics/ephemeris.hpp" #include "geometry/frame.hpp" #include "gtest/gtest.h" #include "integrators/symplectic_runge_kutta_nyström_integrator.hpp" #include "quantities/si.hpp" #include "serialization/geometry.pb.h" namespace principia { using integrators::BlanesMoan2002SRKN11B; using si::Metre; using si::...
#include "physics/ephemeris.hpp" #include "geometry/frame.hpp" #include "gtest/gtest.h" #include "integrators/symplectic_runge_kutta_nyström_integrator.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/si.hpp" #include "serialization/geometry.pb.h" namespace principia { using integrators::McL...
Test skeleton.
Test skeleton.
C++
mit
eggrobin/Principia,pleroy/Principia,Norgg/Principia,pleroy/Principia,pleroy/Principia,mockingbirdnest/Principia,pleroy/Principia,mockingbirdnest/Principia,eggrobin/Principia,Norgg/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,Norgg/Principia,eggrobin/Principia,Norgg/Principia
9f381d6003bf97939897bb0899170a0aa05b0681
libcaf_net/caf/net/middleman.hpp
libcaf_net/caf/net/middleman.hpp
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor * ...
Implement missing api in middleman
Implement missing api in middleman
C++
bsd-3-clause
actor-framework/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework
b07a404de42b4b0908f49df20679c31263def130
desktop/Pool.cpp
desktop/Pool.cpp
#include "Pool.h" #include <iostream> #include <math.h> const float Pool::BALL_RADIUS = 0.5/40; void Pool::setWhiteBall(Vec2 whiteBall) { this->whiteBall = whiteBall; } void Pool::setTargetBall(Vec2 targetBall) { this->targetBall = targetBall; } void Pool::setPocket(Vec2 pocket) { this->pocket = pocket; ...
#include "Pool.h" #include <iostream> #include <math.h> const float Pool::BALL_RADIUS = 0.5/40; void Pool::setWhiteBall(Vec2 whiteBall) { this->whiteBall = whiteBall; } void Pool::setTargetBall(Vec2 targetBall) { this->targetBall = targetBall; } void Pool::setPocket(Vec2 pocket) { this->pocket = pocket; ...
Fix bug in ball collision code where line would be placed incorrectly
Fix bug in ball collision code where line would be placed incorrectly
C++
mit
TheZoq2/Raspi-ImageProcessing,TheZoq2/Raspi-ImageProcessing,TheZoq2/Raspi-ImageProcessing
d9f1c9827485e5ccaa6d9d93c4427ae8b7c310fc
imaging/vtkImageFilter.cxx
imaging/vtkImageFilter.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkImageFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Thanks: Thanks to C. Charles Law who developed this class. Copyright (c) 1993-1995 Ken Martin, Will Schroeder...
/*========================================================================= Program: Visualization Toolkit Module: vtkImageFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Thanks: Thanks to C. Charles Law who developed this class. Copyright (c) 1993-1995 Ken Martin, Will Schroeder...
initialize progress
ENH: initialize progress
C++
bsd-3-clause
sankhesh/VTK,jeffbaumes/jeffbaumes-vtk,ashray/VTK-EVM,keithroe/vtkoptix,msmolens/VTK,sumedhasingla/VTK,ashray/VTK-EVM,SimVascular/VTK,sankhesh/VTK,SimVascular/VTK,keithroe/vtkoptix,naucoin/VTKSlicerWidgets,cjh1/VTK,berendkleinhaneveld/VTK,sgh/vtk,demarle/VTK,johnkit/vtk-dev,naucoin/VTKSlicerWidgets,Wuteyan/VTK,berendkl...
94dee0ca4b2e2b66926129d731d3fd0c6502bf15
dgl/src/pugl.cpp
dgl/src/pugl.cpp
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear in all copies. ...
Fix a typo; set pugl backend as stub if it ends up being null
Fix a typo; set pugl backend as stub if it ends up being null
C++
isc
DISTRHO/DPF,DISTRHO/DPF,DISTRHO/DPF,DISTRHO/DPF
72d9c1db6266d41d817bb805180acc081d6569eb
include/tudocomp/Coder.hpp
include/tudocomp/Coder.hpp
#ifndef _INCLUDED_CODER_HPP_ #define _INCLUDED_CODER_HPP_ #include <tudocomp/io.hpp> #include <tudocomp/Algorithm.hpp> namespace tdc { /*abstract*/ class Encoder : public Algorithm { private: std::unique_ptr<io::OutputStream> m_outs; protected: std::unique_ptr<BitOStream> m_out; public: inline Encoder...
#ifndef _INCLUDED_CODER_HPP_ #define _INCLUDED_CODER_HPP_ #include <tudocomp/io.hpp> #include <tudocomp/Algorithm.hpp> namespace tdc { /*abstract*/ class Encoder : public Algorithm { private: std::unique_ptr<io::OutputStream> m_outs; protected: std::unique_ptr<BitOStream> m_out; public: inline Encoder...
Complete Decoder base class
Complete Decoder base class
C++
apache-2.0
tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp
635a34b6075ae6d2a33b96a6ba13bb9c455a9192
xchainer/backprop.cc
xchainer/backprop.cc
#include "xchainer/backprop.h" #include <functional> #include <memory> #include <queue> #include <unordered_map> #include <gsl/gsl> #include <nonstd/optional.hpp> #include "xchainer/array.h" #include "xchainer/array_node.h" #include "xchainer/op_node.h" namespace xchainer { namespace { class BackwardImpl { usi...
#include "xchainer/backprop.h" #include <functional> #include <memory> #include <queue> #include <unordered_map> #include <gsl/gsl> #include <nonstd/optional.hpp> #include "xchainer/array.h" #include "xchainer/array_node.h" #include "xchainer/op_node.h" namespace xchainer { namespace { class BackwardImpl { usi...
Add assertion
Add assertion
C++
mit
chainer/chainer,niboshi/chainer,okuta/chainer,okuta/chainer,keisuke-umezawa/chainer,niboshi/chainer,keisuke-umezawa/chainer,jnishi/chainer,niboshi/chainer,chainer/chainer,wkentaro/chainer,niboshi/chainer,chainer/chainer,hvy/chainer,ktnyt/chainer,okuta/chainer,ktnyt/chainer,okuta/chainer,chainer/chainer,wkentaro/chainer...
38c8896499aa223b1c4593bceddcc3b2af25e413
zlreactor/net/TcpConnection.cpp
zlreactor/net/TcpConnection.cpp
#include "TcpConnection.h" #include "net/Socket.h" #include "base/ZLog.h" #include "net/EventLoop.h" #include "net/Channel.h" NAMESPACE_ZL_NET_START void defaultConnectionCallback(const TcpConnectionPtr& conn) { LOG_INFO("defaultConnectionCallback : [%s]<->[%s] [%s]\n", conn->localAddress().ipPort().c_str(...
#include "TcpConnection.h" #include "net/Socket.h" #include "base/ZLog.h" #include "net/EventLoop.h" #include "net/Channel.h" NAMESPACE_ZL_NET_START void defaultConnectionCallback(const TcpConnectionPtr& conn) { LOG_INFO("defaultConnectionCallback : [%s]<->[%s] [%s]\n", conn->localAddress().ipPort().c_str(...
use ZL_ASSERT
[MOD] use ZL_ASSERT
C++
mit
lizhenghn123/zl_reactor,lizhenghn123/zl_reactor,lizhenghn123/zl_reactor
559946f2fcb276741ccc8e9196a8ce877d9f4d21
geometry/point2d.hpp
geometry/point2d.hpp
#pragma once #include "../base/assert.hpp" #include "../base/base.hpp" #include "../base/math.hpp" #include "../base/matrix.hpp" #include "../std/cmath.hpp" #include "../std/sstream.hpp" #include "../std/typeinfo.hpp" namespace m2 { template <typename T> class Point { public: typedef T value_type; T...
#pragma once #include "../base/assert.hpp" #include "../base/base.hpp" #include "../base/math.hpp" #include "../base/matrix.hpp" #include "../std/cmath.hpp" #include "../std/sstream.hpp" #include "../std/typeinfo.hpp" namespace m2 { template <typename T> class Point { public: typedef T value_type; T...
add IsPointInsideTriangle implementation
[geometry] add IsPointInsideTriangle implementation
C++
apache-2.0
vasilenkomike/omim,Komzpa/omim,Saicheg/omim,vng/omim,programming086/omim,Volcanoscar/omim,bykoianko/omim,vng/omim,bykoianko/omim,jam891/omim,trashkalmar/omim,mgsergio/omim,ygorshenin/omim,yunikkk/omim,augmify/omim,Endika/omim,goblinr/omim,mpimenov/omim,Komzpa/omim,stangls/omim,vladon/omim,therearesomewhocallmetim/omim,...
b6969463304806938af9a9ec3eace1d8149b7157
sorting/heapSort.cpp
sorting/heapSort.cpp
/* Algorithm : Heap Sort Refer : CLRS Chapter on heap sort Author : manojpandey */ #include <iostream> #include <cstdio> #include <string> #include <utility> // pair #include <vector> #include <algorithm> #include <cmath> #include <cstring> //memset using namespace std; typedef vector<int> vi; typedef...
/* Algorithm : Heap Sort Refer : CLRS Chapter on heap sort Author : manojpandey */ #include <iostream> #include <cstdio> #include <string> #include <utility> // pair #include <vector> #include <algorithm> #include <cmath> #include <cstring> //memset using namespace std; typedef vector<int> vi; typedef...
Update heapSort.cpp
Update heapSort.cpp
C++
mit
manojpandey/utility
9a6de9f7ac243b67f237cabbd0f3cc544da4ad8b
include/Nazara/Math/Vector4.hpp
include/Nazara/Math/Vector4.hpp
// Copyright (C) 2015 Rémi Bèges - Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VECTOR4_HPP #define NAZARA_VECTOR4_HPP #include <Nazara/Core/String.hpp> namespace Nz { struc...
// Copyright (C) 2015 Rémi Bèges - Jérôme Leclercq // This file is part of the "Nazara Engine - Mathematics module" // For conditions of distribution and use, see copyright notice in Config.hpp #pragma once #ifndef NAZARA_VECTOR4_HPP #define NAZARA_VECTOR4_HPP #include <Nazara/Core/String.hpp> namespace Nz { struc...
Fix w value when converting from Vector3
Math/Vector4: Fix w value when converting from Vector3 Former-commit-id: 0ad39219de839bb1de859baac059441e36c04444 [formerly d2516303dd597418bd2939f737617f0fad1f0da4] Former-commit-id: 7d5223e4e34b50dbb4ec9e0d22c7801470099d2a
C++
mit
DigitalPulseSoftware/NazaraEngine
8424d1b41b50a0f43277d2609efa808e2b3ef524
include/cppurses/system/key.hpp
include/cppurses/system/key.hpp
#ifndef CPPURSES_SYSTEM_KEY_HPP #define CPPURSES_SYSTEM_KEY_HPP namespace cppurses { /// Enums for key codes from the keyboard with descriptive names. /** Names taken from ncurses. */ enum class Key : short { // Control Characters Null = 0, // Ctrl + Space, or Ctrl + 2, OR Ctrl + @ Ctrl_a, // Star...
#ifndef CPPURSES_SYSTEM_KEY_HPP #define CPPURSES_SYSTEM_KEY_HPP #include <cstddef> #include <functional> #include <type_traits> namespace cppurses { /// Enums for key codes from the keyboard with descriptive names. /** Names taken from ncurses. */ enum class Key : short { // Control Characters Null = 0, //...
Add std::hash cppurses::Key specialization for older compilers.
Add std::hash cppurses::Key specialization for older compilers.
C++
mit
a-n-t-h-o-n-y/CPPurses
4db8fcb77315a5b913e453ffa92966963605847e
include/distortos/FifoQueue.hpp
include/distortos/FifoQueue.hpp
/** * \file * \brief FifoQueue class header * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You...
/** * \file * \brief FifoQueue class header * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed with this file, You...
use aggregation instead of inheritance
FifoQueue: use aggregation instead of inheritance
C++
mpl-2.0
jasmin-j/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos