text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: app.hxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: hr $ $Date: 2007-06-27 14:11:43 $
*
* The Contents of this file are made avai... |
<commit_before>AliAnalysisTaskEmcalJetMass* AddTaskEmcalJetMass(const char * njetsBase,
const Double_t R,
const char * nrhoBase,
const char * ntracks,
const char * nclusters,
const char *type,
const char *CentEst,
Int_t pSel,
TString trigClass... |
<commit_before>#include <plugin.hpp>
#include <debug.hpp>
#include <output.hpp>
#include <core.hpp>
#include <view.hpp>
#include <workspace-manager.hpp>
#include <render-manager.hpp>
#include <algorithm>
#include <cmath>
#include <linux/input-event-codes.h>
#include "signal-definitions.hpp"
#include <animation.hpp>
#i... |
<commit_before>/*******************************************************************************
* thrill/net/flow_control_channel.cpp
*
* Part of Project Thrill.
*
* Copyright (C) 2015 Emanuel Jöbstl <emanuel.joebstl@gmail.com>
*
* This file has no license. Only Chuck Norris can compile it.
********************... |
<commit_before>/*
Copyright Eli Dupree and Isaac Dupree, 2011, 2012
This file is part of Lasercake.
Lasercake is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the Lice... |
<commit_before>#include "output_hls.h"
#include <mist/defines.h>
#include <mist/http_parser.h>
#include <mist/stream.h>
#include <unistd.h>
namespace Mist {
///\brief Builds an index file for HTTP Live streaming.
///\return The index file for HTTP Live Streaming.
std::string OutHLS::liveIndex(){
std::strings... |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of the Li... |
<commit_before>/**
* @file
*
* @brief Source for leaf plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#include "leaf.hpp"
#include <kdbhelper.h>
using elektra::LeafDelegate;
using CppKey = kdb::Key;
using CppKeySet = kdb::KeySet;
namespace
{
/**
* @brief This function... |
<commit_before>/*
* Copyright (c) 2019 Tuukka Norri
* This code is licensed under MIT license (see LICENSE for details).
*/
#include <range/v3/all.hpp>
#include <vcf2multialign/can_handle_variant_alts.hh>
#include <vcf2multialign/preprocess/sample_sorter.hh>
#include <vcf2multialign/variant_format.hh>
namespace l... |
<commit_before>//===-- ConstString.cpp -----------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#ifdef WIN32
#define _USE_MATH_DEFINES
#include <cmath>
#endif
#include "PhysicsObject.h"
#include <math.h>
namespace Physics
{
void Object::ApplyImpulse ( vec2 impulse )
{
velocity += (impulse / mass);
}
void Object::ApplyAngularImpulse ( float impulse )
{
angularVelocity += (impulse / mass)... |
<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 "printing/pdf_metafile_cg_mac.h"
#include "base/file_path.h"
#include "base/logging.h"
#include "base/mac/mac_util.h"
#includ... |
<commit_before>#include "GameObject.h"
#include "Macros.h"
#include "Math\Matrix.h"
#include "Shader.h"
#include "Texture.h"
#include "Model.h"
#include "Camera.h"
#include <stdio.h>
#define GLEW_STATIC
#include <glew\glew.h>
#include <GLFW\glfw3.h>
GameObjectType GameObject::getType() const {
return this->type;
... |
<commit_before>/*
Copyright (C) 2009 Matthias Kretz <kretz@kde.org>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) version 3.... |
<commit_before>#include "MainWindow.h"
#include "CodeView/CodeView.h"
#include "RecentExecutables.h"
#include "AmigaUAE/AmigaUAE.h"
#include "Backend/BackendRequests.h"
#include "Backend/BackendSession.h"
#include "BreakpointModel.h"
#include "CodeViews.h"
#include "Config/AmigaUAEConfig.h"
#include "MemoryView/Memory... |
<commit_before>/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... |
<commit_before>/*
* Copyright (c) 2008, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this ... |
<commit_before>#include "exe/signal_action.h"
#include <signal.h>
#include <sys/mman.h>
#include "common/common/assert.h"
namespace Envoy {
constexpr int SignalAction::FATAL_SIGS[];
void SignalAction::sigHandler(int sig, siginfo_t* info, void* context) {
void* error_pc = 0;
const ucontext_t* ucontext = reinter... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include "lw/pp.hpp"
namespace lw {
namespace event {
// Declares event types.
#define LW_DECLARE_EVENT(_event_name) struct LW_CONCAT(_event_name, _t) {... |
<commit_before>#include "facepreprocessor.h"
#include <vector>
#include <algorithm>
#include <limits>
#include <cstdint>
#include <opencv2/imgproc/imgproc.hpp>
#include <QDebug>
static const double PI = std::atan(1.0) * 4;
using namespace cv;
FacePreprocessor::FacePreprocessor(FaceClassifiers classifiers, const M... |
<commit_before>// Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "csvmodelwriter.h"
#include <QAbstractItemModel>
#include <QFile>
#include <QTextStream>
CSVModelWri... |
<commit_before>#include "ObjectCodeGenerator.h"
#include "TableManager.h"
ObjectCodeGenerator::ObjectCodeGenerator(string objectFileName) {
outputFileName = objectFileName.append(".o");
}
ObjectCodeGenerator::~ObjectCodeGenerator() {
}
void ObjectCodeGenerator::WriteInstruction(int opCode, const vector<ArgumentInfo... |
<commit_before>#include "xchainer/cuda/cuda_backend.h"
#include <stdlib.h> // NOLINT
#include <tuple>
#include <cuda_runtime.h>
#include <gtest/gtest.h>
#include "xchainer/array.h"
#include "xchainer/context.h"
#include "xchainer/cuda/cuda_runtime.h"
#include "xchainer/device.h"
#include "xchainer/indexable_array.... |
<commit_before>/*************************************************************************
*
* REALM CONFIDENTIAL
* __________________
*
* [2011] - [2015] Realm Inc
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Realm Incorporated and its suppliers,
* i... |
<commit_before>/*!
* \file WRATHBrush.hpp
* \brief file WRATHBrush.hpp
*
* Copyright 2013 by Nomovok Ltd.
*
* Contact: info@nomovok.com
*
* 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 on... |
<commit_before>#ifndef Bull_Window_hpp
#define Bull_Window_hpp
#include <memory>
#include <Bull/Core/Integer.hpp>
#include <Bull/Core/Pattern/NonCopyable.hpp>
#include <Bull/Core/String.hpp>
#include <Bull/Core/System/Export.hpp>
#include <Bull/Hardware/Joystick.hpp>
#include <Bull/Hardware/Keyboard.hpp>
#include <B... |
<commit_before>#ifndef IPV4_5TUPLEL2IDENT_HPP
#define IPV4_5TUPLEL2IDENT_HPP
#include <cstdint>
#include <exception>
#include <functional>
#include <sstream>
#include <stdexcept>
#include <string>
#include "headers.hpp"
#include "exceptions.hpp"
template <class Packet> class IPv4_5TupleL2Ident {
public:
struct Has... |
<commit_before>#include <iostream>
#include <fstream>
#include <string>
template <typename T>
struct Node
{
Node<T>* leftNode;
Node<T>* rightNode;
T value;
Node(T value)
{
this->value = value;
leftNode = nullptr;
rightNode = nullptr;
}
};
template <typename T>
class BinarySearchTree
{
private:
Node<T>* ... |
<commit_before>// Copyright (c) 2014, LAAS-CNRS
// Authors: Joseph Mirabel (joseph.mirabel@laas.fr)
//
// This file is part of hpp-core.
// hpp-core 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, eit... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 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>#include "editor/ui2oh.hpp"
#include "std/algorithm.hpp"
#include "std/array.hpp"
#include "std/string.hpp"
#include "3party/opening_hours/opening_hours.hpp"
namespace
{
void SetUpWeekdays(osmoh::Weekdays const & wds, editor::ui::TimeTable & tt)
{
set<osmoh::Weekday> openingDays;
for (auto const &... |
<commit_before>/* The MIT License (MIT)
*
* Copyright (c) 2016 Ștefan-Gabriel Mirea, Adrian Dobrică
*
* 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>// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law ... |
<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 "webkit/database/database_tracker.h"
#include <vector>
#include "app/sql/connection.h"
#include "app/sql/meta_table.h"
#incl... |
<commit_before>/**
* @file
*
* @ingroup pwg2_forward_scripts
*/
/**
* Run a pass on ESD data to produce the energ loss fits
*
*
* @ingroup pwg2_forward_scripts
*/
void MakeELossFits(const char* esddir,
Int_t nEvents=1000,
Int_t proof=0,
Bool_t mc=false)
{
// --- Librari... |
<commit_before>#include "ThreadPool.hpp"
namespace dbr
{
namespace cc
{
ThreadPool::ThreadPool(std::size_t threadCount)
: threadsWaiting(0),
terminate(false),
paused(false)
{
// keep from reallocating
threads.reserve(threadCount);
for(auto i = 0u; i < threadCount; ++i)
threads.emplace_back(... |
<commit_before>/*
* Copyright 2010 Jonathan R. Guthrie
*
* 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 applicabl... |
<commit_before>// ThreadTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <thread>
#include <chrono>
#include <set>
#include <vector>
#include <shared_mutex>
#include <atomic>
int egis = 0;
class AsmLock {
public:
void Lock()
{
__asm {
mov eax, 1;
... |
<commit_before>/***********************************************************************
filename: CEGuiD3D81BaseApplication.cpp
created: 24/9/2004
author: Paul D Turner
*************************************************************************/
/******************************************************... |
<commit_before>#include <locale.h>
#include "CWinService.cpp"
static void WINAPI ServiceMain(DWORD argc, LPTSTR *argv)
{
CWinService *lpCWinService = CWinService::getInstance();
if (lpCWinService->RegisterService() != TRUE)
return;
BOOL bWinsockInit = FALSE;
do
{
WSADATA wsa;
if (WSAStartup(MAKEWORD(2, 2),... |
<commit_before>
#include "FlareTabView.h"
#include "../../Flare.h"
#include "../Style/FlareStyleSet.h"
/*----------------------------------------------------
Construct
----------------------------------------------------*/
void SFlareTabView::Construct(const FArguments& InArgs)
{
// Data
CurrentTabIndex = 0;
con... |
<commit_before>#ifdef _WIN32
# include <windows.h>
# include <stdlib.h>
# include <intrin.h>
# include <stdint.h>
namespace tracy
{
bool DiscoveryAVX();
bool DiscoveryAVX2();
}
int main( int argc, char** argv );
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd, int nCmd )
{
{
... |
<commit_before>#include "dsa_common.h"
#include "date_time.h"
#include <chrono>
#include <iomanip>
#include <sstream>
namespace dsa {
thread_local std::chrono::milliseconds _last_ms{0};
thread_local std::string _last_ts;
static void update_ts(std::chrono::system_clock::time_point now) {
std::time_t t = std::chro... |
<commit_before>#pragma once
// `krbn::hid_manager` can be used safely in a multi-threaded environment.
#include "boost_utility.hpp"
#include "cf_utility.hpp"
#include "device_detail.hpp"
#include "dispatcher.hpp"
#include "human_interface_device.hpp"
#include "logger.hpp"
#include "types.hpp"
#include <IOKit/hid/IOHI... |
<commit_before>#include "physicsEntity.h"
//
// CONSTRUCTORS ////////////////////////////////////////////////////////////////
//
PhysicsEntity::PhysicsEntity( QString pathToModel, QString pathToTexture,
btScalar mass )
: m_pathToModel( pathToModel ), m_pathToTexture( pathToTexture ),
m_mass( mass ... |
<commit_before>/*******************************************************************
* simulation.cpp
* Programming Assignment 1 : Sensor Simulation
* Author: Samuel Sikes
* Date: June 2016
* This program is entirely my own work
*******************************************************************/
#include "simulation.h"... |
<commit_before>/*=========================================================================
Program: Monteverdi2
Language: C++
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See Copyright.txt for details.
Monteverdi2 is distributed under the CeCILL licence version 2. See
Licenc... |
<commit_before>/**
* StimulusDisplay.cpp
*
* History:
* Dave Cox on ??/??/?? - Created.
* Paul Jankunas on 05/23/05 - Fixed spacing.
*
* Copyright 2005 MIT. All rights reserved.
*/
#include "OpenGLContextManager.h"
#include "Stimulus.h"
#include "StimulusNode.h"
#include "Utilities.h"
#include "StandardVaria... |
<commit_before>/*
* This file is part of Poedit (https://poedit.net)
*
* Copyright (C) 2014-2022 Vaclav Slavik
*
* 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 restrictio... |
<commit_before>/*=============================================================================
Library: XNAT/Core
Copyright (c) University College London,
Centre for Medical Image Computing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with... |
<commit_before>#include <iostream>
#include <fstream>
#include <vector>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/foreach.hpp>
#include <boost/preprocessor... |
<commit_before>/*
* Copyright (c) 2007-2010 Digital Bazaar, Inc. All rights reserved.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "monarch/io/FileInputStream.h"
#include "monarch/io/FileFunctions.h"
#include "monarch/rt/DynamicObject.h"
#include <cstring>
#include <cstdlib>
using namespace std;
us... |
<commit_before>/*******************************************************************************
Taichi - Physically based Computer Graphics Library
Copyright (c) 2017 Yuanming Hu <yuanmhu@gmail.com>
All rights reserved. Use of this source code is governed by
the MIT license as written in the LICENSE f... |
<commit_before>/*
* Copyright 2007-2017 Content Management AG
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source... |
<commit_before>/*
Copyright (c) 2017, Vadim Malyshev, lboss75@gmail.com
All rights reserved
*/
#include "stdafx.h"
#include "vds_cmd_app.h"
#include "http_router.h"
#include "user_manager.h"
#include "tcp_network_socket.h"
#include "http_request.h"
#include "http_serializer.h"
#include "http_client.h"
#include "http_r... |
<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/platform_file.h"
#include <fcntl.h>
#include <errno.h>
#include "base/logging.h"
#include "base/string_util.h"
n... |
<commit_before>// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: exception.C,v 1.36 2004/09/01 12:38:12 amoll Exp $
//
#include <BALL/COMMON/exception.h>
#include <BALL/COMMON/logStream.h>
#include <BALL/DATATYPE/string.h>
#include <iostream>
#include <typeinfo>
#include <exception>
#include <stdio.h>
#... |
<commit_before>/*
* Copyright 2007-2022 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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... |
<commit_before>/*
* Copyright 2011-2016 Blender 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 required by appli... |
<commit_before>//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
// ==++==
//
//
//
//
// ==--==
#include "stdafx.h"
#include "mscoree.h"
#include "clrinternal.h"
#include "hostimpl.h"
#include "predeftlss... |
<commit_before>#include "mapped_file.h"
#include <exception/os.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>
namespace sasm { namespace utils {
mapped_file::~mapped_file()
{
if (_is_mapped)
unmap();
}
void mapped_file::map()
{
int fd;
struct stat buf;
char* begin;
if ((fd = ope... |
<commit_before>#include "vast/configuration.h"
#include "vast/file_system.h"
#include "vast/logger.h"
#include "vast/string.h"
#include "vast/type_info.h"
#include "vast/detail/type_manager.h"
namespace vast {
std::string configuration::banner() const
{
std::stringstream ss;
ss << " _ _____ __________\n"
... |
<commit_before>#include <atma/xtm/bind.hpp>
#include <memory>
#include <functional>
namespace detail
{
uint const fn_size = 32;
uint const fn_bufsize = fn_size - sizeof(void*) - sizeof(void*);
using functor_buf_t = char[fn_bufsize];
template <typename T>
struct is_inplace_allowed_t
{
static... |
<commit_before>#include "fenceview.h"
// OSG
#include <osg/ShapeDrawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Vec4>
#include <osg/PositionAttitudeTransform>
#include <osg/ref_ptr>
// troen
#include "../constants.h"
#include "shaders.h"
#include "../model/fencemodel.h"
#include "../controller/fencec... |
<commit_before>#include "interfaz.h"
void Interfaz::vBienvenida()
{
cout << "!Bienvenido al Sistema de Matricula!";
Sleep(2500);
system("cls");
}
char Interfaz::vMenuPrincipal()
{
char ans;
cout << "**************MENU PRINCIPAL**************" << endl;
cout << "(1)--Informacion acerca de la Universidad" << endl... |
<commit_before>#include <x0/buffer.hpp>
#include <x0/source.hpp>
#include <x0/fd_source.hpp>
#include <x0/file_source.hpp>
#include <x0/buffer_source.hpp>
#include <x0/filter_source.hpp>
#include <x0/composite_source.hpp>
#include <x0/sink.hpp>
#include <x0/fd_sink.hpp>
#include <x0/file_sink.hpp>
#include <x0/buffer... |
<commit_before>/*
* Covariant Script Parser
*
* Licensed under the Covariant Innovation General Public License,
* Version 1.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://covariant.cn/licenses/LICENSE-1.0
*
* Unless required by... |
<commit_before>#pragma once
#include <hydra/ext/api.hpp>
#include <hydra/world/world.hpp>
#include <hydra/renderer/renderer.hpp>
#include <glm/glm.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/transform2.hpp>
#include <glm/gtx/quaternion.hpp>
#include <hydra/component/transformcomponent.hpp>
#include <S... |
<commit_before>/** Copyright (C) 2016, 2017 European Spallation Source ERIC */
#include <algorithm>
#include <arpa/inet.h>
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <tools/ReaderPcap.h>
#include <netinet/ip.h>
#include <netinet/udp.h>
#include <fmt/format.h>
// GCOVR_EXCL_START
// Protocol ... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
utils/validation.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2008 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... |
<commit_before>#include "Capture.h"
#include "Compute.h"
#include "ImageLogger.h"
#include "Timer.h"
#include "Motor.h"
#include "Radio.h"
#include "Navio/Util.h"
#include <iostream>
#include <limits.h>
#include <signal.h>
#include <stdlib.h>
#include <time.h>
static volatile bool quit = false;
static void Quit(in... |
<commit_before>
#include "numerics/cbrt.hpp"
#include <pmmintrin.h>
#include <cstdint>
#include <limits>
namespace principia {
namespace numerics {
constexpr std::uint64_t C = 0x2A9F7893782DA1CE;
static const __m128d sign_bit =
_mm_castsi128_pd(_mm_cvtsi64_si128(0x8000'0000'0000'0000));
static const __m128d si... |
<commit_before>#include <QCoreApplication>
#include <QDirIterator>
#include <QTimer>
#include <QtMath>
#include "afisynclogger.h"
#include "fileutils.h"
#include "global.h"
#include "installer.h"
#include "mod.h"
#include "modadapter.h"
#include "repository.h"
#include "settingsmodel.h"
const unsigned Mod... |
<commit_before>#include "InputSystem.h"
InputSystem::InputSystem(void)
: EntitySystem( SystemType::InputSystem, 1, ComponentType::Input )
{
}
InputSystem::~InputSystem(void)
{
}
void InputSystem::initialize()
{
XInputFetcher* xif = new XInputFetcher();
MessageLoopFetcher* milf = new MessageLoopFet... |
<commit_before>/*
This file is part of the kolab resource - the implementation of the
Kolab storage format. See www.kolab.org for documentation on this.
Copyright (c) 2004 Bo Thorsen <bo@sonofthor.dk>
This library is free software; you can redistribute it and/or
modify it under the terms of the GN... |
<commit_before>#include "pch.h"
#include "AssemblyUILayer.h"
#include "GameManager.h"
#include "StageManager.h"
#include "DataManager.h"
#include "ResourceManager.h"
#include "InputManager.h"
#include "AssemblyLineLayer.h"
#include "EquipmentStatusLayer.h"
#include "AssemblyDisplayLayer.h"
#include "SkillLineLayer.h"
#... |
<commit_before>#pragma once
#include <vector>
#include "Runtime/RetroTypes.hpp"
#include "Runtime/GuiSys/CGuiTextSupport.hpp"
namespace urde {
class CDrawStringOptions {
friend class CColorOverrideInstruction;
friend class CFontRenderState;
friend class CRasterFont;
friend class CTextExecuteBuffer;
friend ... |
<commit_before>#include <windows.h>
#include <winsock.h>
#include <string>
using std::string;
#include <iostream>
using std::cout; using std::endl; using std::cin;
namespace rsa
{
const int WSVERS = MAKEWORD(2, 0);
auto make_remote_address(char* arr[]) -> sockaddr_in
{
struct sockaddr_in address;
... |
<commit_before>/***************************************************************************
begin : Wed Jun 16 2004
copyright : (C) 2004 by Richard Dale
email : Richard_Dale@tipitina.demon.co.uk
***********************************************************************... |
<commit_before>/**************************************************************************\
**
** tStorm.cpp: Functions for class tStorm.
**
** A tStorm object generates random storms assuming an exponential
** distribution of rainfall intensity, storm duration, and time to the
** next storm. It is essentially an i... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkAnimationScene.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. ... |
<commit_before><commit_msg>don't write milliseconds when they are zero<commit_after><|endoftext|> |
<commit_before>// Copyright 2011 Gregory Szorc
//
// 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>void main()
{
}
<commit_msg>added hello world printf<commit_after>#include <stdio.h>
void main ()
{
printf("hello world");
}
<|endoftext|> |
<commit_before><commit_msg>More coding...<commit_after><|endoftext|> |
<commit_before><commit_msg>Include paths, error checking, diagagnostics pretty printing etc<commit_after><|endoftext|> |
<commit_before><commit_msg>Implement constant propagation for offsets<commit_after><|endoftext|> |
<commit_before><commit_msg>xwayland: fix handling of output changes<commit_after><|endoftext|> |
<commit_before><commit_msg>Don't traverse surfaces more than once<commit_after><|endoftext|> |
<commit_before><commit_msg>wallet tx<commit_after><|endoftext|> |
<commit_before><commit_msg>Do not pause before exit<commit_after><|endoftext|> |
<commit_before>// //////////////////////////////////////////////////////////////////////
// Import section
// //////////////////////////////////////////////////////////////////////
// STL
#include <cassert>
#include <sstream>
// Boost.Serialization
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text... |
<commit_before>//---------------------------- multithread_info.cc ----------------
// $Id$
// Version: $Name$
//
// Copyright (C) 1998, 1999, 2000, 2001, 2002 by the deal authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// ... |
<commit_before>/*
This file is part of KXForms.
Copyright (c) 2005,2006 Cornelius Schumacher <schumacher@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief Aql, query context
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version... |
<commit_before>#ifndef ARBITER_IS_AMALGAMATION
#include <arbiter/util/time.hpp>
#endif
#include <ctime>
#include <iomanip>
#include <iostream>
#include <mutex>
#include <sstream>
#ifndef ARBITER_IS_AMALGAMATION
#include <arbiter/util/types.hpp>
#endif
#ifdef ARBITER_CUSTOM_NAMESPACE
namespace ARBITER_CUSTOM_NAMESPAC... |
<commit_before>/*
* Copyright (C) 2007, 2008, 2010, 2011 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.