text stringlengths 54 60.6k |
|---|
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2003 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... |
<commit_before>// RUN: %clang_cc1 -fexceptions -fsyntax-only -verify %s -std=c++0x
struct S {
virtual ~S();
auto a; // expected-error{{'auto' not allowed in struct member}}
auto *b; // expected-error{{'auto' not allowed in struct member}}
const auto c; // expected-error{{'auto' not allowed in struct member}}
... |
<commit_before>#include "assert.hh"
#include "exception.hh"
#include "debug.hh"
#include <sys/types.h>
#include <unistd.h>
namespace Kakoune
{
struct assert_failed : logic_error
{
assert_failed(const String& message)
: m_message(message) {}
const char* what() const override { return m_message.c_str... |
<commit_before>// The MIT License (MIT)
// Copyright (c) 2013 Danny Y., Rapptz
// 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... |
<commit_before>// 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, software
// ... |
<commit_before>// 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, software
// ... |
<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 distributed WIT... |
<commit_before>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <stdio.h>
#include <v8.h>
#include <node.h>
#include <node_version.h>
#include <node_buffer.h>
#include <openssl/bn.h>
#include <openssl/buffer.h>
#include "common.h"
using namespace std;
using namespace v8;
using namespace node;
st... |
<commit_before>/****************************************************************************
*
* NAME: smbPitchShift.cpp
* VERSION: 1.2
* HOME URL: http://blogs.zynaptiq.com/bernsee
* KNOWN BUGS: none
*
* SYNOPSIS: Routine for doing pitch shifting while maintaining
* duration using the Short Time Fourier Transf... |
<commit_before>#include "document.h"
using namespace std;
namespace wano {
Document::Document(shared_ptr<EventQueue> eq) :
buffer(),
eq{ eq }
{
curs.x = 0;
curs.y = 0;
buffer.push_back(make_shared<vector<int>>(0));
}
coord Document::insCh(int ch) {
auto by = buffer[curs.y];
by->insert(by->begin() +... |
<commit_before>// game.m.cpp
#include "engine/build.g.h"
#include "engine/input/input.h"
#include "engine/rendering/renderer.h"
#include "engine/scene/scene.h"
#include "engine/scene/test_input_controller.h"
#include "engine/util/input_utils.h"
#include "engine/util/game_utils.h"
int main( int argc, char *argv[] )
{
... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file calc_array.cpp
\author
\date 02.05.2011
\brief -
\indent 4T
*/
// ---------------------------------------------------------------------------- PCH
#include "simulator/runtime/pch/stdpch.h"
// -----------------------... |
<commit_before>/**
* \file
* \brief PendSV_Handler() for ARMv7-M (Cortex-M3 / Cortex-M4)
*
* \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 ... |
<commit_before>
#include <iostream>
//#include <boost/bind.hpp>
//
//#include <boost/test/included/unit_test.hpp>
#include <FFLLAPI.h>
#include <DefuzzVarObj.h>
#include <FFLLBase.h>
#include <FuzzyModelBase.h>
#include <FuzzyVariableBase.h>
#include <FuzzyOutVariable.h>
#include <RuleArray.h>
#include ... |
<commit_before>/*
* CrissCross
* A multi-purpose cross-platform library.
*
* A product of Uplink Laboratories.
*
* (c) 2006-2007 Steven Noonan.
* Licensed under the New BSD License.
*
*/
#include <crisscross/universal_include.h>
#include <crisscross/debug.h>
#include <crisscross/core_io.h>
#include... |
<commit_before>/**
* Doit.cpp
* Doit is a basic exec shell that supports background tasks.
*
* @author Arthur Lockman <ajlockman@wpi.edu>
*/
#include <iostream>
#include <unistd.h>
#include <sys/wait.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <iomanip>
#include <time.h>
using... |
<commit_before>/*
* Copyright 2015 - 2021 gary@drinkingtea.net
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#pragma once
#include <ox/mc/read.hpp>
#ifdef... |
<commit_before>#include <iostream>
#include <vector>
#include <map>
#include <node.h>
#include "PSATResult.h"
#include "calculator/EstimateFLA.h"
using namespace v8;
using namespace std;
Isolate* iso;
Local<Object> inp;
double Get(const char *nm) {
auto r = inp->ToObject()->Get(String::NewFromUtf8(iso,nm))->Numbe... |
<commit_before>#include <node.h>
#include <initializer_list>
#include "Pump.h"
#include "calculator/PumpEfficiency.h"
#include "calculator/OptimalPumpEfficiency.h"
#include "calculator/MotorRatedPower.h"
#include "calculator/OptimalMotorRatedPower.h"
#include "calculator/MotorShaftPower.h"
#include "calculator/Optimal... |
<commit_before>#include <node.h>
#include "../api//Pump.h"
#include "../api/Calculator/PumpEfficiency.h"
#include "../api/Calculator/OptimalPumpEfficiency.h"
#include "../api/Calculator/MotorRatedPower.h"
#include "../api/Calculator/OptimalMotorRatedPower.h"
#include "../api/Calculator/MotorShaftPower.h"
#include "../a... |
<commit_before>#include "Board.h"
#include "Pawn.h"
#include "Rook.h"
#include "Knight.h"
#include "Bishop.h"
#include "Queen.h"
#include "King.h"
#include <iostream>
#include <sstream>
namespace Chess {
Board::Board() {
for (int x = 0; x < 8; x++) {
for (int y = 0; y < 8; y++) {
pieces[x][y] = nullptr;
}... |
<commit_before>#include "BTU/btu_PID_lite.cpp"
#include "mbed.h"
#define NUM_FLOATS 4
#define TIMESTEP 0.05
#define DEPTH_THRESHOLD 0.1
#define MISSION_TIMEOUT 10.0
#define ERROR_THRESHOLD 0.15
#define SUCCESS_TIME 5.0
#define UNWOUND_POS 91.0
#include "MODSERIAL.h"
#include "SerialComm.h"
MODSERIAL pcSerial(USBTX,... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: comboboxtoolbarcontroller.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-16 14:17:57 $
*
* The Contents of t... |
<commit_before>#include "testing/testing.hpp"
#include "routing/routing_quality/waypoints.hpp"
using namespace routing_quality;
// Test on preferring better but longer roads should be grouped in this file.
namespace
{
// Secondary should be preferred against residential.
UNIT_TEST(RoutingQuality_RussiaMoscowTushino)... |
<commit_before>#pragma once
/*
** Copyright (C) 2012 Aldebaran Robotics
** See COPYING for the license
*/
#ifndef _QI_EXECUTION_CONTEXT_HPP_
#define _QI_EXECUTION_CONTEXT_HPP_
#include <boost/function.hpp>
#include <qi/clock.hpp>
#include <qi/api.hpp>
namespace qi
{
template <typename T>
class Future;
namespace ... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 Couchbase, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License a... |
<commit_before>/*
* Copyright (C) 2008 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>#include "resizeHandler.h"
#include <algorithm>
ResizeHandler::ResizeHandler(
NodeElement* const resizingNode
, ElementImpl* const elementImpl
)
: mResizingNode(resizingNode)
, mElementImpl(elementImpl)
{
}
void ResizeHandler::resize(QRectF newContents, QPointF newPos) const
{
newContents.mov... |
<commit_before>#include <util/singleton.h>
#include <util/scheduler.h>
#include <util/timer.h>
#include <iostream>
#include <map>
#include <boost/thread.hpp>
using namespace std;
namespace izenelib{
namespace util{
class QueueTimer : public Timer
{
public:
QueueTimer(void (*callback)(void *),
voi... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2018 ARM Limited
*
* 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
*
*... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2018 ARM Limited
*
* 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
*
*... |
<commit_before>// Copyright 2011 Google Inc. All Rights Reserved.
// Author: jacobsa@google.com (Aaron Jacobs)
//
// 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.... |
<commit_before>#include <assert.h>
#include <utility>
#include "common/configmanager/configmanager.h"
#include "log/clog.h"
#include "simhub.h"
// TODO: FIX EVERYTHING
std::shared_ptr<SimHubEventController> SimHubEventController::_EventControllerInstance = NULL;
GenericTLV *AttributeToCGeneric(std::shared_ptr<Attri... |
<commit_before>//===--- lldb-moduleimport-test.cpp - LLDB moduleimport tester ------------===//
//
// 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 http... |
<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 distr... |
<commit_before>#include "calibration/Angular_Velocity_Calibration_Wizard.h"
#include <QPushButton>
#include "sz_math.hpp"
#include "sz_Calibration_Data.hpp"
#include "ui_Angular_Velocity_Calibration_Wizard_Reset.h"
#include "ui_Angular_Velocity_Calibration_Wizard_Instructions.h"
#include "ui_Angular_Velocity_Calibrat... |
<commit_before>#include "imgui.h"
#include <babylon/buffers/vertex_buffer.h>
#include <babylon/cameras/arc_rotate_camera.h>
#include <babylon/core/random.h>
#include <babylon/interfaces/irenderable_scene_with_hud.h>
#include <babylon/lights/hemispheric_light.h>
#include <babylon/materials/pbr/pbr_material.h>
#include ... |
<commit_before>#include "chrono_parallel/lcp/ChLcpSolverParallel.h"
#include "chrono_parallel/math/ChThrustLinearAlgebra.h"
#include "chrono_parallel/solver/ChSolverAPGD.h"
#include "chrono_parallel/solver/ChSolverAPGDREF.h"
#include "chrono_parallel/solver/ChSolverBiCG.h"
#include "chrono_parallel/solver/ChSolverBiCG... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2009 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated docume... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chain.h"
// SYSCOIN for auxpow
#include "main.h"
using n... |
<commit_before>/*
Copyright (C) 2018 Alexandr Akulich <akulichalexander@gmail.com>
This file is a part of TelegramQt library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; ei... |
<commit_before>/*
This file is part of Akregator.
Copyright (C) 2007 Frank Osterfeld <frank.osterfeld@kdemail.net>
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 ... |
<commit_before>//
// Created by cheyulin on 8/4/16.
//
#include <functional>
#include <iostream>
using namespace std;
struct MyClass {
void PrintHello() {
//function_object() is ret_function, then we call ret_function()
cout << "Ret:" << function_object()(1) << endl;
//Directly call funct... |
<commit_before>//
// XYO Build
//
// Copyright (c) 2014 Grigore Stefan, <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// The MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef XYO_OS_TYPE_WIN
#include <w... |
<commit_before>/**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... |
<commit_before>#include "ToggleButton.h"
#include "Timer.h"
#include "Arduino.h"
const bool ToggleButton::IS_POS_LOGIC = false;
const bool ToggleButton::IS_NEG_LOGIC = true;
const int ToggleButton::BTN_NC = -1;
const int ToggleButton::IND_NC = -1;
const int ToggleButton::s_defaultKeyPollTime = 50;
//-... |
<commit_before>/*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef ELEM_LAPACK_QR_TS_H... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/ocmb/explorer/procedures/hwp/memory/exp_omi_s... |
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
Copyright (c) 2008 Aristid Breitkreuz, Ruediger Sonderfeld
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... |
<commit_before>// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2017 Intel Corporation. All Rights Reserved.
#ifndef LIBREALSENSE_RS2_EXPORT_HPP
#define LIBREALSENSE_RS2_EXPORT_HPP
#include <map>
#include <fstream>
#include <cmath>
#include <sstream>
#include <cassert>
#include "rs_processi... |
<commit_before>/*
Copyright (c) 2007, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*
Copyright (c) 2007, Arvid Norberg
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source code must retain the above copyright
notice, this list of condi... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2016 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>#pragma once
#include <microscopes/common/type_helper.hpp>
#include <microscopes/common/random_fwd.hpp>
#include <microscopes/common/macros.hpp>
#include <microscopes/common/assert.hpp>
#include <vector>
#include <cstring>
#include <iostream>
namespace microscopes {
namespace common {
class row_acces... |
<commit_before>//
// Copyright Antoine Leblanc 2010 - 2015
// Distributed under the MIT license.
//
// http://nauths.fr
// http://github.com/nicuveo
// mailto://antoine.jp.leblanc@gmail.com
//
#ifndef TOOLS_DUAL_ITERATOR_HH_
# define TOOLS_DUAL_ITERATOR_HH_
//HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH... |
<commit_before>#include "ros/ros.h"
#include "std_msgs/String.h"
#include <uranus_dp/JoystickUranus.h>
#include <iostream>
#include <string.h>
#include "geometry_msgs/Twist.h"
class SetpointProcessing{
public:
SetpointProcessing(){
pub = n.advertise<std_msgs::String>("s1", 1);
sub = n.subscribe("j... |
<commit_before>#pragma once
#include <cstdint>
#include <string>
#include <vector>
#include <tacopie/typedefs.hpp>
namespace tacopie {
class tcp_socket {
public:
//! possible types of a TCP socket, either a client or a server
//! type is used to prevent the used of client specific operations on a server socket ... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
// version: $Id$
// author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch>
//------------------------------------------------------------------------------
#include "cling/In... |
<commit_before>#include "binaryninjaapi.h"
using namespace BinaryNinja;
using namespace std;
ScriptingOutputListener::ScriptingOutputListener()
{
m_callbacks.context = this;
m_callbacks.output = OutputCallback;
m_callbacks.error = ErrorCallback;
m_callbacks.inputReadyStateChanged = InputReadyStateChangedCallback... |
<commit_before>/*
*
* Copyright (c) 2020 Google LLC.
* 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/L... |
<commit_before>/*
* This file is part of signon
*
* Copyright (C) 2009-2010 Nokia Corporation.
*
* Contact: Alberto Mardegan <alberto.mardegan@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 publi... |
<commit_before>// RUN: cat %s | %cling -I%p | FileCheck %s
// This file should be used as regression test for the meta processing subsystem
// Reproducers of fixed bugs should be put here
// PR #93092
// Don't remove the spaces and tabs
.L cling/Interpreter/Interpreter.h
.x ./DotXable.h(5)
// CHECK: 5
// End ... |
<commit_before>// 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 "sync/test/fake_server/fake_server_verifier.h"
#include "base/memory/scoped_ptr.h"
#include "base/values.h"
#include "sync/intern... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010-2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (ivan.frade@nokia.com)
**
** This file is part of the test suite of the QtSparql module (not yet... |
<commit_before>/* -*- mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
// vim:sts=4:sw=4:ts=4:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s
/* Copyright (c) FFLAS-FFPACK
* Written by Clement Pernet <clement.pernet@imag.fr>
* ========LICENCE========
* This file is part of the library FFLAS-FFPACK.
*
*... |
<commit_before>#include <iostream> /* allows to perform standard input and output operations */
#include <fstream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* St... |
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef CLUSTERING_ADMINISTRATION_ISSUES_LOCAL_ISSUE_AGGREGATOR_HPP_
#define CLUSTERING_ADMINISTRATION_ISSUES_LOCAL_ISSUE_AGGREGATOR_HPP_
#include <vector>
#include "clustering/administration/issues/local.hpp"
#include "concurrency/watchable.hpp"
#... |
<commit_before>// Copyright (C) 2013 Google 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 o... |
<commit_before>#include <iostream> /* allows to perform standard input and output operations */
#include <fstream>
#include <stdio.h> /* Standard input/output definitions */
#include <stdint.h> /* St... |
<commit_before>/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2019-2020 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
<commit_before>#include <wayfire/singleton-plugin.hpp>
#include <wayfire/view.hpp>
#include <wayfire/matcher.hpp>
#include <wayfire/workspace-manager.hpp>
#include <wayfire/output.hpp>
#include <wayfire/signal-definitions.hpp>
#include "deco-subsurface.hpp"
struct wayfire_decoration_global_cleanup_t
{
~wayfire_de... |
<commit_before>// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/objects/nbostream.h>
#include <vespa/vespalib/objects/hexdump.h>
#include <vespa/vespalib/test/insertion_operators.h>
#i... |
<commit_before>#include <errno.h>
#include <stdlib.h>
#include <getopt.h>
#include <boost/foreach.hpp>
#include <boost/asio/ip/address.hpp>
#include <libwatcher/connectivityMessage.h>
#include "logger.h"
#include "client.h"
#include "sendMessageHandler.h"
using namespace std;
using namespace watcher;
using namespace ... |
<commit_before>/*
* Copyright (c) 2011 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.... |
<commit_before><commit_msg>loplugin:stringconstant: handle OUString+=OUString(literal)<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2007 Kevin Ollivier <kevino@theolliviers.com>
*
* 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, t... |
<commit_before>/*
* TableFlagFilter.cpp
*
* Copyright (C) 2020 by VISUS (University of Stuttgart)
* Alle Rechte vorbehalten.
*/
#include "stdafx.h"
#include "TableFlagFilter.h"
#include "mmcore/param/EnumParam.h"
#include "mmcore/utility/log/Log.h"
using namespace megamol::stdplugin::datatools;
using namespace ... |
<commit_before>/* Copyright 2018 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>/**
* @file seaicing.cpp
*
* Created on: Jan 03, 2013
* @author aaltom
*/
#include "seaicing.h"
#include "logger_factory.h"
#include <boost/lexical_cast.hpp>
#include "level.h"
#include "forecast_time.h"
using namespace std;
using namespace himan::plugin;
seaicing::seaicing()
: global(false)
{... |
<commit_before>/* Copyright 2015 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 law o... |
<commit_before>
#include <iostream>
#include <boost/test/included/unit_test.hpp>
#include "protocol_module_control.h"
//#include "../../src/protocol_module_control.cpp"
#define PM1 "test1"
#define PM2 "test2"
class l7vs::protocol_module_control;
using namespace boost::unit_test;
//test case1.
void protocol_module_c... |
<commit_before>/*
* Copyright 2017, Andrej Kislovskij
*
* This is PUBLIC DOMAIN software so use at your own risk as it comes
* with no warranties. This code is yours to share, use and modify without
* any restrictions or obligations.
*
* For more information see conwrap/LICENSE or refer refer to http://unlicense... |
<commit_before>#pragma once
#include <eos/chain/block.hpp>
#include <eos/chain/types.hpp>
namespace eos {
using namespace chain;
using namespace fc;
struct handshake_message {
int16_t network_version = 0;
chain_id_type chain_id; ///< used to identify chain
fc::sha256 node_id;... |
<commit_before>#include "KickEvaluator.hpp"
#include <algorithm>
#include <vector>
#include <math.h>
#include <cmath>
REGISTER_CONFIGURABLE(KickEvaluator)
using namespace std;
using namespace Geometry2d;
ConfigDouble* KickEvaluator::kick_std_dev;
ConfigDouble* KickEvaluator::kick_mean;
ConfigDouble* KickEvaluator::... |
<commit_before><commit_msg>ZedPlugin color issue solved<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2009-2018 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
// Maintainer: jglaser
#include "MolecularForceCompute.h"
#include "hoomd/CachedAllocator.h"
#include "hoomd/Autotuner.h"
#ifdef ENABLE_CUDA
#... |
<commit_before>/*
*
* Copyright 2018 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
<commit_before>#include <malloc.h>
#include <cstring>
#include "SystemMessagePacket.h"
#include "Poco/BinaryWriter.h"
#include "Poco/MemoryStream.h"
#include "../data/PSO2String.h"
SystemMessagePacket::SystemMessagePacket(std::string message, uint32_t messageType){
this->message = message;
this->messageType = ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_utils_to_thro... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_get_poundv_bucket_... |
<commit_before>#ifndef ATL_GC_GC_HPP
#define ATL_GC_GC_HPP
// @file /home/ryan/programming/atl/gc.hpp
// @author Ryan Domigan <ryan_domigan@sutdents@uml.edu>
// Created on Jan 08, 2014
//
// A garbage collected environment.
#include <limits>
#include <algorithm>
#include <functional>
#include <list>
#include <memory>... |
<commit_before>/*
qgvdial is a cross platform Google Voice Dialer
Copyright (C) 2009-2012 Yuvraaj Kelkar
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: xmlencryption_nssimpl.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 17:35:17 $
*
* The Contents of this f... |
<commit_before>#include <QGuiApplication>
#include <QtGui>
#include <QtQuick>
#include <QQmlApplicationEngine>
#include "VideoSurface.h"
#include "Comms.h"
#include "OS.h"
#include "Menus.h"
#include <android/log.h>
#include <thread>
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
Q_INIT... |
<commit_before>#include <iomanip>
#include <string>
#include "Board.h"
#include "Pipe.h"
#include "Log.h"
using namespace std;
const int Board::x_offset = 227;
const int Board::y_offset = 35;
const int Board::slotSize = 48;
const int Board::lines = BOARD_LINES;
const int Board::columns = BOARD_COLUMNS;
Board::Board ... |
<commit_before>/*
* File: Cache.hpp
* Copyright: Emanuele Di Pascale (dipascae aT tcd dOt ie)
*
* Licensed under the Apache License v2.0 (see attached README.TXT file)
* Created on 30 April 2013, 11:23
*/
#ifndef CACHE_HPP
#define CACHE_HPP
#include <map>
#include <set>
#include <assert.h>
#include <iostrea... |
<commit_before>#include "PushBall.h"
using PushBall = commands::PushBall;
// PushBall Command Group:
PushBall::PushBall(Intake *intake) : CommandGroup("PushBall")
{
intake_ = intake;
push_ = new Push(intake);
stop_ = new Stopper(intake);
timeout_ = 0.0;
this->AddSequential(push_);
this->AddSequential(new WaitC... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ldump.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2007-10-15 13:30:54 $
*
* The Contents of this file are made ava... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.