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
6555b4d1274f655d0ad7749ac93a9e6a5679c343
src/rpcblockchain.cpp
src/rpcblockchain.cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
Update rpcblockchain.cpp
Update rpcblockchain.cpp
C++
mit
gjhiggins/fuguecoin,gjhiggins/fuguecoin,gjhiggins/fuguecoin,gjhiggins/fuguecoin,BlueDragon747/Blakecoin,MikuCoin/MikuCoin,BlueDragon747/Blakecoin,cinnamoncoin/Blakecoin,BlueDragon747/Blakecoin,BlueDragon747/Blakecoin,cinnamoncoin/Blakecoin,cinnamoncoin/Blakecoin,cinnamoncoin/Blakecoin,BlueDragon747/Blakecoin,cinnamonco...
ca40571886ab300232847230fff0d4a80ba7c58e
src/rpcblockchain.cpp
src/rpcblockchain.cpp
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "main.h" #include "bitcoinrpc.h" using namespace json_spirit; using namespace...
add blocktrust field into block dump
RPC: add blocktrust field into block dump
C++
mit
Tranz5/bottlecaps,bottlecaps-foundation/bottlecaps,bottlecaps-foundation/bottlecaps,bottlecaps-foundation/bottlecaps,Tranz5/bottlecaps,bottlecaps-foundation/bottlecaps,Tranz5/bottlecaps,bottlecaps-foundation/bottlecaps,Tranz5/bottlecaps
5a061ffbc4ee5fb3550d4c1c991750089bc24329
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor.cpp
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/toolkit-adaptor.cpp
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Remove vsync-monitor.
Remove vsync-monitor. Change-Id: I60d01620700cc0bb8ad49058d12e1e91fc5619cd
C++
apache-2.0
dalihub/dali-toolkit,dalihub/dali-toolkit,dalihub/dali-toolkit,dalihub/dali-toolkit
79c0919f2e7470543b975a689fd549d0a6f2156f
src/settingwindow.cpp
src/settingwindow.cpp
/* JaneClone - a text board site viewer for 2ch * Copyright (C) 2012-2014 Hiroyuki Nagata * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your o...
/* JaneClone - a text board site viewer for 2ch * Copyright (C) 2012-2014 Hiroyuki Nagata * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your o...
Fix wx-2.8 and wx-3.0 's wxString diff.
Fix wx-2.8 and wx-3.0 's wxString diff.
C++
lgpl-2.1
Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard,Hiroyuki-Nagata/XrossBoard
73a02ac64c29c64df31f06e92de1b39b2c61ee31
plugins/rabidRabbit/rabidRabbit.cpp
plugins/rabidRabbit/rabidRabbit.cpp
// rabidRabbit.cpp : Defines the entry point for the DLL application. #include "bzfsAPI.h" #include <string> #include <vector> #include <map> #include <math.h> BZ_GET_PLUGIN_VERSION class RabidRabbitHandler : public bz_CustomMapObjectHandler { public: virtual bool handle ( bzApiString object, bz_CustomMapObjectInfo...
// rabidRabbit.cpp : Defines the entry point for the DLL application. #include "bzfsAPI.h" #include <string> #include <vector> #include <map> #include <math.h> BZ_GET_PLUGIN_VERSION class RabidRabbitHandler : public bz_CustomMapObjectHandler { public: virtual bool handle ( bzApiString object, bz_CustomMapObjectInfo...
Add new code from LouMan that changes the rabbit hole when the rabbit dies
Add new code from LouMan that changes the rabbit hole when the rabbit dies git-svn-id: c0942edff5350604e2827ab28bdfcfa5200fadee@15672 08b3d480-bf2c-0410-a26f-811ee3361c24
C++
lgpl-2.1
adamsdadakaeti/bzflag,kongr45gpen/bzflag,khonkhortisan/bzflag,kongr45gpen/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,khonkhortisan/bzflag,khonkhortisan/bzflag,adamsdadakaeti/bzflag,adamsdadakaeti/bzflag,kongr45gpen/bzflag,kongr45gpen/bzflag,khonkho...
97e0f1d0d642388cc615f4a2c0977fed27164752
src/simulator.cpp
src/simulator.cpp
/* * Copyright (C) 2014-2015 Rico Antonio Felix * * 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 o...
/* * Copyright (C) 2014-2015 Rico Antonio Felix * * 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 o...
Update simulator.cpp
Update simulator.cpp
C++
apache-2.0
RicoAntonioFelix/TELEVISION-SIMULATOR
f3e00d97c5d1f197a51c3f08be2b7cc9a7019fc3
src/declarativewebpage.cpp
src/declarativewebpage.cpp
/**************************************************************************** ** ** Copyright (C) 2014 Jolla Ltd. ** Contact: Raine Makelainen <raine.makelainen@jollamobile.com> ** ****************************************************************************/ /* This Source Code Form is subject to the terms of the Mozi...
/**************************************************************************** ** ** Copyright (C) 2014 Jolla Ltd. ** Contact: Raine Makelainen <raine.makelainen@jollamobile.com> ** ****************************************************************************/ /* This Source Code Form is subject to the terms of the Mozi...
Improve thumbnail image size for portrait and landscape orientations
Improve thumbnail image size for portrait and landscape orientations
C++
mpl-2.0
alinelena/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,rojkov/sailfish-browser,alinelena/sailfish-browser,sailfishos/sailfish-browser,alinelena/sailfish-browser,sailfishos/sailfish-browser,rojkov/sailfish-browser,alinelena/sailfish-browser,rojkov/sailfish-browser
75b19230eb970dc3b95fd61110848d393aee2af4
src/entt/entity/entity.hpp
src/entt/entity/entity.hpp
#ifndef ENTT_ENTITY_ENTITY_HPP #define ENTT_ENTITY_ENTITY_HPP #include <cstddef> #include <cstdint> #include <type_traits> #include "../config/config.h" namespace entt { /** * @brief Entity traits. * * Primary template isn't defined on purpose. All the specializations give a * compile-time error unless the te...
#ifndef ENTT_ENTITY_ENTITY_HPP #define ENTT_ENTITY_ENTITY_HPP #include <cstddef> #include <cstdint> #include <type_traits> #include "../config/config.h" namespace entt { /** * @brief Entity traits. * * Primary template isn't defined on purpose. All the specializations give a * compile-time error unless the te...
make null_t public
entity: make null_t public
C++
mit
skypjack/entt,skypjack/entt,skypjack/entt,skypjack/entt
46f5a4936af58b8b8bb23c136dd82641e9dfeb1e
src/fly/net/connection.cpp
src/fly/net/connection.cpp
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * _______ _ * * ( ____ \ ( \ |\ /| * * | ( \/ | ( ( \ / ) * * | (__ ...
adjust max_msg_len
adjust max_msg_len
C++
apache-2.0
lichuan/fly,lichuan/fly
80234a509422ea7a264a71209c6f95df57cc8c25
src/hqn_lua_mainmemory.cpp
src/hqn_lua_mainmemory.cpp
/* * Lua functions mimicing BizHawk's mainmemory api. */ #include "hqn_lua.h" namespace hqn_lua { /// Read a signed byte from RAM int mainmemory_read_s8(lua_State *L) { int index = luaL_optint(L, 1, 0); int8_t data = (int8_t)hqn_get_nes(L)->low_mem()[index]; lua_pushinteger(L, data); return 1; } //...
/* * Lua functions mimicing BizHawk's mainmemory api. */ #include "hqn_lua.h" namespace hqn_lua { /// Read a signed byte from RAM int mainmemory_read_s8(lua_State *L) { HQN_EMULATOR(emu); int index = luaL_optint(L, 1, 0); int8_t data = (int8_t)emu->low_mem()[index]; lua_pushinteger(L, data); ret...
Add more memory functions.
Add more memory functions.
C++
mit
Bindernews/HeadlessQuickNes,Bindernews/HeadlessQuickNes,Bindernews/HeadlessQuickNes
bc1fcead0302f8229738f17ab61d063c3dbce1f2
src/aliceVision/calibration/bestImages.cpp
src/aliceVision/calibration/bestImages.cpp
// This file is part of the AliceVision project. // Copyright (c) 2016 AliceVision contributors. // 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 https://mozilla.org/MPL/2.0/. #include "bestImage...
// This file is part of the AliceVision project. // Copyright (c) 2016 AliceVision contributors. // 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 https://mozilla.org/MPL/2.0/. #include "bestImage...
range loop for
[calibration] range loop for
C++
mit
poparteu/openMVG,poparteu/openMVG,poparteu/openMVG,poparteu/openMVG
b9f6f562ab838fff2298b201e84b723bea325810
include/pqxx/internal/statement_parameters.hxx
include/pqxx/internal/statement_parameters.hxx
/** Common implementation for statement parameter lists. * * These are used for both prepared statements and parameterized statements. * * DO NOT INCLUDE THIS FILE DIRECTLY. Other headers include it for you. * * Copyright (c) 2000-2019, Jeroen T. Vermeulen. * * See COPYING for copyright license. If you did no...
/** Common implementation for statement parameter lists. * * These are used for both prepared statements and parameterized statements. * * DO NOT INCLUDE THIS FILE DIRECTLY. Other headers include it for you. * * Copyright (c) 2000-2019, Jeroen T. Vermeulen. * * See COPYING for copyright license. If you did no...
Simplify "identity" function.
Simplify "identity" function. Thanks @ash-j-f for reporting the problem and finding the solution! Fixes #204.
C++
bsd-3-clause
jtv/libpqxx,jtv/libpqxx,jtv/libpqxx,jtv/libpqxx
b3360332f819b2230a001712fcfdfb0e46a64b53
examples/experimental_average.cpp
examples/experimental_average.cpp
// Experimental average // Source: ./examples/experimental_average.cpp #include <iostream> #include <tuple> #include "qpp.h" int main() { using namespace qpp; ket psi = 0_ket; // same as st.z0; cmat A = gt.X; dyn_col_vect<double> evals = hevals(A); cmat evects = hevects(A); long res = 0; ...
// Experimental average // Source: ./examples/experimental_average.cpp #include <iostream> #include <tuple> #include "qpp.h" int main() { using namespace qpp; ket psi = 0_ket; // same as st.z0; cmat X = gt.X; dyn_col_vect<double> evals = hevals(X); cmat evects = hevects(X); long res = 0; ...
Update experimental_average.cpp
Update experimental_average.cpp
C++
mit
vsoftco/qpp,QCT-IQC/qpp,QCT-IQC/qpp,QCT-IQC/qpp,vsoftco/qpp,vsoftco/qpp,QCT-IQC/qpp,vsoftco/qpp
53cf77cf18fa44ed60ad586fb9add661853b205a
src/sim/system.hh
src/sim/system.hh
/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
/* * Copyright (c) 2012 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation of the funct...
Fix clang warning for unused variable
sim: Fix clang warning for unused variable This patch ensures the NULL ISA can build without causing issues with an unused variable.
C++
bsd-3-clause
yb-kim/gemV,austinharris/gem5-riscv,sobercoder/gem5,gem5/gem5,rallylee/gem5,KuroeKurose/gem5,rallylee/gem5,SanchayanMaity/gem5,markoshorro/gem5,HwisooSo/gemV-update,gem5/gem5,briancoutinho0905/2dsampling,sobercoder/gem5,yb-kim/gemV,HwisooSo/gemV-update,briancoutinho0905/2dsampling,qizenguf/MLC-STT,HwisooSo/gemV-update,...
6b627be655a28aaba3b72b948a810675af02b9a9
src/lib/libkeynote_xml.cpp
src/lib/libkeynote_xml.cpp
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libkeynote 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://mozill...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libkeynote 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://mozill...
fix condition
fix condition
C++
mpl-2.0
freedesktop-unofficial-mirror/libreoffice__libetonyek,freedesktop-unofficial-mirror/libreoffice__libetonyek,LibreOffice/libetonyek,LibreOffice/libetonyek,LibreOffice/libetonyek,freedesktop-unofficial-mirror/libreoffice__libetonyek
bcfa32cd8184b100e0ea9e1bac78544b814ab902
src/modules/opengl/transition_movit_overlay.cpp
src/modules/opengl/transition_movit_overlay.cpp
/* * transition_movit_overlay.cpp * Copyright (C) 2013 Dan Dennedy <dan@dennedy.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your optio...
/* * transition_movit_overlay.cpp * Copyright (C) 2013 Dan Dennedy <dan@dennedy.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your optio...
Fix deadlock in movit.overlay transition.
Fix deadlock in movit.overlay transition. Patch by Steinar Gunderson.
C++
lgpl-2.1
mltframework/mlt,zzhhui/mlt,xzhavilla/mlt,wideioltd/mlt,mltframework/mlt,mltframework/mlt,zzhhui/mlt,zzhhui/mlt,anba8005/mlt,j-b-m/mlt,zzhhui/mlt,mltframework/mlt,siddharudh/mlt,wideioltd/mlt,siddharudh/mlt,wideioltd/mlt,j-b-m/mlt,siddharudh/mlt,xzhavilla/mlt,wideioltd/mlt,j-b-m/mlt,j-b-m/mlt,zzhhui/mlt,xzhavilla/mlt,s...
bec9a518a3f189bca9579a99e7d12fc10f6bd1bc
src/libslic3r/SLAPrint.hpp
src/libslic3r/SLAPrint.hpp
#ifndef slic3r_SLAPrint_hpp_ #define slic3r_SLAPrint_hpp_ #include <mutex> #include "PrintBase.hpp" #include "PrintExport.hpp" #include "Point.hpp" #include "MTUtils.hpp" #include <iterator> namespace Slic3r { enum SLAPrintStep : unsigned int { slapsRasterize, slapsValidate, slapsCount }; enum SLAPrintObjectStep...
#ifndef slic3r_SLAPrint_hpp_ #define slic3r_SLAPrint_hpp_ #include <mutex> #include "PrintBase.hpp" #include "PrintExport.hpp" #include "Point.hpp" #include "MTUtils.hpp" #include <iterator> namespace Slic3r { enum SLAPrintStep : unsigned int { slapsRasterize, slapsValidate, slapsCount }; enum SLAPrintObjectStep...
Move SliceRecord into SLAPrintObject
Move SliceRecord into SLAPrintObject
C++
agpl-3.0
prusa3d/Slic3r,prusa3d/Slic3r,prusa3d/Slic3r,prusa3d/Slic3r,prusa3d/Slic3r,prusa3d/Slic3r,prusa3d/Slic3r
b0077d529919c327c59cc081e2898b8b0e62da96
src/llmq/quorums_utils.cpp
src/llmq/quorums_utils.cpp
// Copyright (c) 2018-2019 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <llmq/quorums.h> #include <llmq/quorums_utils.h> #include <chainparams.h> #include <random.h> #include <spork.h> #incl...
// Copyright (c) 2018-2019 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <llmq/quorums.h> #include <llmq/quorums_utils.h> #include <chainparams.h> #include <random.h> #include <spork.h> #incl...
fix loop in GetQuorumRelayMembers
fix loop in GetQuorumRelayMembers Former-commit-id: 2f9570809638f8d155f9a973ee48edca7570be1d
C++
mit
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin
78b54dfd3b8cdcdaa7727e6857d8e0f107375bc0
algorithms/util.cpp
algorithms/util.cpp
#include "util.h" #include <algorithm> #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <iterator> #include <stdexcept> #include <utility> using namespace std; namespace med { double euclideanDistance(const Vector& v1, const Vector& v2, bool ommitFirst) { assert(v1.size() == v2.s...
#include "util.h" #include <algorithm> #include <cassert> #include <cmath> #include <fstream> #include <iostream> #include <iterator> #include <stdexcept> #include <utility> using namespace std; namespace med { double euclideanDistance(const Vector& v1, const Vector& v2, bool ommitFirst) { assert(v1.size() == v2.s...
Fix of cosine distance calculation function.
Fix of cosine distance calculation function.
C++
mit
Kajo0/MED,Kajo0/MED,Kajo0/MED,Kajo0/MED
5342e22ee2b8be28ccbf437e9e777e844b9ff244
Library/Sources/Stroika/Foundation/DataExchangeFormat/ObjectVariantMapper.cpp
Library/Sources/Stroika/Foundation/DataExchangeFormat/ObjectVariantMapper.cpp
/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #include "../StroikaPreComp.h" #include "../Characters/Format.h" #include "../Containers/Tally.h" #include "../Debug/Trace.h" #include "../Time/Date.h" #include "../Time/DateRange.h" #include "../Time/DateTime.h" #inclu...
/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #include "../StroikaPreComp.h" #include "../Characters/Format.h" #include "../Containers/Tally.h" #include "../Debug/Trace.h" #include "../Time/Date.h" #include "../Time/DateRange.h" #include "../Time/DateTime.h" #inclu...
reduce noisyness of ObjectVariantMapper::Lookup_ tracelog output
reduce noisyness of ObjectVariantMapper::Lookup_ tracelog output
C++
mit
SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika,SophistSolutions/Stroika
dc70e38a5bd1a9f483e43126cba7bfa516301302
Modules/Filtering/DisplacementField/include/itkTransformToDisplacementFieldFilter.hxx
Modules/Filtering/DisplacementField/include/itkTransformToDisplacementFieldFilter.hxx
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
Fix `TransformToDisplacementFieldFilter` displacementPoint/Vector
BUG: Fix `TransformToDisplacementFieldFilter` displacementPoint/Vector The subtraction `transformedPoint - outputPoint` yields a `Vector`, not a `Point`. Adjusted `NonlinearThreadedGenerateData` accordingly. This little flaw was found by locally (temporarily) declaring converting constructors of `Point` "explicit".
C++
apache-2.0
hjmjohnson/ITK,thewtex/ITK,hjmjohnson/ITK,Kitware/ITK,richardbeare/ITK,thewtex/ITK,thewtex/ITK,hjmjohnson/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,hjmjohnson/ITK,BRAINSia/ITK,thewtex/ITK,BRAINSia/ITK,richardbeare/ITK,InsightSoftwareConsortium/ITK,Kitware/ITK,BRAINSia/ITK,Kitware/ITK,InsightSoftwareConsortium/ITK,...
5a168471be6575c2f2de656f98b966f8518ad928
src/test/test_pru.cpp
src/test/test_pru.cpp
#include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <prussdrv.h> #include <pruss_intc_mapping.h> #define PRU_BIN_NAME "./pru0.bin" #define MS_TO_CYCLE(ms) ((ms)*2000000/100...
#include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <errno.h> #include <string.h> #include <unistd.h> #include <prussdrv.h> #include <pruss_intc_mapping.h> #define PRU_BIN_NAME "./pru0.bin" #define MS_TO_CYCLE(ms) ((ms)*2000000/100...
update test for pru pwm
update test for pru pwm
C++
mit
MyXingzhe/xingzhe,MyXingzhe/xingzhe,MyXingzhe/xingzhe,MyXingzhe/xingzhe
c456f7afa2a339be1aa4f3131d37420cd9129208
src/cpp/session/modules/SessionRAddins.cpp
src/cpp/session/modules/SessionRAddins.cpp
/* * SessionRAddins.cpp.in * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Lic...
/* * SessionRAddins.cpp.in * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public Lic...
tweak indexer timings
tweak indexer timings
C++
agpl-3.0
jar1karp/rstudio,jar1karp/rstudio,jrnold/rstudio,JanMarvin/rstudio,piersharding/rstudio,jar1karp/rstudio,piersharding/rstudio,jar1karp/rstudio,jar1karp/rstudio,jar1karp/rstudio,piersharding/rstudio,JanMarvin/rstudio,jrnold/rstudio,JanMarvin/rstudio,piersharding/rstudio,jar1karp/rstudio,jrnold/rstudio,jrnold/rstudio,jrn...
d7c06f5f72acad2fa07e40c922f83dbbd692a992
src/infill/RibbedSupportVaultGenerator.cpp
src/infill/RibbedSupportVaultGenerator.cpp
//Copyright (c) 2021 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "RibbedSupportVaultGenerator.h" #include "../sliceDataStorage.h" #include <functional> #include <memory> #include <vector> //____v // TODO: Shortest distance to polygons function, and/or write/reuse dista...
//Copyright (c) 2021 Ultimaker B.V. //CuraEngine is released under the terms of the AGPLv3 or higher. #include "RibbedSupportVaultGenerator.h" #include "../sliceDataStorage.h" #include <functional> #include <memory> #include <vector> //____v // TODO: Shortest distance to polygons function, and/or write/reuse dista...
use infill outlines instead of mesh outlines
fix: use infill outlines instead of mesh outlines
C++
agpl-3.0
Ultimaker/CuraEngine,Ultimaker/CuraEngine
6f81989d76f6a57da0a1e58329f3fdea0cbb7057
dlg_main.cpp
dlg_main.cpp
#include "dlg_main.h" #include "control.h" #include "hardware.h" #include <QtGui> #include <QApplication> MainDlg::MainDlg(QWidget *parent) : QWidget(parent) { ui.setupUi(this); Qt::WindowFlags flags = windowFlags(); flags |= Qt::FramelessWindowHint; setWindowFlags(flags); char buf[256]; sprintf(buf, "%i...
#include "dlg_main.h" #include "control.h" #include "hardware.h" #include <QtGui> #include <QApplication> MainDlg::MainDlg(QWidget *parent) : QWidget(parent) { ui.setupUi(this); Qt::WindowFlags flags = windowFlags(); flags |= Qt::FramelessWindowHint; setWindowFlags(flags); ui.pbRiscPompaCalore->setChecked...
fix "pompa auto ON" all'accensione
fix "pompa auto ON" all'accensione
C++
mit
pillo79/home-control,pillo79/home-control
6b67200286d759b3b5de0c9cb2feaf53dc19a833
src/xdEngine/main.cpp
src/xdEngine/main.cpp
// 01.01.2017 Султан Xottab_DUTY Урамаев // Чем стрелы коленом ловить, гораздо интереснее отстреливать свои ноги. Продолжим. #include <GLFW/glfw3.h> #include "xdCore.hpp" #include "Console.hpp" #include "xdEngine.hpp" void InitializeConsole() { Console = new xdConsole; Console->Initialize(); } void destroyCo...
// 01.01.2017 Султан Xottab_DUTY Урамаев // Чем стрелы коленом ловить, гораздо интереснее отстреливать свои ноги. Продолжим. #include <GLFW/glfw3.h> #include "xdCore.hpp" #include "Console.hpp" #include "xdEngine.hpp" void InitializeConsole() { Console = new xdConsole; Console->Initialize(); } void destroyCo...
Add basic GLFW initialization and termination
Add basic GLFW initialization and termination
C++
mit
Xottab-DUTY/X-Day-engine
db52ca56d21d3110761fb829000d0af9aa0d3479
chrome/common/visitedlink_common.cc
chrome/common/visitedlink_common.cc
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/visitedlink_common.h" #include "base/logging.h" #include "base/md5.h" #include "googleurl/src/gurl.h" const VisitedLink...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/common/visitedlink_common.h" #include <string.h> // for memset() #include "base/logging.h" #include "base/md5.h" #include "go...
Initialize salt_ to zero in VisitedLinkCommon.
Initialize salt_ to zero in VisitedLinkCommon. Previously, this memory would remain uninitialized until the renderer received a VisitedLink_NewTable message. This was causing valgrind errors in PhishingDOMFeatureExtractorTest when WebKit computed URL fingerprints, since the test never sends a VisitedLink_NewTable mes...
C++
bsd-3-clause
gavinp/chromium,adobe/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,adobe/chromium,Crystalnix/house-of-life-c...
9401f97b821857e91d4eeada8e7ab38663f0c23d
python/dune/gdt/spaces/interface.hh
python/dune/gdt/spaces/interface.hh
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
// This file is part of the dune-gdt project: // https://github.com/dune-community/dune-gdt // Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved. // License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // or GPL-2.0+ (http://opensource.org/lice...
add interpolation_points()
[python|spaces] add interpolation_points()
C++
bsd-2-clause
pymor/dune-gdt
c72b0f3d9772bee9457153aee533530299a49286
python/generate-python-bindings.cpp
python/generate-python-bindings.cpp
/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: python/generate-python-bindings.cpp * * Copyright 2016 Patrik Huber * * 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 cop...
/* * eos - A 3D Morphable Model fitting library written in modern C++11/14. * * File: python/generate-python-bindings.cpp * * Copyright 2016 Patrik Huber * * 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 cop...
Remove conversion to glm in estimate_orthographic_projection_linear() binding
Remove conversion to glm in estimate_orthographic_projection_linear() binding
C++
apache-2.0
patrikhuber/eos,patrikhuber/eos,icyrizard/eos,patrikhuber/eos,icyrizard/eos,icyrizard/eos
9943576fe795678f9d58e48bc93ed9a3284e8993
rclcpp/include/rclcpp/parameter.hpp
rclcpp/include/rclcpp/parameter.hpp
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
// Copyright 2015 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appli...
Use unsigned int8 to match the byte primitive type
Use unsigned int8 to match the byte primitive type
C++
apache-2.0
ros2/rclcpp,ros2/rclcpp
34843e66f3a897cd8adb42b8e906ae356f5785d2
src/test/fs_tests.cpp
src/test/fs_tests.cpp
// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // #include <fs.h> //#include <test/setup_common.h> //#include <util/system.h> #include <util.h> #include <boost/test/unit_te...
// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. // #include <fs.h> //#include <test/setup_common.h> //#include <util/system.h> #include <util.h> #include <boost/test/unit_te...
Remove the fs_tests test file after the test
Remove the fs_tests test file after the test
C++
mit
caraka/gridcoinresearch,Git-Jiro/Gridcoin-Research,gridcoin/Gridcoin-Research,caraka/gridcoinresearch,Git-Jiro/Gridcoin-Research,gridcoin/Gridcoin-Research,caraka/gridcoinresearch,gridcoin/Gridcoin-Research,Git-Jiro/Gridcoin-Research,gridcoin/Gridcoin-Research,caraka/gridcoinresearch,caraka/gridcoinresearch,Git-Jiro/Gr...
f3b7bb520dee28cea8a3472053fabf6dbe91e8c0
remoting/protocol/session_config.cc
remoting/protocol/session_config.cc
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/protocol/session_config.h" #include <algorithm> namespace remoting { namespace protocol { namespace { bool IsChannelConfigSuppo...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "remoting/protocol/session_config.h" #include <algorithm> namespace remoting { namespace protocol { namespace { bool IsChannelConfigSuppo...
Fix CandidateSessionConfig copy constructor to copy all fields.
Fix CandidateSessionConfig copy constructor to copy all fields. The constructor wasn't copying standard_ice field which breaks the case when older client connects to newer host. BUG=483325 Review URL: https://codereview.chromium.org/1125213003 Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#328631}
C++
bsd-3-clause
Just-D/chromium-1,TheTypoMaster/chromium-crosswalk,chuan9/chromium-crosswalk,Chilledheart/chromium,hgl888/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,Just-D/chromium-1,axinging/chromium-crosswalk,Fireblend/chromium-crosswalk,Just-D/chromium-...
f65d60e9dc8363c4247a2cbfa148b1f5763821a7
src/tool/exchange.cpp
src/tool/exchange.cpp
// Copyright 2016 Peter Georg // // 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 ...
// Copyright 2016 Peter Georg // // 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 ...
Correct num threads output
Correct num threads output
C++
apache-2.0
pjgeorg/pMR,pjgeorg/pMR,pjgeorg/pMR
2b309aa07b31f0ec27a8f6e6db46ec0b859402b2
highwayhash/data_parallel_benchmark.cc
highwayhash/data_parallel_benchmark.cc
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// Copyright 2017 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Update timer to absl
Update timer to absl
C++
apache-2.0
google/highwayhash,google/highwayhash,google/highwayhash,google/highwayhash
a3fefe42ce338077a894f3095324ac41da6ef8e4
himan-plugins/source/hybrid_height.cpp
himan-plugins/source/hybrid_height.cpp
/** * @file hybrid_height.cpp * * @date Apr 5, 2013 * @author peramaki */ #include "hybrid_height.h" #include "plugin_factory.h" #include "logger_factory.h" #include <boost/lexical_cast.hpp> #include <boost/thread.hpp> #define HIMAN_AUXILIARY_INCLUDE #include "neons.h" #include "radon.h" #undef HIMAN_AUXILIARY...
/** * @file hybrid_height.cpp * * @date Apr 5, 2013 * @author peramaki */ #include "hybrid_height.h" #include "plugin_factory.h" #include "logger_factory.h" #include <boost/lexical_cast.hpp> #include <boost/thread.hpp> #define HIMAN_AUXILIARY_INCLUDE #include "neons.h" #include "radon.h" #undef HIMAN_AUXILIARY...
initialize variable itsBottomLevel
initialize variable itsBottomLevel
C++
mit
fmidev/himan,fmidev/himan,fmidev/himan
8e40489e8b5558d7bfecfc8f62445f626dfbe26e
himan-plugins/source/monin_obukhov.cpp
himan-plugins/source/monin_obukhov.cpp
/** * @file monin_obukhov.cpp * * Claculates the inverse of the Monin-Obukhov length. * */ #include <boost/lexical_cast.hpp> #include "forecast_time.h" #include "level.h" #include "logger_factory.h" #include "monin_obukhov.h" using namespace std; using namespace himan::plugin; monin_obukhov::monin_obukhov() { ...
/** * @file monin_obukhov.cpp * * Claculates the inverse of the Monin-Obukhov length. * */ #include <boost/lexical_cast.hpp> #include "forecast_time.h" #include "level.h" #include "logger_factory.h" #include "monin_obukhov.h" #include "metutil.h" using namespace std; using namespace himan::plugin; monin_obukho...
fix temperature in MOL to virtual temperature, and clarify calculation of 0.007 factor for LHF.
fix temperature in MOL to virtual temperature, and clarify calculation of 0.007 factor for LHF.
C++
mit
fmidev/himan,fmidev/himan,fmidev/himan
6f16d41c5a901fcef140e19f872c8f9b1ef3b0d4
modules/perception/obstacle/radar/modest/object_builder.cc
modules/perception/obstacle/radar/modest/object_builder.cc
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
use absolute velocity
perception: use absolute velocity
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
efd9e0ce45b4b41066b6d934e50afb46bc842e84
modules/planning/optimizer/dp_poly_path/trajectory_cost.cc
modules/planning/optimizer/dp_poly_path/trajectory_cost.cc
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
/****************************************************************************** * Copyright 2017 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
modify the increment pf path_s for more points to compute trajectory cost
modify the increment pf path_s for more points to compute trajectory cost
C++
apache-2.0
msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo,msbeta/apollo
74b7afc9c8f4614423591169b263dfb35e43eaae
examples/test.cc
examples/test.cc
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 https://mozilla.org/MPL/2.0/. */ #include <cassert> #include <cint...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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 https://mozilla.org/MPL/2.0/. */ #include <cassert> #include <cint...
Use enums rather than ints in test.cc.
Use enums rather than ints in test.cc.
C++
mpl-2.0
kinetiknz/mp4parse-rust,mozilla/mp4parse-rust,kinetiknz/mp4parse-rust
31355b0538e57e91a3a0d92e7c5bafbf6272e3ba
test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.pass.cpp
test/std/strings/char.traits/char.traits.specializations/char.traits.specializations.char8_t/length.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. // //===----------------------------------------...
Fix test on compilers that do not support char8_t yet
[libcxx] Fix test on compilers that do not support char8_t yet git-svn-id: 756ef344af921d95d562d9e9f9389127a89a6314@348846 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx,llvm-mirror/libcxx
2f6fa4cee4073264369a056d3e72b654a52176d7
backup-unit/browserunit.cpp
backup-unit/browserunit.cpp
#include "logging.h" #include <vault/unit.h> #include <QProcess> #include <QCoreApplication> #include <QVariantList> #include <QVariantMap> #include <QDebug> #include <QLoggingCategory> #include <sys/types.h> #include <signal.h> #include <set> #include <unistd.h> #include <stdexcept> void stop_browser() { qCDebug(...
#include "logging.h" #include <vault/unit.h> #include <QProcess> #include <QCoreApplication> #include <QVariantList> #include <QVariantMap> #include <QDebug> #include <QLoggingCategory> #include <QFileInfo> #include <QDir> #include <sys/types.h> #include <signal.h> #include <set> #include <unistd.h> #include <stdexcept...
Fix restoring old backups. Fixes JB#52318
[sailfish-browser] Fix restoring old backups. Fixes JB#52318 This moves the files around in the in memory copy of the archive before restoring it. This doesn't modify the archive itself because it is mounted with nosave option. Signed-off-by: Tomi Leppänen <5c72ffe736be5009d7fd5b3f191ca04ec28863e0@jolla.com>
C++
mpl-2.0
sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser,sailfishos/sailfish-browser
75e7c0e6de686b386286be7aa3b60465d50e98a2
Modules/Automatic/libs/Automatic.cpp
Modules/Automatic/libs/Automatic.cpp
#include "Automatic.h" #define PI 3.141592653589 #define Kland 1 #define THRE 0.15 #define DRATE_MIN 0.1 #define DRATE_MAX 0.4 #define VMAX 1.5 #define TMAX 2 #define TMIN 0.5 #define PLATFORM_OFFSET 0.1 Eigen::Quaterniond getQuatFromYaw(d...
#include "Automatic.h" #define PI 3.141592653589 #define Kland 1 #define THRE 0.15 #define DRATE_MIN 0.1 #define DRATE_MAX 0.4 #define VMAX 1.5 #define TMAX 2 #define TMIN 0.5 #define PLATFORM_OFFSET 0.1 Eigen::Quaterniond getQuatFromYaw(d...
remove fixed descend rate
remove fixed descend rate
C++
mit
EmaroLab/mocap2mav,EmaroLab/mocap2mav
69f914be7fbafd96531846cbabb365bc33544dac
graphics/meshes/spritemesh.cpp
graphics/meshes/spritemesh.cpp
#include "spritemesh.h" using namespace GluonGraphics; class SpriteMesh::SpriteMeshPrivate { public: QSizeF size; }; SpriteMesh::SpriteMesh(QObject * parent) :Mesh(parent) { d = new SpriteMeshPrivate; setSize(QSizeF(1.0f, 1.0f)); } SpriteMesh::SpriteMesh(const QSizeF& rect, QObject * parent)...
#include "spritemesh.h" using namespace GluonGraphics; class SpriteMesh::SpriteMeshPrivate { public: QSizeF size; }; SpriteMesh::SpriteMesh(QObject * parent) :Mesh(parent) { d = new SpriteMeshPrivate; setSize(QSizeF(1.0f, 1.0f)); } SpriteMesh::SpriteMesh(const QSizeF& rect, QObject * parent)...
Add some texture coordinates. Fixes texture problems.
Add some texture coordinates. Fixes texture problems.
C++
lgpl-2.1
cgaebel/gluon,cgaebel/gluon,KDE/gluon,pranavrc/example-gluon,pranavrc/example-gluon,cgaebel/gluon,pranavrc/example-gluon,KDE/gluon,KDE/gluon,cgaebel/gluon,pranavrc/example-gluon,KDE/gluon
1c97e606618a35973f4c608d150e384c5c526263
include/blackhole/detail/sink/file.hpp
include/blackhole/detail/sink/file.hpp
#pragma once #include "blackhole/sink/file.hpp" #include <fstream> #include <limits> #include <map> #include "blackhole/cpp17/string_view.hpp" namespace blackhole { namespace sink { namespace file { struct backend_t { std::size_t counter; std::size_t interval; std::unique_ptr<std::ofstream> stream; ...
#pragma once #include "blackhole/sink/file.hpp" #include <fstream> #include <limits> #include <map> #include <boost/assert.hpp> #include "blackhole/cpp17/string_view.hpp" namespace blackhole { namespace sink { namespace file { struct backend_t { std::size_t counter; std::size_t interval; std::unique_p...
add another forgotten include
fix(sink/file): add another forgotten include
C++
mit
noxiouz/blackhole,3Hren/blackhole
47fbf32c62cabdb4adce86e72d046cb66998ecda
src/videorenderer.cpp
src/videorenderer.cpp
/**************************************************************************** * Copyright (C) 2012-2013 by Savoir-Faire Linux * * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> * * * * Thi...
/**************************************************************************** * Copyright (C) 2012-2013 by Savoir-Faire Linux * * Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> * * * * Thi...
Add #include <KLocale> where necessary
Add #include <KLocale> where necessary
C++
lgpl-2.1
KDE/libringclient,savoirfairelinux/ring-lrc,KDE/libringclient,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,savoirfairelinux/ring-lrc,KDE/libringclient
25f2158b482553c947ce77414aaf40db9876b6cb
host/commands/wifirouter/router.cc
host/commands/wifirouter/router.cc
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
trim unix socket path length.
trim unix socket path length. This change fixes unix socket path: @cvd-wifirouter@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@... to @cvd-wifirouter Change-Id: Ib49d5248c4eb39b9678f61450bd51da4918f7b7f
C++
apache-2.0
google/android-cuttlefish,google/android-cuttlefish,google/android-cuttlefish,google/android-cuttlefish,google/android-cuttlefish,google/android-cuttlefish,google/android-cuttlefish
21674ab156c0a01b7b9ad8efa01ecb33ca5248f8
iRODS/lib/api/include/fileOpen.hpp
iRODS/lib/api/include/fileOpen.hpp
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* fileOpen.h - This file may be generated by a program or script */ #ifndef FILE_OPEN_HPP #define FILE_OPEN_HPP /* This is a low level file type API call */ ...
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* fileOpen.h - This file may be generated by a program or script */ #ifndef FILE_OPEN_HPP #define FILE_OPEN_HPP /* This is a low level file type API call */ ...
move rodsLong_t to end of packing instruction for safety
[#2248] move rodsLong_t to end of packing instruction for safety
C++
bsd-3-clause
PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,PaulVanSchayck/irods,janiheikkinen/irods,PaulVanSchayck/irods,PaulVanSchayck/irods,janiheikkinen/irods,janiheikkinen/irods,janiheikkinen...
24bc5c3a40af99115ecbcf6a83bd3be66a93b95b
gui/apitrace.cpp
gui/apitrace.cpp
#include "apitrace.h" #include "traceloader.h" #include "saverthread.h" #include <QDebug> #include <QDir> #include <QThread> ApiTrace::ApiTrace() : m_needsSaving(false) { m_loader = new TraceLoader(); connect(this, SIGNAL(loadTrace(QString)), m_loader, SLOT(loadTrace(QString))); connect(...
#include "apitrace.h" #include "traceloader.h" #include "saverthread.h" #include <QDebug> #include <QFileInfo> #include <QDir> #include <QThread> ApiTrace::ApiTrace() : m_needsSaving(false) { m_loader = new TraceLoader(); connect(this, SIGNAL(loadTrace(QString)), m_loader, SLOT(loadTrace(QSt...
Use only the file name portion for the temporary edited trace.
gui: Use only the file name portion for the temporary edited trace.
C++
mit
trtt/apitrace,tuanthng/apitrace,apitrace/apitrace,apitrace/apitrace,surround-io/apitrace,joshua5201/apitrace,joshua5201/apitrace,tuanthng/apitrace,schulmar/apitrace,EoD/apitrace,surround-io/apitrace,apitrace/apitrace,swq0553/apitrace,trtt/apitrace,swq0553/apitrace,swq0553/apitrace,joshua5201/apitrace,surround-io/apitra...
d9a73568b0a26c57d0fac8ee97550d0989b9c321
gui/retracer.cpp
gui/retracer.cpp
#include "retracer.h" #include "apitracecall.h" #include "thumbnail.h" #include "image.hpp" #include "trace_profiler.hpp" #include <QDebug> #include <QVariant> #include <QList> #include <QImage> #include <qjson/parser.h> /** * Wrapper around a QProcess which enforces IO to block . * * Several QIODevice users (...
#include "retracer.h" #include "apitracecall.h" #include "thumbnail.h" #include "image.hpp" #include "trace_profiler.hpp" #include <QDebug> #include <QVariant> #include <QList> #include <QImage> #include <qjson/parser.h> /** * Wrapper around a QProcess which enforces IO to block . * * Several QIODevice users (...
Allow BlockingIO read of profiling results.
Allow BlockingIO read of profiling results.
C++
mit
tuanthng/apitrace,apitrace/apitrace,apitrace/apitrace,apitrace/apitrace,swq0553/apitrace,tuanthng/apitrace,PeterLValve/apitrace,trtt/apitrace,EoD/apitrace,joshua5201/apitrace,EoD/apitrace,EoD/apitrace,tuanthng/apitrace,schulmar/apitrace,EoD/apitrace,swq0553/apitrace,surround-io/apitrace,swq0553/apitrace,swq0553/apitrac...
4cffb1eae71680ecf55832821950f81b4a067508
hal/avr32/serial_usb_avr32.cpp
hal/avr32/serial_usb_avr32.cpp
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * 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...
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * 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...
Fix bug with usb on avr32, flush waits forever if not plugged
Fix bug with usb on avr32, flush waits forever if not plugged
C++
bsd-3-clause
lis-epfl/MAVRIC_Library,lis-epfl/MAVRIC_Library,lis-epfl/MAVRIC_Library
493e29bc3df0c6e4507537a580e0b4687705e0b1
handler/win/loader_lock_dll.cc
handler/win/loader_lock_dll.cc
// Copyright 2016 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
// Copyright 2016 The Crashpad Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
Use correct format specifier
win: Use correct format specifier This caused an error with clang, but not msvc. At first I thought this might be a discrepancy between the warning levels used, but it appears msvc was okay with this because ints are the same size as longs. Change-Id: I798284fef9aa70b1bfda73308b9babe1779e8f4b Reviewed-on: https://chr...
C++
apache-2.0
chromium/crashpad,chromium/crashpad,chromium/crashpad
adb9e4a145054eefe7dbe96bb7998504ff9047c7
src/yubikeyfinder.cpp
src/yubikeyfinder.cpp
/* Copyright (C) 2011-2013 Yubico AB. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
/* Copyright (C) 2011-2013 Yubico AB. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
clear touchLevel when initing
clear touchLevel when initing
C++
bsd-2-clause
eworm-de/yubikey-personalization-gui,eworm-de/yubikey-personalization-gui,Yubico/yubikey-personalization-gui,eworm-de/yubikey-personalization-gui,Yubico/yubikey-personalization-gui,Yubico/yubikey-personalization-gui
760204bc776ec519a95793837d2e47a8d888f9cd
include/date.hpp
include/date.hpp
//======================================================================= // Copyright (c) 2013-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) 2013-2014 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=================================================================...
Fix bug in date
Fix bug in date
C++
mit
wichtounet/budgetwarrior,wichtounet/budgetwarrior,wichtounet/budgetwarrior
dd5873868519eba553b3cacc810c045a02960948
test/ProtocolTest.cpp
test/ProtocolTest.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. */ #include <w...
/** * 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. */ #include <w...
fix two typos
wdt/test/ProtocolTest.cpp: fix two typos Summary: Fix two typos. Not only is nbd.dataSize always going to be equal to itself, but from context, it is clear that the RHS should use "bd", not "nbd": EXPECT_EQ(nbd.fileSize, bd.fileSize); EXPECT_EQ(nbd.offset, bd.offset); EXPECT_EQ(nbd.dataSize, nbd.dataSize); ...
C++
bsd-3-clause
ldemailly/wdt,ldemailly/wdt,ldemailly/wdt,ldemailly/wdt,luluandleilei/wdt,luluandleilei/wdt,luluandleilei/wdt,luluandleilei/wdt
9b312d51aafbe8578d87486613cbed50d30d3529
include/bulk/partitioned_array.hpp
include/bulk/partitioned_array.hpp
/** * A partitioned array is a co-array with a special structure. Locally it * behaves like a nD array, indexable using `local`. It also knows about the * global structure through its associated partitioning. * - The data is stored linearly. * - A partitioning is defined in a general way, and contains functions for ow...
/** * A partitioned array is a co-array with a special structure. Locally it * behaves like a nD array, indexable using `local`. It also knows about the * global structure through its associated partitioning. * - The data is stored linearly. * - A partitioning is defined in a general way, and contains functions for ow...
Extend partitioned array interface
Extend partitioned array interface
C++
mit
jwbuurlage/Bulk
a67cdd126b125632202566bd21228073b31c2832
src/rpc/mailbox/mailbox.cc
src/rpc/mailbox/mailbox.cc
// Copyright 2010-2012 RethinkDB, all rights reserved. #define __STDC_LIMIT_MACROS #define __STDC_FORMAT_MACROS #include "rpc/mailbox/mailbox.hpp" #include <stdint.h> #include "errors.hpp" #include <boost/bind.hpp> #include "containers/archive/archive.hpp" #include "containers/archive/vector_stream.hpp" #include "co...
// Copyright 2010-2012 RethinkDB, all rights reserved. #define __STDC_LIMIT_MACROS #define __STDC_FORMAT_MACROS #include "rpc/mailbox/mailbox.hpp" #include <stdint.h> #include "errors.hpp" #include <boost/bind.hpp> #include "containers/archive/archive.hpp" #include "containers/archive/vector_stream.hpp" #include "co...
Fix signed and unsigned integer comparison. Closes #1929.
Fix signed and unsigned integer comparison. Closes #1929.
C++
apache-2.0
gavioto/rethinkdb,robertjpayne/rethinkdb,matthaywardwebdesign/rethinkdb,gdi2290/rethinkdb,mquandalle/rethinkdb,rrampage/rethinkdb,sebadiaz/rethinkdb,eliangidoni/rethinkdb,gavioto/rethinkdb,bchavez/rethinkdb,sontek/rethinkdb,losywee/rethinkdb,niieani/rethinkdb,mbroadst/rethinkdb,Qinusty/rethinkdb,KSanthanam/rethinkdb,wo...
a18927a0b1a00c5fe3a8ccec069eec55d112634a
include/mapnik/wkt/wkt_factory.hpp
include/mapnik/wkt/wkt_factory.hpp
/***************************************************************************** * * 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...
Add include
Add include
C++
lgpl-2.1
qianwenming/mapnik,cjmayo/mapnik,zerebubuth/mapnik,mapnik/python-mapnik,CartoDB/mapnik,mbrukman/mapnik,rouault/mapnik,kapouer/mapnik,mapycz/mapnik,strk/mapnik,sebastic/python-mapnik,mapycz/mapnik,naturalatlas/mapnik,mbrukman/mapnik,strk/mapnik,Uli1/mapnik,naturalatlas/mapnik,cjmayo/mapnik,mapycz/python-mapnik,Uli1/mapn...
7b1b084af768c7fe076f520e2329019b26928598
include/pajlada/settings/types.hpp
include/pajlada/settings/types.hpp
#pragma once namespace pajlada { namespace Settings { // Custom "JSON Object {}" type struct Object { }; // Custom "JSON Array []" type struct Array { }; } // namespace Settings } // namespace pajlada
#pragma once namespace pajlada { namespace Settings { // Custom "JSON Object {}" type struct Object { bool operator==(const Object &rhs) { return false; } }; // Custom "JSON Array []" type struct Array { bool operator==(const Array &rhs) { return false; } }; } // namespace S...
Create two dummy ==operators for Object/Array
Create two dummy ==operators for Object/Array
C++
mit
pajlada/settings,pajlada/settings
79f1583f32784ce0bd37d0a7e213df7b09c1cf62
lib/sanitizer_common/sanitizer_tls_get_addr.cc
lib/sanitizer_common/sanitizer_tls_get_addr.cc
//===-- sanitizer_tls_get_addr.cc -----------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- sanitizer_tls_get_addr.cc -----------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Correct Dynamic Thread Vector offset for MIPS
[Compiler-rt][MIPS] Correct Dynamic Thread Vector offset for MIPS Reviewers: samsonov Subscribers: dsanders, jaydeep, sagar, llvm-commits Differential Revision: http://reviews.llvm.org/D17703 git-svn-id: c199f293c43da69278bea8e88f92242bf3aa95f7@262303 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
9e3a7626fc5c86e09822806e84c5342d332867f7
include/Nazara/Graphics/Sprite.inl
include/Nazara/Graphics/Sprite.inl
// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Error.hpp> #include <memory> #include <Nazara/Renderer/Debug.hpp> namespace Nz { /*! * \brief Constructs a Sprite ob...
// Copyright (C) 2015 Jérôme Leclercq // This file is part of the "Nazara Engine - Graphics module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Error.hpp> #include <memory> #include <Nazara/Renderer/Debug.hpp> namespace Nz { /*! * \brief Constructs a Sprite ob...
Fix origin not being initialized/copied
Graphics/Sprite: Fix origin not being initialized/copied Former-commit-id: 790b49278d8cf7c1800f559cf0d29d65d0834b08 [formerly 93b247cc3433a5ac7c0f5a5ef48b0cf7a0c0f9dc] [formerly 9d6210ac2449aa5dc0d74d9a3cb256480e095008 [formerly 4ccda8249177b9ba5daa5406fd57f17b483cd81c]] Former-commit-id: 22dcc8245a3ec0774c1723f88682...
C++
mit
DigitalPulseSoftware/NazaraEngine
cad9eb846657a4c03b623368b9a0a79236613f7b
test/handler_mock.hpp
test/handler_mock.hpp
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD
test: Replace the C++ MOCK_METHOD<n> macros with the new MOCK_METHOD Change-Id: If9d29d7a4706204dfda6b698388f72e442ab2d98 Signed-off-by: Willy Tu <1e3df9bf0ac020872e0e39905eae1676fb455af4@google.com>
C++
apache-2.0
openbmc/google-ipmi-sys
5dc5b2c48f708d7dde4eaddf2313112894e8a284
include/ResourceManager/Logger.hpp
include/ResourceManager/Logger.hpp
//////////////////////////////////////////////////////////// // // The MIT License (MIT) // // Copyright (c) 2014 stevehalliwell // // 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 ...
//////////////////////////////////////////////////////////// // // The MIT License (MIT) // // Copyright (c) 2014 stevehalliwell // // 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 ...
test 2
test 2
C++
mit
stevehalliwell/sfml-resman
f367495e314cf46ecc72f77203d52d3caa3b6957
include/chemfiles/files/NcFile.hpp
include/chemfiles/files/NcFile.hpp
/* Chemfiles, an efficient IO library for chemistry file_ formats * Copyright (C) 2015 Guillaume Fraux * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file_, You can obtain one at http://mozilla.org/MPL/2.0/ */ #include "ch...
/* Chemfiles, an efficient IO library for chemistry file_ formats * Copyright (C) 2015 Guillaume Fraux * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file_, You can obtain one at http://mozilla.org/MPL/2.0/ */ #include "ch...
Fix a buffer overflow reading static memory
Fix a buffer overflow reading static memory
C++
bsd-3-clause
chemfiles/chemfiles,lscalfi/chemfiles,Luthaf/Chemharp,chemfiles/chemfiles,chemfiles/chemfiles,lscalfi/chemfiles,Luthaf/Chemharp,chemfiles/chemfiles,lscalfi/chemfiles,lscalfi/chemfiles,Luthaf/Chemharp
6ed37ba1b5e4dff62548f41abd7c6fa5f6dd6905
test/fuzzers/audio_processing_configs_fuzzer.cc
test/fuzzers/audio_processing_configs_fuzzer.cc
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Enable fuzzer testing of old render buffering code.
AEC3: Enable fuzzer testing of old render buffering code. The old render buffering code has been replaced, but can still be activated by a killswitch. This change enables fuzzer testing of the old code path. Bug: webrtc:9726 Change-Id: I6e91cd4b4a95388cc63d1a65dade21b3c44be71b Reviewed-on: https://webrtc-review.googl...
C++
bsd-3-clause
TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc,TimothyGu/libilbc
d48ed1df2890524e4218329750ab1beecde7c5ed
mcrouter/test/cpp_unit_tests/MemcacheLocal.cpp
mcrouter/test/cpp_unit_tests/MemcacheLocal.cpp
#include "MemcacheLocal.h" #include <vector> #include "folly/FileUtil.h" #include "folly/Memory.h" #include "mcrouter/config.h" using namespace folly; using namespace std; namespace facebook { namespace memcache { namespace test { // constants const std::string MemcacheLocal::kHostName = "localhost"; const int Mem...
#include "MemcacheLocal.h" #include <vector> #include "folly/FileUtil.h" #include "folly/Memory.h" #include "mcrouter/config.h" using namespace folly; using namespace std; namespace facebook { namespace memcache { namespace test { // constants const std::string MemcacheLocal::kHostName = "localhost"; const int Mem...
Fix open source build
Fix open source build Summary: O_CREAT needs third argument, mode Test Plan: build mcrouter Reviewed By: gunjan@fb.com FB internal diff: D1407061
C++
bsd-3-clause
leitao/mcrouter,yqzhang/mcrouter,apinski-cavium/mcrouter,nvaller/mcrouter,tempbottle/mcrouter,is00hcw/mcrouter,facebook/mcrouter,reddit/mcrouter,reddit/mcrouter,leitao/mcrouter,yqzhang/mcrouter,reddit/mcrouter,apinski-cavium/mcrouter,seem-sky/mcrouter,easyfmxu/mcrouter,facebook/mcrouter,tempbottle/mcrouter,evertrue/mcr...
6c937e2082afc000a2d39384baaf189219b39a59
include/tudocomp/io/BitIStream.hpp
include/tudocomp/io/BitIStream.hpp
#ifndef _INCLUDED_BIT_ISTREAM_HPP #define _INCLUDED_BIT_ISTREAM_HPP #include <climits> #include <cstdint> #include <iostream> namespace tudocomp { namespace io { /// Wrapper over an istream that can be used to read single bits. /// /// Read bytes are buffered on the inside until all bits of them had been read. class...
#ifndef _INCLUDED_BIT_ISTREAM_HPP #define _INCLUDED_BIT_ISTREAM_HPP #include <climits> #include <cstdint> #include <iostream> namespace tudocomp { namespace io { /// Wrapper over an istream that can be used to read single bits. /// /// Read bytes are buffered on the inside until all bits of them had been read. class...
Use size_t as default type for read_compressed_int<T>
Use size_t as default type for read_compressed_int<T>
C++
apache-2.0
tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp,tudocomp/tudocomp
446e4acfb6b801b29f437595ca564a66cb63f4e9
src/shared-application.cpp
src/shared-application.cpp
#include "shared-application.h" #include <QtGlobal> #ifdef Q_OS_WIN32 #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif #ifndef __MSVCRT__ #define __MSVCRT__ #endif #include <process.h> #else #include <pthread.h> #endif #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #include <event2/even...
#include "shared-application.h" #include <QtGlobal> #ifdef Q_OS_WIN32 #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif #ifndef __MSVCRT__ #define __MSVCRT__ #endif #include <process.h> #else #include <pthread.h> #endif #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #include <event2/even...
fix shared application issue on windows
fix shared application issue on windows
C++
apache-2.0
daodaoliang/seafile-client,lucius-feng/seafile-client,haiwen/seafile-client,wgaalves/seafile-client,lucius-feng/seafile-client,lucius-feng/seafile-client,haiwen/seafile-client,lucius-feng/seafile-client,daodaoliang/seafile-client,daodaoliang/seafile-client,losingle/seafile-client,wgaalves/seafile-client,losingle/seafil...
a9a537ab28f6c5ad06dd286a3213adf5a10d7586
lib/Trace/TraceThreadListener.cpp
lib/Trace/TraceThreadListener.cpp
//===- lib/Trace/TraceThreadListener.cpp ----------------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
//===- lib/Trace/TraceThreadListener.cpp ----------------------------------===// // // SeeC // // This file is distributed under The MIT License (MIT). See LICENSE.TXT for // details. // //===----------------------------------------------------------------------===// /// /// \file ///...
Fix macro check for existence of sigtimedwait() on non-apple platforms.
Fix macro check for existence of sigtimedwait() on non-apple platforms.
C++
mit
mheinsen/seec,seec-team/seec,mheinsen/seec,mheinsen/seec,seec-team/seec,mheinsen/seec,seec-team/seec,seec-team/seec,mheinsen/seec,seec-team/seec
3429bcf8f33487f52b31136be6c294798e2afdca
src/lib/xmlParse/xmlRegisterContextResponse.cpp
src/lib/xmlParse/xmlRegisterContextResponse.cpp
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
/* * * Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U * * This file is part of Orion Context Broker. * * Orion Context Broker 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 ...
Remove PRINTF macro
Remove PRINTF macro
C++
agpl-3.0
Fiware/data.Orion,jmcanterafonseca/fiware-orion,Fiware/context.Orion,j1fig/fiware-orion,McMutton/fiware-orion,yalp/fiware-orion,McMutton/fiware-orion,pacificIT/fiware-orion,McMutton/fiware-orion,guerrerocarlos/fiware-orion,gavioto/fiware-orion,fiwareulpgcmirror/fiware-orion,gavioto/fiware-orion,telefonicaid/fiware-orio...
f2b5605c0e2701e90e1139c3e6b947754f0149a0
vespalog/src/vespa/log/log.cpp
vespalog/src/vespa/log/log.cpp
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "log.h" LOG_SETUP_INDIRECT(".log", "$Id$"); #undef LOG #define LOG LOG_INDIRECT #include "lock.h" #include "log-target.h" #include "internal.h" #include "control-file.h" #include "bufferedl...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "log.h" LOG_SETUP_INDIRECT(".log", "$Id$"); #undef LOG #define LOG LOG_INDIRECT #include "lock.h" #include "log-target.h" #include "internal.h" #include "control-file.h" #include "bufferedl...
Use functor with overloaded methods instead of overloaded functions to avoid warning about unused function.
Use functor with overloaded methods instead of overloaded functions to avoid warning about unused function.
C++
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
322db895a6756924f969f48fc9ce6853464e5c88
veuilib/include/vscloading.hpp
veuilib/include/vscloading.hpp
#ifndef __VSC_LOADING_HPP__ #define __VSC_LOADING_HPP__ #include <QDialog> #include <QTimer> #include <QLabel> #include <QMovie> #include <QThread> #include "factory.hpp" #include "utility.hpp" #include "debug.hpp" using namespace UtilityLib; class VE_LIBRARY_API VSCLoading : public QWidget { Q_OBJECT public: VSCL...
#ifndef __VSC_LOADING_HPP__ #define __VSC_LOADING_HPP__ #include <QDialog> #include <QTimer> #include <QLabel> #include <QMovie> #include <QThread> #include "factory.hpp" #include "utility.hpp" #include "debug.hpp" using namespace UtilityLib; class VE_LIBRARY_API VSCLoading : public QWidget { Q_OBJECT public: VSCL...
add processing for loading
add processing for loading
C++
mit
veyesys/opencvr,xsmart/opencvr,telecamera/opencvr,telecamera/opencvr,xiaojuntong/opencvr,xiaojuntong/opencvr,xiaojuntong/opencvr,xiaojuntong/opencvr,herocodemaster/opencvr,xsmart/opencvr,veyesys/opencvr,telecamera/opencvr,herocodemaster/opencvr,veyesys/opencvr,xsmart/opencvr,xsmart/opencvr,veyesys/opencvr,veyesys/openc...
50f252cc13df6962dbde592079fceabcf4076d23
src/BinaryTree.hpp
src/BinaryTree.hpp
#pragma once #ifndef BinaryTree_disabled #ifndef BinaryTree_defined // ReSharper disable CppUnusedIncludeDirective #include <memory> #include <functional> #include <stack> /** * \brief 遍历方式 */ enum class Order{ PreOrder, InOrder, PostOrder, }; /** * \brief 二叉树的节点类型 * \tparam T 数据类型 */ template<typename T, ...
#pragma once #ifndef BinaryTree_disabled #ifndef BinaryTree_defined // ReSharper disable CppUnusedIncludeDirective #include <memory> #include <functional> #include <stack> /** * \brief 遍历方式 */ enum class Order{ PreOrder, InOrder, PostOrder, }; /** * \brief 二叉树的节点类型 * \tparam T 数据类型 */ template<typename T, ...
UPDATE use class for BinaryTree
UPDATE use class for BinaryTree
C++
mit
Librazy/DataStructureExps
dda0491dc1af245bce3c5fb28ccbf0235131dffc
src/MQTT433gateway.cpp
src/MQTT433gateway.cpp
/** MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (th...
/** MQTT433gateway - MQTT 433.92 MHz radio gateway utilizing ESPiLight Project home: https://github.com/puuu/MQTT433gateway/ The MIT License (MIT) Copyright (c) 2016 Puuu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (th...
add missing return in setupMdns()
MQTT433gateway: add missing return in setupMdns()
C++
mit
puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway,puuu/MQTT433gateway
9a8fd60a42714940b2936d67e5d87e5ed9fca57f
src/sn_Thread/rwspin_lock.hpp
src/sn_Thread/rwspin_lock.hpp
#ifndef SN_THREAD_RWSPIN_LOCK_H #define SN_THREAD_RWSPIN_LOCK_H #include <atomic> #include <memory> #include <thread> #if defined(__GNUC__) #define likely(x) __builtin_expect ((x), 1) #define unlikely(x) __builtin_expect ((x), 0) #else #define likely(x) x #define unlikely(x) x #endif namespace sn_Thread { ...
#ifndef SN_THREAD_RWSPIN_LOCK_H #define SN_THREAD_RWSPIN_LOCK_H #include <atomic> #include <memory> #include <thread> #if defined(__GNUC__) #define likely(x) __builtin_expect ((x), 1) #define unlikely(x) __builtin_expect ((x), 0) #else #define likely(x) x #define unlikely(x) x #endif namespace sn_Thread { ...
Update shared_lock
Update shared_lock
C++
mit
Airtnp/SuperNaiveCppLib
313627a80b1853f90e42bed080f573efb33f6223
src/Network/Server.cpp
src/Network/Server.cpp
#include <fstream> #include "Server.hpp" #include "NetworkEvents.hpp" namespace DrawAttack { Server::Server(unsigned short port, std::string wordFilename) : m_port(port) , m_running(false) , m_wordFilename(wordFilename) , m_mode(Wait) , m_currentDrawer(nullptr) { std::ifstream wordFile(wordFilename); std::string ...
#include <fstream> #include "Server.hpp" #include "NetworkEvents.hpp" namespace DrawAttack { Server::Server(unsigned short port, std::string wordFilename) : m_port(port) , m_running(false) , m_wordFilename(wordFilename) , m_mode(Wait) , m_currentDrawer(nullptr) { std::ifstream wordFile(wordFilename); std::string ...
Fix iteration bug causing seg fault
Fix iteration bug causing seg fault
C++
mit
Cruel/DrawAttack,cpp3ds/Pictionary3DS
dd9af2f18bda561ab8c2565687be161c33539c5a
deal.II/base/source/parsed_function.cc
deal.II/base/source/parsed_function.cc
//--------------------------------------------------------------------------- // $Id: function_parser.h 14594 2007-03-22 20:17:41Z bangerth $ // Version: $Name$ // // Copyright (C) 2007 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license i...
//--------------------------------------------------------------------------- // $Id: function_parser.h 14594 2007-03-22 20:17:41Z bangerth $ // Version: $Name$ // // Copyright (C) 2007, 2008 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and lic...
Patch by Dima Sorkin: Include cstdio for sscanf.
Patch by Dima Sorkin: Include cstdio for sscanf. git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@16757 0785d39b-7218-0410-832d-ea1e28bc413d
C++
lgpl-2.1
JaeryunYim/dealii,sriharisundar/dealii,YongYang86/dealii,danshapero/dealii,EGP-CIG-REU/dealii,sairajat/dealii,lue/dealii,shakirbsm/dealii,lue/dealii,johntfoster/dealii,andreamola/dealii,flow123d/dealii,lue/dealii,kalj/dealii,mac-a/dealii,pesser/dealii,ibkim11/dealii,adamkosik/dealii,danshapero/dealii,jperryhouts/dealii...
0088a9b823bd82b3e8c4999661cdf31435f5e6e5
src/Plugins/stocks.cpp
src/Plugins/stocks.cpp
#include "./include/http.hpp" #include "./include/json.hpp" namespace Stocks { std::string get_stock_summary(const std::string& q) { std::string response = ""; if ( MyHTTP::get("https://www.google.com/finance/info?q=" + q.substr(0, q.find(" ")), response) ) { response.erase(0, 5); // erase first five charac...
#include "./include/http.hpp" #include "./include/json.hpp" #include <stdexcept> namespace Stocks { std::string get_stock_summary(const std::string& q) { std::string response = ""; try { if ( MyHTTP::get("https://www.google.com/finance/info?q=" + MyHTTP::uri_encode(q.substr(0, q.find(" ")) ), response) ) {...
add exception handling to stocks plugin
add exception handling to stocks plugin
C++
mit
c650/irc-bot-framework,c650/irc-bot-framework
66e7a979996b89918f7a7c1641c275b0a84b7938
unittests/MC/AsmStreamerTest.cpp
unittests/MC/AsmStreamerTest.cpp
//===- AsmStreamerTest.cpp - Triple unit tests ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- AsmStreamerTest.cpp - Triple unit tests ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
Adjust unit test for the MCSection changes.
Adjust unit test for the MCSection changes. git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@77714 91177308-0d34-0410-b5e6-96231b3b80d8
C++
apache-2.0
GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,GPUOpen-Drivers/llvm,chubbymaggie/asap,llvm-mirror/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,dslab-epfl/asap,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,dslab-epfl/asap,GPUOpen-Drivers/llvm,llvm-mir...
78b331766ab66827165549fdd6b62db87305c750
src/TestimonySource.cc
src/TestimonySource.cc
// See the file in the main distribution directory for copyright. #include <zeek/zeek-config.h> #include "TestimonySource.h" #include <zeek/iosource/Packet.h> #include <zeek/iosource/BPF_Program.h> #include <unistd.h> #include <zeek/Event.h> using namespace ZEEK_IOSOURCE_NS::testimony; TestimonySource::~Testimon...
// See the file in the main distribution directory for copyright. #include <zeek/zeek-config.h> #include "TestimonySource.h" #include <zeek/iosource/Packet.h> #include <zeek/iosource/BPF_Program.h> #include <unistd.h> #include <zeek/Event.h> using namespace ZEEK_IOSOURCE_NS::testimony; TestimonySource::~Testimon...
Fix broken stats reporting
Fix broken stats reporting Since the function was returning before setting the stats, pkts_proc and bytes_recv are always 0. Moving the return to after setting the stats results in the values being shown in stats.log
C++
bsd-2-clause
MalakhatkoVadym/zeek-testimony-plugin,MalakhatkoVadym/zeek-testimony-plugin
355e4ba60640724c4325f248e19982ec4e8bf4f4
generators/utilities/src/main/resources/csrc/emulator.cc
generators/utilities/src/main/resources/csrc/emulator.cc
// See LICENSE.SiFive for license details. // See LICENSE.Berkeley for license details. #if VM_TRACE #include <memory> #if CY_FST_TRACE #include "verilated_fst_c.h" #else #include "verilated.h" #include "verilated_vcd_c.h" #endif // CY_FST_TRACE #endif // VM_TRACE #include <fesvr/dtm.h> #include <fesvr/tsi.h> #include...
// See LICENSE.SiFive for license details. // See LICENSE.Berkeley for license details. #if VM_TRACE #include <memory> #if CY_FST_TRACE #include "verilated_fst_c.h" #else #include "verilated.h" #include "verilated_vcd_c.h" #endif // CY_FST_TRACE #endif // VM_TRACE #include <fesvr/dtm.h> #include <fesvr/tsi.h> #include...
Change to filter all arguments that begin with a '-'
Change to filter all arguments that begin with a '-'
C++
bsd-3-clause
ucb-bar/chipyard,ucb-bar/chipyard,ucb-bar/chipyard,ucb-bar/chipyard
2be73c65f9af9294fe4b76a7bfd4d2b449227cdb
Interpret/SmartView/PropertiesStruct.cpp
Interpret/SmartView/PropertiesStruct.cpp
#include <StdAfx.h> #include <Interpret/SmartView/PropertiesStruct.h> #include <Interpret/InterpretProp.h> #include <Interpret/SmartView/SmartView.h> namespace smartview { void PropertiesStruct::Parse() { // For consistancy with previous parsings, we'll refuse to parse if asked to parse more than _MaxEntriesSmall ...
#include <StdAfx.h> #include <Interpret/SmartView/PropertiesStruct.h> #include <Interpret/InterpretProp.h> #include <Interpret/SmartView/SmartView.h> namespace smartview { void PropertiesStruct::Parse() { // For consistancy with previous parsings, we'll refuse to parse if asked to parse more than _MaxEntriesSmall ...
build properties under a node
build properties under a node
C++
mit
stephenegriffin/mfcmapi,stephenegriffin/mfcmapi,stephenegriffin/mfcmapi
a2cd00a32ceabbec2ff4fbc1acf11238f103ab4f
Modules/Learning/Supervised/include/otbKNearestNeighborsMachineLearningModel.hxx
Modules/Learning/Supervised/include/otbKNearestNeighborsMachineLearningModel.hxx
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
read the number of neighbor when using OpenCV >= 3 in KNearestNeighborsMachineLearningModel instead of using the default constructed value
BUG: read the number of neighbor when using OpenCV >= 3 in KNearestNeighborsMachineLearningModel instead of using the default constructed value
C++
apache-2.0
orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB
1ac7d3dccb66375e59847a4c4310d7c2aa74c601
include/dll/neural/batch_normalization_2d_layer_impl.hpp
include/dll/neural/batch_normalization_2d_layer_impl.hpp
//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================================...
Make BN fast for static layer
Make BN fast for static layer
C++
mit
wichtounet/dll,wichtounet/dll,wichtounet/dll
fbff189e556bcb7c8fd5770b8aa4656d63d690c1
src/clustering/immediate_consistency/branch/backfiller.cc
src/clustering/immediate_consistency/branch/backfiller.cc
#include "clustering/immediate_consistency/branch/backfiller.hpp" #include "btree/parallel_traversal.hpp" #include "clustering/immediate_consistency/branch/history.hpp" #include "clustering/immediate_consistency/branch/multistore.hpp" #include "concurrency/fifo_enforcer.hpp" #include "concurrency/semaphore.hpp" #inclu...
#include "clustering/immediate_consistency/branch/backfiller.hpp" #include "btree/parallel_traversal.hpp" #include "clustering/immediate_consistency/branch/history.hpp" #include "clustering/immediate_consistency/branch/multistore.hpp" #include "concurrency/fifo_enforcer.hpp" #include "concurrency/semaphore.hpp" #inclu...
Improve comment.
Improve comment.
C++
agpl-3.0
rrampage/rethinkdb,AtnNn/rethinkdb,pap/rethinkdb,niieani/rethinkdb,greyhwndz/rethinkdb,mquandalle/rethinkdb,grandquista/rethinkdb,gavioto/rethinkdb,elkingtonmcb/rethinkdb,catroot/rethinkdb,wojons/rethinkdb,niieani/rethinkdb,victorbriz/rethinkdb,Qinusty/rethinkdb,losywee/rethinkdb,tempbottle/rethinkdb,eliangidoni/rethin...
2afc1302537b0ddb94677f72d73bee8a7844d7bf
preferences.cpp
preferences.cpp
/* * Copyright (C) 2007-2010 Sebastian Schuberth <sschuberth_AT_gmail_DOT_com> * * 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 y...
/* * Copyright (C) 2007-2010 Sebastian Schuberth <sschuberth_AT_gmail_DOT_com> * * 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 y...
Fix registry buffer size argument, which needs to be specified in bytes, not characters.
Fix registry buffer size argument, which needs to be specified in bytes, not characters.
C++
lgpl-2.1
sschuberth/foo-cdartdisplay,sschuberth/foo-cdartdisplay,sschuberth/foo-cdartdisplay
32323b84722273a57b89201c88a4ae3b26bd4fb1
chrome/browser/crash_recovery_browsertest.cc
chrome/browser/crash_recovery_browsertest.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_path.h" #include "chrome/browser/browser.h" #include "chrome/browser/tab_contents/navigation_entry.h" #include "chrome/browser/tab...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/file_path.h" #include "chrome/browser/browser.h" #include "chrome/browser/tab_contents/navigation_entry.h" #include "chrome/browser/tab...
Disable CrashRecoveryBrowserTest.Reload for timing out.
Disable CrashRecoveryBrowserTest.Reload for timing out. TBR=dimich@chromium.org BUG=61097 TEST=none Review URL: http://codereview.chromium.org/4184005 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@64255 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
robclark/chromium,axinging/chromium-crosswalk,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,Jonekee/chromium.src,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,keishi/chromium,anirudhSK/chromium,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,zcbenz/cefode-chro...
7a856a21dec78a5429ecf523c1fc7096eaa05a53
chrome/browser/importer/importer_messages.cc
chrome/browser/importer/importer_messages.cc
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/values.h" #define IPC_MESSAGE_IMPL #include "chrome/browser/importer/importer_messages.h"
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/values.h" #define IPC_MESSAGE_IMPL #include "chrome/browser/importer/importer_messages.h"
Add missing new line
Add missing new line git-svn-id: http://src.chromium.org/svn/trunk/src@68669 4ff67af0-8c30-449e-8e8b-ad334ec8d88c Former-commit-id: d5e9727bb025e6c322d3efd7c6ca6c9b552a6853
C++
bsd-3-clause
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-u...
9df8a0ddd328ddc440286360bf9a4bfeecce50e9
chrome/browser/prefs/session_startup_pref.cc
chrome/browser/prefs/session_startup_pref.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/prefs/session_startup_pref.h" #include <string> #include "base/metrics/histogram.h" #include "base/prefs/pref_service.h" #i...
// 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/prefs/session_startup_pref.h" #include <string> #include "base/metrics/histogram.h" #include "base/prefs/pref_service.h" #i...
Use correct UMA histogram macro for Settings.StartupURLsResetTime.
Use correct UMA histogram macro for Settings.StartupURLsResetTime. BUG=299290 TEST=NONE Review URL: https://codereview.chromium.org/41733003 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@232196 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
hgl888/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,hgl888/chromium-crosswalk,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,anirudhSK/chromium,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,Jonekee/chromium.src,Just-D/...
f78f20b0864f635b3e45c6abc8ab86878ab85af6
chrome/browser/ui/extensions/shell_window.cc
chrome/browser/ui/extensions/shell_window.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/extensions/shell_window.h" #include "base/utf_string_conversions.h" #include "chrome/browser/extensions/extension_process...
// 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/extensions/shell_window.h" #include "base/utf_string_conversions.h" #include "chrome/browser/extensions/extension_process...
Make the default window frame be 'chrome', like app_window.idl says it is
Make the default window frame be 'chrome', like app_window.idl says it is R=jeremya@chromium.org Review URL: https://chromiumcodereview.appspot.com/10546017 git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@140681 0039d316-1c4b-4281-b951-d872f2087c98
C++
bsd-3-clause
M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,pozdnyakov/chromium-crosswalk,hgl888/chromium-crosswalk-efl,axinging/chromium-crosswalk,M4sse/chromium.src,patrickm/chromium.src,hgl888/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,Jonekee/chromium.sr...
301dd005fb3211cd337a443a7bb792771ef016f4
modules/pacing/packet_router.cc
modules/pacing/packet_router.cc
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
Remove thread check from PacketRouter::SendFeedback.
Remove thread check from PacketRouter::SendFeedback. R=pbos@webrtc.org Review URL: https://codereview.webrtc.org/1732923004 . Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#11759} Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: bf66ae6d80c5639234a08edb...
C++
bsd-3-clause
jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,Alkalyne/webrtctrunk,jchavanton/webrtc,Alkalyne/webrtctrunk,jchavanton/webrtc,jchavanton/webrtc
b6fe6c650280aaa31149ba116c188c16c88d3eeb
mainwindow.cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" #include "model.h" #include "model_io.h" #include "figurepainter.h" #include "build_info.h" #include <fstream> #include <QFileDialog> #include <QInputDialog> #include <QMessageBox> #include <QShortcut> #include <QScreen> MainWindow::MainWindow(QWidget *parent) : Q...
#include "mainwindow.h" #include "ui_mainwindow.h" #include "model.h" #include "model_io.h" #include "figurepainter.h" #include "build_info.h" #include <fstream> #include <QFileDialog> #include <QInputDialog> #include <QMessageBox> #include <QShortcut> #include <QScreen> MainWindow::MainWindow(QWidget *parent) : Q...
build time was added (#62)
mainwindow.about: build time was added (#62)
C++
mit
cscenter/manugram,cscenter/manugram,cscenter/manugram
cdb7753939f6c5193253b06f8267718854249044
mainwindow.cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setWindowTitle("CRC Calculator ver " + QString::number(MAJOR_VERSION) + '.' + QString::number(MINOR_VERSION)); ui->CRC_Res_Bin_groupBo...
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setWindowTitle("CRC Calculator ver " + QString::number(MAJOR_VERSION) + '.' + QString::number(MINOR_VERSION)); ui->CRC_Res_Bin_groupBo...
Add 0x prefix + toUpper for Hex param
Add 0x prefix + toUpper for Hex param
C++
bsd-3-clause
KoynovStas/QCRC_Calc
413e93b03fca7447f003f37f00f0771dea515a45
mainwindow.cpp
mainwindow.cpp
#include <QtWidgets> #include "mainwindow.h" #include <fts_fuzzy_match.h> #include <glob.h> #include <string> #include <map> #include <database.h> Window::Window(QWidget *parent) : QMainWindow(parent) { // Initalise database db.setDatabaseName("recipes.db"); // Initialise widgets searchBox = new Searc...
#include <QtWidgets> #include "mainwindow.h" #include <fts_fuzzy_match.h> #include <glob.h> #include <string> #include <map> #include <database.h> Window::Window(QWidget *parent) : QMainWindow(parent) { // Initalise database db.setDatabaseName("recipes.db"); // Initialise widgets searchBox = new Searc...
Refresh display after updating database
Refresh display after updating database
C++
mit
strangetom/RecipeFinder
83f4c981491580d3c3efc82e8d251424ab49d98a
mainwindow.cpp
mainwindow.cpp
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); } MainWindow::~MainWindow() { delete ui; }
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); setWindowTitle("CRC Calculator ver " + QString::number(MAJOR_VERSION) + '.' + QString::number(MINOR_VERSION)); } MainWindow::~MainWindow(...
Add Main Window Title + version
Add Main Window Title + version
C++
bsd-3-clause
KoynovStas/QCRC_Calc
623dbc6e99fe9097f366f2f1c20053b241870142
src/HexagonOffload.cpp
src/HexagonOffload.cpp
#include <iostream> #include <fstream> #include <memory> #include "HexagonOffload.h" #include "IRMutator.h" #include "Substitute.h" #include "Closure.h" #include "Param.h" #include "Image.h" #include "LLVM_Output.h" #include "RemoveTrivialForLoops.h" namespace Halide { namespace Internal { using std::string; using s...
#include <iostream> #include <fstream> #include <memory> #include "HexagonOffload.h" #include "IRMutator.h" #include "Substitute.h" #include "Closure.h" #include "Param.h" #include "Image.h" #include "LLVM_Output.h" #include "RemoveTrivialForLoops.h" namespace Halide { namespace Internal { using std::string; using s...
Use proper temporary files for intermediates.
Use proper temporary files for intermediates.
C++
mit
ronen/Halide,ronen/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,kgnk/Halide,psuriana/Halide,kgnk/Halide,jiawen/Halide,ronen/Halide,ronen/Halide,psuriana/Halide,jiawen/Halide,kgnk/Halide,psuriana/Halide,jiawen/Halide,ronen/Halide,psuriana/Halide,psuriana/Halide,kgnk/Halide,ronen/Halide,ronen/Halide,psuriana/Halide,jiaw...
68572219d56533d35e012e1fbbde049c454ed15e
src/IO/CommandLine.cpp
src/IO/CommandLine.cpp
#include "CommandLine.h" #include "FrameBuffer.h" #include "Keyboard.h" using namespace std; CommandLine::CommandLine(table_type table):_table(table){ //builtin commands here _table.insert(make_pair("echo",[](CommandLine*,const vector<string>& args){ for(auto s : args){ pr...
#include "CommandLine.h" #include "FrameBuffer.h" #include "Keyboard.h" using namespace std; CommandLine::CommandLine(table_type table):_table(table){ //builtin commands here _table.insert(make_pair("echo", [](CommandLine*, const vector<string>& args) { for(auto s : args) { printf("%s ", ...
Add `cat`
Add `cat`
C++
mit
TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres,TWal/ENS_sysres
6d497d7fdc546210bfa790817bcf698411385030
interpreter/cling/lib/Interpreter/AutoloadCallback.cpp
interpreter/cling/lib/Interpreter/AutoloadCallback.cpp
//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Manasij Mukherjee <manasij7479@gmail.com> // author: Vassil Vassilev <vvasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of I...
//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Manasij Mukherjee <manasij7479@gmail.com> // author: Vassil Vassilev <vvasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of I...
Use the correct condition.
Use the correct condition.
C++
lgpl-2.1
perovic/root,0x0all/ROOT,thomaskeck/root,omazapa/root,esakellari/my_root_for_test,nilqed/root,nilqed/root,esakellari/my_root_for_test,georgtroska/root,simonpf/root,bbockelm/root,gbitzes/root,vukasinmilosevic/root,krafczyk/root,sawenzel/root,jrtomps/root,sawenzel/root,sbinet/cxx-root,gganis/root,davidlt/root,sirinath/ro...
0faba3d8f11ee466b9a3c1ec8466e5827fffe308
cpp/MaximumGap.cc
cpp/MaximumGap.cc
// https://oj.leetcode.com/problems/maximum-gap/ class Solution { public: int maximumGap(vector<int> &num) { if (num.size() < 2) return 0; set<int> S; for (int i = 0; i < num.size(); i++) { S.insert(num[i]); } set<int>::iterator it = S.begin(); ...
// https://oj.leetcode.com/problems/maximum-gap/ class Solution { public: int maximumGap(vector<int> &num) { if (num.size() < 2) return 0; set<int> S; for (int i = 0; i < num.size(); i++) { S.insert(num[i]); } set<int>::iterator it = S.begin(); ...
Update MaximumGap.cc
Update MaximumGap.cc
C++
bsd-3-clause
speedfirst/leetcode,speedfirst/leetcode
37ba42a6a28868857e31926b723904f0e88a2b15
cpp/problem_5.hpp
cpp/problem_5.hpp
/* * 2520 is the smallest number that can be divided by each * of the numbers from 1 to 10 without any remainder. * * What is the smallest positive number that is evenly * divisible by all of the numbers from 1 to 20? * * Answer: 232792560 */ #include<numeric> #include<vector> namespace problem_5 { templa...
/* * 2520 is the smallest number that can be divided by each * of the numbers from 1 to 10 without any remainder. * * What is the smallest positive number that is evenly * divisible by all of the numbers from 1 to 20? * * Answer: 232792560 */ #include<numeric> #include<vector> namespace problem_5 { templa...
Update problem_5.hpp
Update problem_5.hpp
C++
mit
ptwales/Project-Euler,ptwales/Project-Euler
a854409dba72a4edc4719afb121a904f310e4b11
libraries/plugins/elasticsearch/elasticsearch_plugin.cpp
libraries/plugins/elasticsearch/elasticsearch_plugin.cpp
/* * Copyright (c) 2017 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
/* * Copyright (c) 2017 Cryptonomex, Inc., and contributors. * * The MIT License * * 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...
remove check that can cause loss of data
remove check that can cause loss of data
C++
mit
bitshares/bitshares-2,bitshares/bitshares-2,bitshares/bitshares-2,bitshares/bitshares-2