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
7f0de36bbcde0625ef7dbdfad47eb24ae56a0624
ros_workspace/src/hmmwv/src/engine.cpp
ros_workspace/src/hmmwv/src/engine.cpp
#include <cassert> #include "../include/hmmwv/engine.hpp" Engine::Engine(GPIO *gpio, const GPIO::Pin enablePin, const GPIO::Pin directionPin, const GPIO::PwmPin speedPin) : _gpio(gpio), _enablePin(enablePin), _directionPin(directionPin), _speedPin(speedPin), _lastDirection(0) { gpio->setPin(_enablePin, 0); // D...
#include <cassert> #include "../include/hmmwv/engine.hpp" Engine::Engine(GPIO *gpio, const GPIO::Pin enablePin, const GPIO::Pin directionPin, const GPIO::PwmPin speedPin) : _gpio(gpio), _enablePin(enablePin), _directionPin(directionPin), _speedPin(speedPin), _lastDirection(0) { gpio->setPin(_enablePin, 0); // D...
disable motors if speed is 0. How does that influence motor braking?
Engine: disable motors if speed is 0. How does that influence motor braking?
C++
mit
hmmwv-team/hmmwv,hmmwv-team/hmmwv,ne0h/hmmwv,hmmwv-team/hmmwv,ne0h/hmmwv
14647492463ad7ff4cf7a8e1afcf9b3bac40ba97
chrome/browser/autocomplete/autocomplete_browsertest.cc
chrome/browser/autocomplete/autocomplete_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/format_macros.h" #include "base/path_service.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrom...
// 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/format_macros.h" #include "base/path_service.h" #include "base/stringprintf.h" #include "base/utf_string_conversions.h" #include "chrom...
Mark AutocompleteBrowserTest.FocusSearch flaky on Windows and Linux.
Mark AutocompleteBrowserTest.FocusSearch flaky on Windows and Linux. TBR=isherman@chromium.org BUG=104307 Review URL: http://codereview.chromium.org/8574006 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@110092 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,bright-sparks/chromium-spacewalk,dednal/chromium.src,hgl888/chromium-crosswalk,Fireblend/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,rogerwang/chromium,robclark/chromium,bright-sparks/chromium-...
c8b5efc025476f765e7772480589a95be82ff7c3
src/loop055.cpp
src/loop055.cpp
#include "demoloop.h" #include "graphics/3d_primitives.h" #include "graphics/shader.h" #include "helpers.h" #include <array> #include <glm/gtx/rotate_vector.hpp> using namespace std; using namespace demoloop; float t = 0; const float CYCLE_LENGTH = 10; const float size = 3; float cubicEaseInOut(float t,float b , flo...
#include "demoloop.h" #include "graphics/3d_primitives.h" #include "graphics/shader.h" #include "helpers.h" #include <array> #include <glm/gtx/rotate_vector.hpp> using namespace std; using namespace demoloop; float t = 0; const float CYCLE_LENGTH = 10; const float size = 3; float cubicEaseInOut(float t,float b , flo...
remove unused texture reference from loop 055
remove unused texture reference from loop 055
C++
mit
TannerRogalsky/Demoloops,TannerRogalsky/Demoloops,TannerRogalsky/Demoloops,TannerRogalsky/Demoloops
0e5db091e91d576bd5b05d22103115496084bd19
src/mem/port.hh
src/mem/port.hh
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * 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 * not...
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * 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 * not...
Fix Port pointer initialization.
Fix Port pointer initialization. src/mem/port.hh: Initialize peer port pointer to NULL. Move private data members together. --HG-- extra : convert_revision : dab01f81f0934758891a6b6dc2ad5328149d164b
C++
bsd-3-clause
rallylee/gem5,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,gedare/gem5,cancro7/gem5,sobercoder/gem5,gem5/gem5,briancoutinho0905/2dsampling,qizenguf/MLC-STT,markoshorro/gem5,KuroeKurose/gem5,yb-kim/gemV,aclifton/cpeg853-gem5,samueldotj/TeeRISC-Simulator,yb-kim/gemV,aclifton/cpeg853-gem5,rjschof/gem5,markoshorro/gem...
d8e1f77c4e85bba684d3d94af7b90b74f567e961
plugins/robots/interpreters/trikKitInterpreterCommon/src/robotModel/twoD/parts/twoDDisplay.cpp
plugins/robots/interpreters/trikKitInterpreterCommon/src/robotModel/twoD/parts/twoDDisplay.cpp
/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
fix trik displey size
fix trik displey size
C++
apache-2.0
iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal,iakov/qreal
c60b5453157ca181118b4bc43aa0ed858349745c
src/GwMaker.cc
src/GwMaker.cc
/* The MIT License (MIT) Copyright (C) 2017 RSK Labs Ltd. 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, ...
/* The MIT License (MIT) Copyright (C) 2017 RSK Labs Ltd. 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, ...
fix parser error
fix parser error
C++
mit
btccom/btcpool,btccom/btcpool,btccom/btcpool,btccom/btcpool,btccom/btcpool,btccom/btcpool,btccom/btcpool,btccom/btcpool
235876fcf38655aa57e46e66ae1429818892bdd2
src/natives.cpp
src/natives.cpp
#include "main.h" #include "natives.h" #include "CNetwork.h" #include "CServer.h" #include "CCallback.h" //native TSC_Connect(user[], pass[], host[], port = 9987, serverquery_port = 10011); AMX_DECLARE_NATIVE(Native::TSC_Connect) { string login = amx_GetCppString(amx, params[1]), pass = amx_GetCppString(amx, pa...
#include "main.h" #include "natives.h" #include "CNetwork.h" #include "CServer.h" #include "CCallback.h" //native TSC_Connect(user[], pass[], host[], port = 9987, serverquery_port = 10011); AMX_DECLARE_NATIVE(Native::TSC_Connect) { string login = amx_GetCppString(amx, params[1]), pass = amx_GetCppString(amx, pa...
fix a bug where TSC_GetClientIdByIpAddress called wrong function
fix a bug where TSC_GetClientIdByIpAddress called wrong function
C++
mit
maddinat0r/samp-tsconnector
c12ef9e92342bfc24b5917a1d8cef5e8cd51e797
src/Memory.cpp
src/Memory.cpp
/* DDS, a bridge double dummy solver. Copyright (C) 2006-2014 by Bo Haglund / 2014-2018 by Bo Haglund & Soren Hein. See LICENSE and README. */ #include "Memory.h" Memory::Memory() { Memory::Reset(); } Memory::~Memory() { } void Memory::Reset() { nThreads = 0; } void Memory::ResetThread(cons...
/* DDS, a bridge double dummy solver. Copyright (C) 2006-2014 by Bo Haglund / 2014-2018 by Bo Haglund & Soren Hein. See LICENSE and README. */ #include "Memory.h" Memory::Memory() { Memory::Reset(); } Memory::~Memory() { } void Memory::Reset() { nThreads = 0; } void Memory::ResetThread(cons...
Initialize thread data to zero
Initialize thread data to zero
C++
apache-2.0
dds-bridge/dds,sorenhein/dds,sorenhein/dds,dds-bridge/dds
8670727ea8756c3adec38bbc022a28209cae1d55
SQUIRREL3/squirrel/sqtable.cpp
SQUIRREL3/squirrel/sqtable.cpp
/* see copyright notice in squirrel.h */ #include "sqpcheader.h" #include "sqvm.h" #include "sqtable.h" #include "sqfuncproto.h" #include "sqclosure.h" SQTable::SQTable(SQSharedState *ss,SQInteger nInitialSize) { SQInteger pow2size=MINPOWER2; while(nInitialSize>pow2size)pow2size=pow2size<<1; AllocNodes(pow2size); ...
/* see copyright notice in squirrel.h */ #include "sqpcheader.h" #include "sqvm.h" #include "sqtable.h" #include "sqfuncproto.h" #include "sqclosure.h" SQTable::SQTable(SQSharedState *ss,SQInteger nInitialSize) { SQInteger pow2size=MINPOWER2; while(nInitialSize>pow2size)pow2size=pow2size<<1; AllocNodes(pow2size); ...
Fix 'value stored to n is never read' warning.
Fix 'value stored to n is never read' warning.
C++
mit
wanderwaltz/Squirrel,wanderwaltz/Squirrel
f0a19d7694b9842214b2e0edcff14aab7df8bab3
src/Server.cpp
src/Server.cpp
#include <cstring> #include <vector> #include <map> #include <sys/queue.h> #include <evhttp.h> #include <mecab.h> #include "Furigana.h" #include "Server.h" #define PARSE_URI(request, params) { \ char const *uri = evhttp_request_uri(request); \ evhttp_parse_query(uri, &params); \ } #define PARAM_GET_STR(var, ...
#include <cstring> #include <vector> #include <map> #include <sys/queue.h> #include <evhttp.h> #include <mecab.h> #include "Furigana.h" #include "Server.h" #define PARSE_URI(request, params) { \ char const *uri = evhttp_request_uri(request); \ evhttp_parse_query(uri, &params); \ } #define PARAM_GET_STR(var, ...
Remove superfluous blank lines
Remove superfluous blank lines
C++
mit
allan-simon/nihongoparserd,allan-simon/nihongoparserd,Tatoeba/nihongoparserd,allan-simon/nihongoparserd,Tatoeba/nihongoparserd,Tatoeba/nihongoparserd
54e8b62b8773a67e4065f1d1397443155aaaa379
src/Socket.cpp
src/Socket.cpp
/* * Copyright (C) 2004-2014 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-2014 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...
Fix #719: Disable SSL compression
Fix #719: Disable SSL compression
C++
apache-2.0
evilnet/znc,reedloden/znc,GLolol/znc,TuffLuck/znc,markusj/znc,DarthGandalf/znc,Phansa/znc,GLolol/znc,elyscape/znc,TuffLuck/znc,DarthGandalf/znc,dgw/znc,badloop/znc,wolfy1339/znc,elyscape/znc,elyscape/znc,dgw/znc,znc/znc,evilnet/znc,jpnurmi/znc,ollie27/znc,Kriechi/znc,jreese/znc,anthonyryan1/znc,BtbN/znc,elyscape/znc,ma...
acdcb262afb036bf0f70fe0ef8dc0e6516797337
bindings/python/src/session.cpp
bindings/python/src/session.cpp
// Copyright Daniel Wallin, Arvid Norberg 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/session.hpp> #include <libtorrent/torrent.hpp> #include <libtorren...
// Copyright Daniel Wallin, Arvid Norberg 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/session.hpp> #include <libtorrent/torrent.hpp> #include <libtorren...
update session constructor in python bindings to support 'flags'
update session constructor in python bindings to support 'flags'
C++
bsd-3-clause
jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent,jpetso/libtorrent
4ac96dc72cade5002f231c905f9051ab84a8aa4a
far/headers.hpp
far/headers.hpp
#pragma once /* headers.hpp */ /* Copyright 1996 Eugene Roshal Copyright 2000 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyr...
#pragma once /* headers.hpp */ /* Copyright 1996 Eugene Roshal Copyright 2000 Far Group All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyr...
fix build
fix build
C++
bsd-3-clause
FarGroup/FarManager,johnd0e/FarManager,johnd0e/FarManager,johnd0e/FarManager,FarGroup/FarManager,FarGroup/FarManager,FarGroup/FarManager,johnd0e/FarManager,FarGroup/FarManager,johnd0e/FarManager,FarGroup/FarManager,FarGroup/FarManager,FarGroup/FarManager,johnd0e/FarManager,johnd0e/FarManager,johnd0e/FarManager
aa8282344e1e5d0f6c98735c82e381dfe7af9d83
src/binding.cc
src/binding.cc
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2012 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2012 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
Use lcbvb to select random nodes of a type.
JSCBC-316: Use lcbvb to select random nodes of a type. Previously we randomly selected any node, however this caused an issue when a node did not contain that service due to MDS. Change-Id: I044d8128c0816994dbbc263705137b577cf5cfb1 Reviewed-on: http://review.couchbase.org/66099 Reviewed-by: Mark Nunberg <dab05a0fe859...
C++
apache-2.0
brett19/couchnode,couchbase/couchnode,couchbase/couchnode,couchbase/couchnode,brett19/couchnode,brett19/couchnode,couchbase/couchnode
54276fd9bf18d3e252a7a16c549ca9eb98422fc8
src/buffer.cpp
src/buffer.cpp
/// \file buffer.cpp /// Contains the main code for the Buffer. #include <fcntl.h> #include <iostream> #include <string> #include <vector> #include <cstdlib> #include <cstdio> #include <string.h> #include <unistd.h> #include <signal.h> #include <sstream> #include <sys/time.h> #include <mist/config.h> #include "buffer_...
/// \file buffer.cpp /// Contains the main code for the Buffer. #include <fcntl.h> #include <iostream> #include <string> #include <vector> #include <cstdlib> #include <cstdio> #include <string.h> #include <unistd.h> #include <signal.h> #include <sstream> #include <sys/time.h> #include <mist/config.h> #include "buffer_...
Make buffer's stats reporting optional through a new commandline option - defaulting to false.
Make buffer's stats reporting optional through a new commandline option - defaulting to false.
C++
unlicense
DDVTECH/mistserver,DDVTECH/mistserver,DDVTECH/mistserver,rbouqueau/mistserver,rbouqueau/mistserver,DDVTECH/mistserver,rbouqueau/mistserver,rbouqueau/mistserver,rbouqueau/mistserver,DDVTECH/mistserver
abfaaa777d96213ab65db108d480692fcac3f174
src/canvas.cpp
src/canvas.cpp
#include "canvas.h" #include <algorithm> #include <wx/dcclient.h> namespace draw { wxBEGIN_EVENT_TABLE(WXCanvas, wxGLCanvas) EVT_SIZE(WXCanvas::onSize) EVT_PAINT(WXCanvas::onPaint) wxEND_EVENT_TABLE() WXCanvas::WXCanvas(wxWindow* parent, wxWindowID id, int* attribs) : wxGLCanvas(parent, id, attribs, wxDefaultPos...
#include "canvas.h" #include <algorithm> #include <wx/dcclient.h> namespace draw { wxBEGIN_EVENT_TABLE(WXCanvas, wxGLCanvas) EVT_SIZE(WXCanvas::onSize) EVT_PAINT(WXCanvas::onPaint) wxEND_EVENT_TABLE() WXCanvas::WXCanvas(wxWindow* parent, wxWindowID id, int* attribs) : wxGLCanvas(parent, id, attribs, wxDefaultPos...
update draw interface call
update draw interface call
C++
bsd-2-clause
vsergey3d/draw-wxWidgets
e2f6b9a393f4ad0832ce4508a307851a2af84808
src/changes.cc
src/changes.cc
#include "changes.hh" namespace Kakoune { void ForwardChangesTracker::update(const Buffer::Change& change) { kak_assert(change.begin >= cur_pos); if (change.type == Buffer::Change::Insert) { old_pos = get_old_coord(change.begin); cur_pos = change.end; } else if (change.type == Buff...
#include "changes.hh" namespace Kakoune { void ForwardChangesTracker::update(const Buffer::Change& change) { kak_assert(change.begin >= cur_pos); if (change.type == Buffer::Change::Insert) { old_pos = get_old_coord(change.begin); cur_pos = change.end; } else if (change.type == Buff...
Fix overly strict backward_sorted_until
Fix overly strict backward_sorted_until A change that ended exactly where the previous one started was not considered backward sorted. Leading to some very bad performances in certain cases, like '100000o<esc>u'
C++
unlicense
ekie/kakoune,jjthrash/kakoune,Somasis/kakoune,mawww/kakoune,mawww/kakoune,jkonecny12/kakoune,occivink/kakoune,Somasis/kakoune,jkonecny12/kakoune,Somasis/kakoune,alexherbo2/kakoune,alexherbo2/kakoune,lenormf/kakoune,alexherbo2/kakoune,mawww/kakoune,casimir/kakoune,jjthrash/kakoune,Somasis/kakoune,ekie/kakoune,ekie/kakou...
c1f1a7724d3b442d4ce2ef6e2d7cb1af54fcaf01
src/client.cpp
src/client.cpp
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2....
add comment
add comment
C++
apache-2.0
SJTU-IPADS/wukong,SJTU-IPADS/wukong
935105268d1d9eb1ea0e2f570085f77dd98a8572
bs_pvt/src/pvt_3p_serialize.cpp
bs_pvt/src/pvt_3p_serialize.cpp
/// @file pvt_3p_serialize.cpp /// @brief pvt_3p serialization implementation /// @author uentity /// @version /// @date 26.01.2012 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. #include "bs_bos_core_data_storage_stdafx.h" #include "bs_pvt...
/// @file pvt_3p_serialize.cpp /// @brief pvt_3p serialization implementation /// @author uentity /// @version /// @date 26.01.2012 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. #include "bs_bos_core_data_storage_stdafx.h" #include "bs_pvt...
fix pvt_oil base class serialization (pvt_dead_oil)
SRZ: fix pvt_oil base class serialization (pvt_dead_oil)
C++
bsd-3-clause
bs-eagle/bs-eagle,bs-eagle/bs-eagle,bs-eagle/bs-eagle
ccedd142cea489476d999024157ddb37e2708aee
tutorials/dataframe/tdf013_InspectAnalysis.C
tutorials/dataframe/tdf013_InspectAnalysis.C
/// \file /// \ingroup tutorial_tdataframe /// \notebook -nodraw /// Showcase registration of callback functions that act on partial results while /// the event-loop is running using `OnPartialResult` and `OnPartialResultSlot`. /// This tutorial is not meant to run in batch mode. /// /// \macro_code /// /// \date Septe...
/// \file /// \ingroup tutorial_tdataframe /// \notebook -nodraw /// Showcase registration of callback functions that act on partial results while /// the event-loop is running using `OnPartialResult` and `OnPartialResultSlot`. /// This tutorial is not meant to run in batch mode. /// /// \macro_code /// /// \date Septe...
Allow some events to be run also in non-imt builds
[TDF] tdf013: Allow some events to be run also in non-imt builds
C++
lgpl-2.1
zzxuanyuan/root,zzxuanyuan/root,olifre/root,karies/root,root-mirror/root,karies/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,zzxuanyuan/root,karies/root,karies/root,olifre/root,olifre/root,root-mirror/root,zzxuanyuan/root,root-mirror/root,olifre/root,zzxuanyuan/root,olifre/root,olifre/root,zzxuan...
5f19afe7fa9c6f0c5b6c13890006b8d76086c405
folly/Range.cpp
folly/Range.cpp
/* * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
disable asan for qfind_first_byte_of_needles16
disable asan for qfind_first_byte_of_needles16 Summary: It's expected to read past the string (within the same memory page). Test Plan: . Reviewed By: tudorb@fb.com FB internal diff: D962974
C++
apache-2.0
renyinew/folly,stonegithubs/folly,wildinto/folly,bobegir/folly,clearlylin/folly,bowlofstew/folly,tomhughes/folly,yangjin-unique/folly,cppfool/folly,tomhughes/folly,romange/folly,bikong2/folly,sakishum/folly,mqeizi/folly,loversInJapan/folly,unmeshvrije/C--,SeanRBurton/folly,bowlofstew/folly,Hincoin/folly,cppfool/folly,n...
55a0e665f1297452236dee6228a71194097c07c6
excercise04/sort/quick.cpp
excercise04/sort/quick.cpp
#include <string.h> /* memcpy() */ #include "quick.hpp" #include "swap.hpp" void quick(int *data, const int size_of_data) { return quick(data, 0, size_of_data - 1); } void quick(int *data, const int start, const int end) { if(start >= end) return; /* Base case */ /* Conquer */ int pivot = end; /* Se...
#include "quick.hpp" #include "swap.hpp" void quick(int *data, const int size_of_data) { return quick(data, 0, size_of_data - 1); } void quick(int *data, const int start, const int end) { if(start >= end) return; /* Base case */ /* Conquer */ int pivot = end; /* Set pivot */ int ps = start, pe =...
Remove unused includes
Remove unused includes
C++
mit
kdzlvaids/algorithm_and_practice-pknu-2016,kdzlvaids/algorithm_and_practice-pknu-2016
4bf69f1e7b29ce13eb3f78f7f19e8bc4ab7966e5
chrome/browser/chromeos/login/cookie_fetcher_unittest.cc
chrome/browser/chromeos/login/cookie_fetcher_unittest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <errno.h> #include <string> #include "chrome/browser/browser_process.h" #include "chrome/browser/chromeos/login/cookie_fetcher.h" #include "c...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <errno.h> #include <string> #include "chrome/browser/browser_process.h" #include "chrome/browser/chrome_thread.h" #include "chrome/browser/ch...
Fix chromeos build. Part 2.
TBR: Fix chromeos build. Part 2. git-svn-id: http://src.chromium.org/svn/trunk/src@56062 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: 455bf06d75302f434c730bf141e59ae056366500
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
933ef7b76ee0bf780e6e38c0d74dd3a495a54b51
urbackupserver/verify_hashes.cpp
urbackupserver/verify_hashes.cpp
#include "../Interface/Database.h" #include "../Interface/Server.h" #include "../Interface/File.h" #include "../Interface/DatabaseCursor.h" #include "database.h" #include "../stringtools.h" #include <iostream> #include <fstream> #include "../urbackupcommon/sha2/sha2.h" #include "../urbackupcommon/os_functions....
#include "../Interface/Database.h" #include "../Interface/Server.h" #include "../Interface/File.h" #include "../Interface/DatabaseCursor.h" #include "database.h" #include "../stringtools.h" #include <iostream> #include <fstream> #include "../urbackupcommon/sha2/sha2.h" #include "../urbackupcommon/os_functions....
Allow wildcards in file backup verification selection
Allow wildcards in file backup verification selection
C++
agpl-3.0
uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend,uroni/urbackup_backend
ffcaeac917f846d978c5d5b216ccb06def6d22be
chrome/browser/extensions/extension_messages_unittest.cc
chrome/browser/extensions/extension_messages_unittest.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_message_service.h" #include "chrome/common/render_messages.h" #include "chrome/renderer/extensions/event...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/extension_message_service.h" #include "chrome/common/render_messages.h" #include "chrome/renderer/extensions/event...
Disable RenderViewTest.ExtensionMessages* since they consistently crash localy and on the bots.
Disable RenderViewTest.ExtensionMessages* since they consistently crash localy and on the bots. Code in question didn't change recently (9months) so it is possible it's a WebKit problem. You need to run all tests to get the crash. Running with --gtest_filter=RenderViewTest.* passes. There is a possible namespace cla...
C++
bsd-3-clause
crosswalk-project/chromium-crosswalk-efl,Fireblend/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,dushu1203/chromium.src,pozdnyakov/chromium-crosswalk,pozdnyakov/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ltilve/chromium,nacl-webkit/chr...
ab2e652938dd3f119f86c011f854ddce75702be1
serialport_native/serialport_native.cc
serialport_native/serialport_native.cc
// Copyright 2011 Chris Williams <chris@iterativedesigns.com> #include "serialport_native.h" #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function definitions */ #include <unistd.h> /* UNIX standard function definitions */ #include <fcntl.h> /* File control definitions...
// Copyright 2011 Chris Williams <chris@iterativedesigns.com> #include "serialport_native.h" #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function definitions */ #include <unistd.h> /* UNIX standard function definitions */ #include <fcntl.h> /* File control definitions...
Convert some tabs to spaces
Convert some tabs to spaces
C++
mit
Jonekee/node-serialport,prodatakey/node-serialport,Scypho/node-serialport,rwaldron/node-serialport,ms-iot/node-serialport,alex1818/node-serialport,hybridgroup/node-serialport,julianduque/node-serialport,bfjelds/node-serialport,giseburt/node-serialport,mbedded-ninja/node-serialport,tmpvar/node-serialport,nebrius/node-se...
ed1e69dfe016760509f411fcd230e938230ac90a
chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc
chrome/browser/media/chrome_webrtc_apprtc_browsertest.cc
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/files/file_enumerator.h" #include "base/path_service.h" #include "base/process/launch.h" #include "base/rand...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/files/file_enumerator.h" #include "base/path_service.h" #include "base/process/launch.h" #include "base/rand...
Revert of Disabling failing tests in WebRtcApprtcBrowserTest (patchset #2 id:20001 of https://codereview.chromium.org/1016693002/)
Revert of Disabling failing tests in WebRtcApprtcBrowserTest (patchset #2 id:20001 of https://codereview.chromium.org/1016693002/) Reason for revert: We have landed an update to the AppRTC app in https://codereview.chromium.org/1023683002/ now, so these tests should now work. Original issue's description: > Disabling...
C++
bsd-3-clause
ltilve/chromium,fujunwei/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,fujunwe...
7ee5fa09b8f4d0b612fa39c4b6e9c6dcf2f2728e
chrome/browser/sync/glue/preference_change_processor.cc
chrome/browser/sync/glue/preference_change_processor.cc
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/glue/preference_change_processor.h" #include <set> #include <string> #include "base/json/json_reader.h" #include ...
// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/glue/preference_change_processor.h" #include <set> #include <string> #include "base/json/json_reader.h" #include ...
Send out a notification when the bookmark bar changes.
Send out a notification when the bookmark bar changes. BUG=38559 TEST=Turn on preference sync. Run two chromes. Press ctrl+b on one. Ensure that the bookmark bar changes on the other. Review URL: http://codereview.chromium.org/1589007 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@43273 0039d316-1c4b-4281-b...
C++
bsd-3-clause
ropik/chromium,ropik/chromium,yitian134/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,Cryst...
a5b2f69869fa97e3befcaad94829496c9daa8f7d
examples/accel/OpenCLcontext.cpp
examples/accel/OpenCLcontext.cpp
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS #undef CL_HPP_ENABLE_EXCEPTIONS #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 #include <CL/cl2.hpp> #include <string> #include <vector> #include <deque> #include <chrono> #include <mutex> #include <cmath> #include <condition_variable> #in...
#define CL_USE_DEPRECATED_OPENCL_1_1_APIS #undef CL_HPP_ENABLE_EXCEPTIONS #define CL_HPP_MINIMUM_OPENCL_VERSION 120 #define CL_HPP_TARGET_OPENCL_VERSION 120 #include <CL/cl2.hpp> #include <string> #include <vector> #include <deque> #include <chrono> #include <mutex> #include <cmath> #include <condition_variable> #in...
fix some bugs
examples/accel: fix some bugs
C++
mit
pocl/pocl,pocl/pocl,pocl/pocl,pocl/pocl,pocl/pocl
f8e17125984c8ff4087455a0117dcabf50e414ae
chrome/common/extensions/extension_file_util_unittest.cc
chrome/common/extensions/extension_file_util_unittest.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/extensions/extension_file_util.h" #include "base/file_util.h" #include "base/json/json_value_serializer.h" #include "base/pat...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/extensions/extension_file_util.h" #include "base/file_util.h" #include "base/json/json_value_serializer.h" #include "base/pat...
Disable BackgroundScriptsMustExist.
Disable BackgroundScriptsMustExist. This test seems to hang on Windows sometimes. BUG=110279 TEST=none TBR=aa Review URL: http://codereview.chromium.org/9222002 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@117808 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
yitian134/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,rop...
9ea5a17d28ffe56e18eaaab0269bcbd20c2d99ce
chrome/browser/sync/notifier/chrome_system_resources.cc
chrome/browser/sync/notifier/chrome_system_resources.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/notifier/chrome_system_resources.h" #include <cstdlib> #include <cstring> #include <string> #include "base/logging.h" ...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync/notifier/chrome_system_resources.h" #include <cstdlib> #include <cstring> #include <string> #include "base/logging.h" ...
Revert 61881 (broke sync_unit_tests) - [Sync] Fixed flipped return value from 61851.
Revert 61881 (broke sync_unit_tests) - [Sync] Fixed flipped return value from 61851. BUG=None TEST=None TBR=johnnyg Review URL: http://codereview.chromium.org/3579018 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/3599023 git-svn-id: http://src.chromium.org/svn/trunk/src@61891 4ff67af0-8c30-449e...
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
c0a08f9e42a85ea610633f4ea23d6e7913b3986b
libevmjit/GasMeter.cpp
libevmjit/GasMeter.cpp
#include "GasMeter.h" #include <llvm/IR/GlobalVariable.h> #include <llvm/IR/Function.h> #include <llvm/IR/IntrinsicInst.h> #include "Type.h" #include "Ext.h" #include "RuntimeManager.h" namespace dev { namespace eth { namespace jit { namespace // Helper functions { uint64_t const c_stepGas = 1; uint64_t const c_b...
#include "GasMeter.h" #include <llvm/IR/GlobalVariable.h> #include <llvm/IR/Function.h> #include <llvm/IR/IntrinsicInst.h> #include "Type.h" #include "Ext.h" #include "RuntimeManager.h" namespace dev { namespace eth { namespace jit { namespace // Helper functions { uint64_t const c_stepGas = 1; uint64_t const c_b...
Remove compleated TODO task
Remove compleated TODO task
C++
mit
ethereum/evmjit,ethereum/evmjit,ethereum/evmjit
d79d55eb260a46bd3ffabfc22a6f1bbd4754ca1e
_studio/shared/umc/codec/av1_dec/src/umc_av1_decoder_va.cpp
_studio/shared/umc/codec/av1_dec/src/umc_av1_decoder_va.cpp
// Copyright (c) 2017-2020 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
// Copyright (c) 2017-2020 Intel Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge,...
Remove UMC_VA_LINUX macro for av1d
Remove UMC_VA_LINUX macro for av1d Signed-off-by: Yan Wang <8ca54580088a7ffe1dd243d1c16c6d1f04463d55@linux.intel.com>
C++
mit
Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK,Intel-Media-SDK/MediaSDK
2d970aead71b5ec203887d14f5cb36ae1f31aec1
dali/internal/update/animation/scene-graph-animation.cpp
dali/internal/update/animation/scene-graph-animation.cpp
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Optimize Orphan animator Cleanup.
Optimize Orphan animator Cleanup. keep a cleanup falg and update it if cleanup is required. and then cleanup at onece all the orphan animators. when there are no orphan animators we don't have to walk the animators twice. Change-Id: I9c2f7f2bef9a7655481743a22abdf366d8b12f21
C++
apache-2.0
dalihub/dali-core,dalihub/dali-core,dalihub/dali-core,dalihub/dali-core
2feb6279294a38c9686c9f98047ec5083650c695
src/validators/common/CMAny.cpp
src/validators/common/CMAny.cpp
/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sou...
/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sou...
Fix condition check.
Fix condition check. git-svn-id: 3ec853389310512053d525963cab269c063bb453@172941 13f79535-47bb-0310-9956-ffa450edef68
C++
apache-2.0
AaronNGray/xerces,AaronNGray/xerces,AaronNGray/xerces,AaronNGray/xerces
968e5fc60ce4ffdf514313f619daf839ee7e22e1
chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc
chrome/browser/extensions/api/media_galleries_private/media_galleries_private_apitest.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "chrome/browser/extensions/api/media_galleries_privat...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversions.h" #include "chrome/browser/extensions/api/media_galleries_privat...
Add test storage monitor for this browser test.
Add test storage monitor for this browser test. It looks like the test was flaky because this test slipped through the cracks. We weren't initializing the storage monitor, so there was a race where it might not be fully initialized when the test ran. Switched to using the test storage monitor as the other API browser ...
C++
bsd-3-clause
krieger-od/nwjs_chromium.src,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,markYoungH/chromium.src,markYoungH/chromium.src,markYoungH/chromium.src,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk-efl,jaruba/chromium.src,TheTypoMaster/chromium-crosswalk,ChromiumWebApps/chromium,d...
d21f970bcd61279bb6cedcbd4cb8fbe5e0fb2ad9
lib/vdraw/EPSImage.cpp
lib/vdraw/EPSImage.cpp
#pragma ident "$Id$" ///@file EPSImage.cpp Vector plotting in Encapsulated Postscript. Class definitions. //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it u...
#pragma ident "$Id$" ///@file EPSImage.cpp Vector plotting in Encapsulated Postscript. Class definitions. //============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk is free software; you can redistribute it and/or modify // it u...
Add 'gsview32' to the ViewManager, and it works under windows.
Add 'gsview32' to the ViewManager, and it works under windows. git-svn-id: 6625e4d6743179724b113c04fbf297d122273a36@2345 108fab2b-820f-0410-9f2c-e5cc2c41d7be
C++
lgpl-2.1
ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk,ianmartin/GPSTk
cd77c31d9d202f07b42a99ba5eb15c1fd9d678b7
src/viewer/qgl_render_widget.cc
src/viewer/qgl_render_widget.cc
#include "qgl_render_widget.h" #include "qmath.h" #include <cmath> #include <algorithm> #include <typeinfo> namespace spica { QGLRenderWidget::QGLRenderWidget(QWidget *parent) : QGLWidget(parent) , shaderProgram(0) , timer(0) , _useArcBall(false) , _scrallDelta(0.0) , _isRotate(false) , _newX...
#include "qgl_render_widget.h" #include <QtMath> #include <cmath> #include <algorithm> #include <typeinfo> namespace spica { QGLRenderWidget::QGLRenderWidget(QWidget *parent) : QGLWidget(parent) , shaderProgram(0) , timer(0) , _useArcBall(false) , _scrallDelta(0.0) , _isRotate(false) , _newX(...
Fix unresolved dependencies.
Fix unresolved dependencies.
C++
mit
tatsy/spica,tatsy/spica,tatsy/spica
cb3958f3e15ec900ca45d829999512c66df81068
bindings/python/src/torrent_status.cpp
bindings/python/src/torrent_status.cpp
// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/torrent_handle.hpp> #include <boost/python.hpp> #include <libtorrent/bitfield.hpp...
// Copyright Daniel Wallin 2006. Use, modification and distribution is // subject to the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <libtorrent/torrent_handle.hpp> #include <boost/python.hpp> #include <libtorrent/bitfield.hpp...
Remove 'connecting_to_tracker' state from bindings
Remove 'connecting_to_tracker' state from bindings git-svn-id: 6df6a9299d9fe08e1e18eb0c01ae615f7df02338@2629 a83610d8-ad2a-0410-a6ab-fc0612d85776
C++
bsd-3-clause
cit/libtorrent-peer-idol,cit/libtorrent-peer-idol,cscheid/libtorrent,cit/libtorrent-peer-idol,cit/libtorrent-peer-idol,cit/libtorrent-peer-idol,cscheid/libtorrent,cscheid/libtorrent,kuro/libtorrent,cscheid/libtorrent,cit/libtorrent-peer-idol,cscheid/libtorrent,cscheid/libtorrent,kuro/libtorrent,kuro/libtorrent,kuro/lib...
f4d86777db8ec4ee998a0d3c6ebaae15e54e5ea1
src/radosacl.cc
src/radosacl.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General ...
read Ceph configuration file
radosacl: read Ceph configuration file Signed-off-by: Colin McCabe <7b35906f1d014e74a9dc8c913eb229119df647aa@dreamhost.com>
C++
lgpl-2.1
ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph,ajnelson/ceph
2a8cf57a56fca0c4d1b456f4990385fffc9de794
code/Templates/Builder/main.cpp
code/Templates/Builder/main.cpp
#include <iostream> #include "DNest4/code/DNest4.h" #include "MyModel.h" using namespace DNest4; int main(int argc, char** argv) { DNest4::start<MyModel>(argc, argv); return 0; }
#include <iostream> #include "DNest4/code/DNest4.h" #include "MyModel.h" int main(int argc, char** argv) { // Use randh2 DNest4::RNG::randh_is_randh2 = true; // Run sampler DNest4::start<MyModel>(argc, argv); return 0; }
Use randh2
Use randh2
C++
mit
eggplantbren/DNest4,eggplantbren/DNest4,eggplantbren/DNest4,eggplantbren/DNest4,eggplantbren/DNest4
08e34cd4b1174c290a7088396cafb8f2f4e47823
src/hw/ide.cpp
src/hw/ide.cpp
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and Alfred Bratterud // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may...
Disable async irq handler to allow fat test to build
ide: Disable async irq handler to allow fat test to build
C++
apache-2.0
ingve/IncludeOS,AndreasAakesson/IncludeOS,AnnikaH/IncludeOS,mnordsletten/IncludeOS,hioa-cs/IncludeOS,hioa-cs/IncludeOS,mnordsletten/IncludeOS,AnnikaH/IncludeOS,hioa-cs/IncludeOS,mnordsletten/IncludeOS,mnordsletten/IncludeOS,AnnikaH/IncludeOS,ingve/IncludeOS,alfred-bratterud/IncludeOS,AndreasAakesson/IncludeOS,AndreasAa...
f3945a0f931f532c6a1fbdfca277c073cf93a75e
src/icelist.cc
src/icelist.cc
#include "config.h" #include "yfull.h" #include <X11/Xatom.h> #include "ylistbox.h" #include "yscrollview.h" #include "ymenu.h" #include "yxapp.h" #include "yaction.h" #include "yinputline.h" #include "wmmgr.h" #include "yrect.h" #include "ypaint.h" #include "sysdep.h" #include "yicon.h" #include "ylocale.h" #include <...
#include "config.h" #include "yfull.h" #include <X11/Xatom.h> #include "ylistbox.h" #include "yscrollview.h" #include "ymenu.h" #include "yxapp.h" #include "yaction.h" #include "yinputline.h" #include "wmmgr.h" #include "yrect.h" #include "ypaint.h" #include "sysdep.h" #include "yicon.h" #include "ylocale.h" #include <...
Replace strcpy by memcpy in icelist for OpenBSD.
Replace strcpy by memcpy in icelist for OpenBSD.
C++
lgpl-2.1
dicej/icewm,dicej/icewm,dicej/icewm,dicej/icewm
eb7c11be17d0db5eed628edea84c2f7f1bed342a
libdvbtee/channels.cpp
libdvbtee/channels.cpp
/***************************************************************************** * Copyright (C) 2011-2014 Michael Ira Krufky * * Author: Michael Ira Krufky <mkrufky@linuxtv.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License...
/***************************************************************************** * Copyright (C) 2011-2014 Michael Ira Krufky * * Author: Michael Ira Krufky <mkrufky@linuxtv.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License...
fix warning: taking the absolute value of unsigned type 'unsigned int' has no effect
channels: fix warning: taking the absolute value of unsigned type 'unsigned int' has no effect Signed-off-by: Michael Ira Krufky <00524723a60798c74a43fcc620c25dd7b9ece078@linuxtv.org>
C++
lgpl-2.1
mkrufky/libdvbtee,mkrufky/libdvbtee,anshul1912/libdvbtee,pashamesh/libdvbtee,mkrufky/libdvbtee,pashamesh/libdvbtee,anshul1912/libdvbtee,anshul1912/libdvbtee,mkrufky/libdvbtee,pashamesh/libdvbtee,mkrufky/libdvbtee
1166fd226f13be3606ba4307e979f7c5e02c9ce2
libmary/server_app.cpp
libmary/server_app.cpp
/* LibMary - C++ library for high-performance network servers Copyright (C) 2011 Dmitry Shatrov 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 L...
/* LibMary - C++ library for high-performance network servers Copyright (C) 2011 Dmitry Shatrov 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 L...
fix for previous commit
fix for previous commit
C++
lgpl-2.1
dshatrov/libmary,dshatrov/libmary,erdizz/libmary,erdizz/libmary,erdizz/libmary,dshatrov/libmary
df940fdd0db5c314d71f4fa8ad093b4cecd77ea3
type_traits.hpp
type_traits.hpp
#ifndef HMLIB_TYPETRAITS_INC #define HMLIB_TYPETRAITS_INC 100 # #include<type_traits> 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>::value> struct ch...
#ifndef HMLIB_TYPETRAITS_INC #define HMLIB_TYPETRAITS_INC 100 # #include<type_traits> 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>::value> struct ch...
Add has_begin_and_end in type_traits.
Add has_begin_and_end in type_traits.
C++
mit
hmito/hmLib,hmito/hmLib
1986af53354a083e0d432914c76d65ebbef26a1f
AssetInputMesh.C
AssetInputMesh.C
#include "AssetInputMesh.h" #include <maya/MFnMesh.h> #include <maya/MFloatPointArray.h> #include <maya/MIntArray.h> #include <maya/MItMeshPolygon.h> #include <maya/MMatrix.h> #include "util.h" AssetInputMesh::AssetInputMesh(int assetId, int inputIdx) : AssetInput(assetId, inputIdx), myInputAssetId(0) { ...
#include "AssetInputMesh.h" #include <maya/MFnMesh.h> #include <maya/MFloatPointArray.h> #include <maya/MIntArray.h> #include <maya/MMatrix.h> #include "util.h" AssetInputMesh::AssetInputMesh(int assetId, int inputIdx) : AssetInput(assetId, inputIdx), myInputAssetId(0) { HAPI_CreateGeoInput(myAssetId, my...
Use MFnMesh::getVertices instead of MItMeshPolygon
Use MFnMesh::getVertices instead of MItMeshPolygon
C++
mit
sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya,sonictk/HoudiniEngineForMaya
211cc9153239b08fc89270a1a33d3b5fedb59eb1
fpcmp/fpcmp.cpp
fpcmp/fpcmp.cpp
//===- fpcmp.cpp - A fuzzy "cmp" that permits floating point noise --------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
//===- fpcmp.cpp - A fuzzy "cmp" that permits floating point noise --------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // //===--------...
Fix bug, add support for +/-
Fix bug, add support for +/- git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@12934 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-3-clause
lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx
4ac40c194b7e8f0eed7f64a3c81e2c64ac3b0f75
Sources/Rosetta/Games/Game.cpp
Sources/Rosetta/Games/Game.cpp
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #include <Rosetta/Actions/Choose.hpp> #include <Rosetta/Action...
// This code is based on Sabberstone project. // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva // RosettaStone is hearthstone simulator using C++ with reinforcement learning. // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon #include <Rosetta/Actions/Choose.hpp> #include <Rosetta/Action...
Correct UpdateAura() method's code
fix: Correct UpdateAura() method's code - Fix std::size_t underflow problem - Add code to check boundary condition
C++
mit
Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp
3436e1cb81f0d24a98637dea1f946572430bf27f
mjolnir/input/read_local_interaction.hpp
mjolnir/input/read_local_interaction.hpp
#ifndef MJOLNIR_READ_LOCAL_INTERACTION_HPP #define MJOLNIR_READ_LOCAL_INTERACTION_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/interaction/BondLengthInteraction.hpp> #include <mjolnir/interaction/BondAngleInteraction.hpp> #include <mjolnir/interaction/DihedralAngleInteraction.hpp> #include <mjolnir/util/make_u...
#ifndef MJOLNIR_READ_LOCAL_INTERACTION_HPP #define MJOLNIR_READ_LOCAL_INTERACTION_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/interaction/BondLengthInteraction.hpp> #include <mjolnir/interaction/BondAngleInteraction.hpp> #include <mjolnir/interaction/DihedralAngleInteraction.hpp> #include <mjolnir/util/make_u...
refactor read_local_interaction w/ toml11-v2 features
refactor read_local_interaction w/ toml11-v2 features
C++
mit
ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir
554fd90dc1c705e2a15b627d6a91f307ce47c013
mjolnir/input/read_local_interaction.hpp
mjolnir/input/read_local_interaction.hpp
#ifndef MJOLNIR_INPUT_READ_LOCAL_INTERACTION_HPP #define MJOLNIR_INPUT_READ_LOCAL_INTERACTION_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/interaction/local/BondLengthInteraction.hpp> #include <mjolnir/interaction/local/ContactInteraction.hpp> #include <mjolnir/interaction/local/BondAngleInteraction.hpp> #incl...
#ifndef MJOLNIR_INPUT_READ_LOCAL_INTERACTION_HPP #define MJOLNIR_INPUT_READ_LOCAL_INTERACTION_HPP #include <extlib/toml/toml.hpp> #include <mjolnir/interaction/local/BondLengthInteraction.hpp> #include <mjolnir/interaction/local/ContactInteraction.hpp> #include <mjolnir/interaction/local/BondAngleInteraction.hpp> #incl...
enable to set margin for ContactInteraction
feat: enable to set margin for ContactInteraction
C++
mit
ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir
fada959b4b0271e4cc19179f3b79076506ddfaab
modules/dnn/src/layers/layers_common.cpp
modules/dnn/src/layers/layers_common.cpp
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
Fix comment
Fix comment
C++
apache-2.0
opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv
fa49f5f505b432c3b015778bc8fdd50c776b0bbb
modules/map/tools/proto_map_generator.cc
modules/map/tools/proto_map_generator.cc
/* Copyright 2017 The Apollo Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
/* Copyright 2017 The Apollo Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agree...
fix proto map generator bug (#1814)
fix proto map generator bug (#1814)
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
3c0c482442659042e7f3ef0c753cbf21df2ef02d
plugins/robots/interpreters/trikKitInterpreterCommon/src/robotModel/twoD/parts/twoDLineSensor.cpp
plugins/robots/interpreters/trikKitInterpreterCommon/src/robotModel/twoD/parts/twoDLineSensor.cpp
/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* Copyright 2007-2015 QReal Research Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
fix correspondence between linesensors
fix correspondence between linesensors
C++
apache-2.0
qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal,qreal/qreal
ccc706559f2b5be9d60edc7806ac6d5107ac0f69
idl/partition_checksum.idl.hh
idl/partition_checksum.idl.hh
/* * Copyright 2016 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
/* * Copyright 2016 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later ver...
Add get_sync_boundary_response
idl: Add get_sync_boundary_response Needed by the row level repair RPC verbs.
C++
agpl-3.0
scylladb/scylla,scylladb/scylla,avikivity/scylla,scylladb/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla
a28fbebcee64c6a3db56c385385e3eb586bc2438
libpolyml/rtsentry.cpp
libpolyml/rtsentry.cpp
/* Title: rtsentry.cpp - Entry points to the run-time system Copyright (c) 2016, 2017 David C. J. Matthews This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. ...
/* Title: rtsentry.cpp - Entry points to the run-time system Copyright (c) 2016, 2017 David C. J. Matthews This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1 as published by the Free Software Foundation. ...
Add the name of the entry point to the Fail exception packet.
Add the name of the entry point to the Fail exception packet.
C++
lgpl-2.1
dcjm/polyml,polyml/polyml,dcjm/polyml,polyml/polyml,polyml/polyml,dcjm/polyml,dcjm/polyml,polyml/polyml
16bcfd38fb409af170fb1190b7d837e87b138b7e
c/src/utils/XSECSOAPRequestorSimple.cpp
c/src/utils/XSECSOAPRequestorSimple.cpp
/* * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
Implement checking of SOAP faults
Implement checking of SOAP faults git-svn-id: c5bb8e2b15dc16fd1aec0e5653c08870c9ddec7d@351084 13f79535-47bb-0310-9956-ffa450edef68
C++
apache-2.0
apache/santuario-java,apache/santuario-java,apache/santuario-java
9c1bb7f34084da02e15a1dae4bec9a8734d64145
include/AnnSceneryManager.hpp
include/AnnSceneryManager.hpp
#ifndef ANN_SCENERY_MANAGER #define ANN_SCENERY_MANAGER #include "systemMacro.h" #include "AnnSubsystem.hpp" #include "OgreSceneManager.h" #include "AnnTypes.h" #include "OgreVRRender.hpp" #include <memory> #include <algorithm> namespace Annwvyn { ///Scenery Manager, scene configuration for lighting and sky. class ...
#ifndef ANN_SCENERY_MANAGER #define ANN_SCENERY_MANAGER #include "systemMacro.h" #include "AnnSubsystem.hpp" #include "OgreSceneManager.h" #include "AnnTypes.h" #include "OgreVRRender.hpp" #include <memory> #include <algorithm> namespace Annwvyn { ///Scenery Manager. Set the scene rendering parameters, like the expo...
Change scenery manager description for doxygen
Change scenery manager description for doxygen
C++
mit
Ybalrid/Annwvyn,Ybalrid/Annwvyn,Ybalrid/Annwvyn
1275eda464b4234da2f0bc1f4d095e4c3b4977bc
src/shaders.cpp
src/shaders.cpp
#include "shaders.h" //#include "mathutils.h" #define INVALID_SHADER 0 #define DEBUG_SHADER_ERRORS true // // AnyShader // AnyShader::AnyShader() { //empty } AnyShader::~AnyShader() { //empty } /** * Create the shader program. */ bool AnyShader::create() { if (failed) { return false; } ...
#include "shaders.h" //#include "mathutils.h" #define INVALID_SHADER 0 #define DEBUG_SHADER_ERRORS true // // AnyShader // AnyShader::AnyShader() { //empty } AnyShader::~AnyShader() { //empty } /** * Create the shader program. */ bool AnyShader::create() { if (failed) { return false; } ...
set shader define
set shader define
C++
mit
cbratschi/aminogfx-gl,cbratschi/aminogfx-gl,cbratschi/aminogfx-gl,cbratschi/aminogfx-gl,cbratschi/aminogfx-gl
2ee3df29f5de2f231c2d3a83ab5b0c5d016e8eaa
core/src/oned/ODCode128Reader.cpp
core/src/oned/ODCode128Reader.cpp
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Simplify ODCode128Reader decoding logic
Simplify ODCode128Reader decoding logic
C++
apache-2.0
nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,nu-book/zxing-cpp,nu-book/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp,huycn/zxing-cpp
e7be5a07e5bb21bdcfa62d3455f2801bbe88505b
src/sim/root.cc
src/sim/root.cc
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * Copyright (c) 2011 Advanced Micro Devices * 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 sourc...
/* * Copyright (c) 2002-2005 The Regents of The University of Michigan * Copyright (c) 2011 Advanced Micro Devices * 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 sourc...
Use the new setTick and getTick functions.
TimeSync: Use the new setTick and getTick functions.
C++
bsd-3-clause
andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin
0dfa9c9e42380910de76c7a0e6fe601f741236fb
src/output.cxx
src/output.cxx
// TRENTO: Reduced Thickness Event-by-event Nuclear Topology // Copyright 2015 Jonah E. Bernhard, J. Scott Moreland // MIT License #include "output.h" #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/p...
// TRENTO: Reduced Thickness Event-by-event Nuclear Topology // Copyright 2015 Jonah E. Bernhard, J. Scott Moreland // MIT License #include "output.h" #include <algorithm> #include <cmath> #include <iomanip> #include <iostream> #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/p...
revert hdf5 output
revert hdf5 output
C++
mit
Duke-QCD/trento,Duke-QCD/trento
c9b2decf0d3225a5e43539dd56c38a957452f7d0
include/libtorrent/config.hpp
include/libtorrent/config.hpp
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* Copyright (c) 2005, Arvid Norberg All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
apply patch to fix build on GNU hurd
apply patch to fix build on GNU hurd
C++
bsd-3-clause
snowyu/libtorrent,hamedramzi/libtorrent,hamedramzi/libtorrent,TeoTwawki/libtorrent,TeoTwawki/libtorrent,hamedramzi/libtorrent,TeoTwawki/libtorrent,hamedramzi/libtorrent,snowyu/libtorrent,TeoTwawki/libtorrent,snowyu/libtorrent,snowyu/libtorrent,hamedramzi/libtorrent,snowyu/libtorrent,TeoTwawki/libtorrent,hamedramzi/libt...
4044886cc9bb5c10c79af52340676ae939006dd6
include/protocol/messages.hpp
include/protocol/messages.hpp
#ifndef MESSAGES_HPP_ #define MESSAGES_HPP_ #include <cstdint> namespace protocol { namespace message { struct heartbeat_message_t { enum { ID = 0x00 }; std::uint8_t seq; } __attribute__((packed)); struct log_message_t { enum { ID = 0x01 }; char data[255]; } __attribute__((packed)); struct attitude_messa...
#ifndef MESSAGES_HPP_ #define MESSAGES_HPP_ #include <cstdint> namespace protocol { namespace message { struct heartbeat_message_t { enum { ID = 0x00 }; std::uint8_t seq; } __attribute__((packed)); struct log_message_t { enum { ID = 0x01 }; char data[255]; } __attribute__((packed)); struct attitude_messa...
Add length for attitude message.
Add length for attitude message.
C++
mit
OSURoboticsClub/aerial_protocol
66990867b8170e484e628ae01e68ab1dc1f98f22
mutation.cc
mutation.cc
/* * Copyright (C) 2014 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
/* * Copyright (C) 2014 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later...
Make printout more concise
mutation: Make printout more concise Before: {ks.cf key {key: pk{000c706b30303030303030303030}, token:-2018791535786252460} data {mutation_partition: After: {ks.cf {key: pk{000c706b30303030303030303030}, token:-2018791535786252460} {mutation_partition:
C++
agpl-3.0
duarten/scylla,scylladb/scylla,duarten/scylla,scylladb/scylla,scylladb/scylla,avikivity/scylla,avikivity/scylla,duarten/scylla,avikivity/scylla,scylladb/scylla
d1382a680d7af66720b2a30c57b32de77aa25623
doc/snippets/IOFormat.cpp
doc/snippets/IOFormat.cpp
std::string sep = "\n----------------------------------------\n"; Matrix3f m1; m1 << 1.111111, 2, 3.33333, 4, 5, 6, 7, 8.888888, 9; IOFormat CommaInitFmt(4, Raw, ", ", ", ", "", "", " << ", ";"); IOFormat CleanFmt(4, AlignCols, ", ", "\n", "[", "]"); IOFormat OctaveFmt(4, AlignCols, ", ", ";\n", "", "", "[", "]"); IOF...
std::string sep = "\n----------------------------------------\n"; Matrix3d m1; m1 << 1.111111, 2, 3.33333, 4, 5, 6, 7, 8.888888, 9; IOFormat CommaInitFmt(StreamPrecision, DontAlignCols, ", ", ", ", "", "", " << ", ";"); IOFormat CleanFmt(4, 0, ", ", "\n", "[", "]"); IOFormat OctaveFmt(StreamPrecision, 0, ", ", ";\n", ...
update snippet
update snippet
C++
bsd-3-clause
mjbshaw/Eigen,madlib/eigen_backup,madlib/eigen_backup,rotorliu/eigen,mjbshaw/Eigen,mjbshaw/Eigen,rotorliu/eigen,rotorliu/eigen,mjbshaw/Eigen,rotorliu/eigen,madlib/eigen_backup,madlib/eigen_backup
eafc66fccd9b2dcf7d60ac15c18f3972b51445f1
Modules/DiffusionImaging/MiniApps/TensorReconstruction.cpp
Modules/DiffusionImaging/MiniApps/TensorReconstruction.cpp
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
Revert "COMP: Force continuous dartclients to run."
Revert "COMP: Force continuous dartclients to run." This reverts commit c9709b3b694c0aa6687e3499e2b6302bd2508146.
C++
bsd-3-clause
fmilano/mitk,iwegner/MITK,danielknorr/MITK,NifTK/MITK,fmilano/mitk,RabadanLab/MITKats,MITK/MITK,MITK/MITK,fmilano/mitk,MITK/MITK,RabadanLab/MITKats,fmilano/mitk,danielknorr/MITK,iwegner/MITK,NifTK/MITK,RabadanLab/MITKats,RabadanLab/MITKats,NifTK/MITK,RabadanLab/MITKats,RabadanLab/MITKats,danielknorr/MITK,NifTK/MITK,iwe...
2bfb837c2624503b5c8899786c66fa137b2dd356
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTPCKStarTest.C
PWGLF/RESONANCES/macros/mini/AddAnalysisTaskTPCKStarTest.C
/*************************************************************************** fbellini@cern.ch - last modified on 06/08/2012 // // General macro to configure the RSN analysis task. // It calls all configs desired by the user, by means // of the boolean switches defined in the first lines. // --- // Inputs:...
/*************************************************************************** fbellini@cern.ch - last modified on 06/08/2012 // // General macro to configure the RSN analysis task. // It calls all configs desired by the user, by means // of the boolean switches defined in the first lines. // --- // Inputs:...
Fix vertex z cut (Kishora)
Fix vertex z cut (Kishora)
C++
bsd-3-clause
carstooon/AliPhysics,hzanoli/AliPhysics,mbjadhav/AliPhysics,fcolamar/AliPhysics,lfeldkam/AliPhysics,dmuhlhei/AliPhysics,preghenella/AliPhysics,carstooon/AliPhysics,yowatana/AliPhysics,lfeldkam/AliPhysics,hcab14/AliPhysics,mbjadhav/AliPhysics,ALICEHLT/AliPhysics,victor-gonzalez/AliPhysics,alisw/AliPhysics,dmuhlhei/AliPh...
3d780ac3478c0863d9824f002731966c86180c38
lib/safestack/safestack.cc
lib/safestack/safestack.cc
//===-- safestack.cc ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
//===-- safestack.cc ------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
Remove pageSize
[safestack] Remove pageSize Summary: 3rd party sysconf interceptor may crash if it's called before unsafe_stack_setup However pageSize is not useful here. mmap should round up on it's own, SFS_CHECK can be removed. Reviewers: eugenis, vlad.tsyrklevich Subscribers: #sanitizers, llvm-commits Tags: #sanitizers, #llvm...
C++
apache-2.0
llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt
86d340264ca7cbe423b95b5b1dfc3562485f5b72
opencog/server/NetworkServer.cc
opencog/server/NetworkServer.cc
/* * opencog/server/NetworkServer.cc * * Copyright (C) 2002-2007 Novamente LLC * Copyright (C) 2008 by OpenCog Foundation * All Rights Reserved * * Written by Andre Senna <senna@vettalabs.com> * Gustavo Gama <gama@vettalabs.com> * * This program is free software; you can redistribute it and/or modi...
/* * opencog/server/NetworkServer.cc * * Copyright (C) 2002-2007 Novamente LLC * Copyright (C) 2008 by OpenCog Foundation * All Rights Reserved * * Written by Andre Senna <senna@vettalabs.com> * Gustavo Gama <gama@vettalabs.com> * * This program is free software; you can redistribute it and/or modi...
Fix thread crash on CogServer destruction
Fix thread crash on CogServer destruction
C++
agpl-3.0
kim135797531/opencog,AmeBel/atomspace,jswiergo/atomspace,AmeBel/opencog,Tiggels/opencog,shujingke/opencog,misgeatgit/atomspace,rTreutlein/atomspace,ruiting/opencog,rohit12/opencog,iAMr00t/opencog,roselleebarle04/opencog,printedheart/opencog,eddiemonroe/opencog,Selameab/opencog,ceefour/opencog,ruiting/opencog,eddiemonro...
0fab51f39ac0498024c9629daa235e1189c7f0de
src/summary.cpp
src/summary.cpp
//======================================================================= // Copyright (c) 2013-2017 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=================================================================...
//======================================================================= // Copyright (c) 2013-2017 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=================================================================...
Fix print_columns
Fix print_columns
C++
mit
wichtounet/budgetwarrior,wichtounet/budgetwarrior,wichtounet/budgetwarrior
92739af6c52c2f7baf1574a1ac38d0cd245488e5
TableGen/DAGISelMatcherOpt.cpp
TableGen/DAGISelMatcherOpt.cpp
//===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- DAGISelMatcherOpt.cpp - Optimize a DAG Matcher ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
add some noop code to push it out of my tree.
add some noop code to push it out of my tree. git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@97094 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-3-clause
lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx
7d2de2b9d3a1799cec2d9943147583f7301be632
jubatus/client.hpp
jubatus/client.hpp
// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011 Preferred Networks and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 2.1 as p...
// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011 Preferred Networks and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License version 2.1 as p...
fix missing weight_client.hpp in client.hpp (fix #1127)
fix missing weight_client.hpp in client.hpp (fix #1127)
C++
lgpl-2.1
jubatus/jubatus,jubatus/jubatus,jubatus/jubatus
2f03fd4eeff5f01c241cbc7d9e51fb2f536e88f7
curiosity_animation/src/ofApp.cpp
curiosity_animation/src/ofApp.cpp
#include "ofApp.h" #include "ofxXmlSettings.h" //-------------------------------------------------------------- void ofApp::setup(){ // start logging ofLogToFile("app.log"); // start recoding events if (!eventLog.open(ofToDataPath("events.txt"), ofFile::WriteOnly)) { ofLogError() << "Error...
#include "ofApp.h" #include "ofxXmlSettings.h" //-------------------------------------------------------------- void ofApp::setup(){ // start logging ofLogToFile("app.log"); // start recoding events if (!eventLog.open(ofToDataPath("events.txt"), ofFile::WriteOnly)) { ofLogError() << "Error...
save gamestats
save gamestats
C++
mit
tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation,tanel/processing_ultrasonic_animation
812c590d821353f48548858df6fed16b20b8d60a
chrome/browser/errorpage_browsertest.cc
chrome/browser/errorpage_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/bind.h" #include "base/utf_string_conversions.h" #include "chrome/browser/net/url_request_mock_util.h" #include "chrome/browser/ui/brow...
// 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/bind.h" #include "base/utf_string_conversions.h" #include "chrome/browser/net/url_request_mock_util.h" #include "chrome/browser/ui/brow...
Mark more ErrorPageTest.DNSError* tests as flaky
Mark more ErrorPageTest.DNSError* tests as flaky TBR=mmenke@chromium.org BUG=109669 TEST=ErrorPageTest.DNSError_[Basic|GoBack2AndForward|GoBack2AndForward2] Review URL: http://codereview.chromium.org/9114058 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@117140 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
gavinp/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,yitian134/chr...
ad27ecb3b6378ddd38fca1268054b6d564461571
chrome/browser/process_singleton_mac.cc
chrome/browser/process_singleton_mac.cc
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <errno.h> #include <fcntl.h> #include <sys/file.h> #include "chrome/browser/process_singleton.h" #include "base/eintr_wrapper.h" #include "...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <errno.h> #include <fcntl.h> #include <sys/file.h> #include "chrome/browser/process_singleton.h" #include "base/eintr_wrapper.h" #include "...
Fix clang breakage in process_singleton_mac.cc.
[Mac] Fix clang breakage in process_singleton_mac.cc. Not using the return value from close() is verboten. Use the return value. Additionally, a late addition to the original CL asked for clarification that kMaxErrno wasn't "too big". Make it so. BUG=none TEST=clang builds. histograms don't take up megabytes. Re...
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
bbdb8d37f859a07348d4548f760513f1602eb85d
wb-homa-modbus/modbus_client.cpp
wb-homa-modbus/modbus_client.cpp
#include <iostream> #include <unistd.h> #include "modbus_client.h" class TModbusHandler { public: TModbusHandler(const TModbusParameter& _param): param(_param) {} virtual ~TModbusHandler() {} virtual int Read(modbus_t* ctx) = 0; virtual void Write(modbus_t* ctx, int v); const TModbusParameter& Para...
#include <iostream> #include <unistd.h> #include "modbus_client.h" class TModbusHandler { public: TModbusHandler(const TModbusParameter& _param): param(_param) {} virtual ~TModbusHandler() {} virtual int Read(modbus_t* ctx) = 0; virtual void Write(modbus_t* ctx, int v); const TModbusParameter& Para...
fix input register handling.
modbus: fix input register handling.
C++
mit
vasvlad/wb-homa-drivers,vasvlad/wb-homa-drivers,vasvlad/wb-homa-drivers,vasvlad/wb-homa-drivers
feb738b7a046ace499034f3a26c988ef78f5fac9
engine/core/linux/NativeWindowLinux.hpp
engine/core/linux/NativeWindowLinux.hpp
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_CORE_NATIVEWINDOWLINUX_HPP #define OUZEL_CORE_NATIVEWINDOWLINUX_HPP #include "../Setup.h" #include <cstdint> #if OUZEL_SUPPORTS_X11 # include <X11/Xlib.h> # include <X11/Xutil.h> #elif OUZEL_SUPPORTS_DISPMANX # include <bcm_host.h> typedef...
// Copyright 2015-2020 Elviss Strazdins. All rights reserved. #ifndef OUZEL_CORE_NATIVEWINDOWLINUX_HPP #define OUZEL_CORE_NATIVEWINDOWLINUX_HPP #include "../Setup.h" #include <cstdint> #if OUZEL_SUPPORTS_X11 # include <X11/Xlib.h> # include <X11/Xutil.h> #elif OUZEL_SUPPORTS_DISPMANX # include <bcm_host.h> typedef...
Remove unneeded include
Remove unneeded include
C++
unlicense
elnormous/ouzel,elnormous/ouzel,elnormous/ouzel
aa10e9b61d3b42c94a36defd6d259e4f6b314d2d
EMCAL/EMCALUtils/AliEMCALTriggerMappingV1.cxx
EMCAL/EMCALUtils/AliEMCALTriggerMappingV1.cxx
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
Fix global mapping
Fix global mapping
C++
bsd-3-clause
miranov25/AliRoot,ALICEHLT/AliRoot,sebaleh/AliRoot,sebaleh/AliRoot,coppedis/AliRoot,miranov25/AliRoot,alisw/AliRoot,alisw/AliRoot,miranov25/AliRoot,mkrzewic/AliRoot,sebaleh/AliRoot,shahor02/AliRoot,shahor02/AliRoot,ecalvovi/AliRoot,alisw/AliRoot,ALICEHLT/AliRoot,miranov25/AliRoot,miranov25/AliRoot,sebaleh/AliRoot,coppe...
872c47a960eb51299401fa093ffb2b4c25a78b58
src/test/vm.cpp
src/test/vm.cpp
#include <imq/vm.h> #include <imq/expressions.h> #include <imq/mathexpr.h> #include <imq/image.h> #include <gtest/gtest.h> using namespace imq; TEST(VMachine, CallFunctionExpr) { VMachine vm; bool functionCalled = false; QValue func = QValue::Function(&vm, [&](VMachine* vm, int32_t argCount, QValue* args, QValue*...
#include <imq/vm.h> #include <imq/expressions.h> #include <imq/mathexpr.h> #include <imq/image.h> #include <gtest/gtest.h> using namespace imq; TEST(VMachine, CallFunctionExpr) { VMachine vm; bool functionCalled = false; QValue func = QValue::Function(&vm, [&](VMachine* vm, int32_t argCount, QValue* args, QValue*...
fix VMachine.DefineOutput test as outputs may now be redefined
fix VMachine.DefineOutput test as outputs may now be redefined
C++
mit
redxdev/imquery,redxdev/imquery,redxdev/imquery
5a36bfe017b8c4408b8816246e07abcec96e0781
chrome/browser/ui/views/elevation_icon_setter.cc
chrome/browser/ui/views/elevation_icon_setter.cc
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/elevation_icon_setter.h" #include "base/task_runner_util.h" #include "content/public/browser/browser_thread.h" #include...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/views/elevation_icon_setter.h" #include "base/task_runner_util.h" #include "content/public/browser/browser_thread.h" #include...
Make elevation icon size correct in different DPI settings
Make elevation icon size correct in different DPI settings BUG=449731 Review URL: https://codereview.chromium.org/849543003 Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#312458}
C++
bsd-3-clause
chuan9/chromium-crosswalk,Chilledheart/chromium,ltilve/chromium,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ltilve/chromium,hgl888/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,fujunwei/chromium-crosswalk,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Pluto-tv/chromium-crosswalk...
948d55c179e7b9fea28c84d5b1fc2040120db730
Caprica/main.cpp
Caprica/main.cpp
#include <ostream> #include <string> #include <ppl.h> #include <boost/filesystem.hpp> #include <common/CapricaConfig.h> #include <papyrus/PapyrusResolutionContext.h> #include <papyrus/PapyrusScript.h> #include <papyrus/parser/PapyrusParser.h> #include <pex/PexAsmWriter.h> #include <pex/PexReader.h> #include <pex/Pe...
#include <ostream> #include <string> #include <ppl.h> #include <boost/filesystem.hpp> #include <common/CapricaConfig.h> #include <papyrus/PapyrusResolutionContext.h> #include <papyrus/PapyrusScript.h> #include <papyrus/parser/PapyrusParser.h> #include <pex/PexAsmWriter.h> #include <pex/PexReader.h> #include <pex/Pe...
Bump version number to v0.0.8
Bump version number to v0.0.8
C++
mit
Orvid/Caprica,Orvid/Caprica
568a0a731a5f692f3a995a82b37a3f4fd4562a72
dynd/src/wrapper.cpp
dynd/src/wrapper.cpp
// // Copyright (C) 2011-15 DyND Developers // BSD 2-Clause License, see LICENSE.txt // #include "wrapper.hpp" using namespace std; template <typename T> PyTypeObject *&DyND_PyWrapper_Type() { static PyTypeObject *type = NULL; return type; } template PyTypeObject *&DyND_PyWrapper_Type<dynd::nd::array>(); templa...
// // Copyright (C) 2011-15 DyND Developers // BSD 2-Clause License, see LICENSE.txt // #include "wrapper.hpp" using namespace std; template <typename T> inline PyTypeObject *&DyND_PyWrapper_Type() { static PyTypeObject *type = NULL; return type; } template PyTypeObject *&DyND_PyWrapper_Type<dynd::nd::array>();...
Update wrapper.cpp
Update wrapper.cpp
C++
bsd-2-clause
insertinterestingnamehere/dynd-python,cpcloud/dynd-python,izaid/dynd-python,ContinuumIO/dynd-python,ContinuumIO/dynd-python,ContinuumIO/dynd-python,cpcloud/dynd-python,pombredanne/dynd-python,ContinuumIO/dynd-python,izaid/dynd-python,pombredanne/dynd-python,cpcloud/dynd-python,mwiebe/dynd-python,pombredanne/dynd-python...
1f31001f2b86e805cf19826f2eb1685c51966e34
packages/applications/defmap.cc
packages/applications/defmap.cc
/*========================================================================= Library : Image Registration Toolkit (IRTK) Module : $Id$ Copyright : Imperial College, Department of Computing Visual Information Processing (VIP), 2008 onwards Date : $Date$ Version : $Revision$ Changes ...
/*========================================================================= Library : Image Registration Toolkit (IRTK) Module : $Id$ Copyright : Imperial College, Department of Computing Visual Information Processing (VIP), 2008 onwards Date : $Date$ Version : $Revision$ Changes ...
Allow a map of squared distances.
Allow a map of squared distances.
C++
unknown
sk1712/IRTK,sk1712/IRTK,ghisvail/irtk-legacy,BioMedIA/irtk-legacy,BioMedIA/IRTK,BioMedIA/IRTK,ghisvail/irtk-legacy,sk1712/IRTK,BioMedIA/IRTK,ghisvail/irtk-legacy,BioMedIA/irtk-legacy,BioMedIA/irtk-legacy,BioMedIA/irtk-legacy,sk1712/IRTK,BioMedIA/IRTK,ghisvail/irtk-legacy
afd3599a9c86244d572f6c3281be335d96dec11a
Extractor/XMLParser.cpp
Extractor/XMLParser.cpp
/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions ...
/* Copyright (c) 2013, Project OSRM, Dennis Luxen, others All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions ...
remove depth of nested block
remove depth of nested block
C++
bsd-2-clause
neilbu/osrm-backend,neilbu/osrm-backend,skyborla/osrm-backend,ammeurer/osrm-backend,raymond0/osrm-backend,skyborla/osrm-backend,raymond0/osrm-backend,agruss/osrm-backend,bjtaylor1/Project-OSRM-Old,Conggge/osrm-backend,ammeurer/osrm-backend,raymond0/osrm-backend,neilbu/osrm-backend,duizendnegen/osrm-backend,agruss/osrm-...
3a114e1570ce483f6a659148131112dd634a0f47
MergeTwoSortListUseMultiCore/mergeTwoList.cpp
MergeTwoSortListUseMultiCore/mergeTwoList.cpp
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> #include <pthread.h> #include <sys/time.h> #include <stdint.h> #include <fstream> struct arg_struct { const std::vector<int> *first; uint32_t first_size_begin; uint32_t first_size_end; const std::vector<int> *second; ui...
#include <iostream> #include <cstdlib> #include <vector> #include <algorithm> #include <pthread.h> #include <sys/time.h> #include <stdint.h> #include <fstream> struct arg_struct { const std::vector<int> *first; uint32_t first_size_begin; uint32_t first_size_end; const std::vector<int> *second; ui...
fix bug
fix bug
C++
mit
armsword/snippet,armsword/snippet
9df792c199473ac1bd012b8018373680ac00c309
test/CodeGenCXX/global-init.cpp
test/CodeGenCXX/global-init.cpp
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s struct A { A(); ~A(); }; struct B { B(); ~B(); }; struct C { void *field; }; struct D { ~D(); }; // CHECK: @c = global %struct.C zeroinitializer, align 8 // CHECK: call void @_ZN1AC1Ev(%struct.A* @a) // CHECK: call i32 @__cxa_at...
// RUN: %clang_cc1 -triple=x86_64-apple-darwin10 -emit-llvm %s -o - |FileCheck %s struct A { A(); ~A(); }; struct B { B(); ~B(); }; struct C { void *field; }; struct D { ~D(); }; // CHECK: @c = global %struct.C zeroinitializer, align 8 // CHECK: call void @_ZN1AC1Ev(%struct.A* @a) // CHECK: call i32 @__cxa_at...
Fix test.
Fix test. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@105668 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/cl...
c42f0a5fe7641f565d1061f45258ef37f1a5499a
ui/src/inputoutputmanager.cpp
ui/src/inputoutputmanager.cpp
/* Q Light Controller inputoutputmanager.cpp Copyright (c) Massimo Callegari 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.txt Unl...
/* Q Light Controller inputoutputmanager.cpp Copyright (c) Massimo Callegari 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.txt Unl...
disable removeUniverse button
InputOutputManager: disable removeUniverse button when the last universe is not selected.
C++
apache-2.0
nedmech/qlcplus,kripton/qlcplus,plugz/qlcplus,plugz/qlcplus,nedmech/qlcplus,kripton/qlcplus,nedmech/qlcplus,mcallegari/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,plugz/qlcplus,sbenejam/qlcplus,sbenejam/qlcplus,kripton/qlcplus,kripton/qlcplus,kripton/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,plugz/qlcplus,nedmech/qlc...
57798768a705446f09ec306b84f7b4161f421b08
src/translate.C
src/translate.C
#include "run_submission.h" #include <stdio.h> #include <string.h> const char * safe_get(Table& t, const char* key, const char* defaultValue) { Table::const_iterator got = t.find(key); if (got == t.end()) return defaultValue; return got->second.c_str(); } void translate(Table& envT, Table& userT, DTable& us...
#include "run_submission.h" #include <stdio.h> #include <string.h> const char * safe_get(Table& t, const char* key, const char* defaultValue) { Table::const_iterator got = t.find(key); if (got == t.end()) return defaultValue; return got->second.c_str(); } void translate(Table& envT, Table& userT, DTable& us...
use more SLURM generic names for queue and account names in translate.C
use more SLURM generic names for queue and account names in translate.C
C++
lgpl-2.1
xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt,xalt/xalt
3afad2f9e1e7e2f007ef220a3da0151b66a75abe
data-student.cpp
data-student.cpp
#include "data-student.hpp" using namespace std; Semester::Semester() { period = 0; } Semester::Semester(int p) { period = p; } void Student::init(string n, int s, int g, string m) { name = n; startingYear = s; gradutationYear = g; parseMajors(m); } Student::Student() { init("", 2000, 2004, ""); } Student::S...
#include "data-student.hpp" using namespace std; Semester::Semester() { period = 0; } Semester::Semester(int p) { period = p; } void Student::init(string n, int s, int g, string m) { name = n; startingYear = s; gradutationYear = g; parseMajors(m); } Student::Student() { init("", 2000, 2004, ""); } Student::S...
Update the formatting of the returned data from Student::getData
Update the formatting of the returned data from Student::getData
C++
agpl-3.0
hawkrives/gobbldygook,hawkrives/gobbldygook,hawkrives/gobbldygook
54c6c33f04103de0d40b2dd085af61a6e765d2ff
test/bin_test_process_output.cc
test/bin_test_process_output.cc
/* ** Copyright 2011-2012 Merethis ** ** This file is part of Centreon Clib. ** ** Centreon Clib is free software: you can redistribute it ** and/or modify it under the terms of the GNU Affero General Public ** License as published by the Free Software Foundation, either version ** 3 of the License, or (at your option)...
/* ** Copyright 2011-2012 Merethis ** ** This file is part of Centreon Clib. ** ** Centreon Clib is free software: you can redistribute it ** and/or modify it under the terms of the GNU Affero General Public ** License as published by the Free Software Foundation, either version ** 3 of the License, or (at your option)...
Fix compatibility of a unit test with Win32.
Fix compatibility of a unit test with Win32.
C++
apache-2.0
centreon/centreon-clib,centreon/centreon-clib,centreon/centreon-clib
2ad4d8ef22e19643dd758e43671161c7aebe6ee5
modules/vectorfieldvisualization/processors/datageneration/rbfvectorfieldgenerator2d.cpp
modules/vectorfieldvisualization/processors/datageneration/rbfvectorfieldgenerator2d.cpp
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2015 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
Revert "VectorFieldVisualization: RBF2D VF Generator: Some log info for debuging (jenkins)"
Revert "VectorFieldVisualization: RBF2D VF Generator: Some log info for debuging (jenkins)" This reverts commit fb32a125876af8226a91ec364fdb38b4317c0ba4.
C++
bsd-2-clause
inviwo/inviwo,inviwo/inviwo,Sparkier/inviwo,Sparkier/inviwo,inviwo/inviwo,Sparkier/inviwo,inviwo/inviwo,inviwo/inviwo,Sparkier/inviwo,inviwo/inviwo,Sparkier/inviwo
e3f0fb881f05e322e98f9732442a96e366c9a4b7
external/vulkancts/framework/vulkan/vkRenderDocUtil.cpp
external/vulkancts/framework/vulkan/vkRenderDocUtil.cpp
/*------------------------------------------------------------------------- * Vulkan CTS Framework * -------------------- * * Copyright (c) 2018 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
/*------------------------------------------------------------------------- * Vulkan CTS Framework * -------------------- * * Copyright (c) 2018 The Khronos Group Inc. * Copyright (c) 2018 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in...
Correct copyright header
Correct copyright header Components: Vulkan, Framework Change-Id: I58107231871c5997d2feaf38e6633ed426288c00 Affects: None
C++
apache-2.0
KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/Vulkan-CTS,KhronosGroup/Vulkan-CTS,googlestadia/VK-GL-CTS,googlestadia/VK-GL-CTS,googlestadia/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-GL-CTS,KhronosGroup/VK-...
956244b3373766b31ff1ac7e5c95d9182d0683d0
utils/TableGen/ClangDiagnosticsEmitter.cpp
utils/TableGen/ClangDiagnosticsEmitter.cpp
//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Add output of the SFINAE bit for Clang's diagnostics
Add output of the SFINAE bit for Clang's diagnostics git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@73331 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,dslab-epfl/asap,dslab-epfl/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,apple/swift-llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llv...
b678809c6ce7d3451e56ad5b74e25310281bc604
SceneStructureModule/SceneStructureModule.cpp
SceneStructureModule/SceneStructureModule.cpp
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file SceneStructureModule.cpp * @brief Provides Scene Structure window and raycast drag-and-drop import of * .mesh, .scene, .xml and .nbf files to the main window. */ #include "StableHeaders.h" #include "DebugOp...
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file SceneStructureModule.cpp * @brief Provides Scene Structure window and raycast drag-and-drop import of * .mesh, .scene, .xml and .nbf files to the main window. */ #include "StableHeaders.h" #include "DebugOp...
Use Add Content dialog also for .txml and .tbin files.
Use Add Content dialog also for .txml and .tbin files.
C++
apache-2.0
AlphaStaxLLC/tundra,jesterKing/naali,realXtend/tundra,antont/tundra,BogusCurry/tundra,BogusCurry/tundra,realXtend/tundra,jesterKing/naali,pharos3d/tundra,BogusCurry/tundra,jesterKing/naali,realXtend/tundra,antont/tundra,AlphaStaxLLC/tundra,realXtend/tundra,BogusCurry/tundra,antont/tundra,AlphaStaxLLC/tundra,jesterKing/...
80fef67b7c35d14e0ae1aec10f3c46bd75968adb
Siv3D/Include/HamFramework/ScalableWindow.hpp
Siv3D/Include/HamFramework/ScalableWindow.hpp
//----------------------------------------------- // // This file is part of the HamFramework for Siv3D. // // Copyright (C) 2014-2017 HAMSTRO // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D.hpp> namespace s3d { namespace ScalableWindow { ...
//----------------------------------------------- // // This file is part of the HamFramework for Siv3D. // // Copyright (C) 2014-2017 HAMSTRO // // Licensed under the MIT License. // //----------------------------------------------- # pragma once # include <Siv3D.hpp> namespace s3d { namespace ScalableWindow { e...
Update ScalableWindow.hpp
Update ScalableWindow.hpp
C++
mit
azaika/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,wynd2608/OpenSiv3D,azaika/OpenSiv3D,Siv3D/OpenSiv3D,azaika/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D
da8cc108d6d431a0ceb0a382e9c2654695327999
Qt5Ogre21/somecustomwidget.cpp
Qt5Ogre21/somecustomwidget.cpp
#include "somecustomwidget.h" SomeCustomWidget::SomeCustomWidget(QWidget *parent) : QWidget(parent) { setWindowTitle("Some Window"); setMinimumSize(100, 100); resize(1024,768); mainLayout = new QVBoxLayout(); w = new QOgreViewport; QtOgre21::instance()->createNewScene(); w2 = new QOgreVie...
#include "somecustomwidget.h" SomeCustomWidget::SomeCustomWidget(QWidget *parent) : QWidget(parent) { setWindowTitle("Some Window"); setMinimumSize(100, 100); resize(1024,768); mainLayout = new QVBoxLayout(); w = new QOgreViewport; QtOgre21::instance()->createNewScene(); w2 = new QOgreVie...
Remove margins on the "somecustomwidget" just to show
Remove margins on the "somecustomwidget" just to show
C++
mit
Ybalrid/Qt5Ogre21
c1d96b4ddaae84fd23bc928691b7116d1c554e74
common/ttcn3float.hh
common/ttcn3float.hh
/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
build experiment: lets use the C++11 signbit function instead of platform dependent buggy macros (needs to be tested on all platforms)
build experiment: lets use the C++11 signbit function instead of platform dependent buggy macros (needs to be tested on all platforms) Signed-off-by: Kristof Szabados <ab2e1ae156172115632e423d033cc2ddc98f1c48@ericsson.com>
C++
epl-1.0
BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core,BotondBaranyi/titan.core
c2d190a00c3d1fb7c2e186f4daaeef1cc568bfab
src/tsmttsm.cpp
src/tsmttsm.cpp
#include "ghost/config.h" #include "ghost/types.h" #include "ghost/densemat.h" #include "ghost/util.h" #include "ghost/math.h" #include "ghost/tsmttsm.h" #include "ghost/tsmttsm_gen.h" #include "ghost/tsmttsm_avx2_gen.h" #include "ghost/tsmttsm_avx_gen.h" #include "ghost/tsmttsm_sse_gen.h" #include "ghost/tsmttsm_kahan...
#include "ghost/config.h" #include "ghost/types.h" #include "ghost/densemat.h" #include "ghost/util.h" #include "ghost/math.h" #include "ghost/tsmttsm.h" #include "ghost/tsmttsm_gen.h" #include "ghost/tsmttsm_avx2_gen.h" #include "ghost/tsmttsm_avx_gen.h" #include "ghost/tsmttsm_sse_gen.h" #include "ghost/tsmttsm_kahan...
check alignment of correct densemats
check alignment of correct densemats
C++
bsd-3-clause
RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST,RRZE-HPC/GHOST
33b73d89ac973377572909850613b9a9d894a969
Source/core/platform/text/cf/StringImplCF.cpp
Source/core/platform/text/cf/StringImplCF.cpp
/* * Copyright (C) 2006, 2009, 2012 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any lat...
/* * Copyright (C) 2006, 2009, 2012 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any lat...
Remove garbageCollectionEnabled
Remove garbageCollectionEnabled Chromium never compiles with Cocoa GC turned on and this function was left from Webkit which had a real check for GC, now this function just returns false so we can remove it. Review URL: https://chromiumcodereview.appspot.com/14829002 git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285...
C++
bsd-3-clause
primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs,primiano/blink-gitcs