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 |
|---|---|---|---|---|---|---|---|---|---|
f55215eadc99cb9d56fb82701abe53a546571d30 | statusview.cpp | statusview.cpp | /*
LICENSE AND COPYRIGHT INFORMATION - Please read carefully.
Copyright (c) 2010-2013, davyjones <dj@pgxplorer.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission noti... | /*
LICENSE AND COPYRIGHT INFORMATION - Please read carefully.
Copyright (c) 2010-2013, davyjones <dj@pgxplorer.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission noti... | Update to svg files. | Update to svg files. | C++ | isc | pgXplorer/pgXplorer,pgXplorer/pgXplorer |
d8c4ade54871b25c69a9e556a79cf6d79bd47eb2 | include/bitcoin/bitcoin/utility/async_strand.hpp | include/bitcoin/bitcoin/utility/async_strand.hpp | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fo... | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fo... | Remove const qualifier (clang). | Remove const qualifier (clang).
| C++ | agpl-3.0 | swansontec/libbitcoin,swansontec/libbitcoin,GroestlCoin/libgroestlcoin,swansontec/libbitcoin,GroestlCoin/libgroestlcoin,swansontec/libbitcoin,GroestlCoin/libgroestlcoin,GroestlCoin/libgroestlcoin |
4c3be8a5957c8c9b2e12b46ab1829f6855852b7e | lib/sanitizer_common/sanitizer_symbolizer_mac.cc | lib/sanitizer_common/sanitizer_symbolizer_mac.cc | //===-- sanitizer_symbolizer_mac.cc ---------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- sanitizer_symbolizer_mac.cc ---------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Remove the system includes from __sanitizer namespace | [compiler-rt] Remove the system includes from __sanitizer namespace
git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@281658 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
be97b099cbb5d8c74bd5068925753f715f1ec4f0 | libspaghetti/source/elements/values/scale_int.cc | libspaghetti/source/elements/values/scale_int.cc | // MIT License
//
// Copyright (c) 2017-2018 Artur Wyszyński, aljen at hitomi dot pl
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation th... | // MIT License
//
// Copyright (c) 2017-2018 Artur Wyszyński, aljen at hitomi dot pl
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation th... | Hide central widget for ScaleInt | Hide central widget for ScaleInt
| C++ | mit | aljen/spaghetti,aljen/spaghetti |
fbb950137e90d179f2e9ba5b224fb292d4743573 | source/signals/ThisThread-Signals.cpp | source/signals/ThisThread-Signals.cpp | /**
* \file
* \brief ThisThread::Signals namespace implementation
*
* \author Copyright (C) 2015 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
* distribut... | /**
* \file
* \brief ThisThread::Signals namespace implementation
*
* \author Copyright (C) 2015 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
* distribut... | move implementation to local waitImplementation() | ThisThread::Signals::wait(): move implementation to local
waitImplementation() | C++ | mpl-2.0 | jasmin-j/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,jasmin-j/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos |
5ab04e1391665651572dd68ab9adc5b9b8f00086 | linbox-old/tests/Gauss/rank_sparse_reord_gauss.C | linbox-old/tests/Gauss/rank_sparse_reord_gauss.C | // ======================================================================= //
// Givaro / Athapascan-1
// Algorithme de Coppersmith : n=m=1 --> Wiedemann ameliore, Creux
// With diagonal Scaling and Transpose Computation
// Multiply computations are stopped when the polynomials remains the same
// for more than DIFF_BO... | // ======================================================================= //
// Givaro / Athapascan-1
// Algorithme de Coppersmith : n=m=1 --> Wiedemann ameliore, Creux
// With diagonal Scaling and Transpose Computation
// Multiply computations are stopped when the polynomials remains the same
// for more than DIFF_BO... | Use now gmp-rational field | Use now gmp-rational field
| C++ | lgpl-2.1 | linbox-team/linbox,linbox-team/linbox,linbox-team/linbox,linbox-team/linbox,linbox-team/linbox |
5c1912351000431f4a59bfcc836ed0b4c3bf9114 | common/system/routine_tracer_funcstats.cc | common/system/routine_tracer_funcstats.cc | #include "routine_tracer_funcstats.h"
#include "simulator.h"
#include "core_manager.h"
#include "thread.h"
#include "core.h"
#include "performance_model.h"
#include "log.h"
#include "stats.h"
#include "cache_efficiency_tracker.h"
#include "utils.h"
#include <sstream>
RoutineTracerFunctionStats::RtnThread::RtnThread(R... | #include "routine_tracer_funcstats.h"
#include "simulator.h"
#include "core_manager.h"
#include "thread.h"
#include "core.h"
#include "performance_model.h"
#include "log.h"
#include "stats.h"
#include "cache_efficiency_tracker.h"
#include "utils.h"
#include <sstream>
RoutineTracerFunctionStats::RtnThread::RtnThread(R... | Print first address in hex as well for full output | [rtntracer] Print first address in hex as well for full output
| C++ | mit | abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper |
e63b1521f43216f1478519493d35cee8b627cc7a | test/block.cpp | test/block.cpp | /*
This file is part of cpp-ethereum.
cpp-ethereum 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 3 of the License, or
(at your option) any later version.
cpp-ethereum is ... | /*
This file is part of cpp-ethereum.
cpp-ethereum 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 3 of the License, or
(at your option) any later version.
cpp-ethereum is ... | write block header and uncle list | write block header and uncle list
| C++ | mit | PaulGrey30/go-get--u-github.com-tools-godep,LefterisJP/cpp-ethereum,Sorceror32/go-get--u-github.com-tools-godep,PaulGrey30/go-get--u-github.com-tools-godep,vaporry/cpp-ethereum,eco/cpp-ethereum,PaulGrey30/.-git-clone-https-github.com-ethereum-cpp-ethereum,PaulGrey30/go-get--u-github.com-tools-godep,Sorceror32/go-get--u... |
f444e47e800b0fa5f5a7846ac2a2dd24fd93f5db | cpp/schedulers/greedy_turbo_scheduler.cpp | cpp/schedulers/greedy_turbo_scheduler.cpp | #include "schedulers/greedy_turbo_scheduler.h"
namespace schedulers {
GreedyTurboScheduler::GreedyTurboScheduler(const game::Race& race,
game::CarTracker& car_tracker)
: race_(race), car_tracker_(car_tracker), turbo_available_(false),
should_fire_now_(false) {
}
// Returns if should we us... | #include "schedulers/greedy_turbo_scheduler.h"
namespace schedulers {
GreedyTurboScheduler::GreedyTurboScheduler(const game::Race& race,
game::CarTracker& car_tracker)
: race_(race), car_tracker_(car_tracker), turbo_available_(false),
should_fire_now_(false) {
}
// Returns if should we us... | revert turbo firing | revert turbo firing
| C++ | apache-2.0 | kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014,kareth/helloworldopen2014 |
fb5286dea5e7d09759e923768a76010a01266d39 | 2D-Game-Engine/Window.cpp | 2D-Game-Engine/Window.cpp | #include "Window.h"
#include <GLFW/glfw3.h>
#include <exception>
#include "Input.h"
Window::Window(string title, int32 width, int32 height) : m_title(title), m_width(width), m_height(height) {
glfwSetErrorCallback([](int32 error, const char* desc) -> void { DEBUG_LOG(desc); });
if (!glfwInit()) {
throw runtime... | #include "Window.h"
#include <GL\glew.h>
#include <GLFW/glfw3.h>
#include <exception>
#include "Input.h"
Window::Window(string title, int32 width, int32 height) : m_title(title), m_width(width), m_height(height) {
glfwSetErrorCallback([](int32 error, const char* desc) -> void { DEBUG_LOG(desc); });
if (!glfwIn... | Fix view port not changing when window rezises | Fix view port not changing when window rezises
| C++ | mit | simon-bourque/2D-Game-Engine-Cpp,simon-bourque/2D-Game-Engine-Cpp |
d178a8aebb6cccce8f333a0272f0509ffdb098a0 | ouzel/thread/Thread.cpp | ouzel/thread/Thread.cpp | // Copyright (C) 2018 Elviss Strazdins
// This file is part of the Ouzel engine.
#include <sys/proc.h>
#include "Thread.hpp"
#if defined(_MSC_VER)
static const DWORD MS_VC_EXCEPTION = 0x406D1388;
#pragma pack(push,8)
typedef struct tagTHREADNAME_INFO
{
DWORD dwType; // Must be 0x1000.
LPCSTR szName; // Pointe... | // Copyright (C) 2018 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "Thread.hpp"
#if defined(_MSC_VER)
static const DWORD MS_VC_EXCEPTION = 0x406D1388;
#pragma pack(push,8)
typedef struct tagTHREADNAME_INFO
{
DWORD dwType; // Must be 0x1000.
LPCSTR szName; // Pointer to name (in user add... | Remove the unneeded include | Remove the unneeded include
| C++ | unlicense | elvman/ouzel,elnormous/ouzel,elvman/ouzel,elnormous/ouzel,elnormous/ouzel |
22630894eaebeeb84da4b368a44ae3c46878367e | ouzel/thread/Thread.hpp | ouzel/thread/Thread.hpp | // Copyright (C) 2018 Elviss Strazdins
// This file is part of the Ouzel engine.
#pragma once
#include <functional>
#include <memory>
#include <string>
#if defined(_WIN32)
#include <Windows.h>
#define ThreadLocal __declspec(thread)
#else
#include <pthread.h>
#define ThreadLocal __thread
#if defined(__APPLE__)
#includ... | // Copyright (C) 2018 Elviss Strazdins
// This file is part of the Ouzel engine.
#pragma once
#include <functional>
#include <memory>
#include <string>
#if defined(_WIN32)
#include <Windows.h>
#define ThreadLocal __declspec(thread)
#else
#include <pthread.h>
#define ThreadLocal __thread
#if defined(__APPLE__)
#includ... | Add missing include | Add missing include
| C++ | unlicense | elvman/ouzel,elvman/ouzel,elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
949424556fbb7c43f12b9c16ffbaeee522195972 | lib/generic_writer.hpp | lib/generic_writer.hpp | #ifndef PYOSMIUM_GENERIC_WRITER_HPP
#define PYOSMIUM_GENERIC_WRITER_HPP
#include <osmium/osm.hpp>
#include <osmium/io/any_output.hpp>
#include <osmium/io/writer.hpp>
#include <osmium/memory/buffer.hpp>
#include <osmium/builder/osm_object_builder.hpp>
#include <boost/python.hpp>
class SimpleWriterWrap {
enum { B... | #ifndef PYOSMIUM_GENERIC_WRITER_HPP
#define PYOSMIUM_GENERIC_WRITER_HPP
#include <osmium/osm.hpp>
#include <osmium/io/any_output.hpp>
#include <osmium/io/writer.hpp>
#include <osmium/memory/buffer.hpp>
#include <osmium/builder/osm_object_builder.hpp>
#include <boost/python.hpp>
class SimpleWriterWrap {
enum { B... | Switch from deprecated functions in libosmium to their replacements. | Switch from deprecated functions in libosmium to their replacements.
| C++ | bsd-2-clause | osmcode/pyosmium,osmcode/pyosmium,osmcode/pyosmium |
5cb231aa6115f9b58ec23009dbcc1be02bb30984 | kpilot/kpilot/kpilotConfigWizard.cc | kpilot/kpilot/kpilotConfigWizard.cc | /* conduitConfigDialog.cc KPilot
**
** Copyright (C) 2004 by Dan Pilone
** Written 2004 by Reinhold Kainhofer
**
** This file defines a .ui-based configuration dialog for conduits.
*/
/*
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Publ... | /* conduitConfigDialog.cc KPilot
**
** Copyright (C) 2004 by Dan Pilone
** Written 2004 by Reinhold Kainhofer
**
** This file defines a .ui-based configuration dialog for conduits.
*/
/*
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Publ... | Add a comment about the devices we'll have to probe in the config wizard. | CVS_SILENT: Add a comment about the devices we'll have to probe in the config wizard.
svn path=/trunk/kdepim/; revision=296846
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
2b1addbcc2e9e7553b7c54702c636085c3dbd091 | src/Application/ConfigServer/ConfigDatabaseManager.cpp | src/Application/ConfigServer/ConfigDatabaseManager.cpp | #include "ConfigDatabaseManager.h"
#include "Framework/Replication/Quorums/QuorumDatabase.h"
#include "Framework/Storage/StoragePageCache.h"
#include "System/Config.h"
void ConfigDatabaseManager::Init()
{
Buffer envpath;
envpath.Writef("%s", configFile.GetValue("database.dir", "db"));
environment.Open... | #include "ConfigDatabaseManager.h"
#include "Application/Common/ContextTransport.h"
#include "Framework/Replication/Quorums/QuorumDatabase.h"
#include "Framework/Storage/StoragePageCache.h"
#include "System/Config.h"
void ConfigDatabaseManager::Init()
{
Buffer envpath;
envpath.Writef("%s", configFile.GetV... | Set controller connectivity status after catchup. Fixes #333 | Set controller connectivity status after catchup.
Fixes #333
| C++ | agpl-3.0 | scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,scalien/scaliendb,scalien/scaliendb,scalien/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,timoc/scaliendb,scalien/scaliendb,timoc/scaliendb,timoc/scaliendb |
7fca96939af0a97821c53f23b4bd6decc3815f8f | src/core/kext/Client.cpp | src/core/kext/Client.cpp | extern "C" {
#include <sys/systm.h>
#include <sys/un.h>
#include <sys/kpi_socket.h>
errno_t sock_nointerrupt(socket_t so, int on);
}
#include "Client.hpp"
namespace org_pqrs_KeyRemap4MacBook {
namespace {
struct sockaddr_un sockaddr_;
void
releaseSocket(socket_t &socket)
{
errno_t error = so... | extern "C" {
#include <sys/systm.h>
#include <sys/un.h>
#include <sys/kpi_socket.h>
errno_t sock_nointerrupt(socket_t so, int on);
}
#include "Client.hpp"
namespace org_pqrs_KeyRemap4MacBook {
namespace {
struct sockaddr_un sockaddr_;
void
releaseSocket(socket_t &socket)
{
sock_shutdown(sock... | update src/core/kext/Client.cpp | update src/core/kext/Client.cpp
| C++ | unlicense | chzyer-dev/Karabiner,chzyer-dev/Karabiner,tekezo/Karabiner,tekezo/Karabiner,muramasa64/Karabiner,muramasa64/Karabiner,miaotaizi/Karabiner,wataash/Karabiner,chzyer-dev/Karabiner,e-gaulue/Karabiner,muramasa64/Karabiner,runarbu/Karabiner,e-gaulue/Karabiner,miaotaizi/Karabiner,e-gaulue/Karabiner,wataash/Karabiner,astachurs... |
e36162fc98554abca39b8d302ad0e516673db7e2 | test/event.cpp | test/event.cpp | /*
* Copyright 2017 deepstreamHub GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | /*
* Copyright 2017 deepstreamHub GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | make existing event test harder | Test: make existing event test harder
| C++ | apache-2.0 | deepstreamIO/deepstream.io-client-cpp,deepstreamIO/deepstream.io-client-cpp,deepstreamIO/deepstream.io-client-cpp,deepstreamIO/deepstream.io-client-cpp |
0818a2187bb9cdd9445ad4a2124d09f48e3f2b20 | SDK/src/NDK/Entity.cpp | SDK/src/NDK/Entity.cpp | // Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/Entity.hpp>
#include <NDK/BaseComponent.hpp>
#include <NDK/World.hpp>
namespace Ndk
{
/*!
* \ingroup NDK
* \class Ndk::Entity... | // Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Development Kit"
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/Entity.hpp>
#include <NDK/BaseComponent.hpp>
#include <NDK/World.hpp>
namespace Ndk
{
/*!
* \ingroup NDK
* \class Ndk::Entity... | Fix OnDetached being called after OnEntityRemove when destructing | Sdk/Entity: Fix OnDetached being called after OnEntityRemove when destructing
| C++ | mit | DigitalPulseSoftware/NazaraEngine |
e1d991dce721e5069df3c0cb75d7d36bfa58fc62 | src/Modulator/BPSK/Modulator_BPSK.cpp | src/Modulator/BPSK/Modulator_BPSK.cpp | #include "Modulator_BPSK.hpp"
template <typename B, typename R, typename Q>
Modulator_BPSK<B,R,Q>
::Modulator_BPSK(const int N, const R sigma, const bool disable_sig2, const int n_frames, const std::string name)
: Modulator<B,R,Q>(N, n_frames, name),
disable_sig2(disable_sig2), two_on_square_sigma((R)2.0 / (sigma * ... | #include "Modulator_BPSK.hpp"
template <typename B, typename R, typename Q>
Modulator_BPSK<B,R,Q>
::Modulator_BPSK(const int N, const R sigma, const bool disable_sig2, const int n_frames, const std::string name)
: Modulator<B,R,Q>(N, n_frames, name),
disable_sig2(disable_sig2), two_on_square_sigma((R)2.0 / (sigma * ... | Fix warnings. | Fix warnings.
| C++ | mit | aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct |
4dff4f724b5a9298099335ebc561afe42ad579c1 | src/Nazara/Utility/X11/CursorImpl.cpp | src/Nazara/Utility/X11/CursorImpl.cpp | // Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/X11/CursorImpl.hpp>
#include <Nazara/Core/CallOnExit.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Utility/I... | // Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/X11/CursorImpl.hpp>
#include <Nazara/Core/CallOnExit.hpp>
#include <Nazara/Core/Error.hpp>
#include <Nazara/Utility/I... | Fix xcb_renderutil.h compile error on olders systems (Travis CI for example) | Utility/X11: Fix xcb_renderutil.h compile error on olders systems (Travis CI for example)
Former-commit-id: d244d237356fa61293e8af28654a97df3f127de6 [formerly 348621c8a478a8b2f286b5fcb02b687e10216294] [formerly 25deef8c480e56fe2d2e0f1f8a22b942ace56ef6 [formerly e936f13a7c07985663fc0d35e4d0332a7aad6762]]
Former-commit... | C++ | mit | DigitalPulseSoftware/NazaraEngine |
7c2f3f7af1ebf6ca88780271e0d6f0f8147c3a33 | src/cpp/server/server.cc | src/cpp/server/server.cc | /*
*
* Copyright 2014, 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 condi... | /*
*
* Copyright 2014, 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 condi... | Fix typo causing crash | Fix typo causing crash
| C++ | apache-2.0 | vjpai/grpc,apolcyn/grpc,a-veitch/grpc,kpayson64/grpc,firebase/grpc,carl-mastrangelo/grpc,andrewpollock/grpc,fichter/grpc,wcevans/grpc,matt-kwong/grpc,fichter/grpc,matt-kwong/grpc,miselin/grpc,soltanmm-google/grpc,pmarks-net/grpc,msiedlarek/grpc,matt-kwong/grpc,bogdandrutu/grpc,andrewpollock/grpc,carl-mastrangelo/grpc,c... |
ef12362e4bd7d8ed54c6280fcd4bc1c0451a9ef3 | Siv3D/include/Siv3D/JSONWriter.hpp | Siv3D/include/Siv3D/JSONWriter.hpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include "Fw... | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2019 Ryo Suzuki
// Copyright (c) 2016-2019 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <memory>
# include "Fw... | fix #457 | fix #457
| C++ | mit | Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D,Siv3D/OpenSiv3D |
01af52132f5a3a37c1bd3cfb0183c6f6ac0e252f | lib/Target/AMDGPU/SIInsertSkips.cpp | lib/Target/AMDGPU/SIInsertSkips.cpp | //===-- SIInsertSkips.cpp - Use predicates for control flow ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- SIInsertSkips.cpp - Use predicates for control flow ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Revert bfada89 AMDGPU: Force skip over s_sendmsg and exp instructions | Revert bfada89 AMDGPU: Force skip over s_sendmsg and exp instructions
This is a temporary reversion until we can properly fix a problem where
the done exp of a pixel shader was skipped when all lanes were killed.
Change-Id: If4cbfbe7fe989ca6cd4c54f7bb5cf6ec547e372f
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm |
a39ee13e979cf9ae1e7217e30f64a3540c9ab842 | cccallcc_fork.hpp | cccallcc_fork.hpp | #ifndef __CCCALLCC_HPP__
#define __CCCALLCC_HPP__
#include <functional>
#include <memory>
#include <unistd.h>
#ifdef __GNUC__
#define NORETURN __attribute__((noreturn))
#else
#define NORETURN
#endif
template <typename T>
class cont {
public:
typedef std::function<T (cont<T>)> call_cc_arg;
static T call_cc(c... | #ifndef __CCCALLCC_FORK_HPP__
#define __CCCALLCC_FORK_HPP__
#include <functional>
#include <memory>
#include <unistd.h>
#ifdef __GNUC__
#define NORETURN __attribute__((noreturn))
#else
#define NORETURN
#endif
template <typename T>
class cont {
public:
typedef std::function<T (cont<T>)> call_cc_arg;
static T... | update double-include guards | update double-include guards
| C++ | bsd-3-clause | kmcallister/cccallcc,kmcallister/cccallcc |
cc8582535fe786d2d0ae9c3022e8c96bb9d14bf4 | test/print.cpp | test/print.cpp | //=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================... | //=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================... | Add new test | Add new test
| C++ | mit | wichtounet/etl,wichtounet/etl |
78a546d4ae02993a9e1fbc8547dbc3d165252c51 | Service/src/Device.cpp | Service/src/Device.cpp | #include "Device.h"
map<string,pfunc> device_api_list;
Device::Device(){
this->mysql = new MysqlHelper();
this->mysql->init("127.0.0.1", "root", "root", "smart_car");
this->initApiList();
}
Device::~Device(){
}
void Device::initApiList() {
device_api_list[API_DEVICE_INFO] = &Device::handlerDeverInfo;... | #include "Device.h"
map<string,pfunc> device_api_list;
Device::Device(){
this->mysql = new MysqlHelper();
this->mysql->init("127.0.0.1", "root", "root", "smart_car");
this->initApiList();
}
Device::~Device(){
}
void Device::initApiList() {
device_api_list[API_DEVICE_INFO] = &Device::handlerDeverInfo;... | test service | test service
| C++ | mpl-2.0 | chuanshuo843/SmartCar,chuanshuo843/SmartCar,chuanshuo843/SmartCar,chuanshuo843/SmartCar |
955401773abc504a9ce73e0dba853393c042b502 | main/src/hadd.cxx | main/src/hadd.cxx | /*
This program will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
Author: Sven A. Schmidt, sven.schmidt@cern.ch
Date: 13.2.2001
... | /*
This program will add histograms from a list of root files and write them
to a target root file. The target file is newly created and must not be
identical to one of the source files.
Syntax:
hadd targetfile source1 source2 ...
Author: Sven A. Schmidt, sven.schmidt@cern.ch
Date: 13.2.2001
This... | change iostream.h to Riostream.h. | change iostream.h to Riostream.h.
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@4350 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | Dr15Jones/root,evgeny-boger/root,cxx-hep/root-cern,omazapa/root,davidlt/root,georgtroska/root,satyarth934/root,olifre/root,Duraznos/root,zzxuanyuan/root,Y--/root,mhuwiler/rootauto,georgtroska/root,sbinet/cxx-root,olifre/root,sbinet/cxx-root,vukasinmilosevic/root,esakellari/my_root_for_test,simonpf/root,Dr15Jones/root,p... |
f301f882768b20405e2385fe09bf42baafd64298 | net/base/force_tls_state.cc | net/base/force_tls_state.cc | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/force_tls_state.h"
#include "base/json_reader.h"
#include "base/json_writer.h"
#include "base/logging.h"
#include "base/scoped_ptr... | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/force_tls_state.h"
#include "base/json_reader.h"
#include "base/json_writer.h"
#include "base/logging.h"
#include "base/scoped_ptr... | Build fix: VC warning | Build fix: VC warning
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@25385 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| C++ | bsd-3-clause | wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser |
06b24df513b701d5fabac8181dc421adea37ebed | network/epoll/tcpsocket.cpp | network/epoll/tcpsocket.cpp | /*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ================================================================... | /*
* ZSUMMER License
* -----------
*
* ZSUMMER is licensed under the terms of the MIT license reproduced below.
* This means that ZSUMMER is free software and can be used for both academic
* and commercial purposes at absolutely no cost.
*
*
* ================================================================... | clear warning | clear warning
| C++ | mit | matinJ/zsummer,zsummer/zsummer,matinJ/zsummer,DavadDi/zsummer,nestle1998/zsummer,DavadDi/zsummer,matinJ/zsummer,nestle1998/zsummer,zsummer/zsummer,nestle1998/zsummer,ashimidashajia/zsummer,ashimidashajia/zsummer,DavadDi/zsummer,zsummer/zsummer,ashimidashajia/zsummer |
22cb8776c3cee2295ff907404677edee999ac454 | Sources/CardSets/BasicCardsGen.cpp | Sources/CardSets/BasicCardsGen.cpp | /*************************************************************************
> File Name: BasicCardsGen.cpp
> Project Name: Hearthstone++
> Author: Chan-Ho Chris Ohk
> Purpose: BasicCardsGen class that stores the power of basic cards.
> Created Time: 2018/06/23
> Copyright (c) 2018, Chan-Ho Chris Ohk
********************... | /*************************************************************************
> File Name: BasicCardsGen.cpp
> Project Name: Hearthstone++
> Author: Chan-Ho Chris Ohk
> Purpose: BasicCardsGen class that stores the power of basic cards.
> Created Time: 2018/06/23
> Copyright (c) 2018, Chan-Ho Chris Ohk
********************... | Add missing Shildmasta init codes | Add missing Shildmasta init codes
| C++ | mit | Hearthstonepp/Hearthstonepp,Hearthstonepp/Hearthstonepp |
e4736778c5cd8a6201ced53b3419ac62d9dc6f62 | Source/Application.cpp | Source/Application.cpp | #include "Application.h"
#include <iostream>
#include <chrono>
#include <thread>
#include <SFML/System/Clock.hpp>
#include <SFML/Graphics.hpp>
#include "ResourceManagers/ResourceHolder.h"
#include "Display.h"
#include "States/MainMenu.h"
Application::Application()
{
pushState<State::MainMenu>(*this);
}
void Ap... | #include "Application.h"
#include <iostream>
#include <chrono>
#include <thread>
#include <SFML/System/Clock.hpp>
#include <SFML/Graphics.hpp>
#include "ResourceManagers/ResourceHolder.h"
#include "Display.h"
#include "States/MainMenu.h"
Application::Application()
{
pushState<State::MainMenu>(*this);
}
void Ap... | Fix crash in main loop | Fix crash in main loop
| C++ | mit | Hopson97/HopsonCraft,Hopson97/HopsonCraft |
33b801a0ca7dd39237e8db019fe8d03b296e9398 | test/views.cpp | test/views.cpp | //=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================... | //=======================================================================
// Copyright (c) 2014 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================... | Test for sub matrix access | Test for sub matrix access
| C++ | mit | wichtounet/etl,wichtounet/etl |
9fe3e8636803779f9dda0c4dd356357ed555f592 | query.cc | query.cc | /*
* Copyright (C) 2015-present ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) a... | /*
* Copyright (C) 2015-present ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) a... | Print more fields of read_command | db: Print more fields of read_command
Message-Id: <5865faab00bb460d97d2069f0a40e129069dfb38@scylladb.com>
| C++ | agpl-3.0 | scylladb/scylla,scylladb/scylla,scylladb/scylla,scylladb/scylla |
40da4e7f023a915c2da57ee04f42a9a3dae90104 | test/trans.cpp | test/trans.cpp | #include <gtest/gtest.h>
#include <gmock/gmock.h>
extern "C"
{
#include "../src/mssql.h"
}
using ::testing::StartsWith;
TEST(SetConstructTest, ConstructFromArray)
{
char * testquery = (char *)malloc(2048);
char * resquery = (char *)malloc(2048);
sprintf(testquery, "show tables;");
resquery = trans_di... | #include <gtest/gtest.h>
#include <gmock/gmock.h>
extern "C"
{
#include "../src/mssql.h"
}
using ::testing::StartsWith;
TEST(QueryTranslateTest, ShowTables)
{
char * testquery = (char *)malloc(2048);
char * resquery = (char *)malloc(2048);
sprintf(testquery, "show tables;");
resquery = trans_dialect(... | add test for show tables | add test for show tables
| C++ | bsd-3-clause | hanhan1978/mssql,hanhan1978/mssql,hanhan1978/mssql |
3ea978737c4dac5118fc83a746cf84d8585f6c2c | tests/init.cpp | tests/init.cpp | #include <binary_search_tree.hpp>
#include <catch.hpp>
SCENARIO("default constructor")
{
Node<int> n;
REQUIRE(n.root() == nullptr);
REQUIRE(n.count() == 0);
}
SCENARIO("insertElement")
{
Node<int> n;
n.insert(7);
REQUIRE(n.findElement() == 7);
REQUIRE(n.count() == 1);
}
SCENARIO("findElement")
{
Node<int> n... | #include <binary_search_tree.hpp>
#include <catch.hpp>
SCENARIO("default constructor")
{
BinarySearchTree<int> bst;
REQUIRE(bst.root() == nullptr);
REQUIRE(bst.count() == 0);
}
SCENARIO("insertElement")
{
BinarySearchTree<int> bst;
bst.insert(7);
REQUIRE(bst.findElement() == 7);
REQUIRE(bst.count() == 1);
}
... | Update init.cpp | Update init.cpp | C++ | mit | yanaxgrishkova/binary_search_tree |
64534b155b3113ffe2d89af6ae83e2cb63c0dbde | lib/socket_helpers.cpp | lib/socket_helpers.cpp | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Lewis Baker
// Licenced under MIT license. See LICENSE.txt for details.
///////////////////////////////////////////////////////////////////////////////
#include "socket_helpers.hpp"
#include <cppcoro/net/ip_endpoint.hpp>
... | ///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Lewis Baker
// Licenced under MIT license. See LICENSE.txt for details.
///////////////////////////////////////////////////////////////////////////////
#include "socket_helpers.hpp"
#include <cppcoro/net/ip_endpoint.hpp>
... | Fix byte-swapping of sockaddr.sin_port (#94) | Fix byte-swapping of sockaddr.sin_port (#94)
Thanks to @vinniefalco for finding this one.
| C++ | mit | lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro,lewissbaker/cppcoro |
7160bc7da7eaf4058bad87068458822b0886bfdc | game/ui/base/aliencontainmentscreen.cpp | game/ui/base/aliencontainmentscreen.cpp | #include "game/ui/base/aliencontainmentscreen.h"
#include "forms/form.h"
#include "forms/graphic.h"
#include "forms/graphicbutton.h"
#include "forms/label.h"
#include "forms/radiobutton.h"
#include "forms/scrollbar.h"
#include "forms/ui.h"
#include "framework/data.h"
#include "framework/event.h"
#include "framework/fra... | #include "game/ui/base/aliencontainmentscreen.h"
#include "forms/form.h"
#include "forms/graphic.h"
#include "forms/graphicbutton.h"
#include "forms/label.h"
#include "forms/radiobutton.h"
#include "forms/scrollbar.h"
#include "forms/ui.h"
#include "framework/data.h"
#include "framework/event.h"
#include "framework/fra... | Mark unused variable in AlienContainmentScreen::closeScreen | Mark unused variable in AlienContainmentScreen::closeScreen
| C++ | mit | Istrebitel/OpenApoc,steveschnepp/OpenApoc,pmprog/OpenApoc,steveschnepp/OpenApoc,pmprog/OpenApoc,Istrebitel/OpenApoc |
4e2a8b32b43a0ebd4bcf2ffe319c85e447093b6c | tests/init.cpp | tests/init.cpp | #include <matrix.hpp>
#include <catch.hpp>
SCENARIO("copy constructor")
{
Matrix matrix;
Matrix copy(matrix);
REQUIRE(copy.strings() == 2);
REQUIRE(copy.columns() == 2);
}
SCENARIO("operator +")
{
Matrix matrix (2, 2);
Matrix matrix1 = Matrix (2, 2);
REQUIRE(matrix + matrix == matrix1);
}
S... | #include <matrix.hpp>
#include <catch.hpp>
SCENARIO("copy constructor")
{
Matrix matrix;
Matrix copy(matrix);
REQUIRE(copy.strings() == 2);
REQUIRE(copy.columns() == 2);
}
SCENARIO("operator +")
{
Matrix matrix (2, 2);
Matrix matrix2 (2, 2);
Matrix matrix3 (2, 2);
std::ifstream("matrix.txt")... | Update init.cpp | Update init.cpp | C++ | mit | elinagabitova/matrix |
3b52d1305d46dbd3f9953bb7c086037bee49fec5 | test/main.cpp | test/main.cpp | #define CATCH_CONFIG_RUNNER
#include "./catch.hpp"
#include "./ReQL.hpp"
#include <string>
#include <vector>
int
main(int argc, char **argv) {
int result = Catch::Session().run(argc, argv);
try {
ReQL::Connection conn;
ReQL::db_list(std::vector<ReQL::Query>())
.filter(std::vector<ReQL::Query>({
... | #include <winsock2.h>
#define CATCH_CONFIG_RUNNER
#include "./catch.hpp"
#include "./ReQL.hpp"
#include <string>
#include <vector>
int
main(int argc, char **argv) {
int result = Catch::Session().run(argc, argv);
try {
ReQL::Connection conn;
ReQL::db_list(std::vector<ReQL::Query>())
.filter(std::vec... | Fix windows include warning. | Fix windows include warning.
| C++ | apache-2.0 | grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core |
36fa833982d86ad4de9810e1ae63ec98604f5765 | ode/ode/test/test_buggy.cpp | ode/ode/test/test_buggy.cpp | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | /*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... | use the dContactApprox1 contact mode to prevent multi-contact strickness on the wheels. | use the dContactApprox1 contact mode to prevent multi-contact
strickness on the wheels.
| C++ | lgpl-2.1 | keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,nabijaczleweli/ODE,nabijaczleweli/ODE,nabijaczleweli/ODE,nabijaczleweli/ODE,keletskiy/ode,keletskiy/ode,nabijaczleweli/ODE,keletskiy/ode,keletskiy/ode |
c3d7dcc3fbdb890fb32d6c0595f93f0d5b69a3cd | test/test.cpp | test/test.cpp | #include "../libply++/libply++.h"
struct Vertex
{
Vertex(double x, double y, double z) : x(x), y(y), z(z) {};
double x, y, z;
};
struct Mesh
{
typedef unsigned int VertexIndex;
typedef std::array<VertexIndex, 3> TriangleIndices;
typedef std::vector<Vertex> VertexList;
typedef std::vector<TriangleIndices> Triang... | #include <iostream>
#include "../libply++/libply++.h"
bool areClose(double a, double b)
{
const double EPSILON = 1.0e-1;
return abs(a - b) < EPSILON;
}
struct Vertex
{
Vertex(double x, double y, double z) : x(x), y(y), z(z) {};
bool operator==(const Vertex& other) const { return areClose(x, other.x) && areClose(... | Add vertices comparison test. | Add vertices comparison test.
| C++ | mit | srajotte/libplyxx |
f4141032a8719db55cfbd544ce349eedc48b532e | libgo/block_object.cpp | libgo/block_object.cpp | #include "block_object.h"
#include "scheduler.h"
#include "error.h"
#include <unistd.h>
#include <mutex>
#include <limits>
namespace co
{
BlockObject::BlockObject(std::size_t init_wakeup, std::size_t max_wakeup)
: wakeup_(init_wakeup), max_wakeup_(max_wakeup)
{
DebugPrint(dbg_syncblock, "BlockObject::BlockObj... | #include "block_object.h"
#include "scheduler.h"
#include "error.h"
#include <unistd.h>
#include <mutex>
#include <limits>
namespace co
{
BlockObject::BlockObject(std::size_t init_wakeup, std::size_t max_wakeup)
: wakeup_(init_wakeup), max_wakeup_(max_wakeup)
{
DebugPrint(dbg_syncblock, "BlockObject::BlockObj... | 修复block_object导致Task引用计数会无法归0的bug | 修复block_object导致Task引用计数会无法归0的bug
| C++ | mit | bpxeax/libgo,yyzybb537/libgo,yyzybb537/libgo,bpxeax/libgo,bpxeax/libgo,yyzybb537/libgo,yyzybb537/libgo |
4dede000ed9c92b222ac90d7edc327f3062abab7 | libredex/ClassUtil.cpp | libredex/ClassUtil.cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ClassUtil.h"
#include "DexAsm.h"
#include "IRCode.h"
#include "TypeUtil.h"
namespace klass {
Serdes get_serdes(const De... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ClassUtil.h"
#include "DexAsm.h"
#include "IRCode.h"
#include "TypeUtil.h"
namespace klass {
Serdes get_serdes(const De... | set deobfuscated name for clinits if such name is present for the class | set deobfuscated name for clinits if such name is present for the class
Reviewed By: minjang
Differential Revision: D22002141
fbshipit-source-id: 227e677165509e32228d2500d4a385bda3c3153e
| C++ | mit | facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex |
d4215de852cf06b879ad51803283c42746843302 | kalarm/lib/colourcombo.cpp | kalarm/lib/colourcombo.cpp | /*
* colourcombo.cpp - colour selection combo box
* Program: kalarm
* Copyright (c) 2001-2003,2005-2007 by David Jarvie <software@astrojar.org.uk>
*
* Some code taken from kdelibs/kdeui/kcolorcombo.cpp in the KDE libraries:
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
*
* This program is free sof... | /*
* colourcombo.cpp - colour selection combo box
* Program: kalarm
* Copyright (c) 2001-2003,2005-2007 by David Jarvie <software@astrojar.org.uk>
*
* Some code taken from kdelibs/kdeui/kcolorcombo.cpp in the KDE libraries:
* Copyright (C) 1997 Martin Jones (mjones@kde.org)
*
* This program is free sof... | Remove debug statements | Remove debug statements
svn path=/trunk/KDE/kdepim/kalarm/lib/; revision=655881
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
03ca1411333d3387416547316264c2f63cd810de | Vln-2016/consoleui.cpp | Vln-2016/consoleui.cpp | #include "consoleui.h"
#include <iostream>
#include <iomanip>
using namespace std;
consoleUI::consoleUI()
{
}
consoleUI::consoleUI(int chooseNumber)
{
_chooseNumber = chooseNumber;
}
void consoleUI::run()
{
int chooseNumber = 0;
cout << "---------------------------------------" << endl;
cout << "--... | #include "consoleui.h"
#include <iostream>
#include <iomanip>
using namespace std;
consoleUI::consoleUI()
{
}
consoleUI::consoleUI(int chooseNumber)
{
_chooseNumber = chooseNumber;
}
void consoleUI::run()
{
int chooseNumber = 0;
cout << "-----------------------------------------------------------------... | delete search and gui | delete search and gui
| C++ | mit | ivark16/Vln-2016,ivark16/Vln-2016 |
af9404e3db3d536f20ad194a75ffb3abbc336454 | Workloads/tracking.cpp | Workloads/tracking.cpp | /*****************************************************************
******************************************************************
*
* Copyright (C) 2017 Trinity Robotics Research Group.
*
*
* FILENAME: haar.cpp
*
*
* DESCRIPTION: program to detect faces.
*
*
* DATE: 12/03/2017
*
*
* AUT... | /*****************************************************************
******************************************************************
*
* Copyright (C) 2017 Trinity Robotics Research Group.
*
*
* FILENAME: tracking.cpp
*
*
* DESCRIPTION: program to track object.
*
*
* DATE: 25/03/2017
*
*
* ... | Update tracking.cpp | Update tracking.cpp | C++ | mit | AndrewMurtagh/Botmark,AndrewMurtagh/Botmark,AndrewMurtagh/Botmark |
87b81d7056f7a40fcd12a7a4a4fd17f4330bdacd | loader/ptrace_base.cpp | loader/ptrace_base.cpp | /*
* nt loader
*
* Copyright 2006-2008 Mike McCormack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.... | /*
* nt loader
*
* Copyright 2006-2008 Mike McCormack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.... | Fix a race condition | Fix a race condition
| C++ | lgpl-2.1 | bragin/ring3k,mikemccormack/ring3k,mikemccormack/ring3k,bragin/ring3k,mikemccormack/ring3k,bragin/ring3k,bragin/ring3k |
b028f3c6ced73ada47e0fc156650a3dec0b0498b | Cloud.cpp | Cloud.cpp | /*===- Cloud.cpp - libSimulation -==============================================
*
* DEMON
*
* This file is distributed under the BSD Open Source License. See LICENSE.TXT
* for details.
*
*===-----------------------------------------------------------------------===*/
#include "Cloud.... | /*===- Cloud.cpp - libSimulation -==============================================
*
* DEMON
*
* This file is distributed under the BSD Open Source License. See LICENSE.TXT
* for details.
*
*===-----------------------------------------------------------------------===*/
#include "Cloud.... | Fix comment and provide a clearer separation between methods. No functionality change. | Fix comment and provide a clearer separation between methods. No functionality change. | C++ | bsd-3-clause | leios/demonsimulationcode,leios/demonsimulationcode |
e2b1c08aae0f2651a56de5a519705bbe13331f46 | folly/experimental/io/test/AsyncIOTest.cpp | folly/experimental/io/test/AsyncIOTest.cpp | /*
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Fix async_io_test to work with larger block sizes | Fix async_io_test to work with larger block sizes
Test Plan: ran it
Reviewed By: lucian@fb.com
FB internal diff: D787733
| C++ | apache-2.0 | shaobz/folly,constantine001/folly,nickhen/folly,CJstar/folly,ykarlsbrun/folly,xzmagic/folly,Hincoin/folly,bowlofstew/folly,unmeshvrije/C--,PPC64/folly,CJstar/folly,tomhughes/folly,lifei/folly,SeanRBurton/folly,yangjin-unique/folly,romange/folly,reddit/folly,brunomorishita/folly,nickhen/folly,cppfool/folly,shaobz/folly,... |
61bb9cac0409faa6c671727b3bb065e07dff5315 | CodeGen/CodeGenModule.cpp | CodeGen/CodeGenModule.cpp | //===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Chris Lattner and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------------------... | //===--- CodeGenModule.cpp - Emit LLVM Code from ASTs for a Module --------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Chris Lattner and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------------------... | Initialize MemCpyFn | Initialize MemCpyFn
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@43569 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-clang,apple/swift-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,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/cl... |
544ca18d5fe7e415dc56e185b20ed1ac0f8b7a83 | microflo/emscripten.hpp | microflo/emscripten.hpp | /* MicroFlo - Flow-Based Programming for microcontrollers
* Copyright (c) 2013 Jon Nordby <jononor@gmail.com>
* MicroFlo may be freely distributed under the MIT license
*
* Note: Arduino is under the LGPL license.
*/
#include "microflo.h"
#include <stdio.h>
#include <unistd.h>
#include <stddef.h>
#include <stdli... | /* MicroFlo - Flow-Based Programming for microcontrollers
* Copyright (c) 2013 Jon Nordby <jononor@gmail.com>
* MicroFlo may be freely distributed under the MIT license
*
* Note: Arduino is under the LGPL license.
*/
#include "microflo.h"
#include <stdio.h>
#include <unistd.h>
#include <stddef.h>
#include <stdli... | Fix compile error in Emscripten | runtime: Fix compile error in Emscripten
| C++ | mit | microflo/microflo,microflo/microflo,microflo/microflo,microflo/microflo,rraallvv/microflo,rraallvv/microflo,microflo/microflo,rraallvv/microflo,microflo/microflo,rraallvv/microflo |
f1ecb0b1e31a8981cbd4e5a303dd9883de47dee6 | protocols/qq/libeva.cpp | protocols/qq/libeva.cpp | #include "libeva.h"
#include "md5.h"
#include "crypt.h"
#include <arpa/inet.h>
// FIXME: remove me after debug.
#include <stdio.h>
namespace Eva {
static const char login_16_51 [] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x29, 0xc0,... | #include "libeva.h"
#include "md5.h"
#include "crypt.h"
#include <arpa/inet.h>
// FIXME: remove me after debug.
#include <stdio.h>
namespace Eva {
static const char login_16_51 [] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x29, 0xc0,... | Encrypt bug for null text fixes. TODO: check the output of login ecryption. | Encrypt bug for null text fixes.
TODO: check the output of login ecryption.
svn path=/trunk/KDE/kdenetwork/kopete/; revision=558933
| C++ | lgpl-2.1 | josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete,josh-wambua/kopete,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,Jtalk/kopete-fork-xep0136,josh-wambua/kopete |
6e857a6fa7c56a20d1dd7e6200357128955159ae | map/feature_styler.cpp | map/feature_styler.cpp | #include "feature_styler.hpp"
#include "geometry_processors.hpp"
#include "proto_to_styles.hpp"
#include "../indexer/drawing_rules.hpp"
#include "../indexer/feature.hpp"
#include "../indexer/feature_visibility.hpp"
#ifdef OMIM_PRODUCTION
#include "../indexer/drules_struct_lite.pb.h"
#else
#include "../indexer/dru... | #include "feature_styler.hpp"
#include "geometry_processors.hpp"
#include "proto_to_styles.hpp"
#include "../indexer/drawing_rules.hpp"
#include "../indexer/feature.hpp"
#include "../indexer/feature_visibility.hpp"
#ifdef OMIM_PRODUCTION
#include "../indexer/drules_struct_lite.pb.h"
#else
#include "../indexer/dru... | allow forced always-on-top for highest priorities | [map] allow forced always-on-top for highest priorities
| C++ | apache-2.0 | dobriy-eeh/omim,victorbriz/omim,65apps/omim,milchakov/omim,TimurTarasenko/omim,Zverik/omim,albertshift/omim,vasilenkomike/omim,kw217/omim,matsprea/omim,UdjinM6/omim,kw217/omim,vng/omim,stangls/omim,stangls/omim,therearesomewhocallmetim/omim,lydonchandra/omim,Transtech/omim,65apps/omim,guard163/omim,sidorov-panda/omim,w... |
10f6fbc731a7e8b77824ce035d8f4ca88eadbd22 | src/datasource_cache.cpp | src/datasource_cache.cpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 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) 2011 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... | improve error message when datasource plugin is not available | improve error message when datasource plugin is not available
| C++ | lgpl-2.1 | qianwenming/mapnik,Mappy/mapnik,Mappy/mapnik,kapouer/mapnik,jwomeara/mapnik,jwomeara/mapnik,qianwenming/mapnik,CartoDB/mapnik,manz/python-mapnik,mapycz/mapnik,whuaegeanse/mapnik,qianwenming/mapnik,pramsey/mapnik,lightmare/mapnik,naturalatlas/mapnik,kapouer/mapnik,tomhughes/python-mapnik,mapnik/mapnik,mbrukman/mapnik,wh... |
04e910ae6a2d6982e8a02af9c41fbbb506bd313e | tutorials/developers/tutorial_02/tutorial_02.cpp | tutorials/developers/tutorial_02/tutorial_02.cpp | /**
The goal of this tutorial is to implement in Tiramisu a code that is
equivalent to the following
for (int i = 0; i < 10; i++)
for (int j = 0; j < 20; j++)
output[i, j] = input[i, j] + i + 2;
*/
#include <tiramisu/tiramisu.h>
#define NN 10
#define MM 20
using namespace tiramisu;
int main(int arg... | /**
The goal of this tutorial is to implement in Tiramisu a code that is
equivalent to the following
for (int i = 0; i < 10; i++)
for (int j = 0; j < 20; j++)
output[i, j] = A[i, j] + i + 2;
*/
#include <tiramisu/tiramisu.h>
#define NN 10
#define MM 20
using namespace tiramisu;
int main(int argc, c... | Update tutorial_02.cpp | Update tutorial_02.cpp | C++ | mit | rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/COLi,rbaghdadi/ISIR,rbaghdadi/tiramisu,rbaghdadi/ISIR,rbaghdadi/COLi |
1e9fb161f7b56946d41c197abac094293dd1c4ba | tutorials/developers/tutorial_03/tutorial_03.cpp | tutorials/developers/tutorial_03/tutorial_03.cpp | #include <tiramisu/tiramisu.h>
/* Halide code for matrix multiplication.
Func matmul(Input A, Input B, Output C) {
Halide::Func A, B, C;
Halide::Var x, y;
Halide::RDom r(0, N);
C(x,y) = C(x,y) + A(x,r) * B(r,y);
C.realize(N, N);
}
*/
#define SIZE0 1000
using namespace tiramisu;
int main(int ar... | /* Matrix multiplication.
for i = 0 .. N
for j = 0 .. N
C[i,j] = 0;
for k = 0 .. N
C[i,j] = C[i,j] + A[i,k] * B[k,j];
}
*/
#include <tiramisu/tiramisu.h>
#define SIZE0 1000
using namespace tiramisu;
int main(int argc, char **argv)
{
// Set default tiramisu opt... | Update tutorial_03.cpp | Update tutorial_03.cpp | C++ | mit | rbaghdadi/tiramisu,rbaghdadi/COLi,rbaghdadi/COLi,rbaghdadi/tiramisu,rbaghdadi/tiramisu,rbaghdadi/ISIR,rbaghdadi/ISIR,rbaghdadi/tiramisu |
2885c76e70e2a9ad6dfae9a22936b2b1125ca2ad | mjolnir/math/Matrix.hpp | mjolnir/math/Matrix.hpp | #ifndef MJOLNIR_MATH_MATRIX
#define MJOLNIR_MATH_MATRIX
#include <mjolnir/util/is_all.hpp>
#include <mjolnir/util/scalar_type_of.hpp>
#include <array>
namespace mjolnir
{
template<typename realT, std::size_t Row, std::size_t Col>
class Matrix
{
public:
using real_type = realT;
using scalar_type = real_type;... | #ifndef MJOLNIR_MATH_MATRIX
#define MJOLNIR_MATH_MATRIX
#include <mjolnir/util/is_all.hpp>
#include <mjolnir/util/scalar_type_of.hpp>
#include <array>
namespace mjolnir
{
template<typename realT, std::size_t Row, std::size_t Col>
class Matrix
{
public:
using real_type = realT;
using scalar_type = real_type;... | add static_cast to ctor of Matrix | add static_cast to ctor of Matrix
| C++ | mit | ToruNiina/Mjolnir,ToruNiina/Mjolnir,ToruNiina/Mjolnir |
f75b3353303c01d012392e407876dd0904330b6f | base/timer.cc | base/timer.cc | // Copyright 2008, 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 conditions a... | // Copyright 2008, 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 conditions a... | fix initialization order warning | fix initialization order warning
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@757 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | anirudhSK/chromium,PeterWangIntel/chromium-crosswalk,fujunwei/chromium-crosswalk,fujunwei/chromium-crosswalk,dushu1203/chromium.src,Jonekee/chromium.src,bright-sparks/chromium-spacewalk,anirudhSK/chromium,markYoungH/chromium.src,hujiajie/pa-chromium,keishi/chromium,keishi/chromium,ltilve/chromium,Chilledheart/chromium,... |
830864cbb205fa5edde0420db02bdaf3b9a5e27d | base/timer.cc | base/timer.cc | // Copyright 2008, 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 conditions a... | // Copyright 2008, 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 conditions a... | fix initialization order warning | fix initialization order warning
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@757 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,adobe/chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,ropik/chromium,... |
52098898b463923a01a0bf3d18d6fb9f96c8d5ef | tools/lli/lli.cpp | tools/lli/lli.cpp | //===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===//
//
// 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.
//
//===----------... | //===- lli.cpp - LLVM Interpreter / Dynamic compiler ----------------------===//
//
// 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.
//
//===----------... | Revert my previous patch which broke due to lazy streaming of functions from .bc files. | Revert my previous patch which broke due to lazy streaming of functions
from .bc files.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@24575 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | GPUOpen-Drivers/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,chubbymaggie/asap,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/... |
00f7dea508eacc089b874223c532ff0b5e055e1e | src/bindings/cpp/tests/testcpp11_contextual_thread.cpp | src/bindings/cpp/tests/testcpp11_contextual_thread.cpp | #include <kdbthread.hpp>
#include <gtest/gtest.h>
using namespace kdb;
void foo1(Coordinator & gc, KeySet & ks)
{
Key specKey("/hello", KEY_CASCADING_NAME, KEY_END);
ThreadContext c1(gc);
ThreadValue<int> v1(ks, c1, specKey);
assert(v1 == 8);
v1 = 5;
assert(v1 == 5);
std::this_thread::sleep_for(std::chrono... | #include <kdbthread.hpp>
#include <kdbprivate.h>
#include <gtest/gtest.h>
using namespace kdb;
void foo1(Coordinator & gc, KeySet & ks)
{
Key specKey("/hello", KEY_CASCADING_NAME, KEY_END);
ThreadContext c1(gc);
ThreadValue<int> v1(ks, c1, specKey);
ASSERT_EQ(v1, 8);
v1 = 5;
ASSERT_EQ(v1, 5);
std::this_th... | add activate test case | add activate test case
| C++ | bsd-3-clause | mpranj/libelektra,e1528532/libelektra,ElektraInitiative/libelektra,mpranj/libelektra,e1528532/libelektra,e1528532/libelektra,BernhardDenner/libelektra,petermax2/libelektra,mpranj/libelektra,BernhardDenner/libelektra,ElektraInitiative/libelektra,petermax2/libelektra,mpranj/libelektra,petermax2/libelektra,ElektraInitiati... |
e0a5197fffd077088b70106b2f1737f331f2a1c0 | lib/CodeGen/CGLoopInfo.cpp | lib/CodeGen/CGLoopInfo.cpp | //===---- CGLoopInfo.cpp - LLVM CodeGen for loop metadata -*- C++ -*-------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===---- CGLoopInfo.cpp - LLVM CodeGen for loop metadata -*- C++ -*-------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Fix the MSVC2013 build | [IRGen] Fix the MSVC2013 build
git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@239576 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,apple/swift-clang,apple/swift-clang,llvm-mirror/clang,llvm-mirror/clang,apple/swift-clang,llvm-mirror/clang,apple/swift-cl... |
aa4cae6f8aba4d09452f88ba78b49e9010fea572 | Application/main.cpp | Application/main.cpp | /*
*
* C R I S S C R O S S
* A multi purpose cross platform library.
* formerly Codename "Technetium"
* project started August 14, 2006
*
* Copyright (c) 2006, Steven Noonan <steven@uplinkla... | /*
*
* C R I S S C R O S S
* A multi purpose cross platform library.
* formerly Codename "Technetium"
* project started August 14, 2006
*
* Copyright (c) 2006, Steven Noonan <steven@uplinkla... | Fix for Windows. | Fix for Windows.
| C++ | bsd-3-clause | skydevgit/crisscross,tazodie/tazodie-crisscross,tazodie/tazodie-crisscross,skydevgit/crisscross,tazodie/tazodie-crisscross,skydevgit/crisscross |
aa52b47d77aa18dea2b416b2721ebe2f696d9cb9 | bogoSort.cpp | bogoSort.cpp | /*The following code implements the exceedingly inefficient bogo sort (also known as slow sort or stupid sort) algorithm
to sort a list of integers in ascending order. It has a factorial class complexity. Since this is the non-deterministic
version of the algorithm, there is a chance that it may never finish. This is n... | /*The following code implements the exceedingly inefficient bogo sort (also known as slow sort or
stupid sort) algorithm to sort a list of integers in ascending order. It has a factorial class
worst-case complexity. Since this is the non-deterministic version of the algorithm, there is a
chance that it may never finish... | Update bogoSort.cpp | Update bogoSort.cpp
| C++ | mit | wedusk101/CPP |
168028c2c8d2aa62d84b914bcdfbeda53d20aae9 | benchmark.cpp | benchmark.cpp | #include <iostream>
#include <unordered_map>
#include <chrono>
#include <cstdlib>
#include <vector>
#define NUM_VALS 100000
typedef size_t join_single_key_t;
typedef size_t pos_t;
typedef std::unordered_multimap<join_single_key_t, pos_t> hmap_t;
void fillHashMaps(hmap_t &mmup1, hmap_t &mmup2) {
std::srand(std::ti... | #include <iostream>
#include <unordered_map>
#include <chrono>
#include <cstdlib>
#include <vector>
#define NUM_VALS 100000
#define NUM_RUNS 5
typedef size_t join_single_key_t;
typedef size_t pos_t;
typedef std::unordered_multimap<join_single_key_t, pos_t> hmap_t;
void fillHashMaps(hmap_t &mmup1, hmap_t &mmup2) {
... | Include multiple runs and last benchmark. | Include multiple runs and last benchmark.
| C++ | mit | kaihowl/mmup_benchmark |
96f9cc9181403a93208cb44786c485ce44492eda | src/gallium/state_trackers/clover/api/device.cpp | src/gallium/state_trackers/clover/api/device.cpp | //
// Copyright 2012 Francisco Jerez
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish... | //
// Copyright 2012 Francisco Jerez
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish... | Add a space at the end of CL_DEVICE_OPENCL_C_VERSION | clover: Add a space at the end of CL_DEVICE_OPENCL_C_VERSION
This is required by the spec.
Reviewed-by: Jan Vesely <ed664c4bb5cadd95cb7521d1190a56e280fa6954@rutgers.edu>
Reviewed-by: Francisco Jerez <5906ff32bdd9fd8db196f6ba5ad3afd6f9257ea5@riseup.net>
| C++ | mit | metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler |
a73619f5a7d6b54f725ad33859fc3d3ce51ff92a | html_generator/cpp_syntax_highlighting.hpp | html_generator/cpp_syntax_highlighting.hpp | #pragma once
#include <silicium/html/tree.hpp>
#include "tags.hpp"
inline bool is_brace(char const c)
{
static boost::string_ref const braces = "(){}<>[]";
return std::find(braces.begin(), braces.end(), c) != braces.end();
}
enum class token_type
{
identifier,
string,
double_colon,
brace,
space,
eof,
other
}... | #pragma once
#include <silicium/html/tree.hpp>
#include "tags.hpp"
inline bool is_brace(char const c)
{
static boost::string_ref const braces = "(){}<>[]";
return std::find(braces.begin(), braces.end(), c) != braces.end();
}
enum class token_type
{
identifier,
string,
double_colon,
brace,
space,
eof,
other
}... | clarify control flow in switch statement | clarify control flow in switch statement
| C++ | mit | mamazu/tyroxx-blog-generator,TyRoXx/tyroxx-blog-generator,mamazu/tyroxx-blog-generator,TyRoXx/tyroxx-blog-generator |
29a6e80bf3ba0ccda61c81259bf47672ef6c22e1 | ext/ruby_mapnik/_mapnik_expression.rb.cpp | ext/ruby_mapnik/_mapnik_expression.rb.cpp | /*****************************************************************************
Copyright (C) 2011 Elliot Laster
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the ‘Software’), to deal in
the Software without restriction, including wit... | /*****************************************************************************
Copyright (C) 2011 Elliot Laster
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the ‘Software’), to deal in
the Software without restriction, including wit... | update header name | update header name
| C++ | mit | gravitystorm/Ruby-Mapnik,mapnik/Ruby-Mapnik,mapnik/Ruby-Mapnik,gravitystorm/Ruby-Mapnik,gravitystorm/Ruby-Mapnik,gravitystorm/Ruby-Mapnik,mapnik/Ruby-Mapnik,mapnik/Ruby-Mapnik,mapnik/Ruby-Mapnik,mapnik/Ruby-Mapnik,gravitystorm/Ruby-Mapnik,gravitystorm/Ruby-Mapnik |
ff696cc1fca94be3ace7de2eb3b9e52734149161 | lib/VMCore/AutoUpgrade.cpp | lib/VMCore/AutoUpgrade.cpp | //===-- AutoUpgrade.cpp - Implement auto-upgrade helper functions ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------------------... | //===-- AutoUpgrade.cpp - Implement auto-upgrade helper functions ---------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by Reid Spencer and is distributed under the
// University of Illinois Open Source License. See LICENSE.TXT for details.
//
//===--------------------... | Make get_suffix faster by using a switch on getTypeID rather than a series of comparisons on the various type objects. | Make get_suffix faster by using a switch on getTypeID rather than a series
of comparisons on the various type objects.
git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@25441 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | apple/swift-llvm,apple/swift-llvm,dslab-epfl/asap,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,chubbymaggie/asap,llvm-mirror/llvm,dslab-epfl/asap,dslab-epfl/asap,GPUOpen-Drivers/llvm,apple/swift-llvm,llvm-mirror/llvm,dslab-epfl/asap,apple/swift-llvm,llvm-mir... |
d5b82cd1c62e29d2c6314a1704c01d8593a552da | src/game/console_pane.cc | src/game/console_pane.cc | /*
console_pane.cc -- Copyright (c) 2013 Noel Cower. All rights reserved.
See COPYING under the project root for the source code license. If this file
is not present, refer to <https://raw.github.com/nilium/snow/master/COPYING>.
*/
#include "console_pane.hh"
#include "../renderer/material.hh"
#include "../rendere... | /*
console_pane.cc -- Copyright (c) 2013 Noel Cower. All rights reserved.
See COPYING under the project root for the source code license. If this file
is not present, refer to <https://raw.github.com/nilium/snow/master/COPYING>.
*/
#include "console_pane.hh"
#include "../renderer/material.hh"
#include "../rendere... | Use utf8::before for deleting a range. | console_pane: Use utf8::before for deleting a range.
Much simpler than using advance to get an iterator to the N-1th code,
and avoids a distance call which is effectively just the same loop
twice.
Might be a good idea to get the end using find_invalid (again).
| C++ | bsd-2-clause | nilium/snow,nilium/snow,nilium/snow |
57ddc5678353b20a994c15145478672fdacf8b58 | include/distortos/estd/ContiguousRange.hpp | include/distortos/estd/ContiguousRange.hpp | /**
* \file
* \brief ContiguousRange template class header.
*
* \author Copyright (C) 2014-2015 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
* distribute... | /**
* \file
* \brief ContiguousRange template class header.
*
* \author Copyright (C) 2014-2015 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
* distribute... | remove non-const variant of subscript operator - this class is only a wrapper for real storage, only member variables are two iterators | estd::ContiguousRange: remove non-const variant of subscript operator -
this class is only a wrapper for real storage, only member variables are
two iterators | C++ | mpl-2.0 | CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos |
207168fafcdcf7a63d02895d355be59014c44888 | include/mapnik/feature_style_processor.hpp | include/mapnik/feature_style_processor.hpp | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 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 ... | /*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 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 ... | fix broken feature caching - #624 | fix broken feature caching - #624
| C++ | lgpl-2.1 | jwomeara/mapnik,sebastic/python-mapnik,jwomeara/mapnik,mbrukman/mapnik,whuaegeanse/mapnik,tomhughes/python-mapnik,yiqingj/work,yohanboniface/python-mapnik,naturalatlas/mapnik,Mappy/mapnik,kapouer/mapnik,mapycz/mapnik,davenquinn/python-mapnik,Mappy/mapnik,cjmayo/mapnik,whuaegeanse/mapnik,mapnik/mapnik,mapycz/mapnik,kapo... |
d0e881ba39a43aead3010a49601e3f44dd164779 | network_epoll.cpp | network_epoll.cpp | #include "network_epoll.hpp"
#include "unistd.h"
#include <sys/epoll.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <sys/eventfd.h>
#incl... | #include "network_epoll.hpp"
#include "unistd.h"
#include <sys/epoll.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/epoll.h>
#include <sys/socket.h>
#include <sys/eventfd.h>
#incl... | Use _SC_OPEN_MAX instead of /proc/sys/fs/file-max | Use _SC_OPEN_MAX instead of /proc/sys/fs/file-max
| C++ | agpl-3.0 | lukaslihotzki/pixelflood,lukaslihotzki/pixelflood |
c99983b9f0b8ab0291c74c0d32a0b833c7a900ed | src/usr/isteps/istep10/call_proc_pcie_scominit.C | src/usr/isteps/istep10/call_proc_pcie_scominit.C | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/isteps/istep10/call_proc_pcie_scominit.C $ */
/* ... | /* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/usr/isteps/istep10/call_proc_pcie_scominit.C $ */
/* ... | Disable call to p10_proc_pciescominit HWP Temporarily | Disable call to p10_proc_pciescominit HWP Temporarily
- This HWP is going to be refactored, so will wait for
updated version before re-enabling
Change-Id: I020805525cc91f4421fb9dc5559b8115daa67116
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/91565
Tested-by: Jenkins Server <8e3f934e4c44875bc48d33da3ea13... | C++ | apache-2.0 | open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot |
d80bb8de9c93c7c19fcf2eae6ecd355027dac764 | src/xalanc/PlatformSupport/XalanOutputStream.hpp | src/xalanc/PlatformSupport/XalanOutputStream.hpp | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | /*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | Modify write() function to assume buffer has been flushed. | Modify write() function to assume buffer has been flushed.
| C++ | apache-2.0 | apache/xalan-c,apache/xalan-c,apache/xalan-c,apache/xalan-c |
94d09faa9332ca48c0b958b088fbb9c6ca59bd7f | test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp | test/std/numerics/cfenv/cfenv.syn/cfenv.pass.cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | Remove unneeded initialisation of fenv_t and fexcept_t. | Remove unneeded initialisation of fenv_t and fexcept_t.
Though common, there is no requirement that fenv_t and fexcept_t are
structure and integer types, respectively. fexcept_t is a structure on
CloudABI.
git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@232329 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | apache-2.0 | llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx |
5175939d1edc87ba5ccc9e57c06bc98258d41dec | tutorials/dataframe/df030_SQliteVersionsOfROOT.C | tutorials/dataframe/df030_SQliteVersionsOfROOT.C | /// \file
/// \ingroup tutorial_dataframe
/// \notebook -js
/// Plot the downloads of different ROOT versions reading a remote sqlite3 file with RSqliteDS.
/// Then a TH1F histogram is created and filled
/// using a lambda expression which receives the recorded
/// values in the “version” column of the sqlite3 database... | /// \file
/// \ingroup tutorial_dataframe
/// \notebook -js
/// Plot the downloads of different ROOT versions reading a remote sqlite3 file with RSqliteDS.
/// Then a TH1F histogram is created and filled
/// using a lambda expression which receives the recorded
/// values in the "version" column of the sqlite3 database... | Remove non-ascii character from sql tutorial | [DF][NFC] Remove non-ascii character from sql tutorial
| C++ | lgpl-2.1 | karies/root,olifre/root,root-mirror/root,olifre/root,karies/root,root-mirror/root,olifre/root,karies/root,olifre/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,karies/root,root-mirror/root,karies/root... |
6587fbb89675af9083bd33a331582898eb7ec9fc | omaha_request_params.cc | omaha_request_params.cc | // Copyright (c) 2011 The Chromium OS 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 "update_engine/omaha_request_params.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/utsname.h>
#include <map>
#include <string>
#... | // Copyright (c) 2011 The Chromium OS 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 "update_engine/omaha_request_params.h"
#include <errno.h>
#include <fcntl.h>
#include <sys/utsname.h>
#include <map>
#include <string>
#... | fix reading OEM attributes | omaha_request_params: fix reading OEM attributes
This was broken in commit 92dae274 during some refactoring.
| C++ | bsd-3-clause | mjg59/update_engine,mjg59/update_engine,mjg59/update_engine,endocode/update_engine,endocode/update_engine,endocode/update_engine |
fd5bf16a902849bf304357fc65dbbf5ba9620f3a | include/Nazara/Renderer/ShaderBuilder.hpp | include/Nazara/Renderer/ShaderBuilder.hpp | // Copyright (C) 2016 Jérôme Leclercq
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_SHADER_BUILDER_HPP
#define NAZARA_SHADER_BUILDER_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Rende... | // Copyright (C) 2016 Jérôme Leclercq
// This file is part of the "Nazara Engine - Renderer module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_SHADER_BUILDER_HPP
#define NAZARA_SHADER_BUILDER_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara/Rende... | Fix build? | Renderer/ShaderBuild: Fix build?
| C++ | mit | DigitalPulseSoftware/NazaraEngine |
a268cf0269b8781c05f3f7f3e6077e34b5d177d5 | include/cppurses/widget/layouts/stack.hpp | include/cppurses/widget/layouts/stack.hpp | #ifndef CPPURSES_WIDGET_LAYOUTS_STACK_HPP
#define CPPURSES_WIDGET_LAYOUTS_STACK_HPP
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>
#include <signals/signals.hpp>
#include <cppurses/system/events/move_event.... | #ifndef CPPURSES_WIDGET_LAYOUTS_STACK_HPP
#define CPPURSES_WIDGET_LAYOUTS_STACK_HPP
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <memory>
#include <stdexcept>
#include <type_traits>
#include <utility>
#include <vector>
#include <signals/signals.hpp>
#include <cppurses/system/events/move_event.... | Fix Stack::active_page_index bug | Fix Stack::active_page_index bug
| C++ | mit | a-n-t-h-o-n-y/CPPurses |
8f49d54aa5b18f325a9c267dcb6bb2bada809b1e | include/visionaray/detail/pathtracing.inl | include/visionaray/detail/pathtracing.inl | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#ifndef VSNRAY_DETAIL_PATHTRACING_INL
#define VSNRAY_DETAIL_PATHTRACING_INL 1
#include <visionaray/get_area.h>
#include <visionaray/get_surface.h>
#include <visionaray/result_record.h>
#include <visionaray/sampling.h... | // This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#ifndef VSNRAY_DETAIL_PATHTRACING_INL
#define VSNRAY_DETAIL_PATHTRACING_INL 1
#include <visionaray/get_area.h>
#include <visionaray/get_surface.h>
#include <visionaray/result_record.h>
#include <visionaray/sampling.h... | Fix #29 | Fix #29
Shadow rays always had length 1-2*EPSILON when sampling delta lights
| C++ | mit | szellmann/visionaray,szellmann/visionaray |
10c4ba18c2a897c74284018e16f4ea6f1d645b43 | optimizer/tsp_simple.cc | optimizer/tsp_simple.cc | // Copyright © Mapotempo, 2013-2015
//
// This file is part of Mapotempo.
//
// Mapotempo is free software. You can redistribute it and/or
// modify since you respect the terms of the GNU Affero General
// Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your optio... | // Copyright © Mapotempo, 2013-2015
//
// This file is part of Mapotempo.
//
// Mapotempo is free software. You can redistribute it and/or
// modify since you respect the terms of the GNU Affero General
// Public License as published by the Free Software Foundation,
// either version 3 of the License, or (at your optio... | Fix disjunction cost | Fix disjunction cost
| C++ | agpl-3.0 | Mapotempo/optimizer-ortools,Mapotempo/mapotempo-optimizer,Mapotempo/mapotempo-optimizer,braktar/mapotempo-optimizer,Mapotempo/optimizer-ortools,braktar/mapotempo-optimizer,Mapotempo/optimizer-ortools |
a83b64357446f601833fda6d2b59315f3fd3602a | include/bitcoin/bitcoin/impl/math/checksum.ipp | include/bitcoin/bitcoin/impl/math/checksum.ipp | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fo... | /**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free Software
* Fo... | Add missing include. | Add missing include.
| C++ | agpl-3.0 | swansontec/libbitcoin,swansontec/libbitcoin,swansontec/libbitcoin,swansontec/libbitcoin |
8a86b8788dad6f538a6f3299ca09457482b87dfa | Code/Wrappers/QtWidget/otbWrapperQtWidgetStringListParameter.cxx | Code/Wrappers/QtWidget/otbWrapperQtWidgetStringListParameter.cxx | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ... | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ... | implement DoUpdateGui for Role_Output case in StringListWidget | ENH: implement DoUpdateGui for Role_Output case in StringListWidget
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
a0b56ec12c2ea6264d7474130b768ad099a7a4b5 | calculate.cpp | calculate.cpp | #include <iostream>
#include <string>
#include <sstream>
#include <vector>
#include <stack>
#include <map>
#include <utility>
#include <algorithm>
#include <numeric>
#include <cmath>
#include <functional>
#include <stdexcept>
using namespace std;
struct oper_t
{
bool right;
int prec;
bool unary;
};
typedef pair<b... | #include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <vector>
#include <stack>
#include <map>
#include <utility>
#include <algorithm>
#include <numeric>
#include <cmath>
#include <limits>
#include <functional>
#include <stdexcept>
using namespace std;
struct oper_t
{
bool right;
int ... | Use defined types, most accurate possible output | Use defined types, most accurate possible output
| C++ | mit | sim642/calculate,r-lyeh/eval |
70901df2392512f97c3f523102a4dea0f7e469e0 | chrome/browser/ui/views/uninstall_view.cc | chrome/browser/ui/views/uninstall_view.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/uninstall_view.h"
#include "base/message_loop.h"
#include "base/process_util.h"
#include "base/run_loop.h"
#include... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/uninstall_view.h"
#include "base/message_loop.h"
#include "base/process_util.h"
#include "base/run_loop.h"
#include... | Fix GetDialogButtonLabel for UninstallView. | Fix GetDialogButtonLabel for UninstallView.
Return the base class text for the cancel button.
This was a regression from http://crrev.com/183286.
That changed the behavior of GetDialogButtonLabel.
I simply missed this dialog in the update; sorry!
BUG=166075,178464
TEST=Uninstall dialog has expected Cancel button tex... | C++ | bsd-3-clause | krieger-od/nwjs_chromium.src,dushu1203/chromium.src,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,hgl888/chromium-crosswalk,Jonekee/chromium.src,chuan9/chromium-crosswalk,jaruba/chromium.src,ltilve/chromium,hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,ChromiumWeb... |
a60b5865e906adeae2449c5f63fdd30655b68971 | chrome/browser/ui/views/uninstall_view.cc | chrome/browser/ui/views/uninstall_view.cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/uninstall_view.h"
#include "base/message_loop.h"
#include "base/process_util.h"
#include "base/run_loop.h"
#include... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/uninstall_view.h"
#include "base/message_loop.h"
#include "base/process_util.h"
#include "base/run_loop.h"
#include... | Add a leaked reference to g_browser_process before showing the uninstall dialog to avoid the views framework from erroneously exiting the browser process. | Add a leaked reference to g_browser_process before showing the uninstall dialog to avoid the views framework from erroneously exiting the browser process.
BUG=241366
TEST=Uninstall Chrome while it is set as the default browser. Select an item from the "make other browser default" combobox. Observe that the dialog does... | C++ | bsd-3-clause | dushu1203/chromium.src,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-cross... |
51890613b7cdeddff9ad3360a91908ded28bc5f0 | vcl/source/glyphs/graphite_features.cxx | vcl/source/glyphs/graphite_features.cxx | /* -*- 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... | use OSL_BIGENDIAN | vcl: use OSL_BIGENDIAN
Change-Id: Ifdf54d30cca94d0d65d78f94d5fac31edf8c6df2
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
921911de962ce3f594a0812f43e25e81821ddecf | TerrainSDK/vtui/AutoDialog.cpp | TerrainSDK/vtui/AutoDialog.cpp | //
// Implements the following classes:
//
// AutoDialog - An improvement to wxDialog which makes validation easier.
//
// AutoPanel - An improvement to wxPanel which makes validation easier.
//
// wxNumericValidator - A validator capable of transfering numeric values.
//
// Copyright (c) 2001-2003 Virtual Terrain Proj... | //
// Implements the following classes:
//
// AutoDialog - An improvement to wxDialog which makes validation easier.
//
// AutoPanel - An improvement to wxPanel which makes validation easier.
//
// wxNumericValidator - A validator capable of transfering numeric values.
//
// Copyright (c) 2001-2003 Virtual Terrain Proj... | comment tweak | comment tweak
| C++ | mit | nakijun/vtp,markraz/vtp,nakijun/vtp,seanisom/vtp,seanisom/vtp,seanisom/vtp,seanisom/vtp,markraz/vtp,markraz/vtp,markraz/vtp,nakijun/vtp,nakijun/vtp,seanisom/vtp,nakijun/vtp,markraz/vtp |
e8bf798b52cee12da68d1168e176e845161c8418 | atom/browser/api/atom_api_window.cc | atom/browser/api/atom_api_window.cc | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_window.h"
#include "atom/browser/native_window.h"
#include "atom/common/native_mate_converters/function_converter.h"
#incl... | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_window.h"
#include "atom/browser/native_window.h"
#include "atom/common/native_mate_converters/function_converter.h"
#incl... | Fix using an null dictionary. | Fix using an null dictionary.
| C++ | mit | cqqccqc/electron,preco21/electron,kokdemo/electron,trankmichael/electron,nicobot/electron,RobertJGabriel/electron,aichingm/electron,bruce/electron,aaron-goshine/electron,JussMee15/electron,arusakov/electron,joneit/electron,gstack/infinium-shell,stevekinney/electron,smczk/electron,ianscrivener/electron,kokdemo/electron,... |
442f8716115ad20f75aa3d456727fb51f790d31c | basctl/source/basicide/basides2.cxx | basctl/source/basicide/basides2.cxx | /*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenO... | /*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenO... | fix for insert | fix for insert | C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
6683b842e1975197932d651ba8fb725dc5c3a306 | jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx | jvmfwk/plugins/sunmajor/pluginlib/vendorbase.hxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform ... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform ... | fix JFW_PLUGIN_ARCH for OpenJDK/mipsel | fix JFW_PLUGIN_ARCH for OpenJDK/mipsel
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
1406dfde0e0c76da87db632b28c721cc65e7367b | base/i18n/icu_string_conversions.cc | base/i18n/icu_string_conversions.cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/i18n/icu_string_conversions.h"
#include <vector>
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_... | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/i18n/icu_string_conversions.h"
#include <vector>
#include "base/basictypes.h"
#include "base/logging.h"
#include "base/memory/scoped_... | Fix a typo in the comment for ToUnicodeCallbackSubstitute() | Fix a typo in the comment for ToUnicodeCallbackSubstitute()
See http://codereview.chromium.org/151065
Review URL: https://chromiumcodereview.appspot.com/9724033
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@128557 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,Just-D/chromium-1,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,Chilledheart/chromium,markYoungH/chromium.src,ondra-novak/chromium.src,nacl-webkit/chrome_deps,junmin-zhu/chromium-rivertrail,hujia... |
9482220bf0c69df2558e6d32d193163ac116b167 | osquery/tables/system/freebsd/sysctl_utils.cpp | osquery/tables/system/freebsd/sysctl_utils.cpp | /*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
//#... | /*
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | Make sysctls work on FreeBSD (#3242) | Make sysctls work on FreeBSD (#3242)
| C++ | bsd-3-clause | tburgin/osquery,jedi22/osquery,tburgin/osquery,hackgnar/osquery,jedi22/osquery,PoppySeedPlehzr/osquery,PoppySeedPlehzr/osquery,hackgnar/osquery,tburgin/osquery,PoppySeedPlehzr/osquery,jedi22/osquery,hackgnar/osquery |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.