text
stringlengths
54
60.6k
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FO...
<commit_before>#include <iostream> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/mman.h> #include <pwd.h> #include <fcntl.h> using namespace std; static int *glob_flag; //output login @ machine $ void prompt(){ struct passwd ...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>#include<cstdio> #include<cmath> #include<cstdlib> #include<cstring> #include "defs.h" #include "prbg.h" #define MAX_PASSWD 128 #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) using namespace std; int main(int argc, char* argv[]){ //Checking input if(!(argc==3 && atoi(argv[1]))){ //perror("Incorrect...
<commit_before>/** * libcec-daemon * A simple daemon to connect libcec to uinput. That is, using your TV to control your PC! * by Andrew Brampton * * TODO * */ #include "main.h" #define VERSION "libcec-daemon v0.9" #define CEC_NAME "linux PC" #define UINPUT_NAME "libcec-daemon" #include <algorithm> #i...
<commit_before>#include <iostream> #include <vector> #include "MuMaterial.h" #include "rhythm.hpp" using namespace std; void PrintVector (vector<float> v, string message); int main () { MuInit(); Rhythm rhythm(4, 4, 60); rhythm.GenerateBaseRhythm(2); vector<float> base_rhythm = rhythm.base_rhythm;...
<commit_before>#include <cstdint> #include <chrono> #include <thread> #include <future> #include <functional> #include <random> #include <iostream> #include <vector> #include <algorithm> using microsec = std::chrono::microseconds; using millisec = std::chrono::milliseconds; using nanosec = std::chrono::n...
<commit_before>#include <string.h> #include <iostream> #include <unistd.h> #include <string> #include <sys/types.h> #include <sys/wait.h> #include <stdio.h> #include <errno.h> #include <vector> using namespace std; int check_connect(const string& str, int& pos, int start){ unsigned found = 0; found = str.find_first...
<commit_before>#include <Bounce2.h> #include "FastLED.h" #include <EEPROM.h> // Digital PINs #define LED_PIN_CH1 4 #define LED_PIN_CH2 2 #define MODE_BUTTON_PIN 6 #define BRIGHTNESS_BUTTON_PIN 8 #define BEAT_BUTTON_PIN 10 // Analog PINs #define ACCELX_PIN 0 #define ACCELY_PIN 2 #define ACCELZ_PIN 4 // Other constant...
<commit_before>#define DISTANCECMCRITICAL 20 #define DISTANCECMWARNING 30 #define PUBLSIHINTERVAL 1000 #define TRYFOLLOWLINEINTERVAL 3000 #define WAITINTERVAL 5000 #define MOVESPEED 100 #include <Arduino.h> #include <Streaming.h> #include <ArduinoJson.h> #include <MeMCore.h> enum direction { FORWARD, BACKWARD, LEFT,...
<commit_before>#include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/wait.h> #include <iostream> #include <cstdlib> using namespace std; const int MAX_ARGS = 256; int runCommands(char **argv) { int status; pid_t pid; pid = fork(); if(pid < 0) { p...
<commit_before>#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <e_line_judge/user_calibration.h> #include <e_line_judge/ball_detection.h> #include <e_line_judge/ball_tracking.h> #include <e_line_judge/line_decision.h> #include <e_line_judge/pre_processing.h> #include <e_line_judge/surfa...
<commit_before>#pragma GCC diagnostic ignored "-Wswitch" #define GLEW_STATIC #define MICRO_SECONDS_PER_FRAME 16667 #include <GL/glew.h> #include <SFML/Window.hpp> #include <chrono> #include <unistd.h> std::chrono::steady_clock::time_point start; std::chrono::steady_clock::time_point end; //-------------------------...
<commit_before>#include "userinterface.hpp" int main(int argc, char *argv[]) { std::vector<std::string> arg; for(int i = 0; i < argc; i++) { arg.push_back(argv[i]); } UserInterface ui(arg); } <commit_msg>add top level exception handling<commit_after>#include "userinterface.hpp" int main(in...
<commit_before>#include <dmc/dmc.hpp> #include <iostream> #include <fstream> #include <iomanip> #include <chrono> template <class Scalar> struct test_object : dmc::dual_object<Scalar, test_object<Scalar>> { public: typedef dmc::object<Scalar> base_type; using typename base_type::scalar_type; using typename base_ty...
<commit_before>#include "bcm2835/rpiemulator.h" #include <getopt.h> /** * Prints the command line options */ static void cmdline_usage(int argc, char **argv) { printf("%s [options] image\n", argc > 0 ? argv[0] : "emulate"); printf("Options:\n"); printf(" --quiet Does not dump CPU state\n"); printf(...
<commit_before>#include <cstdlib> #include <fstream> #include <memory> #include <boost/program_options.hpp> #include "UI/ui_factory.hpp" #include "player_factory.hpp" #include "exception.hpp" #include "logger.hpp" #include "state/main_menu_state.hpp" #include "state/game_state.hpp" #include "state/state_manager.hpp...
<commit_before>#include "ui/mainwindow.h" #include <QApplication> #include <QStyleFactory> int main(int argc, char *argv[]) { QApplication a(argc, argv); a.setStyle(QStyleFactory::create("Fusion")); QPalette dark; dark.setColor(QPalette::Window, QColor(53, 53, 53)); dark.setColor(QPalette::WindowText, Qt::...
<commit_before><commit_msg>Fix declaration<commit_after><|endoftext|>
<commit_before>// MAIN SOURCE #include <iostream> #include <fstream> #include "checker.h" #include "include/configuration.h" #include "gflags/gflags.h" namespace sqlcheck { Configuration state; } // namespace sqlcheck DEFINE_bool(c, false, "Display warnings in color mode"); DEFINE_bool(v, false, "Display verbos...
<commit_before>#include <QtGui/QGuiApplication> #include <QQmlContext> #include <QStateMachine> #include <QDebug> #include <QListView> #include <QApplication> #include <memory> #include "./window.h" #include "./scene.h" #include "./nodes.h" #include "./input/invoke_manager.h" #include "./input/signal_manager.h" #includ...
<commit_before>#include <cstdio> #include <string> #ifdef __APPLE__ #include <OpenGL/glu.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #else #include "GL/glu.h" #include "SDL2/SDL.h" #include "SD2/SDL_opengl.h" #endif namespace evil { static const char* lastError = ""; const char *GetError() { return la...
<commit_before>/* * Worldvisions Weaver Software: * Copyright (C) 1997-2003 Net Integration Technologies, Inc. * * WvDial configuration utility. Generates a basic wvdial.conf file. */ #include "wvmodemscan.h" #include "wvfile.h" #include "wvconf.h" #include <ctype.h> void check_ppp_options() { WvFile file...
<commit_before>// // DIYSeqEngine.cpp // AudioKit // // Created by Jeff Cooper on 1/25/19. // Copyright © 2019 AudioKit. All rights reserved. // #include <stdio.h> #pragma once #import "AKSoundpipeKernel.hpp" #define NOTEON 0x90 #define NOTEOFF 0x80 #define INITVALUE -1.0 #define MIDINOTECOUNT 128 struct MIDIEve...
<commit_before><commit_msg>coverity#735764 Unchecked dynamic_cast<commit_after><|endoftext|>
<commit_before>#include <EXTERN.h> // from the Perl distribution #include <perl.h> // from the Perl distribution #ifdef WIN32 // Perl win32 specific includes, found in perl\\lib\\CORE\\win32.h // Defines the windows specific convenience RunPerl() function, // which is not available on other operating systems. #include...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fuarea.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-12-14 16:54:33 $ * * The Contents of this file are made av...
<commit_before>#include <stdexcept> #include <limits> #include <algorithm> #include <array> #include <memory> #include <iomanip> #include <string> #include <sstream> #include <iostream> #include <fstream> #include <vector> //#include <sys/stat.h> #include <cerrno> #include <cstring> #include <system_error> #include <o...
<commit_before>// This file is a part of the OpenSurgSim project. // Copyright 2013, SimQuest Solutions Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.or...
<commit_before>// // AKPannerDSPKernel.hpp // AudioKit // // Created by Aurelius Prochazka, revision history on Github. // Copyright © 2017 Aurelius Prochazka. All rights reserved. // #pragma once #import "AKSoundpipeKernel.hpp" enum { panAddress = 0 }; class AKPannerDSPKernel : public AKSoundpipeKernel, pu...
<commit_before>/* * Recognizer.cc * * Copyright (C) 2015 Linas Vepstas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundation and including the * exceptions * at http://opencog.org/...
<commit_before>#include "AConfig.h" #if(HAS_STD_CALIBRATIONLASERS) #include "Device.h" #include "Pin.h" #include "CalibrationLaser.h" #include "Settings.h" Pin claser("claser", CALIBRATIONLASERS_PIN, claser.analog, claser.out); void CalibrationLaser::device_setup(){ Settings::capability_bitarray |= (1 << CALIBRAT...
<commit_before>/************************************************************************* * * $RCSfile: HashMaps.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: mtg $ $Date: 2001-07-04 14:56:13 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>// Declares clang::SyntaxOnlyAction. #include "clang/Frontend/FrontendActions.h" #include "clang/Tooling/CommonOptionsParser.h" #include "clang/Tooling/Tooling.h" // Declares llvm::cl::extrahelp. #include "llvm/Support/CommandLine.h" #include "clang/ASTMatchers/ASTMatchFinder.h" #include "clang/ASTMatch...
<commit_before>#include "pch.hpp" #include "DependentGraphics.hpp" #include "GameWindow.hpp" #include "D3DHelpers.hpp" #include <d3d11.h> using namespace std::literals; namespace dx { namespace Internal { template<typename T> wrl::ComPtr<T> GetParent(IDXGIObject& object) { ...
<commit_before>#include "stdafx.h" #include "PostprocessWindow.h" #include <thread> #include <Commdlg.h> // openfile #include <WinBase.h> using namespace std; using namespace wiGraphicsTypes; PostprocessWindow::PostprocessWindow(wiGUI* gui, Renderable3DComponent* comp) : GUI(gui), component(comp) { assert(componen...
<commit_before>#include <string> #include <mutex> #include <queue> #include <vector> #include <cstdint> #include <iostream> #include <pthread.h> #include <dirent.h> #include <unistd.h> #include <stdlib.h> #include <sys/stat.h> #include <cerrno> #include <cstring> typedef enum { extract_image, extract_audio, upscale...
<commit_before>#include <itomp_cio_planner/visualization/new_viz_manager.h> #include <itomp_cio_planner/util/planning_parameters.h> #include <itomp_cio_planner/contact/ground_manager.h> #include <ros/node_handle.h> #include <boost/lexical_cast.hpp> using namespace std; namespace itomp_cio_planner { NewVizManager::Ne...
<commit_before>#include <BWAPI.h> #include <BWAPI/Client.h> #include <iostream> #include <thread> #include <chrono> #include <string> using namespace BWAPI; void drawStats(); void drawBullets(); void drawVisibilityData(); void showPlayers(); void showForces(); bool show_bullets; bool show_visibility_data; void reco...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string> #include "flesch-index_config.h" #include "flesch-index.hpp" int main (int argc, char *argv[]) { if (argc != 2) { fprintf(stdout,"%s Version %d.%d.%d\n", argv[0], flesch_index_VERSION_MAJOR, ...
<commit_before>#ifndef BFC_DEAD_LOOPS_VISITOR_HPP #define BFC_DEAD_LOOPS_VISITOR_HPP namespace bfc { namespace ast { class dead_loops_visitor : public opt_seq_base_visitor { public: status visit(loop &node) { // test if previous node make this a dead loop test_dead_loop_visitor v; no...
<commit_before>/* * Runtime CPU detection for ARM * (C) 2009,2010,2013,2017 Jack Lloyd * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/cpuid.h> #if defined(BOTAN_TARGET_CPU_IS_ARM_FAMILY) #if defined(BOTAN_TARGET_OS_IS_IOS) #include <sys/types.h> #include <sys/sysctl.h...
<commit_before>/* * DISTRHO Plugin Framework (DPF) * Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com> * * Permission to use, copy, modify, and/or distribute this software for any purpose with * or without fee is hereby granted, provided that the above copyright notice and this * permission notice appear ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>#include "../ClipperUtils.hpp" #include "../PolylineCollection.hpp" #include "../Surface.hpp" #include <cmath> #include <algorithm> #include <iostream> #include "FillGyroid.hpp" namespace Slic3r { static inline double f(double x, double z_sin, double z_cos, bool vertical, bool flip) { if (vertical...
<commit_before>/*********************************************************************** filename: CEGuiOgreBaseApplication.cpp created: 9/3/2004 author: Paul D Turner *************************************************************************/ /********************************************************...
<commit_before>//----------------------------------------------- // // This file is part of the HamFramework for Siv3D. // // Copyright (C) 2014-2016 Hamukun // Copyright (C) 2014-2016 Ryo Suzuki // // Licensed under the MIT License. // //----------------------------------------------- # pragma once //# include "../Si...
<commit_before>/*********************************************************************************************************************** ** ** Copyright (c) 2011, 2015 ETH Zurich ** All rights reserved. ** ** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
<commit_before>/* Copyright (c) 2018 PaddlePaddle 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 applic...
<commit_before> // // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010 Francois Beaune // // Permission is hereby granted, free of charge, to any person obtaining a copy // of...
<commit_before>#define GUILITE_ON //Do not define this macro once more!!! #include "GuiLite.h" #define UI_WIDTH 240 #define UI_HEIGHT 320 #define LAYER_1_X 70 #define LAYER_1_Y 110 #define LAYER_1_WIDTH 100 #define LAYER_1_HEIGHT 80 static c_surface* s_surface; static c_display* s_display; //////////////////////...
<commit_before>/* The MIT License Copyright (c) 2009 Institut of Mechanics and Fluid Dynamics, TU Bergakademie Freiberg. 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 with...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkBYUWriter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Cop...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "Framework.h" #include "ModuleManager.h" #include "ConfigurationManager.h" namespace fs = boost::filesystem; namespace Foundation { ModuleManager::ModuleManager(Framewo...
<commit_before>/******************************************************************************* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2004 * *This library is free software; you can redistribute it and/or *modify it under the terms of the GNU Lesser General Public *License as publ...
<commit_before>/*========================================================================= 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 distri...
<commit_before>#include "Result.h" #include "ResultText.h" #include "MonsterFadeInEffect.h" #include "../../Button/ButtonManager.h" #include "../../Drawable/DrawableAssetTexture.h" #include "../../Button/TextureAssetButton.h" using namespace scene::result; scene::result::Result::Result() { } void Result::init() { ...
<commit_before>/* Copyright (c) 2014, J.D. Koftinoff Software, Ltd. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, ...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkExtractEdges.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2001 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistri...
<commit_before>/*$Id$ * * This source file is a part of the Berlin Project. * Copyright (C) 1999 Stefan Seefeld <seefelds@magellan.umontreal.ca> * http://www.berlin-consortium.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * L...
<commit_before>#include "../Flare.h" #include "FlareSectorInterface.h" #include "FlareSimulatedSector.h" #include "../Spacecrafts/FlareSpacecraftInterface.h" #define LOCTEXT_NAMESPACE "FlareSectorInterface" /*---------------------------------------------------- Constructor ------------------------------------------...
<commit_before>//============================================================================================================= /** * @file frequencyspectrummodel.cpp * @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date May, 2014 ...
<commit_before>/******************************************************************************* * ALMA - Atacama Large Millimiter Array * (c) European Southern Observatory, 2006 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as ...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>#include "itkArrowSpatialObject.h" namespace itk { // This is the 3D implementation of the ArrowSpatialObject. /** Update the local transform from the position and the direction */ // Parial specialization for TDimension = 3 template< > void ArrowSpatialObject< 3 > ::UpdateTransform() { VectorType of...
<commit_before>#include "riptide_teleop/ps3_control.h" int main(int argc, char** argv) { ros::init(argc, argv, "joy_accel"); Accel accel; accel.loop(); } Accel::Accel() { js = nh.subscribe<sensor_msgs::Joy>("joy", 1, &Accel::joy_callback, this); accels = nh.advertise<geometry_msgs::Accel>("command/accel", 1...
<commit_before> #include "stdlib.h" #include "TFile.h" #include "TTimeStamp.h" #include "RooStats/HistFactory/HistFactoryException.h" #include "RooStats/HistFactory/Channel.h" RooStats::HistFactory::Channel::Channel() : fName( "" ) { ; } RooStats::HistFactory::Channel::Channel(std::string ChanName, std::string Ch...
<commit_before>/* * Copyright (c) 2014, Ford Motor Company * 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 *...
<commit_before>/* * fujimapBlock.hpp * Copyright (c) 2010 Daisuke Okanohara All Rights Reserved. * * 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 with...
<commit_before><commit_msg>Re-enable TAA & SSAO by default<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2008, 2009 Nokia Corporation. * * Contact: Marius Vollmer <marius.vollmer@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as published by the Free Software Foundation....
<commit_before>/* * SessionPanmirrorPandoc.cpp * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affer...
<commit_before>//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgp...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/*The following code simulates the *Bounded* (single-single) Producer-Consumer problem using Standard Library threads. A producer thread produces a shared resource and then sleeps for a second. The consumer thread consumes the resource and then sleeps for a second. How much of the resource is produced or...
<commit_before>#include "Scene.h" Scene::Scene() { //Generate the world on launch resetScene(); } void Scene::resetScene() { int count = PLANET_COUNT; bool hit = false; Planet* tempPlanet; while(count > 0) { --count; tempPlanet = new Planet( Vector( randomRange(0,WORLD_WIDTH), randomRange(0,WORLD_HEIGHT...
<commit_before><commit_msg>Fix MSVC build<commit_after><|endoftext|>
<commit_before>/* Copyright 2017 creatorlxd 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 writing, so...
<commit_before>/*---------------------------------------------------------------------------*\ * OpenSG * * * * ...
<commit_before>//===- ObjCARCAliasAnalysis.cpp - ObjC ARC Optimization -*- mode: c++ -*---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit (ITK) Module: Language: C++ Date: Version: Copyright (c) 2000 National Library of Medicine All rights reserved. See COPYRIGHT.txt for copyright details. =====...
<commit_before>#include "test_helper.h" #include "uTensor/loaders/tensorIdxImporter.hpp" #include "uTensor/ops/ArrayOps.hpp" #include <iostream> using std::cout; using std::endl; TensorIdxImporter t_import; Context ctx; // Default to using GTest like asserts and expects as these give more info that unity // We will...
<commit_before>#include <chrono> #include <iostream> #include <fstream> #include <numeric> #include <math.h> #include <string> #include <time.h> #include "mkldnn.hpp" #include "configure.h" using namespace mkldnn; using namespace std; void maxpool() { auto cpu_engine = engine(engine::cpu, 0); std::vector<floa...
<commit_before>#include "twitchuser.h" namespace chatterino { namespace twitch { TwitchUser::TwitchUser(const QString &username, const QString &oauthToken, const QString &oauthClient) : IrcUser2(username, username, username, "oauth:" + oauthToken) { _oauthClient = oauthClient; _oauth...
<commit_before>/* ** network-thread.cpp ** Login : <hcuche@hcuche-de> ** Started on Tue Jan 10 11:41:39 2012 Herve Cuche ** $Id$ ** ** Author(s): ** - Herve Cuche <hcuche@aldebaran-robotics.com> ** ** Copyright (C) 2012 Herve Cuche */ #include <iostream> #include <qi/log.hpp> #include <qimessaging/transport/networ...
<commit_before>/**************************************************************************** * * Copyright (c) 2012-2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
<commit_before>//***************************************************************************** // Copyright 2017-2019 Intel Corporation // // 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 // ...
<commit_before>extern "C" { #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> /* Directive handlers */ static char *ngx_http_lmdb_queue(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); // Declare lmdb_queue static char *ngx_http_lmdb_queue_topic(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ImpressModule.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2007-04-03 15:52:53 $ * * The Contents of this file are ...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: sprite.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: kz $ $Date: 2005-11-02 13:03:59 $ * * The Contents of this file are made av...
<commit_before>/* Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2017, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions apply: * * This program is free software: you can redistribute it and/or m...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_...
<commit_before>/* * Copyright 2009-2011 Bjorn Fahller <bjorn@fahller.se> * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright...
<commit_before>/* Copyright 2020 The TensorFlow 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 appl...
<commit_before>//------------------------------------------------------------------------------ // Copyright (c) 2016 John D. Haughton // // 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 wi...
<commit_before>#include "gtest/gtest.h" #include <rapidcheck/gtest.h> #include SPECIFIC_HEADER // Running tests TEST(TEST_NAME, Zero) { ASSERT_EQ(0, less_significant(0)); } TEST(TEST_NAME, PowerOfTwo) { ASSERT_EQ(128, less_significant(128)); } TEST(TEST_NAME, Nine) { ASSERT_EQ(1, less_significant(9)); } RC_...
<commit_before><commit_msg>Lower image quality for chromoting to improve encode speed and compression ratio<commit_after><|endoftext|>
<commit_before><commit_msg>remove unused #define SFX_ITEMTYPE_STATBAR in workwin.cxx<commit_after><|endoftext|>