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 |
|---|---|---|---|---|---|---|---|---|---|
94070ee5e088685477a004f073ebb20bc973ad5d | main.cpp | main.cpp | /* Copyright (C) 2014 INRA
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribu... | /* Copyright (C) 2014 INRA
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribu... | add DEX information | main: add DEX information
Before starting stress mode, we show basic information from the input
problem file.
| C++ | mit | quesnel/efyj,quesnel/efyj,quesnel/efyj |
075ca5185dccc0e82041e09de59a5ef2c32f67e7 | main.cpp | main.cpp | // 2006-2008 (c) Viva64.com Team
// 2008-2016 (c) OOO "Program Verification Systems"
#include "comments.h"
#include "encoding.h"
#include <cstdio>
#include <cstring>
#include <string>
#include <functional>
#include <algorithm>
#include <vector>
#include <cassert>
#include <fstream>
#include <iostream>
#include <sst... | // 2006-2008 (c) Viva64.com Team
// 2008-2016 (c) OOO "Program Verification Systems"
#include "comments.h"
#include "encoding.h"
#include <cstdio>
#include <cstring>
#include <string>
#include <functional>
#include <algorithm>
#include <vector>
#include <cassert>
#include <fstream>
#include <iostream>
#include <sst... | fix MSVC compiler warnings (implicit casts). | fix MSVC compiler warnings (implicit casts). | C++ | apache-2.0 | viva64/how-to-use-pvs-studio-free,viva64/how-to-use-pvs-studio-free |
7cf5ca7ee29fce1656f1d3eaba6816d2a85594bb | main.cpp | main.cpp | 8428c335-ad59-11e7-8da2-ac87a332f658 | 84d3b119-ad59-11e7-9282-ac87a332f658 | fix for the previous fix | fix for the previous fix | C++ | mit | justinhyou/GestureRecognition-CNN,justinhyou/GestureRecognition-CNN |
fdd57d2e29d2eeddd86bfe7a8561c7967da1ccbe | main.cpp | main.cpp | 3548c857-2748-11e6-8e1d-e0f84713e7b8 | 355663f8-2748-11e6-8f8d-e0f84713e7b8 | Fix that bug where things didn't work but now they should | Fix that bug where things didn't work but now they should | C++ | apache-2.0 | jhelgglehj/rocket |
0a6a166e25bf36c21cf341bde3c12e908c95df58 | main.cpp | main.cpp | de382f21-2747-11e6-8aa5-e0f84713e7b8 | de46524f-2747-11e6-b15a-e0f84713e7b8 | Fix that bug where things didn't work but now they should | Fix that bug where things didn't work but now they should | C++ | apache-2.0 | jhelgglehj/rocket |
549977cc3bf053a89cf6a5704449a4a91e96505d | main.cpp | main.cpp | #include <OpenGL/GL.h>
#include <OpenGL/GLU.h>
#include <GLUT/GLUT.h>
#include <iostream>
#include "loader.h"
#include "camera.h"
#define BUFSIZE 512
void initOpenGL();
void loadModel(const char * path);
void display();
void keyboard(unsigned char key, int x, int y);
void mouse(int button, int state, int x, int y);
... | #include <OpenGL/GL.h>
#include <OpenGL/GLU.h>
#include <GLUT/GLUT.h>
#include <iostream>
#include "loader.h"
#include "camera.h"
#define BUFSIZE 512
void initOpenGL();
void loadModel(const char * path);
void display();
void keyboard(unsigned char key, int x, int y);
void mouse(int button, int state, int x, int y);
... | Enable GL_COLOR_MATERIAL | Enable GL_COLOR_MATERIAL
| C++ | mit | fuadsaud/objviewer |
bef87238cb15decee7dc5733644a8609557ad3ef | main.cpp | main.cpp | 0c7d205e-2748-11e6-bc2c-e0f84713e7b8 | 0c907405-2748-11e6-87da-e0f84713e7b8 | Add a beter commit message | TODO: Add a beter commit message | C++ | apache-2.0 | jhelgglehj/rocket |
a8e7a2b203e5219b08707662bafca0a6fc43a580 | main.cpp | main.cpp | /******************************************************************************
SBS to XML simple converter.
Author: Przemyslaw Wirkus
******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
extern "C"
{
struct yy_buffer_st... | /******************************************************************************
SBS to XML simple converter.
Author: Przemyslaw Wirkus
******************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
extern "C"
{
struct yy_buffer_st... | Support for Rhapsody 8's line breaking mechanism | Support for Rhapsody 8's line breaking mechanism
| C++ | mit | jruffin/sbs2xml-conv |
adc57dc95a665f49de9e0dda0b77b041ad6a5071 | main.cpp | main.cpp | #include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include <stdio.h>
#include <string>
#include <cmath>
#include "include/logging/enumCvType.hpp"
#include "include/filters/selectMode.hpp"
#include "include/filters/gaussianBlurWindows.hpp"
#include "include/filters/hsvCo... | #include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include <stdio.h>
#include <string>
#include <cmath>
#include "include/logging/enumCvType.hpp"
#include "include/filters/selectMode.hpp"
#include "include/filters/gaussianBlurWindows.hpp"
#include "include/filters/hsvCo... | Add in horizontal angle and corner detections code | Add in horizontal angle and corner detections code
Former-commit-id: ce924b5382f3e5cc4f647936f0551dc04c041233 | C++ | bsd-2-clause | valkyrierobotics/vision2017,valkyrierobotics/vision2017,valkyrierobotics/vision2017 |
9931db9ed94ad429f63763d5805fb24a16cb4a94 | main.cpp | main.cpp | 60448321-2749-11e6-99ba-e0f84713e7b8 | 60577e80-2749-11e6-98d2-e0f84713e7b8 | Put the thingie in the thingie | Put the thingie in the thingie | C++ | apache-2.0 | jhelgglehj/rocket |
f82c9e8804caea33381868ba0e8efd074d75ffe2 | main.cpp | main.cpp | #include <QApplication>
#include <QCompleter>
#include <QKeySequence>
#include <QLineEdit>
#include <QMainWindow>
#include <QMessageLogger>
#include <QShortcut>
#include <QStandardPaths>
#include <QStringListModel>
#include <QVBoxLayout>
#include <QWebEngineFullScreenRequest>
#include <QWebEngineProfile>
#include <QWeb... | #include <QApplication>
#include <QCompleter>
#include <QKeySequence>
#include <QLineEdit>
#include <QMainWindow>
#include <QMessageLogger>
#include <QShortcut>
#include <QStandardPaths>
#include <QStringListModel>
#include <QVBoxLayout>
#include <QWebEngineFullScreenRequest>
#include <QWebEngineProfile>
#include <QWeb... | Refactor about focus handling of bar | Refactor about focus handling of bar
| C++ | mit | macrat/dobostorta |
b7a628cb9ff4eac94507791b84445bc437339eef | main.cpp | main.cpp | //
// main.cpp
// screenshot - Take a screenshot for all of the active displays.
//
// Created by Leopold O'Donnell on 3/18/13.
// MIT-LIcense Copyright (c) 2013 Leo O'Donnell.
//
#include <stdio.h>
#include <stddef.h>
#include "screen_shooter.h"
int main(int argc, const char * argv[])
{
if (argc < 2) {
fpr... | //
// main.cpp
// screenshot - Take a screenshot for all of the active displays.
//
// Created by Leopold O'Donnell on 3/18/13.
// MIT-LIcense Copyright (c) 2013 Leo O'Donnell.
//
#include <stdio.h>
#include <stddef.h>
#include "screen_shooter.h"
int main(int argc, const char * argv[])
{
if (argc < 2) {
fpr... | Support jpeg and jpeg 2000 | Support jpeg and jpeg 2000
| C++ | mit | leopoldodonnell/screenshot |
3b670b324f47c746230ad42beb1fe625beeadce4 | main.cpp | main.cpp | addd10f8-4b02-11e5-a687-28cfe9171a43 | adeb0a30-4b02-11e5-9831-28cfe9171a43 | add file | add file | C++ | apache-2.0 | haosdent/jcgroup,haosdent/jcgroup |
7dc6f76eb9243ef7a185c710deb9ca3cfcdd7353 | maybe.hh | maybe.hh | #ifndef MAYBE_HH
#define MAYBE_HH
#include <cassert>
#include <new>
#include <memory>
#include <type_traits>
template<typename T>
struct maybe {
maybe() noexcept : is_init(false) {}
maybe(const T &other) noexcept(std::is_nothrow_copy_constructible<T>::value) : is_init(false) {
new (&memory) T(other);
is_... | #ifndef MAYBE_HH
#define MAYBE_HH
#include <cassert>
#include <new>
#include <memory>
#include <type_traits>
template<typename T>
struct maybe {
maybe() noexcept : is_init(false) {}
maybe(const T &other) noexcept(std::is_nothrow_copy_constructible<T>::value) : is_init(false) {
new (&memory) T(other);
is_... | add noexcept spec to clear method | maybe.hh: add noexcept spec to clear method
| C++ | mit | thestinger/util,thestinger/util |
700833268dabae5594ee0cb712bf8db430b9bfaa | main.cpp | main.cpp | f2ca0e68-2747-11e6-8351-e0f84713e7b8 | f2dc9eae-2747-11e6-a489-e0f84713e7b8 | Put the thingie in the thingie | Put the thingie in the thingie | C++ | apache-2.0 | jhelgglehj/rocket |
1b163e06f4f0e8ac9b6571a2d1cfcff6171dd81a | main.cpp | main.cpp | #include <random>
#include "FATFileSystem.h"
#include "SDBlockDevice.h"
#include "mbed.h"
#include "stdio.h"
#include "uTensor_util.hpp"
#include "tensor.hpp"
#include "tensorIdxImporterTests.hpp"
//#include "deep_mnist_mlp.hpp"
Serial pc(USBTX, USBRX, 115200);
SDBlockDevice bd(MBED_CONF_APP_SD_MOSI, MBED_CONF_APP_SD_... | #include <random>
#include "FATFileSystem.h"
#include "SDBlockDevice.h"
#include "mbed.h"
#include "stdio.h"
#include "uTensor_util.hpp"
#include "tensor.hpp"
#include "tensorIdxImporterTests.hpp"
//#include "deep_mnist_mlp.hpp"
Serial pc(USBTX, USBRX, 115200);
SDBlockDevice bd(MBED_CONF_APP_SD_MOSI, MBED_CONF_APP_SD_... | revise main for test idx and matrixops | revise main for test idx and matrixops
| C++ | apache-2.0 | neil-tan/uTensor,neil-tan/uTensor |
171f30a58f6483efb660a95f3c6bf587cbebbc84 | main.cpp | main.cpp | #include <omp.h>
#include "evaluate_circuit.h"
// Input: ./qflex.x I J K fidelity circuit_filename ordering_filename \
// grid_filename [initial_conf] [final_conf]
//
// Example:
// $ ./qflex.x 11 12 2 0.005 ./circuits/bristlecone_48_1-40-1_0.txt \
// ./ordering/bristlecone_48.txt ./grid/bristlecone_... | #include <omp.h>
#include "evaluate_circuit.h"
// Input: ./qflex.x I J K fidelity circuit_filename ordering_filename \
// grid_filename [initial_conf] [final_conf]
//
// Example:
// $ ./qflex.x 11 12 2 0.005 ./circuits/bristlecone_48_1-40-1_0.txt \
// ./ordering/bristlecone_48.txt ./grid/bristlecone_... | Print simple help. | Print simple help.
| C++ | apache-2.0 | ngnrsaa/qflex,ngnrsaa/qflex,ngnrsaa/qflex,ngnrsaa/qflex |
d7471eb215d54705098fb7a020eb8dfef9db9558 | main.cpp | main.cpp | #include <QCommandLineParser>
#include <QCoreApplication>
#include <QDomDocument>
#include <QStringList>
#include <QFile>
#include <QDir>
#include <iostream>
#include "protocolparser.h"
#include "xmllinelocator.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QCoreApplication::setApplicat... | #include <QCommandLineParser>
#include <QCoreApplication>
#include <QDomDocument>
#include <QStringList>
#include <QFile>
#include <QDir>
#include <iostream>
#include "protocolparser.h"
#include "xmllinelocator.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QCoreApplication::setApplicat... | Enforce standard line-endings | Enforce standard line-endings
| C++ | mit | jefffisher/ProtoGen,billvaglienti/ProtoGen,jefffisher/ProtoGen,billvaglienti/ProtoGen,jefffisher/ProtoGen,billvaglienti/ProtoGen |
d7be0f2c58199603671d3198c87463ff3433eea0 | src/osx_window_capture.cpp | src/osx_window_capture.cpp | #include "osx_window_capture.h"
// remove the window title bar which we are not interested in
#define OSX_WINDOW_TITLE_BAR_HEIGHT 22
OSXWindowCapture::OSXWindowCapture(const string& windowName)
:name(windowName), winId(0)
{
Update(true);
}
void OSXWindowCapture::Update(bool forced) {
if(forced || updateTimer.h... | #include "osx_window_capture.h"
// remove the window title bar which we are not interested in
#define OSX_WINDOW_TITLE_BAR_HEIGHT 22
OSXWindowCapture::OSXWindowCapture(const string& windowName)
:name(windowName), winId(0)
{
Update(true);
}
void OSXWindowCapture::Update(bool forced) {
if(forced || updateTimer.h... | fix memory leaks | fix memory leaks
| C++ | lgpl-2.1 | bencart/track-o-bot,elzoido/track-o-bot,stevschmid/track-o-bot,bencart/track-o-bot,stevschmid/track-o-bot,BOSSoNe0013/track-o-bot,BOSSoNe0013/track-o-bot,elzoido/track-o-bot,elzoido/track-o-bot,bencart/track-o-bot |
00908e6131682858413b45b1dd75d70e167e1465 | src/physics/diff_physics.C | src/physics/diff_physics.C | // The libMesh Finite Element Library.
// Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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 ... | // The libMesh Finite Element Library.
// Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// 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 ... | Fix default nonlocal_mass_residual | Fix default nonlocal_mass_residual
TimeSolvers are going to use elem_solution to store time derivatives
so we can't just pull scalars directly from current_solution()
| C++ | lgpl-2.1 | cahaynes/libmesh,coreymbryant/libmesh,dmcdougall/libmesh,capitalaslash/libmesh,salazardetroya/libmesh,jwpeterson/libmesh,Mbewu/libmesh,vikramvgarg/libmesh,dschwen/libmesh,Mbewu/libmesh,libMesh/libmesh,friedmud/libmesh,balborian/libmesh,coreymbryant/libmesh,hrittich/libmesh,giorgiobornia/libmesh,karpeev/libmesh,jiangwen... |
9f3cf19c2d11fe139a8fd9e65264c54b4116e1d2 | src/platform/qt/Window.cpp | src/platform/qt/Window.cpp | #include "Window.h"
#include <QFileDialog>
#include <QKeyEvent>
#include <QKeySequence>
#include <QMenuBar>
#include "GDBWindow.h"
#include "GDBController.h"
using namespace QGBA;
Window::Window(QWidget* parent)
: QMainWindow(parent)
#ifdef USE_GDB_STUB
, m_gdbController(nullptr)
#endif
{
setSizePolicy(QSizePoli... | #include "Window.h"
#include <QFileDialog>
#include <QKeyEvent>
#include <QKeySequence>
#include <QMenuBar>
#include "GDBWindow.h"
#include "GDBController.h"
using namespace QGBA;
Window::Window(QWidget* parent)
: QMainWindow(parent)
#ifdef USE_GDB_STUB
, m_gdbController(nullptr)
#endif
{
setSizePolicy(QSizePoli... | Add missing ellipses for menu items that open windows | Add missing ellipses for menu items that open windows
| C++ | mpl-2.0 | jeremyherbert/mgba,Touched/mgba,MerryMage/mgba,matthewbauer/mgba,zerofalcon/mgba,libretro/mgba,Anty-Lemon/mgba,askotx/mgba,jeremyherbert/mgba,libretro/mgba,sergiobenrocha2/mgba,Iniquitatis/mgba,Anty-Lemon/mgba,jeremyherbert/mgba,bentley/mgba,iracigt/mgba,sergiobenrocha2/mgba,iracigt/mgba,cassos/mgba,fr500/mgba,Anty-Lem... |
4864324f4dd9b08a4255c68f22fe3b9bfa5f3049 | src/player/VideoWriter.cpp | src/player/VideoWriter.cpp | //
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// 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 of the License, or (at y... | //
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// 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 of the License, or (at y... | use open64() instead of open() on linux systems (fixes #279) | VideoWriter: use open64() instead of open() on linux systems (fixes #279)
svn path=/trunk/libavg/; revision=6905
| C++ | lgpl-2.1 | hoodie/libavg,scotty007/libavg,th3infinity/libavg,scotty007/libavg,yyd01245/libavg,libavg/libavg,hoodie/libavg,th3infinity/libavg,yyd01245/libavg,hoodie/libavg,yyd01245/libavg,libavg/libavg,yyd01245/libavg,th3infinity/libavg,scotty007/libavg,scotty007/libavg,th3infinity/libavg,libavg/libavg,libavg/libavg,hoodie/libavg |
126f1e92d9720436c2857397199f01c100993460 | src/propertycalculator.cpp | src/propertycalculator.cpp | /***************************************************************************
* Copyright © 2003 Unai Garro <ugarro@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under th... | /***************************************************************************
* Copyright © 2003 Unai Garro <ugarro@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under th... | Fix Krazy warnings: nullstrassign - src/propertycalculator.cpp | Fix Krazy warnings: nullstrassign - src/propertycalculator.cpp
svn path=/trunk/extragear/utils/krecipes/; revision=1119800
| C++ | lgpl-2.1 | eliovir/krecipes,eliovir/krecipes,eliovir/krecipes,eliovir/krecipes |
e0af1b3ed6a799664d26d5b3e41b75305d681dc8 | src/qt/addressbookpage.cpp | src/qt/addressbookpage.cpp | #include "addressbookpage.h"
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "bitcoingui.h"
#include "editaddressdialog.h"
#include "csvmodelwriter.h"
#include "guiutil.h"
#ifdef USE_QRCODE
#include "qrcodedialog.h"
#endif
#include <QSortFilterProxyModel>
#include <Q... | #include "addressbookpage.h"
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "bitcoingui.h"
#include "editaddressdialog.h"
#include "csvmodelwriter.h"
#include "guiutil.h"
#ifdef USE_QRCODE
#include "qrcodedialog.h"
#endif
#include <QSortFilterProxyModel>
#include <Q... | fix mac specific button modification on addressbookpage | fix mac specific button modification on addressbookpage
- continue the mac behavior of clearing button icons (because it's unusual on mac apps)
- fix: new button variable names, new buttons (verifyMessage, signMessage)
Signed-off-by: Jonas Schnelli <d52d30fd74b5a4c9059a4ca104ac43d29d9077a0@include7.ch>
| C++ | mit | howardrya/AcademicCoin,thormuller/yescoin2,martindale/elements,KaSt/equikoin,greencoin-dev/digitalcoin,drwasho/bitcoinxt,magacoin/magacoin,DMDcoin/Diamond,bdelzell/creditcoin-org-creditcoin,fullcoins/fullcoin,StarbuckBG/BTCGPU,jnewbery/bitcoin,presstab/PIVX,prark/bitcoinxt,jamesob/bitcoin,wederw/bitcoin,karek314/bitcoi... |
c4b7628d0fc77f4c2937914da148e978486ab41c | chrome/common/sqlite_utils.cc | chrome/common/sqlite_utils.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/sqlite_utils.h"
#include <list>
#include "base/at_exit.h"
#include "base/file_path.h"
#include "base/lock.h"
#include "... | // 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/sqlite_utils.h"
#include <list>
#include "base/at_exit.h"
#include "base/file_path.h"
#include "base/lock.h"
#include "... | Remove the CHECK() when SQLite is corrupt. | Remove the CHECK() when SQLite is corrupt.
Got plenty of crashes in 4.0.211.4
BUG=11908
TEST=none
TBR=bretw
Review URL: http://codereview.chromium.org/217007
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@26767 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | timopulkkinen/BubbleFish,M4sse/chromium.src,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,junmin-zhu/chromium-rivertrail,junmin-zhu/chromium-rivertrail,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,dushu1203/chromium.src,littlstar/chromium.src,chuan9/chromium-crosswalk,Chilledheart/chromium,keishi/c... |
1fd3e342d018ad001f693ac65708cdd1871d9025 | include/distortos/scheduler/ThreadControlBlock.hpp | include/distortos/scheduler/ThreadControlBlock.hpp | /**
* \file
* \brief ThreadControlBlock class header
*
* \author Copyright (C) 2014-2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distributed with ... | /**
* \file
* \brief ThreadControlBlock class header
*
* \author Copyright (C) 2014-2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not
* distributed with ... | add ThreadControlBlock::UnblockReason enum class | ThreadControlBlock: add ThreadControlBlock::UnblockReason enum class | C++ | mpl-2.0 | DISTORTEC/distortos,jasmin-j/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,DISTORTEC/distortos,CezaryGapinski/distortos,DISTORTEC/distortos,jasmin-j/distortos,CezaryGapinski/distortos,CezaryGapinski/distortos,jasmin-j/distortos,jasmin-j/distortos |
baa1f4191f8b5c8e9ef1b1cf609990cead994d63 | src/rmp/src/blifParser.cpp | src/rmp/src/blifParser.cpp | #include "rmp/blifParser.h"
#include <boost/bind.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/at_c.hpp>
#include <boost/fusion/include/define_struct.hpp>
#incl... | #include "rmp/blifParser.h"
#include <boost/bind.hpp>
#include <boost/config/warning_disable.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/container.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <boost/fusion/include/at_c.hpp>
#include <boost/fusion/include/define_struct.hpp>
#incl... | replace template iterator in blif parser | replace template iterator in blif parser
| C++ | bsd-3-clause | QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD,The-OpenROAD-Project/OpenROAD,QuantamHD/OpenROAD |
ee9c3d8e6358b609464717aad1e3583fd51d9521 | ash/content_support/inject.cc | ash/content_support/inject.cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/content_support/inject.h"
#include "ash/content_support/gpu_support_impl.h"
#include "ash/shell.h"
namespace ash {
void InitContentSuppor... | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/content_support/inject.h"
#include "ash/content_support/gpu_support_impl.h"
#include "ash/shell.h"
#include "base/memory/scoped_ptr.h"
nam... | Add include | Add include
TBR=sky@chromium.org
Review URL: https://codereview.chromium.org/134173003
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@245012 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | markYoungH/chromium.src,jaruba/chromium.src,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,Chilledheart/chromium,ChromiumWebApps/chromium,Just-D/chromium-1,jaruba/chromium.src,hgl888/chromium-crosswalk,anirudhSK/chromium,bright-sparks/chromium-spa... |
5bf567f5f6ad6250ef0e3b5101fafe0c0bb5e98f | tools/driver/swift_symbolgraph_extract_main.cpp | tools/driver/swift_symbolgraph_extract_main.cpp | //===--- swift_indent_main.cpp - Swift code formatting tool ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | //===--- swift_indent_main.cpp - Swift code formatting tool ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | remove DiagPrinter directly from the CompilerInvocation | remove DiagPrinter directly from the CompilerInvocation
| C++ | apache-2.0 | jmgc/swift,glessard/swift,roambotics/swift,tkremenek/swift,gregomni/swift,tkremenek/swift,ahoppen/swift,parkera/swift,roambotics/swift,apple/swift,rudkx/swift,glessard/swift,atrick/swift,ahoppen/swift,hooman/swift,apple/swift,ahoppen/swift,gregomni/swift,jmgc/swift,ahoppen/swift,JGiola/swift,apple/swift,parkera/swift,x... |
3b305aed3e4925ba83bf56fb46ba0b1271529a2b | chrome/test/ui/ppapi_uitest.cc | chrome/test/ui/ppapi_uitest.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_util.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "chrome/common/chrome_switches.h"
#include "chrome... | // 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_util.h"
#include "base/path_service.h"
#include "build/build_config.h"
#include "chrome/common/chrome_switches.h"
#include "chrome... | Revert 63271 - Add the FileRef and FileIO tests to ppapi_uitest.cc | Revert 63271 - Add the FileRef and FileIO tests to ppapi_uitest.cc
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3883003
TBR=dumi@chromium.org
Review URL: http://codereview.chromium.org/4019001
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@63282 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | adobe/chromium,adobe/chromium,ropik/chromium,yitian134/chromium,yitian134/chromium,gavinp/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,ropik/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,yitian13... |
f5bb899e48b28f9d0ab842c0659ea99e34c95909 | chrome/test/ui/ppapi_uitest.cc | chrome/test/ui/ppapi_uitest.cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#include "content/publ... | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#include "content/publ... | Disable OutOfProcessPPAPITest.FAILS_FileIO under AddressSanitizer | Disable OutOfProcessPPAPITest.FAILS_FileIO under AddressSanitizer
BUG=83443
TBR=sanga
Review URL: http://codereview.chromium.org/8359028
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@106712 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | yitian134/chromium,yitian134/chromium,ropik/chromium,yitian134/chromium,gavinp/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,yitian134/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,adobe/chromium,gavinp/c... |
089001bd9276f634a2455e7734a213a5d01c8a23 | atom/browser/node_debugger.cc | atom/browser/node_debugger.cc | // Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/node_debugger.h"
#include <memory>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/strings/utf_stri... | // Copyright (c) 2014 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/node_debugger.h"
#include <memory>
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/strings/utf_stri... | update node inspector api usage | fix: update node inspector api usage
| C++ | mit | seanchas116/electron,bpasero/electron,seanchas116/electron,electron/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,bpasero/electron,electron/electron,bpasero/electron,electron/electron,electron/electron,gerhardberger/electron,seanchas116/electron,gerhardberger/electron,gerhardberger/electro... |
536e89b0c80c6121c9e875ed320f8637019a82b0 | json/testparsestring.cpp | json/testparsestring.cpp | #include <iostream>
#include <iomanip> // for std::setw
#include <nlohmann/json.hpp>
using json = nlohmann::json;
bool parse_and_dump(const char* text, json& result)
{
// parse and serialize JSON
result = json::parse(text);
//std::cout << std::setw(4) << j_complete << "\n\n";
return true;
}
int test... | #include <iostream>
#include <iomanip> // for std::setw
#include <nlohmann/json.hpp>
bool parse_and_dump(const char* text, nlohmann::json& result)
{
using json = nlohmann::json;
// parse and serialize JSON
result = json::parse(text);
//std::cout << std::setw(4) << j_complete << "\n\n";
return tru... | UPDATE json, add some message for details | UPDATE json, add some message for details
| C++ | mit | ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt,ericosur/myqt |
84f31cef60ccddab38589b5ac90678fbd9208785 | interpreter/cling/lib/Interpreter/ValuePrinter.cpp | interpreter/cling/lib/Interpreter/ValuePrinter.cpp | //------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//------------------------------------------------------------------------------
#include "cling/Interpreter/Value... | //------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//------------------------------------------------------------------------------
#include "cling/Interpreter/Value... | Improve const-correctness in casts. | Improve const-correctness in casts.
git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@46294 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT |
5ebbc8e697643bad1869a1dee105b182d26e1f36 | Infovis/Testing/Cxx/TestOrderStatistics.cxx | Infovis/Testing/Cxx/TestOrderStatistics.cxx | /*
* Copyright 2007 Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* license for use of this work by or on behalf of the
* U.S. Government. Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that this Notice and a... | /*
* Copyright 2007 Sandia Corporation.
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
* license for use of this work by or on behalf of the
* U.S. Government. Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that this Notice and a... | use an unused variable | COMP: use an unused variable
| C++ | bsd-3-clause | msmolens/VTK,johnkit/vtk-dev,mspark93/VTK,jmerkow/VTK,sumedhasingla/VTK,mspark93/VTK,biddisco/VTK,msmolens/VTK,arnaudgelas/VTK,johnkit/vtk-dev,daviddoria/PointGraphsPhase1,sankhesh/VTK,cjh1/VTK,SimVascular/VTK,aashish24/VTK-old,aashish24/VTK-old,msmolens/VTK,SimVascular/VTK,jmerkow/VTK,naucoin/VTKSlicerWidgets,candy739... |
a683be2e678f8ea769cae564c6f8d1d09220e63f | kernel/kernel/perf.cpp | kernel/kernel/perf.cpp | /*
* Copyright (c) 2022 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*
* SPDX-License-Identifier: MIT
*/
#include <onyx/cpu.h>
#include <onyx/dev.h>
#include <onyx/init.h>
#include <onyx/percpu.h>
#include... | /*
* Copyright (c) 2022 Pedro Falcato
* This file is part of Onyx, and is released under the terms of the MIT License
* check LICENSE at the root directory for more information
*
* SPDX-License-Identifier: MIT
*/
#include <onyx/cpu.h>
#include <onyx/dev.h>
#include <onyx/init.h>
#include <onyx/percpu.h>
#include... | Fix large calloc on wait time sampling | perf: Fix large calloc on wait time sampling
Signed-off-by: Pedro Falcato <d037c3eb54456eb57a351d3e1361e11b3d89c857@gmail.com>
| C++ | mit | heatd/Onyx,heatd/Onyx,heatd/Onyx,heatd/Onyx |
15df0a27bbf1409f974edbc1f5ffbdf2715ec4f9 | src/cpu/o3/bpred_unit_impl.hh | src/cpu/o3/bpred_unit_impl.hh | /*
* Copyright (c) 2004-2005 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... | /*
* Copyright (c) 2004-2005 The Regents of The University of Michigan
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* not... | Make sure the value of PC is actually updated now that the instruction target isn't set explicitly. | Make sure the value of PC is actually updated now that the instruction target isn't set explicitly.
--HG--
extra : convert_revision : 4c00a219ac1d82abea78e4e8d70f529a435fdfe2
| C++ | bsd-3-clause | TUD-OS/gem5-dtu,KuroeKurose/gem5,briancoutinho0905/2dsampling,powerjg/gem5-ci-test,rallylee/gem5,Weil0ng/gem5,TUD-OS/gem5-dtu,markoshorro/gem5,samueldotj/TeeRISC-Simulator,gem5/gem5,KuroeKurose/gem5,rallylee/gem5,zlfben/gem5,aclifton/cpeg853-gem5,HwisooSo/gemV-update,zlfben/gem5,austinharris/gem5-riscv,HwisooSo/gemV-up... |
8f6f3d8d34c925199b1c7230f33f93a6d3a901df | gameserver/world/test/tile_test.cc | gameserver/world/test/tile_test.cc | /**
* The MIT License (MIT)
*
* Copyright (c) 2018 Simon Sandström
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | /**
* The MIT License (MIT)
*
* Copyright (c) 2018 Simon Sandström
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | Fix world/test build issue | Fix world/test build issue
| C++ | mit | gurka/gameserver,gurka/gameserver,gurka/gameserver |
6e34790ff83ddd54e1eb13b2d08e60ab36ba0e91 | gameserver/wsclient/src/network.cc | gameserver/wsclient/src/network.cc | /**
* The MIT License (MIT)
*
* Copyright (c) 2018 Simon Sandström
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | /**
* The MIT License (MIT)
*
* Copyright (c) 2018 Simon Sandström
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | use address from query parameter | wsclient: use address from query parameter
| C++ | mit | gurka/gameserver,gurka/gameserver,gurka/gameserver |
f5804cddbc2d103cabf7054905dc1bd59512b9b6 | vcl/inc/unx/gtk/gtksalmenu.hxx | vcl/inc/unx/gtk/gtksalmenu.hxx | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright © 2011 Canonical Ltd.
*
* 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... | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright © 2011 Canonical Ltd.
*
* 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... | remove unused prototype | remove unused prototype
Change-Id: If3deb18695d0bef3545d6aef5e598435996a7207
| C++ | mpl-2.0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core |
0024d7283a47a1b362953cbe77f30ae7177a2781 | src/dev/arm/timer_cpulocal.hh | src/dev/arm/timer_cpulocal.hh | /*
* Copyright (c) 2010-2011 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 ... | /*
* Copyright (c) 2010-2011 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 ... | Fix bifield definition in timer_cpulocal.hh | dev: Fix bifield definition in timer_cpulocal.hh
Bitfield definition in the local timer model for ARM had the bitfield
range numbers reversed which could lead to buggy behavior.
| C++ | bsd-3-clause | vovojh/gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,hoangt/tpzsimul.gem5,vovojh/gem5,hoangt/tpzsimul.gem5,vovojh/gem5,hoangt/tpzsimul.gem5,pombredanne/http-repo.gem5.org-gem5-,vovojh/gem5,vovojh/gem5,vovojh/gem5,pombredanne... |
1250a24335f4671a5046bc13a62b5210c5ecd2c9 | backends/bmv2/JsonObjects.cpp | backends/bmv2/JsonObjects.cpp | /*
Copyright 2013-present Barefoot Networks, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | /*
Copyright 2013-present Barefoot Networks, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... | Fix memory error when building bmv2 JSON | Fix memory error when building bmv2 JSON
Backend::convert was inserting json->meta into jsonTop, but that pointer
would later get overwritten in add_meta_info.
| C++ | apache-2.0 | hanw/p4c,p4lang/p4c,p4lang/p4c,mbudiu-vmw/p4c-clone,mbudiu-vmw/p4c-clone,p4lang/p4c,mbudiu-vmw/p4c-clone,hanw/p4c,hanw/p4c,mbudiu-vmw/p4c-clone,p4lang/p4c,p4lang/p4c,hanw/p4c |
d7c200a6101a0a9e0481a6c2d530ff0d9d7859b0 | cintex/src/CINTEnumBuilder.cxx | cintex/src/CINTEnumBuilder.cxx | // @(#)root/cintex:$Name: v5-13-04b $:$Id: CINTEnumBuilder.cxx,v 1.10 2006/07/03 10:22:13 roiser Exp $
// Author: Pere Mato 2005
// Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, pr... | // @(#)root/cintex:$Name: $:$Id: CINTEnumBuilder.cxx,v 1.11 2006/12/08 09:36:06 roiser Exp $
// Author: Pere Mato 2005
// Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, provided th... | Fix problem where an enum "forward" declared by EnumTypeBuilder wasn't updated by the EnumBuilder later, so its "members" were never set up. | Fix problem where an enum "forward" declared by EnumTypeBuilder wasn't updated by the EnumBuilder later, so its "members" were never set up.
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@19473 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | satyarth934/root,mhuwiler/rootauto,satyarth934/root,zzxuanyuan/root,BerserkerTroll/root,vukasinmilosevic/root,gbitzes/root,sbinet/cxx-root,vukasinmilosevic/root,thomaskeck/root,mkret2/root,omazapa/root-old,olifre/root,georgtroska/root,0x0all/ROOT,evgeny-boger/root,omazapa/root,krafczyk/root,jrtomps/root,kirbyherm/root-... |
2d733a47cec00f38acc69d26476fe6f6a9929811 | SofaKernel/framework/framework_test/helper/system/PluginManager_test.cpp | SofaKernel/framework/framework_test/helper/system/PluginManager_test.cpp | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | /******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... | fix test | [SofaFramework_test] fix test
| C++ | lgpl-2.1 | FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa |
2d2138cae09a040e086380bee41542f6b1da3c73 | qterm/qterm.cpp | qterm/qterm.cpp | #include <QPainter>
#include <QAbstractEventDispatcher>
#include <QApplication>
#include <QPaintEvent>
#include <QFontMetrics>
#include <qterm.h>
#include <stdio.h>
#include <QKeyEvent>
#include <QTimer>
#include <sys/select.h>
#include <errno.h>
#ifdef __QNX__
#include <sys/types.h>
#include <sys/stat.h>
#include <fcn... | #include <QPainter>
#include <QAbstractEventDispatcher>
#include <QApplication>
#include <QPaintEvent>
#include <QFontMetrics>
#include <qterm.h>
#include <stdio.h>
#include <QKeyEvent>
#include <QTimer>
#include <sys/select.h>
#include <errno.h>
#ifdef __QNX__
#include <sys/types.h>
#include <sys/stat.h>
#include <fcn... | Fix characters in the bottom row getting cut off | Fix characters in the bottom row getting cut off
| C++ | apache-2.0 | absmall/libterm,absmall/libterm |
a50ebfcc2788a5a3e5fa0e1859777b2f727f37c7 | android/jni/BvsA.cpp | android/jni/BvsA.cpp | #include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <bvs/bvs.h>
#include "BvsA.h"
#include <opencv2/core/core.hpp>
static JavaVM *gJavaVM;
static jobject gInterfaceObject;
BVS::BVS* bvs;
jobject javaObj;
void shutdownFunction()
{
LOG(1,"daemon exit caused by bvs shutdown request!");
//bvs->qui... | #include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <bvs/bvs.h>
#include "BvsA.h"
#include <opencv2/core/core.hpp>
static JavaVM *gJavaVM;
BVS::BVS* bvs;
jobject javaObj;
void shutdownFunction()
{
LOG(1,"daemon exit caused by bvs shutdown request!");
//bvs->quit();
alarm(1); // SIGALRM after ... | fix compiler warnings | BvsA: fix compiler warnings
| C++ | mit | nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs,nilsonholger/bvs |
7814846d2dbc9bdc87155c9376b5f7c3d1baa90d | lib/Support/BinaryStreamReader.cpp | lib/Support/BinaryStreamReader.cpp | //===- BinaryStreamReader.cpp - Reads objects from a binary stream --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- BinaryStreamReader.cpp - Reads objects from a binary stream --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Make BinaryStreamReader::readCString a bit faster. | Make BinaryStreamReader::readCString a bit faster.
Previously it would do a character by character search for a null
terminator, to account for the fact that an arbitrary stream need not
store its data contiguously so you couldn't just do a memchr. However, the
stream API has a function which will return the longest c... | C++ | apache-2.0 | GPUOpen-Drivers/llvm,llvm-mirror/llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,apple/swift-llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,apple/swift-llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,GPUOpen-Drivers/llvm,llvm-mirror/llvm,llvm-mirror/llvm,apple/swift-llvm,GPUOpen-Drivers/llvm,GPUOpen-Dri... |
da86792963005c0bdbc0293e9b53efa09dc15116 | TetrisGame/core/Game.cpp | TetrisGame/core/Game.cpp | #pragma once
#include "Game.h"
namespace REKTetrisGame
{
Game::Game()
{
//The window we'll be rendering to
_window = nullptr;
// Engine renderer
_renderer = nullptr;
// The class who manage all input
_inputManager = nullptr;
// Handle the game behavior according to the context (In-game, Pause, Menu ... | #pragma once
#include "Game.h"
namespace REKTetrisGame
{
Game::Game()
{
//The window we'll be rendering to
_window = nullptr;
// Engine renderer
_renderer = nullptr;
// The class who manage all input
_inputManager = nullptr;
// Handle the game behavior according to the context (In-game, Pause, Menu ... | Fix error messages | Fix error messages
| C++ | mit | R-E-K/8bits-Tetris |
710b9a683c84461d430bb2df20073b1e10a13fc3 | src/index/ranker/ranker.cpp | src/index/ranker/ranker.cpp | /**
* @file ranker.cpp
* @author Sean Massung
*/
#include "corpus/document.h"
#include "index/inverted_index.h"
#include "index/postings_data.h"
#include "index/ranker/ranker.h"
#include "index/score_data.h"
namespace meta
{
namespace index
{
std::vector<std::pair<doc_id, double>> ranker::score(inverted_index& id... | /**
* @file ranker.cpp
* @author Sean Massung
*/
#include "corpus/document.h"
#include "index/inverted_index.h"
#include "index/postings_data.h"
#include "index/ranker/ranker.h"
#include "index/score_data.h"
namespace meta
{
namespace index
{
std::vector<std::pair<doc_id, double>> ranker::score(inverted_index& id... | remove debugging comment... | remove debugging comment...
| C++ | mit | gef756/meta,husseinhazimeh/meta,esparza83/meta,husseinhazimeh/meta,esparza83/meta,esparza83/meta,esparza83/meta,husseinhazimeh/meta,saq7/MeTA,saq7/MeTA,esparza83/meta,gef756/meta,husseinhazimeh/meta,gef756/meta,saq7/MeTA,gef756/meta,husseinhazimeh/meta,gef756/meta |
1f7a528b3e0e6a8010a32017f5bae77f43155715 | upnp.cpp | upnp.cpp | /*
* Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include <QString>
#include <QTcpSocket>
#in... | /*
* Copyright (c) 2016 dresden elektronik ingenieurtechnik gmbh.
* All rights reserved.
*
* The software in this package is published under the terms of the BSD
* style license a copy of which has been included with this distribution in
* the LICENSE.txt file.
*
*/
#include <QString>
#include <QTcpSocket>
#in... | Fix binding UDP port in mixed IPv4/6 networks | Fix binding UDP port in mixed IPv4/6 networks
| C++ | bsd-3-clause | dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin,dresden-elektronik/deconz-rest-plugin |
8bd418e9c4584d77ba02e07ba3f20aa8544fb5f2 | syzygy/pe/export_dll.cc | syzygy/pe/export_dll.cc | // Copyright 2010 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 2010 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... | Make the implicit cast of size_t to int explicit | Make the implicit cast of size_t to int explicit
BUG=
Review-Url: https://codereview.chromium.org/2107263002
| C++ | apache-2.0 | google/syzygy,google/syzygy,google/syzygy,Eloston/syzygy,google/syzygy,Eloston/syzygy |
ab9f18d6148d158397e62f9faf70ea447d37813c | open_spiel/algorithms/tabular_best_response_mdp.cc | open_spiel/algorithms/tabular_best_response_mdp.cc | // Copyright 2019 DeepMind Technologies Ltd. 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 require... | // Copyright 2019 DeepMind Technologies Ltd. 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 require... | Fix https://github.com/deepmind/open_spiel/issues/577 | Fix https://github.com/deepmind/open_spiel/issues/577
| C++ | apache-2.0 | deepmind/open_spiel,deepmind/open_spiel,deepmind/open_spiel,deepmind/open_spiel,deepmind/open_spiel,deepmind/open_spiel |
cd66a11a30b81747f7aea053b55df279b3b31809 | engine/renderers/RenderWorld.cpp | engine/renderers/RenderWorld.cpp | /*
Copyright (c) 2013 Daniele Bartolini, Michele Rossi
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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 withou... | /*
Copyright (c) 2013 Daniele Bartolini, Michele Rossi
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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 withou... | Enable rendering of GUI | Enable rendering of GUI
| C++ | mit | mikymod/crown,mikymod/crown,mikymod/crown,dbartolini/crown,galek/crown,mikymod/crown,dbartolini/crown,dbartolini/crown,taylor001/crown,taylor001/crown,galek/crown,dbartolini/crown,galek/crown,taylor001/crown,galek/crown,taylor001/crown |
5e31ec604588b52db7439b76215b2c6d75f72031 | gm/p3.cpp | gm/p3.cpp | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorSpace.h"
#include "SkColorSpaceXformSteps.h"
#include "SkString.h"
static void mark_good(SkCanvas* canvas, SkScalar x = 300, SkScalar y = 40)... | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorSpace.h"
#include "SkColorSpaceXformSteps.h"
#include "SkGradientShader.h"
#include "SkString.h"
template <typename Fn>
static void mark(SkCa... | add a linear gradient to P3 gm | add a linear gradient to P3 gm
I've tweaked the indicators into overlays so there can be one for each
pixel sampled. This lets me test both gradient corners.
I've dropped displaying the P3 value... not sure if it's as useful as
the other two, and I'm worried about information overload. There's
already a lot to look... | C++ | bsd-3-clause | HalCanary/skia-hc,rubenvb/skia,google/skia,rubenvb/skia,HalCanary/skia-hc,Hikari-no-Tenshi/android_external_skia,rubenvb/skia,HalCanary/skia-hc,rubenvb/skia,HalCanary/skia-hc,aosp-mirror/platform_external_skia,google/skia,google/skia,aosp-mirror/platform_external_skia,google/skia,rubenvb/skia,HalCanary/skia-hc,rubenvb/... |
b9aaf5ef17154174ae0c8b0616c9821609f9856f | searchlib/src/vespa/searchlib/attribute/enumstore.cpp | searchlib/src/vespa/searchlib/attribute/enumstore.cpp | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "enumstore.hpp"
#include <vespa/vespalib/datastore/sharded_hash_map.h>
#include <vespa/vespalib/util/rcuvector.hpp>
#include <iomanip>
#include <vespa/log/log.h>
LOG_SETUP(".searchlib.attrib... | // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "enumstore.hpp"
#include <vespa/vespalib/datastore/sharded_hash_map.h>
#include <vespa/vespalib/util/rcuvector.hpp>
#include <iomanip>
#include <vespa/log/log.h>
LOG_SETUP(".searchlib.attrib... | Remove assert that no longer is valid. | Remove assert that no longer is valid.
| 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 |
aa4c6cb347153f9e878ac4f5299b72da0e63ee67 | tutorials/dataframe/tdf009_FromScratchVSTTree.C | tutorials/dataframe/tdf009_FromScratchVSTTree.C | /// \file
/// \ingroup tutorial_tdataframe
/// \notebook -nodraw
/// This tutorial illustrates how simpler it can be to use a
/// TDataFrame to create a dataset with respect to the usage
/// of the TTree interfaces.
///
/// \macro_code
///
/// \date August 2017
/// \author Danilo Piparo
// ## Preparation
void tdf009_... | /// \file
/// \ingroup tutorial_tdataframe
/// \notebook -nodraw
/// This tutorial illustrates how simpler it can be to use a
/// TDataFrame to create a dataset with respect to the usage
/// of the TTree interfaces.
///
/// \macro_code
///
/// \date August 2017
/// \author Danilo Piparo
// ##This is the classic way of... | Add to the TDF vs TTree tutorial more explainations | [TDF] Add to the TDF vs TTree tutorial more explainations
and more context and a clearer structure (thanks Axel for the feedback!)
| C++ | lgpl-2.1 | karies/root,karies/root,karies/root,olifre/root,zzxuanyuan/root,zzxuanyuan/root,root-mirror/root,root-mirror/root,karies/root,karies/root,zzxuanyuan/root,olifre/root,zzxuanyuan/root,root-mirror/root,olifre/root,olifre/root,karies/root,zzxuanyuan/root,karies/root,root-mirror/root,zzxuanyuan/root,zzxuanyuan/root,olifre/r... |
cbe4cb648cd71ac0dab89050f75eff44530d1894 | views/examples/example_base.cc | views/examples/example_base.cc | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "views/examples/example_base.h"
#include <stdarg.h>
#include <string>
#include "base/string_util.h"
#include "views/controls/button/text_bu... | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "views/examples/example_base.h"
#include <stdarg.h>
#include <string>
#include "base/string_util.h"
#include "views/controls/button/text_bu... | Add CreateWrapper to views/examples/examples_base.cc | Add CreateWrapper to views/examples/examples_base.cc
Necessary for view_examples to compile with GYP_DEFINES="chromeos=1".
BUG=http://code.google.com/p/chromium-os/issues/detail?id=7409 (temporary fix)
TEST=build all in chrome repo with chromeos=1
Review URL: http://codereview.chromium.org/3614008
git-svn-id: de016... | C++ | bsd-3-clause | Just-D/chromium-1,Chilledheart/chromium,Chilledheart/chromium,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,rogerwang/chromium,chuan9/chromium-crosswalk,robclark/chromium,ChromiumWebApps/chromium,M4sse/chromium.src,krieger-od/nwjs_chromium.src,pat... |
45c33e9dcfb215493e31dc53a068b5dd1860a367 | machxo2/bitstream.cc | machxo2/bitstream.cc | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 gatecat <gatecat@ds0.me>
* Copyright (C) 2021 William D. Jones <wjones@wdj-consulting.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the ... | /*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 gatecat <gatecat@ds0.me>
* Copyright (C) 2021 William D. Jones <wjones@wdj-consulting.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the ... | Add a special case for pips whose config bits are in multiple tiles. | machxo2: Add a special case for pips whose config bits are in multiple
tiles.
| C++ | isc | YosysHQ/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr,SymbiFlow/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr,SymbiFlow/nextpnr,YosysHQ/nextpnr |
46e591adf6f38dbc7e5ea4f3758758ed8098f44a | src/libshogun/base/init.cpp | src/libshogun/base/init.cpp | /*
* 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 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2009 Soeren Sonnenburg
* Copyright (C) 2009 Fr... | /*
* 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 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2009 Soeren Sonnenburg
* Copyright (C) 2009 Fr... | set C locale on startup in init_shogun to prevent incompatiblies with fprintf and floating point separators | set C locale on startup in init_shogun to prevent incompatiblies with fprintf and floating point separators
| C++ | bsd-3-clause | besser82/shogun,Saurabh7/shogun,sorig/shogun,Saurabh7/shogun,Saurabh7/shogun,geektoni/shogun,lambday/shogun,sorig/shogun,karlnapf/shogun,geektoni/shogun,geektoni/shogun,lisitsyn/shogun,geektoni/shogun,Saurabh7/shogun,Saurabh7/shogun,shogun-toolbox/shogun,lambday/shogun,shogun-toolbox/shogun,lambday/shogun,Saurabh7/shog... |
8a94f0f8acf0537b8b49613fbba73ad1ee75facf | matrix/AxisAngle.hpp | matrix/AxisAngle.hpp | /**
* @file AxisAngle.hpp
*
* @author James Goppert <james.goppert@gmail.com>
*/
#pragma once
#include "math.hpp"
#include "helper_functions.hpp"
namespace matrix
{
template <typename Type>
class Dcm;
template <typename Type>
class Euler;
template <typename Type>
class AxisAngle;
/**
* AxisAngle class
*
*... | /**
* @file AxisAngle.hpp
*
* @author James Goppert <james.goppert@gmail.com>
*/
#pragma once
#include "math.hpp"
#include "helper_functions.hpp"
namespace matrix
{
template <typename Type>
class Dcm;
template <typename Type>
class Euler;
template <typename Type>
class AxisAngle;
/**
* AxisAngle class
*
*... | Fix axis angle fabsf usage. | Fix axis angle fabsf usage.
| C++ | bsd-3-clause | PX4/Matrix,PX4/Matrix,PX4/Matrix |
e01fb92aa9a950dd875e65620f53ce3b15e2d23b | snapshot/win/exception_snapshot_win_test.cc | snapshot/win/exception_snapshot_win_test.cc | // Copyright 2015 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 2015 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 ... | Fix #elif in crrev.com/c/1949846 | Fix #elif in crrev.com/c/1949846
I was editing the patch in gerrit and looks like it undone !defined
change and I landed wrong version.
Bug: chromium:1030261
Change-Id: Ib645839bac5450fe55ecd9f3a38155022b7f6c13
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1951624
Reviewed-by: Mark Mento... | C++ | apache-2.0 | chromium/crashpad,chromium/crashpad,chromium/crashpad |
985d9637d8332388bd4b586b88abdaad405efd78 | common/system/magic_server.cc | common/system/magic_server.cc | #include "magic_server.h"
#include "sim_api.h"
#include "simulator.h"
#include "thread_manager.h"
#include "logmem.h"
#include "performance_model.h"
#include "fastforward_performance_model.h"
#include "core_manager.h"
#include "dvfs_manager.h"
#include "hooks_manager.h"
#include "stats.h"
#include "timer.h"
#include "t... | #include "magic_server.h"
#include "sim_api.h"
#include "simulator.h"
#include "thread_manager.h"
#include "logmem.h"
#include "performance_model.h"
#include "fastforward_performance_model.h"
#include "core_manager.h"
#include "dvfs_manager.h"
#include "hooks_manager.h"
#include "stats.h"
#include "timer.h"
#include "t... | Print out simulated runtime and IPC in post-ROI summary | [magic] Print out simulated runtime and IPC in post-ROI summary
| C++ | mit | abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper,abanaiyan/sniper |
9e1e586d289a76f34b01f150a2f4a42dfcc6e1d1 | viewer/primitives/simple_geometry_primitives.hh | viewer/primitives/simple_geometry_primitives.hh | #pragma once
#include "sophus.hh"
#include "viewer/primitives/primitive.hh"
#include "geometry/shapes/halfspace.hh"
#include <vector>
namespace viewer {
using Vec3 = Eigen::Vector3d;
using Vec4 = Eigen::Vector4d;
struct Axes {
SE3 axes_from_world;
double scale = 1.0;
};
struct Line {
Vec3 start;
Vec3 end;... | #pragma once
#include "sophus.hh"
#include "viewer/primitives/primitive.hh"
#include "geometry/shapes/halfspace.hh"
#include <vector>
namespace viewer {
using Vec3 = Eigen::Vector3d;
using Vec4 = Eigen::Vector4d;
struct Axes {
SE3 axes_from_world;
double scale = 1.0;
};
struct Line {
Vec3 start;
Vec3 end;... | Make plane color selection easier | Make plane color selection easier
| C++ | mit | jpanikulam/experiments,jpanikulam/experiments,jpanikulam/experiments,jpanikulam/experiments |
19fa1c3013ccae96ce4bf3388645bf459e70978f | ouzel/graphics/direct3d11/TextureResourceD3D11.cpp | ouzel/graphics/direct3d11/TextureResourceD3D11.cpp | // Copyright (C) 2017 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "TextureResourceD3D11.h"
#include "RendererD3D11.h"
#include "core/Engine.h"
#include "utils/Log.h"
namespace ouzel
{
namespace graphics
{
static DXGI_FORMAT getD3D11PixelFormat(PixelFormat pixelFormat)
{... | // Copyright (C) 2017 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "TextureResourceD3D11.h"
#include "RendererD3D11.h"
#include "core/Engine.h"
#include "utils/Log.h"
namespace ouzel
{
namespace graphics
{
static DXGI_FORMAT getD3D11PixelFormat(PixelFormat pixelFormat)
{... | Check if parameters are dirty instead of data | Check if parameters are dirty instead of data
| C++ | unlicense | elvman/ouzel,Hotspotmar/ouzel,Hotspotmar/ouzel,elnormous/ouzel,Hotspotmar/ouzel,elnormous/ouzel,elnormous/ouzel,elvman/ouzel |
f642ab9c6f7585e47a11afa6e51e8cb4924bc929 | eventrpc/eventrpc/thread.cpp | eventrpc/eventrpc/thread.cpp |
#include "thread.h"
#include "log.h"
namespace eventrpc {
static const int MB = 1024 * 1024;
Thread::Thread(const std::string &name, shared_ptr<Runnable> runnable)
: name_(name),
runnable_(runnable),
cpu_affinity_(0),
detach_(true),
stack_size_(1),
policy_(SCHED_RR) {
}
Thread::Thread(shared_... |
#include "thread.h"
#include "log.h"
namespace eventrpc {
static const int MB = 1024 * 1024;
Thread::Thread(const std::string &name, shared_ptr<Runnable> runnable)
: name_(name),
runnable_(runnable),
cpu_affinity_(0),
detach_(true),
stack_size_(1),
policy_(SCHED_RR) {
}
Thread::Thread(shared_... | refactor thread cpp | refactor thread cpp | C++ | bsd-3-clause | iCoolcoder/avidya,wenyongking/avidya,wanggchongg/avidya,TheFool0415/avidya,songyundi2014/avidya,fujianbo/avidya,yangaofeng/avidya,iCoolcoder/avidya,wanyisunflower/avidya,zackxue/avidya,crisish/avidya,wenyongking/avidya,TheFool0415/avidya,JackSon3756/avidya,CuriousBoy0822/avidya,songyundi2014/avidya,weimaolong/avidya,ya... |
35d494ffc0cf0186cfe62cd9f7cd30b55dfe54c7 | akonadi/akonadiconsole/searchwidget.cpp | akonadi/akonadiconsole/searchwidget.cpp | /*
This file is part of Akonadi.
Copyright (c) 2009 Tobias Koenig <tokoe@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your... | /*
This file is part of Akonadi.
Copyright (c) 2009 Tobias Koenig <tokoe@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your... | add "Email by From/Full Name" search query example | add "Email by From/Full Name" search query example
svn path=/branches/work/akonadi-ports/kdepim/; revision=1036825
| C++ | lgpl-2.1 | lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi |
7e5e68aa23ebac22842938060ba4f308251f48f8 | lib/asan/asan_globals.cc | lib/asan/asan_globals.cc | //===-- asan_globals.cc ---------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===-- asan_globals.cc ---------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | Use metadata to pass source-level information from Clang to ASan. | [ASan] Use metadata to pass source-level information from Clang to ASan.
Instead of creating global variables for source locations and global names,
just create metadata nodes and strings. They will be transformed into actual
globals in the instrumentation pass (if necessary). This approach is more
flexible:
1) we don... | C++ | apache-2.0 | llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt,llvm-mirror/compiler-rt |
a28e769d1f53329b52bdcdefec0078630a633ef0 | test/src/misc/cifar.cpp | test/src/misc/cifar.cpp | //=======================================================================
// 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)
//==================================================================... | Use the CIFAR-10 dataset reader in a test | Use the CIFAR-10 dataset reader in a test
| C++ | mit | wichtounet/dll,wichtounet/dll,wichtounet/dll |
2bbada0fc4e89a4b96b93b06c8fa11083100d362 | test/stressSpectrum.cxx | test/stressSpectrum.cxx | // @(#)root/test:$name: $:$id: stressSpectrum.cxx,v 1.15 2002/10/25 10:47:51 rdm exp $
// Author: Rene Brun 17/01/2006
/////////////////////////////////////////////////////////////////
//
// TSPectrum test suite
// ====================
//
// This stress program tests many elements of the TSpectrum, TSpectrum2 c... | // @(#)root/test:$name: $:$id: stressSpectrum.cxx,v 1.15 2002/10/25 10:47:51 rdm exp $
// Author: Rene Brun 17/01/2006
/////////////////////////////////////////////////////////////////
//
// TSPectrum test suite
// ====================
//
// This stress program tests many elements of the TSpectrum, TSpectrum2 c... | Change the reference values following the move from TRandom to TRandom3 | Change the reference values following the move from TRandom to TRandom3
git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@15115 27541ba8-7e3a-0410-8455-c3a389f83636
| C++ | lgpl-2.1 | cxx-hep/root-cern,beniz/root,CristinaCristescu/root,Y--/root,sawenzel/root,sbinet/cxx-root,root-mirror/root,mhuwiler/rootauto,ffurano/root5,veprbl/root,0x0all/ROOT,Duraznos/root,bbockelm/root,abhinavmoudgil95/root,zzxuanyuan/root-compressor-dummy,karies/root,Duraznos/root,vukasinmilosevic/root,sbinet/cxx-root,mhuwiler/... |
a734936d106f7001326870ee8e304ca9baf1a463 | ouzel/utils/Utils.hpp | ouzel/utils/Utils.hpp | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_UTILS_UTILS_HPP
#define OUZEL_UTILS_UTILS_HPP
#include <cstdint>
#include <cstdlib>
#include <functional>
#include <limits>
#include <random>
#include <string>
#include <thread>
#include <type_traits>
#include <vector>
namespace ouzel
{
... | // Copyright 2015-2019 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_UTILS_UTILS_HPP
#define OUZEL_UTILS_UTILS_HPP
#include <cstdint>
#include <cstdlib>
#include <random>
#include <string>
#include <thread>
#include <type_traits>
#include <vector>
namespace ouzel
{
extern std::mt19937 randomEngine;
t... | Remove unneeded includes from the Utils.hpp | Remove unneeded includes from the Utils.hpp
| C++ | unlicense | elnormous/ouzel,elnormous/ouzel,elnormous/ouzel |
98bc61493ff4d7c4c51a09aba4e33ba69d7b387d | Modules/Filtering/DisplacementField/test/itkDisplacementFieldJacobianDeterminantFilterTest.cxx | Modules/Filtering/DisplacementField/test/itkDisplacementFieldJacobianDeterminantFilterTest.cxx | /*=========================================================================
*
* 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 missing initialization braces warning | COMP: Fix missing initialization braces warning
Fix missing initialization braces warning.
Fixes:
```
[CTest: warning matched]
/Users/builder/externalModules/Filtering/DisplacementField/test/itkDisplacementFieldJacobianDeterminantFilterTest.cxx:169:49:
warning: suggest braces around initialization of subobject [-Wmi... | C++ | apache-2.0 | Kitware/ITK,Kitware/ITK,thewtex/ITK,hjmjohnson/ITK,InsightSoftwareConsortium/ITK,BRAINSia/ITK,InsightSoftwareConsortium/ITK,richardbeare/ITK,richardbeare/ITK,BRAINSia/ITK,richardbeare/ITK,thewtex/ITK,richardbeare/ITK,BRAINSia/ITK,hjmjohnson/ITK,Kitware/ITK,richardbeare/ITK,BRAINSia/ITK,hjmjohnson/ITK,hjmjohnson/ITK,BRA... |
04e8d4e369ab881f952cc7eb7c9830f5b8d500ee | ash/system/ime/tray_ime.cc | ash/system/ime/tray_ime.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 "ash/system/ime/tray_ime.h"
#include <vector>
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/system/tray/syst... | // 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 "ash/system/ime/tray_ime.h"
#include <vector>
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/system/tray/syst... | Fix input method changed notification window looking. | Fix input method changed notification window looking.
Set multi-line explicitly and left align flag into ime tray, otherwise not all text is displayed.
BUG=157535
TEST=Manually done on lumpy
Review URL: https://chromiumcodereview.appspot.com/11266034
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@164434 0039... | C++ | bsd-3-clause | littlstar/chromium.src,fujunwei/chromium-crosswalk,Just-D/chromium-1,Fireblend/chromium-crosswalk,fujunwei/chromium-crosswalk,axinging/chromium-crosswalk,M4sse/chromium.src,Just-D/chromium-1,dushu1203/chromium.src,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,bright-sparks/chromium-spacewalk,hgl888/chromium-cr... |
4c8edb308feb04fc3d51eebcd8bc1da09ad6c2c1 | modules/io/synth.cpp | modules/io/synth.cpp | #include "io/synth.h"
#include <opencv2/imgproc.hpp>
#include "core/exception.h"
using namespace cv;
base_Synth::base_Synth()
{
}
base_Synth::~base_Synth()
{
}
SynthBars::SynthBars()
: base_Synth()
{
Reset(28, 28, 6);
}
void SynthBars::Reset(int rows, int cols, int nb_variations)
{
if(nb_variations <... | #include "io/synth.h"
#include <opencv2/imgproc.hpp>
#include "core/exception.h"
using namespace cv;
base_Synth::base_Synth()
{
}
base_Synth::~base_Synth()
{
}
SynthBars::SynthBars()
: base_Synth()
{
Reset(28, 28, 6);
}
void SynthBars::Reset(int rows, int cols, int nb_variations)
{
if(nb_variations <... | reduce steps in drawing oriented bars | reduce steps in drawing oriented bars
| C++ | bsd-3-clause | kashefy/elm,kashefy/elm,kashefy/elm,kashefy/elm |
5fc904227c8f2b6e713de6abb610d6fbd96dd705 | webkit/api/src/WebBindings.cpp | webkit/api/src/WebBindings.cpp | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | Revert r22390. | Revert r22390.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/159884
git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@22443 0039d316-1c4b-4281-b951-d872f2087c98
| C++ | bsd-3-clause | ropik/chromium,ropik/chromium,gavinp/chromium,yitian134/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,gavinp/chromium,ropik/chromium,ropik/chromium,yitian134/chromium,adobe/chromium,ropik/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,Crystalnix/h... |
73a3d249f6e7ae99c6eade652b4c788fe3a6b793 | tests/core/property.c++ | tests/core/property.c++ | /**
* The MIT License (MIT)
*
* Copyright (c) 2017 Ruben Van Boxem
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | /**
* The MIT License (MIT)
*
* Copyright (c) 2017 Ruben Van Boxem
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | Initialize uninitialized property in tests. | Initialize uninitialized property in tests.
| C++ | mit | skui-org/skui,rubenvb/skui,skui-org/skui,rubenvb/skui |
275234763b50c059dbf173e00294d0ea7f452d92 | webrtc/base/platform_thread.cc | webrtc/base/platform_thread.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... | Revert of Use sched_yield on all POSIX platforms in PlatformThread. (patchset #1 id:1 of https://codereview.webrtc.org/2725573002/ ) | Revert of Use sched_yield on all POSIX platforms in PlatformThread. (patchset #1 id:1 of https://codereview.webrtc.org/2725573002/ )
Reason for revert:
breaks linux_ubsan bots.
Original issue's description:
> Reland of Use sched_yield on all POSIX platforms in PlatformThread. (patchset #1 id:1 of https://codereview.w... | C++ | bsd-3-clause | ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,ShiftMediaProject/libilbc,TimothyGu/libilbc,TimothyGu/libilbc |
60919257651b951423706a23dbcb203d0d6d476c | src/Tools/Arguments/Types/File_system/File_system.cpp | src/Tools/Arguments/Types/File_system/File_system.cpp | #include <fstream>
#include <dirent.h>
#include "File_system.hpp"
std::string aff3ct::tools::openmode_to_string(const openmode& mode)
{
std::string str;
switch(mode)
{
case openmode::read :
str += "read only";
break;
case openmode::write :
str += "write only";
break;
case openmode::read_write ... | #include <fstream>
#include <dirent.h>
#include "File_system.hpp"
std::string aff3ct::tools::openmode_to_string(const openmode& mode)
{
std::string str;
switch(mode)
{
case openmode::read :
str += "read only";
break;
case openmode::write :
str += "write only";
break;
case openmode::read_write ... | Fix the 'isFile::check' function to detect only files instead of files and directories. | Fix the 'isFile::check' function to detect only files instead of files and directories.
| C++ | mit | aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct,aff3ct/aff3ct |
7be15981c04e9a9b39969c936e86346efe3de7c2 | tests/mesh/mesh_input.C | tests/mesh/mesh_input.C | #include <libmesh/equation_systems.h>
#include <libmesh/implicit_system.h>
#include <libmesh/mesh.h>
#include <libmesh/mesh_communication.h>
#include <libmesh/mesh_generation.h>
#include <libmesh/replicated_mesh.h>
#include <libmesh/dyna_io.h>
#include <libmesh/exodusII_io.h>
#include <libmesh/dof_map.h>
#include "tes... | #include <libmesh/equation_systems.h>
#include <libmesh/implicit_system.h>
#include <libmesh/mesh.h>
#include <libmesh/mesh_communication.h>
#include <libmesh/mesh_generation.h>
#include <libmesh/replicated_mesh.h>
#include <libmesh/dyna_io.h>
#include <libmesh/exodusII_io.h>
#include <libmesh/dof_map.h>
#include "tes... | Check constraint counts | Check constraint counts
| C++ | lgpl-2.1 | libMesh/libmesh,roystgnr/libmesh,libMesh/libmesh,dschwen/libmesh,libMesh/libmesh,jwpeterson/libmesh,capitalaslash/libmesh,jwpeterson/libmesh,roystgnr/libmesh,dschwen/libmesh,libMesh/libmesh,BalticPinguin/libmesh,roystgnr/libmesh,capitalaslash/libmesh,jwpeterson/libmesh,capitalaslash/libmesh,libMesh/libmesh,jwpeterson/l... |
ad07e34190f6c41e0035ada25e39f5e4512f0967 | parContextManager.cpp | parContextManager.cpp |
//Implementation of the parallel statement execution manager
#include "parContextManager.h"
StatementContext::StatementContext() {
//Do nothing
}
/*=================================StatementContext=================================*/
void StatementContext::addIntFuture(std::future<int64_t>& f, const int64_t id) {
... |
//Implementation of the parallel statement execution manager
#include "parContextManager.h"
StatementContext::StatementContext() {
//Do nothing
}
/*=================================StatementContext=================================*/
void StatementContext::addIntFuture(std::future<int64_t>& f, const int64_t id) {
... | Improve parallism by not counting main as a worker | Improve parallism by not counting main as a worker
| C++ | apache-2.0 | henfredemars/Fork-Lang,henfredemars/Fork-Lang,henfredemars/Fork-Lang,henfredemars/Fork-Lang,henfredemars/Fork-Lang,henfredemars/Fork-Lang,henfredemars/Fork-Lang |
f980e88f33878a832d6f3cb6bffe24823486a6bd | gm/tilemodes.cpp | gm/tilemodes.cpp |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUtils.h"
#include "SkColorPriv.h"
#include "SkColorFilter.h"
#include "SkTypeface.h... |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkPath.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUtils.h"
#include "SkColorPriv.h"
#include "SkColorFilter.h"
#include "SkTypeface.h... | use DEF_GM | use DEF_GM
| C++ | bsd-3-clause | csulmone/skia,csulmone/skia,csulmone/skia,csulmone/skia |
caaa893b893fc4b976ed7a967a114659ce356769 | Code/Native/Source/LightSystem/ShadowManager.cpp | Code/Native/Source/LightSystem/ShadowManager.cpp | /**
*
* RenderPipeline
*
* Copyright (c) 2014-2015 tobspr <tobias.springer1@gmail.com>
*
* 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 limi... | /**
*
* RenderPipeline
*
* Copyright (c) 2014-2015 tobspr <tobias.springer1@gmail.com>
*
* 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 limi... | Fix compilation error in VS2010 | Fix compilation error in VS2010
| C++ | mit | croxis/SpaceDrive,croxis/SpaceDrive,croxis/SpaceDrive |
6e281bc856a61d232cfc4727d8fe13703b0b4e42 | examples/qt-widgets/main.cpp | examples/qt-widgets/main.cpp | #include "MainWindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| #include "MainWindow.h"
#include <QApplication>
#if defined(Q_OS_IOS)
extern "C" int qtmn(int argc, char** argv) {
#else
int main(int argc, char **argv) {
#endif
QApplication a(argc, argv);
MainWindow w;
w.show();
return a.exec();
}
| Fix iOS runtime error | Fix iOS runtime error
| C++ | bsd-2-clause | headupinclouds/hunter,lucmichalski/hunter,zhuhaow/hunter,fire-hunter/hunter,mchiasson/hunter,ulricheck/hunter,headupinclouds/hunter,madmongo1/hunter,madmongo1/hunter,ulricheck/hunter,dvirtz/hunter,NeroBurner/hunter,sumedhghaisas/hunter,ikliashchou/hunter,dvirtz/hunter,isaachier/hunter,ErniBrown/hunter,xsacha/hunter,hea... |
23878d3945bcb8c3d78d65e1d1e393c3f975e657 | base/process_util_linux.cc | base/process_util_linux.cc | // Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/process_util.h"
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <string>
#include <sys/types.h>... | // Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/process_util.h"
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>
#include <string>
#include <sys/types.h>... | Clean up a bunch of style errors in process_util_linux.cc. | Clean up a bunch of style errors in process_util_linux.cc.
Review URL: http://codereview.chromium.org/18615
git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@8362 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
| C++ | bsd-3-clause | wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser |
b8096e69fa183c6facc254b7c7b78cb5099dd770 | base/test_file_util_mac.cc | base/test_file_util_mac.cc | // Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test_file_util.h"
#include "base/logging.h"
namespace file_util {
bool EvictFileFromSystemCache(const FilePath& file) {
// TODO(po... | // Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/test_file_util.h"
#include "base/logging.h"
namespace file_util {
bool EvictFileFromSystemCache(const FilePath& file) {
// There i... | Change the stub for file_util::EvictFileFromSystemCache | Change the stub for file_util::EvictFileFromSystemCache
I don't think there is a way to get something out of the UBC once it's in,
so for now I'm just making this api return true so it won't fail unittests.
I have email out to Amit incase he has any ideas.
Review URL: http://codereview.chromium.org/42333
git-svn-id:... | C++ | bsd-3-clause | Jonekee/chromium.src,ChromiumWebApps/chromium,keishi/chromium,ltilve/chromium,hgl888/chromium-crosswalk,dushu1203/chromium.src,krieger-od/nwjs_chromium.src,bright-sparks/chromium-spacewalk,zcbenz/cefode-chromium,TheTypoMaster/chromium-crosswalk,dednal/chromium.src,ltilve/chromium,pozdnyakov/chromium-crosswalk,M4sse/chr... |
8ca9988afcff3c3490d12bbac50df67f2068854f | ChocolateyInstaller/WinMain.cpp | ChocolateyInstaller/WinMain.cpp | #pragma once
#pragma warning(push)
#pragma warning(disable: 4302 4838)
#include <atlbase.h>
#include <atlfile.h>
#include <atlcoll.h>
#include <atlstr.h>
#include <atlwin.h>
#include <atlapp.h>
#include <atlctrls.h>
#include <atldlgs.h>
#pragma warning(pop)
#include "unzip.h"
#include "resource.h"
#include <shellapi.... | #pragma once
#pragma warning(push)
#pragma warning(disable: 4302 4838)
#include <atlbase.h>
#include <atlfile.h>
#include <atlcoll.h>
#include <atlstr.h>
#include <atlwin.h>
#include <atlapp.h>
#include <atlctrls.h>
#include <atldlgs.h>
#pragma warning(pop)
#include "unzip.h"
#include "resource.h"
#include <shellapi.... | Fix crash in CreateProcess() | Fix crash in CreateProcess()
| C++ | mit | wjk/ChocolateyInstaller,wjk/ChocolateyInstaller,wjk/ChocolateyInstaller |
545f1ffdbedbb31613373f52d74231328308f23e | EMCAL/AliEMCALAfterBurnerUF.cxx | EMCAL/AliEMCALAfterBurnerUF.cxx | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | change delete of arrays per event by clear, set default geometry to FIRSTYEARV1 | change delete of arrays per event by clear, set default geometry to FIRSTYEARV1
| C++ | bsd-3-clause | jgrosseo/AliRoot,ecalvovi/AliRoot,sebaleh/AliRoot,ALICEHLT/AliRoot,miranov25/AliRoot,miranov25/AliRoot,jgrosseo/AliRoot,jgrosseo/AliRoot,coppedis/AliRoot,miranov25/AliRoot,ALICEHLT/AliRoot,jgrosseo/AliRoot,ecalvovi/AliRoot,ALICEHLT/AliRoot,alisw/AliRoot,coppedis/AliRoot,jgrosseo/AliRoot,shahor02/AliRoot,mkrzewic/AliRoo... |
0bfab77f7627359def5f4c7982367fe8e119cd88 | Graphics/vtkElevationFilter.cxx | Graphics/vtkElevationFilter.cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkElevationFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwa... | /*=========================================================================
Program: Visualization Toolkit
Module: vtkElevationFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This softwa... | Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.57 -j1.58 Graphics/vtkElevationFilter.cxx) | ENH: Merge changes from main tree into VTK-5-0 branch. (cvs -q up -j1.57 -j1.58 Graphics/vtkElevationFilter.cxx)
| C++ | bsd-3-clause | johnkit/vtk-dev,msmolens/VTK,demarle/VTK,biddisco/VTK,sumedhasingla/VTK,arnaudgelas/VTK,SimVascular/VTK,cjh1/VTK,mspark93/VTK,demarle/VTK,jeffbaumes/jeffbaumes-vtk,Wuteyan/VTK,collects/VTK,candy7393/VTK,mspark93/VTK,daviddoria/PointGraphsPhase1,daviddoria/PointGraphsPhase1,Wuteyan/VTK,sankhesh/VTK,arnaudgelas/VTK,keith... |
b5afc1a0d98837fceba336649c4ee7fd2707e6ed | Iceberg3D/source/IntroState.cpp | Iceberg3D/source/IntroState.cpp | #include "IntroState.h"
#include "GlobalIncludes.h"
using namespace std;
using namespace glm;
void IntroState::pause(){}
void IntroState::resume(){}
void IntroState::finalize(){}
void IntroState::handle_events(){}
void IntroState::initialize()
{
// Initialize resources
model = make_unique<Model>("assets/dead... | #include "IntroState.h"
#include "GlobalIncludes.h"
using namespace std;
using namespace glm;
void IntroState::pause(){}
void IntroState::resume(){}
void IntroState::finalize(){}
void IntroState::handle_events(){}
void IntroState::initialize()
{
// Initialize resources
model = make_unique<Model>("assets/dead... | Tweak demo. | Tweak demo.
| C++ | mit | matthewjberger/Iceberg3D,matthewjberger/Iceberg3D |
b3d0e060f4af41efb5af4363e7ee60b0c4f215fa | mcrouter/tools/mcpiper/MessagePrinter.cpp | mcrouter/tools/mcpiper/MessagePrinter.cpp | /*
* Copyright (c) 2016, 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 "Me... | /*
* Copyright (c) 2016, 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 "Me... | print message size in --raw option | print message size in --raw option
Summary: added print of message size
Reviewed By: andreazevedo
Differential Revision: D3616344
fbshipit-source-id: 640aee477e5b09ca8bd35275d29ee7a101f9237c
| C++ | mit | facebook/mcrouter,facebook/mcrouter,facebook/mcrouter,yqzhang/mcrouter,yqzhang/mcrouter,yqzhang/mcrouter,yqzhang/mcrouter,facebook/mcrouter |
667f493a5b7c4a66dfe7254862c6146820bb5cd1 | Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx | Testing/Code/IO/otbImageFileWriterWithExtendedOptionBox.cxx | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRAN... | /*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WITHOUT ANY WARRAN... | remove typename outside a template | WARN: remove typename outside a template
| C++ | apache-2.0 | orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB,orfeotoolbox/OTB |
dfaca9f4255ab4c3641290b20f02bade0f79a743 | b-ask/b-ask.cpp | b-ask/b-ask.cpp | #include <iostream>
#include <iomanip>
#include <chrono>
#include <arm_neon.h>
#include <stdlib.h>
#include <inttypes.h>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <signal.h>
std::mutex m ;
std::condition_variable cv ;
std::chrono::high_resolution_clock::time_point mid ;
std::chrono::hig... | #include <iostream>
#include <iomanip>
#include <chrono>
#include <arm_neon.h>
#include <stdlib.h>
#include <inttypes.h>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <signal.h>
std::mutex m ;
std::condition_variable cv ;
std::chrono::high_resolution_clock::time_point mid ;
std::chrono::hig... | fix var | fix var
| C++ | mit | gorillanet/system-bus-radio-neon |
b82b03e6e60349814e367409e3ce116e0f845e88 | src/infill/LightningLayer.cpp | src/infill/LightningLayer.cpp | //Copyright (c) 2021 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "LightningLayer.h" //The class we're implementing.
#include <iterator> // advance
#include "LightningDistanceField.h"
#include "LightningTreeNode.h"
#include "../sliceDataStorage.h"
#include "../utils/linea... | //Copyright (c) 2021 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "LightningLayer.h" //The class we're implementing.
#include <iterator> // advance
#include "LightningDistanceField.h"
#include "LightningTreeNode.h"
#include "../sliceDataStorage.h"
#include "../utils/linea... | Fix missing infill layers | Fix missing infill layers
CURA-9088
| C++ | agpl-3.0 | Ultimaker/CuraEngine,Ultimaker/CuraEngine |
9b0b415137cddbd818ac3755868e0fc117014965 | src/jnc_ct/jnc_ct_DoxyMgr.cpp | src/jnc_ct/jnc_ct_DoxyMgr.cpp | #include "pch.h"
#include "jnc_ct_DoxyMgr.h"
#include "jnc_ct_Module.h"
namespace jnc {
namespace ct {
//.............................................................................
sl::String
DoxyBlock::createDoxyDescriptionString ()
{
sl::String string;
if (!m_briefDescription.isEmpty ())
{
string.append ("... | #include "pch.h"
#include "jnc_ct_DoxyMgr.h"
#include "jnc_ct_Module.h"
namespace jnc {
namespace ct {
//.............................................................................
sl::String
DoxyBlock::createDoxyDescriptionString ()
{
sl::String string;
if (!m_briefDescription.isEmpty ())
{
string.append ("... | trim description string before saving to xml | [jancy] trim description string before saving to xml
| C++ | mit | vovkos/jancy,vovkos/jancy,vovkos/jancy,vovkos/jancy,vovkos/jancy |
20c3d33d3e1bd0eee30f0d5f1517865ebff3965b | FileCheck/FileCheck.cpp | FileCheck/FileCheck.cpp | //===- FileCheck.cpp - Check that File's Contents match what is expected --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | //===- FileCheck.cpp - Check that File's Contents match what is expected --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | refactor out the match string into its own Pattern class. | refactor out the match string into its own Pattern class.
git-svn-id: a4a6f32337ebd29ad4763b423022f00f68d1c7b7@82711 91177308-0d34-0410-b5e6-96231b3b80d8
| C++ | bsd-3-clause | lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx,lodyagin/bare_cxx |
b1765749f5f1de3803b8710a2bad7c624b2fc357 | libevmjit/BasicBlock.cpp | libevmjit/BasicBlock.cpp |
#include "BasicBlock.h"
#include <iostream>
#include <boost/lexical_cast.hpp>
#include <llvm/IR/CFG.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/Support/raw_os_ostream.h>
#include "Type.h"
namespace dev
{
namespace eth
{
namespace jit
{
const ch... |
#include "BasicBlock.h"
#include <iostream>
#include <llvm/IR/CFG.h>
#include <llvm/IR/Function.h>
#include <llvm/IR/Instructions.h>
#include <llvm/IR/IRBuilder.h>
#include <llvm/Support/raw_os_ostream.h>
#include "Type.h"
namespace dev
{
namespace eth
{
namespace jit
{
const char* BasicBlock::NamePrefix = "Instr... | Remove usage of boost::lexical_cast | Remove usage of boost::lexical_cast
| C++ | mit | vaporry/cpp-ethereum,anthony-cros/cpp-ethereum,Sorceror32/go-get--u-github.com-tools-godep,smartbitcoin/cpp-ethereum,Sorceror32/go-get--u-github.com-tools-godep,joeldo/cpp-ethereum,smartbitcoin/cpp-ethereum,PaulGrey30/go-get--u-github.com-tools-godep,yann300/cpp-ethereum,chfast/webthree-umbrella,programonauta/webthree-... |
f7a5a784f2b46d3d23e6bcf261891e8757f385fc | api/exportApi.cpp | api/exportApi.cpp | /*! \file exportApi.h
* \author Jared Hoberock
* \brief Implementation of exportApi function.
*/
#include "exportApi.h"
#include "Gotham.h"
#include <boost/python.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
using namespace boost::python;
// wrapper for Gotham::material()
void Gotham_mat... | /*! \file exportApi.h
* \author Jared Hoberock
* \brief Implementation of exportApi function.
*/
#include "exportApi.h"
#include "Gotham.h"
#include <boost/python.hpp>
#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
using namespace boost::python;
// wrapper for Gotham::material()
// see http://w... | Add reference to boost python FAQ. | Add reference to boost python FAQ.
git-svn-id: eeeef91d721e48f02083ec31b1220ddf564a51e4@1063 3bb10773-34f4-0310-b88c-ec9d511ba0d9
| C++ | apache-2.0 | jaredhoberock/gotham,jaredhoberock/gotham,jaredhoberock/gotham,jaredhoberock/gotham,jaredhoberock/gotham |
636fca3be1ad815858c9a6a9cf30495a16bad58b | DataSpec/DNAMP1/SCAN.hpp | DataSpec/DNAMP1/SCAN.hpp | #ifndef _DNAMP1_SCAN_HPP_
#define _DNAMP1_SCAN_HPP_
#include "../DNACommon/DNACommon.hpp"
#include "DNAMP1.hpp"
namespace Retro
{
namespace DNAMP1
{
struct SCAN : BigYAML
{
DECL_YAML
Value<atUint32> version;
Value<atUint32> magic;
UniqueID32 frame;
UniqueID32 string;
enum ScanSpeed
... | #ifndef _DNAMP1_SCAN_HPP_
#define _DNAMP1_SCAN_HPP_
#include "../DNACommon/DNACommon.hpp"
#include "DNAMP1.hpp"
namespace Retro
{
namespace DNAMP1
{
static const std::vector<std::string> PaneNames =
{
"imagepane_pane0",
"imagepane_pane1",
"imagepane_pane2",
"imagepane_pane3",
"imagepane_pane01",
... | Store widget names rather than enumerator values | Store widget names rather than enumerator values
| C++ | mit | AxioDL/PathShagged,AxioDL/PathShagged,RetroView/PathShagged,RetroView/PathShagged,AxioDL/PathShagged,RetroView/PathShagged |
d01585c07782394c2b58262f293188d375e2b89a | edante/motion_planning/src/await_transition.cpp | edante/motion_planning/src/await_transition.cpp | /**
* @file await_transition.cpp
* @brief AwaitTransition action server
* @author Alejandro Bordallo <alex.bordallo@ed.ac.uk>
* @date 2015-06-08
* @copyright (MIT) 2015 Edinferno
*/
#include "motion_planning/await_transition.hpp"
AwaitTransitionAction::AwaitTransitionAction(ros::NodeHandle nh,
... | /**
* @file await_transition.cpp
* @brief AwaitTransition action server
* @author Alejandro Bordallo <alex.bordallo@ed.ac.uk>
* @date 2015-06-08
* @copyright (MIT) 2015 Edinferno
*/
#include "motion_planning/await_transition.hpp"
AwaitTransitionAction::AwaitTransitionAction(ros::NodeHandle nh,
... | Remove unnecessary poll and wait for checking button press, now callback | Remove unnecessary poll and wait for checking button press, now callback
| C++ | mit | edinferno/edinferno,edinferno/edinferno,edinferno/edinferno,edinferno/edinferno |
47f869b731d7821f02eb601e409bd3ce347ed30b | editor/plugins/baked_lightmap_editor_plugin.cpp | editor/plugins/baked_lightmap_editor_plugin.cpp | /*************************************************************************/
/* baked_lightmap_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | /*************************************************************************/
/* baked_lightmap_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | Tweak lightmapper warning message to mention Rosetta emulation on macOS | Tweak lightmapper warning message to mention Rosetta emulation on macOS
| C++ | mit | ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot,ex/godot |
1f4137531f6a7d3a5ac3b50891ca4b911281ad81 | src/test/netbase_tests.cpp | src/test/netbase_tests.cpp | #include <boost/test/unit_test.hpp>
#include <string>
#include <vector>
#include "netbase.h"
using namespace std;
BOOST_AUTO_TEST_SUITE(netbase_tests)
BOOST_AUTO_TEST_CASE(netbase_networks)
{
BOOST_CHECK(CNetAddr("127.0.0.1").GetNetwork() == NET_UNROUTABLE);
BOOST_CHECK(CNetAdd... | #include <boost/test/unit_test.hpp>
#include <string>
#include <vector>
#include "netbase.h"
using namespace std;
BOOST_AUTO_TEST_SUITE(netbase_tests)
BOOST_AUTO_TEST_CASE(netbase_networks)
{
BOOST_CHECK(CNetAddr("127.0.0.1").GetNetwork() == NET_UNROUTABLE);
BOOST_CHECK(CNetAdd... | Update netbase_tests.cpp | Update netbase_tests.cpp
URL branding | C++ | mit | Earlz/dobbscoin-source,dobbscoin/dobbscoin-source,dobbscoin/dobbscoin-source,Earlz/dobbscoin-source,dobbscoin/dobbscoin-source,dobbscoin/dobbscoin-source,dobbscoin/dobbscoin-source,Earlz/dobbscoin-source,dobbscoin/dobbscoin-source,Earlz/dobbscoin-source,Earlz/dobbscoin-source,Earlz/dobbscoin-source |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.