text
stringlengths
5.71k
33.7k
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> //#include <unordered_set> #include "fastmath.h" #include "Vec2.h" #include "geom2D.h" #include "HashMap2D.h" #include "Body2D.h" #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw2D.h" #include "AppSDL2OGL...
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Collect and print statistics // // Code available from: http://www.veripool.org/verilator // //************************************************************************* //...
/* * Copyright (c) 2022 <NAME><<EMAIL>> * * Use of this source code is governed by an MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT. */ #include "planet.hh" #include "star.hh" #include "galaxy.hh" #include "protoset.hh" #include "util/dotnet35random.hh" #i...
#include <hk_physics/physics.h> #include <hk_physics/simunit/psi_info.h> #include <hk_math/interval.h> #include <hk_physics/constraint/limited_ball_socket/limited_ball_socket_constraint.h> #include <hk_physics/constraint/limited_ball_socket/limited_ball_socket_bp.h> #include <hk_physics/core/vm_query_builder/vm_...
/* * Copyright (c) 2003-2004,2011-2014 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file exc...
/* * Copyright 2013 <NAME> * Copyright 2014 Canonical Ltd. * Authors: * <NAME> * <NAME> * * 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; version 3. * * This program is dist...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #include "../audio_pch.h" #include "voice_mixer_controls.h" // memdbgon must be the last include file in a .cpp file!!! ...
// Copyright (c) 2007-2010 Projet RNRT SAPHIR // Copyright (c) 2019 PM-Tech // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crypto/cubehash512.h> #include <stddef.h> #include <string.h> #include <limits.h> static co...
/////////////////////////////////////////////////////////////////////////////////////// // Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP // // // // src/gui/MyMainFrame.C // // MyMainFrame.C -- source file for class MyMainFrame // // ...
#include <apemode/platform/sdl2/InputManagerSdl.h> #include <SDL.h> #include <memory.h> #include <cassert> #include <algorithm> using namespace apemode::platform; using namespace apemode::platform::sdl2; namespace { void BuildSdlKeyMapping( uint32_t* pOutKeyMapping ); void LogTouches( uint32_t stateIndex, bool const...
// This file contains the routines #include "functions.h" // overload out ostream &operator<<(ostream &os, VECTOR3D vec) { os << vec.x << setw(15) << vec.y << setw(15) << vec.z; return os; } // make bins void make_bins(vector<DATABIN> &bin, INTERFACE &box, double bin_width) { int number_of_bins = int(box...
/* * ============================================================================ * * Filename: ReadTree.cpp * * Description: Main exectutable for lineshape analysis of OTPC data * * Version: Who knows...3? * Created: 13/01/2022 16:57:45 * Revision: none * Compiler: Ro...
//============================================================================ // Name : s-LLGS.cpp // Author : <NAME> // Version : 0.0 // Copyright : Universidade Federal de Minas Gerais - NanoComp // Description : Solving s-LLGS in C++, Ansi-style // References : 2016 - Ament et al. - Solving the s...
/* -------------------------------------------------------------------------- * * SimTK Core: SimTK Simbody(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK Core biosimulation toolkit originating from * ...
#include "Sorting.hpp" /**************************************************************************** * * INSERTIONSORT PROCEDURES * ****************************************************************************/ void Sorting::insertionSort( std::vector<int> & vec ) { // std::cout << "Callin...
// There are 2 ways sound can be handled here. // // If "hyperSound" (aka "Sound Fix") is enabled, each piece of sound is // synchronized with ds hardware. This allows for very accurate emulation of // sound effects like Pikachu. // // If "hyperSound" is not enabled, sound is not synchronized to the cycle, it is // ...
#include "matrix_assembler.h" // Constructor pipenetwork::MatrixAssembler::MatrixAssembler(bool pdd_mode) { pdd_ = pdd_mode; jac_ = std::make_shared<Eigen::SparseMatrix<double>>(); variable_vec_ = std::make_shared<Eigen::VectorXd>(); residual_vec_ = std::make_shared<Eigen::VectorXd>(); }; // Obtain global nod...
// // This file is part of T-Rex, a Complex Event Processing Middleware. // See http://home.dei.polimi.it/margara // // Authors: <NAME>, <NAME> // // This program 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 F...
// ---------------------------------------------------------------------------- // // // SubWorld -- SubMarine Game // // Copyright (c) 2020, F.Lainard // Original author: F.Lainard // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files ...
#include "GameUI.h" #include "PreferencesWindow.h" #include "MetricsDisplay.h" #include "io/MetricsManager.h" #include <Logging.h> #include <cmrc/cmrc.hpp> #include <imgui.h> #include <backends/imgui_impl_sdl.h> #include <backends/imgui_impl_opengl3.h> #include <algorithm> #include <cstring> #include <mutils/time...
// A simple linux app that captures images from a psinc camera and // provides raw data to a v4l2 loopback video device. // Requires // A build of v4l2loopback from https://github.com/umlaeute/v4l2loopback since the one // in 18.04 repos is old and broken or simply install the deb package from 20.04. // then do the fol...
#include "DetectorStop.hxx" #include "Utils.hxx" #include "BargerPropagator.h" #include <iomanip> #include <iostream> #include <limits> #include <sstream> #include <string> #include <utility> #include <vector> std::vector<DetectorStop> detStops; std::string runPlanCfg, runPlanName = "", FluxesFile; std::vector<std::...
#include "Window.h" #include "glm\glm.hpp" #include "glm\gtc\matrix_transform.hpp" #include "ResourcesLoader.h" #include "Shader.h" #include "Camera.h" #include "Cube.h" #include "Utils.h" #include "TextRenderer.h" #include "Model.h" #include "imgui\imgui.h" #include "imgui\imgui_impl_glfw.h" #include "imgui\imgui_i...
/** * Path Planning class code * Implementation of behavior planning and trajectory generation * for the tour of an autonomous vechile in a high speed highway * * Created on: March 15, 2019 * Author: <NAME> */ #include "path_planning.h" #include <vector> #include <iostream> #include "json.hpp" #...
// Copyright (c) 2017-2021 Intel Corporation // // 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, modify, merge,...
/************************************************************************************* Copyright 2017, <NAME>, Department of Computer Science, University of Bari 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...
/* Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration */ #include "TFile.h" #include "TCanvas.h" #include "TChain.h" #include "TPaveText.h" #include <docopt/docopt.h> #include "FastCaloSimAnalyzer/TFCSShapeValidation.h" #include "FastCaloSimAnalyzer/TFCSValidationEnergyAndHits.h" #include "TFCSS...
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F4 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 000068 */ zen::EffectMgr2D::~EffectMgr2D() {...
/* ISC License Copyright (c) 2016, Autonomous Vehicle Systems Lab, University of Colorado at Boulder 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. ...
#include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <opencv2/features2d.hpp> #include "opencv2/core/opengl.hpp" #include <vector> #include <map> #include <iostream> #include <iomanip> #include <limits> #include <stdint.h> #ifdef HAVE_OPENGL #ifdef _WIN32 #define WIN32_LEA...
//===-- REPL.cpp ------------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* * libjingle * Copyright 2011, Google Inc. * * 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 of conditions and the f...
// // vxlan.cc // vnsw/agent // #include <cmn/agent_cmn.h> #include <base/task_annotations.h> #include <oper/vrf.h> #include <oper/vn.h> #include <oper/nexthop.h> #include <oper/vxlan.h> #include <oper/mirror_table.h> #include <oper/agent_sandesh.h> using namespace std; VxLanId::~VxLanId() { if (vxlan_id_ ==...
#include "AI.h" using namespace std; void AI::initAI(vector<Territory> *all, player *me) { allTerrs = all; ai = me; } vector<int> AI::moveAI(vector<int> *farmsToBuild, vector<int> *banksToBuild) { farmArray = farmsToBuild; bankArray = banksToBuild; fillArrays(); handleDefence(); handleAttack(); addBuildings...
/** * MaNGOS is a full featured server for World of Warcraft, supporting * the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8 * * Copyright (C) 2005-2016 MaNGOS project <https://getmangos.eu> * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> * * This program is free software; you c...
/* * Copyright 2017 MapD Technologies, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2013 - 2021, Göteborg Bit Factory. // // 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 witho...
/* * Copyright 2016 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* The MIT License (MIT) Copyright (c) 2015 - 2016 Light Transport Entertainment, 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...
//Copyright notice: // The following software is derived from the RSA Data // Security, Inc. MD5 Message-Digest Algorithm. Accordingly, // the following copyright notice is reproduced, and applies to // such parts of this file which are copied from RSA's source code. // All other parts of the file are copyright 1998 A...
// SPDX-FileCopyrightText: 2014 <NAME> // // SPDX-License-Identifier: MIT /** \file call_main.cpp * * Defines the "vg call" subcommand, which calls variation from an augmented graph */ #include <omp.h> #include <unistd.h> #include <getopt.h> #include <list> #include <fstream> #include "subcommand.hpp" #include "...
#include "XMLLoader.hpp" /** BOUNDARY = 0x0001, FRIENDLY_SHIP = 0x0002, ENEMY_SHIP = 0x0004, FRIENDLY_AIRCRAFT = 0x0008, ENEMY_AIRCRAFT = 0x0010, */ XMLLoader::XMLLoader(b2World* world, TextureHolder* th) : p_world(world) , textureHolder(th) { ///BODY TYPES att...
// // Copyright 2014 <NAME>, 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 // or in the the file LICENSE-2.0.txt i...
// license:BSD-3-Clause // copyright-holders:<NAME>, <NAME> /************************************************************************* Equites, Splendor Blast driver functions to emulate the video hardware *************************************************************************/ #include "emu.h" #include "...
/** *@brief Implementation I3CascadeSimulation class * * copyright (C) 2007 * the icecube collaboration * * $Id: I3CascadeSimulation.cxx 150508 2016-10-04 14:44:25Z jvansanten $ * * @version $Revision: 150508 $ * @date $LastChangedDate: 2016-10-04 08:44:25 -0600 (Tue, 04 Oct 2016) $ * @author <NAME> <<EMAIL>...
/** * The MIT License (MIT) * Copyright (c) 2016 <NAME> <<EMAIL>> * * 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 t...
#include <gtest/gtest.h> #include "utils.hpp" #include <memory> using namespace bord2; template<size_t... is> constexpr std::array<size_t,sizeof...(is)> indexArray(std::index_sequence<is...>) { return {is...}; } TEST(TestTraits, ReversedIndices) { constexpr auto indarr = indexArray(std::make_index_sequence...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw3D.h" #include "SDL_utils.h" #include "Solids.h" #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" #include "raytrace.h" #include "Molecule.h" #incl...
#include "expression.hpp" #include "simplification.hpp" #include "exception.hpp" #include <cassert> #include <iostream> #include <string> #include <sstream> #include <iomanip> using std::cout; using std::endl; using std::string; namespace test{ namespace simplification{ unsigned int _assert_simpl...
#include<CodeGen.h> #include<RegAlloc.h> #include<queue> #include<stack> #include<algorithm> #include<sstream> #include<string> std::string CodeGen::global(std::string name){ return IR2asm::space + ".globl " + ".." + name + IR2asm::endl; } bool CodeGen::iszeroinit(Constant * init){ if(dyna...
#ifndef NOM3DC1 #define NOM3DC1 #endif #include "m3dc1_scorec.h" #include <iostream> #include <assert.h> #include "apf.h" #include "petscksp.h" #include "PCU.h" #include "m3dc1_mesh.h" // debugging purpose #include "apfMesh.h" // debugging purpose #include <apfMDS.h> using namespace std; static char help[] = "testing s...
/* * Copyright (C) 2002-2011 The DOSBox Team * * 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. * * This p...
// copyright (c) 2010 <NAME> // copyright (c) 2009-2014 the dzcoin core developers // distributed under the mit software license, see the accompanying // file copying or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "util.h" #include "utilstrencodings.h" #include <assert.h> ...
//===--- CGCXXExpr.cpp - Emit LLVM Code for C++ expressions ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/************************************************************************ * Derived from the BSD3-licensed * LAPACK routine (version 3.7.1) -- * Univ. of Tennessee, Univ. of California Berkeley, * Univ. of Colorado Denver and NAG Ltd.. * June 2017 * Copyright (c) 2019-2022 Advanced Micro Devices, Inc....
#include "stdafx.h" #include <math.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "MathParser.h" //#define MY_DEBUG 1 #ifndef M_E # define M_E 2.7182818284590452354 #endif #ifndef M_PI # define M_PI 3.14159265358979323846 #endif const double DblErR = -1.68736462823243E3...
#include "objects.h" #include "lara.h" #include "control.h" #include "people.h" #include "sphere.h" #include "effect2.h" #include "lot.h" #include <specific/fn_stubs.h> #define SEAL_BITE_DAMAGE 100 #define SEAL_SLASH_TOUCH (0x80) #define SEAL_KICK_TOUCH (0x4000) #define SEAL_DIE_ANIM 5 #define SEAL_WALK_TURN ...
/* * Souffle - A Datalog Compiler * Copyright (c) 2018, The Souffle Developers. All rights reserved. * Licensed under the Universal Permissive License v 1.0 as shown at: * - https://opensource.org/licenses/UPL * - <souffle root>/licenses/SOUFFLE-UPL.txt */ /*******************************************************...
#include <map> #include <vector> #include <fstream> #include <iostream> #include <string> #include <sstream> #include <algorithm> #include "COItemType.h" #include "COItem.h" #include "COItemAdd.h" //off-hand doesn't half //only halved agility, attack, and defense.. doesn't half magic-defense class COAttri...
///////////////////////////////////////////////////////////////////////////// // Purpose: entry point, global strings, library pragmas // Author: <NAME> // Copyright: Copyright (c) 2002-2021 KeyWorks Software (<NAME>) // License: Apache License see ../LICENSE /////////////////////////////////////////////////////...
// csafmt_indent.cpp -*-C++-*- #include <clang/AST/ASTContext.h> #include <clang/AST/Decl.h> #include <clang/AST/DeclBase.h> #include <clang/AST/DeclCXX.h> #include <clang/AST/DeclTemplate.h> #include <clang/AST/Expr.h> #include <clang/AST/ExprCXX.h> #include <clang/AST...
/********************************************************************** Audacity: A Digital Audio Editor Menus.cpp <NAME> <NAME> et al. *******************************************************************//** \file Menus.cpp \brief Functions for building toobar menus and enabling and disabling items *//*...
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistribu...
/* ************************************************************************ * Copyright 2020 Advanced Micro Devices, Inc. * ************************************************************************ */ #include "norm.hpp" #include "rocsolver_test.hpp" #include "rocsolver_arguments.hpp" #include "rocsolver.hpp" #includ...
struct ProcObject { U32 type; Vector3 position; union { struct { Vector3 scale; Quat rotation; }; struct { Vector3 color; Vector3 direction; F32 radius; F32 intensity; F32 coneDot; }; }; }; struct ProcObjectList { ProcObject* objects; U32 objectsCount; U32...
/* * 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 * License); you ma...
/** * Copyright (C) 2016, <NAME> <<EMAIL>> * * This program is free software: you can use, modify and/or * redistribute it under the terms of the simplified BSD * License. You should have received a copy of this license along * this program. If not, see * <http://www.opensource.org/licenses/bsd-license.html>. *...
/* @@@LICENSE * * Copyright (c) 2010-2013 LG Electronics, 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 appli...
/* Computes the distance matrix for a set of fingerprints */ #include <stdlib.h> #include <iomanip> #include "Foundational/accumulator/accumulator.h" #include "Foundational/cmdline/cmdline.h" #include "Foundational/data_source/iwstring_data_source.h" #include "Foundational/iw_tdt/iw_tdt.h" #include "Foundational/h...
// Copyright (C) 2000, International Business Machines // Corporation and others. All Rights Reserved. #include <cstdlib> #include <algorithm> #include "BCP_node_change.hpp" #include "BCP_warmstart.hpp" #include "BCP_branch.hpp" #include "BCP_enum_branch.hpp" #include "BCP_message.hpp" #include "BCP_vector.hpp" #incl...
/* --COPYRIGHT--,BSD * Copyright (c) 2014, Texas Instruments Incorporated * 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 ab...
/* * Copyright 2009-2011 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * 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 or agreed ...
//============================================================================================= // Szamitogepes grafika hazi feladat keret. Ervenyes 2012-tol. // A //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // sorokon beluli reszben celszeru garazdalkodni, mert a tobbit ugyis toroljuk. // A beadott progra...
#include "Optimizer.h" #include <PolygonalPath.h> #include <Grid.h> #include <vector> #include <map> #include <iostream> #include <sstream> #include <fstream> #include <iterator> #include <algorithm> #include <cassert> #include "ConstraintMatrix.h" using namespace std; #define xDEBUG #define xWRITE_OUT_TO_FILE Ve...
/* * Copyright (C) 2005-2013 Team XBMC * http://xbmc.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, or (at your option) * any later version. * * ...
/* Copyright 2016-2017 Robotics and Biology Lab, TU Berlin. 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 condit...
#include "Common.h" #include "QuadDynamics.h" #include "Math/Random.h" #include "Math/Quaternion.h" #include "matrix/math.hpp" #include "Utility/SimpleConfig.h" #include "Utility/StringUtils.h" #include "ControllerFactory.h" #include "QuadEstimatorEKF.h" #include "SimulatedGPS.h" #include "SimulatedIMU.h" #include "Si...
#include "tl2lautocloser.h" #include "tgl.h" #include "tenv.h" #include "tvectorimage.h" #include "tstroke.h" #include <QDebug> TEnv::DoubleVar VectorCloseValue("VectorCloseValue", 5); //============================================================================= #ifdef _WIN32 class MyTimer { bool m_enabled; ...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014-2019 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
#include <assert.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <unistd.h> #include <unwind.h> typedef const char* __loci_exception_name_t; typedef struct __loci_catch_type_t { uint32_t offset; __loci_exception_name_t name; } __loci_catch_type_t; type...
/* MIT License Copyright (c) 2018 <NAME> 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, modify, merge, publish, distri...
#include "PDACleaner.h" #include "NFA.h" #include "Sqs.h" #include "BMap.h" #include "StateVisitMap.h" /** * Removes all States from the StateSet and the final StateSet of PDA P * that do not occur in any PDATransition in P. */ static void remove_unused_states(PDA *P) { P->get_Q()->clear(); for (auto ...
#include <cstdlib> #include "midiCCModulator.hpp" #include "../common/MIDI.h" //for seeding rand() #include <time.h> //------------------------------------------------------------------------------------------------------- AudioEffect* createEffectInstance (audioMasterCallback audioMaster) { return new MidiCCMod...
#include <iostream> #include <unordered_map> #include <tempo/utils/utils.hpp> #include <tempo/utils/jsonvalue.hpp> #include <tempo/univariate/distances/dtw/lowerbound/envelopes.hpp> #include <tempo/univariate/distances/dtw/lowerbound/lb_keogh.hpp> #include <tempo/univariate/distances/dtw/lowerbound/lb_enhanced.hpp> #i...
#include "OpCodeTable.h" void ValidateOpCodeTable(OpCodeEntry opCodeTable[], size_t numEntries); OpCodeEntry** GetOpCodeTable() { using namespace OpCodeName; using namespace AddressMode; static OpCodeEntry opCodeTable[] = { { 0x69, ADC, 2, 2, 0, Immedt }, { 0x65, ADC, 2, 3, 0, ZeroPg }, { 0x75, ADC, 2, 4, ...
//===-- CodeGen/AsmPrinter/Win64Exception.cpp - Dwarf Exception Impl ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include <fstream> //#include <FreeImagePlus.h> #include <GL/glew.h> #include <glfw3.h> #include "common/MTLtexture.hpp" #include <algorithm> /* parse MTL file */ bool parseMTL(std::string mtlpath, std::vector<Material> & out_material){ const char* texturePath = mtlpath.c_str(); std::ifstream inFile; prin...
/* ecrypt-Moustique_cipher.c * version November 08 2005 * correction in init_ctx(): initialization of certain statebits to 0 * correction in iterate(): errors are indicated */ #include <stdio.h> #include <stdlib.h> #include "../ecrypt-portable.h" #include "../ecrypt-machine.h" #include "../ecrypt-config.h" #incl...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <ctype.h> #include <time.h> #include <sys/time.h> #include <errno.h> #include <sys/socket.h> #include <sys/stat.h> #include <netinet/tcp.h> #include <netdb.h> #include <arpa/inet.h> #include <sys/ioctl.h> #includ...
#include "global_defines.h" #include "tdf9_impl_defines.h" #include <stdbool.h> #include <assert.h> #include "tdf9_conv_stages.h" ////////////////////////////////////////////////////////////// // ACCUMULATION FUNCTIONS ////////////////////////////////////////////////////////////// // Accumulation stage 1 // // This...
// Copyright 2018 IBM. // This code is licensed under the Apache License, Version 2.0. You may // obtain a copy of this license in the LICENSE.txt file in the root // directory of this source tree or at // http://www.apache.org/licenses/LICENSE-2.0. // Any modifications or derivative works of this code must retain t...
/****************************************************************************** ** Copyright (C) 1994 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 3.1 ** ** Author: <NAME> ** ** Date: 96/05/02 ** ** Fil...
// Copyright (C) Intel Corp. 2017. All Rights Reserved. // 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, mod...
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author list) * See LICENSE for the license information * -----------...
//======================================================================= // Copyright <NAME> 2013-2016. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://www.opensource.org/licenses/MIT) //======================================================================= ...
/* * FILE: rdt_sim.cc * DESCRIPTION: The main simulation control module for reliable data transfer. * NOTE: You are not supposed to change this file. You can, however, add some * printouts to help you debugging. But remember to test it with the * original version before you turn in your programs. *...
/***************************************************************************** ** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT ** Distributed under the terms of the BSD license (see the LICENSE file) ** Copyright (c) 2007-2017, <NAME> ** All rights reserved. ** *************************************...
//todo changes /* The MIT License (MIT) Copyright (c) 2019 Calliope <EMAIL>. 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, c...
// // Algorithm_Clustered.cpp // RegionGrowing // // Created by <NAME> on 2015-07-20. // Copyright (c) 2015 EpicGames. All rights reserved. // #include "RegionGrowing.h" #include "Algorithm.h" #include "Algorithm/FreeSpace.h" #include "Algorithm/dbscan.hpp" #include "Eigen/Sparse" #include "Eigen/Geometry" #in...