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
8bb2356aa9c68f1569b94df8b5b8f0fdd6cb1720
src/dubwizard.cpp
src/dubwizard.cpp
#include "dubwizard.h" #include "dubprojectmanagerconstants.h" #include "duboptionspage.h" #include <projectexplorer/projectexplorerconstants.h> #include <utils/pathchooser.h> #include <texteditor/fontsettings.h> #include <projectexplorer/projectexplorer.h> #include <QDir> #include <QFormLayout> #include <QHBoxLayou...
#include "dubwizard.h" #include "dubprojectmanagerconstants.h" #include "duboptionspage.h" #include <projectexplorer/projectexplorerconstants.h> #include <utils/pathchooser.h> #include <texteditor/fontsettings.h> #include <projectexplorer/projectexplorer.h> #include <QDir> #include <QFormLayout> #include <QHBoxLayou...
Fix #21: disable interactive mode for dub
Fix #21: disable interactive mode for dub
C++
mit
Groterik/qtcreator-dubmanager,Groterik/qtcreator-dubmanager,Groterik/qtcreator-dubmanager,Groterik/qtcreator-dubmanager
ab491283a4d9530a76e4a42dc6fd5903bc6ca2ef
include/static_math/cmath.inl
include/static_math/cmath.inl
/* * Copyright (C) 2013-2014 Morwenn * * static_math 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 3 of * the License, or (at your option) any later version. * * static_math is ...
/* * Copyright (C) 2013-2014 Morwenn * * static_math 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 3 of * the License, or (at your option) any later version. * * static_math is ...
Change float_equal to equals. Fixes #1.
Change float_equal to equals. Fixes #1.
C++
mit
Morwenn/static_math,Morwenn/static_math
2aa2aabc2efe4cc28a5b1ffbcb081f358db0e2b7
ImWindow/ImwPlatformWindow.cpp
ImWindow/ImwPlatformWindow.cpp
#define IMGUI_DEFINE_MATH_OPERATORS #include "ImwPlatformWindow.h" #include "ImwWindowManager.h" namespace ImWindow { //SFF_BEGIN ImwPlatformWindow::ImwPlatformWindow(EPlatformWindowType eType, bool bCreateContext) { m_eType = eType; m_pContainer = new ImwContainer(this); m_pContext = NULL; m_pPreviousConte...
#define IMGUI_DEFINE_MATH_OPERATORS #include "ImwPlatformWindow.h" #include "ImwWindowManager.h" namespace ImWindow { //SFF_BEGIN ImwPlatformWindow::ImwPlatformWindow(EPlatformWindowType eType, bool bCreateContext) { m_eType = eType; m_pContainer = new ImwContainer(this); m_pContext = NULL; m_pPreviousConte...
Remove assert in ImwPlatformWindow::OnDropFiles
Remove assert in ImwPlatformWindow::OnDropFiles
C++
mit
thennequin/ImWindow,thennequin/ImWindow,thennequin/ImWindow
876965a622c07ea1ffc083ef9a227e39e225f21c
benchmark/throughput.cc
benchmark/throughput.cc
#include "dsa/message.h" #include "dsa/network.h" #include "../test/sdk/async_test.h" #include "../test/sdk/test_config.h" #include "network/tcp/tcp_client.h" #include "network/tcp/tcp_server.h" #include <chrono> #include <ctime> #include <atomic> #include <boost/program_options.hpp> using high_resolution_clock =...
#include "dsa/message.h" #include "dsa/network.h" #include "../test/sdk/async_test.h" #include "../test/sdk/test_config.h" #include "network/tcp/tcp_client.h" #include "network/tcp/tcp_server.h" #include <chrono> #include <ctime> #include <atomic> #include <boost/program_options.hpp> using high_resolution_clock =...
fix throughput time calculation
fix throughput time calculation
C++
apache-2.0
iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp,iot-dsa-v2/sdk-dslink-cpp
162853f0dfeda91ede8c03ace4d88e0b0b858cd8
src/meshoptimizer.hpp
src/meshoptimizer.hpp
#pragma once #include <cstddef> #include <vector> // Index buffer generator // Generates index buffer from the unindexed vertex stream and returns number of unique vertices (max index + 1) // destination must contain enough space for the resulting index buffer (vertex_count elements) size_t generateIndexBuffer(unsign...
#pragma once #include <cstddef> #include <vector> // Index buffer generator // Generates index buffer from the unindexed vertex stream and returns number of unique vertices (max index + 1) // destination must contain enough space for the resulting index buffer (vertex_count elements) size_t generateIndexBuffer(unsign...
Implement half-precision float quantization
Implement half-precision float quantization quantizeHalf handles float->half conversion, correctly preserving +-Inf/NaN, generating +-Inf on overflow, and rounding to nearest value. Denormals are flushed to zero, both to simplify the conversion and to eliminate the performance cost of handling denormals on target har...
C++
mit
zeux/meshoptimizer,zeux/meshoptimizer,zeux/meshoptimizer
8a27d00e00798ad6a9feb6fc160b3015484fe98d
EntityComponents/EC_HoveringText/EC_HoveringText.cpp
EntityComponents/EC_HoveringText/EC_HoveringText.cpp
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file EC_HoveringText.cpp * @brief EC_HoveringText shows a hovering text attached to an entity. * @note The entity must EC_OgrePlaceable available in advance. */ #include "StableHeaders.h" //#include "DebugOperatorNew....
/** * For conditions of distribution and use, see copyright notice in license.txt * * @file EC_HoveringText.cpp * @brief EC_HoveringText shows a hovering text attached to an entity. * @note The entity must EC_OgrePlaceable available in advance. */ #include "StableHeaders.h" #include "DebugOperatorNew.h"...
Add memory leak check to EC_HoveringText.cpp
Add memory leak check to EC_HoveringText.cpp
C++
apache-2.0
BogusCurry/tundra,jesterKing/naali,BogusCurry/tundra,AlphaStaxLLC/tundra,jesterKing/naali,pharos3d/tundra,antont/tundra,AlphaStaxLLC/tundra,pharos3d/tundra,antont/tundra,AlphaStaxLLC/tundra,AlphaStaxLLC/tundra,realXtend/tundra,realXtend/tundra,jesterKing/naali,AlphaStaxLLC/tundra,pharos3d/tundra,antont/tundra,pharos3d/...
6eee408cf87fbd56e187eea73579bcff59acaf1e
Source/bindings/core/v8/ScriptProfiler.cpp
Source/bindings/core/v8/ScriptProfiler.cpp
/* * Copyright (c) 2011, Google Inc. 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 conditi...
/* * Copyright (c) 2011, Google Inc. 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 conditi...
Fix XDK code so that it uses size_t instead of int.
Fix XDK code so that it uses size_t instead of int. This is useful to support 64 bits because call sites of that API usually uses std functions which returns a size_t and size_t is not going to git into an int on 64 bits. Today it triggers a warning of potential data loss.
C++
bsd-3-clause
smishenk/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,PeterWangIntel/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,smishenk/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/...
64c84fdca6184bfe7a6d9aee71327ad86b242ed7
InteractionBase/src/autocomplete/AutoCompleteVis.cpp
InteractionBase/src/autocomplete/AutoCompleteVis.cpp
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2012 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2012 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ** follo...
Make the auto completion ignore key presses when there are no entries
Make the auto completion ignore key presses when there are no entries
C++
bsd-3-clause
mgalbier/Envision,lukedirtwalker/Envision,dimitar-asenov/Envision,Vaishal-shah/Envision,patrick-luethi/Envision,Vaishal-shah/Envision,BalzGuenat/Envision,dimitar-asenov/Envision,lukedirtwalker/Envision,BalzGuenat/Envision,dimitar-asenov/Envision,lukedirtwalker/Envision,mgalbier/Envision,mgalbier/Envision,dimitar-asenov...
67804910e567a4a878b9347c0a7bdc13ca4dee18
SurgSim/Math/UnitTests/PolynomialTests.cpp
SurgSim/Math/UnitTests/PolynomialTests.cpp
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions 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/LICE...
Fix Linux error "Explicit specialization in non-namespace scope"
Fix Linux error "Explicit specialization in non-namespace scope"
C++
apache-2.0
simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim,simquest/opensurgsim
4cea709322c0306247ad9beab72e65580203bd18
examples/viennacl/solvers.cpp
examples/viennacl/solvers.cpp
#include <iostream> #include <vector> #include <vexcl/vexcl.hpp> #include <vexcl/external/viennacl.hpp> #include <viennacl/linalg/cg.hpp> #include <viennacl/linalg/bicgstab.hpp> typedef double real; template <class Tag> void do_solve(const vex::SpMat<real> &A, vex::vector<real> f, const Tag &tag) { vex::vector<...
#include <iostream> #include <vector> #include <vexcl/vexcl.hpp> #include <vexcl/external/viennacl.hpp> #include <viennacl/linalg/cg.hpp> #include <viennacl/linalg/bicgstab.hpp> typedef double real; template <class Tag> void do_solve(const vex::SpMat<real> &A, vex::vector<real> f, const Tag &tag) { vex::vector<...
check for empty context in viennacl example
check for empty context in viennacl example
C++
mit
Poulpy21/vexcl,Poulpy21/vexcl,ddemidov/vexcl,kapadia/vexcl,Poulpy21/vexcl,kapadia/vexcl,ddemidov/vexcl
955a00a601ce40e1142c264f61f52cc757f19378
examples/viewer/viewerhud.cpp
examples/viewer/viewerhud.cpp
#include "viewerhud.h" #include "common/settings.h" #include <glm/gtc/matrix_transform.hpp> #include <sstream> #include <SDL.h> /// HL1 BSP Hl1BspHud::Hl1BspHud(Hl1BspInstance *instance, ViewerHud& mainHud) : _instance(instance), _mainHud(mainHud) { } void Hl1BspHud::Render(const glm::mat4 &proj, const glm::mat4 ...
#include "viewerhud.h" #include "common/settings.h" #include <glm/gtc/matrix_transform.hpp> #include <sstream> #include <SDL.h> /// HL1 BSP Hl1BspHud::Hl1BspHud(Hl1BspInstance *instance, ViewerHud& mainHud) : _instance(instance), _mainHud(mainHud) { } void Hl1BspHud::Render(const glm::mat4 &proj, const glm::mat4 ...
Fix font rendering aftfer alpha test added
Fix font rendering aftfer alpha test added
C++
mit
wtrsltnk/game-assets,wtrsltnk/game-assets
700b993b79959fcccac260eed77bf9b205747e92
include/abaclade/collections/detail/xor_list.hxx
include/abaclade/collections/detail/xor_list.hxx
/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2015 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*- Copyright 2015 Raffaello D. Di Napoli This file is part of Abaclade. Abaclade is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either ver...
Add missing ABACLADE_SYM qualifier to xor_list
Add missing ABACLADE_SYM qualifier to xor_list
C++
lgpl-2.1
raffaellod/lofty,raffaellod/lofty
59eb1e8eeb5cac3f6fa7ee127cdeb81e7e9125b5
cuttlefish/src/input.cpp
cuttlefish/src/input.cpp
// Copyright 2008 Paul Hodge #include "SDL.h" #include "circa.h" #include "input.h" #include "main.h" using namespace circa; namespace input { bool KEY_DOWN[SDLK_LAST]; std::set<int> KEY_JUST_PRESSED; int MOUSE_X = 0; int MOUSE_Y = 0; bool MOUSE_JUST_CLICKED = false; void key_down(circa::Term* caller) { int ...
// Copyright 2008 Paul Hodge #include "SDL.h" #include "circa.h" #include "input.h" #include "main.h" using namespace circa; namespace input { bool KEY_DOWN[SDLK_LAST]; std::set<int> KEY_JUST_PRESSED; int MOUSE_X = 0; int MOUSE_Y = 0; bool MOUSE_JUST_CLICKED = false; void key_down(circa::Term* caller) { int ...
change reload key to just R instead of ctrl-r
Cuttlefish: change reload key to just R instead of ctrl-r
C++
mit
andyfischer/circa,andyfischer/circa,andyfischer/circa,andyfischer/circa
5207690064125b155c39f1be67d3899f7f0fc7de
cvmfs/receiver/params.cc
cvmfs/receiver/params.cc
/** * This file is part of the CernVM File System. */ #include "params.h" #include <vector> #include "options.h" #include "util/string.h" namespace receiver { bool GetParamsFromFile(const std::string& repo_name, Params* params) { const std::string repo_config_file = "/etc/cvmfs/repositories.d/" + repo_na...
/** * This file is part of the CernVM File System. */ #include "params.h" #include <vector> #include "options.h" #include "util/string.h" namespace receiver { bool GetParamsFromFile(const std::string& repo_name, Params* params) { const std::string repo_config_file = "/etc/cvmfs/repositories.d/" + repo_na...
fix up parameter handling for the receiver
fix up parameter handling for the receiver
C++
bsd-3-clause
cvmfs/cvmfs,DrDaveD/cvmfs,DrDaveD/cvmfs,DrDaveD/cvmfs,cvmfs/cvmfs,djw8605/cvmfs,Gangbiao/cvmfs,djw8605/cvmfs,DrDaveD/cvmfs,djw8605/cvmfs,Gangbiao/cvmfs,djw8605/cvmfs,djw8605/cvmfs,DrDaveD/cvmfs,Gangbiao/cvmfs,Gangbiao/cvmfs,DrDaveD/cvmfs,DrDaveD/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,Gangbiao/cvmfs,cvmfs/cvmfs,cvmfs/cvmfs,cvmfs...
f658b079b418a127d4c41e75d8e7e0fdeb261660
src/odbus/Message.hxx
src/odbus/Message.hxx
// -*- mode: c++; indent-tabs-mode: t; c-basic-offset: 8; -*- /* * author: Max Kellermann <mk@cm4all.com> */ #ifndef ODBUS_MESSAGE_HXX #define ODBUS_MESSAGE_HXX #include <dbus/dbus.h> #include <algorithm> #include <stdexcept> namespace ODBus { class Message { DBusMessage *msg = nullptr; explicit Message(DBu...
// -*- mode: c++; indent-tabs-mode: t; c-basic-offset: 8; -*- /* * author: Max Kellermann <mk@cm4all.com> */ #ifndef ODBUS_MESSAGE_HXX #define ODBUS_MESSAGE_HXX #include <dbus/dbus.h> #include <algorithm> #include <stdexcept> namespace ODBus { class Message { DBusMessage *msg = nullptr; explicit Message(DBu...
add more getter methods
odbus/Message: add more getter methods
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
ce528ee99aadb239b6cb44a72269e07bdc9fc2d0
net/server/web_socket.cc
net/server/web_socket.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 "net/server/web_socket.h" #include "base/base64.h" #include "base/rand_util.h" #include "base/logging.h" #include "base/md5.h" #include "bas...
// 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 "net/server/web_socket.h" #include "base/base64.h" #include "base/rand_util.h" #include "base/logging.h" #include "base/md5.h" #include "bas...
Fix Win builder following r111314
Fix Win builder following r111314 BUG=none TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/8677002 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@111322 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Chilledheart/chromium,dednal/chromium.src,jaruba/chromium.src,littlstar/chromium.src,TheTypoMaster/chromium-crosswalk,dushu1203/chromium.src,Pluto-tv/chromium-crosswalk,mogoweb/chromium-crosswalk,dushu1203/chromium.src,dednal/chromium.src,M4sse/chromium.src,timopulkkinen/BubbleFish,timopulkkinen/BubbleFish,TheTypoMaste...
37c08b5a00ebcb4bc20518d25b345b3dfbc9ace3
broker.cc
broker.cc
#include "broker.h" #include "frame.h" #include <sstream> Broker::Broker() { topicRoot = new TopicNode("", ""); } Broker::~Broker() { delete topicRoot; } MQTT_ERROR Broker::Start() { return NO_ERROR; } std::string Broker::ApplyDummyClientID() { std::stringstream ss; ss << "DummyClientID" << cli...
#include "broker.h" #include "frame.h" #include <sstream> Broker::Broker() { topicRoot = new TopicNode("", ""); } Broker::~Broker() { delete topicRoot; } MQTT_ERROR Broker::Start() { return NO_ERROR; } std::string Broker::ApplyDummyClientID() { std::stringstream ss; ss << "DummyClientID" << cli...
fix the number of returned suback code
fix the number of returned suback code
C++
mit
ami-GS/MQTTcc
558f32d2d55907a85e8a2d4351817902a335463c
src/option_manager.cc
src/option_manager.cc
#include "option_manager.hh" #include "assert.hh" #include <sstream> namespace Kakoune { namespace { String option_to_string(const String& opt) { return opt; } void option_from_string(const String& str, String& opt) { opt = str; } String option_to_string(int opt) { return int_to_str(opt); } void option_from_string...
#include "option_manager.hh" #include "assert.hh" #include <sstream> namespace Kakoune { namespace { String option_to_string(const String& opt) { return opt; } void option_from_string(const String& str, String& opt) { opt = str; } String option_to_string(int opt) { return int_to_str(opt); } void option_from_string...
throw a runtime error when a wrong type is requested for an option
throw a runtime error when a wrong type is requested for an option
C++
unlicense
ekie/kakoune,zakgreant/kakoune,alpha123/kakoune,danielma/kakoune,Asenar/kakoune,lenormf/kakoune,jkonecny12/kakoune,occivink/kakoune,alpha123/kakoune,casimir/kakoune,jjthrash/kakoune,Somasis/kakoune,alexherbo2/kakoune,elegios/kakoune,elegios/kakoune,mawww/kakoune,elegios/kakoune,danielma/kakoune,casimir/kakoune,mawww/ka...
b4d565b7b9dc2262213e5bd08601737694d6bfb5
src/lib/client.cc
src/lib/client.cc
/* * ***************************************************************************** * Copyright 2014 Spectra Logic Corporation. 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. A copy of the License * is...
/* * ***************************************************************************** * Copyright 2014 Spectra Logic Corporation. 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. A copy of the License * is...
Fix to allow dragging/dropping only empty folders.
Fix to allow dragging/dropping only empty folders. lib/client.cc: Fix Client::BulkPut to tolerate responses that don't have a body, which is the case when bulk putting one or more empty folders (and no actual objects).
C++
apache-2.0
Klopsch/ds3_browser,Klopsch/ds3_browser,SpectraLogic/ds3_browser,Klopsch/ds3_browser,SpectraLogic/ds3_browser,SpectraLogic/ds3_browser
8ca464705f01a289ec31c728e3b2953b62236346
Modules/Core/Common/src/itkMultiThreaderPThreads.cxx
Modules/Core/Common/src/itkMultiThreaderPThreads.cxx
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
Check pthread_create return value.
BUG: Check pthread_create return value. In some cases, the pthread_create() call was not checking its return value, which can cause segmentation faults under certain circumstances. Change-Id: I784e8c5bb38235dfc51aa31e84a67535907a6bbc
C++
apache-2.0
hendradarwin/ITK,GEHC-Surgery/ITK,InsightSoftwareConsortium/ITK,msmolens/ITK,biotrump/ITK,fbudin69500/ITK,paulnovo/ITK,biotrump/ITK,thewtex/ITK,biotrump/ITK,fuentesdt/InsightToolkit-dev,eile/ITK,jmerkow/ITK,atsnyder/ITK,PlutoniumHeart/ITK,LucasGandel/ITK,BlueBrain/ITK,rhgong/itk-with-dom,richardbeare/ITK,BRAINSia/ITK,s...
bec4c85601a5ca356daa320327425f915d142152
content/common/fileapi/file_system_dispatcher.cc
content/common/fileapi/file_system_dispatcher.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 "content/common/fileapi/file_system_dispatcher.h" #include "base/file_util.h" #include "base/process.h" #include "content/common/child_threa...
// 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 "content/common/fileapi/file_system_dispatcher.h" #include "base/file_util.h" #include "base/process.h" #include "content/common/child_threa...
Fix a boneheaded problem introduced in r182822. Review URL: https://codereview.chromium.org/12388058
Fix a boneheaded problem introduced in r182822. Review URL: https://codereview.chromium.org/12388058 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@185974 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
mogoweb/chromium-crosswalk,chuan9/chromium-crosswalk,Just-D/chromium-1,markYoungH/chromium.src,mohamed--abdel-maksoud/chromium.src,krieger-od/nwjs_chromium.src,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,M4sse/chromium.src,mogoweb/chromium-c...
f635caa3a1b4e6f07040d48328d110cb16e8f2ff
vespalib/src/vespa/vespalib/net/tls/policy_checking_certificate_verifier.cpp
vespalib/src/vespa/vespalib/net/tls/policy_checking_certificate_verifier.cpp
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "policy_checking_certificate_verifier.h" namespace vespalib::net::tls { namespace { bool matches_single_san_requirement(const PeerCredentials& peer_creds, const RequiredPeerCredential& req...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "policy_checking_certificate_verifier.h" namespace vespalib::net::tls { namespace { bool matches_single_san_requirement(const PeerCredentials& peer_creds, const RequiredPeerCredential& req...
Use explicit `const` for `auto`
Use explicit `const` for `auto`
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
683f77e0334bec67246d84ec05618fbf31e19559
utils/image.cc
utils/image.cc
#include "utils.hpp" #include "image.hpp" #include <cerrno> #include <cstdio> #include <cassert> const Color Image::red(1, 0, 0); const Color Image::green(0, 1, 0); const Color Image::blue(0, 0, 1); const Color Image::black(0, 0, 0); const Color Image::white(1, 1, 1); const Color somecolors[] = { Color(0.0, 0.6, 0.0...
#include "utils.hpp" #include "image.hpp" #include <cerrno> #include <cstdio> #include <cassert> const Color Image::red(1, 0, 0); const Color Image::green(0, 1, 0); const Color Image::blue(0, 0, 1); const Color Image::black(0, 0, 0); const Color Image::white(1, 1, 1); const Color somecolors[] = { Color(0.0, 0.6, 0.0...
revert an unintentional change to translation.
image: revert an unintentional change to translation.
C++
mit
skiesel/search,skiesel/search,skiesel/search,eaburns/search,eaburns/search,eaburns/search
7bfee3bd643d6de72cc24fe12daff22d45af7fd4
map/map_tests/countries_names_tests.cpp
map/map_tests/countries_names_tests.cpp
#include "testing/testing.hpp" #include "map/framework.hpp" #include "search/categories_cache.hpp" #include "search/downloader_search_callback.hpp" #include "search/mwm_context.hpp" #include "storage/storage.hpp" #include "indexer/data_source.hpp" #include "indexer/ftypes_matcher.hpp" #include "indexer/mwm_set.hpp"...
#include "testing/testing.hpp" #include "map/framework.hpp" #include "search/categories_cache.hpp" #include "search/downloader_search_callback.hpp" #include "search/mwm_context.hpp" #include "storage/storage.hpp" #include "indexer/data_source.hpp" #include "indexer/ftypes_matcher.hpp" #include "indexer/mwm_set.hpp"...
Remove CountriesNamesTest exceptions after MAPSME-10611 fix.
[data] Remove CountriesNamesTest exceptions after MAPSME-10611 fix.
C++
apache-2.0
milchakov/omim,mapsme/omim,mpimenov/omim,darina/omim,mapsme/omim,darina/omim,matsprea/omim,milchakov/omim,mpimenov/omim,matsprea/omim,mpimenov/omim,milchakov/omim,milchakov/omim,darina/omim,darina/omim,matsprea/omim,matsprea/omim,milchakov/omim,mapsme/omim,mpimenov/omim,mpimenov/omim,mapsme/omim,matsprea/omim,matsprea/...
1cb0efd6b05b8e6f929a3de9863ed0aef8bf630a
o3d/plugin/cross/main.cc
o3d/plugin/cross/main.cc
/* * Copyright 2009, Google Inc. * 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 conditio...
/* * Copyright 2009, Google Inc. * 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 conditio...
Fix debug.log creation, which has been broken since r58501.
Fix debug.log creation, which has been broken since r58501. TEST=loaded O3D in Safari on Mac and verified that debug.log is created and used BUG=none Review URL: http://codereview.chromium.org/5651002 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@68520 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,g...
16ffe0c2ffa67a107df065faa91c332dc3f59012
RenderSystems/GL3Plus/src/OgreGL3PlusDepthBuffer.cpp
RenderSystems/GL3Plus/src/OgreGL3PlusDepthBuffer.cpp
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any p...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any p...
add missing break
GL3PlusDepthBuffer: add missing break
C++
mit
RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre
53a8876984c7593bab28a31e19ccdc904638c19e
media/base/android/video_decoder_job.cc
media/base/android/video_decoder_job.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 "media/base/android/video_decoder_job.h" #include "base/bind.h" #include "base/lazy_instance.h" #include "base/threading/thread.h" #include "med...
// 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 "media/base/android/video_decoder_job.h" #include "base/bind.h" #include "base/lazy_instance.h" #include "base/threading/thread.h" #include "med...
use demuxer configs for video output size.
Android: use demuxer configs for video output size. The values reported from MediaCodec.GetOutputFormat (once the crop rectangle is accounted for) correspond to the actual video size, but not necessarily the size that should be outputted. Some videos appear to report a different aspect ratio in their config than the ...
C++
bsd-3-clause
krieger-od/nwjs_chromium.src,markYoungH/chromium.src,dushu1203/chromium.src,fujunwei/chromium-crosswalk,dushu1203/chromium.src,ltilve/chromium,Chilledheart/chromium,Chilledheart/chromium,axinging/chromium-crosswalk,axinging/chromium-crosswalk,markYoungH/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk,hgl888...
236c8221af8dbd58e7523b7c03752051e074c4b1
src/miniz_png.cpp
src/miniz_png.cpp
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2012 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2012 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as p...
remove MINIZ_NO_STDIO as it is uneeded since it is covered by catchall MINIZ_NO_ARCHIVE_APIS
miniz: remove MINIZ_NO_STDIO as it is uneeded since it is covered by catchall MINIZ_NO_ARCHIVE_APIS
C++
lgpl-2.1
mapnik/mapnik,kapouer/mapnik,mapnik/mapnik,cjmayo/mapnik,yiqingj/work,Airphrame/mapnik,Uli1/mapnik,mapnik/python-mapnik,tomhughes/python-mapnik,davenquinn/python-mapnik,mapnik/python-mapnik,yiqingj/work,yohanboniface/python-mapnik,mbrukman/mapnik,zerebubuth/mapnik,stefanklug/mapnik,kapouer/mapnik,CartoDB/mapnik,davenqu...
3c3b915dbd8991383ebd9515de46b2f9a77d7f81
filterfalse.hpp
filterfalse.hpp
#ifndef FILTERFALSE__H__ #define FILTERFALSE__H__ #include "filter.hpp" namespace iter { //Forward declarations of FilterFalse and filterfalse template <typename FilterFunc, typename Container> class FilterFalse; template <typename FilterFunc, typename Container> FilterFalse<FilterFunc, Containe...
#ifndef FILTER_FALSE__HPP__ #define FILTER_FALSE__HPP__ #include "filter.hpp" namespace iter { namespace detail { // Callable object that reverses the boolean result of another // callable, taking the object in a Container's iterator template <typename FilterFunc, typename Container> ...
Complete rewrite of filterfalse
Complete rewrite of filterfalse Tosses the new classes in favor of wrapper function and extra classes to build filterfalse() ontop of filter()
C++
bsd-2-clause
jkhoogland/cppitertools,jkhoogland/cppitertools,ryanhaining/cppitertools,tempbottle/cppitertools,tempbottle/cppitertools,ryanhaining/cppitertools,tempbottle/cppitertools,ryanhaining/cppitertools,jkhoogland/cppitertools
95a6b35c4d1ff0741fca743ccc5be0fa071f9a29
cb_info/analyze.cpp
cb_info/analyze.cpp
// cb_info allows to parse and manipulate MCell's cellblender output files // // (C) Markus Dittrich, 2015 // Licenses under a BSD license, see LICENSE file for details #include <cassert> #include <iostream> #include <limits> #include "analyze.hpp" using binArray = std::array<long long, N3>; // static helper functi...
// cb_info allows to parse and manipulate MCell's cellblender output files // // (C) Markus Dittrich, 2015 // Licenses under a BSD license, see LICENSE file for details #include <cassert> #include <iostream> #include <limits> #include "analyze.hpp" using binArray = std::array<long long, N3>; // static helper functi...
Add small cosmetic fix to analysis output.
Add small cosmetic fix to analysis output.
C++
bsd-3-clause
haskelladdict/mcell_tools
63c5de04edc46203d03337d497dbdfc83f883595
sc/source/ui/inc/colorformat.hxx
sc/source/ui/inc/colorformat.hxx
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozil...
fix regression from 552f754ab9d9f0fedd73d5328618315ec774d3d6
fix regression from 552f754ab9d9f0fedd73d5328618315ec774d3d6 How did that ever work when testing? Change-Id: Ib8520da252c7fa11c9a0cec62a2bba6833951901 Reviewed-on: https://gerrit.libreoffice.org/15724 Tested-by: Markus Mohrhard <17b5858c03a410e5ca9ee070d93f5b34144a17e4@googlemail.com> Reviewed-by: Markus Mohrhard <17...
C++
mpl-2.0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
25a242fea8f6df3341855526c9d8a855dfdb11ff
search/cities_boundaries_table.cpp
search/cities_boundaries_table.cpp
#include "search/cities_boundaries_table.hpp" #include "search/categories_cache.hpp" #include "search/localities_source.hpp" #include "search/mwm_context.hpp" #include "search/utils.hpp" #include "indexer/cities_boundaries_serdes.hpp" #include "indexer/mwm_set.hpp" #include "coding/reader.hpp" #include "base/assert...
#include "search/cities_boundaries_table.hpp" #include "search/categories_cache.hpp" #include "search/localities_source.hpp" #include "search/mwm_context.hpp" #include "search/utils.hpp" #include "indexer/cities_boundaries_serdes.hpp" #include "indexer/mwm_set.hpp" #include "coding/reader.hpp" #include "base/assert...
Enable CitiesBoundariesTable.
[search] Enable CitiesBoundariesTable.
C++
apache-2.0
mapsme/omim,alexzatsepin/omim,VladiMihaylenko/omim,mapsme/omim,matsprea/omim,bykoianko/omim,mapsme/omim,matsprea/omim,bykoianko/omim,alexzatsepin/omim,milchakov/omim,VladiMihaylenko/omim,matsprea/omim,matsprea/omim,darina/omim,alexzatsepin/omim,mpimenov/omim,darina/omim,VladiMihaylenko/omim,milchakov/omim,mapsme/omim,r...
e89a170f9af1ba4e6786eb157fd75b7b67d22336
firmware/Adafruit_HDC1000.cpp
firmware/Adafruit_HDC1000.cpp
/*************************************************** This is a library for the HDC1000 Humidity & Temp Sensor Designed specifically to work with the HDC1008 sensor from Adafruit ----> https://www.adafruit.com/products/2635 These sensors use I2C to communicate, 2 pins are required to interface Adafruit ...
/*************************************************** This is a library for the HDC1000 Humidity & Temp Sensor Designed specifically to work with the HDC1008 sensor from Adafruit ----> https://www.adafruit.com/products/2635 These sensors use I2C to communicate, 2 pins are required to interface Adafruit ...
use variable d instead of hardcoded 50 in read32()
use variable d instead of hardcoded 50 in read32()
C++
bsd-2-clause
CaptIgmu/Adafruit_HDC1000,CaptIgmu/Adafruit_HDC1000
9083f456ddcf6ee9f1627471b14e255436e768f6
firmware/examples/example.cpp
firmware/examples/example.cpp
/*============================================================================== * Configuration Variables * * Change these variables to your own settings. *=============================================================================*/ String cikData = "0000000000000000000000000000000000000000"; // <-- Fill in your C...
#include "exosite/exosite.h" /*============================================================================== * Configuration Variables * * Change these variables to your own settings. *=============================================================================*/ String cikData = "000000000000000000000000000000000000...
Include Needed
Include Needed
C++
bsd-3-clause
exosite-garage/SparkCore-Exosite,exosite-garage/particle_exosite_library
c95ad6b51cfb9c0495d9fc8e06dfbef0f409c179
src/object/fwd.hh
src/object/fwd.hh
/** ** \file object/fwd.hh ** \brief Forward declarations of all node-classes of OBJECT ** (needed by the visitors) */ #ifndef OBJECT_FWD_HH # define OBJECT_FWD_HH # include <vector> # include "libport/fwd.hh" # include "libport/shared-ptr.hh" namespace ast { class Exp; } namespace object { // state.hh st...
/** ** \file object/fwd.hh ** \brief Forward declarations of all node-classes of OBJECT ** (needed by the visitors) */ #ifndef OBJECT_FWD_HH # define OBJECT_FWD_HH # include <vector> # include "libport/fwd.hh" # include "libport/shared-ptr.hh" namespace object { // state.hh struct State; // rObject & obje...
Remove unused forward declaration.
Remove unused forward declaration. * src/object/fwd.hh: Remove unused ast::Exp forward.
C++
bsd-3-clause
urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,urbiforge/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi,aldebaran/urbi,aldebaran/urbi,aldebaran/urbi,urbiforge/urbi
401390bb63e551db86a2a045d0e8e4f8f9d73ba8
kernel/src/modelingTools/FirstOrderLinearTIR.cpp
kernel/src/modelingTools/FirstOrderLinearTIR.cpp
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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 * *...
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2018 INRIA. * * 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 * *...
correct wrong assertion
[kernel] correct wrong assertion
C++
apache-2.0
radarsat1/siconos,siconos/siconos,radarsat1/siconos,siconos/siconos,radarsat1/siconos,radarsat1/siconos,siconos/siconos,radarsat1/siconos,siconos/siconos
435cc46041820e59d1fbcbd88a2bfcf5b8ba3f49
src/base/bitunion.hh
src/base/bitunion.hh
/* * Copyright (c) 2003-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) 2003-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 some types in the bitunion classes.
BitUnion: Fix some types in the bitunion classes.
C++
bsd-3-clause
haowu4682/gem5,haowu4682/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,LingxiaoJIA/gem5,haowu4682/gem5
5c6323c296230cffede4bd63897de64760beaa4f
Library/Sources/Stroika/Foundation/Containers/Concrete/Mapping_LinkedList.inl
Library/Sources/Stroika/Foundation/Containers/Concrete/Mapping_LinkedList.inl
/* * Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved */ #ifndef _Stroika_Foundation_Containers_Concrete_Mapping_LinkedList_inl_ #define _Stroika_Foundation_Containers_Concrete_Mapping_LinkedList_inl_ /* ******************************************************************************** **********...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved */ #ifndef _Stroika_Foundation_Containers_Concrete_Mapping_LinkedList_inl_ #define _Stroika_Foundation_Containers_Concrete_Mapping_LinkedList_inl_ /* ******************************************************************************** **********...
tweak for typename restrictions
tweak for typename restrictions
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
a74088c867505d3577dcdac25c73341be4e4433b
src/EmuCommon/KC85Emu.cc
src/EmuCommon/KC85Emu.cc
//------------------------------------------------------------------------------ // Emu/KC85Emu.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "KC85Emu.h" #include "Assets/Gfx/ShapeBuilder.h" #include "Input/Input.h" #include "yakc/roms/rom_dumps.h" #inclu...
//------------------------------------------------------------------------------ // Emu/KC85Emu.cc //------------------------------------------------------------------------------ #include "Pre.h" #include "KC85Emu.h" #include "yakc/systems/kc85.h" #include "Assets/Gfx/ShapeBuilder.h" #include "Input/Input.h" #include...
Fix for YAKC updates
Fix for YAKC updates
C++
mit
floooh/oryol-samples,floooh/oryol-samples,floooh/oryol-samples,floooh/oryol-samples,floooh/oryol-samples
081edb8a9f314108fe536453e916d4e84c75aa62
agency/experimental/view.hpp
agency/experimental/view.hpp
#pragma once #include <agency/detail/config.hpp> #include <agency/experimental/array.hpp> #include <agency/experimental/span.hpp> #include <type_traits> #include <iterator> namespace agency { namespace experimental { // XXX this is only valid for contiguous containers template<class Container> __AGENCY_ANNOTATION s...
#pragma once #include <agency/detail/config.hpp> #include <agency/experimental/array.hpp> #include <agency/experimental/span.hpp> #include <type_traits> #include <iterator> namespace agency { namespace experimental { // XXX this is only valid for contiguous containers template<class Container> __AGENCY_ANNOTATION s...
Add experimental::detail::range_value_t
Add experimental::detail::range_value_t
C++
bsd-3-clause
egaburov/agency,egaburov/agency
fd896c899f918dffbf2459911c9f2f05a2f896ee
C++/shortest-palindrome.cpp
C++/shortest-palindrome.cpp
// Time: O(n) // Space: O(n) // KMP Algorithm class Solution { public: string shortestPalindrome(string s) { if (s.empty()) { return s; } string rev_s(s.crbegin(), s.crend()); // Assume s is (Palindrome)abc, // A would be (Palindrome)abcc...
// Time: O(n) // Space: O(n) // KMP Algorithm class Solution { public: string shortestPalindrome(string s) { if (s.empty()) { return s; } string rev_s(s.crbegin(), s.crend()); // Assume s is (Palindrome)abc, // A would be (Palindrome)abcc...
Update shortest-palindrome.cpp
Update shortest-palindrome.cpp
C++
mit
tudennis/LeetCode---kamyu104-11-24-2015,tudennis/LeetCode---kamyu104-11-24-2015,kamyu104/LeetCode,kamyu104/LeetCode,githubutilities/LeetCode,githubutilities/LeetCode,kamyu104/LeetCode,yiwen-luo/LeetCode,yiwen-luo/LeetCode,yiwen-luo/LeetCode,jaredkoontz/leetcode,jaredkoontz/leetcode,tudennis/LeetCode---kamyu104-11-24-20...
8dcb1ca58c8d14ae3f8377c927097996a54ac5d5
src/partition.cpp
src/partition.cpp
#include "partition.h" #include "vector.h" namespace { inline void swap (unsigned * index, unsigned i, unsigned j) { unsigned temp = index [j]; index [j] = index [i]; index [i] = temp; } inline bool less (unsigned * index, const float (* x) [4], unsigned i, unsigned j, unsigned dim) { return...
#include "partition.h" #include "vector.h" namespace { inline void swap (unsigned * index, unsigned i, unsigned j) { unsigned temp = index [j]; index [j] = index [i]; index [i] = temp; } inline bool less (unsigned * index, const float (* x) [4], unsigned i, unsigned j, unsigned dim) { return...
Use insertion sort to partition ranges of size 7 or less.
Use insertion sort to partition ranges of size 7 or less.
C++
apache-2.0
bustercopley/polymorph,bustercopley/polymorph
6ed283946cc34d489e366cecb64142d551fc06f9
src/qt/bitcoingui.cpp
src/qt/bitcoingui.cpp
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011 */ #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookdialog.h" #include "sendcoinsdialog.h" #include "optionsdialog.h" #include "aboutdialog.h" #include "clientmodel.h" #include "guiutil.h" #include "editaddressdialog.h" #include "option...
/* * Qt4 bitcoin GUI. * * W.J. van der Laan 2011 */ #include "bitcoingui.h" #include "transactiontablemodel.h" #include "addressbookdialog.h" #include "sendcoinsdialog.h" #include "optionsdialog.h" #include "aboutdialog.h" #include "clientmodel.h" #include "guiutil.h" #include "editaddressdialog.h" #include "option...
Make it more clear what the "New" button does
Make it more clear what the "New" button does
C++
mit
phplaboratory/psiacoin,DSPay/DSPay,kallewoof/elements,senadmd/coinmarketwatch,ZiftrCOIN/ziftrcoin,KillerByte/memorypool,dexX7/bitcoin,freelion93/mtucicoin,palm12341/jnc,applecoin-official/fellatio,truthcoin/blocksize-market,fanquake/bitcoin,sbaks0820/bitcoin,ANCompany/birdcoin-dev,vertcoin/vertcoin,oklink-dev/bitcoin_b...
c9015cdf3c2bb0f42f0897cadcd1083354401a64
src/DMXSerial.cpp
src/DMXSerial.cpp
// - - - - - // DMXSerial - A Arduino library for sending and receiving DMX using the builtin serial hardware port. // DMXSerial.cpp: Library implementation file // // Copyright (c) 2011-2020 by Matthias Hertel, http://www.mathertel.de // This work is licensed under a BSD style license. See http://www.mathertel.de...
// - - - - - // DMXSerial - A Arduino library for sending and receiving DMX using the builtin serial hardware port. // DMXSerial.cpp: Library implementation file // // Copyright (c) 2011-2020 by Matthias Hertel, http://www.mathertel.de // This work is licensed under a BSD style license. See http://www.mathertel.de...
set mode before write
set mode before write
C++
bsd-3-clause
mathertel/DMXSerial,mathertel/DMXSerial
2b213e4a24d9e985c93600889e5f68d65e248e34
fnord-dproc/LocalScheduler.cc
fnord-dproc/LocalScheduler.cc
/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with this program. If ...
/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with this program. If ...
check cache before expanding deps
check cache before expanding deps
C++
agpl-3.0
eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql,eventql/eventql
0694bfc93d9535818603cd529bb22d75d7524153
auditd/src/testauditd.cc
auditd/src/testauditd.cc
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014 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 2014 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 * * ...
Fix unit test failure
MB-13419: Fix unit test failure Change-Id: If2912985a60c79ad62a7d358c9ce32af1f0529eb Reviewed-on: http://review.couchbase.org/46738 Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com> Tested-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
C++
bsd-3-clause
couchbase/memcached,daverigby/kv_engine,couchbase/memcached,owendCB/memcached,owendCB/memcached,owendCB/memcached,daverigby/memcached,owendCB/memcached,cloudrain21/memcached-1,cloudrain21/memcached-1,couchbase/memcached,daverigby/memcached,mrkwse/memcached,mrkwse/memcached,cloudrain21/memcached-1,daverigby/kv_engine,da...
e5c8f5f684e68d7a6688148ac3850d5484eb24ff
test/Driver/XRay/xray-shared-noxray.cpp
test/Driver/XRay/xray-shared-noxray.cpp
// RUN: %clangxx -shared -fPIC -o /dev/null -v -fxray-instrument %s 2>&1 | \ // RUN: FileCheck %s --check-prefix=SHARED // RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s 2>&1 -DMAIN | \ // RUN: FileCheck %s --check-prefix=STATIC // // SHARED-NOT: {{clang_rt\.xray-}} // STATIC: {{clang_rt\.xray-}} //...
// RUN: %clangxx -shared -o /dev/null -v -fxray-instrument %s 2>&1 | \ // RUN: FileCheck %s --check-prefix=SHARED // RUN: %clangxx -static -o /dev/null -v -fxray-instrument %s 2>&1 -DMAIN | \ // RUN: FileCheck %s --check-prefix=STATIC // // SHARED-NOT: {{clang_rt\.xray-}} // STATIC: {{clang_rt\.xray-}} // // RE...
Remove -fPIC from shared build test.
[XRay] Remove -fPIC from shared build test. Follow-up to D38226. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@314190 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl...
17cf5a9c162cf1af4e2a9f45eec51a91b690d7cf
lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp
//===- lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp -------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
//===- lib/ReaderWriter/PECOFF/PECOFFLinkingContext.cpp -------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------...
Simplify if ... return repetition.
Simplify if ... return repetition. git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@198108 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/lld,llvm-mirror/lld
9896baeb5a142beefbdde96ed99ee95383fcbea2
fpcmp/fpcmp.cpp
fpcmp/fpcmp.cpp
//===- fpcmp.cpp - A fuzzy "cmp" that permits floating point noise --------===// // // The LLVM Compiler Infrastructure // // This file 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 is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Remove unnecessary uses of <iostream>.
Remove unnecessary uses of <iostream>. git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@101338 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-3-clause
lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx
2165a1f052dcd5b14b437895dc8f4ae7e1ef0cde
src/S2LoadBalancer.cpp
src/S2LoadBalancer.cpp
/// /// @file S2LoadBalancer.cpp /// @brief Dynamically increase or decrease the segment_size or the /// segments_per_thread in order to improve the load balancing /// in the computation of the special leaves. The algorithm /// calculates the relative standard deviation of the timings /// o...
/// /// @file S2LoadBalancer.cpp /// @brief Dynamically increase or decrease the segment_size or the /// segments_per_thread in order to improve the load balancing /// in the computation of the special leaves. The algorithm /// calculates the relative standard deviation of the timings /// o...
Fix uninitialized variable
Fix uninitialized variable
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
6ee1e53709404d7fc43d5361cdc2ff5c118ca488
src/c4/type_name.hpp
src/c4/type_name.hpp
#ifndef _C4_TYPENAME_HPP_ #define _C4_TYPENAME_HPP_ #include "c4/span.hpp" #include <stdio.h> /// @cond dev struct _c4t { template< size_t N > _c4t(const char (&s)[N]) : str(s), sz(N-1) {} // take off the \0 const char *str; size_t sz; }; // this is a more abbreviated way of getting the type name // (if we u...
#ifndef _C4_TYPENAME_HPP_ #define _C4_TYPENAME_HPP_ #include "c4/span.hpp" /// @cond dev struct _c4t { const char *str; size_t sz; template< size_t N > _c4t(const char (&s)[N]) : str(s), sz(N-1) {} // take off the \0 }; // this is a more abbreviated way of getting the type name // (if we used span in the ...
add overload, fix call to C4_NOT_IMPLEMENTED()
type_name: add overload, fix call to C4_NOT_IMPLEMENTED()
C++
mit
biojppm/c4stl,biojppm/c4stl,biojppm/c4stl,biojppm/c4stl,biojppm/c4stl,biojppm/c4stl
ad5d6c5e777056bad8c832eecefa5ca049f128f9
src/QtConvertVisitor.cpp
src/QtConvertVisitor.cpp
#include "QtConvertVisitor.h" #include <CustomPrinter.h> #include <TypeMatchers.h> #include <clang/AST/DeclCXX.h> #include <clang/AST/ASTContext.h> QtConvertVisitor::QtConvertVisitor(clang::ASTContext *Context) : Context(Context), _rewriter(Context->getSourceManager(), Context->getLangOpts()), ...
#include "QtConvertVisitor.h" #include <CustomPrinter.h> #include <TypeMatchers.h> #include <clang/AST/DeclCXX.h> #include <clang/AST/ASTContext.h> QtConvertVisitor::QtConvertVisitor(clang::ASTContext *Context) : Context(Context), _rewriter(Context->getSourceManager(), Context->getLangOpts()), ...
Remove unused variable
Remove unused variable
C++
mit
hebaishi/qt4-qt5-convert,hebaishi/qt4-qt5-convert
4321071f9c47e5db379603904684c55a7197ad02
src/Forwarder.hpp
src/Forwarder.hpp
#ifndef _CBR_FORWARDER_HPP_ #define _CBR_FORWARDER_HPP_ #include "Utility.hpp" #include "SpaceContext.hpp" #include "Message.hpp" #include "Network.hpp" #include "ServerNetwork.hpp" #include "ForwarderUtilityClasses.hpp" #include "Queue.hpp" #include "FairQueue.hpp" #include "TimeProfiler.hpp" namespace CBR { c...
#ifndef _CBR_FORWARDER_HPP_ #define _CBR_FORWARDER_HPP_ #include "Utility.hpp" #include "SpaceContext.hpp" #include "Message.hpp" #include "Network.hpp" #include "ServerNetwork.hpp" #include "ForwarderUtilityClasses.hpp" #include "Queue.hpp" #include "FairQueue.hpp" #include "TimeProfiler.hpp" namespace CBR { c...
initialize the queue sizes in the ForwarderQueue
initialize the queue sizes in the ForwarderQueue
C++
bsd-3-clause
sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata,sirikata/sirikata
4f54da00cbafad1ea3184b5ce0abef290469b7ab
src/examples/GDLExample/mainwindow.cpp
src/examples/GDLExample/mainwindow.cpp
/* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied ...
/* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License version 2 as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied ...
Fix compile
Fix compile
C++
lgpl-2.1
cgaebel/gluon,cgaebel/gluon,pranavrc/example-gluon,cgaebel/gluon,KDE/gluon,KDE/gluon,cgaebel/gluon,KDE/gluon,pranavrc/example-gluon,pranavrc/example-gluon,KDE/gluon,pranavrc/example-gluon
1671a96294593d0b7161f284b0c2c24f85b29a42
src/SenseKit/Logging.cpp
src/SenseKit/Logging.cpp
#include "Logging.h" #include <SenseKit/sensekit_types.h> INITIALIZE_LOGGING namespace sensekit { void initialize_logging(const char* logFilePath) { const char TRUE_STRING[] = "true"; el::Loggers::addFlag(el::LoggingFlag::CreateLoggerAutomatically); el::Loggers::addFlag(el::LoggingF...
#include "Logging.h" #include <SenseKit/sensekit_types.h> INITIALIZE_LOGGING namespace sensekit { void initialize_logging(const char* logFilePath) { const char TRUE_STRING[] = "true"; el::Loggers::addFlag(el::LoggingFlag::CreateLoggerAutomatically); el::Loggers::addFlag(el::LoggingF...
Change logging level to show >=INFO severity
Change logging level to show >=INFO severity
C++
apache-2.0
orbbec/astra,orbbec/astra,orbbec/astra,orbbec/astra,orbbec/astra
b1edee052799db1e6e89c0b8f793f54836133c63
src/VideoWriterWrap.cc
src/VideoWriterWrap.cc
#include "VideoWriterWrap.h" #include "Matrix.h" #include "OpenCV.h" #include <iostream> #ifdef HAVE_OPENCV_VIDEOIO Nan::Persistent<FunctionTemplate> VideoWriterWrap::constructor; struct videowriter_baton { Nan::Persistent<Function> cb; VideoWriterWrap *vc; Matrix *im; uv_work_t request; }; void...
#include "VideoWriterWrap.h" #include "Matrix.h" #include "OpenCV.h" #include <iostream> #ifdef HAVE_OPENCV_VIDEOIO Nan::Persistent<FunctionTemplate> VideoWriterWrap::constructor; struct videowriter_baton { Nan::Persistent<Function> cb; VideoWriterWrap *vc; Matrix *im; uv_work_t request; }; void...
make safe to mat.release() before async is complete
VideoWriter: make safe to mat.release() before async is complete
C++
mit
peterbraden/node-opencv,peterbraden/node-opencv,peterbraden/node-opencv,peterbraden/node-opencv
c5dacbfc8483d5980c6ec95f24f5a7a4f03117c3
src/file_manager/server/FileServer.cpp
src/file_manager/server/FileServer.cpp
#include "FileServer.h" #include "socket.h" #ifndef C_WIN_SOCK #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #endif #include <stdio.h> #include <stdlib.h> #include <cstring> #include <iostream> #include <chrono> #include <thread> #define MAX_LENGTH_OF_QUE...
#include "FileServer.h" #include "socket.h" #ifndef C_WIN_SOCK #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <unistd.h> #endif #include <stdio.h> #include <stdlib.h> #include <cstring> #include <iostream> #include <chrono> #include <thread> #define MAX_LENGTH_OF_QUE...
Fix return val for sendFileToClient
Fix return val for sendFileToClient
C++
mit
Plamenod/P2P
ffc566733fb530af9aa046d8cd3ee198e201a8f1
blackEuro/blackEuro.cpp
blackEuro/blackEuro.cpp
/* ====================================================== Copyright 2016 Liang Ma 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 Un...
/* ====================================================== Copyright 2016 Liang Ma 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 Un...
add support for SDAccel2016.2
add support for SDAccel2016.2
C++
apache-2.0
KitAway/BlackScholes_MonteCarlo
9e8167ce569e2863f77ff2af707f77657fd4b8dd
cf/8D.cpp
cf/8D.cpp
/* * D. Two Friends * time limit per test1 second * memory limit per test64 megabytes * inputstandard input * outputstandard output * Two neighbours, Alan and Bob, live in the city, where there are three buildings only: a cinema, a shop and the house, where they live. The rest is a big asphalt square. * * Once ...
/* * D. Two Friends * time limit per test1 second * memory limit per test64 megabytes * inputstandard input * outputstandard output * Two neighbours, Alan and Bob, live in the city, where there are three buildings only: a cinema, a shop and the house, where they live. The rest is a big asphalt square. * * Once ...
add cf 8d
add cf 8d
C++
mit
LihuaWu/algorithms
60a4c7d9f6a0fc997e11898f9042977922026052
src/IconButton.cc
src/IconButton.cc
// IconButton.cc // Copyright (c) 2003 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org) // and Simon Bowden (rathnor at users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), ...
// IconButton.cc // Copyright (c) 2003 - 2006 Henrik Kinnunen (fluxgen at fluxbox dot org) // and Simon Bowden (rathnor at users.sourceforge.net) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), ...
remove tooltip when IconButton is destroyed
remove tooltip when IconButton is destroyed
C++
mit
luebking/fluxbox,olivergondza/fluxbox,luebking/fluxbox,olivergondza/fluxbox,naimdjon/fluxbox,lukoko/fluxbox,luebking/fluxbox,lukoko/fluxbox,luebking/fluxbox,lukoko/fluxbox,olivergondza/fluxbox,naimdjon/fluxbox,naimdjon/fluxbox,olivergondza/fluxbox,lukoko/fluxbox,luebking/fluxbox,olivergondza/fluxbox,naimdjon/fluxbox,Ar...
666f253462e2fb1c0e053a1a5d7298263c03f110
src/Main/Main.cpp
src/Main/Main.cpp
#include <iostream> #include "Core/IDifferentiableExecutor.h" #include "Operations/Arithmetic.h" #include "Operations/Value.h" #include "Evaluation/LegacyEvaluator.h" #include "Evaluation/LazyEvaluator.h" #include "Utils/Dictionary.h" #include "Data/Datatypes.h" #include "Data/Initializers/Ones.h" #include "Data/Initi...
#include <iostream> #include "Core/IDifferentiableExecutor.h" #include "Operations/Arithmetic.h" #include "Operations/Value.h" #include "Evaluation/LegacyEvaluator.h" #include "Evaluation/LazyEvaluator.h" #include "Utils/Dictionary.h" #include "Data/Datatypes.h" #include "Data/Initializers/Ones.h" #include "Data/Initi...
Test class constructors as direct node building method
Test class constructors as direct node building method
C++
mit
alexweav/BackpropFramework,alexweav/BackpropFramework
56a4e6f27479a979c3a2fc224bc4a97d6beb189c
korganizer/koeditoralarms.cpp
korganizer/koeditoralarms.cpp
/* This file is part of KOrganizer. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
/* This file is part of KOrganizer. Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
Initialize variable to avoid crash
Initialize variable to avoid crash svn path=/branches/KDE/3.5/kdepim/; revision=555779
C++
lgpl-2.1
lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi
644e2da2fd2eb6c80adf80f2c60c46a9abdb81ae
src/deleglise-rivat/pi_deleglise_rivat1.cpp
src/deleglise-rivat/pi_deleglise_rivat1.cpp
/// /// @file pi_deleglise_rivat_parallel1.cpp /// @brief Implementation of the Deleglise-Rivat prime counting /// algorithm. In the Deleglise-Rivat algorithm there are 3 /// additional types of special leaves compared to the /// Lagarias-Miller-Odlyzko algorithm: trivial special leaves, /// ...
/// /// @file pi_deleglise_rivat_parallel1.cpp /// @brief Implementation of the Deleglise-Rivat prime counting /// algorithm. In the Deleglise-Rivat algorithm there are 3 /// additional types of special leaves compared to the /// Lagarias-Miller-Odlyzko algorithm: trivial special leaves, /// ...
Fix undeclared UINT64_C macro
Fix undeclared UINT64_C macro
C++
bsd-2-clause
kimwalisch/primecount,kimwalisch/primecount,kimwalisch/primecount
06b575b0c3fe3a6883897fa4f73bba85946da1e4
CefSharp/HandlerAdapter.cpp
CefSharp/HandlerAdapter.cpp
#include "stdafx.h" #include "HandlerAdapter.h" #include "BrowserControl.h" #include "Request.h" #include "ReturnValue.h" #include "StreamAdapter.h" #include "JsResultHandler.h" namespace CefSharp { CefHandler::RetVal HandlerAdapter::HandleAfterCreated(CefRefPtr<CefBrowser> browser) { if(!browser->...
#include "stdafx.h" #include "HandlerAdapter.h" #include "BrowserControl.h" #include "Request.h" #include "ReturnValue.h" #include "StreamAdapter.h" #include "JsResultHandler.h" namespace CefSharp { CefHandler::RetVal HandlerAdapter::HandleAfterCreated(CefRefPtr<CefBrowser> browser) { if(!browser->...
fix bug - Address property showing addresses of frames.
fix bug - Address property showing addresses of frames.
C++
bsd-3-clause
VioletLife/CefSharp,Octopus-ITSM/CefSharp,illfang/CefSharp,ataranto/CefSharp,rlmcneary2/CefSharp,joshvera/CefSharp,rlmcneary2/CefSharp,Haraguroicha/CefSharp,NumbersInternational/CefSharp,ITGlobal/CefSharp,windygu/CefSharp,Octopus-ITSM/CefSharp,paulcbetts/CefSharp,jamespearce2006/CefSharp,gregmartinhtc/CefSharp,windygu/...
cbeffcb44c9df3b6dd52f2949c9dfec888b84560
src/Profiling.cpp
src/Profiling.cpp
#include "Profiling.h" #include "IRMutator.h" #include "IROperator.h" #include <algorithm> #include <map> #include <string> namespace Halide { namespace Internal { namespace { const char kBufName[] = "ProfilerBuffer"; const char kToplevel[] = "$total$"; } int profiling_level() { char *trace = getenv("HL_...
#include "Profiling.h" #include "IRMutator.h" #include "IROperator.h" #include <algorithm> #include <map> #include <string> namespace Halide { namespace Internal { namespace { const char kBufName[] = "ProfilerBuffer"; const char kToplevel[] = "$total$"; } int profiling_level() { char *trace = getenv("HL_...
Fix instrumentation of For loops in HL_PROFILE; disallow instrumentation of parallel For loops; clean up Stmt output of temp profiling instrumentation vars
Fix instrumentation of For loops in HL_PROFILE; disallow instrumentation of parallel For loops; clean up Stmt output of temp profiling instrumentation vars Former-commit-id: f1dc63d63057ec48d1ba5c73a5b3002f078f3f3e
C++
mit
darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,darkbuck/Halide
1c4284f4191c43aa3bc0a2123e57afd15a102b20
src/WebserviceWindow.cpp
src/WebserviceWindow.cpp
#include <QDebug> #include <QFile> #include <QFileDialog> #include <QMessageBox> #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QProgressDialog> #include <QStringList> #include <QTextStream> #include <AlpinoCorpus/CorpusWriter.hh> #include <WebserviceWindow.hh> #include <ui_WebserviceWindow.h> ...
#include <QDebug> #include <QFile> #include <QFileDialog> #include <QMessageBox> #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QProgressDialog> #include <QStringList> #include <QTextStream> #include <AlpinoCorpus/CorpusWriter.hh> #include <WebserviceWindow.hh> #include <ui_WebserviceWindow.h> ...
Delete corpus writer when finished writing (and let it write a nice end to the file so dact won't crash while trying to read it)
Delete corpus writer when finished writing (and let it write a nice end to the file so dact won't crash while trying to read it)
C++
lgpl-2.1
evdmade01/dact,rug-compling/dact,rug-compling/dact,evdmade01/dact,evdmade01/dact
91727bc712fca3bf7f6ef289b40c82248a1a681f
tutorial01.cc
tutorial01.cc
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <string> #include <fstream> #include <vector> // Include GLEW #include <GL/glew.h> // Include GLFW #include <glfw3.h> GLFWwindow* window; // Include GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> using namespace glm; vo...
// Include standard headers #include <stdio.h> #include <stdlib.h> #include <string> #include <fstream> #include <vector> // Include GLEW #include <GL/glew.h> // Include GLFW #include <glfw3.h> GLFWwindow* window; // Include GLM #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> using namespace glm; vo...
Put Mac-specific GLFW code under ifdef
Put Mac-specific GLFW code under ifdef
C++
apache-2.0
aam/opengl
c06b037629433b8c1fbc80c3dc4351bc56666160
source/synchronization/SignalsReceiverControlBlock.cpp
source/synchronization/SignalsReceiverControlBlock.cpp
/** * \file * \brief SignalsReceiverControlBlock class implementation * * \author Copyright (C) 2015-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * ...
/** * \file * \brief SignalsReceiverControlBlock class implementation * * \author Copyright (C) 2015-2017 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * ...
Add calls to SignalsCatcherControlBlock::afterGenerateQueueUnlocked()
Add calls to SignalsCatcherControlBlock::afterGenerateQueueUnlocked() Call SignalsCatcherControlBlock::afterGenerateQueueUnlocked() in SignalsReceiverControlBlock::afterGenerateQueueUnlocked().
C++
mpl-2.0
DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,CezaryGapinski/distortos
2b5bba496bc4c21c8e3d7d8ad94b08185041b6ad
src/base/file_utils.cc
src/base/file_utils.cc
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Fix chromium windows build am: d21ed9d314 am: a73d9a39da
Fix chromium windows build am: d21ed9d314 am: a73d9a39da Original change: https://android-review.googlesource.com/c/platform/external/perfetto/+/1946875 Change-Id: I60e82f9157485f7384bd511f2b348ededd340a69
C++
apache-2.0
google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto,google/perfetto
16cfb97ca20ae04dc1d3a87dcc24cec5bb38266c
editor/plugins/skeleton_2d_editor_plugin.cpp
editor/plugins/skeleton_2d_editor_plugin.cpp
/*************************************************************************/ /* skeleton_2d_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/*************************************************************************/ /* skeleton_2d_editor_plugin.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose"
Tweak skeleton editor texts "Make Rest Pose" and "Set Bones to Rest Pose" The new terms are more descriptive of each button's actual function.
C++
mit
godotengine/godot,Faless/godot,BastiaanOlij/godot,vnen/godot,DmitriySalnikov/godot,ZuBsPaCe/godot,akien-mga/godot,Valentactive/godot,josempans/godot,Shockblast/godot,sanikoyes/godot,guilhermefelipecgs/godot,vkbsb/godot,Valentactive/godot,vkbsb/godot,guilhermefelipecgs/godot,Zylann/godot,BastiaanOlij/godot,DmitriySalnik...
dd1944c3827426ad32108fa1d8e710f3dfbf9794
src/activemasternode.cpp
src/activemasternode.cpp
// Copyright (c) 2014-2017 The Helium Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "masternode.h" #include "masternode-sync.h" #include "masternodeman.h" #include "protoc...
// Copyright (c) 2014-2017 The Helium Core developers // Copyright (c) 2014-2017 The DASH Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "activemasternode.h" #include "masternode.h" #include "masternode...
Update activemasternode.cpp
Update activemasternode.cpp
C++
mit
HeliumGas/helium,HeliumGas/helium,HeliumGas/helium,HeliumGas/helium,HeliumGas/helium,HeliumGas/helium
6a902634408c0cd591a696a0b6069666d9f63112
src/app/dependencies.cpp
src/app/dependencies.cpp
/* This file is part of Zanshin Copyright 2014 Kevin Ottens <ervin@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) version...
/* This file is part of Zanshin Copyright 2014 Kevin Ottens <ervin@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License or (at your option) version...
Create Storage, Serializer, Monitor and Messaging through dependencies
Create Storage, Serializer, Monitor and Messaging through dependencies
C++
lgpl-2.1
sandsmark/zanshin,sandsmark/zanshin,sandsmark/zanshin
3bad224f58f0f5f9fd274a960003615ac5b75772
test/array.cpp
test/array.cpp
#include "array.h" #include "test.h" namespace array { TEST(array_default_constructor) { dense_array<int, 1> a(make_dense_shape(10)); for (int x = 0; x < 10; x++) { ASSERT_EQ(a(x), 0); } dense_array<int, 2> b({7, 3}); for (int y = 0; y < 3; y++) { for (int x = 0; x < 7; x++) { ASSERT_EQ(b(x, ...
#include "array.h" #include "test.h" namespace array { TEST(array_default_constructor) { dense_array<int, 1> a(make_dense_shape(10)); for (int x = 0; x < 10; x++) { ASSERT_EQ(a(x), 0); } dense_array<int, 2> b({7, 3}); for (int y = 0; y < 3; y++) { for (int x = 0; x < 7; x++) { ASSERT_EQ(b(x, ...
Improve tests of copy construction/assignment.
Improve tests of copy construction/assignment.
C++
apache-2.0
dsharlet/array
629e09deda50885ea1e16a429f7a879d02d76027
src/application/main.cpp
src/application/main.cpp
/* * Copyright 2016, Simula Research Laboratory * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <iostream> #include <fstream> #include <sstream> #inc...
/* * Copyright 2016, Simula Research Laboratory * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <iostream> #include <fstream> #include <sstream> #inc...
remove test/debug command line options
remove test/debug command line options
C++
mpl-2.0
alicevision/popsift,poparteu/popsift,alicevision/popsift,poparteu/popsift,alicevision/popsift
cfcd5bb616484b6c1d34e6ea8f4cd3e2d7774824
src/arch/mips/utility.hh
src/arch/mips/utility.hh
/* * Copyright (c) 2003-2005 The Regents of The University of Michigan * Copyright (c) 2007 MIPS Technologies, Inc. * 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 sour...
/* * Copyright (c) 2003-2005 The Regents of The University of Michigan * Copyright (c) 2007 MIPS Technologies, Inc. * 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 sour...
make getArgument inline so mips will link properly
mips: make getArgument inline so mips will link properly
C++
bsd-3-clause
vovojh/gem5,vovojh/gem5,hoangt/tpzsimul.gem5,vovojh/gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,vovojh/gem5,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,pombredanne...
503ebb7102045c679fd56a6068eeefffdfa2b6b4
Dep/common/lexical_cast.hpp
Dep/common/lexical_cast.hpp
//C++ 11ʵֵlexical_castΪ˰boost //: https://github.com/qicosmos/cosmos #ifndef CPP_11_LEXICAL_CAST_HPP #define CPP_11_LEXICAL_CAST_HPP #include <type_traits> #include <string> #include <cstdlib> #include <algorithm> #include <stdexcept> #include <cctype> #include <cstring> using namespace std; namespace detail { stati...
//C++ 11ʵֵlexical_castΪ˰boost //: https://github.com/qicosmos/cosmos #ifndef CPP_11_LEXICAL_CAST_HPP #define CPP_11_LEXICAL_CAST_HPP #include <type_traits> #include <string> #include <cstdlib> #include <algorithm> #include <stdexcept> #include <cctype> #include <cstring> using namespace std; namespace detail { stati...
fix lexical_cast bug when convert number string to boolean
fix lexical_cast bug when convert number string to boolean Former-commit-id: 40008d34ece1d2adc224ce6afb6d922b389cc1d6 [formerly 806da0701024c9ed223092b1262454d617132407] [formerly 603c83caa66d7248f1dc44246747a8500e17c3ee [formerly 4950b5fc80d7abb590eb8f01e06feee042a8275c]] Former-commit-id: a25025f922cb7337b44aa33d36...
C++
apache-2.0
ArkGame/ArkGameFrame,ArkGame/ArkGameFrame,ArkGame/ArkGameFrame,ArkGame/ArkGameFrame,ArkGame/ArkGameFrame,ArkGame/ArkGameFrame,ArkGame/ArkGameFrame
6fcca1cc874c2b374b05399be92c5c1ea2086cc0
lib/Analysis/PHITransAddr.cpp
lib/Analysis/PHITransAddr.cpp
//===- PHITransAddr.cpp - PHI Translation for Addresses -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- PHITransAddr.cpp - PHI Translation for Addresses -------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
add support for phi translation and incorpation of new expression.
add support for phi translation and incorpation of new expression. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@90782 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/llvm,dslab-epfl/asap,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,dslab-epfl/asap,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,app...
e5f62e81c2245a5ad26be6efa5b4e5855064c1ee
lib/CodeGen/CGObjCRuntime.cpp
lib/CodeGen/CGObjCRuntime.cpp
//==- CGObjCRuntime.cpp - Interface to Shared Objective-C Runtime Features ==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
//==- CGObjCRuntime.cpp - Interface to Shared Objective-C Runtime Features ==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------------...
Make the LValue created in EmitValueForIvarAtOffset have the same Qualifiers in the LValue as the QualType in the LValue. No functionality change intended.
Make the LValue created in EmitValueForIvarAtOffset have the same Qualifiers in the LValue as the QualType in the LValue. No functionality change intended. git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@283795 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/cl...
c3ef917b3c44a32aa3240382f5c32b6ab1615c28
tests/auto/symbian/qmediaobject_s60/tst_qmediaobject_s60.cpp
tests/auto/symbian/qmediaobject_s60/tst_qmediaobject_s60.cpp
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
fix isWritable() function symbol not found - Seems the isWritable() function body has been removed so remove function definition
symbian:tests: fix isWritable() function symbol not found - Seems the isWritable() function body has been removed so remove function definition
C++
lgpl-2.1
enthought/qt-mobility,kaltsi/qt-mobility,tmcguire/qt-mobility,qtproject/qt-mobility,qtproject/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobility,enthought/qt-mobility,tmcguire/qt-mobility,enthought/qt-mobility,enthought/qt-mobility,kaltsi/qt-mobility,KDE/android-qt-mobility,qtproject/qt-mobili...
5342617b3866588c4a972f36231b8686aac98daa
tntnet/framework/common/httpmessage.cpp
tntnet/framework/common/httpmessage.cpp
/* httpmessage.cpp * Copyright (C) 2003-2005 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ver...
/* httpmessage.cpp * Copyright (C) 2003-2005 Tommi Maekitalo * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ver...
fix http-date-generation
fix http-date-generation git-svn-id: cc913a7f7b4e3b8bac01cff72f0fc87362e4d502@816 8dd45c8f-be11-0410-86c3-e0da43b70fc1
C++
lgpl-2.1
maekitalo/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,OlafRadicke/tntnet,maekitalo/tntnet,maekitalo/tntnet,maekitalo/tntnet,maekitalo/tntnet
e9e32ecc39ac80aad3ff62408858929a6bb9573b
tests/http/qdjangofastcgiserver/tst_qdjangofastcgiserver.cpp
tests/http/qdjangofastcgiserver/tst_qdjangofastcgiserver.cpp
/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundati...
/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundati...
test POST over fastcgi (local + tcp)
test POST over fastcgi (local + tcp)
C++
lgpl-2.1
paradoxon82/qdjango,jlaine/qdjango,ericLemanissier/qdjango,jlaine/qdjango,ericLemanissier/qdjango,paradoxon82/qdjango,jlaine/qdjango,paradoxon82/qdjango,jlaine/qdjango,jlaine/qdjango,paradoxon82/qdjango,ericLemanissier/qdjango,ericLemanissier/qdjango,paradoxon82/qdjango,ericLemanissier/qdjango
92198ceefad53fa165f848652788301726dddc95
src/bp/session/Write.cxx
src/bp/session/Write.cxx
/* * Copyright 2007-2022 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the abo...
/* * Copyright 2007-2022 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the abo...
use UINT16_MAX
bp/session/Write: use UINT16_MAX
C++
bsd-2-clause
CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy
81a085a2598a877a02dbedf9d91e7bf899fb2f02
lib/Support/FileUtilities.cpp
lib/Support/FileUtilities.cpp
//===- Support/FileUtilities.cpp - File System Utilities ------------------===// // // 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. // //===--------...
//===- Support/FileUtilities.cpp - File System Utilities ------------------===// // // 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. // //===--------...
Add new function
Add new function git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@10664 91177308-0d34-0410-b5e6-96231b3b80d8
C++
bsd-2-clause
chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-...
4cba69e7edac2ab98d48198fda118d4c97084edf
Tournament/SadisticShooter.hpp
Tournament/SadisticShooter.hpp
// SadisticShooter by muddyfish // PPCG: http://codegolf.stackexchange.com/a/104947/11933 // SadisticShooter.hpp // A very sad person. He likes to shoot people. #ifndef __SAD_SHOOTER_PLAYER_HPP__ #define __SAD_SHOOTER_PLAYER_HPP__ #include <cstdlib> #include "Player.hpp" // #include <iostream> class SadisticShooter...
// SadisticShooter by muddyfish // PPCG: http://codegolf.stackexchange.com/a/104947/11933 // SadisticShooter.hpp // A very sad person. He likes to shoot people. #ifndef __SAD_SHOOTER_PLAYER_HPP__ #define __SAD_SHOOTER_PLAYER_HPP__ #include <cstdlib> #include "Player.hpp" // #include <iostream> class SadisticShooter...
Update historySame method
Update historySame method
C++
mit
FYPetro/GunDuel,FYPetro/GunDuel
19ebefff62dcee9feb777dec027ab35dd0b32f76
quantities/quantities_test.cpp
quantities/quantities_test.cpp
 #include <string> #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/BIPM.hpp" #include "quantities/constants.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" #include "quantities/uk.hpp" #in...
 #include <string> #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/BIPM.hpp" #include "quantities/constants.hpp" #include "quantities/elementary_functions.hpp" #include "quantities/quantities.hpp" #include "quantities/si.hpp" #include "quantities/uk.hpp" #in...
Fix test
Fix test
C++
mit
eggrobin/Principia,pleroy/Principia,pleroy/Principia,Norgg/Principia,mockingbirdnest/Principia,mockingbirdnest/Principia,pleroy/Principia,eggrobin/Principia,mockingbirdnest/Principia,pleroy/Principia,Norgg/Principia,Norgg/Principia,mockingbirdnest/Principia,eggrobin/Principia,Norgg/Principia
993afe142b7dc11a00c0b0f823edbd340e836ef4
src/cbang/log/Logger.cpp
src/cbang/log/Logger.cpp
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2017, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All right...
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2017, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All right...
Check for null log screen stream
Check for null log screen stream
C++
lgpl-2.1
CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang,CauldronDevelopmentLLC/cbang
ac9e84bd4c8a872e9743f625cec197ffe650d684
X10_Project/Classes/Bullet.cpp
X10_Project/Classes/Bullet.cpp
#include "stdafx.h" #include "Bullet.h" #include "Explosion.h" //Base Class of All Bullets bool Bullet::init() { if (!Node::init()) { return false; } Director* director = Director::getInstance(); m_screen = director->getVisibleSize(); m_speed = 0; m_direction = Vec2::ZERO; m_isFlying = false; m_shouldE...
#include "stdafx.h" #include "Bullet.h" #include "Explosion.h" //Base Class of All Bullets bool Bullet::init() { if (!Node::init()) { return false; } Director* director = Director::getInstance(); m_screen = director->getVisibleSize(); m_speed = 0; m_direction = Vec2::ZERO; m_isFlying = false; m_shouldE...
fix bug of Bullet speed reduction 10 -> 10.0f (int->float)
fix bug of Bullet speed reduction 10 -> 10.0f (int->float)
C++
mit
kimsin3003/X10,kimsin3003/X10,kimsin3003/X10,kimsin3003/X10,kimsin3003/X10
75a7d9a28465539f952155c4d59416e17c3814d8
lib/afsm/include/afsm/fsm.hpp
lib/afsm/include/afsm/fsm.hpp
/* * fsm.hpp * * Created on: 25 мая 2016 г. * Author: sergey.fedorov */ #ifndef AFSM_FSM_HPP_ #define AFSM_FSM_HPP_ #include <afsm/detail/base_states.hpp> #include <afsm/detail/observer.hpp> #include <deque> namespace afsm { //---------------------------------------------------------------------------- /...
/* * fsm.hpp * * Created on: 25 мая 2016 г. * Author: sergey.fedorov */ #ifndef AFSM_FSM_HPP_ #define AFSM_FSM_HPP_ #include <afsm/detail/base_states.hpp> #include <afsm/detail/observer.hpp> #include <deque> namespace afsm { //---------------------------------------------------------------------------- /...
Replace atomic counter with atomic flag.
Replace atomic counter with atomic flag.
C++
artistic-2.0
zmij/pg_async
3a6009a18716eb9fe2bdabec01aa74ac9ff4b1a8
src/client/bfs_client.cc
src/client/bfs_client.cc
// Copyright (c) 2014, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yanshiguang02@baidu.com #include <gflags/gflags.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <string> #include <unis...
// Copyright (c) 2014, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Author: yanshiguang02@baidu.com #include <gflags/gflags.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <string> #include <unis...
Use original mask when create file
Use original mask when create file
C++
bsd-3-clause
linyvxiang/dfs,yvxiang/dfs,lylei/dfs,yvxiang/coverage_for_bfs,bluebore/dfs,myawan/bfs-1,lylei/dfs,lylei/dfs,00k/ToyDFS,bluebore/dfs,00k/ToyDFS,yvxiang/coverage_for_bfs,baidu/bfs,bluebore/bfs,baidu/bfs,yvxiang/coverage_for_bfs,bluebore/bfs,imotai/bfs,bluebore/bfs,yvxiang/dfs,linyvxiang/dfs,imotai/bfs,yvxiang/dfs,baidu/b...
e0e101daff1db918463976907a47ccbe57cc3d50
vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp
vespalib/src/vespa/vespalib/util/threadstackexecutorbase.cpp
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "threadstackexecutorbase.h" #include <vespa/fastos/thread.h> namespace vespalib { namespace thread { struct ThreadInit : public FastOS_Runnable { Runnable &worker; ThreadStackExecutorBase::init_...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "threadstackexecutorbase.h" #include <vespa/fastos/thread.h> namespace vespalib { namespace thread { struct ThreadInit : public FastOS_Runnable { Runnable &worker; ThreadStackExecutorBase::init_...
Remove reset of idletracker in start() method as it is protected.
Remove reset of idletracker in start() method as it is protected.
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
43ed174452edeb01fe71c49228b8474c351d992e
dune/gdt/functionals/default.hh
dune/gdt/functionals/default.hh
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_FUNCTIONALS_DEFAULT_HH #define DUNE_GDT_FUNCTIONALS_DEFAULT_HH #include <dune/stuff/c...
// This file is part of the dune-gdt project: // http://users.dune-project.org/projects/dune-gdt // Copyright holders: Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_GDT_FUNCTIONALS_DEFAULT_HH #define DUNE_GDT_FUNCTIONALS_DEFAULT_HH #include <dune/stuff/c...
add `add()` for LocalFaceFunctionalInterface
[functionals.default] add `add()` for LocalFaceFunctionalInterface
C++
bsd-2-clause
pymor/dune-gdt
f6f56b2daaca4db44931ba46eadedcaa3a272ae3
src/mlpack/methods/naive_bayes/nbc_main.cpp
src/mlpack/methods/naive_bayes/nbc_main.cpp
/** * @author Parikshit Ram (pram@cc.gatech.edu) * @file nbc_main.cpp * * This program runs the Simple Naive Bayes Classifier. * * This classifier does parametric naive bayes classification assuming that the * features are sampled from a Gaussian distribution. */ #include <mlpack/core.hpp> #include "naive_baye...
/** * @author Parikshit Ram (pram@cc.gatech.edu) * @file nbc_main.cpp * * This program runs the Simple Naive Bayes Classifier. * * This classifier does parametric naive bayes classification assuming that the * features are sampled from a Gaussian distribution. */ #include <mlpack/core.hpp> #include "naive_baye...
Fix incorrect check (how did this happen?).
Fix incorrect check (how did this happen?).
C++
bsd-3-clause
BookChan/mlpack,darcyliu/mlpack,ajjl/mlpack,theranger/mlpack,theranger/mlpack,ranjan1990/mlpack,thirdwing/mlpack,ersanliqiao/mlpack,chenmoshushi/mlpack,thirdwing/mlpack,ajjl/mlpack,erubboli/mlpack,Azizou/mlpack,minhpqn/mlpack,BookChan/mlpack,Azizou/mlpack,stereomatchingkiss/mlpack,chenmoshushi/mlpack,ranjan1990/mlpack,...
84c71b38d3fd182fd92f8376396b2198ed5002d1
src/main/cc/wfa/virtual_people/core/labeler/labeler.cc
src/main/cc/wfa/virtual_people/core/labeler/labeler.cc
// Copyright 2021 The Cross-Media Measurement 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 applic...
// Copyright 2021 The Cross-Media Measurement 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 applic...
Set the debug trace to be LabelerEvent. (#26)
Set the debug trace to be LabelerEvent. (#26)
C++
apache-2.0
world-federation-of-advertisers/virtual-people-core-serving,world-federation-of-advertisers/virtual-people-core-serving
8d6aa35aa5149489841627aae79c23d3dce89f6a
bindings/python/src/session_settings.cpp
bindings/python/src/session_settings.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/session.hpp> #include <boost/python.hpp> using namespace boost::python; using na...
// 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/session.hpp> #include <boost/python.hpp> using namespace boost::python; using na...
Add session_settings::peer_tos to bindings
Add session_settings::peer_tos to bindings git-svn-id: c39a6fcb73c71bf990fd9353909696546eb40440@2581 a83610d8-ad2a-0410-a6ab-fc0612d85776
C++
bsd-3-clause
mirror/libtorrent,mirror/libtorrent,john-peterson/libtorrent-old,john-peterson/libtorrent-old,mirror/libtorrent,mirror/libtorrent,john-peterson/libtorrent-old,john-peterson/libtorrent-old,john-peterson/libtorrent-old,john-peterson/libtorrent-old,mirror/libtorrent,mirror/libtorrent
1e48244ff6f11060ac885a38e4ad0d29741e735e
src/common/tga_image.cpp
src/common/tga_image.cpp
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <cstdint> #include <cstring> // for memset #include <fstream> #include <iostream> #include <ostream> #include <visionaray/swizzle.h> #include "tga_image.h" namespace visionaray { //-------------------------------------...
// This file is distributed under the MIT license. // See the LICENSE file for details. #include <cstdint> #include <cstring> // for memset #include <fstream> #include <iostream> #include <ostream> #include <visionaray/swizzle.h> #include "tga_image.h" namespace visionaray { //-------------------------------------...
Fix TGA loader
Fix TGA loader * Bit 5 of the image descriptor specifies the image origin * Allow run-length or raw packets to cross scanlines
C++
mit
tu500/visionaray,ukoeln-vis/ctpperf,tu500/visionaray,ukoeln-vis/ctpperf,szellmann/visionaray,szellmann/visionaray
712b13f60771e7dff77514e220748f087cde43d3
src/plugins/resourceeditor/resourcenode.cpp
src/plugins/resourceeditor/resourcenode.cpp
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this f...
Fix matching on '/' node
ResourceNode: Fix matching on '/' node A ResourceTopLevelNode should only prioritize it's own child '/' node. Task-number: QTCREATORBUG-12297 Change-Id: Ia9834d7111622d4558e1a2c21b602b11ff5db139 Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>
C++
lgpl-2.1
martyone/sailfish-qtcreator,danimo/qt-creator,danimo/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,maui-packages/qt-creator,farseerri/git_code,martyone/sailfish-qtcreator,farseerri/git_code,danimo/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,AltarBeastiful/qt...
1757a3a542fd89bb87b02e4085b96fc5e2259c7c
src/booru/page.cc
src/booru/page.cc
#include <glibmm/i18n.h> #include <iostream> #include "page.h" using namespace AhoViewer::Booru; #include "curler.h" #include "image.h" #include "settings.h" Page::Page() : Gtk::ScrolledWindow(), m_ImageFetcher(new ImageFetcher()), m_IconView(Gtk::manage(new Gtk::IconView())), m_Tab(Gtk::manage(new Gtk...
#include <glibmm/i18n.h> #include <iostream> #include "page.h" using namespace AhoViewer::Booru; #include "curler.h" #include "image.h" #include "settings.h" Page::Page() : Gtk::ScrolledWindow(), m_ImageFetcher(new ImageFetcher()), m_IconView(Gtk::manage(new Gtk::IconView())), m_Tab(Gtk::manage(new Gtk...
Fix possible issue when posts fail to load
booru/page: Fix possible issue when posts fail to load
C++
mit
ahodesuka/ahoviewer,ahodesuka/ahoviewer,ahodesuka/ahoviewer
eb9dbe68a71d096bd6e78b36f55683f3f68504c6
src/textures/ptex.cpp
src/textures/ptex.cpp
/* pbrt source code is Copyright(c) 1998-2016 Matt Pharr, Greg Humphreys, and Wenzel Jakob. This file is part of pbrt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redi...
/* pbrt source code is Copyright(c) 1998-2016 Matt Pharr, Greg Humphreys, and Wenzel Jakob. This file is part of pbrt. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redi...
Fix bug in ptex gamma correction
Fix bug in ptex gamma correction
C++
bsd-2-clause
nyue/pbrt-v3,nyue/pbrt-v3,nyue/pbrt-v3,mmp/pbrt-v3,mmp/pbrt-v3,mmp/pbrt-v3,mmp/pbrt-v3,nyue/pbrt-v3
63a3cced5b4d29f9a2a43396ddde1b4d52339185
Graphics/vtkContourGrid.cxx
Graphics/vtkContourGrid.cxx
/*========================================================================= Program: Visualization Toolkit Module: vtkContourGrid.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution and use i...
/*========================================================================= Program: Visualization Toolkit Module: vtkContourGrid.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistribution and use i...
print self
print self
C++
bsd-3-clause
hendradarwin/VTK,sumedhasingla/VTK,jmerkow/VTK,ashray/VTK-EVM,ashray/VTK-EVM,sumedhasingla/VTK,sankhesh/VTK,sgh/vtk,gram526/VTK,biddisco/VTK,Wuteyan/VTK,johnkit/vtk-dev,jmerkow/VTK,demarle/VTK,cjh1/VTK,msmolens/VTK,jeffbaumes/jeffbaumes-vtk,spthaolt/VTK,arnaudgelas/VTK,berendkleinhaneveld/VTK,mspark93/VTK,keithroe/vtko...
6ce768e68ab3cbd154024981c707f8b3ac46853d
src/Data.cpp
src/Data.cpp
#include "Data.hh" Data::Data() : _pteam((uint64_t) (workRAM + PTEAM_PTR)), _eteam((uint64_t) (workRAM + ETEAM_PTR)) { _loadNames(); } Data::~Data() { } void Data::update() { _player.update(); _pteam.update(); _eteam.update(); } void Data::_loadNames() { uint8_t *ptr; _names = new char*[153]();...
#include "Data.hh" Data::Data() : _pteam((uint64_t) (workRAM + PTEAM_PTR)), _eteam((uint64_t) (workRAM + ETEAM_PTR)) { _loadNames(); } Data::~Data() { } void Data::update() { _player.update(); _pteam.update(); _eteam.update(); } void Data::_loadNames() { uint8_t *ptr; _names = new char*[440]();...
extend range to generatio III pokemons
add: extend range to generatio III pokemons
C++
mit
Ensiss/pokebot,Ensiss/pokebot,Ensiss/pokebot