text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#include "../StroikaPreComp.h"
#include <cstdlib>
#include <cstring>
#include <ctime>
#include "Timezone.h"
using namespace Stroika;
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Time;
time... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 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. Redistri... |
<commit_before>/*
* Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE... |
<commit_before>#include "mediamanager.h"
#include "media/processing/filtergraph.h"
#include "media/processing/filter.h"
#include "media/delivery/delivery.h"
#include "ui/gui/videoviewfactory.h"
#include "initiation/negotiation/sdptypes.h"
#include "statisticsinterface.h"
#include "resourceallocator.h"
#include "comm... |
<commit_before>/* rbOOmit: An implementation of the Certified Reduced Basis method. */
/* Copyright (C) 2009, 2010 David J. Knezevic */
/* This file is part of rbOOmit. */
/* rbOOmit is free software; you can redistribute it and/or */
/* modify it under the terms of the GNU Lesser General Public */
/* License as p... |
<commit_before>/*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
<commit_before>// MGenTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "MGenTest.h"
#include "../MGen/GLibrary/GLib.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// The one and only application object
CWinApp theApp;
using namespace std;
CString current_dir, full_url... |
<commit_before>/*
* Copyright (C) 2008-2013 The Communi Project
*
* 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 option) any later version.
*
* Th... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
uiserver/encryptcommand.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2007 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Licens... |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: toyLeg_example.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>#pragma once
#include <agency/detail/config.hpp>
#include <agency/detail/requires.hpp>
#include <agency/execution/executor/detail/new_executor_traits/is_bulk_executor.hpp>
#include <agency/execution/executor/detail/new_executor_traits/is_bulk_synchronous_executor.hpp>
#include <agency/execution/executor... |
<commit_before>// $Id$
// vim:tabstop=2
/***********************************************************************
Moses - factored phrase-based language decoder
Copyright (C) 2010 Hieu Hoang
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
<commit_before>// 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/win_util.h"
#include <shellapi.h>
#include <windows.h>
#include "chrome/browser/browser_main_win.h"
#in... |
<commit_before>// 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 "base/string_util.h"
#if defined(OS_WIN)
#include "base/win_util.h"
#endif // defined(OS_WIN)
#include "chrome/test/auto... |
<commit_before>// 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/string_util.h"
#include "base/test/test_timeouts.h"
#include "base/threading/platform_thread.h"
#include "chrome/test/au... |
<commit_before>// 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/browser/gtk/tabs/tab_gtk.h"
#include <gdk/gdkkeysyms.h>
#include "app/gtk_dnd_util.h"
#include "app/gfx/path.h"... |
<commit_before>#include "Arduino.h"
#include "i2c_t3.h"
#define combine(high,low) ( ( (uint16_t)(high << 8) ) | (uint16_t)(low) )
#define lowbyte(value) ( (uint8_t)(value) )
#define highbyte(value) ( (uint8_t)(value>>8) )
#define MaxChannels 4
#define InternalReference 2.5f
#define DefaultAddress 40
#define Vol... |
<commit_before>#ifndef KR_COMMON_TIMER_HPP_
#define KR_COMMON_TIEMR_HPP_
#include <chrono>
#include <string>
#include <cassert>
#include <ostream>
#include <iomanip>
#include <iostream>
#include <thread>
namespace kr {
// I don't think anyone wants a timer that ticks every hour?
// Unless you are playing with 10 bil... |
<commit_before>/*
* gram_matrix.cc
* Copyright 2016 John Lawson
*
* 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... |
<commit_before>#include "renderer.hpp"
#include "renderer_types.hpp"
#include "../src/estd.hpp"
FrameSeriesResource makeFrameSeries()
{
return estd::make_unique<FrameSeries>();
}
namespace
{
struct ProgramBindings {
std::vector<GLint> textureUniforms;
struct ArrayAttrib {
GL... |
<commit_before>// @(#)root/cintex:$Name: $:$Id: CINTFunctionBuilder.cxx,v 1.11 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 witho... |
<commit_before>#include "extensions/common/wasm/null/null_plugin.h"
namespace Envoy {
namespace Extensions {
namespace Common {
namespace Wasm {
namespace Null {
namespace Plugin {
namespace CommonWasmTestCpp {
ThreadSafeSingleton<NullPluginRegistry> null_plugin_registry_;
} // namespace CommonWasmTestCpp
/**
* Conf... |
<commit_before>#include <iostream>
#include "libaps.h"
#include "constants.h"
#include <thread>
#include "EthernetControl.h"
using namespace std;
int main ()
{
cout << "BBN AP2 Test Executable" << endl;
cout << "Testing only EthernetControl" << endl;
string dev("Intel(R) 82579LM Gigabit Network Connection"... |
<commit_before>// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>// Copyright (c) 2021 Kingsley Chen <kingsamchen at gmail dot com>
// This file is subject to the terms of license that can be found
// in the LICENSE file.
#include <algorithm>
#include <deque>
#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include <thread>
#include <... |
<commit_before><commit_msg>Deflate axis (#8760)<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <cctype>
#ifndef DEBUG
//#define DEBUG
#endif // DEBUG
#define exit_failure() std::cout << "INVALID" << std::endl; \
exit(1);
// check binary operations
bool isbinop(const char & c){
return (c=='+' || c=='*' || c=='/');
}
// check letters and points
void validat... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>// Copyright (c) 2015-2016
// Author: Chrono Law
#ifndef _NGX_COMMON_HEADERS_HPP
#define _NGX_COMMON_HEADERS_HPP
#include <nginx.h> // for NGINX_VER...
#if __cplusplus < 201103L
#error "ngx_cpp_module need C++11 implementation!"
#endif
extern "C" {
#include <ngx_http.h>
// in ngx_http_core_... |
<commit_before>// -*- c-mode -*-
/*********************************************************************
Numexpr - Fast numerical array expression evaluator for NumPy.
License: MIT
Author: See AUTHORS.txt
See LICENSE.txt for details about copyright and rights to use.
**********************************... |
<commit_before>/* wgraph.c
A generic weighted graph data type
by Steven Skiena
*/
/*
Copyright 2003 by Steven S. Skiena; all rights reserved.
Permission is granted for use in non-commerical applications
provided this copyright notice remains intact and unchanged.
This program appears in my bo... |
<commit_before>//=======================================================================
// Copyright (c) 2015 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//========================================================... |
<commit_before>#ifndef stubbing_h__
#define stubbing_h__
#include <functional>
#include <type_traits>
#include <unordered_set>
#include <vector>
#include <stdexcept>
#include <utility>
#include "fakeit/FakeitExceptions.hpp"
#include "fakeit/ActualInvocation.hpp"
#include "fakeit/quantifier.hpp"
#include "mockutils/t... |
<commit_before>// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "helpers/memenv/memenv.h"
#include "leveldb/env.h"
#include "leveldb/status.h"... |
<commit_before>#include <ros/ros.h>
#include <humanoid_catching/CalculateTorques.h>
#include <Moby/qpOASES.h>
#include <Ravelin/VectorNd.h>
#include <Ravelin/MatrixNd.h>
#include <Ravelin/Quatd.h>
#include <Ravelin/Opsd.h>
#include <Moby/qpOASES.h>
#include <Ravelin/LinAlgd.h>
namespace {
using namespace std;
using na... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2009 Torus Knot Software Ltd
Permission is hereby granted, free of charge,... |
<commit_before>// Copyright 2016,xiong feng.
#include "RpcServer.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <memory>
#include <vector>
#include <string>
#include "glog/logging.h"
#include "RpcConnection.h"
#include "IterNetFunc.h"
#include "IterNetAddress.h"
#include "ReactorLoop.h"
#includ... |
<commit_before>//===- ComputeClosure.cpp - Implement interprocedural closing of graphs ---===//
//
// Compute the interprocedural closure of a data structure graph
//
//===----------------------------------------------------------------------===//
// DEBUG_IP_CLOSURE - Define this to debug the act of linking up graphs... |
<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><commit_msg>Delete AliAnalysisTaskSEDvsRT.cxx<commit_after><|endoftext|> |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compliance with the License.
/// You may o... |
<commit_before>/*
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
<commit_before>/* This file is part of Ingen.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
*
* Ingen 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 y... |
<commit_before>#include <QFileInfo>
#include <QRegularExpression>
#include "OutputParser.h"
#include "ParseState.h"
#include "TestModel.h"
using namespace QtcGtest::Internal;
namespace
{
const QRegularExpression gtestStartPattern (
QLatin1String ("^(.*)\\[==========\\] Running \\d+ tests? from \\d+ test cases... |
<commit_before>// Copyright (C) 2017 Jérôme Leclercq
// This file is part of the "Nazara Engine - Network module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#pragma once
#ifndef NAZARA_ENETPACKET_HPP
#define NAZARA_ENETPACKET_HPP
#include <Nazara/Prerequesites.hpp>
#include <Nazara... |
<commit_before>#include <string>
#include <cstdlib>
#include <cstring>
#include "Stat0.hpp"
#include "IStat.hpp"
std::string const Stat0::getstat(){
FILE* file = fopen("/proc/self/status", "r");
int result = -1;
char line[128];
std::string statinfo;
while (fgets(line, 128, file) != NULL){
if (st... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2012, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// ... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with t... |
<commit_before>//=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.... |
<commit_before>#ifndef HAVE_DETAIL_FACTORY_HPP
#define HAVE_DETAIL_FACTORY_HPP
namespace arrayadapt {
/*
*
*/
namespace detail {
/*
*
*/
template <class DataT, size_t kDims, template<class, size_t> class AdapterT>
struct Factory { };
template <class DataT, template<class, size_t> class AdapterT>
struct Factory<... |
<commit_before>#include "ProcessUtils.h"
#include "FileOps.h"
#include "Platform.h"
#include "StringUtils.h"
#include "Log.h"
#include <string.h>
#include <vector>
#include <iostream>
#ifdef PLATFORM_WINDOWS
#include <windows.h>
#else
#include <stdlib.h>
#include <sys/wait.h>
#include <errno.h>
#endif
#ifdef PLATFO... |
<commit_before>/*
* Copyright (c) 2015 - 2022, Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "ProfileTable.hpp"
#include <limits.h>
#include <pthread.h>
#include <cstdint>
#include <string.h>
#include <algorithm>
#include <string>
#include "geopm_time.h"
#include "geopm_hint.h"
#include ... |
<commit_before>//===-- DWARFDebugInfoEntry.cpp --------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------... |
<commit_before>#include <ncurses.h>
#include "../../../src/configuration.hh"
#include "../../../src/concat_c.hh"
#include "../../../src/contents.hh"
#include "../../../src/key_aliases.hh"
#include "../../../src/show_message.hh"
#include "../../vick-move/src/move.hh"
namespace vick {
namespace insert_mode {
struct in... |
<commit_before>#include "../../../src/contents.hh"
void enter_insert_mode (contents&, boost::optional<int> = boost::none);
void enter_replace_mode(contents&, boost::optional<int> = boost::none);
void enter_append_mode (contents&, boost::optional<int> = boost::none);
<commit_msg>Add documentation to header<commit_after... |
<commit_before>//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Elisavet Sakellari <elisavet.sakellari@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License... |
<commit_before>#ifndef COBALT_UTILITY_ENUMERATOR_HPP_INCLUDED
#define COBALT_UTILITY_ENUMERATOR_HPP_INCLUDED
#pragma once
#include <type_traits>
namespace cobalt {
template <typename Iterator>
class enumerator {
public:
typedef Iterator iterator;
enumerator(iterator begin, iterator end)
: _begin(begin)
, _en... |
<commit_before>/*************************************************************************/
/* wrapped.hpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before>/**
* @file Resolution.hpp
* @brief Resolution class prototype.
* @author zer0
* @date 2018-07-10
*/
#ifndef __INCLUDE_LIBTBAG__LIBTBAG_GRAPHIC_RESOLUTION_HPP__
#define __INCLUDE_LIBTBAG__LIBTBAG_GRAPHIC_RESOLUTION_HPP__
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) &&... |
<commit_before>/*
** Copyright (C) 2014 Aldebaran Robotics
** See COPYING for the license
*/
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <qi/log.hpp>
#include <qi/type/typeinterface.hpp>
#include "authprovider_p.hpp"
qiLogCategory("qime... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: toolbarmanager.hxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: vg $ $Date: 2006-04-07 10:18:07 $
*
* The Contents of this file ar... |
<commit_before>/*
* Copyright (C) 2008-2011 J-P Nurmi <jpnurmi@gmail.com>
* Copyright (C) 2010-2011 SmokeX smokexjc@gmail.com
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; eithe... |
<commit_before>/* Copyright (C) 2018, Project Pluto. See LICENSE. */
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef __has_include
#if __has_include(<cgi_func.h>)
#include "cgi_func.h"
#else
#error \
'cgi_func.h' not found. This project depends on ... |
<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>#include<iostream>
#include<stdio.h>
#include<string>
#include<math.h>
#include<vector>
#include<ctime>
#include<opencv2/opencv.hpp>
using namespace cv;
using namespace std;
typedef struct
{
int x;
int y;
float b;
float g;
float r;
}Tuple;
bool Isequal(vector<Tuple> a, vector<Tuple> b)... |
<commit_before>// 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 <string>
#include <vector>
#include "base/bind.h"
#include "base/message_loop.h"
#include "chrome/browser/chrome_plugin_servi... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 *
* (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>#include "stdafx.h"
#include "camera.h"
Camera::Camera(DeviceResources* resources)
{
m_pDeviceResources = resources;
XMVECTORF32 eye = { 0.0f, 5.0f, -10.0, 0.0f };
XMVECTORF32 at = { 0.0f, 0.0f, 0.0f, 0.0f };
XMVECTORF32 up = { 0.0f, 1.0f, 0.0f, 0.0f };
m_eyePosition = &eye;
m_focusP... |
<commit_before>// 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 "chrome/browser/chromeos/network_state_notifier.h"
#include "chrome/browser/chrome_thread.h"
#include "chrome/browser/chromeo... |
<commit_before>#pragma once
#include <algorithm>
#include <codecvt>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include <Windows.h>
#ifdef CUSTOM_LOGGER
#include CUSTOM_LOGGER
#endif
#ifdef _DEBUG
#ifndef LOG_DEBUG
#define LOG_DEBUG s... |
<commit_before>//==============================================================================
// Copyright (c) 2017 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Occupancy File Info Data Data Handler Interface Implementation
//=============================... |
<commit_before>/*
* Copyright 2014 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 req... |
<commit_before>// Copyright 2013 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/message_loop/message_loop.h"
#include "chrome/browser/extensions/api/feedback_private/feedback_private_api.h"
#include "chro... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/external_extension_provider_impl.h"
#include "base/command_line.h"
#include "base/file_path.h"
#in... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/options2/chromeos/set_wallpaper_options_handler.h"
#include "ash/desktop_background/desktop_backgrou... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>// Copyright (c) 2019 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_CONTRIB_INTEGER_HPP
#define TAO_PEGTL_CONTRIB_INTEGER_HPP
#include <cstdint>
#include <cstdlib>
#include <type_traits>
#include "../ascii.hpp"
#include ... |
<commit_before><commit_msg>PocoSQLControlDao: fix checking of control ID<commit_after><|endoftext|> |
<commit_before>#ifndef ORG_EEROS_CONTROL_MOUSEINPUT_HPP_
#define ORG_EEROS_CONTROL_MOUSEINPUT_HPP_
#include <eeros/control/Blockio.hpp>
#include <eeros/math/Matrix.hpp>
#include <eeros/hal/Mouse.hpp>
using namespace eeros::math;
using namespace eeros::hal;
namespace eeros {
namespace control {
/**
* This block ser... |
<commit_before>#include "Animation.h"
Animation::~Animation() {}
Animation::Animation(float x, float y, float z, std::vector<Model*> *frames) : Entity(x, y, z)
{
this->name = frames->at(0)->name;
this->frames = frames;
}
void Animation::runOnce()
{
isOnce = true;
}
/*** get ***/
float Animation::getWid... |
<commit_before><commit_msg>Added assign logic<commit_after><|endoftext|> |
<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 distribu... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (C) 2010 Kim Jung Nissen <jungnissen@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU L... |
<commit_before>//---------------------------------------------------------
// Copyright 2019 Ontario Institute for Cancer Research
// Written by Jared Simpson (jared.simpson@oicr.on.ca)
//---------------------------------------------------------
//
// nanopolish_fast5_loader -- A class that manages
// opening and readi... |
<commit_before>// Copyright 2016 The SwiftShader 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
//
// Un... |
<commit_before>#include "Players/Genetic_AI.h"
#include <iostream>
#include <fstream>
#include <array>
#include <string>
#include <cmath>
#include "Game/Color.h"
#include "Utility/String.h"
#include "Utility/Exceptions.h"
class Board;
class Clock;
int Genetic_AI::next_id = 0;
Genetic_AI::Genetic_AI() noexcept : i... |
<commit_before>/////////////////////////////////////////////////////////////////////////
// $Id: unmapped.cc,v 1.25 2008/01/26 22:24:02 sshwarts Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2001 MandrakeSoft S.A.
//
// MandrakeSoft S.A.
// 43, rue d'Aboukir... |
<commit_before>#include "Players/Genetic_AI.h"
#include <iostream>
#include <fstream>
#include <map>
#include <algorithm>
class Board;
class Clock;
#include "Game/Color.h"
#include "Utility/String.h"
#include "Exceptions/Genetic_AI_Creation_Error.h"
int Genetic_AI::next_id = 0;
size_t Genetic_AI::max_origin_pool_... |
<commit_before>/*
* Copyright (c) 2016, 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>/*
* TimerService.cpp
*
* Created on: 05.04.2017
* Author: jonasfuhrmann
*/
#include "TimerService.h"
#include "Logger.h"
#include "LogScope.h"
#include <sys/neutrino.h>
#include <time.h>
#include <signal.h>
TimerService::TimerService(int chid, char code) throw(int)
: timerid()
, code(co... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: wrapInstanceTable.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2000 National Library of Medicine
All rights reserved.
... |
<commit_before>/*
* Author: Vladimir Ivan
*
* Copyright (c) 2017, University Of Edinburgh
* 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 r... |
<commit_before>#include "nxtFlashTool.h"
using namespace qReal;
using namespace gui;
NxtFlashTool::NxtFlashTool(ErrorReporter *errorReporter)
: mErrorReporter(errorReporter), mUploadState(done)
{
QProcessEnvironment environment;
environment.insert("QREALDIR", qApp->applicationDirPath());
environment.insert("DISPL... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_base... |
<commit_before>/*
* Copyright (c) 2016-2018 metaverse core developers (see MVS-AUTHORS).
* Copyright (C) 2013, 2016 Swirly Cloud Limited.
*
* 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... |
<commit_before>
// Qt includes
#include <QDebug>
#include <QTableView>
#include <QLayout>
#include <QStandardItemModel>
#include <QWidget>
// Visomics includes
#include "voTableView.h"
#include "voDataObject.h"
// VTK includes
#include <vtkIdTypeArray.h>
#include <vtkQtTableRepresentation.h>
#include <vtkQtTableView.... |
<commit_before>// @(#)root/meta:$Name: $:$Id: TGenericClassInfo.cxx,v 1.17 2007/01/31 19:59:53 pcanal Exp $
// Author: Philippe Canal 08/05/2002
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun, Fons Rademakers and al. *
* All rights reserved.... |
<commit_before>// Copyright (c) 2014-2015 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/
#ifndef PEGTL_CONTRIB_JSON_HH
#define PEGTL_CONTRIB_JSON_HH
#include "../rules.hh"
#include "../ascii.hh"
#include "../utf8.hh"
#include "abnf.hh"
namespace pegtl
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.