text
stringlengths
5.71k
33.7k
// // Created by peter on 22.05.2020. // #include "Renderer.h" #include "../call_redirection_util.h" #include "../config/GameRendererConfigBlock.h" #include "Clock.h" #include "ModelInfo.h" #include "Streaming.h" #include <cmath> #include <injection_utils/InjectorHelpers.h> #include <render_client/render_client.h> #in...
#pragma once #include <vector> #include <string> #define RANGE(a,b,c) ((a) <= (b) && (b) <= (c)) // TokenClass rethink enum TokenClass { TK_CLASS_MASK = 0b00000111 , TK_CLASS_NONE = 0b00000000 , TK_CLASS_OPERATOR = 0b00000001 , TK_CLASS_COMMENT ...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "app/gfx/font.h" #include "app/gfx/text_elider.h" #include "app/l10n_util.h" #include "base/file_path.h" #include "base/string_util.h" #inclu...
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //////////////////////////////////////////////////////////////////////////////// // This module defines a Utility Class used by reflection // // Author: <NAME> // Date: May 1998 ////////////////////////////////////////...
/*========================================================================== * Copyright (c) 2004 University of Massachusetts. All Rights Reserved. * * Use of the Lemur Toolkit for Language Modeling and Information Retrieval * is subject to the terms of the software license set forth in the LICENSE * file include...
// SPDX-FileCopyrightText: Copyright (c) 2019-2021 Virginia Tech // SPDX-License-Identifier: Apache-2.0 #include "Combiner.h" #include "WorkerThread.h" #include "numa-config.h" #include "numa.h" #include "pactreeImpl.h" #include <cassert> #include <iostream> #include <ordo_clock.h> #include <zconf.h> #ifdef PACTREE_E...
/* * Copyright 2002-2009, Haiku, Inc. All Rights Reserved. * Distributed under the terms of the MIT License. * * Authors: * <NAME> * <NAME> * <NAME>, <EMAIL>. */ #include <Query.h> #include <fcntl.h> #include <new> #include <time.h> #include <Entry.h> #include <fs_query.h> #include <parsedate.h> #include...
#include "stdafx.h" #include "atom_struct.h" #include "NB.h" //ATOM NODE DEFINITIONS######################################################### //first value is the center node. residues marked with * use commonCB. //common core atoms vector<string> commonCA = {"CA","C","CB","N"}; vector<string> commonO = {...
// Fill out your copyright notice in the Description page of Project Settings. #include "LVRCMovementComponent.h" #include "HeadMountedDisplayFunctionLibrary.h" #include "LVRCStatics.h" #include "Camera/CameraComponent.h" #include "Components/CapsuleComponent.h" #include "GameFramework/KillZVolume.h" #include "Kism...
/* Author: <NAME>, University of Karlsruhe, 2010 */ /* $Id: step-45.cc 27657 2012-11-21 13:19:08Z bangerth $ */ /* */ /* Copyright (C) 2010-2012 by the deal.II authors */ /* */ /* ...
/* * Version: 2017.07.31 * Authors: Members of the Team NAIST-Panasonic at the Amazon Robotics Challenge 2017: * <NAME>. <garcia-g at is.naist.jp> (Captain), * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <...
/* * Copyright 2010, * <NAME>, * <NAME>, * * CNRS/AIST * */ #include <sot/dynamic-pinocchio/force-compensation.h> #include <sot/core/debug.hh> #include <dynamic-graph/factory.h> #include <sot/core/macros-signal.hh> using namespace dynamicgraph::sot; using namespace dynamicgraph; DYNAMICGRAPH_FACTORY_ENTITY_PLU...
// test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "objects.h" #include "Pefomance.h" #include "CalculatorTest.h" #include "TestRunner.h" #include "../cellImagebuilders/SIPointBuilder.h" #include "../graph/stack.h" #include "MorseTest.h" #include "GraphTest.h" #include "...
/****************************************************************** * * CyberX3D for C++ * * Copyright (C) <NAME> 1996-2007 * * File: GIF89a.cpp * ******************************************************************/ #include <iostream> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <memory.h> #incl...
#include "pxt.h" #include <stdlib.h> #include <stdio.h> #include <sys/time.h> #include <time.h> #include <cstdarg> #include <pthread.h> #include <unistd.h> #include <dirent.h> #include <signal.h> #include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <malloc.h> #include <sys/mman.h...
// // Util_SpritePoints.cpp // Crazy Darts 2 Mac // // Created by <NAME> on 2/28/20. // Copyright © 2020 Froggy Studios. All rights reserved. // #include "Util_SpritePoints.hpp" #include "core_includes.h" #include "core_app_shell.hpp" #include "FApp.hpp" Util_SpritePoints::Util_SpritePoints() { mConsumesTouch...
/// \file findroot.cc /// /// \brief Rootfinding routines for Riemann Solver /// /// \author <NAME> /// /// Two solve options are available, solve_pos() for when you know the root /// is positive, i.e. in \f$ [0,\infty]\f$, and solve_pm() when the root could /// be anywhere. /// /// The rootfinding algorithms imple...
#include <Arduino.h> #include <SPI.h> const SPISettings SPI_FAST = SPISettings(16000000, MSBFIRST, SPI_MODE0); const SPISettings SPI_SLOW = SPISettings(2000000, MSBFIRST, SPI_MODE0); SPISettings _SPISettings; void _SPITxn(int CSN, int headerLen, byte* header, int dataLen, byte* data, int respLen, byte resp[]) { S...
/** tfidf.cc <NAME>, November 27th, 2015 Copyright (c) 2015 mldb.ai inc. All rights reserved. This file is part of MLDB. Copyright 2015 mldb.ai inc. All rights reserved. Implementation of TF-IDF algorithm */ #include "tfidf.h" #include "mldb/builtin/matrix.h" #include "mldb/core/mldb_engine.h" #incl...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
//============================================================ // STUDENT NAME: // NUS User ID.: // COMMENTS TO GRADER: // // // ============================================================ #include <stdlib.h> #include <stdio.h> #include <math.h> #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <GL/glut.h>...
#include "Enemy_White.h" #include "Application.h" #include "ModuleCollisions.h" #include "ModuleParticles.h" #include "ModulePlayer.h" #include "Particle.h" Enemy_White::Enemy_White(int x, int y) : Enemy(x, y) { //Walking right and down right anim rightAnimW.PushBack({ 0,0,98,88}); rightAnimW.PushBack({ 98,0,98,...
/* * GA.cpp * Cpp Project for 2017 ZJU Mathematical Modeling Contest. * Team production. * Team member: <NAME>, <NAME>, <NAME>. * This file was created by <NAME> on May 3, 2017. * Copyright (c) 2017 <NAME>. All rights reserved. */ #include <algorithm> #include <cctype> #include <cmath> #include <cstd...
#include "FontDecoder.h" #include "PDFParser.h" #include "PDFDictionary.h" #include "ParsedPrimitiveHelper.h" #include "PDFObject.h" #include "RefCountPtr.h" #include "PDFObjectCast.h" #include "PDFStreamInput.h" #include "PDFArray.h" #include "PDFName.h" #include "UnicodeString.h" #include "../interpreter/PDFInterpr...
/* Based on the public domain implementation in * crypto_hash/keccakc512/simple/ from http://bench.cr.yp.to/supercop.html * by <NAME> * and the public domain "TweetFips202" implementation * from https://twitter.com/tweetfips202 * by <NAME>, <NAME>, and <NAME> */ #include <stdint.h> #include <assert.h> #include "...
// // Copyright (C) <NAME> 2011 // #include "XXFile.h" #include "XXModel.h" CXXFile::CXXFile(void) { m_pModel = NULL; } CXXFile::~CXXFile(void) { m_pModel = NULL; } bool CXXFile::LoadModelFromMemory( unsigned char* pData, size_t uiDataSize, CXXModel* pModel ) { m_pModel = pModel; size_t uiDataPos = 0; char ...
#include "stdafx.h" #include "EntityManager.h" #include "AttackEntity.h" #include "../GameInfo.h" #include "../game/GameState.h" #include "../game/GameDesc.h" #include "../MinimapRenderer.h" #include "../EntityInfoRenderer.h" #include "../game/GameColors.h" #include "../StreamImpostorsRenderer.h" #include <...
/**************************************************************************/ /*! @file YGKMVrun.cpp @section intro Introduction @subsection author Author Written by <NAME>. @subsection license License MIT license */ /**************************************************************************/ #include "...
/** * @file racetrack.cpp * Contains all elements that make up the racetrack and handles interactions between them * * @author <NAME> (G20812080) <<EMAIL>> * Games Concepts (CO1301), University of Central Lancashire */ #include <TL-Engine.h> #include <iostream> #include <vector> #include <unordered_map> // Mesh ...
inline cMat3 cMat3::Transposed(void) const { cMat3 ret( m33[0][0], m33[1][0], m33[2][0], m33[0][1], m33[1][1], m33[2][1], m33[0][2], m33[1][2], m33[2][2]); return ret; } inline cMat4 cMat4::ToD3DProjection(void) { cMat4 mat; mat.m16[0] = m16[0]; mat.m16[1] = m16[1]; mat.m16[2] = m16[2]; mat.m16[3] = m16[...
#include <kmer_util.hpp> #include <iostream> #include <algorithm> // std::min #include <unordered_map> #include <tuple> #include <Kmer.hpp> #include <iostream> #include <fstream> /* Helper map used for getting complement value of given nucleotide base. */ KmerUtil::ComplementMap KmerUtil::complement_map = { ...
#include "tfutil.h" #include <regex> // These are all common classes it's handy to reference with no namespace. using tensorflow::Flag; using tensorflow::Tensor; using tensorflow::Status; using tensorflow::string; using tensorflow::int32; // Takes a file name, and loads a list of labels from it, one per line, and ...
/* @ozan18 Student Name: <NAME> Student ID : 150180056 Date: 27.10.2019 */ /* PLEASE, DO NOT CHANGE void display(bool verbose, bool testing), int getUsableDay() and int getUsableTime() FUNCTIONS. YOU HAVE TO WRITE THE REQUIRED FUNCTIONS THAT IS MENTIONED ABOVE. YOU CAN ADD NEW FUNCTIONS IF YOU NEED. */ #include <ios...
/** * @file obsSim.cxx * @brief Observation simulator using instrument response functions. * @author <NAME> * * $Header: /nfs/slac/g/glast/ground/cvs/ScienceTools-scons/observationSim/src/obsSim/obsSim.cxx,v 1.90 2015/01/07 22:49:15 jchiang Exp $ */ #ifdef TRAP_FPE #include <fenv.h> #endif #include <cstdlib> #i...
#include "bytecode/formatting.hpp" #include "bytecode/function.hpp" #include "bytecode/module.hpp" #include "bytecode/op.hpp" #include "bytecode/reader.hpp" #include "common/assert.hpp" #include "common/format.hpp" #include "common/text/string_utils.hpp" namespace tiro { namespace { template<typename Entity> struct...
/** * 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...
#include "stdafx.h" #include "DrawHelpers.h" #ifdef _DEBUG extern short nDbgTexture; #endif void DrawHelpers::DrawGameObjectBitmap (CGameObject* object, CWnd* pWindow) { static int powerupTable [48] = { 0, 1, 2, 3, 4, 5, 6, -1, -1, -1, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, -1, 21, -1...
#include <assert.h> #include "bvh.h" // enable to validate the tree after every operation #define VALIDATE 0 namespace { // fixed size binary heap implementation template <typename type_t, size_t c_size> struct bin_heap_t { // index of the root node // to simplify the implementation, heap_ is base 1 (index 0 un...
#include "game_scene.hpp" #include <chrono> #include <fstream> #include <tuple> #include <rmkit.h> #include "debug.hpp" #include "puzzles.hpp" #include "ui/game_menu.hpp" constexpr int TIMER_INTERVAL = 100; GameScene::GameScene() : frontend() { scene = ui::make_scene(); // ----- Layout ----- int w, h;...
#include "Calibration/IsolatedParticles/interface/CaloPropagateTrack.h" #include "Calibration/IsolatedParticles/interface/eECALMatrix.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/i...
#include "freeglut.h" #include "GameController.h" #include "GameWorld.h" #include "GameConstants.h" #include "GraphObject.h" #include "SoundFX.h" #include "SpriteManager.h" #include <cstdio> #include <string> #include <map> #include <utility> #include <cstdlib> #include <algorithm> using namespace std; /* spriteWidth ...
/* * Copyright (c) 2011-2013, NVIDIA Corporation * 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,...
// import-archive.cc -- Go frontend read import data from an archive file. // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "go-system.h" #include "go-diagnostics.h" #include "import.h" #ifndef O_B...
/* * 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 writi...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter * This is scaffolding, do not modify */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during init) use_laser_ = t...
/* * Copyright (c) 2015 <NAME>, <NAME>, <NAME> and <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, ...
/** @file * Implement the Proxy Verifier server. * * Copyright 2020, Verizon Media * SPDX-License-Identifier: Apache-2.0 */ #include <array> #include <atomic> #include <condition_variable> #include <csignal> #include <cstring> #include <deque> #include <libgen.h> #include <mutex> #include <thread> #include <unord...
#include <mpi.h> #include <stdlib.h> #include <cmath> #include <iostream> #include <numeric> #include <sstream> #include <vector> #include "common.h" #define __HOST_PROGRAM__ #include "hlslib/intel/OpenCL.h" #include "stencil.h" #include <smi/communicator.h> // Convert from C to C++ using Data_t = DTYPE; constexpr Dat...
#define _USE_MATH_DEFINES #include <libtiff/tiffio.h> #include <iostream> #include <fstream> #include <chrono> #include <math.h> #include <filesystem> namespace fs = std::filesystem; #include <Eigen/Dense> using namespace Eigen; struct Point { uint32 x; uint32 y; }; struct ellipseABCDEF { double A; double B; ...
/* * Copyright 2019 Xilinx, 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 agreed to...
#include <utility> // // Created by lukas on 12/5/20. // #include "ui/zlinechart.h" ZLineChart::ZLineChart(float width, float height, ZView *parent) : ZView(width, height, parent) { } void ZLineChart::onCreate() { ZView::onCreate(); initView(); } void ZLineChart::initView() { if (!mViewInit) { ...
/* * 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 ...
int E, gR04 , YG , yB , ZB,b8Y , h,//rvz Yr,RYrN, /*d*/WHJd,duZkp , Ww /**/, KA//Udv ,Lyi , m/*kuBTZ9*/ , Vd, sQ,//RZ qVfp ,q , w07W ,UL , //k xnqC, i7 ,l,yl , w,sPmBb ,Gq ,b15Y2, khGy,rUA,vM,Sl,pSv , BP ,/**/ L1Z, U7t /*v*/; void f_f0/*9xO*/ () { { {{ ; } ;/*jZ*/{ return ; {volatile int n8pi; ...
// Copyright 2019 The MediaPipe 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
/* ************************************************************************ * Copyright (c) 2020-2021 Advanced Micro Devices, Inc. * ************************************************************************ */ #pragma once #include "clientcommon.hpp" #include "lapack_host_reference.hpp" #include "norm.hpp" #include ...
/********** 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. (See <http://www.gnu.org/copyleft/lesser.html>.) ...
/////////////////////////////////////////////////////////////////////////////// // //_Title IMPORT_PUSHBROOM import linescanner/pushbroom image to SOCET Set v5.4.x // //_Desc This program imports an 8-bit linescanner/pushbroom image - in raw // format - to SOCET Set, first as a framing camera with unknown // ...
// Copyright (c) 2009-2017 The Regents of the University of Michigan // This file is part of the HOOMD-blue project, released under the BSD 3-Clause License. // Maintainer: joaander #include "TwoStepLangevin.h" #include "hoomd/Saru.h" #include "hoomd/VectorMath.h" #ifdef ENABLE_MPI #include "hoomd/HOOMDMPI.h" #endi...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter * This is scaffolding, do not modify */ UKF::UKF() { // if this is false, laser measurements will be ignored (except during i...
// // Created by Yuehi on 2021-12-01. // #include <iostream> #include <cstdlib> #include <getopt.h> #include <elf.h> #include <iomanip> #include <bitset> typedef enum print_type{ ERROR, USAGE, VERSION, DATA_ERROR, FOPEN_ERROR, NOSECTIONS, NOSECTIONS_ERROR }print_type; static struct option ...
// // Created by k.leyfer on 11.09.2017. // #include <cstdio> #include <string> #include "TouchInputMapper.h" #include <logging.h> template<typename T> inline static void swap(T &a, T &b) { T temp = a; a = b; b = temp; } template<typename T> inline static T min(const T &a, const T &b) { return a < b ? a : b;...
#include <opencv2/core/core.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/highgui/highgui.hpp> #include "sp_segmenter/features.h" #include "sp_segmenter/JHUDataParser.h" #include "sp_segmenter/SIFTpooling.h" std::map<std::string, int> model_name_map; uchar color_label[11][3] = { {0, 0, 0}, {...
/* g++ final.cpp -o final `pkg-config --libs opencv` -larmadillo -lwiringPi */ #include <iostream> #include <armadillo> #include <string> #include "opencv2/core/core.hpp" #include "opencv2/core/utility.hpp" #include "opencv2/imgproc/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui/highgui.hpp" #i...
//<NAME>: generic slider introduced version 0.7.02 #include "genericslider.H" // #include <unistd.h> static char *sldtypetitles[] = {"alpha", "fov", "censize", "chromarange", "focallength", "lblminpix", "labelsize", "polysides", "polysize", "slum"}; static char sidtitles[NUMSLD][30]; static float minrg[NUMSLD][2], ...
/* G C H E C K E R . C P P * BRL-CAD * * Copyright (c) 2020-2022 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1...
/** * Copyright (c) 2017-present, Facebook, 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 ...
#include <iostream> #include <glm/glm.hpp> #include <SDL.h> #include "SDLauxiliary.h" #include "TestModel.h" #include <limits.h> #include <omp.h> #include <math.h> using namespace std; using glm::vec3; using glm::mat3; class Light { public: glm::vec3 lightPos; glm::vec3 lightColor; float intensity; Light(glm::ve...
//===-- TypeStreamMerger.cpp ------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- FileSystem.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 // //===---------------------------...
/* Copyright © 2021 ABBYY Production 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 agreed to in writing, soft...
//===--- PlistDiagnostics.cpp - Plist Diagnostics for Paths -----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===- 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. // //===-------------------------------------------------------...
#include "camera.h" #include "world/objects/npc.h" #include "world/objects/interactive.h" #include "world/world.h" #include "game/playercontrol.h" #include "game/definitions/cameradefinitions.h" #include "game/serialize.h" #include "utils/gthfont.h" #include "utils/dbgpainter.h" #include "gothic.h" using namespace Te...
#include <openssl/err.h> #include <openssl/x509.h> #include "Test.h" #include "../FS/FS.h" #include "../CertStore/CertStore.h" #include "../Crypto/CreateSignature.h" #include "../Transaction/TxOut.h" #include "../Transaction/Transaction.h" #include "../TxPool.h" #include "../Wallet.h" #include "../Time.h" #include ".....
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
// // Created by pejic on 29/07/19. // #include "resource_sharing.h" #include <algorithm> #include <iomanip> #include <list> #include <map> #include "BuffersUtil.h" #include "ControlPathAnalysis.h" #include "DFnetlist.h" #include "Dataflow.h" #include "DisjointSet.h" #include "MILP_Model.h" #include "MarkedGraph.h" ...
/******************************************************************************* * Copyright (c) 2000, 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 "RecoParticleFlow/PFClusterTools/interface/Exercises3.h" #include "RecoParticleFlow/PFClusterTools/interface/PFToolsException.h" #include "RecoParticleFlow/PFClusterTools/interface/TreeUtility.h" #include "DataFormats/ParticleFlowReco/interface/Calibratable.h" #include "RecoParticleFlow/PFClusterTools/interfac...
//=======- MBlazeFrameLowering.cpp - MBlaze Frame Information ------*- C++ -*-====// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------------------...
#include <iostream> #include <string> #include <cstring> #include <fstream> #include <time.h> #include <random> #include <vector> #include <ctime> #include <set> #include <list> #include <iterator> #include <bits/stdc++.h> using namespace std; void menu(); int scorFinal, nrCuvinteGhicite; string arra...
/* Copyright ©1996, <NAME> All rights reserved. File: CBall.c Created: Monday, February 26, 1996, 15:41 Modified: Saturday, September 7, 1996, 17:46 */ #include "CBall.h" #include "CSmartPart.h" //#include "Palettes.h" #define MINSPEED FIX3(20) #define kBSPBall 250 #define kBallFloatForce FIX3(...
// Copyright(c) TuYuAI authors.All rights reserved. // Licensed under the Apache-2.0 License. // #include "detector.h" #include <chrono> #include <fstream> #include <iostream> #include "det/lanms.hpp" #include "spdlog/spdlog.h" using namespace lanms; #define ORT_ABORT_ON_ERROR(expr) \ ...
#include <stdafx.h> #include "FunctionOverride.h" #include "Scripting.h" #include <reverse/StrongReference.h> #include <reverse/RTTIHelper.h> static FunctionOverride* s_pOverride = nullptr; using TRunPureScriptFunction = bool (*)(RED4ext::CClassFunction* apFunction, RED4ext::CScriptStack*, void*); static TRunPureSc...
/* * * Copyright (c) 2015 Intel Corporation. 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 * * * * ...
#include "le_bloom_pass.h" #include "le_core/le_core.h" #include "le_backend_vk/le_backend_vk.h" // for shader module creation #include "le_renderer/le_renderer.h" #include "le_pipeline_builder/le_pipeline_builder.h" #define GLM_FORCE_DEPTH_ZERO_TO_ONE // vulkan clip space is from 0 to 1 #define GLM_FORCE_RIGHT_HAND...
/* Copyright (c) 2019-2020, <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 follo...
/* Copyright (C) 2004 <NAME> 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 following disclaimer. 2. Redistribut...
//===- Tiling.cpp - Implementation of linalg Tiling -----------------------===// // // 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....
#include <iomanip> #include "function.h" #include "program.h" std::string Function::cleanUpName(std::string name) { // Replace "mainImage(vf4;vf2;" with "mainImage$v4f$vf2$" for (size_t i = 0; i < name.length(); i++) { if (name[i] == '(' || name[i] == ';') { name[i] = '$'; } }...
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2017, Carnegie Mellon University and University of Cambridge, // all rights reserved. // // ACADEMIC OR NON-PROFIT ORGANIZATION NONCOMMERCIAL RESEARCH USE ONLY // // BY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO...
#include <iostream> #include <time.h> #include <string> #include <vector> #include <set> #include <assert.h> #include <math.h> #include <utility> #include <stdlib.h> #include <fstream> #include <sstream> #include <cmath> using namespace std; //return a double in range [0,1) double rand_double1() { ...
// Copyright (c) 2019 <NAME> <EMAIL> // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #ifdef TWO_MODULES module; #include <cstring> #include <cstdio> #include <bx/platform.h> #include <bx...
/************************************************************************* * Copyright (c) 2015, Synopsys, Inc. * * All rights reserved. * * * * Redistribution and...
/*************************************** 2014 <NAME> <<EMAIL>> 2016 <NAME> <<EMAIL>> ***************************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <iostream> #include <algorithm> #include <queue> #include <vector> #include "graph.h" using namespace std; void inp...
/* Copyright 2021 iwatake2222 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 writing, software dis...
// // File: updateMazeShortestPathBFS.cpp // // MATLAB Coder version : 3.3 // C/C++ source code generated on : 04-Oct-2017 10:47:28 // // Include Files #include "rt_nonfinite.h" #include "generateMaze.h" #include "updateMazePledge.h" #include "updateMazeRandomMouse.h" #include "updateMazeShortestPathBFS.h"...
#include "bullet.h" #include <string> #include <deque> #include <SDL.h> #include <cstring> #include <SDL_messagebox.h> #include "weapons.h" #include "bulletCollision.h" #include "render.h" #include "game.h" #include "log.h" std::deque<bullet> gBullets(0); BULLETSTATS gBulletTable[] = { //null bullet { 0, 0, 0, 0, ...
//===-- Mips16InstrInfo.cpp - Mips16 Instruction Information --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/** * @author <NAME> * Modified by <NAME> * * A personal note from me: Jesus Christ has changed my life so much it blows my mind. I say this because * today, religion is thought of as something that you do or believe and has about as * little impact on a person as their ...