text
stringlengths
8.71k
38.4k
#include "planner.hh" #include "primitive.hh" // for debugging XXX #include <cassert> ModelBasedStatePolicy::~ModelBasedStatePolicy() {} PlannerRef Planner::create(const MDPRef &mdp, const StatePredicateRef &terminal, const StateFunctionRef &goal, double gamma, double epsilon) { PlannerRef ...
#include <mpi.h> #include <stdio.h> #include <vector> #include <algorithm> #include <mpi.h> #include <utility> #include <map> #include <cfloat> #include "ompUtils.h" #include "repartition.h" #include "clustering.h" #include "direct_knn.h" #include "mpitree.h" #include "lsh.h" #include "verbose.h" using namespace std;...
/* MIT License Copyright (c) 2019 <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 to use, cop...
/*************************************************************************** * Copyright 2018 <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/lice...
// // $Id: Bot.cpp,v 1.54 2005/12/14 19:23:53 clamatius Exp $ // Copyright (c) 2003, WhichBot project // 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 ...
// Enrichment #ifndef PYNE_IS_AMALGAMATED #include "enrichment.h" #endif namespace pyne_enr = pyne::enrichment; pyne_enr::Cascade pyne_enr::_fill_default_uranium_cascade() { // Default cascade for uranium-based enrichment Cascade duc; duc.alpha = 1.05; duc.Mstar = 236.5; duc.j = 922350000; duc.k = 92238...
#include "se_vulkan_render_subsystem_base.hpp" #include "se_vulkan_render_subsystem_texture.hpp" #include "se_vulkan_render_subsystem_device.hpp" #include "se_vulkan_render_subsystem_command_buffer.hpp" #include "se_vulkan_render_subsystem_utils.hpp" #include "engine/allocator_bindings.hpp" constexpr size_t MAX_STBI_...
/* * Copyright (c) 2010 WiYun Inc. * Author: luma(<EMAIL>) * * For all entities this program is free software; you can redistribute * it and/or modify it under the terms of the 'WiEngine' license with * the additional provision that 'WiEngine' must be credited in a manner * that can be be observed by end ...
// STATEMACHINE.CPP // State machine and implementation of main program logic of command line Goals app // Written in separate file to facilitate testing // Creation date: 25/Sept/2018 // Copyright 2018 <NAME> // // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensourc...
#include "utils.h" Utilitarios::Utilitarios(){ } /*void Utilitarios::getSizeAndSpacingFromImage(std::string imageFileName){ }*/ void Utilitarios::round2Decimals(float &number){ number = ceil(number*100)/100; } void Utilitarios::convertEulerToVersor(float &rx, float &ry, float &rz, double &ax, double &ay, doub...
#include "belt.h" #include "behaviors/all.h" #include "editor.h" #include "library.h" static const TouchToken beltTouchToken; static constexpr float elemGap = 20; // // Constructor, destructor // Belt::Belt(Editor &editor_) : editor(editor_) { static const char vert[] = R"( vec4 position(mat4 transform...
#include <vector> #include <fstream> #include <sstream> #include <iostream> #include <algorithm> #include <iomanip> #include <functional> #include <memory> #include <random> #include <unordered_map> #include <chrono> #include <thread> #include "covec/covec.hpp" using namespace covec; typedef float Real; inline bool ...
// HOWL Seq2Midi // Converts HOWL SequencePacks to MIDI! // by Xanvier / xan1242 #include "stdafx.h" #include <stdlib.h> #include <string.h> #define MIDI_HEADER 0x6468544D // "MThd" in little endian #define MIDI_TRACK_HEADER 0x6B72544D // "MTrk" in little endian struct MainDataBlock { short int TotalFi...
int B, Z7AP ,JvUG4 , vkn,DvK ,/*hP*/T, n5 ,//LIcM vKxG,wrgA , Q, ya73P,E8Q ,Zxk6 ,E6 , XSr ,//1IIPi n ,/*lt*/GP,hjUoDcPz,CCT , mv54, WA// ,Gdj6e, T0CQ7/*F2O*/ , zo8,// JU ,K4S/*1*/,ybT /*nmTu*/, Le//MBio ,/*oPg*/ C8, k6 //y , DWS , UH , L2I2,tjDrn , eGhHA ,uc ,DX,XM ,tc , Ko; void f_f0(){ { int x4 ...
#include <iostream> #include <vector> #include <stdexcept> #include <sstream> #include "model.hpp" #include "AzimuthalHump.hpp" #include "CartesianGrid.hpp" #include "DebugUtils.hpp" #include "WhiteDust.hpp" #include "FlaredDisk.hpp" #include "FractalCloud.hpp" #include "KurosawaWind.hpp" #include "MathUtils.hpp" #incl...
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: job.cc 3830 2012-03-05 19:54:45Z sriramr $ // // Created 2011/01/04 // // Copyright 2011 Yahoo Corporation. All rights reserved. // This file is part of the Sailfish project. // // Licensed under the Apache License, Version 2.0 // (...
#include "KinectSkeletonMapper.h" #include "..\helpers\FBX_helpers.h" // Constant definitions const char * KinectSkeletonMapper::c_SkelRootIdPatternPreffix = "Skel%d:"; const char *KinectSkeletonMapper::c_jointTypePropertyDefaultName = "JointType"; const std::shared_ptr<HierarchyNodeDefinition> KinectSkeletonMap...
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <string.h> #include <stdbool.h> #include <math.h> #include <time.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #include "../../src/autonomy/autonomy.hpp" #include "mutils.hpp" #include "program.hpp" #include "cell_model.hpp" #include "grid_program...
#include <sstream> #include <iostream> #include <polyvec/io/vtk_curve_writer.hpp> #include <polyvec/misc.hpp> #include <polyvec/geom.hpp> #include <polyvec/geometry/sdf_computer.hpp> #include <polyvec/geometry/winding_number.hpp> #include <dev/canvas.hpp> using namespace polyvec; namespace { const std::string ...
/** * @file PoissonMLS.cpp * @brief Poisson Moving Least Square Deformer plugin for Maya * @section LICENSE The MIT License * @section requirements: Eigen 3: http://eigen.tuxfamily.org/ * @section Autodesk Maya: http://www.autodesk.com/products/autodesk-maya/overview * @section (included) AffineLib: https...
/* * Software License Agreement (BSD License) * * Copyright (c) 2017, <NAME>, <EMAIL> * * 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 mus...
/******************************************************************************* * Copyright (c) 1991, 2016 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
#include "RetroEngine.hpp" ushort *strPressStart = NULL; ushort *strTouchToStart = NULL; ushort *strStartGame = NULL; ushort *strTimeAttack = NULL; ushort *strAchievements = NULL; ushort *strLeaderboards = NULL; ushort *strHelpAndOptions = NULL; ushort *strSoundTest = NULL; usho...
#include <Arduino.h> #include <Wire.h> #include "global.h" // Setup RFID CHIP #include <deprecated.h> #include <MFRC522.h> #include <MFRC522Extended.h> #include <require_cpp11.h> /** * Verlauf * 29.8.16 Status LED als Konstante, NFC Gain im Main code * * * * ------------------------------...
// Top-level driver for auto behaviors. #include <ros/ros.h> #include <behavior_actions/AutoMode.h> //msg file #include <behavior_actions/AutoState.h> //msg file #include <std_srvs/Empty.h> #include <frc_msgs/MatchSpecificData.h> #include "base_trajectory_msgs/GenerateSpline.h" #include "base_trajectory_msgs/PathOffse...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) Electronic Arts Inc. All rights reserved. /////////////////////////////////////////////////////////////////////////////// #include <eathread/internal/config.h> #include <eathread/eathread_pool.h> #include <eathread/e...
//===- DataFlowAnalysis.cpp -----------------------------------------------===// // // 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 // //===---------------------------...
/** BSD 3-Clause License This file is part of the Basalt project. https://gitlab.com/VladyslavUsenko/basalt.git Copyright (c) 2019, <NAME> and <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *...
//emacs settings:-*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil -*- /* * * author: <NAME>, 2010 */ #include "SimCalorimetry/EcalSelectiveReadoutProducers/interface/EcalSRCondTools.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/i...
#include "loop_closing.h" #include <opengv/absolute_pose/CentralAbsoluteAdapter.hpp> #include <opengv/absolute_pose/methods.hpp> #include <opengv/sac/Ransac.hpp> #include <opengv/sac_problems/absolute_pose/AbsolutePoseSacProblem.hpp> #include <opengv/triangulation/methods.hpp> #include "local_parameterization_se3.hpp" ...
/* * File: beta_plus_seq.cpp * Author: <NAME> * * Created on 05 May 2014 */ // labeling conventions: // V \in [0, 1, ..., n-1] // E \in [1, ..., n-1] // n < maxn // We skip caterpillars, but silently assume, // that all restrictions work for the most natural alpha-labeling of theirs // Current se...
// Tencent is pleased to support the open source community by making RapidJSON available. // // Copyright (C) 2015 THL A29 Limited, a Tencent company, and <NAME>. All rights reserved. // // Licensed under the MIT License (the "License"); you may not use this file except // in compliance with the License. You may obtai...
int v3,//wcH cfiH , FO , dQ,YLs, Xd , o,sTx ,pt8 , /*X9*/ FlLgw,//09 oD68 ,Vv,Re/**/, tS,ZZ,gBq ,/*Gw*/E , NW,MoQ ,MPr, //7 fuKum , /*O*/rbk,pV,XsEo,afN67V , L9 ,af , qfO ,RH2V, eySj ,KUN ,N , r,DcbuV,XWL ,u ,//LI oJ , c38 , /*U2*/ aRD , H0 , DHQ ,ZayE , G1,/**/ g , bV,f0rG, D8 ,/*ps*/sqdoP/*n6*/,JS...
/****************************************************************************** *** Keyhole Note: *** *** This file is derived from a GDAL utility file of a similar name. We've *** modified (will modify) it to make it look and feel more like our own. ************************************************************...
/* Copyright (C) 2010-2013 <NAME>. 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 conditions and the fo...
// license:BSD-3-Clause // copyright-holders:<NAME> /* The MLC graphics hardware is quite complicated - the usual method of having 'object ram' that controls sprites is expanded into object ram that controls sprite blocks that may be stored in RAM or ROM. Each tile in a block may be specified explicitly vi...
// Summarize packet capture data from iperf tests // <NAME> - 2016-03-26 // License: BSD Three Clause - To match libpcap and Flags.hh // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of...
#include <cassert> #include <list> #include <map> #include <set> #include <cmath> #include "bcpp_api/bc.hpp" #include "Debug.h" #include "DecisionMaker.h" #include "PathFinding.h" #include "Util.hpp" using namespace bc; using std::vector; using std::make_pair; using std::map; using std::list; using std::endl; using...
//===-- PPCRegisterInfo.cpp - PowerPC Register Information ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/////////////////////////////////////////// // MANTRA /////////////////////////////////////////// #include "manserver.client.h" /////////////////////////////////////////// // C_GSC::C_GSC(void){ init(); pLog=new CLog("C_GSC.log"); bMadeLog=true; } /////////////////////////////////////////// C_GSC::C_GSC(CLog *p...
/* FILE: eulerevolve.cc -*-Mode: c++-*- * * Concrete evolver class, using simple forward Euler steps * */ #include <float.h> #include "nb.h" #include "director.h" #include "timedriver.h" #include "simstate.h" #include "eulerevolve.h" #include "key.h" #include "energy.h" // Needed to make MSVC++ 5...
// Copyright (c) 2019 EPI-ONE Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chain.h" #include "block_store.h" #include "functors.h" #include "mempool.h" #include "subscription.h" #include "tasm.h" //...
//--- // File: ossimNitfRsmpcaTag.cpp //--- #include <ossim/support_data/ossimNitfRsmpcaTag.h> #include <ossim/support_data/ossimNitfCommon.h> #include <ossim/base/ossimNotifyContext.h> #include <ossim/base/ossimTrace.h> #include <ossim/base/ossimStringProperty.h> #include <iostream> #include <iomanip> using namespace...
#include "loadmgef.hpp" #include <stdexcept> #include <sstream> #include <boost/lexical_cast.hpp> #include "esmreader.hpp" #include "esmwriter.hpp" #include "defs.hpp" namespace { static const char *sIds[ESM::MagicEffect::Length] = { "WaterBreathing", "SwiftSwim", "WaterWalking", ...
/** * MFRC522.h - Library to use ARDUINO RFID MODULE KIT 13.56 MHZ WITH TAGS SPI W AND R BY COOQROBOT. * Based on code Dr.Leong ( WWW.B2CQSHOP.COM ) * Created by <NAME> (circuitito.com), Jan, 2012. * Rewritten by Søren Thing Andersen (access.thing.dk), fall of 2013 (Translation to English, refactored, comment...
/* Copyright (C) 2011 by <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, distribute,...
// // Created by <NAME> on 04/07/2017. // #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/imgcodecs.hpp> #include <iostream> #include <fstream> #include <math.h> #include <opencv/cv.hpp> #include "geomTools.h" #include "parameters.h" //A4 paper sheet parameters in mm #define ...
// matrix.cpp: implementation of the matrix class. // ////////////////////////////////////////////////////////////////////// #include "mathclass.h" #include "matrix4.h" #include "math_macro.h" #include <iostream> #ifdef _MSC_VER #include <Windows.h> #endif #include <OpenGL/gl.h> /////////////////////////...
//===- llvm-pdbdump.cpp - Dump debug info from a PDB file -------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/** \file hhh.cpp \author <EMAIL> \copyright HHH protocol Copyright (C) 2019 Cryptography and Privacy Engineering Group, TU Darmstadt 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 Found...
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2018 Fraunhofer ESK * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is...
#include "CNTKLibrary.h" #include <functional> #include "Common.h" #include <numeric> using namespace CNTK; static unsigned long seed = 1; template <typename ElementType> std::pair<FunctionPtr, FunctionPtr> LSTMPCellWithSelfStabilization(Variable input, Variable prevOutput, Variable prevCellState, const DeviceDescri...
/* buslatches_q.cpp: PRU GPIO multiplier latches on QBone PCB. Copyright (c) 2020, <NAME> <EMAIL>, www.retrocmp.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, inclu...
/* Copyright (c) <2003-2019> <Newton Game Dynamics> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * includi...
#include <apc_msgs/DoSegmentation.h> #include <apc_msgs/FillUnfillBinsCollisionModel.h> #include <camera_info_manager/camera_info_manager.h> #include <cv_bridge/cv_bridge.h> #include <eigen_conversions/eigen_msg.h> #include <geometry_msgs/TransformStamped.h> #include <image_transport/image_transport.h> #include <pcl/co...
#include "VL1Lcd.h" #ifndef __VL1_H #include "VL1.hpp" #endif #include <stdio.h> //----------------------------------------------------------------------------- // resource id's enum { // bitmaps kBackgroundId = 150, // Controls kProgSelId = 151, kProgSelX = 712, kProgSelY = 26, kProgSel...
#include <algorithm> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <memory> #include <string> #include <vector> #include <TH1F.h> #include "CommonTools/UtilAlgos/interface/TFileService.h" #include "DataFormats/HcalDetId/interface/HcalDetId.h" #include "FWCore/Framework/interface/Ev...
/*------------------------------------------------------------------------- * * visibilitymap.c * bitmap for tracking visibility of heap tuples * * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION...
#include "JsonLoader.hpp" #include <fstream> #include <iostream> #include <sstream> #include <string> #include "DataStructures/Model/Overload.hpp" #include "ECS/Component/Basic.hpp" #include "ECS/Component/Board.hpp" #include "ECS/Component/Model.hpp" #include "ECS/ECS.hpp" #include "ECS/Entity.hpp" #include "Engine/...
/* * FrameProcessorApp.cpp * * Created on: 25 May 2016 * Author: gnx91527 */ #include <signal.h> #include <string> #include <cstring> #include <iostream> #include <fstream> using namespace std; #include <log4cxx/logger.h> #include <log4cxx/basicconfigurator.h> #include <log4cxx/propertyconfigurator.h> #inc...
#include "animation.h" #include "tesselation.h" #include "tetgen.h" #include <tuple> #include <unordered_set> #include <unordered_map> #include "ThreadPool.h" // compute the frame from an animation frame3f animate_compute_frame(FrameAnimation* animation, int time) { // grab keyframe interval auto interval = 0;...
#include "_heapprof/file_format.h" #include <algorithm> #include <map> #include <utility> #include <vector> #include "_heapprof/scoped_object.h" #include "_heapprof/util.h" //////////////////////////////////////////////////////////////////////////////// // .hpm files // Write out the initial metadata. The wire format...
/* * File: Brox_2004.cpp * * Author: <NAME> * * Date: 18.09.2016 */ #include "optic_flow.h" //#include "boundary.h" #include <math.h> /* modf */ #include "CMatrix.h" #include "CFilter.h" // Csmooth and Cderivative #include "CTensor.h" #include "load_sequence.h" #include "flowToImage.h" #include "string" /...
/************************************************************** * * 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 y...
/* Copyright (C) 2005-2011, <NAME> <<EMAIL>> Copyright (C) 2009-2011, <NAME> <<EMAIL>> 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...
//===- SPIRVSerializationGen.cpp - SPIR-V serialization utility generator -===// // // Copyright 2019 The MLIR Authors. // // 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....
// ********************************************************************** // @@@ START COPYRIGHT @@@ // // 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....
#include <algorithm> #include <cerrno> #include <csignal> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iostream> #include <iterator> #include <limits> #include <map> #include <math.h> #include <pthread.h> #include <sstream> #include <string> #include <sys/ptrace.h> #include <sys/...
#include <ros/ros.h> #include <std_srvs/Empty.h> #include <ros/package.h> #include <std_msgs/String.h> #include <hospitalbot/RobotState.h> #include <hospitalbot/Communication.h> #include <hospitalbot/Battery.h> #include <move_base_msgs/MoveBaseAction.h> #include <tf/transform_datatypes.h> #include <actionlib/client/sim...
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/> * * Copyright (C) 2011 - 2012...
// Copyright (c) 2012-2013 The PPCoin developers // Copyright (c) 2017-2019 The Blocknet developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <hash.h> #include <kernel.h> #include <script/interpreter.h> #inclu...
/* history.cpp История (Alt-F8, Alt-F11, Alt-F12) */ /* Copyright © 1996 <NAME> Copyright © 2000 Far Group 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 ...
// // Created by bedela on 18/05/2020. // #include "initialization/GraphCreator.h" #include "graphics/DirectionField.h" #include "LBFGS/cvt.hpp" #include "LBFGS.h" #include "tools/Random.h" #include <iostream> // get voronoi cell's center from its points glm::vec2 Graph::getCellCenter(const std::vector<int> &cell, c...
/************************************************************************** * CrGammaSecondaryDownward.cc ************************************************************************** * Read comments at the head of CosmicRayGeneratorAction.cc * and GLAST-LAT Technical Note (LAT-TD-250.1) by <NAME> et al. * for overa...
/* * Software License Agreement (BSD License) * * Copyright (c) 2012-, Open Perception, 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...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(250); for (int i=0; i<2; i++){ gcode[i].setup(); gcode[i].show_do_not_reverse = true; } gcode[0].demo_col = ofColor::darkGreen; gcode[1].demo_col = ofColor::dar...
//===------- ELF_riscv.cpp -JIT linker implementation for ELF/riscv -------===// // // 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 // //===---------------------------...
// Copyright (C) 2013-2016 DNAnexus, Inc. // // This file is part of dx-toolkit (DNAnexus platform client libraries). // // 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 // // htt...
#include <string> #include <iostream> #include <sstream> #include <Windows.h> #include <wincon.h> #include "Matrix.h" #include "Algorithm.h" //Color Codes const int COLOR_REDUCTION = BACKGROUND_RED | BACKGROUND_BLUE | BACKGROUND_INTENSITY; const int COLOR_PIVOT = BACKGROUND_GREEN | BACKGROUND_INTENSITY; const int COL...
/* * This file started out as a SparkFun driver. See header file for * my change list. * ---<NAME> */ /* This is a library written for the VEML6075 UVA/UVB/UV index Sensopr SparkFun sells these at its website: www.sparkfun.com Do you like this library?...
/* pfp - prefix free parsing sa data structure test Copyright (C) 2020 <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, either version 3 of the License, or (at your option) ...
/*------------------------------------------------------------------------------- BARONY File: main.cpp Desc: contains various miscellaneous functions Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved. See LICENSE for details. ------------------------------------------------------------------------...
//Original Work: Copyright 2006 Sony Computer Entertainment Inc. //Modified Work: Copyright (C) 2022 <NAME> //This file is licensed and distributed under MIT license #include "stdafx.h" #include "Animation.h" CBool CAnimSrc::Parse(const CChar * data) { // parse data const CChar * d = data; // allocate for the k...
#include <Recovering.h> // #include <pybind11/embed.h> // #include <pybind11/stl.h> // namespace py = pybind11; Recovering::Recovering(LegController<float>* legController, StateEstimatorContainer<float>* stateEstimator){ _legController = legController; _stateEstimator = stateEstimator; } Recovering::Recoveri...
#include "pctrackcontainer.h" #include <Eigen/Eigenvalues> #include <Eigen/Geometry> PCTrackContainer::PCTrackContainer(int _maxFrame) :TrackContainer<PCObject>::TrackContainer(_maxFrame) { oldCnt = 0; isUpdated = 1; } PCTrackContainer::PCTrackContainer() :TrackContainer<PCObject>::TrackContainer(1000...
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 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, includi...
/* * * Copyright (c) 2018 <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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed...
#include "lexer.hpp" #include "util/ranges.hpp" #include "util/token_info.hpp" #include <iostream> /* A single keyword. * Key - string * Value - int (TokenType). */ struct Keyword { const char* key; int value; }; /* A map of keywords. * Matches a string to a keyword type. */ constexpr static const Keyword keyword...
#include "bithash.h" #include "Read.h" #include "edit.h" #include <fstream> #include <iostream> #include <sstream> #include <vector> #include <string> #include <string.h> #include <cstring> #include <getopt.h> #include <omp.h> #include <cstdlib> #include <iomanip> #include <sys/stat.h> #include <gzstream.h> //////////...
/* Copyright (c) 2011-2013 <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 to use, copy, modify, merge, publish,...
// Copyright (c) 1994 - 1999 Microsoft Corporation. All Rights Reserved. // Implements the CVideoWindow class, <NAME>, January 1995 #include <streams.h> #include <windowsx.h> #include <render.h> #include <limits.h> #include <measure.h> #include <mmsystem.h> #include <dvdmedia.h> // VIDEOINFO2 // When we...
/*! * @file kmemcard.cpp * Memory card interface. Very messy code. Most of it is commented out now, as we've switched away * from memory cards to just raw saves. */ #include <cstdio> #include <cstring> #include <array> #include "third-party/fmt/core.h" #include "game/sce/sif_ee.h" #include "game/sce/sif_ee_memca...
/* * 4dface: Real-time 3D face tracking and reconstruction from 2D video. * * File: apps/4dface.cpp * * Copyright 2015, 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 *...
/**************************************************************************\ * * Copyright (c) 1999 Microsoft Corporation * * Module Name: * * colorpal.cpp * * Abstract: * * Color palette related functions * * Revision History: * * 05/17/1999 davidx * Created it. * \**********************...
/* * liftover.cpp * * Classes and routines for translating (lifting over) coordinates * between two aligned sequences * * Authors: <NAME>, <NAME>, <NAME> * Dept. of Computer Science, Johns Hopkins University * * Distributed under the MIT license * https://github.com/milkschen/leviosam2 */ #include <ctime> #i...
int rs4 , wUu , oiH , Cz /*E*/ , p ,VQ,/**/CVV8p/*i*/,eSof, IVXXU ,geVY, J ,TLv ,vlX , uJP ,/*Fz*/ zI , Cuu79a ,q, F5Q, k7 , xGD,pM , SoRv5 ,v,//FQ GS , A3 , A3wxV, Fm, //pc f /**/ ,gp,VOB , xkG, aah, j3 ,IFoM, uDy ,orI/*IjHu*/,lP , zKy, Yg , ow ,//6l h0q , //4vB Fgx,zIFh, tWU , gkHI , WR...
#include "WirelessTeleInfo.h" //Please, have a look at Main.h for information and configuration of Arduino project //------------------------------------------ // Execute code to upload Infos void WebTeleInfo::publishTick(bool publishAll = true) { //if Home Automation upload not enabled then return if (_ha.protoc...
#include <cstdio> #include <cassert> #include <cstdlib> #include "DataFlowMapper.h" #include "Utils.h" #include "default_mapper.h" #include "test_mapper.h" #include "Controller.h" using namespace LegionRuntime::HighLevel; using namespace LegionRuntime::Accessor; using namespace LegionRuntime::Arrays; bool debug = fa...
/* * Barcode * Copyright <NAME> and <NAME> * * Distributed under the terms of the MIT License. * The full license is in the file LICENSE, distributed with this software. */ #include "struct_main.h" #include "struct_hamil.h" #include <cmath> #include <iomanip> #include <algorithm> // std::max_element #include <...
#include "DebugViewer.hpp" #include "graphics/GPU.hpp" #include "graphics/GPUObjects.hpp" #include "graphics/Framebuffer.hpp" #include "resources/Texture.hpp" #include "resources/Mesh.hpp" #include "graphics/ScreenQuad.hpp" #include "resources/ResourcesManager.hpp" #include "system/System.hpp" #include "system/TextUtil...