text
stringlengths
8.71k
38.4k
#include "pch.h" #include "../Define.h" #include "QueryDefine.h" #include "MemoryUnit.h" #include "SendMemoryPool.h" #include "GameQueryServer.h" GameQueryServer::GameQueryServer(bool inNotUse) : wsa() , hIOCP() , socket() , mainServerAddr() , workerThreadCont() , pRecvMemoryUnit(new MemoryUnit(MEMORY_UNIT_TY...
/* * OCVvid2fulldome.cpp * * Warps "flat" video files to fit 180 degree fisheye "fulldome masters" using the OpenCV framework. * Appends 'F.avi' to the first filename and saves as default codec (XVID avi) in the same folder. * * first commit: * <NAME> * 10 May 2020 * * */ //#define _WIN64 //#define __u...
/******************************************************************************* * * MIT License * * Copyright (c) 2020-2022 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to dea...
// Invoked after symbol and type resolution, the checker ensures an AST is semantically correct. #include "headers/passes.h" #include "headers/ast.h" #include "headers/common.h" #include "headers/context.h" #include "headers/arena.h" #include "headers/type.h" #include <stdio.h> #include <assert.h> #include "headers/s...
// This file is subject to the terms and conditions defined in 'LICENSE' in the source code package #include "game/player/player.h" #include <map> #include "game/input/mouse_selection.h" #include "game/logistic/inventory.h" #include "game/world/world.h" #include "proto/recipe.h" #include "proto/resource_entity.h" #i...
// license:BSD-3-Clause // copyright-holders:<NAME> /* ======================================================================== */ /* =============================== COPYRIGHT ============================== */ /* ======================================================================== */ /* SPC700 CPU Emulator V0.90 ...
/******************************************************** Component that tries to find invisible orders inside the CBBO to cross against. - Uses optional alpha signal to estimate true unconditional mid. - ********************************************************/ #include "TakeInvisibleComponent.h" #include "HFU...
/* BSD 3-Clause License Copyright (c) 2021, <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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions ...
#include "triangle.h" #include <glm/gtc/matrix_transform.hpp> #include <GLFW/glfw3.h> #include <GLFW/glfw3native.h> #include <Renderer/IShaderReflection.h> #include <Renderer/IResourceLoader.h> #include <OS/Interfaces/ILog.h> #include <OS/Interfaces/IInput.h> //The-forge memory allocator extern bool MemAllocInit(cons...
/* * Atsc3_SRT_live_transmit.cpp * * Created on: Aug 11, 2020 * Author: jjustman */ /* * SRT - Secure, Reliable, Transport * Copyright (c) 2018 Haivision Systems Inc. * * 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 wit...
// truetype.cpp // // TrueType font drawing code // This module handles drawing text to the screen in any given TrueType font // It draws text to a 1280x64 bitmap, then scales it down and antialiases it into a texture // A list is maintained of all the text draw calls (with wrapping parameters, etc.) made in the last ...
#include <openvr.h> #include <csignal> #include <string> #include <thread> #include <chrono> #include <vector> #include <optional> #include <cerrno> #include <memory> #include <fmt/core.h> #include <fmt/ostream.h> #include <iostream> #include <fstream> #include <args.hxx> #include "pathtools_excerpt.h" #include "matri...
/* Copyright (c) 2020, VSB - Technical University of Ostrava and Graz University of Technology 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 copyr...
/*----------------------------------------------------------------------------- ST-Sound ( YM files player library ) YM Music Driver -----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------- * ST-So...
#include <btBulletDynamicsCommon.h> #include <array> #include <chrono> #include "PlanetPage.h" #include "../../util/math/Plane.h" const static btVector3 PLANET_CENTER(0.f, 0.f, 0.f); /* private constructor */ PlanetPage::PlanetPage(unsigned int pageId): mPageId(pageId) {} PlanetPage::PlanetPage(unsigned int page...
#include <iostream> #include <cmath> #include "geometry.hpp" /* Vertex data: - Vertex coordinates - Texture coordinates - Normals - Color Indices */ // noiseSet ----------------------------------------------------------------- noiseSet::noiseSet( unsigned int NumOctaves...
#include "gamewidget.h" #include "ui_gamewidget.h" #include <QFileInfo> #include <QPainter> #include <QBrush> #include <QRandomGenerator> #include <QMouseEvent> #include <QTime> #include<QPropertyAnimation> #include <algorithm> GameWidget::GameWidget(QWidget *parent) : QMainWindow(parent), ui(new Ui::GameWidge...
//===============================================================================// // Name : classifier.hpp // Author(s) : <NAME>, <NAME> // Affiliation : University of Genova, Italy - dept. DIBRIS // Version : 1.1 // Description : Human Motion Primitives classifier module (on-line / off-line) //=============...
extern void initPhysics(bool interactive); extern void stepPhysics(bool interactive); extern void cleanupPhysics(bool interactive); #include "PxPhysicsAPI.h" using namespace physx; #include "OpenGLWindow\ShapeData.h" #include "LinearMath/btVector3.h" extern physx::PxU32 getNbBounds(); extern const physx::PxBounds3* get...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/core/SkArenaAlloc.h" #include "src/core/SkBitmapController.h" #include "src/core/SkColorSpacePriv.h" #include "src/core/SkColorSpaceXformSteps.h" #include "src/c...
#include "MyDirectX.h" const string APPTITLE = "tank_game"; const int SCREENWIDTH = 640; const int SCREENHEIGHT = 480; const int cellwidth = 24; const int cellheight = 24; const int cellrows = SCREENHEIGHT / cellheight; const int cellcolumns = SCREENWIDTH / cellwidth; const int BULLET_NUMBERS = 100; const in...
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
/* For copyright information please refer to files in the COPYRIGHT directory */ #include <sys/stat.h> #include <time.h> #include "irods/private/re/configuration.hpp" #include "irods/private/re/utils.hpp" #include "irods/private/re/rules.hpp" #include "irods/private/re/index.hpp" #include "irods/private/re/cache.hpp" ...
/** @file impute.cpp @brief Haplotype imputation by cFDSL distribution @author <NAME> @date 04/01/2011 */ #include <gsl/gsl_rng.h> #include <sys/time.h> #include <algorithm> #include <iostream> #include <stdint.h> #include <unistd.h> #include <cstdlib> #include <cstring> #include <sstream> #include <tabix.h> #include <...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
/* +---------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | ...
// Copyright 2011 <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: // // 1. Redistributions of source code must retain the above copyright // notice, this list of conditions and...
/* GRAPHITE2 LICENSING Copyright 2010, SIL International All rights reserved. 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.1 of License, or (at yo...
// Copyright Microsoft and Project Verona Contributors. // SPDX-License-Identifier: MIT #include <array> #include <chrono> #include <functional> #include <mutex> #include <queue> #include <thread> #include <tuple> #include <unordered_map> #include <unordered_set> #include <vector> #ifdef __unix__ # include <dlfcn.h> ...
// // Created by behrejan on 1/29/21. // // Core ros functionality like ros::init and spin #include <ros/ros.h> // ROS Trajectory Action server definition #include <control_msgs/FollowJointTrajectoryAction.h> // Means by which we communicate with above action-server #include <actionlib/client/simple_action_client.h> ...
#include <Eigen/Dense> #include <vector> #include <array> #include <string> #include <ros/ros.h> #include <swerve_math/Swerve.h> #include <swerve_point_generator/profiler.h> #include <swerve_point_generator/FullGenCoefs.h> #include <swerve_point_generator/GenerateSwerveProfile.h> #include <talon_swerve_drive_controller...
/*++ Module Name: Geonome.cpp Abstract: Genome class for the SNAP sequencer Authors: <NAME>, August, 2011 Environment: User mode service. Revision History: Adapted from Matei Zaharia's Scala implementation. --*/ #include "stdafx.h" #include "Genome.h" #include "GenericFile.h" #include "G...
/******************************************************************************* * @name Roborace * @file main.cpp * * @author Uladzislau 'vladubase' Dubatouka * <<EMAIL>>. * https://github.com/vladubase/Roborace * @version v0.4 * @date 15-May-2022 **********************************************...
// Copyright 2016 <NAME> // // Code to emulate IR Kelvinator YALIF remote control unit, which should control // at least the following Kelvinator A/C units: // KSV26CRC, KSV26HRC, KSV35CRC, KSV35HRC, KSV53HRC, KSV62HRC, KSV70CRC, // KSV70HRC, KSV80HRC. // // Note: // * Unsupported: // - All Sleep modes. // - All ...
/* MIT License Copyright (c) 2020 joisino 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 "Instance.hpp" #include <iostream> #include "Common.hpp" #include "Math/Segment.hpp" #include "Math/algorithms.hpp" #include "Containers/Graph.hpp" #include "Managers/AssetsManager.hpp" #include "Utils/container_algorithm.hpp" #include "Order/OrderedPair.hpp" #include "Cardinals/Dir.hpp" #define SAVE(x...
#pragma once #include "rs-tl/binary.hpp" #include "rs-tl/types.hpp" #include <algorithm> #include <array> #include <cmath> #include <functional> #include <initializer_list> #include <limits> #include <ostream> #include <stdexcept> #include <string> #include <type_traits> #include <utility> namespace RS::TL { tem...
/* Copyright (c) 2014, Intel Corporation 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 following disclaime...
// Copyright (c) 2018-2019 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "blockrelay/graphene_set.h" #include "bloom.h" #include "hashwrapper.h" #include "iblt.h" #include "random.h" #...
/***************************************************************************\ Weather.cpp <NAME>" Torrielli 20Nov03 - And then there was light \***************************************************************************/ #include "CmpGlobl.h" #include "CampCell.h" #include "CampTerr.h" #include "Weather.h" ...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 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 * * http://w...
/** * Copyright 2018 <NAME> * @file LaneDetectionModule.cpp * @author rohith517) * @date 10/12/2018 * @version 1.0 * * @brief Lane Detection * * @Description DESCRIPTION * * Class member functions for LaneDetectionModule.cpp * */ #include "LaneDetectionModule.hpp" /** * @brief Default c...
#include <vector> #include <iomanip> #include "geometry.hpp" namespace geom { using namespace std; // 3x3 matrix inverse matrix3 inv(const matrix3 &A) { float detA = A.det(); float a11 = A(0,0), a12 = A(0,1), a13 = A(0,2); float a21 = A(1,0), a22 = A(1,1), a23 = A(1,2); float a31 = A(2,0), a32 ...
/* Copyright (c) 2018 PaddlePaddle Authors. 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 * * Unless required by ...
#include "LOCA.H" #include "LOCA_Epetra.H" //STRAT1 #include "NOX_Epetra_LinearSystem_Stratimikos.H" // Trilinos Objects #include "Epetra_MpiComm.h" #include "Epetra_Map.h" #include "Epetra_Vector.h" #include "Epetra_RowMatrix.h" #include "Epetra_CrsMatrix.h" #include "Epetra_Map.h" #include "Epetra_LinearProblem.h" /...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the HiGHS linear optimization suite */ /* */ /* Written an...
#include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/InputTag.h" #include...
// Copyright 2020 Makani Technologies LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
#include <algorithm> #include <chrono> #include <cmath> #include <cstdint> #include <iostream> #include <limits> #include <random> #include <stack> #include "matrix.h" #ifdef DEBUG #define LOG(x) std::cerr << x << std::endl #else #define LOG(x) #endif using namespace std; // Random number generator. random_...
// // Copyright (c) 2009-2010 <NAME> <EMAIL> // // 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, // including c...
/** * Copyright 2021 <NAME> <<EMAIL>> * * * 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 applica...
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS...
// Copyright (C) 2016 <NAME> // This file is part of the Ouzel engine. #include <string.h> #include <fcntl.h> #include <unistd.h> #include <glob.h> #include "InputRasp.h" #include "core/Engine.h" #include "core/Window.h" #include "utils/Log.h" #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) #define BITS_PER_LONG (8...
/** * MOAB, a Mesh-Oriented datABase, is a software component for creating, * storing and accessing finite element mesh data. * * Copyright 2004 Sandia Corporation. Under the terms of Contract * DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government * retains certain rights in this software. * * This...
int wP , Rs/*RflTF*/ , W, XYm ,wI0xm , I1Ee ,/*MN*/yGMq , Mt ,c78bJg ,dF, tPNu, N4r/*PLG5*/,QCZ/*S6*/, EvC3, ec, Z , UT,YuB , FwaR,iKdk ,DpS5U8, Hn , K ,Wm, oTIItdd , gmD,x , J8h ,/**/ Ar2 , RaBc , kO //053 , zC, CKU /*aB*/, L2V, Y ,PS0Il ,jD ;/*vr*/void f_f0 (){ {{ ;{ ; //a1 if (true){/*66vAC...
// Copyright (c) 2006-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. // // This file provides reliablity test which runs under UI test framework. The // test is intended to run within QEMU environment. // // Usage 1...
//////////////////////////////////////////////////////////////////////////// // // This file is part of SNC // // Copyright (c) 2014-2021, <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 // ...
// ********************************************************************** // // Copyright (c) 2001-2004 // StarMiddleware.net // www.StarMiddleware.net // // All Rights Reserved // // Author: <NAME> <EMAIL> // Author: <NAME> <EMAIL> // Author: <NAME> <EMAIL> // // *********************************************...
#include "DirectX/MeshGenerator/MeshGenerator.h" VOID MeshGenerator::CreateBox(float _width, float _height, float _depth, MeshData& _meshData) { Vertex36 v[24]; float w2 = 0.5f*_width; float h2 = 0.5f*_height; float d2 = 0.5f*_depth; // Fill in the front face vertex data. InitVertex36(v[0], -w2, -h2, -d2, 0.0f...
/** * Copyright 2017 <NAME> <<EMAIL>> * * 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 agree...
#include "glove.h" Glove::Glove(bool replay, bool record, std::string dest_dir, ros::NodeHandle pnh) : calibrated_(false), continue_(false), bad_trigger_(false), Pi(3.14159265), PalmWidth(pnh.param("PalmWidth", 0.09)), PalmLength(pnh.param("PalmLength", 0.09)), PalmHeight(pnh.pa...
/* 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 in the hope that it will be useful, but WITHOUT ...
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
#include "common.hpp" #include "filebuf.hpp" #include "btdfile.hpp" static void calculateNormal(float& normalX, float& normalY, float& normalZ, float dx, float dy, float dz1, float dz2) { // from terrmesh.cpp float tmp1 = 1.0f + (dz1 * dz1); float tmp2 = 1.0f + (dz2 * dz2); flo...
// cmd_Decompiler.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <iostream> // console output #include <D3Dcompiler.h> #include "DecompileHLSL.h" #include "version.h" #include "log.h" #define MIGOTO_DX 11 // Selects the DX11 disassembler in util.h - the DX9 dis/assembl...
/* * Coded by thegoodhen 2019, <EMAIL> * Released under GNU GPL 3, see file LICENCE for more info. * * Focal length estimation based on "Using Vanishing Points for Camera Calibration and Coarse 3D Reconstruction from a Single Image" by <NAME>, <NAME>, <NAME>, <NAME>. * Based around the AprilTags library by Univers...
/* Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain ...
/* * Copyright (C) 2004 <NAME> * * 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.1 of the License, or (at your option) any later version. * * As a special exc...
/* * cameraupdate.cpp * * Created on: 2017年2月17日 * Author: c */ #include "include/camera.h" FILE *infile=fopen("infile.yuv","r"); FILE *outfile=fopen("outfile.yuv","wa+"); void errno_exit(const char *s) { std::cout<<*s<<std::endl; } void open_camera(Camera* cam) { cam->fd=open(cam->device_name,O_RDWR); ...
// makegbm.cpp // 2000.08.19 by <NAME> // Plasma Works Game Boy Music Compiler #include "makegbm.h" #include <stdlib.h> #include <fstream.h> #include <strstream.h> #include <string.h> #define PERCUSSION_VOLUME 0x51 // ride rd 20 71 00 80 // snare sn 3f 71 17 80 // bass bs 00 71 90 80 // tom...
#include <PnC/TrajectoryManager/DCMTrajectoryManager.hpp> DCMTrajectoryManager::DCMTrajectoryManager(DCMPlanner* _dcm_planner, Task* _com_task, Task* _base_ori_task, RobotSystem* _robot, int...
// // bpp.cpp // PhyloAcc // // Created by hzr on 3/8/16. // Copyright © 2016 hzr. All rights reserved. // #include "bpp.hpp" #include <armadillo> #include <sys/types.h> #include <dirent.h> #include<queue> #include <cmath> #include <cassert> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include <gsl/gsl...
// SPDX-License-Identifier: Apache-2.0 // // Copyright 2000-2014 <NAME> // Copyright 2004-2013 Gigablast, Inc. // Copyright 2013 Web Research Properties, 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...
#include "Loader.h" #include "common/util/Timer.h" #include "common/util/FileUtil.h" #include "common/util/compress.h" namespace { std::string uppercase_string(const std::string& s) { std::string result; for (auto c : s) { result.push_back(toupper(c)); } return result; } } // namespace Loader::Loader() {...
/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2001, 2013 Oracle and/or its affiliates. All rights reserved. * * $Id$ */ /* * In this application, we specify all communication via the command line. In * a real application, we would expect that information about the other sites ...
/* * Copyright(c) 2019 Netflix, Inc. * SPDX - License - Identifier: BSD - 2 - Clause - Patent */ /****************************************************************************** * @file Convolve2dTest.cc * * @brief Unit test for interpolation in inter prediction: * - eb_av1_highbd_convolve_2d_copy_sr_avx2 * - e...
//===- CrashDebugger.cpp - Debug compilation crashes ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ // //=============================================================================// // // Health.cpp // // implementation of CHudHealth class // #include "cbase.h" #include "da_weapon_parse.h...
/* Author: <NAME>, <NAME> Date: 05-Aug-2014 =============================================================================== Copyright (c) 2011, School of Computing, National University of Singapore. All rights reserved. Project homepage: http://www.comp.nus.edu.sg/~tants/gdel3d.html If you use gDel3D ...
/* This file is part of the VRender library. Copyright (C) 2005 <NAME> (<EMAIL>) Version 1.0.0, released on June 27, 2005. http://artis.imag.fr/Members/Cyril.Soler/VRender VRender is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fr...
#include <cstdio> #include <getopt.h> #include <string> #include <chrono> #include <thread> #include <condition_variable> #include <mutex> #include <future> #include <random> extern "C" { #include <zlib.h> #ifndef AC_KSEQ_H #include "kseq.h" KSEQ_INIT(gzFile, gzread); #endif } #include "rowbowt.hpp" #include "rowbowt_i...
/* * v4l2_encoder.cpp - a h264 encoder basing on v4l2 wrapper interface * * Copyright (C) 2011-2014 Intel Corporation * Author: <NAME><<EMAIL>> * * 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 Fre...
#include "mainwindow.h" #include "ui_mainwindow.h" #include <QTextStream> #include <QFileDialog> #include <QMessageBox> #include <QList> static int matriz[22][30]= { {2,1,4,500,125,2,1,107,108,0,0,0,10,12,109,13,16,17,18,19,21,20,123,124,126,127,128,129,111,509}, {2,1,2,3,100,100,100,100,100,100,100,100,100,10...
// L1TGlobalUtil // // author: <NAME> <NAME> // #include "L1Trigger/L1TGlobal/interface/L1TGlobalUtil.h" #include <fstream> #include <iostream> #include <memory> #include "FWCore/Framework/interface/Event.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/Utilities/interface/EDGetToken.h" #i...
#include "AliAnalysisTaskNucleiYieldESD.h" // ROOT includes #include <TAxis.h> #include <TChain.h> #include <TH1F.h> #include <TH2F.h> #include <TH3F.h> #include <TList.h> #include <TMath.h> #include <TParticle.h> #include <TRandom3.h> // ALIROOT includes #include "AliAnalysisManager.h" #include "AliCentrality.h" #in...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
//example skeleton code //modified from http://learnopengl.com/ #include "stdafx.h" #include "..\glew\glew.h" // include GL Extension Wrangler #include "..\glfw\glfw3.h" // include GLFW helper library #include <stdio.h> #include <time.h> #include <iostream> #include <string> #include <fstream> #include "glm.hpp" #inc...
int G4sfN ,w91 //AdPU , Rla , g , pty, Bk /*h*/ , AK , KloDP ,H,s , YJ8p//Ooez , t2Ck, beg,OmX , a8ESV , i, X2 ,hpdr , p31m0, Ujx1W, Pn , prP , ePl ,N52 ,enb , yqVn // , WfF , N5bsv , //8 XTu ,vhO,/*X9*/r6, FLYq , YNy, vKX37 , l8 , uc0,//zrO ghd , j ; void f_f0 () {{ int jg;volatile int pr ,...
#include "Helpers.h" using namespace H5; using namespace Rcpp; using namespace std; #define CPTR(VAR,CONST) ((VAR)=(CONST),&(VAR)) DataType GetDataType(const DTYPE datatype, int size = -1) { switch(datatype){ case T_DOUBLE: return PredType::NATIVE_DOUBLE; case T_INTEGER: return PredType::NATIVE_INT32; ...
#include "posable_figure.h" #include "obj_loader.h" #include "platform.h" #include "shader.h" #include "ui.h" #include "constants.h" #include "texture.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "gl_extensions.h" #include <gl/gl.h> static void update_projection (app* App, unsigned window_wid...
#include "ros/ros.h" #include "coloring/color_filter.hpp" #include <pcl/filters/crop_box.h> #include "coloring/utils.hpp" #include<opencv2/opencv.hpp> color_filter::color_filter(const ros::NodeHandle &nh):nh_(nh) { std::string pointcloud_name,camera_file,root_path; nh_.param<std::string>("map", pointcloud_name, ""...
#include "RangeReach.h" /* Checks whether the sspatial grid is intersecting with the spatial region. If not we can say the node is not reaching any nodes lying the the spatial target region */ bool intersects(MBR spatialGrid, box queryWindow) { coordinates queryWindowMinX = queryWindow.min_corner().get<0>(); coordi...
/* dirmngr-client.c - A client for the dirmngr daemon * Copyright (C) 2004, 2007 g10 Code GmbH * Copyright (C) 2002, 2003 Free Software Foundation, Inc. * * This file is part of DirMngr. * * DirMngr is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License a...
int /**/ BHA, w9J , mX ,RA, wJ, j8oKU//Fv ,N1K6, bSI ,rRFv , kq , o7U ,Q0GLr ,Fkm0i , U1 //EqD ,j13O /*yC*/, uVE, nn1C, Ex, YPJ , dWLL,uL,Qfh, bS9PZ , ULFTHy, FL , fuVOl ,g4ZkF ,qQJ, X4//T ,m , V5w,LvjN//vvD , Hfx ,Rrrk/*qPD*/ ,NTti, SN , Yv8,szC, fdw,QyT4W ,j7u0l, xfhv ,DbC,cnHc; void f_f0 ...
// --------------------------------------------------------------------- // // Copyright (c) 2019 - 2022 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
#include "Tables.hpp" const int32_t g_table[8][4] = { { 2, 8, -2, -8 }, { 5, 17, -5, -17 }, { 9, 29, -9, -29 }, { 13, 42, -13, -42 }, { 18, 60, -18, -60 }, { 24, 80, -24, -80 }, { 33, 106, -33, -106 }, { 47, 183, -47, -183 } }; const int64_t g_table256[8][4] = { ...
/** * @file llphysicsmotion.cpp * @brief Implementation of LLPhysicsMotion class. * * $LicenseInfo:firstyear=2011&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2011, Linden Research, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of t...
// std related #include <iostream> #include <fstream> #include <memory> #include <random> // other dependences #include <VMat/geometry.h> #include <VMUtils/ref.hpp> #include <VMUtils/vmnew.hpp> #include <VMUtils/log.hpp> #include <VMUtils/cmdline.hpp> #include <VMUtils/timer.hpp> #include <VMFoundation/mappingtableman...
#include "focal_grid.h" #include <string> #include <stdint.h> #include <iostream> #include <iomanip> #include <math.h> #include <chrono> #include <vector> #include <map> #include <unordered_map> #include <iterator> #include <future> #include <thread> #include <algorithm> #include <dirent.h> #include <armadillo> #inclu...