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
c72b6912649ea85a7f91ef50a4e0a2ec89aab908
Testing/mitkSliceNavigationControllerTest.cpp
Testing/mitkSliceNavigationControllerTest.cpp
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See...
/*========================================================================= Program: Medical Imaging & Interaction Toolkit Module: $RCSfile$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. See...
test changed according to image alignment fix
CHG: test changed according to image alignment fix
C++
bsd-3-clause
RabadanLab/MITKats,RabadanLab/MITKats,fmilano/mitk,NifTK/MITK,MITK/MITK,iwegner/MITK,MITK/MITK,danielknorr/MITK,nocnokneo/MITK,fmilano/mitk,rfloca/MITK,fmilano/mitk,iwegner/MITK,rfloca/MITK,nocnokneo/MITK,nocnokneo/MITK,danielknorr/MITK,MITK/MITK,lsanzdiaz/MITK-BiiG,RabadanLab/MITKats,rfloca/MITK,lsanzdiaz/MITK-BiiG,da...
64c41917c16ec70bc66e1f3e8aeb1d9cf02d5862
contrib/libHilbert/include/Hilbert/Algorithm.hpp
contrib/libHilbert/include/Hilbert/Algorithm.hpp
/* * Copyright (C) 2006-2014 Chris Hamilton <chamilton@cs.dal.ca> * * 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 late...
/* * Copyright (C) 2006-2014 Chris Hamilton <chamilton@cs.dal.ca> * * 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 late...
Fix small documentation issue in libHilbert.
Fix small documentation issue in libHilbert.
C++
lgpl-2.1
jiangwen84/libmesh,jwpeterson/libmesh,pbauman/libmesh,friedmud/libmesh,salazardetroya/libmesh,karpeev/libmesh,pbauman/libmesh,capitalaslash/libmesh,giorgiobornia/libmesh,karpeev/libmesh,benkirk/libmesh,balborian/libmesh,jiangwen84/libmesh,pbauman/libmesh,aeslaughter/libmesh,friedmud/libmesh,roystgnr/libmesh,balborian/l...
8aea252ff4fa2123c91fc0c07df7fdb03a6efda3
src/uoj2254.cpp
src/uoj2254.cpp
#include <stdio.h> #include <queue> #include <vector> #include <utility> #include <iostream> //#include <string> #include <stack> #include <queue> using namespace std; typedef char[21] string; queue<string> lv1; queue<string> lv2; queue<string> lv3; queue<string> lv4; string temp; int templv; int temptime=0; int u...
#include <stdio.h> #include <queue> #include <vector> #include <utility> #include <iostream> //#include <string> #include <stack> #include <queue> using namespace std; typedef char string[21]; queue<string> lv1; queue<string> lv2; queue<string> lv3; queue<string> lv4; string temp; int templv; int temptime=0; int u...
update uoj2254
update uoj2254
C++
mit
czfshine/my_oj,czfshine/my_oj,czfshine/my_oj,czfshine/my_oj
eb3aac5c25d816759257d0c79568f173f0e056d2
webkit/tools/test_shell/test_shell_main.cc
webkit/tools/test_shell/test_shell_main.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Creates an instance of the test_shell. #include <stdlib.h> // required by _set_abort_behavior #include <windows.h> #include <commctrl.h> #...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Creates an instance of the test_shell. #include <stdlib.h> // required by _set_abort_behavior #include <windows.h> #include <commctrl.h> #...
Fix indentation. Review URL: http://codereview.chromium.org/5636
Fix indentation. Review URL: http://codereview.chromium.org/5636 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@2816 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
9ac4d6fcbd36fce6dcc9b069bdf248e38aef35fe
webkit/tools/test_shell/test_shell_main.cc
webkit/tools/test_shell/test_shell_main.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/at_exit.h" #include "base/basictypes.h" #include "base/command_line.h" #include "base/event_recorder.h" #include "base/file_path.h...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/at_exit.h" #include "base/basictypes.h" #include "base/command_line.h" #include "base/event_recorder.h" #include "base/file_path.h...
allow relative paths on the command line
test_shell: allow relative paths on the command line This makes "./out/Debug/test_shell path/to/file.html" do the right thing. In theory I should use URLFixerUpper but that's deep inside chrome/browser/; this is simple enough anyway. Review URL: http://codereview.chromium.org/1711024 git-svn-id: de016e52bd170d2d4f23...
C++
bsd-3-clause
yitian134/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,g...
041d5b39749a832524af1bbc005c2b3c528118fa
src/uvw/lib.hpp
src/uvw/lib.hpp
#pragma once #include <utility> #include <memory> #include <string> #include <uv.h> #include "loop.hpp" namespace uvw { namespace details { template<typename T> struct IsFunc: std::false_type { }; template<typename R, typename... A> struct IsFunc<R(A...)>: std::true_type { }; } /** * @brief The SharedLib c...
#pragma once #include <utility> #include <memory> #include <string> #include <type_traits> #include <uv.h> #include "loop.hpp" namespace uvw { /** * @brief The SharedLib class. * * `uvw` provides cross platform utilities for loading shared libraries and * retrieving symbols from them, by means of the API offe...
Use std::is_function instead of IsFunc
SharedLib: Use std::is_function instead of IsFunc
C++
mit
skypjack/uvw,tusharpm/uvw,tusharpm/uvw,skypjack/uvw,skypjack/uvw,tusharpm/uvw
5dfd4d6c7539b56694429d3b8e90823c4862018c
heron/common/tests/cpp/network/http_server_unittest.cpp
heron/common/tests/cpp/network/http_server_unittest.cpp
/* * Copyright 2015 Twitter, 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 2015 Twitter, 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 ...
add checking server starting return (#1984)
add checking server starting return (#1984)
C++
apache-2.0
streamlio/heron,nlu90/heron,tomncooper/heron,tomncooper/heron,mycFelix/heron,ashvina/heron,srkukarni/heron,nlu90/heron,ashvina/heron,mycFelix/heron,twitter/heron,srkukarni/heron,huijunwu/heron,streamlio/heron,srkukarni/heron,srkukarni/heron,huijunwu/heron,srkukarni/heron,lucperkins/heron,nlu90/heron,ashvina/heron,srkuk...
5917ecfb7af44056dc4596041fd7abdce0d949cb
src/tester.cpp
src/tester.cpp
#include <iostream> #include <stdexcept> #include <memory> #include <set> #include <chrono> #include <mutex> #include <thread> #include <atomic> #include <ogdf/basic/Graph.h> #include <ogdf/basic/simple_graph_alg.h> #include <ogdf/basic/graph_generators.h> #include "helpers.h" #include "circuitcocircuit.h" #define BIA...
#include <iostream> #include <stdexcept> #include <memory> #include <set> #include <chrono> #include <mutex> #include <thread> #include <atomic> #include <ogdf/basic/Graph.h> #include <ogdf/basic/simple_graph_alg.h> #include <ogdf/basic/graph_generators.h> #include "helpers.h" #include "circuitcocircuit.h" #define BIA...
Set random seed for OGDF's randomSimpleGraph
Tester: Set random seed for OGDF's randomSimpleGraph
C++
mit
OndrejSlamecka/mincuts
e86f59c3b562786ff6d5fbc19ac5234d019f7577
src/Application/SkyXHydrax/EC_SkyX.cpp
src/Application/SkyXHydrax/EC_SkyX.cpp
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file EC_SkyX.cpp * @brief A sky component using SkyX, http://www.ogre3d.org/tikiwiki/SkyX */ #define OGRE_INTEROP #include "DebugOperatorNew.h" #include "EC_SkyX.h" #include "Scene.h" #include "Framework.h" #include "F...
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file EC_SkyX.cpp * @brief A sky component using SkyX, http://www.ogre3d.org/tikiwiki/SkyX */ #define OGRE_INTEROP #include "DebugOperatorNew.h" #include "EC_SkyX.h" #include "Scene.h" #include "Framework.h" #include "F...
Add operator bool to EC_SkyXImpl so that instead of e.g. "if (impl && impl->skyX)" we can just write "if (impl)". Also, restore the original Ogre scene manager ambient color when EC_SkyX is deleted.
EC_SkyX: Add operator bool to EC_SkyXImpl so that instead of e.g. "if (impl && impl->skyX)" we can just write "if (impl)". Also, restore the original Ogre scene manager ambient color when EC_SkyX is deleted.
C++
apache-2.0
BogusCurry/tundra,pharos3d/tundra,realXtend/tundra,jesterKing/naali,pharos3d/tundra,realXtend/tundra,BogusCurry/tundra,realXtend/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,jesterKing/naali,realXtend/tundra,jesterKing/naali,pharos3d/tundra,jesterKing/naali,pharos3d/tundra,realXtend/tundra,BogusCurry/tundra,BogusCurry/tu...
2ad923b5ca826939ce7847cdfed209fb9e9daef4
src/tstock.cxx
src/tstock.cxx
/* * Connection pooling for the translation server. * * author: Max Kellermann <mk@cm4all.com> */ #include "tstock.hxx" #include "TranslateHandler.hxx" #include "translate_client.hxx" #include "stock/Stock.hxx" #include "stock/Class.hxx" #include "stock/Item.hxx" #include "stock/GetHandler.hxx" #include "lease.hxx...
/* * Connection pooling for the translation server. * * author: Max Kellermann <mk@cm4all.com> */ #include "tstock.hxx" #include "TranslateHandler.hxx" #include "translate_client.hxx" #include "stock/Stock.hxx" #include "stock/Class.hxx" #include "stock/Item.hxx" #include "stock/GetHandler.hxx" #include "lease.hxx...
use class SocketEvent
tstock: use class SocketEvent
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
ec4c6f8546882e212f0ea6764d454b75978fe478
graf3d/eve7/inc/ROOT/REveDataSimpleProxyBuilderTemplate.hxx
graf3d/eve7/inc/ROOT/REveDataSimpleProxyBuilderTemplate.hxx
#ifndef ROOT7_REveDataProxySimpleBuilderTemplate #define ROOT7_REveDataProxySimpleBuilderTemplate #include <ROOT/REveDataSimpleProxyBuilder.hxx> namespace ROOT { namespace Experimental { template <typename T> class REveDataSimpleProxyBuilderTemplate : public REveDataSimpleProxyBuilder { public: REveDataSimpleP...
#ifndef ROOT7_REveDataProxySimpleBuilderTemplate #define ROOT7_REveDataProxySimpleBuilderTemplate #include <ROOT/REveDataSimpleProxyBuilder.hxx> namespace ROOT { namespace Experimental { template <typename T> class REveDataSimpleProxyBuilderTemplate : public REveDataSimpleProxyBuilder { public: REveDataSimpleP...
fix compiler warning, use override instead of virtual
[eve7] fix compiler warning, use override instead of virtual
C++
lgpl-2.1
karies/root,olifre/root,olifre/root,root-mirror/root,olifre/root,karies/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,olifre/root,karies/root,root-mirror/root,karies/root,olifre/root,root-mirror/root,karies/root,root-mirror/root,root-mirror/root...
86298aec81cc10f2500d6730c92b3db9be3c5043
src/vector.hpp
src/vector.hpp
/* This file is part of Groho, a simulator for inter-planetary travel and warfare. Copyright (c) 2017-2018 by Kaushik Ghose. Some rights reserved, see LICENSE A small class to carry a Vector data structure */ #pragma once #include <cmath> #include <iostream> namespace sim { struct Vector { double x, y, z, t; ...
/* This file is part of Groho, a simulator for inter-planetary travel and warfare. Copyright (c) 2017-2018 by Kaushik Ghose. Some rights reserved, see LICENSE A small class to carry a Vector data structure */ #pragma once #include <cmath> #include <iostream> namespace sim { struct Vector { double x, y, z; ...
Remove t from Vector
Remove t from Vector This will now go in body state
C++
mit
kghose/groho
6e407d0274068a3fdbad4b81e264754c8ddf3e49
courier/serialization/pybind.cc
courier/serialization/pybind.cc
// Copyright 2020 DeepMind Technologies Limited. // // 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 l...
// Copyright 2020 DeepMind Technologies Limited. // // 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 l...
Use Courier macros in pybind.
Use Courier macros in pybind. PiperOrigin-RevId: 425835248 Change-Id: Ieea4a3137c81bf8af56fa445140d039222a6e30c
C++
apache-2.0
deepmind/launchpad,deepmind/launchpad,deepmind/launchpad,deepmind/launchpad
10d2adf012d4462d30654da4b40b115fe2b5b4ee
cpp/Classes/HelloWorldScene.cpp
cpp/Classes/HelloWorldScene.cpp
#include "HelloWorldScene.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" #include "PluginGoogleAnalytics/PluginGoogleAnalytics.h" USING_NS_CC; Scene* HelloWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease object a...
#include "HelloWorldScene.h" #include "ui/CocosGUI.h" #include "cocostudio/CocoStudio.h" #include "PluginGoogleAnalytics/PluginGoogleAnalytics.h" USING_NS_CC; Scene* HelloWorld::createScene() { // 'scene' is an autorelease object auto scene = Scene::create(); // 'layer' is an autorelease object a...
test google analytics
test google analytics
C++
mit
wanghuan1115/sdkbox-ga-sample,wanghuan1115/sdkbox-ga-sample,tinybearc/sdkbox-ga-sample,wanghuan1115/sdkbox-ga-sample,tinybearc/sdkbox-ga-sample,tinybearc/sdkbox-ga-sample,wanghuan1115/sdkbox-ga-sample,wanghuan1115/sdkbox-ga-sample,tinybearc/sdkbox-ga-sample,wanghuan1115/sdkbox-ga-sample,tinybearc/sdkbox-ga-sample,wangh...
0414489e739b9949834a3f24c3a494e6b291b465
daemon/src/Salamandre-daemon/ServerBroadcast.cpp
daemon/src/Salamandre-daemon/ServerBroadcast.cpp
#include <Salamandre-daemon/ServerBroadcast.hpp> #include <Salamandre-daemon/ServerFunctions.hpp> #include <Socket/FuncWrapper.hpp> #include <Salamandre-stats/stats.hpp> #include <chrono> namespace salamandre { ServerBroadcast::ServerBroadcast(int port,int server_port): port(port), server_port(se...
#include <Salamandre-daemon/ServerBroadcast.hpp> #include <Salamandre-daemon/ServerFunctions.hpp> #include <Socket/FuncWrapper.hpp> #include <Salamandre-stats/stats.hpp> #include <chrono> namespace salamandre { ServerBroadcast::ServerBroadcast(int port,int server_port): port(port), server_port(se...
remove debug print
remove debug print
C++
bsd-2-clause
Krozark/Salamandre,Krozark/Salamandre
453ab8783895dda2880976840818b81cc08f2111
include/fl/model/observation/robust_feature_obsrv_model.hpp
include/fl/model/observation/robust_feature_obsrv_model.hpp
/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * University of Souther...
/* * This is part of the FL library, a C++ Bayesian filtering library * (https://github.com/filtering-library) * * Copyright (c) 2014 Jan Issac (jan.issac@gmail.com) * Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com) * * Max-Planck Institute for Intelligent Systems, AMD Lab * University of Souther...
Return inf feature if input obsrv was inf
Return inf feature if input obsrv was inf
C++
mit
filtering-library/fl,SimonEbner/fl
0a9bb39299bca7771e3e5706c5110ed76a0359ab
libraries/blockchain/include/bts/blockchain/checkpoints.hpp
libraries/blockchain/include/bts/blockchain/checkpoints.hpp
#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::unordered_map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8523e28fde6eed4eb749a84e28c9c7b56870c9cc" ) }, { 25001, bts::blockchain::block_id_type( ...
#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::unordered_map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8523e28fde6eed4eb749a84e28c9c7b56870c9cc" ) }, { 25001, bts::blockchain::block_id_type( ...
Update checkpoint
Update checkpoint
C++
unlicense
camponez/bitshares,camponez/bitshares,bitshares/bitshares-0.x,frrp/bitshares,bitshares/bitshares,FollowMyVote/bitshares,jakeporter/Bitshares,jakeporter/Bitshares,RemitaBit/Remitabit,frrp/bitshares,bitshares/bitshares-0.x,jakeporter/Bitshares,RemitaBit/Remitabit,camponez/bitshares,frrp/bitshares,camponez/bitshares,campo...
6f27c3da0e9b5e14440d2129c43835f0344211f7
moses-cmd/src/Main.cpp
moses-cmd/src/Main.cpp
// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (c) 2006 University of Edinburgh All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following co...
// $Id$ /*********************************************************************** Moses - factored phrase-based language decoder Copyright (c) 2006 University of Edinburgh All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following co...
put back Visual Leak Detector for Win32 build
put back Visual Leak Detector for Win32 build git-svn-id: f5d636078e73450abf2183305c5e43efec2a5605@807 1f5c12ca-751b-0410-a591-d2e778427230
C++
lgpl-2.1
pjwilliams/mosesdecoder,emjotde/mosesdecoder_nmt,KonceptGeek/mosesdecoder,KonceptGeek/mosesdecoder,moses-smt/mosesdecoder,hychyc07/mosesdecoder,hychyc07/mosesdecoder,alvations/mosesdecoder,emjotde/mosesdecoder_nmt,pjwilliams/mosesdecoder,moses-smt/mosesdecoder,tofula/mosesdecoder,emjotde/mosesdecoder_nmt,moses-smt/mose...
d90691fde2fc72b9e67089c591c830c05d90eaa7
lib/Simulation.cpp
lib/Simulation.cpp
// Simulation.cpp // // Implementation of the simulation objects // // Oliver W. Laslett (2015) // O.Laslett@soton.ac.uk // #include<Simulation.hpp> // ----- CONSTRUCTOR ----- Simulation::Simulation( const ParticleCluster g, const ad_vec init_state, const double stepsize, const unsigned int n, ...
// Simulation.cpp // // Implementation of the simulation objects // // Oliver W. Laslett (2015) // O.Laslett@soton.ac.uk // #include<Simulation.hpp> // ----- CONSTRUCTOR ----- Simulation::Simulation( const ParticleCluster g, const ad_vec init_state, const double stepsize, const unsigned int n, ...
use dynamic scheduling for fpt calcs
use dynamic scheduling for fpt calcs
C++
bsd-2-clause
owlas/maggie
4ce8a20c7fdc0f23a5f83c7d2d8980d8e4203375
examples/flash_spi_program/flash_spi_program.cpp
examples/flash_spi_program/flash_spi_program.cpp
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #include "config/stm32plus.h" #include "config/flash/spi.h" #include "config/sdcard.h" #include "config/usart.h" #include "config/filesystem.h"...
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #include "config/stm32plus.h" #include "config/flash/spi.h" #include "config/sdcard.h" #include "config/usart.h" #include "config/crc.h" #inclu...
add CRC to flash programming output
add CRC to flash programming output
C++
bsd-3-clause
trigrass2/stm32plus,ThanhVic/stm32plus,trigrass2/stm32plus,tokoro10g/stm32plus,phynex/stm32plus,lcbowling/stm32plus,trigrass2/stm32plus,lcbowling/stm32plus,lcbowling/stm32plus,ThanhVic/stm32plus,lcbowling/stm32plus,tokoro10g/stm32plus,tokoro10g/stm32plus,trigrass2/stm32plus,phynex/stm32plus,spiralray/stm32plus,ThanhVic...
9437f2c005b40f84eb074749114062cfbc456e98
lib/dag_select.hpp
lib/dag_select.hpp
/* * Copyright (c) 2011 Daisuke Okanohara * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above Copyright * notice, this list of condition...
/* * Copyright (c) 2011 Daisuke Okanohara * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above Copyright * notice, this list of condition...
remove debug message
remove debug message
C++
bsd-3-clause
pfi/dag_vector
9de27d2a7d97c7cbfc9e376757af3d97573de7f5
network_simulation.hpp
network_simulation.hpp
#ifndef __NETWORK_SIMULATION_HPP__ #define __NETWORK_SIMULATION_HPP__ #include "bwpathfinder.hpp" #include "libsimfw/simfw.hpp" #include "libsimfw/timer.hpp" #include <map> namespace bwpathfinder { typedef simfw::TimeInPS Time; class NetworkSimulation : public simfw::Simulation<Time> { struct Fl...
#ifndef __NETWORK_SIMULATION_HPP__ #define __NETWORK_SIMULATION_HPP__ #include "bwpathfinder.hpp" #include "libsimfw/simfw.hpp" #include "libsimfw/timer.hpp" #include <map> namespace bwpathfinder { typedef simfw::TimeInPS Time; class NetworkSimulation : public simfw::Simulation<Time> { struct Fl...
Reduce network simulation time
Reduce network simulation time
C++
mit
castl/libbwpathfinder,castl/libbwpathfinder
92d57f1151a661458365dbfdf746d78add8aa147
lib/file_utils.cpp
lib/file_utils.cpp
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
Fix for msvc
Fix for msvc
C++
mpl-2.0
jjdekker/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,nathanielbaxter/libminizinc,jjdekker/libminizinc,nathanielbaxter/libminizinc,tias/libminizinc,tias/libminizinc,jjdekker/libminizinc,nathanielbaxter/libminizinc
ec6e38f3e74dc24ee885a88ac16429c810ea4398
stereo_test.cpp
stereo_test.cpp
#include <iostream> #include <sstream> #include <vector> #include <algorithm> #include <thread> #include <iomanip> #include <chrono> #include "nxtcam.h" #include "stereo_config.h" #include "delta_robot_args.h" using namespace ev3dev; using namespace std; static cl::group motor_control("Motor control"); static cl::ar...
#include <iostream> #include <sstream> #include <vector> #include <algorithm> #include <thread> #include <iomanip> #include <chrono> #include "nxtcam.h" #include "stereo_config.h" #include "delta_robot_args.h" using namespace ev3dev; using namespace std; static cl::group motor_control("Motor control"); static cl::ar...
Use first observed 3D position as the origin
Use first observed 3D position as the origin
C++
apache-2.0
dsharlet/DeltaCatch
fb64f052dcf269ad30926f86114b324952e2b7db
SDK/src/NDK/LuaBinding_SDK.cpp
SDK/src/NDK/LuaBinding_SDK.cpp
// Copyright (C) 2016 Jrme Leclercq, Arnaud Cadot // This file is part of the "Nazara Development Kit" // For conditions of distribution and use, see copyright notice in Prerequesites.hpp #include <NDK/LuaBinding.hpp> #include <NDK/LuaAPI.hpp> namespace Ndk { /*! * \brief Binds SDK module to Lua */ void LuaBindi...
// Copyright (C) 2016 Jrme Leclercq, Arnaud Cadot // This file is part of the "Nazara Development Kit" // For conditions of distribution and use, see copyright notice in Prerequesites.hpp #include <NDK/LuaBinding.hpp> #include <NDK/LuaAPI.hpp> namespace Ndk { /*! * \brief Binds SDK module to Lua */ void LuaBindi...
Fix compilation
SDK/Binding: Fix compilation Former-commit-id: 16a69ef5de792f9093fc27ddafaa8e5677d9f66d [formerly 72c2eca09f8e48b414956056cbf16b40cd96b2e5] [formerly a73d622403c9a746ac5f39b3d45178bb21006a17 [formerly 095a0737f1aa42b7d4ba9e09fd897c5ab173b75b]] Former-commit-id: 0373630192183dd80d1250d6132ae676be0b7267 [formerly 4eee8...
C++
mit
DigitalPulseSoftware/NazaraEngine
e65087fde73d21894d26dcb92849e1104a152368
ojgl/examples/Main.cpp
ojgl/examples/Main.cpp
#include "EmbeddedResources.h" #include "FreeCameraController.h" #include "TextRenderer.hpp" #include "demo/Demo.h" #include "demos/DodensTriumf.h" #include "demos/Edison2021.h" #include "demos/Eldur.h" #include "demos/InnerSystemLab.h" #include "demos/QED.h" #include "demos/Template.h" #include "render/GLState.h" #inc...
#include "EmbeddedResources.h" #include "FreeCameraController.h" #include "TextRenderer.hpp" #include "demo/Demo.h" #include "demos/DodensTriumf.h" #include "demos/Edison2021.h" #include "demos/Eldur.h" #include "demos/InnerSystemLab.h" #include "demos/QED.h" #include "demos/Template.h" #include "render/GLState.h" #inc...
Remove hardcoded popup data
Remove hardcoded popup data
C++
mit
nordstroem/OJGL,nordstroem/OJGL
8efb78e1c2b2087fb28d9b2bdb4665b7cd38a004
xchainer/array_device_test.cc
xchainer/array_device_test.cc
#include "xchainer/array.h" #include <cassert> #include <initializer_list> #include <string> #ifdef XCHAINER_ENABLE_CUDA #include <cuda_runtime.h> #endif // XCHAINER_ENABLE_CUDA #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/array.h" #ifdef XCHAINER_ENABLE_CUDA #include "xchainer/cuda/cu...
#include "xchainer/array.h" #include <cassert> #include <initializer_list> #include <string> #ifdef XCHAINER_ENABLE_CUDA #include <cuda_runtime.h> #endif // XCHAINER_ENABLE_CUDA #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/array.h" #ifdef XCHAINER_ENABLE_CUDA #include "xchainer/cuda/cu...
Remove sparely used function
Remove sparely used function
C++
mit
okuta/chainer,okuta/chainer,niboshi/chainer,ktnyt/chainer,ktnyt/chainer,wkentaro/chainer,chainer/chainer,niboshi/chainer,okuta/chainer,tkerola/chainer,keisuke-umezawa/chainer,pfnet/chainer,niboshi/chainer,wkentaro/chainer,keisuke-umezawa/chainer,ktnyt/chainer,hvy/chainer,chainer/chainer,chainer/chainer,hvy/chainer,hvy/...
cf98d9c2884c3847047796b4b8930c2214839488
lib/src/control.cc
lib/src/control.cc
#include <algorithm> #include <chrono> #include "control.h" #include "bvs/archutils.h" using BVS::Control; using BVS::SystemFlag; Control::Control(ModuleDataMap& modules, BVS& bvs, Info& info) : modules(modules), bvs(bvs), info(info), logger{"Control"}, activePools{0}, pools{}, flag{SystemFlag::PAUSE}, bar...
#include <algorithm> #include <chrono> #include "control.h" #include "bvs/archutils.h" using BVS::Control; using BVS::SystemFlag; Control::Control(ModuleDataMap& modules, BVS& bvs, Info& info) : modules(modules), bvs(bvs), info(info), logger{"Control"}, activePools{0}, pools{}, flag{SystemFlag::PAUSE}, bar...
add master pool time to info.PoolDurations
control: add master pool time to info.PoolDurations
C++
mit
nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs
29908116a79b8f7b8fe744a3cfd31f9605dae28e
lib/src/control.cc
lib/src/control.cc
#include "control.h" #include<chrono> std::atomic<int> BVS::Control::runningThreads; int BVS::Control::threadedModules = 0; BVS::Control::Control() : flag(SystemFlag::PAUSE) , logger("Control") , masterMutex() , masterLock(masterMutex) , masterCond() , threadMutex() , threadCond() , controlThread() ,...
#include "control.h" #include<chrono> std::atomic<int> BVS::Control::runningThreads; int BVS::Control::threadedModules = 0; BVS::Control::Control() : flag(SystemFlag::PAUSE) , logger("Control") , masterMutex() , masterLock(masterMutex) , masterCond() , threadMutex() , threadCond() , controlThread() ,...
fix weird run behaviour
control: fix weird run behaviour
C++
mit
nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs
c7ecc12efc81c9c00e61961387d27447fdef3769
libipc/control.cpp
libipc/control.cpp
//===-- control.cpp -------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- control.cpp -------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
allow shutdown return value mismatch
allow shutdown return value mismatch
C++
isc
dtzWill/ipcopter,dtzWill/ipcopter,dtzWill/ipcopter,dtzWill/ipcopter,dtzWill/ipcopter,dtzWill/ipcopter
cb7959c31e3936d05ec1eafb4be54cedec0a9b11
C/plugins/north/omf/plugin.cpp
C/plugins/north/omf/plugin.cpp
/* * FogLAMP OMF north plugin. * * Copyright (c) 2018 Dianomic Systems * * Released under the Apache 2.0 Licence * * Author: Massimiliano Pinto */ #include <plugin_api.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <string> #include <logger.h> #include <plugin_exception.h> #include <ios...
/* * FogLAMP OMF north plugin. * * Copyright (c) 2018 Dianomic Systems * * Released under the Apache 2.0 Licence * * Author: Massimiliano Pinto */ #include <plugin_api.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <string> #include <logger.h> #include <plugin_exception.h> #include <ios...
Update plugin_api info in OMF C++ plugin (#950)
FOGL-1580: Update plugin_api info in OMF C++ plugin (#950) Use new plugin_api info config in OMF C++ plugin
C++
apache-2.0
foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP,foglamp/FogLAMP
ef36e712af209226e56a666a4f30867e854753c0
tests/error.cc
tests/error.cc
#include <yamail/resource_pool/error.hpp> #include <gtest/gtest.h> #include <limits> namespace { using namespace testing; using namespace yamail::resource_pool; using namespace yamail::resource_pool::error; using boost::system::error_code; struct error_test : Test {}; TEST(error_test, make_no_error_and_check_mes...
#include <yamail/resource_pool/error.hpp> #include <gtest/gtest.h> #include <limits> namespace { using namespace testing; using namespace yamail::resource_pool; using namespace yamail::resource_pool::error; using boost::system::error_code; struct error_test : Test {}; TEST(error_test, make_no_error_and_check_mes...
Fix raw strings compare
Fix raw strings compare Change-Id: I196e14ce1ad60468745720db371277b4efc5e0d4
C++
mit
elsid/resource_pool,elsid/resource_pool,elsid/resource_pool
40f3b9b0234c958e0bf710c1da21675548b769d0
tests/init.cpp
tests/init.cpp
#include "catch.hpp" #include <iostream> #include "Database_Creator.hpp" #include "Database_Sorter.hpp" person readPerson(std::string file_name, size_t index) { person result; std::ifstream file(file_name); for (size_t i = 0; i < index + 1; i++) { file >> result; } file.close(); return result; } bool isALessT...
#include "catch.hpp" #include <iostream> #include "Database_Creator.hpp" #include "Database_Sorter.hpp" person readPerson(std::string file_name, size_t index) { person result; std::ifstream file(file_name); for (size_t i = 0; i < index + 1; i++) { file >> result; } file.close(); return result; } bool isALessT...
Update init.cpp
Update init.cpp
C++
mit
ArtemKokorinStudent/External-sort
6e155dae2455ac196bd59b120bc2be0357d144e7
tests/init.cpp
tests/init.cpp
#include <stack.hpp> #include <catch.hpp> SCENARIO("init", "[init]") { stack<int> A; REQUIRE(A.count() == 0); } SCENARIO("Push", "[push]") { stack<int> A; A.push(1); A.push(2); REQUIRE(A.count() == 2); } SCENARIO("Pop", "[pop]") { stack<int> A; A.push(1); A.push(2); A.pop(); REQUIRE(A.count() == 1); } SC...
#include <stack.hpp> #include <catch.hpp> SCENARIO("init", "[init]") { stack<int> A; REQUIRE(A.count() == 0); } SCENARIO("Push", "[push]") { stack<int> A; A.push(1); A.push(2); REQUIRE(A.count() == 2); } SCENARIO("Pop", "[pop]") { stack<int> A; A.push(1); A.push(2); A.pop(); REQUIRE(A.count() == 1); } SC...
Update init.cpp
Update init.cpp
C++
mit
rtv22/stack
9c201e33969be9e67029eeb8067b78c3387259d6
tests/main.cpp
tests/main.cpp
//Copyright (c) 2015 Ultimaker B.V. //UltiScanTastic is released under the terms of the AGPLv3 or higher. #include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/ui/text/TestRunner.h> /*! * \brief Runs the test cases. */ int main(int argc,char** argv) { CppUnit::TextUi::TestRunner runner; CppU...
//Copyright (c) 2015 Ultimaker B.V. //UltiScanTastic is released under the terms of the AGPLv3 or higher. #include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/ui/text/TestRunner.h> /*! * \brief Runs the test cases. */ int main(int argc,char** argv) { CppUnit::TextUi::TestRunner runner; CppU...
Remove old try for return code
Remove old try for return code Directly returning the boolean didn't work.
C++
agpl-3.0
pratikshashroff/pcura,Ultimaker/CuraEngine,totalretribution/CuraEngine,markwal/CuraEngine,Ultimaker/CuraEngine,ROBO3D/CuraEngine,ROBO3D/CuraEngine,totalretribution/CuraEngine,ROBO3D/CuraEngine,alephobjects/CuraEngine,pratikshashroff/pcura,totalretribution/CuraEngine,markwal/CuraEngine,pratikshashroff/pcura,alephobjects...
431e00d8d5626ef816732592eb46ef4c17a4196a
src/main.cpp
src/main.cpp
#include "slk.h" #include "txt.h" #include "ini.h" #include "tonumber.h" #include "mdxopt.h" #include "real.h" namespace w3x { static bool is_string(std::string_view& s) { bool r = false; if (!s.empty() && s.front() == '"') { s.remove_prefix(1); r = true; } if (!s.empty() && s.back() == '"') { s...
#include "slk.h" #include "txt.h" #include "ini.h" #include "tonumber.h" #include "mdxopt.h" #include "real.h" namespace w3x { static bool is_string(std::string_view& s) { bool r = false; if (!s.empty() && s.front() == '"') { s.remove_prefix(1); r = true; } if (!s.empty() && s.back() == '"') { s...
Update main.cpp
Update main.cpp
C++
apache-2.0
actboy168/w3xparser,actboy168/w3xparser
05183c2de0078d493ffde531ac3fb7f53e2df621
src/main.cpp
src/main.cpp
// // main.cpp // thermaleraser // // Created by Mark Larus on 9/8/12. // Copyright (c) 2012 Kenyon College. All rights reserved. // #include <iostream> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf.h> #include <time.h> #include <semaphore.h> #include <algorithm> #include <math.h> #include <sqlite3.h> #includ...
// // main.cpp // thermaleraser // // Created by Mark Larus on 9/8/12. // Copyright (c) 2012 Kenyon College. All rights reserved. // #include <iostream> #include <gsl/gsl_randist.h> #include <gsl/gsl_sf.h> #include <time.h> #include <semaphore.h> #include <algorithm> #include <math.h> #include <sqlite3.h> #includ...
Add --benchmark flag
Add --benchmark flag
C++
mit
marblar/demon,marblar/demon,marblar/demon,marblar/demon
f32e9a7bb4b121a03ee0c8e900682db876252357
src/test.cpp
src/test.cpp
/* * client.cpp * * Handles the client env. * * Created by Ryan Faulkner on 2014-06-08 * Copyright (c) 2014. All rights reserved. */ #include <iostream> #include <string> #include <vector> #include <regex> #include <assert.h> #include "column_types.h" #include "redis.h" #include "md5.h" #include "index.h"...
/* * client.cpp * * Handles the client env. * * Created by Ryan Faulkner on 2014-06-08 * Copyright (c) 2014. All rights reserved. */ #include <iostream> #include <string> #include <vector> #include <regex> #include <assert.h> #include "column_types.h" #include "redis.h" #include "md5.h" #include "index.h"...
test stubs for field assignment type mismatches
test stubs for field assignment type mismatches
C++
apache-2.0
rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes,rfaulkner/databayes
02bddef3bd889b08d291797c47208640138f7635
Sprite.cpp
Sprite.cpp
#include "Sprite.h" Sprite::Sprite() : Node() { // Image m_sprite_path = ""; // Collision Body m_body = new Body; } Sprite::Sprite(std::string p_sprite_path) : Sprite() { // Image m_sprite_path = p_sprite_path; } Sprite::~Sprite() {} void Sprite::setPosition(Vec2<doub...
#include "Sprite.h" Sprite::Sprite() : Node() { // Image m_sprite_path = ""; // Collision Body m_body = new Body; } Sprite::Sprite(std::string p_sprite_path) : Sprite() { // Image m_sprite_path = p_sprite_path; } Sprite::~Sprite() {} void Sprite::setPosition(Vec2<doub...
Remove infinite loop from collides_with(Sprite*)
Remove infinite loop from collides_with(Sprite*)
C++
mit
maksym-gryb/SDL_Wrapper,maksym-gryb/SDL_Wrapper
de3f454c27c4598961583b2ac86b67a159478ee6
editor/plugins/skeleton_2d_editor_plugin.cpp
editor/plugins/skeleton_2d_editor_plugin.cpp
/*************************************************************************/ /* skeleton_2d_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*************************************************************************/ /* skeleton_2d_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose"
Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose" The new terms are more descriptive of each button's actual function. (cherry picked from commit 16cfb97ca20ae04dc1d3a87dcc24cec5bb38266c)
C++
mit
ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot
c9abaaa923ea2a92fb504dbc3c7f32fef4020387
vm/llvm/inline.hpp
vm/llvm/inline.hpp
#include "llvm/jit_operations.hpp" #include "llvm/access_memory.hpp" #include "builtin/access_variable.hpp" #include "builtin/iseq.hpp" namespace rubinius { class Inliner { JITOperations& ops_; InlineCache* cache_; int count_; BasicBlock* after_; public: Inliner(JITOperations& ops, InlineCac...
#include "llvm/jit_operations.hpp" #include "llvm/access_memory.hpp" #include "builtin/access_variable.hpp" #include "builtin/iseq.hpp" namespace rubinius { class Inliner { JITOperations& ops_; InlineCache* cache_; int count_; BasicBlock* after_; public: Inliner(JITOperations& ops, InlineCac...
Add inlining of methods just returning symbols
Add inlining of methods just returning symbols
C++
mpl-2.0
jsyeo/rubinius,Wirachmat/rubinius,jsyeo/rubinius,pH14/rubinius,ngpestelos/rubinius,ngpestelos/rubinius,pH14/rubinius,lgierth/rubinius,mlarraz/rubinius,dblock/rubinius,travis-repos/rubinius,Wirachmat/rubinius,ngpestelos/rubinius,heftig/rubinius,kachick/rubinius,pH14/rubinius,heftig/rubinius,jemc/rubinius,digitalextremis...
1c56f6a9bb14a6a2fcd23823db5b02407c308a00
vm/llvm/passes.cpp
vm/llvm/passes.cpp
#ifdef ENABLE_LLVM #include "llvm/passes.hpp" #include <llvm/Attributes.h> #include <llvm/BasicBlock.h> #include <llvm/Function.h> #include <llvm/Instructions.h> #include <llvm/Transforms/Utils/Cloning.h> #include <llvm/Support/CallSite.h> #include <llvm/ADT/APInt.h> #include <llvm/Constants.h> #include <llvm/Module....
#ifdef ENABLE_LLVM #include "llvm/passes.hpp" #include <llvm/Attributes.h> #include <llvm/BasicBlock.h> #include <llvm/Function.h> #include <llvm/Instructions.h> #include <llvm/Constants.h> #include <llvm/Module.h> #include <llvm/Intrinsics.h> #include <llvm/Transforms/Utils/Cloning.h> #include <llvm/Support/CallSite...
Sort LLVM includes for coming LLVM 3.3 support
Sort LLVM includes for coming LLVM 3.3 support
C++
mpl-2.0
jemc/rubinius,jsyeo/rubinius,pH14/rubinius,jemc/rubinius,mlarraz/rubinius,ngpestelos/rubinius,jsyeo/rubinius,heftig/rubinius,digitalextremist/rubinius,jemc/rubinius,mlarraz/rubinius,kachick/rubinius,ngpestelos/rubinius,sferik/rubinius,dblock/rubinius,benlovell/rubinius,mlarraz/rubinius,jemc/rubinius,pH14/rubinius,benlo...
2d69985dcedf1fd0a5119616bd1d642e2decec68
Graphs/Traverse/dfs.cpp
Graphs/Traverse/dfs.cpp
#include <bits/stdc++.h> #define NUM_NODES 8 using namespace std; vector < int > g[NUM_NODES]; int vis[NUM_NODES]; enum {WHITE, GRAY, BLACK}; /* * o -> origin */ void dfs(int o){ vis [o] = GRAY; //semi-visited for (int i = 0; i < g[o].size(); i++){ int v = g[o][i]; if (vis[v] == WHITE) dfs(...
#include <bits/stdc++.h> #define NUM_NODES 20 using namespace std; vector < int > g[NUM_NODES]; int vis[NUM_NODES]; enum {WHITE, GRAY, BLACK}; /* * o -> origin */ void dfs(int o){ vis [o] = GRAY; //semi-visited for (int i = 0; i < g[o].size(); i++){ int v = g[o][i]; if (vis[v] == GRAY) cout...
Implement awesome form to detect cycles in a graph.
Implement awesome form to detect cycles in a graph.
C++
mit
xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book,xdanielsb/Marathon-book
feeef079eb1cd577a5eca763eef9c2c514a56e03
IO/vtkGlobFileNames.cxx
IO/vtkGlobFileNames.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkGlobFileNames.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
/*========================================================================= Program: Visualization Toolkit Module: vtkGlobFileNames.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software...
fix bad printself
BUG: fix bad printself
C++
bsd-3-clause
aashish24/VTK-old,naucoin/VTKSlicerWidgets,jeffbaumes/jeffbaumes-vtk,Wuteyan/VTK,msmolens/VTK,candy7393/VTK,SimVascular/VTK,collects/VTK,biddisco/VTK,daviddoria/PointGraphsPhase1,jeffbaumes/jeffbaumes-vtk,berendkleinhaneveld/VTK,cjh1/VTK,mspark93/VTK,candy7393/VTK,biddisco/VTK,demarle/VTK,johnkit/vtk-dev,gram526/VTK,jm...
e46aa6772e1e4a605c0feea89c12b0d27c5869a4
src/Nazara/Graphics/AbstractViewer.cpp
src/Nazara/Graphics/AbstractViewer.cpp
// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/AbstractViewer.hpp> #include <Nazara/Renderer/RenderTarget.hpp> #include <Nazara/Graphics/Debug.hpp> namespace Nz ...
// Copyright (C) 2017 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Graphics/AbstractViewer.hpp> #include <Nazara/Renderer/RenderTarget.hpp> #include <Nazara/Graphics/Debug.hpp> namespace Nz ...
Fix Unproject code
Graphics/AbstractViewer: Fix Unproject code
C++
mit
DigitalPulseSoftware/NazaraEngine
58b788f9e87318b9d69cdec1bf3f5077f541c42d
aaudio/echo/src/main/cpp/echo_audio_engine.cc
aaudio/echo/src/main/cpp/echo_audio_engine.cc
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix memory leak. Close #71
Fix memory leak. Close #71
C++
apache-2.0
googlearchive/android-audio-high-performance,googlearchive/android-audio-high-performance,googlearchive/android-audio-high-performance
eb0dcb6ddfe6c44904803db1a2b6e556b9d5b49e
Sieve-of-Eratosthenes/main.cpp
Sieve-of-Eratosthenes/main.cpp
#include <iostream> #include <cassert> #include <cmath> using namespace std; int main ( int argc, char *argv[] ) { assert ( argc == 2 ); unsigned long maxnumber = atol(argv[1]); // Create the sieve end initialize all numbers as prime (true) bool *numbers = new bool[maxnumber+1]; for ( unsigned lo...
#include <iostream> #include <cassert> #include <cmath> using namespace std; int main ( int argc, char *argv[] ) { unsigned long maxnumber = 0; if ( 2 == argc ) maxnumber = atol(argv[1]); else { cout << "Enter the highest number to test: "; cin >> maxnumber; } // Cr...
Read max number either from command line argument or ask user.
Sieve-of-Eratosthenes: Read max number either from command line argument or ask user.
C++
mit
Shadouw/CPPToyProblems
9ae80f9c1c371b1ead12a86e136b17e8a5385b7f
src/cbang/socket/SocketDefaultImpl.cpp
src/cbang/socket/SocketDefaultImpl.cpp
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
Fix Windows non-blocking connect problem
Fix Windows non-blocking connect problem
C++
lgpl-2.1
CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang
5348f1acc5f66f19612d1b24d44ed431f7a5992e
chrome/browser/chromeos/login/screen_locker_browsertest.cc
chrome/browser/chromeos/login/screen_locker_browsertest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "chrome/browser/automation/ui_controls.h" #...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/memory/scoped_ptr.h" #include "base/message_loop.h" #include "chrome/browser/automation/ui_controls.h" #...
Add documentation for why tests are disabled per http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/handling-a-failing-test
Add documentation for why tests are disabled per http://www.chromium.org/developers/tree-sheriffs/sheriff-details-chromium/handling-a-failing-test BUG=79164 TEST=none Review URL: http://codereview.chromium.org/6825077 git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@81264 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
C++
bsd-3-clause
wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser
17c3fa1402696861f2f1b238c4987a94310b85d2
chrome/browser/ui/panels/panel_browser_view_browsertest.cc
chrome/browser/ui/panels/panel_browser_view_browsertest.cc
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "chrome/browser/profiles/profile.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser...
Disable PanelBrowserViewTest.TitleBarMouseEvent for further investigation.
Disable PanelBrowserViewTest.TitleBarMouseEvent for further investigation. BUG=none TEST=none TBR=jennb Review URL: http://codereview.chromium.org/7013010 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@85062 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
yitian134/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,adobe/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,adobe/ch...
edd208d91fb821425a269a791f59a13198f0fc83
modules/skottie/src/animator/VectorKeyframeAnimator.cpp
modules/skottie/src/animator/VectorKeyframeAnimator.cpp
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/animator/VectorKeyframeAnimator.h" #include "include/core/SkTypes.h" #include "include/private/SkNx.h" #include "modules/skottie/src/SkottieJson...
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "modules/skottie/src/animator/VectorKeyframeAnimator.h" #include "include/core/SkTypes.h" #include "include/private/SkNx.h" #include "modules/skottie/src/SkottieJson...
Simplify SkColor conversion
[skottie] Simplify SkColor conversion Use the SkColor4f helper. TBR= Change-Id: Iefbbfb1c20a298c8a221f279f9c5b086613c91eb Reviewed-on: https://skia-review.googlesource.com/c/skia/+/296858 Reviewed-by: Florin Malita <a8262bf13ea8c26821e91ea9bca6740a77c96dcd@chromium.org> Commit-Queue: Florin Malita <a8262bf13ea8c26821...
C++
bsd-3-clause
google/skia,google/skia,google/skia,google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,aosp-mirror/platform_external_skia,google/skia,ao...
16b34270208a277e7dc9d437a7e557c471a1e390
modules/stickychan.cpp
modules/stickychan.cpp
/* * Copyright (C) 2004-2015 ZNC, see the NOTICE file for details. * * 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 requi...
/* * Copyright (C) 2004-2015 ZNC, see the NOTICE file for details. * * 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 requi...
Kill NoTimer::Callback - it was used it one place...
Kill NoTimer::Callback - it was used it one place...
C++
apache-2.0
Kriechi/nobnc,Kriechi/nobnc,Kriechi/nobnc
49e58da5b12e6fb26b4279fc443d7165cc64e115
peerconnection/samples/client/peer_connection_client.cc
peerconnection/samples/client/peer_connection_client.cc
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Fix release mode "unused variable" warnings in peerconnection. Review URL: http://webrtc-codereview.appspot.com/133010
Fix release mode "unused variable" warnings in peerconnection. Review URL: http://webrtc-codereview.appspot.com/133010 git-svn-id: 917f5d3ca488f358c4d40eaec14422cf392ccec9@510 4adac7df-926f-26a2-2b94-8c16560cd09d
C++
bsd-3-clause
mwgoldsmith/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,mwgoldsmith/libilbc,mwgoldsmith/libilbc,ShiftMediaProject/libilbc,mwgoldsmith/libilbc,mwgoldsmith/ilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,mwgoldsmith/ilbc,ShiftMediaProject/libilbc,mwgoldsmith/ilbc,TimothyGu/libilbc,TimothyGu/libilbc,ShiftMediaPro...
cc80f9eb4a3a58caf1050aadb578a09280e68ce0
Testing/Code/Algorithms/itkImageToImageAffineMutualInformationGradientDescentRegistrationTest.cxx
Testing/Code/Algorithms/itkImageToImageAffineMutualInformationGradientDescentRegistrationTest.cxx
/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: itkImageToImageAffineMutualInformationGradientDescentRegistrationTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2000 National Li...
/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: itkImageToImageAffineMutualInformationGradientDescentRegistrationTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 2000 National Li...
make success range larger to allow test to pass for all platforms
FIX: make success range larger to allow test to pass for all platforms
C++
apache-2.0
fuentesdt/InsightToolkit-dev,blowekamp/ITK,ajjl/ITK,jmerkow/ITK,fedral/ITK,biotrump/ITK,GEHC-Surgery/ITK,daviddoria/itkHoughTransform,LucasGandel/ITK,hendradarwin/ITK,atsnyder/ITK,Kitware/ITK,daviddoria/itkHoughTransform,hinerm/ITK,spinicist/ITK,PlutoniumHeart/ITK,stnava/ITK,daviddoria/itkHoughTransform,atsnyder/ITK,vf...
4c6931f3cb0a0e10f9798dcdacc2ab57a36a22bf
translator.cpp
translator.cpp
/****************************************************************************** * Copyright (C) 2016 Kitsune Ral <kitsune-ral@users.sf.net> * * 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 Foun...
/****************************************************************************** * Copyright (C) 2016 Kitsune Ral <kitsune-ral@users.sf.net> * * 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 Foun...
make sure baseName is filled even in empty types
Translator::mapType(): make sure baseName is filled even in empty types
C++
agpl-3.0
KitsuneRal/matrix-csapi-generator
3647031a27da9cfef1353166149c76e8ab58de5b
filter/source/odfflatxml/OdfFlatXml.cxx
filter/source/odfflatxml/OdfFlatXml.cxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License or as specified alternati...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License or as specified alternati...
Use getStr() on OString
Use getStr() on OString
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
64f036b4965a0338d5ff7e30cd673982d993848d
folly/wangle/acceptor/TransportInfo.cpp
folly/wangle/acceptor/TransportInfo.cpp
/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include <fo...
/* * Copyright (c) 2015, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include <fo...
fix the compling error caused by tcpinfo of low version
fix the compling error caused by tcpinfo of low version Summary: my D2097198 break the project relying on old glibc Test Plan: compling Reviewed By: wez@fb.com Subscribers: trunkagent, fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant FB internal diff: D2135297 Tasks: 7283522 Signature: t1:2135297:1433791259:...
C++
apache-2.0
constantine001/folly,Eagle-X/folly,constantine001/folly,kernelim/folly,upsoft/folly,yangjin-unique/folly,cole14/folly,CJstar/folly,SeanRBurton/folly,gavioto/folly,gaoyingie/folly,constantine001/folly,juniway/folly,bobegir/folly,CJstar/folly,shaobz/folly,bsampath/folly,shaobz/folly,constantine001/folly,guker/folly,fw112...
4f06bd3a3e57038cb1dc4adcb83642d4ae559909
InputCurveNode.C
InputCurveNode.C
#include <maya/MFnNumericAttribute.h> #include <maya/MFnTypedAttribute.h> #include <maya/MDataHandle.h> #include <maya/MPointArray.h> #include <maya/MFnNurbsCurve.h> #include "InputCurveNode.h" #include "MayaTypeID.h" #include "hapiutil.h" #include "util.h" #include <cassert> MString InputCurveNode::typeName = "houd...
#include <maya/MFnNumericAttribute.h> #include <maya/MFnTypedAttribute.h> #include <maya/MDataHandle.h> #include <maya/MPointArray.h> #include <maya/MFnNurbsCurve.h> #include "InputCurveNode.h" #include "MayaTypeID.h" #include "hapiutil.h" #include "util.h" #include <cassert> MString InputCurveNode::typeName = "houd...
add a warning if an input curve in maya ends up with end knots with multiplicity greater than the order of the curve
add a warning if an input curve in maya ends up with end knots with multiplicity greater than the order of the curve
C++
mit
sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya,sideeffects/HoudiniEngineForMaya
604c12b4660c038503a3a970f1ef986027065a88
server-tools/instance-manager/thread_registry.cc
server-tools/instance-manager/thread_registry.cc
/* Copyright (C) 2004-2006 MySQL AB 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
/* Copyright (C) 2004-2006 MySQL AB 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
Disable assert causing bug # 28030 temporarily, since it's non-critical, and the bug have been filed
thread_registry.cc: Disable assert causing bug # 28030 temporarily, since it's non-critical, and the bug have been filed server-tools/instance-manager/thread_registry.cc: Disable assert causing bug # 28030 temporarily, since it's non-critical, and the bug have been filed
C++
lgpl-2.1
natsys/mariadb_10.2,davidl-zend/zenddbi,natsys/mariadb_10.2,flynn1973/mariadb-aix,flynn1973/mariadb-aix,ollie314/server,flynn1973/mariadb-aix,flynn1973/mariadb-aix,davidl-zend/zenddbi,ollie314/server,ollie314/server,natsys/mariadb_10.2,flynn1973/mariadb-aix,davidl-zend/zenddbi,natsys/mariadb_10.2,ollie314/server,davidl...
974018a4dc13d30e1c51727e766f8669c5f372dc
source/glowutils/AxonometricLookAt.cpp
source/glowutils/AxonometricLookAt.cpp
#include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/quaternion.hpp> #include <glow/logging.h> #include <glowutils/AxonometricLookAt.h> using namespace glm; namespace glowutils { AxonometricLookAt::AxonometricLookAt( ProjectionType type , const vec3 & ...
#include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/quaternion.hpp> #include <glow/logging.h> #include <glowutils/AxonometricLookAt.h> using namespace glm; namespace glowutils { AxonometricLookAt::AxonometricLookAt( ProjectionType type , const vec3 & ...
fix compilation with newer versions of GLM (seems compatible with old version)
fix compilation with newer versions of GLM (seems compatible with old version)
C++
mit
j-o/globjects,j-o/globjects,j-o/globjects,hpi-r2d2/globjects,hpi-r2d2/globjects,j-o/globjects,cginternals/globjects,cginternals/globjects
eed041d26343f307d534eab4c05ecd9a16c4740d
extensions/ant_switch/extensions/ant_switch/ant_switch.cpp
extensions/ant_switch/extensions/ant_switch/ant_switch.cpp
// Copyright (c) 2018-2019 Kari Karvonen, OH1KK #include "ext.h" // all calls to the extension interface begin with "ext_", e.g. ext_register() #include "kiwi.h" #include "cfg.h" #include "str.h" #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <math.h> #include <strings.h> #include <sys/types.h> ...
// Copyright (c) 2018-2019 Kari Karvonen, OH1KK #include "ext.h" // all calls to the extension interface begin with "ext_", e.g. ext_register() #include "kiwi.h" #include "cfg.h" #include "str.h" #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <math.h> #include <strings.h> #include <sys/types.h> ...
Update ant_switch.cpp
Update ant_switch.cpp
C++
mit
OH1KK/KiwiSDR-antenna-switch-extension,OH1KK/KiwiSDR-antenna-switch-extension,OH1KK/KiwiSDR-antenna-switch-extension
32771673affaf216a06581b13ef3acf2ab08e378
Sources/Loaders/CardLoader.cpp
Sources/Loaders/CardLoader.cpp
/************************************************************************* > File Name: CardLoader.cpp > Project Name: Hearthstone++ > Author: Chan-Ho Chris Ohk > Purpose: Card loader that loads data from cards.json. > Created Time: 2017/08/13 > Copyright (c) 2017, Chan-Ho Chris Ohk ************************************...
/************************************************************************* > File Name: CardLoader.cpp > Project Name: Hearthstone++ > Author: Chan-Ho Chris Ohk > Purpose: Card loader that loads data from cards.json. > Created Time: 2017/08/13 > Copyright (c) 2017, Chan-Ho Chris Ohk ************************************...
Update CardLoader.cpp - Prepare to parse card data
Update CardLoader.cpp - Prepare to parse card data
C++
mit
Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp
31a762cab37aa623a77f0e29bcbcfc6c2d430721
lumina-fm/main.cpp
lumina-fm/main.cpp
#include <QTranslator> #ifdef __FreeBSD__ #include <qtsingleapplication.h> #endif #include <QtGui/QApplication> #include <QDebug> #include <QFile> #include <QTextCodec> #include "MainUI.h" #include <LuminaOS.h> #include <LuminaThemes.h> int main(int argc, char ** argv) { QStringList in; for(int i=1; i<argc;...
#include <QTranslator> #ifdef __FreeBSD__ #include <qtsingleapplication.h> #endif #include <QtGui/QApplication> #include <QDebug> #include <QFile> #include <QTextCodec> #include "MainUI.h" #include <LuminaOS.h> //#include <LuminaThemes.h> int main(int argc, char ** argv) { QStringList in; for(int i=1; i<arg...
Disable the usage of the theme engine within lumina-fm for the moment. Still trying to work out some of the functionality and don't want to enable it by default until it is fully ready.
Disable the usage of the theme engine within lumina-fm for the moment. Still trying to work out some of the functionality and don't want to enable it by default until it is fully ready.
C++
bsd-3-clause
krytarowski/lumina,grahamperrin/lumina,cpforbes/lumina,trueos/lumina,krytarowski/lumina,mneumann/lumina,pcbsd/lumina,cpforbes/lumina,pcbsd/lumina,harcobbit/lumina,Nanolx/lumina,harcobbit/lumina,trueos/lumina,sasongko26/lumina,cpforbes/lumina,sasongko26/lumina,sasongko26/lumina,cpforbes/lumina,cpforbes/lumina,trueos/lum...
acf85a3bed5836901fbb8497f7318ab699bacff2
src/file-events/cpp/win_fsnotifier.cpp
src/file-events/cpp/win_fsnotifier.cpp
#ifdef _WIN32 #include "win_fsnotifier.h" using namespace std; // // WatchPoint // WatchPoint::WatchPoint(Server* server, size_t bufferSize, const u16string& path) : path(path) , status(WatchPointStatus::NOT_LISTENING) { wstring pathW(path.begin(), path.end()); HANDLE directoryHandle = CreateFileW( ...
#ifdef _WIN32 #include "win_fsnotifier.h" using namespace std; // // WatchPoint // WatchPoint::WatchPoint(Server* server, size_t bufferSize, const u16string& path) : path(path) , status(WatchPointStatus::NOT_LISTENING) { wstring pathW(path.begin(), path.end()); HANDLE directoryHandle = CreateFileW( ...
Handle exception thrown by CloseHandle Windows API
Handle exception thrown by CloseHandle Windows API CloseHandle() can throw a structured exception (SEH) which we must handle in WatchPoint::close() instead of letting it buble up to ~WatchPoint().
C++
apache-2.0
adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform
3b69e3f6737f30f429361889c62ec9f324b6ffa2
firmware/nuengine/Rasterizer.cpp
firmware/nuengine/Rasterizer.cpp
// // Copyright 2011-2013 Jeff Bush // // 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 agr...
// // Copyright 2011-2013 Jeff Bush // // 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 agr...
Make rasterizer obey top left fill convention.
Make rasterizer obey top left fill convention.
C++
apache-2.0
hoangt/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,FulcronZ/NyuziProcessor,FulcronZ/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,hoangt/NyuziProcessor,hoangt/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziProcessor,jbush001/NyuziPr...
e325ea87cc7bc486b67d1f06228b8e5d63d60cbc
source/adios2/toolkit/format/bp/BPSerializer.tcc
source/adios2/toolkit/format/bp/BPSerializer.tcc
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * BPSerializer.tcc * * Created on: Sep 16, 2019 * Author: William F Godoy godoywf@ornl.gov */ #ifndef ADIOS2_TOOLKIT_FORMAT_BP_BPSERIALIZER_TCC_ #define ADIOS2_TOOLKIT_FORMAT_BP_BPSE...
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * BPSerializer.tcc * * Created on: Sep 16, 2019 * Author: William F Godoy godoywf@ornl.gov */ #ifndef ADIOS2_TOOLKIT_FORMAT_BP_BPSERIALIZER_TCC_ #define ADIOS2_TOOLKIT_FORMAT_BP_BPSE...
clean up
clean up
C++
apache-2.0
ornladios/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2,JasonRuonanWang/ADIOS2,JasonRuonanWang/ADIOS2,ornladios/ADIOS2
983d8d2ca250c2c613848fa60b145a2abc3ff0c1
source/core/search-manager/FuzzySearchRanker.cpp
source/core/search-manager/FuzzySearchRanker.cpp
#include "FuzzySearchRanker.h" #include "SearchManagerPreProcessor.h" #include "CustomRanker.h" #include "Sorter.h" #include "HitQueue.h" #include <configuration-manager/ProductRankingConfig.h> #include <query-manager/SearchKeywordOperation.h> #include <query-manager/ActionItem.h> #include <common/PropSharedLockSet.h>...
#include "FuzzySearchRanker.h" #include "SearchManagerPreProcessor.h" #include "CustomRanker.h" #include "Sorter.h" #include "HitQueue.h" #include <configuration-manager/ProductRankingConfig.h> #include <query-manager/SearchKeywordOperation.h> #include <query-manager/ActionItem.h> #include <common/PropSharedLockSet.h>...
Revise fuzzy search prune logic.
Revise fuzzy search prune logic. In fuzzy search result, if its category score is zero, it would be pruned.
C++
apache-2.0
pombredanne/sf1r-lite,izenecloud/sf1r-ad-delivery,pombredanne/sf1r-lite,pombredanne/sf1r-lite,izenecloud/sf1r-ad-delivery,pombredanne/sf1r-lite,izenecloud/sf1r-lite,pombredanne/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-ad-delivery,izenecloud/sf1r-lite,izenecloud/sf1r-lite,izenecloud/sf1...
5305e8ff0ce2e36b79fb95b45dba3632bb30d296
vika1/main.cpp
vika1/main.cpp
#include <iostream> #include "toplayer.h" using namespace std; int main() { toplayer ui; ui.run(); //hallo return 0; } //Pétur Push3
#include <iostream> #include "toplayer.h" using namespace std; int main() { toplayer ui; ui.run(); //hallo return 0; } //Pétur Push3 //Pétur Pull
Update main.cpp
Update main.cpp
C++
mit
Tyrath/T113-VLN
12229e4826ae5f90b64e08f23fc7d952d1ce4433
vvp/functor.cc
vvp/functor.cc
/* * Copyright (c) 2001 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at ...
/* * Copyright (c) 2001 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at ...
Fix handling of a mode 1 functor that feeds into a mode 2 functor. Feed the result only if the event is triggered, and do pass to the output even if no threads are waiting.
Fix handling of a mode 1 functor that feeds into a mode 2 functor. Feed the result only if the event is triggered, and do pass to the output even if no threads are waiting.
C++
lgpl-2.1
CastMi/iverilog,themperek/iverilog,CastMi/iverilog,themperek/iverilog,CastMi/iverilog,themperek/iverilog
c560f88e915158b78c198fbc982a35cbbdf03644
lib/Transforms/Scalar/DCE.cpp
lib/Transforms/Scalar/DCE.cpp
//===- DCE.cpp - Code to perform dead code elimination --------------------===// // // This file implements dead code elimination and basic block merging. // // Specifically, this: // * removes definitions with no uses (including unused constants) // * removes basic blocks with no predecessors // * merges a basic...
//===- DCE.cpp - Code to perform dead code elimination --------------------===// // // This file implements dead code elimination and basic block merging. // // Specifically, this: // * removes definitions with no uses // * removes basic blocks with no predecessors // * merges a basic block into its predecessor i...
Implement new DeadInstElmination pass remove old comment
Implement new DeadInstElmination pass remove old comment git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@1555 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,app...
faebb34f17c0636e4d997575bd1d0f2932073ff2
test/matrix.cpp
test/matrix.cpp
#include "mat.hpp" #include "lib/catch.hpp" static const float EPSILON = 1e-6; TEST_CASE( "base matrix accessors", "" ) { Mat<1,1> x = { 5 }; REQUIRE( x[0] == 5 ); x[0] = 9; REQUIRE( x[0] == 9 ); Mat<2,2> xy = { 1, 2, 3, 4 }; REQUIRE( xy[0] == 1 ); REQUIRE( xy[1] == 2 ); REQUIRE( xy[2...
#include "mat.hpp" #include "lib/catch.hpp" static const float EPSILON = 1e-6; TEST_CASE( "base matrix accessors", "" ) { Mat<1,1> x = { 5 }; REQUIRE( x[0] == 5 ); x[0] = 9; REQUIRE( x[0] == 9 ); Mat<2,2> xy = { 1, 2, 3, 4 }; REQUIRE( xy[0] == 1 ); REQUIRE( xy[1] == 2 ); REQUIRE( xy[2...
add Mat4 structured accessor test
add Mat4 structured accessor test
C++
mit
davidyu/gml-cpp,davidyu/gml-cpp
834469c889c3ae19170f3d7aa30c74b32a3ab783
MyOpenCV/MyOpenCVIF.cpp
MyOpenCV/MyOpenCVIF.cpp
#include "MyOpenCVIF.hpp" MyOpenCVIF::MyOpenCVIF() : m_FPSCounter(), m_humanDetector("/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml") { } void MyOpenCVIF::ProcessFrame(Mat& frame) { m_FPSCounter.ProcessFrame(frame); m_systemMonitor.ProcessFrame(frame); m_humanDetector.ProcessFrame...
#include "MyOpenCVIF.hpp" MyOpenCVIF::MyOpenCVIF() : m_FPSCounter(), m_humanDetector("/usr/local/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml") { } void MyOpenCVIF::ProcessFrame(Mat& frame) { m_FPSCounter.ProcessFrame(frame); //m_systemMonitor.ProcessFrame(frame); //m_humanDetector.ProcessF...
Comment out sample HumanDetector and SystemMonitor to show performance
Comment out sample HumanDetector and SystemMonitor to show performance
C++
mit
lark-mp/raspicam_cvlan,lark-mp/raspicam_cvlan
30ab5292bf998b6cbc8ba454e500bc2e3cf9e574
Native/Core/DG/Code.cpp
Native/Core/DG/Code.cpp
/* * Copyright 2010-2011 Fabric Technologies Inc. All rights reserved. */ #include <Fabric/Core/DG/Code.h> #include <Fabric/Core/DG/ExecutionEngine.h> #include <Fabric/Core/CG/Scope.h> #include <Fabric/Core/OCL/OCL.h> #include <Fabric/Core/RT/Manager.h> #include <Fabric/Core/CG/Context.h> #include <Fabric/Core/CG/...
/* * Copyright 2010-2011 Fabric Technologies Inc. All rights reserved. */ #include <Fabric/Core/DG/Code.h> #include <Fabric/Core/DG/ExecutionEngine.h> #include <Fabric/Core/CG/Scope.h> #include <Fabric/Core/OCL/OCL.h> #include <Fabric/Core/RT/Manager.h> #include <Fabric/Core/CG/Context.h> #include <Fabric/Core/CG/...
Remove global compile lock that is not even used
Remove global compile lock that is not even used
C++
agpl-3.0
chbfiv/fabric-engine-old,chbfiv/fabric-engine-old,errordeveloper/fe-devel,errordeveloper/fe-devel,errordeveloper/fe-devel,chbfiv/fabric-engine-old,errordeveloper/fe-devel,chbfiv/fabric-engine-old,errordeveloper/fe-devel,chbfiv/fabric-engine-old,errordeveloper/fe-devel,chbfiv/fabric-engine-old,chbfiv/fabric-engine-old,e...
094d7c4926e53fd2da0c1eb55b17208a3f21e067
samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp
samples/cpp/tutorial_code/ImgTrans/HoughCircle_Demo.cpp
/** * @file HoughCircle_Demo.cpp * @brief Demo code for Hough Transform * @author OpenCV team */ #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> using namespace cv; namespace { // windows and trackbars name const std::string windowName = "Hough Circle Det...
/** * @file HoughCircle_Demo.cpp * @brief Demo code for Hough Transform * @author OpenCV team */ #include "opencv2/highgui/highgui.hpp" #include "opencv2/imgproc/imgproc.hpp" #include <iostream> using namespace cv; namespace { // windows and trackbars name const std::string windowName = "Hough Circle Det...
build fix
build fix
C++
apache-2.0
opencv/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,apavlenko/opencv,apavlenko/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,apavlenko/opencv,opencv/opencv,opencv/opencv,opencv/opencv
6a793ea51e9446845b886d0f3825a54fbd47c692
searchlib/src/vespa/searchlib/queryeval/split_float.cpp
searchlib/src/vespa/searchlib/queryeval/split_float.cpp
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "split_float.h" #include <cctype> namespace search::queryeval { SplitFloat::SplitFloat(const vespalib::string &input) { bool seenText = false; for (size_t i = 0; i < input.size(); +...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "split_float.h" #include <cctype> namespace search::queryeval { SplitFloat::SplitFloat(const vespalib::string &input) { bool seenText = false; for (size_t i = 0; i < input.size(); +...
Add newline
Add newline
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
f30c7f37f00456497642f35647bbeadce751b125
src/plugins/qt4projectmanager/qt-maemo/maemodeployables.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeployables.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 Qt Creator. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** T...
/**************************************************************************** ** ** 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 Qt Creator. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commercial Usage ** T...
Fix timer bug.
Maemo: Fix timer bug.
C++
lgpl-2.1
malikcjm/qtcreator,yinyunqiao/qtcreator,amyvmiwei/qt-creator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,darksylinc/qt-creator,omniacreator/qtcreator,colede/qtcreator,omniacreator/qtcreator,kuba1/qtcreator,colede/qtcreator,pcacjr/qt-creator,AltarBeastiful/qt-creator,jo...
33c5095110b9324c082055ad0226b568d7ec8f60
GraphConverter/LoaderABIDE.cpp
GraphConverter/LoaderABIDE.cpp
#include "stdafx.h" #include "LoaderABIDE.h" #include "CheckerFactory.h" using namespace std; const int LoaderABIDE::POS_ID = 6; const int LoaderABIDE::POS_DX = 7; //const std::string LoaderABIDE::filePrefix = "/Outputs/cpac/nofilt_global/"; const std::vector<std::string> LoaderABIDE::header = { "","Unnamed: 0","...
#include "stdafx.h" #include "LoaderABIDE.h" #include "CheckerFactory.h" using namespace std; const int LoaderABIDE::POS_ID = 6; const int LoaderABIDE::POS_DX = 7; //const std::string LoaderABIDE::filePrefix = "/Outputs/cpac/nofilt_global/"; const std::vector<std::string> LoaderABIDE::header = { "","Unnamed: 0","...
fix a qc-checker bug for ABIDE loader
fix a qc-checker bug for ABIDE loader
C++
apache-2.0
yxtj/GSDM,yxtj/GSDM,yxtj/GSDM,yxtj/GSDM,yxtj/GSDM
d0abc36a99ff89a190687467e7b4c3df664307f0
IlmBase/IexMath/IexMathFpu.cpp
IlmBase/IexMath/IexMathFpu.cpp
// // Copyright (c) 1997 Industrial Light and Magic. // All rights reserved. Used under authorization. // This material contains the confidential and proprietary // information of Industrial Light and Magic and // may not be copied in whole or in part without the express // written ...
// // Copyright (c) 1997 Industrial Light and Magic. // All rights reserved. Used under authorization. // This material contains the confidential and proprietary // information of Industrial Light and Magic and // may not be copied in whole or in part without the express // written ...
Fix build with gcc-4.7
Fix build with gcc-4.7
C++
bsd-3-clause
oglops/PyIlmBase,oglops/IlmBase,oglops/OpenEXR,oglops/PyIlmBase,oglops/OpenEXR,oglops/PyIlmBase,oglops/PyIlmBase,oglops/IlmBase,oglops/IlmBase,oglops/OpenEXR
8dd3a0bdad83f5bc41ebeb3ff803599c3101b743
tests/Clone.cpp
tests/Clone.cpp
#include "TestHelpers.h" #include <QCoreApplication> #include <QTimer> #include <iostream> #include <bitset> #include "qgitcommit.h" #include "qgitrepository.h" using namespace LibQGit2; class TestClone : public QObject { Q_OBJECT public: TestClone(); public slots: void cloneProgress(int p) { ...
/****************************************************************************** * Copyright (C) 2014 Peter Kmmel <syntheticpp@gmx.net> * * Permission to use, copy, modify, and distribute the software * and its documentation for any purpose and without fee is hereby * granted, provided that the above copyright notice ap...
Use MIT license for the test code
Use MIT license for the test code
C++
lgpl-2.1
pav0n/libqgit2,KDE/libqgit2,KDE/libqgit2,syntheticpp/libqgit2,syntheticpp/libqgit2,pav0n/libqgit2
7b7f8885c8de08b940ca46aeec3bc278c3855473
src/import/hwpf/fapi2/include/fapi2_vpd_access.H
src/import/hwpf/fapi2/include/fapi2_vpd_access.H
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/fapi2_vpd_access.H $ */ /* ...
/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/hwpf/fapi2/include/fapi2_vpd_access.H $ */ /* ...
Add fields in VPDInfo to support planar SPD lookup
Add fields in VPDInfo to support planar SPD lookup The new fields in the VPDInfo class are filled in by memory HWPs on a planar memory system and used by ddimm_get_efd to look up the correct EFD section for a given ISDIMM config Change-Id: I180c6f8585ac3f9200ae4ba1be0aaf46905ef218 Reviewed-on: http://rchgit01.rchland...
C++
apache-2.0
open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot
4a58b629ce48679bdec9dd1c2ee8c40e865dc6d4
toml/traits.hpp
toml/traits.hpp
// Copyright Toru Niina 2017. // Distributed under the MIT License. #ifndef TOML11_TRAITS_HPP #define TOML11_TRAITS_HPP #include <type_traits> #include <utility> #include <chrono> #include <tuple> namespace toml { class value; // forward decl namespace detail { template<typename T> using unwrap_t = typename std...
// Copyright Toru Niina 2017. // Distributed under the MIT License. #ifndef TOML11_TRAITS_HPP #define TOML11_TRAITS_HPP #include <type_traits> #include <utility> #include <chrono> #include <tuple> namespace toml { class value; // forward decl namespace detail { template<typename T> using unwrap_t = typename std...
add a way to check arg is "string literal"
feat: add a way to check arg is "string literal"
C++
mit
ToruNiina/toml11
bd298e8984bf1360ffc975d759ae55d02bd1185c
type_traits.hpp
type_traits.hpp
#ifndef HMLIB_TYPETRAITS_INC #define HMLIB_TYPETRAITS_INC 100 # #include<type_traits> #include<iterator> namespace hmLib{ template<typename type1, typename type2> struct select_derived{ template<typename type, bool Type1IsBase = std::is_base_of<type1,type2>::value, bool Type2IsBase = std::is_base_of<type2, type1>:...
#ifndef HMLIB_TYPETRAITS_INC #define HMLIB_TYPETRAITS_INC 100 # #include<type_traits> #include<iterator> namespace hmLib{ template<typename type1, typename type2> struct select_derived{ template<typename type, bool Type1IsBase = std::is_base_of<type1,type2>::value, bool Type2IsBase = std::is_base_of<type2, type1>:...
Add is_iterator and is_const_iterator.
Add is_iterator and is_const_iterator.
C++
mit
hmito/hmLib,hmito/hmLib
27af84bd9a074880c2e39c3d7f7e04e538022d29
ibctl/ibctl.cpp
ibctl/ibctl.cpp
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this file to You under ...
Move location of included header to better follow ironbee style.
ibctl: Move location of included header to better follow ironbee style.
C++
apache-2.0
ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1r/ironbee,b1v1r/ironbee,b1v1r/ironbee,ironbee/ironbee,ironbee/ironbee,b1v1...
8a207398d28c7efbdd5424cd94ba7540bd18bcbd
TelegramQt/DcConfiguration.hpp
TelegramQt/DcConfiguration.hpp
#ifndef TELEGRAM_SERVER_DC_CONFIGURATION_HPP #define TELEGRAM_SERVER_DC_CONFIGURATION_HPP #include "TelegramNamespace.hpp" #if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) #include <QHash> #endif // Qt-5.6 #include <QVector> namespace Telegram { struct ConnectionSpec { enum class RequestFlag { None = 0, ...
#ifndef TELEGRAM_SERVER_DC_CONFIGURATION_HPP #define TELEGRAM_SERVER_DC_CONFIGURATION_HPP #include "TelegramNamespace.hpp" #if QT_VERSION < QT_VERSION_CHECK(5, 6, 0) #include <QHash> #endif // Qt-5.6 #include <QVector> namespace Telegram { struct ConnectionSpec { enum class RequestFlag { None = 0, ...
Remove the custom assignment operator
DcConfiguration: Remove the custom assignment operator
C++
lgpl-2.1
Kaffeine/telegram-qt,Kaffeine/telegram-qt,Kaffeine/telegram-qt
814728a561e3c3d678a56a4d19b005d4fb08c40d
RPi_utils/RFSniffer.cpp
RPi_utils/RFSniffer.cpp
/* RFSniffer Usage: ./RFSniffer [<pulseLength>] [] = optional Hacked from http://code.google.com/p/rc-switch/ by @justy to provide a handy RF code sniffer */ #include "../rc-switch/RCSwitch.h" #include <stdlib.h> #include <stdio.h> #include <unistd.h> RCSwitch mySwitch; int main(int argc, c...
/* RFSniffer Usage: ./RFSniffer [<pulseLength>] [] = optional Hacked from http://code.google.com/p/rc-switch/ by @justy to provide a handy RF code sniffer */ #include "../rc-switch/RCSwitch.h" #include <stdlib.h> #include <stdio.h> #include <unistd.h> RCSwitch mySwitch; int main(int argc, c...
enable usleep
enable usleep
C++
mit
ninjablocks/433Utils
872b9caeab4c8e1cf1eb5c9134c5f5230c977854
MMgc/GCStack.cpp
MMgc/GCStack.cpp
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 ...
/* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */ /* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 ...
Fix 622834 - Assertion failed: '((payload.GetSentinel2Type() == GCWorkItem::kInertPayload))' (r=edwsmith)
Fix 622834 - Assertion failed: '((payload.GetSentinel2Type() == GCWorkItem::kInertPayload))' (r=edwsmith)
C++
mpl-2.0
pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redu...
3be9c4b28766b073a329a022e87523376b8d2ea8
src/lib/extract_sv_reads/SamReader.hpp
src/lib/extract_sv_reads/SamReader.hpp
#pragma once #include "ThreadPool.hpp" #include <htslib/sam.h> #include <htslib/hts.h> #include <boost/format.hpp> #include <string> #include <stdexcept> #include <iostream> class SamReader { public: SamReader(char const* path, char const* reference=NULL, ThreadPool* thread_pool=NULL, bool reduced=fals...
#pragma once #include "ThreadPool.hpp" #include <htslib/sam.h> #include <htslib/hts.h> #include <boost/format.hpp> #include <string> #include <stdexcept> #include <iostream> class SamReader { public: SamReader(char const* path, char const* reference=NULL, ThreadPool* thread_pool=NULL, bool reduced=fals...
Add back in CRAM fields
Add back in CRAM fields
C++
mit
hall-lab/extract_sv_reads,hall-lab/extract_sv_reads,hall-lab/extract_sv_reads
94c2de9f5e20bbfeddbb8050751437bd1791ad94
src/plugins/protocolhandler/http/httphandler.cpp
src/plugins/protocolhandler/http/httphandler.cpp
/* Copyright (c) 2012 Silk Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* Copyright (c) 2012 Silk Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of condi...
make static QNetworkAccessManager to pointer
make static QNetworkAccessManager to pointer it didn't work on Qt 5.2.0 Change-Id: Ia915dc30063be75b4ca3936707e665ff6af7f188 Reviewed-on: http://cr.qtquick.me/785 Tested-by: http://ci.qtquick.me/ Reviewed-by: Tasuku Suzuki <42980d970444f9101663582e70cd53623b3238b4@gmail.com> Tested-by: Tasuku Suzuki <42980d970444f910...
C++
bsd-3-clause
yatsek/silk,qt-users-jp/silk,qt-users-jp/silk,qt-users-jp/silk,yatsek/silk,yatsek/silk,qt-users-jp/silk,yatsek/silk
002c464a1c259174d202a638e25303d5d2f74869
test/test_binding_character.cpp
test/test_binding_character.cpp
#include <gmock/gmock.h> #include "script/LuaTestSupportScript.hpp" #include "Monster.hpp" #include "World.hpp" class MockWorld : public World { public: MockWorld() { World::_self = this; } MOCK_METHOD1(findCharacter, Character*(TYPE_OF_CHARACTER_ID id)); MOCK_METHOD2(getMonsterDefinition, bo...
#include <gmock/gmock.h> #include "script/LuaTestSupportScript.hpp" #include "Monster.hpp" #include "World.hpp" class MockWorld : public World { public: MockWorld() { World::_self = this; } MOCK_METHOD1(findCharacter, Character*(TYPE_OF_CHARACTER_ID id)); MOCK_METHOD2(getMonsterDefinition, bo...
Check expected function calls
Check expected function calls
C++
agpl-3.0
Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server,Illarion-eV/Illarion-Server
904afa4126b5df5f73e5b5cdb131b54fa97b0200
src/bin/clients/tools/json_rpc_server/src/rpc_state.cpp
src/bin/clients/tools/json_rpc_server/src/rpc_state.cpp
#include <pthread.h> #include <sys/time.h> #include "stinger_core/xmalloc.h" #include "stinger_core/x86_full_empty.h" #include "stinger_core/stinger_shared.h" #include "rpc_state.h" #include "stinger_core/stinger.h" using namespace gt::stinger; JSON_RPCServerState & JSON_RPCServerState::get_server_state() { stati...
#include <pthread.h> #include <sys/time.h> #include "stinger_core/xmalloc.h" #include "stinger_core/x86_full_empty.h" #include "stinger_core/stinger_shared.h" #include "rpc_state.h" #include "stinger_core/stinger.h" using namespace gt::stinger; JSON_RPCServerState & JSON_RPCServerState::get_server_state() { stati...
check for params being array in contains_params
check for params being array in contains_params
C++
bsd-3-clause
davidediger/stinger,ogreen/stinger,sirpoovey/stinger,sirpoovey/stinger,ogreen/stinger,sirpoovey/stinger,ogreen/stinger,ehein6/stinger,ehein6/stinger,davidediger/stinger,sirpoovey/stinger,ehein6/stinger,sirpoovey/stinger,ehein6/stinger,ogreen/stinger,ehein6/stinger,ehein6/stinger,ogreen/stinger,davidediger/stinger,david...
a03201b1569c99b11fd61c1ca60871516e03e270
test/unit/WorkQueuePerfTest.cpp
test/unit/WorkQueuePerfTest.cpp
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "...
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "...
fix work-queue-perf-test
fix work-queue-perf-test Summary: Sleep call with units from matching library It would be nice if we just used boost thread/chrono throughout. I tried to add boost_chrono as a dependency but it's not headerless and the third party libs haven't already built them. Adding the source myself became a huge hassle and I ga...
C++
mit
facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex
6ce47c3f8b926dd6a8975ec10f61534b8ecc7317
src/cis-splice-effects/cis_splice_effects_associator.cc
src/cis-splice-effects/cis_splice_effects_associator.cc
/* cis_splice_effects_associator.cc -- 'cis-splice-effects associate' methods Copyright (c) 2015, The Griffith Lab Author: Avinash Ramu <aramu@genome.wustl.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
/* cis_splice_effects_associator.cc -- 'cis-splice-effects associate' methods Copyright (c) 2015, The Griffith Lab Author: Avinash Ramu <aramu@genome.wustl.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
check chrom in associate
check chrom in associate
C++
mit
griffithlab/regtools,griffithlab/regtools,griffithlab/regtools,griffithlab/regtools,griffithlab/regtools,griffithlab/regtools
d38979894c6f2591fbe54fdf87fee59ffff18ca7
RawSpeed/PefDecoder.cpp
RawSpeed/PefDecoder.cpp
#include "StdAfx.h" #include "PefDecoder.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post 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; eit...
#include "StdAfx.h" #include "PefDecoder.h" /* RawSpeed - RAW file decoder. Copyright (C) 2009-2014 Klaus Post 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; eit...
Implement whitebalance for PEF files
Implement whitebalance for PEF files
C++
lgpl-2.1
darktable-org/rawspeed,LebedevRI/rawspeed,mgehre/rawspeed,klauspost/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,LebedevRI/rawspeed,darktable-org/rawspeed,mgehre/rawspeed,anarsoul/rawspeed,anarsoul/rawspeed,klauspost/rawspeed,anarsoul/rawspeed,Lebed...
552a701526e965755c1133b6f95361880b8d88cd
src/sw/settings/src/sw.settings.program_name.cpp
src/sw/settings/src/sw.settings.program_name.cpp
#include <string> #if defined(CPPAN_EXECUTABLE) namespace sw { std::string getProgramName() { return PACKAGE_NAME_CLEAN; } } namespace primitives { std::string getVersionString() { std::string s; s += ::sw::getProgramName(); s += " version "; s += PACKAGE_VERSION; return s; } } #endif
#ifndef _MSC_VER #include <primitives/sw/settings.h> #else #include <string> #endif #if defined(CPPAN_EXECUTABLE) namespace sw { std::string getProgramName() { return PACKAGE_NAME_CLEAN; } } namespace primitives { std::string getVersionString() { std::string s; s += ::sw::getProgramName(); s += " v...
Fix linux build.
Fix linux build.
C++
mpl-2.0
egorpugin/primitives,egorpugin/primitives
cc4fbca77def183312491d75d51017551bdd5707
You-QueryEngine/comparator.cpp
You-QueryEngine/comparator.cpp
#include "stdafx.h" #include "comparator.h" namespace You { namespace QueryEngine { Comparator Comparator::notSorted() { return Comparator([](const Task&, const Task&) { return ComparisonResult::GT; }); } Comparator Comparator::byDescription() { return byApplying<Task::Description>([](const Task& task) { retu...
#include "stdafx.h" #include "comparator.h" namespace You { namespace QueryEngine { Comparator Comparator::notSorted() { return Comparator([](const Task&, const Task&) { return ComparisonResult::EQ; }); } Comparator Comparator::byDescription() { return byApplying<Task::Description>([](const Task& task) { retu...
Fix bug in identity comparator
Fix bug in identity comparator
C++
mit
cs2103aug2014-w10-1c/main,cs2103aug2014-w10-1c/main
35728323a1456c87db5cb9c292ea33890f98befc
lib/src/itm-solver-common.hpp
lib/src/itm-solver-common.hpp
/* Copyright (C) 2016-2018 INRA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * ...
/* Copyright (C) 2016-2018 INRA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * ...
fix push system in solver
itm: fix push system in solver
C++
mit
quesnel/baryonyx,quesnel/baryonyx,quesnel/baryonyx
f10d0545253705d9c76ca7637c52109ed0e2e14e
SnakePredictor/main.cpp
SnakePredictor/main.cpp
#include "stdafx.h" int main(int argc, char* args[]) { const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; const String SCREEN_TITLE = "Snake Predictor"; const int SCREEN_FPS = 60; ScreenManager* _sys_screenManager = NULL; _sys_screenManager = new ScreenManager(); SDL_Window* _sys_window = _sys_screen...
#include "stdafx.h" int main(int argc, char* args[]) { const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; const String SCREEN_TITLE = "Snake Predictor"; const int SCREEN_FPS = 60; ScreenManager* _sys_screenManager = NULL; _sys_screenManager = new ScreenManager(); SDL_Window* _sys_window = _sys_screen...
Make comments more consistent
Make comments more consistent
C++
mit
DanielMcAssey/SnakePredictor,DanielMcAssey/SnakePredictor
d1148455a59e8896f5584105c2b789911d6b3406
Source/CSpringSwing.cpp
Source/CSpringSwing.cpp
// // CSpringSwing.cpp // SwingGame // // Created by Tim Brier on 07/12/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------------------- #inc...
// // CSpringSwing.cpp // SwingGame // // Created by Tim Brier on 07/12/2014. // Copyright (c) 2014 tbrier. All rights reserved. // // ============================================================================= // Include Files // ----------------------------------------------------------------------------- #inc...
Remove some logging
Remove some logging
C++
mit
sizlo/SwingGame,sizlo/SwingGame,sizlo/SwingGame
4ef1d94e3f995ce7a378bb7c48579f4c39e1945e
src/utils/FileRecordTools/FileRecordMergeMgr.cpp
src/utils/FileRecordTools/FileRecordMergeMgr.cpp
/* * FileRecordMergeMgr.cpp * * Created on: Mar 19, 2014 * Author: nek3d */ #include "FileRecordMergeMgr.h" FileRecordMergeMgr::FileRecordMergeMgr(const QuickString & filename) : FileRecordMgr(filename), _desiredStrand(ANY_STRAND), _maxDistance(0) { } //Record *FileRecordMergeMgr::allocateAndGetNextM...
/* * FileRecordMergeMgr.cpp * * Created on: Mar 19, 2014 * Author: nek3d */ #include "FileRecordMergeMgr.h" FileRecordMergeMgr::FileRecordMergeMgr(const QuickString & filename) : FileRecordMgr(filename), _desiredStrand(ANY_STRAND), _maxDistance(0) { } //Record *FileRecordMergeMgr::allocateAndGetNextM...
Test commit
Test commit
C++
mit
jmarshall/bedtools2,jmarshall/bedtools2,arq5x/bedtools2,arq5x/bedtools2,jmarshall/bedtools2,jmarshall/bedtools2,arq5x/bedtools2,jmarshall/bedtools2,arq5x/bedtools2,arq5x/bedtools2
e7d2ac8cf061786f774386b8f3eab921ac9325a9
tests/core/hash_table_bench.cpp
tests/core/hash_table_bench.cpp
/******************************************************************************* * tests/core/hash_table_bench.cpp * * Part of Project c7a. * * * This file has no license. Only Chuck Norris can compile it. ******************************************************************************/ #include <c7a/core/reduce_...
/******************************************************************************* * tests/core/hash_table_bench.cpp * * Part of Project c7a. * * * This file has no license. Only Chuck Norris can compile it. ******************************************************************************/ #include <c7a/core/reduce_...
use test fixture instead of copy pasta code :-/
use test fixture instead of copy pasta code :-/
C++
bsd-2-clause
manpen/thrill,manpen/thrill,manpen/thrill,manpen/thrill,manpen/thrill