text stringlengths 54 60.6k |
|---|
<commit_before>#include "ui.hpp"
#include "../utils/utils.hpp"
#include <cstdio>
#include <cerrno>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include <SDL/SDL_opengl.h>
Ui::Ui(unsigned int w, unsigned int h, bool r) : scene(w, h), record(r) {
if (SDL_Init(SDL_INIT_EVERYTHING) != 0)
fatal("failed to initialiaz... |
<commit_before>#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <Engine/MainWindow.hpp>
#include "Editor.hpp"
#include "Util/EditorSettings.hpp"
#include <Engine/Util/Input.hpp>
#include <Engine/Util/FileSystem.hpp>
#include <Utility/Log.hpp>
#include <Engine/Input/Input.hpp>
#include <Engine/Manager/Managers.hpp>... |
<commit_before>/***********************************************************************
created: 21/2/2004
author: Paul D Turner <paul@cegui.org.uk>
*************************************************************************/
/***************************************************************************
* ... |
<commit_before>//
// File: FileManager.hpp
// Class: FileManager
// Structs: CLTexture
// Author: John Barbero Unenge
// All code is my own except where credited to others.
//
// Date: 17/9-2012
//
// Description:
// The purpose of FileManager is to provide a system specific
// f... |
<commit_before>/* ____________________________________________________________________________
Scanner Component for the Micro A Compiler
mscan.h
Version 2007 - 2016
James L. Richards
... |
<commit_before>
#include <iostream>
#include "window.h"
#include "application.h"
#include "style.h"
#include <platform/window.h>
#include <gl/opengl.h>
namespace gui
{
////////////////////////////////////////
window::window( const std::shared_ptr<platform::window> &w )
: _window( w )
{
precondition( bool(_window),... |
<commit_before><commit_msg>mask getter<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: numehelp.hxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2005-01-11 14:17:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
The program includes the solutions to ex 5-23 and ex 5-24.
*/
#include <iostream>
using namespace std;
int main()
{
int dividend, divisor;
while (cin >> dividend >> divisor) {
try {
if (divisor == 0) {
throw runtime_error("Divisor cannot be zero.");
... |
<commit_before>/// \file ROOT/TWebWindowWSHandler.hxx
/// \ingroup WebGui ROOT7
/// \author Sergey Linev <s.linev@gsi.de>
/// \date 2018-08-20
/// \warning This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback
/// is welcome!
/**************************************... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: newerverwarn.hxx,v $
* $Revision... |
<commit_before>/***************************************************************************
* action.cpp
* This file is part of the KDE project
* copyright (C)2004-2006 by Sebastian Sauer (mail@dipe.org)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Libra... |
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp:
/*
The MIT License
Copyright (c) 2008, 2009 Aristid Breitkreuz, Ash Berlin, 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
... |
<commit_before>/*
Copyright (c) 2018 Anon authors, see AUTHORS file.
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... |
<commit_before>// Copyright (c) 2011-2013 Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list o... |
<commit_before>#include "AllocStuff.hpp"
#include "core/src/global_debug.hpp"
#include <stdlib.h>
void* allocs::pfnAllocation(
void* pUserData,
size_t size, // bytes
size_t alignment,
VkSystemAlloca... |
<commit_before>// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... |
<commit_before>/* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Wiring project - http://wiring.org.co
Copyright (c) 2004-06 Hernando Barragan
Modified 13 August 2006, David A. Mellis for Arduino - http://www.arduino.cc/
This library is free software; you can redistribute it a... |
<commit_before>#include <string.h>
#include <math.h>
#include "FireLog.h"
#include "FireSight.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "jansson.h"
#include "jo_util.hpp"
#include "MatUtil.hpp"
using namespace cv;
using name... |
<commit_before>/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license info... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one ... |
<commit_before>#include <cstdio>
#include <cstdlib>
#include <unistd.h>
#include <string>
#include <string.h>
#include <csignal>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <dirent.h>
#include <fcntl.h>
#include <errno.h>
#include <functional>
#include <unorder... |
<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 "chrome/browser/bookmarks/bookmark_node_data.h"
#include <string>
#include "base/basictypes.h"
#include "base/pickle.h"
#inc... |
<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 "chrome/browser/bookmarks/bookmark_node_data.h"
#include <string>
#include "base/basictypes.h"
#include "base/pickle.h"
#inc... |
<commit_before>// 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 "chrome/browser/chromeos/login/new_user_view.h"
#include <signal.h>
#include <sys/types.h>
#include <algorithm>
#include <ve... |
<commit_before><commit_msg>The focus ring was not shown on Linux toolkit views. This is because on the renderer side the ring color was set to a value received from the browser, but on Linux toolkit view we are not initializing that value in the browser (just like we do on Windows, we keep the default WebKit value). So... |
<commit_before>
#ifndef __EIRODS_HASH_HPP__
#define __EIRODS_HASH_HPP__
// =-=-=-=-=-=-=-
// hash_map include
#ifdef _WIN32
#include <hash_map>
#include <windows.h>
using namespace stdext;
#else
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
... |
<commit_before>// 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"
#... |
<commit_before>// 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"
#... |
<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/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#includ... |
<commit_before>// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Utility module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Utility/IndexBuffer.hpp>
#include <memory>
#include <Nazara/Utility/Debug.hpp>
n... |
<commit_before>// 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"
#... |
<commit_before>// (C) Copyright Gennadiy Rozental 2001-2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
... |
<commit_before>/*! \file boost_variant.hpp
\brief Support for boost::variant
\ingroup OtherTypes */
/*
Copyright (c) 2014, Randolph Voorhies, Shane Grant
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following condi... |
<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 "chrome_frame/http_negotiate.h"
#include <atlbase.h>
#include <atlcom.h>
#include <htiframe.h>
#include "base/logging.h"
#in... |
<commit_before>#ifndef COBALT_UTILITY_ENUM_TRAITS_HPP_INCLUDED
#define COBALT_UTILITY_ENUM_TRAITS_HPP_INCLUDED
#pragma once
#include <boost/preprocessor/variadic/size.hpp>
#include <boost/assert.hpp>
#include <type_traits>
#include <ostream>
#include <sstream>
#include <cstdint>
#include <cstring>
namespace cobalt... |
<commit_before>
/*
/~` _ _ _|_. _ _ |_ | _
\_,(_)| | | || ||_|(_||_)|(/_
https://github.com/Naios/continuable
v3.0.0
Copyright(c) 2015 - 2018 Denis Blank <denis.blank at outlook dot com>
Permission is her... |
<commit_before>/**
* This file defines the `dispatch_policy` class.
*/
#ifndef D2_SANDBOX_DISPATCH_POLICY_HPP
#define D2_SANDBOX_DISPATCH_POLICY_HPP
#include <boost/parameter.hpp>
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition/enum_params_with_a_default.hpp>
#includ... |
<commit_before>//=======================================================================
// 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)
//===================================================... |
<commit_before>/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not d... |
<commit_before>// Copyright (c) 2014-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/
#ifndef TAO_PEGTL_INTERNAL_ISTRING_HPP
#define TAO_PEGTL_INTERNAL_ISTRING_HPP
#include <type_traits>
#include "../config.hpp"
#include "bump_help.hpp"
#include "enab... |
<commit_before>#pragma once
#ifndef __VALIJSON_OPTIONAL_HPP
#define __VALIJSON_OPTIONAL_HPP
// This should be removed once C++17 is widely available
#if __has_include(<optional>) && __cplusplus >= 201703
# include <optional>
namespace opt = std;
#else
# include <compat/optional.hpp>
namespace opt = std::experimental... |
<commit_before>//===-- io.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 "SysControl.h"
#include "ControlsApp.h"
#include "ControlsXPad360.h"
#include "Engine.h"
#include "App.h"
//ƽַ̨
#ifdef _WIN32
#pragma execution_character_set("utf-8")
#endif
using namespace MathLib;
class CSysControlLocal : public CSysControl
{
public:
CSysControlLocal();
virtual ~CSysC... |
<commit_before>/*
* Thread.cpp 15.08.2006 (mueller)
*
* Copyright (C) 2006 by Universitaet Stuttgart (VIS). Alle Rechte vorbehalten.
*/
#include "vislib/Thread.h"
#ifndef _WIN32
#include <unistd.h>
#endif /* !_WIN32 */
#include "vislib/assert.h"
#include "vislib/error.h"
#include "vislib/IllegalPa... |
<commit_before>/***************************************************************************
copyright : (C) 2002 - 2008 by Scott Wheeler
email : wheeler@kde.org
copyright : (C) 2010 by Alex Novichkov
email : novichko@atnet.ru
... |
<commit_before>/**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "... |
<commit_before><commit_msg>liblo: use MediaDescriptor / clean-up<commit_after><|endoftext|> |
<commit_before><commit_msg>#65293# exception specification<commit_after><|endoftext|> |
<commit_before><commit_msg>Implemented abstract methods for Firebird database<commit_after><|endoftext|> |
<commit_before>#include <set>
#include <sstream>
#include <iostream>
#include <cassert>
#include "CodeGen.h"
#include "Compile.h"
#include "IR.h"
#include "Type.h"
#include "Parser.h"
using namespace Bish;
class TypeAnnotator : public IRVisitor {
public:
TypeAnnotator(std::ostream &os) : stream(os), indent_level(... |
<commit_before>#include "stdafx.h"
/*
==============================================================================
This is an automatically generated file created by the Jucer!
Creation date: 3 Apr 2012 10:45:28pm
Be careful when adding custom code to these files, as only the code within
the "/... |
<commit_before>/*
* Copyright (c) 2008, 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,... |
<commit_before>/* opendatacon
*
* Copyright (c) 2014:
*
* DCrip3fJguWgVCLrZFfA7sIGgvx1Ou3fHfCxnrz4svAi
* yxeOtDhDCXf1Z4ApgXvX5ahqQmzRfJ2DoX8S05SqHA==
*
* 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 ... |
<commit_before>/**
* Appcelerator Titanium - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2010 Appcelerator, Inc. All Rights Reserved.
*/
#include "network_module.h"
#include "common.h"
static Logger* GetLogger()
{
return Logger::Get("Net... |
<commit_before>#include <iostream>
#include <fstream>
#include <iomanip>
#include <cstdint>
#include <string>
#include <sys/types.h>
#include <dirent.h>
#include <sstream>
#include <sys/stat.h>
#include <cstring>
#include "message.H"
#include <time.h>
#include <stddef.h>
#include <cstdio>
#include <syslog.h>
const u... |
<commit_before>//==============================================================================
// Single cell simulation view graph panel widget
//==============================================================================
#include "singlecellsimulationviewgraphpanelwidget.h"
//=============================... |
<commit_before>/**
@file traits.hpp
@brief Type traits and helpers.
@author Tim Howard
@copyright 2013 Tim Howard under the MIT license;
see @ref index or the accompanying LICENSE file for full text.
*/
#ifndef HORD_TRAITS_HPP_
#define HORD_TRAITS_HPP_
#include "./config.hpp"
#include <type_traits>
namespace Hord ... |
<commit_before>/*
* Copyright 2009-2015 The VOTCA Development Team (http://www.votca.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
<commit_before>/*
* Copyright (c) 2017 Deepsea
*
* This software may be modified and distributed under
* the terms of the MIT license. See the LICENSE file
* for details.
*
*/
#include <stdlib.h>
#include <atomic>
#include <assert.h>
#ifndef _CACTUS_STACK_PLUS_H_
#define _CACTUS_STACK_PLUS_H_
#ifndef CACTUS... |
<commit_before>/*
* Copyright (c) 2013-2016 John Connor (BM-NC49AxAjcqVcF5jNPu85Rb8MJ2d9JqZt)
*
* This file is part of vanillacoin.
*
* vanillacoin 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 publis... |
<commit_before>#include "generations.h"
//TODO: time-based killing
Generations::Generations(string input, string output){
this->population_id = 0;
this->begin_exec = clock();
this->output = output;
Instance instance;
Chromosome chromosome;
instance.read_instance(input);
for(unsigned int i = 0; i < _POPULATION_... |
<commit_before>/*
*
* Author: Jeffrey Leung
* Last edited: 2016-02-18
*
* This C++ header file contains the function prototypes for the
* exception logger Exceptional.
*
*/
#pragma once
#include <fstream>
#include <iostream>
#include <exception>
#include <stdexcept>
#include <string>
namespace exceptional
{
... |
<commit_before>//
// inpal_prime.hpp
// InversePalindrome
//
// Created by Bryan Triana on 7/13/16.
// Copyright © 2016 Inverse Palindrome. All rights reserved.
//
#ifndef inpal_prime_hpp
#define inpal_prime_hpp
#include <vector>
#include <string>
namespace inpal
{
class prime
{
public:
sta... |
<commit_before>#pragma once
/**
@file
@brief pailler encryption
@author MITSUNARI Shigeo(@herumi)
@license modified new BSD license
http://opensource.org/licenses/BSD-3-Clause
*/
#include <mcl/gmp_util.hpp>
namespace mcl { namespace pailler {
class PublicKey {
size_t bitSize;
mpz_class g;
mpz_class n;
mpz_cl... |
<commit_before>/*
* Copyright 2016 Ivan Ryabov
*
* 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>/*
* Copyright (c) 2012-2015 Christian Surlykke
*
* This file is part of qt-lightdm-greeter
* It is distributed under the LGPL 2.1 or later license.
* Please refer to the LICENSE file for a copy of the license.
*/
#include <QDebug>
#include <QCompleter>
#include <QAbstractListModel>
#include <QModelInde... |
<commit_before>// Copyright (c) 2009 - Decho Corp.
#include "mordor/common/pch.h"
#include "digest.h"
#include "mordor/common/string.h"
#include "mordor/common/timer.h"
#include "parser.h"
void
HTTP::DigestAuth::authorize(const Response &challenge, Request &nextRequest,
const std::string... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// ... |
<commit_before>// =-=-=-=-=-=-=-
#include "irods_buffer_encryption.hpp"
#include "irods_log.hpp"
// =-=-=-=-=-=-=-
// ssl includes
#include <openssl/rand.h>
#include <openssl/err.h>
#include <openssl/aes.h>
#include <iostream>
#include <sstream>
#include <iomanip>
#include "global.hpp"
#include "md5.hpp"
namespace... |
<commit_before>//
// Copyright (c) 2013-2014 Christoph Malek
// See LICENSE for more information.
//
#ifndef RJ_GAME_MAIN_MENU_MAIN_MENU_HPP
#define RJ_GAME_MAIN_MENU_MAIN_MENU_HPP
#include "background_main_menu.hpp"
#include "overlay.hpp"
#include <rectojump/core/game_window.hpp>
#include <rectojump/core/render.hpp... |
<commit_before>#ifndef _INCLUDED_ESA_COMPRESSOR_HPP_
#define _INCLUDED_ESA_COMPRESSOR_HPP_
#include <tudocomp/util.hpp>
#include <tudocomp/compressors/lzss/LZSSCoding.hpp>
#include <tudocomp/compressors/lzss/LZSSFactors.hpp>
#include <tudocomp/compressors/lzss/LZSSLiterals.hpp>
#include <tudocomp/compressors/esacomp... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <cstddef>
#include <visionaray/array.h>
#include <visionaray/material.h>
namespace visionaray
{
//-------------------------------------------------------------------------------------------------
// Publi... |
<commit_before>/**
* File : D.cpp
* Author : Kazune Takahashi
* Created : 1/12/2019, 9:15:17 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string>... |
<commit_before>// TODO: make cursor the fixed point of the zoom
// TODO: compute area for selfintersecting polygons
// TODO: polygon editing: move caption, change color, move segments (?), add points (?), delete points (?)
// TODO: set scale by two points GPS coordinates
// TODO: result printing
// TODO: make it possib... |
<commit_before>/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "kernel/instantiate.h"
#include "library/trace.h"
#include "library/num.h"
#include "library/string.h"
#include "library/pp_options.... |
<commit_before>/**
* @file llinventoryitemslist.cpp
* @brief A list of inventory items represented by LLFlatListView.
*
* Class LLInventoryItemsList implements a flat list of inventory items.
* Class LLPanelInventoryListItem displays inventory item as an element
* of LLInventoryItemsList.
*
* $LicenseInfo:first... |
<commit_before>/* Copyright 2013 - 2015 Yurii Litvinov and CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... |
<commit_before>#include <boomhs/collision.hpp>
#include <boomhs/components.hpp>
#include <boomhs/frame_time.hpp>
#include <common/log.hpp>
#include <common/timer.hpp>
#include <common/type_macros.hpp>
#include <gl_sdl/sdl_window.hpp>
#include <opengl/bind.hpp>
#include <opengl/factory.hpp>
#include <opengl/gpu.hpp>
... |
<commit_before>#include "src/associations.hpp"
#include <sdbusplus/asio/connection.hpp>
#include <sdbusplus/asio/object_server.hpp>
/* @brief Will contain path and name of test application */
const char* appname = program_invocation_name;
#include <gtest/gtest.h>
/** @class AsioServerClassTest
*
* @brief Provide ... |
<commit_before>/*!
* @file logger_implement_access.cpp
* @brief logger module implementation class For access log.
*
* L7VSD: Linux Virtual Server for Layer7 Load Balancing
* Copyright (C) 2009 NTT COMWARE Corporation.
*
* This program is free software; you can redistribute it and/or
* modify it under the ter... |
<commit_before>/*
* Copyright 2002-2005 The Apache Software Foundation.
*
* 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 the "tsdb" project
* Copyright (c) 2015 Paul Asmuth, FnordCorp B.V.
*
* FnordMetric is free software: you can redistribute it and/or modify it under
* the terms of the GNU General Public License v3.0. You should have received a
* copy of the GNU General Public License a... |
<commit_before>/*
* Author:
* - Vittoriano Muttillo <vittoriano.muttillo@gmail.com>
* - Giacomo Valente <giakomo.87v@gmail.com>
*
* Copyright (c) 2015 Vittoriano Muttillo, Giacomo Valente.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated document... |
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_META_IS_DETECTED_HPP
#define STAN_MATH_PRIM_SCAL_META_IS_DETECTED_HPP
#include <stan/math/prim/meta/void_t.hpp>
#include <type_traits>
namespace stan {
template <typename, template <typename> class, typename = void>
struct is_detected : std::false_type {};
/**
* Checks wh... |
<commit_before>#ifndef STAN_MATH_REV_FUNCTOR_ODE_ADAMS_HPP
#define STAN_MATH_REV_FUNCTOR_ODE_ADAMS_HPP
#include <stan/math/rev/meta.hpp>
#include <stan/math/rev/functor/cvodes_integrator.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <ostream>
#include <vector>
namespace stan {
namespace math {
/**
* Solve t... |
<commit_before>#include "hexmap_widget.h"
#include <QMouseEvent>
#include <asdf_multiplat/main/asdf_multiplat.h>
#include <asdf_multiplat/data/content_manager.h>
#include "mainwindow.h"
#include "ui_mainwindow.h"
/// https://doc-snapshots.qt.io/qt5-dev/qopenglwidget.html
using namespace std;
using namespace glm;
... |
<commit_before>#ifndef tut_polymorphism_hpp
#define tut_polymorphism_hpp
#include <cstddef>
#include <functional>
#include "../xtd/castable.hpp"
namespace tut
{
// This tutorial gives an introduction to the data abstraction-style in C++ (DAS).
//
// DAS is a simple, powerful, composable, and efficient st... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2018 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================... |
<commit_before>/*
* Copyright (C) 2009 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>// C++ source file - (C) 2003 Robert Osfield, released under the OSGPL.
//
// Simple example of use of Producer::RenderSurface to create an OpenGL
// graphics window, and OSG for rendering.
#include <osg/Timer>
#include <osg/GraphicsContext>
#include <osg/GraphicsThread>
#include <osgUtil/UpdateVisitor... |
<commit_before>#ifndef PARSER_HH
#define PARSER_HH
#include <cstdlib> // size_t
#include <map>
class Bookmark;
class BookmarkContainer;
class Parser
{
enum Language { C_FAMILY, SCRIPT, ERLANG, PYTHON, ALL };
enum State
{
NORMAL, COMMENT_START, C_COMMENT, C_COMMENT_END, DOUBLE_QUOTE,
DOUB... |
<commit_before>/*
* Vulkan Example - Using different pipelines in one single renderpass
*
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include "vulkanexamplebase.h"
#include "VulkanglTFModel.h"
#define ENAB... |
<commit_before>// @COPYRIGHT@
// Licensed under MIT license.
// See LICENSE.TXT file in the project root for more information.
// ==============================================================
#ifndef __SHADOW_MEMORY__
#define __SHADOW_MEMORY__
#include<stdint.h>
#include<atomic>
#include<stdlib.h>
#include<sys/mman.h>... |
<commit_before>#include <iostream>
#include <string>
#include <assert.h>
#include <sys/time.h>
#include <cstdlib>
#include <log4cxx/logger.h>
#include <log4cxx/xml/domconfigurator.h>
#include <log4cxx/ndc.h>
using namespace log4cxx;
using namespace log4cxx::xml;
using namespace log4cxx::helpers;
#include "hdf5.h"
#... |
<commit_before>#include "loginform.h"
#include "ui_loginform.h"
#include <QDebug>
#include <QCompleter>
#include <QAbstractListModel>
#include <QModelIndex>
#include <QFile>
#include <QTextStream>
#include <QStringList>
#include <QPixmap>
#include <QMessageBox>
#include <QModelIndex>
#include <QMenu>
#include <QProcess... |
<commit_before>
/*
*
* Copyright (C) 2016 Luxon Jean-Pierre
* gumichan01.olympe.in
*
*
* Luxon Jean-Pierre (Gumichan01)
* luxon.jean.pierre@gmail.com
*
*/
#include "utf8_string.hpp"
utf8_string::utf8_string() : utf8_str_length(0){}
utf8_string::utf8_string(const std::string &str)
: utf8_string()
{
for(auto c ... |
<commit_before>// Copyright (C) 2017 Rob Caelers <rob.caelers@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 limitation the rights
// ... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, Inc.
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, co... |
<commit_before>#include "C3DFileAdapter.h"
#ifdef WITH_EZC3D
// TODO manage the header into one include
#include "../ezc3d/Header.h"
#include "../ezc3d/Parameters.h"
#include "../ezc3d/Data.h"
#else
#include "btkAcquisitionFileReader.h"
#include "btkAcquisition.h"
#include "btkForcePlatformsExtractor.h"
#include "btkG... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.