text
stringlengths
54
60.6k
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 7/5/2020, 5:33:34 PM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdin...
<commit_before> template<class INFERENCE> class VisitorInterface{ void begin(){ } bool visit(){ } void end(){ } void logg };<commit_msg>implemented new visitors<commit_after>#include <iostream> template<class INFERENCE> class EmptyVisitor{ public: EmptyVisitor(){ } void begin(INFERENCE & inf){ }...
<commit_before><commit_msg>1. enable verticle mode for Japanese punctuation; 2. also can copy access plugin dylib for debug(libaccessplugin_debug.dylib)<commit_after><|endoftext|>
<commit_before><commit_msg>initializeControlModel needs parent to be set<commit_after><|endoftext|>
<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 <Producer/RenderSurface> #include <osg/Timer> #include <osgUtil/SceneView> #include <osgDB/ReadFile> in...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 5/18/2020, 3:01:31 PM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <cmath> #include <complex> #include <cstdint> #include <cstdi...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 7/7/2019, 9:44:50 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stack>...
<commit_before>#define DEBUG 1 /** * File : F.cpp * Author : Kazune Takahashi * Created : 6/2/2020, 3:56:49 PM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <cmath> #include <complex> #include <cstdint> #include <cstdio...
<commit_before><commit_msg>Aligh this correctly...<commit_after><|endoftext|>
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>#define DEBUG 1 /** * File : D.cpp * Author : Kazune Takahashi * Created : 2020/7/2 1:44:14 * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdint> #...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2009 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesse...
<commit_before>// (C) 2014 Arek Olek #pragma once #include <utility> template <class Iterator> class iterator_pair { public: iterator_pair(std::pair<Iterator, Iterator> p_) : p(p_) { } Iterator begin() { return p.first; } Iterator end() { return p.second; } private: std::pair<Iterator, Iterator> p; }; templ...
<commit_before><commit_msg>simplify SwClient::First() with Next()<commit_after><|endoftext|>
<commit_before>#ifndef _SUPERVISEDMSTEP_HPP #define _SUPERVISEDMSTEP_HPP #include "UnsupervisedMStep.hpp" template <typename Scalar> class SupervisedMStep : public UnsupervisedMStep<Scalar> { typedef Matrix<Scalar, Dynamic, Dynamic> MatrixX; typedef Matrix<Scalar, Dynamic, 1> VectorX; public: ...
<commit_before>// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "Lic...
<commit_before><commit_msg>sw: clean up odd formatting<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: dflyobj.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: aw $ $Date: 2000-11-25 19:00:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#ifndef APOLLO_FUNCTION_HPP_INCLUDED #define APOLLO_FUNCTION_HPP_INCLUDED APOLLO_FUNCTION_HPP_INCLUDED #include <apollo/lapi.hpp> #include <apollo/make_function.hpp> #include <apollo/reference.hpp> #include <apollo/stack_balance.hpp> namespace apollo { namespace detail { std::type_info const& functio...
<commit_before>#ifndef AUTOCHECK_VALUE_HPP #define AUTOCHECK_VALUE_HPP #include <cassert> namespace autocheck { template <typename T> class value { private: enum { None, Static, Heap } allocation = None; union { T* pointer = nullptr; T object; ...
<commit_before>/* * This file is part of the CN24 semantic segmentation software, * copyright (C) 2015 Clemens-Alexander Brust (ikosa dot de at gmail dot com). * * For licensing information, see the LICENSE file included with this project. */ #include <string> #include <sstream> #include <regex> #include "Convol...
<commit_before>/* ******************************************************* Parallel PLUQ quad recurisve with OpenMP ******************************************************* g++ -D__FFLASFFPACK_HAVE_CBLAS -Wall -g -fopenmp -O3 -march=native -mavx -I/home/sultan/soft/fflas-ffpack/ -I/usr/local/soft/givaro-3.7.1...
<commit_before><commit_msg>added pause state on lost focus<commit_after><|endoftext|>
<commit_before>//===-- sanitizer_thread_registry_test.cc ---------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//============================================================================== // Compiler scanner class //============================================================================== #include "compilerscanner.h" //==============================================================================...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Qt Software Information (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Com...
<commit_before><commit_msg>drop annoying empty (slide) entry in inset->envelope->format<commit_after><|endoftext|>
<commit_before>/* Copyright (C) 2018, BogDan Vatra <bogdan@kde.org> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any...
<commit_before>#pragma once #include "kl/detail/macros.hpp" /* * Requirements: boost 1.57+, C++14 compiler and preprocessor * Sample usage: namespace ns { enum class enum_ { A, B, C }; KL_REFLECT_ENUM(enum_, A, (B, bb), C) } * First argument is unqualified enum type name * The rest is a list of enum values...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2008 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>/****************************************************************************** * $Id$ * * Project: libLAS - http://liblas.org - A BSD library for LAS format data. * Purpose: LAS Dimension implementation for C++ libLAS * Author: Howard Butler, hobu.inc@gmail.com * *****************************...
<commit_before>/* Copyright (c) 2003, 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>grt: clang-format<commit_after><|endoftext|>
<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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wrtundo.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2005-09-09 11:41:47 $ * * The Contents of this file are made a...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (c) 2019, OpenROAD // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions...
<commit_before>#include <iostream> #include <fstream> #include <OpenNI.h> #include "onimeshfunctions.h" namespace onimesh { const int FRAME_DATA_MOD = 100; /// <summary> /// Creates a name for an output file /// </summary> std::string getOutputFileName(const char* outputDirectory, const char* inputFile, const ch...
<commit_before>#include <iostream> #include <set> #include <queue> #include <ontology/node.h> #include <ontology/ontology.h> #include <ontology/modinterface.h> using namespace std; int main() { Ontology oComplete("interface.ont"); ModInterface currentInterface; ModInterface testInterface; int ReqID = oCo...
<commit_before>/************************************************************************* * * $RCSfile: resourceprovider.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: tra $ $Date: 2001-08-10 12:28:56 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before> #ifndef __MALLOC_ALLOC_HPP__ #define __MALLOC_ALLOC_HPP__ #include <stdlib.h> struct malloc_alloc_t { // Standard constructor malloc_alloc_t() {} // We really don't need to take size here, but some super // allocators expect a constructor like this explicit malloc_alloc_t(size...
<commit_before>#include <node.h> #include "include/cef_base.h" #include "include/cef_browser.h" #include "include/cef_frame.h" #include "includes/cef_handler.h" #include "includes/cef_sync_handler.h" #include "appjs_window.h" using namespace v8; using namespace appjs; ClientHandler::ClientHandler() : m_MainHwnd(NUL...
<commit_before>/* RTcmix - Copyright (C) 2004 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ #include <stdlib.h> #include <string.h> #include <rtcmix_types.h> #include <PField.h> #include <ugens....
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 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>// This file is part of the dune-stuff project: // https://github.com/wwu-numerik/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) #ifndef DUNE_STUFF_FUNCTIONS_VISUALIZATION_HH #define DUNE_STUFF_FUNCTIONS_VISUAL...
<commit_before>#include <sys/time.h> #include "thread_private.h" #include "parameters.h" #include "exception.h" #define NUM_PAGES (4096 * config.get_nthreads()) bool align_req = false; int align_size = PAGE_SIZE; extern struct timeval global_start; void check_read_content(char *buf, int size, off_t off) { // I as...
<commit_before>/* Copyright (C) 2008 Torsten Rahn <rahn@kde.org> This file is part of the KDE project 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 version 2 o...
<commit_before>/***************************************************************************** YASK: Yet Another Stencil Kernel Copyright (c) 2014-2018, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), t...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bmpsum.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: vg $ $Date: 2007-04-11 18:24:14 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * $RCSfile: xmlxtimp.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hjs $ $Date: 2001-09-12 13:05:54 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: barcfg.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 08:59:45 $ * * The Contents of this file are made av...
<commit_before>#include <ruby.h> #include "leveldb/db.h" #include "leveldb/slice.h" static VALUE m_leveldb; static VALUE c_db; static VALUE c_error; // support 1.9 and 1.8 #ifndef RSTRING_PTR #define RSTRING_PTR(v) RSTRING(v)->ptr #endif // convert status errors into exceptions #define RAISE_ON_ERROR(status) do { \...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: colmgr.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2007-09-27 11:55:24 $ * * The Contents of this file are made av...
<commit_before>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>/************************************************************************* * * $RCSfile: initui.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: hr $ $Date: 2004-05-10 16:28:54 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wolesh.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-09 10:18:23 $ * * The Contents of this file are made av...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "EC_VolumeTrigger.h" #include "EC_RigidBody.h" #include "EC_Placeable.h" #include "Entity.h" #include "PhysicsModule.h" #include "PhysicsWorld.h" #include "PhysicsUtils.h" #include <OgreAxi...
<commit_before>#include "stdafx.h" #include "movement_system.h" #include "entity_system/world.h" #include "../messages/intent_message.h" #include "../messages/animate_message.h" #include "../components/gun_component.h" /* leave the air drag to simulate top speeds in a sidescroller */ using namespace messages; void...
<commit_before>//===- lib/Driver/WinLinkDriver.cpp ---------------------------------------===// // // The LLVM Linker // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------...
<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 "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>/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2018-2020 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
<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 2010 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-plat...
<commit_before>//===--- MemoryBuffer.cpp - Memory Buffer implementation ------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===-- TargetMachine.cpp - General Target Information ---------------------==// // // This file describes the general parts of a Target machine. // This file also implements MachineInstrInfo and MachineCacheInfo. // //===----------------------------------------------------------------------===// #inclu...
<commit_before>#ifndef WIN_IMPL_BASE_HPP #define WIN_IMPL_BASE_HPP #include "stdafx.h" #define USE(FEATURE) (defined USE_##FEATURE && USE_##FEATURE) #define ENABLE(FEATURE) (defined ENABLE_##FEATURE && ENABLE_##FEATURE) #define USE_ZIP_SKIN 0 #define USE_EMBEDED_RESOURCE 0 namespace DuiLib { enum ...
<commit_before>#define XBYAK_NO_OP_NAMES #include "xbyak/xbyak.h" #include <stdio.h> #include <stdlib.h> #include <stack> #include <fstream> #ifdef _MSC_VER #pragma warning(disable : 4996) // scanf #define snprintf _snprintf_s #endif class Brainfuck : public Xbyak::CodeGenerator { private: enum Direction { B, F }; ...
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon // We are making my contributions/submissions to this project solely in our // personal capacity and are not conveying any rights to any intellectual // property of any third parties. #include <hspp/Cards/Cards.h> #include <better-enums/e...
<commit_before>/************************************************************************** * Copyright(c) 2004, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Con...
<commit_before>#ifndef EBITEN_GRAPHICS_AFFINE_MATRIX_HPP #define EBITEN_GRAPHICS_AFFINE_MATRIX_HPP #include <array> #include <cassert> #include <mutex> namespace ebiten { namespace graphics { /* * | e00, e01, ..., e0D | * | e10, e11, ..., e1D | * | : , : , , : | * | eD0, eD1, ..., eDD | */ template<class...
<commit_before>/** * @file streamingaudio_fmodex.cpp * @brief LLStreamingAudio_FMODEX implementation * * $LicenseInfo:firstyear=2002&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it u...
<commit_before>#include <gtest/gtest.h> void example() { std::list<Item> items = new std::list<Item>(); items.push_back(new Item("+5 Dexterity Vest", 10, 20)); items.push_back(new Item("Aged Brie", 2, 0)); items.push_back(new Item("Elixir of the Mongoose", 5, 7)); items.push_back(new Item("Sulfuras...
<commit_before>// Copyright (c) 2011 - 2017, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright notice and this permission notice appear in all copies. // THE SOFTWARE IS PRO...
<commit_before>#include "sqlite_wrapper.hpp" #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/trim.hpp> #include <fstream> #include <memory> #include <string> #include <vector> #include "constant_mappings.hpp" #include "utils/load_table.hpp" namespace opossum { SQLiteWrapper::SQLiteWrap...
<commit_before>/* * irods_server_properties.cpp * * Created on: Jan 15, 2014 * Author: adt */ #include "irods_server_properties.hpp" #include "irods_get_full_path_for_config_file.hpp" #include "rods.hpp" #include "irods_log.hpp" #include "readServerConfig.hpp" #include "initServer.hpp" #include <string> ...
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Module: FGFilter.cpp Author: Jon S. Berndt Date started: 11/2000 ------------- Copyright (C) 2000 ------------- This program is free software; you can redistribute it and/or modify it under the terms of ...
<commit_before>// // Copyright (c) 2014 The ANGLE 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. // // InterleavedAttributeData: // Performance test for draws using interleaved attribute data in vertex buffers. // #include...
<commit_before>// // ofxWater.cpp // // Created by Patricio Gonzalez Vivo on 9/26/11. // Copyright 2011 http://www.patriciogonzalezvivo.com/ All rights reserved. // #include "ofxWater.h" ofxWater::ofxWater(){ passes = 1; internalFormat = GL_RGB; density = 1.0; velocity = 1.0; fragmentShad...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "script.h" #include "tinyformat.h" #include "utilstrenco...
<commit_before>#pragma once //=====================================================================// /*! @file @brief 線形代数的数学ユーティリティー(ヘッダー) @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/glfw_app/blob/ma...
<commit_before>// // Copyright (C) Zbigniew Zagorski <z.zagorski@gmail.com>, // licensed to the public under the terms of the GNU GPL (>= 2) // see the file COPYING for details // I.e., do what you like, but keep copyright and there's NO WARRANTY. // #include <ostream> #include <iostream> #include <iomanip> ...
<commit_before>/** * \file * \brief OperationCountingType class header * * \author Copyright (C) 2014 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 the MPL was not * dist...
<commit_before>#include "engine/Engine.hpp" #include <SDL2/SDL.h> using namespace std; using namespace glm; Engine::Engine(int argc, char** argv) : _wnd(nullptr) { for(int i = 0; i < argc; ++i) _args.push_back(string{argv[i]}); } Engine::~Engine() { } int Engine::run(Application* app) { _running = true; _exit...
<commit_before>#include "SFMLSystem.hpp" #include <SFML/Graphics/Sprite.hpp> #include <SFML/Window/Event.hpp> #include "kengine.hpp" #include "imgui-sfml/imgui-SFML.h" #include "data/AdjustableComponent.hpp" #include "data/ImGuiScaleComponent.hpp" #include "functions/Execute.hpp" #include "functions/OnEntityRemove...
<commit_before>/* Copyright 2015 Samsung Electronics Co., 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 * * Unless required b...
<commit_before>/*------------------------------------------------------------------------- * * FILE * robusttransaction.cxx * * DESCRIPTION * implementation of the pqxx::robusttransaction class. * pqxx::robusttransaction is a slower but safer transaction class * * Copyright (c) 2002-2005, Jeroen T. ...
<commit_before>/******************************************************************************* Copyright (c) The Taichi Authors (2016- ). All Rights Reserved. The use of this software is governed by the LICENSE file. *******************************************************************************/ #include <ta...
<commit_before>#pragma once #include <algorithm> #include <utility> #include <vector> #include "Runtime/IOStreams.hpp" #include "Runtime/Character/CPASAnimState.hpp" namespace urde { class CRandom16; class CPASAnimParmData; class CPASDatabase { std::vector<CPASAnimState> x0_states; s32 x10_defaultState; void ...
<commit_before>#include <jaco_interaction/jaco_interactive_manipulation.h> using namespace std; JacoInteractiveManipulation::JacoInteractiveManipulation() : acGripper("jaco_arm/manipulation/gripper", true), acLift("jaco_arm/manipulation/lift", true), acHome( "jaco_arm/home_arm", true) { joints.resize(6)...
<commit_before>#include "App.h" #include "../examples/helpers/AsyncFileReader.h" #include "../examples/helpers/AsyncFileStreamer.h" int main(int argc, char **argv) { // do websockets here uWS::App().get("/hello", [](auto *res, auto *req) { res->end("Hello HTTP!"); }).ws("/*", [](auto *ws, auto *...
<commit_before> // hack, see http://stackoverflow.com/questions/12523122/what-is-glibcxx-use-nanosleep-all-about #define _GLIBCXX_USE_NANOSLEEP 1 #include <chrono> #include <thread> #include <linux/i2c-dev.h> //#include <linux/i2c.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h>...
<commit_before>/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkDataPixelRef.h" #include "SkData.h" SkDataPixelRef::SkDataPixelRef(SkData* data) : fData(data) { fData->ref(); this->setPreLocked(const_cas...
<commit_before>/* * Copyright 2011, 2012 Esrille 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 applic...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 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 "primitives/block.h" #include "hash.h" #include "tinyform...
<commit_before>/* * Copyright 1999-2004 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>/** * Clever programming language * Copyright (c) Clever Team * * This file is distributed under the MIT license. See LICENSE for details. */ #include "types/type.h" #include "core/value.h" #include "core/cexception.h" #include "modules/std/core/function.h" #include <algorithm> namespace clever {...
<commit_before>/*===================================================================== QGroundControl Open Source Ground Control Station (c) 2009, 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> This file is part of the QGROUNDCONTROL project QGROUNDCONTROL is free software: you can redistribute...
<commit_before>#ifndef DICE_IOPERATION_H #define DICE_IOPERATION_H #include "../stdafx.hpp" #include "DiceRoll/Operations/RollResult.h" //Base for a Decorator Pattern class IOperation { protected: // DELETE THIS std::vector<int> _elements; int _count; //END OF DELETE /** * \brief Suboperation...
<commit_before>// coding: utf-8 /* Copyright (c) 2014, Roboterclub Aachen e. V. * All Rights Reserved. * * The file is part of the xpcc library and is released under the 3-clause BSD * license. See the file `LICENSE` for the full license governing this code. */ // --------------------------------------------------...
<commit_before>#include <babylon/meshes/builders/cylinder_builder.h> #include <babylon/meshes/builders/mesh_builder_options.h> #include <babylon/meshes/mesh.h> #include <babylon/meshes/vertex_data.h> namespace BABYLON { MeshPtr CylinderBuilder::CreateCylinder(const std::string& name, CylinderOptions& options, ...