text
stringlengths
8.71k
38.4k
// #pragma comment(linker, "/STACK:1000000000") #include "MazeGenerator.h" #include "Triple.h" #include "DSU.h" #include "SystemHeapStack.h" #include <queue> #include <map> #include <cassert> #include <algorithm> #include <functional> #include <array> #ifdef NDEBUG #define massert(expression) ((void)0) #else #define m...
//===- PassRegistry.cpp - Pass Registration Utilities ---------------------===// // // 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 // //===---------------------------...
#include <iostream> #include <fstream> #include <sstream> #include <cstdlib> #include <iomanip> #include <ctime> #include <conio.h> using namespace std; //Function prototypes int checkInput(int, string, int, int); //For checking input errors bool retreiveFromFile(string, ifstream &, string); //For ...
#include "SimG4Core/Geometry/interface/DDG4SolidConverter.h" #include "G4VSolid.hh" #include "DetectorDescription/Core/interface/DDSolid.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Utilities/interface/Exception.h" #include "G4SystemOfUnits.hh" const std::vector<double> * DDG4SolidCo...
/* * $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $ * * sample.cpp * hog * * Created by <NAME> on 5/31/05. * Copyright 2005 <NAME>, University of Alberta. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify * it under the terms of...
#include "TROOT.h" #include "TPDF.h" #include "TPaveStats.h" #include "common.hpp" #include "cli.hpp" #include "init_ds.hpp" #include "consts.hpp" #include "csalg.hpp" #include "drawing.hpp" #include "scattyield.hpp" #include "protonede.hpp" #include "treewalk.hpp" #include "cuts_conf.hpp" #include "rootscript.hpp"...
// LicenseManagerServer.cpp // ~~~~~~~~~~ // // Copyright (c) 2003-2008 <NAME> (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #include <boost/asio.hpp> #include <boost/bind.hpp> #...
// 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 the following disclaimer. // 2...
/******************************************************************************* * DISCLAIMER * This software is supplied by Renesas Electronics Corporation and is only * intended for use with Renesas products. No other uses are authorized. This * software is owned by Renesas Electronics Corporation and is protected un...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include "EBQuadCFInterp.H" #include "EBInterpolateF_F.H" #include "VoFIterat...
//----------------------------------------------------------------------------// // // // ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation // // and distributed under the MIT License (MIT). ...
/** * \file allocate_and_free_in_the_same_module.cpp * \author <NAME> * \date Tuesday, July 18, 2013 */ #include "rose.h" #include <boost/foreach.hpp> #include "rose.h" #include "AstMatching.h" #include "VariableIdMapping.h" #include "compass2/compass.h" using std::string; using namespace rose::StringUtility; e...
/******************************************************** HPC 計算用のモジュール ********************************************************/ #include <cstdio> #include <cstdlib> #include <cstdarg> #include <cmath> #include <iostream> #include <vector> #include <algorithm> #include <iterator> #include "matrixop.h" #include "comm...
#include "ModelViewer_pcp.h" #include <iostream> #include <ft2build.h> #include FT_FREETYPE_H #include "QtUniformcolorMapObject.h" // "empirical factor" #define Title_Font_Size_Scale 1.0f // 0.7f #define Num_Font_Size_Scale 0.55f QtUniformColorMapObject::QtUniformColorMapObject( QOpenGLFunctions_3_3_Core& _gl) : ...
/*************************************************************************** * * $Id: StFgtA2CMaker.cxx,v 1.52 2013/03/14 01:45:43 akio Exp $ * *************************************************************************** * * Description: See header. * *************************************************************...
/* * ParticleSortFixHack.h * * Copyright (C) 2015 by <NAME> * Alle Rechte vorbehalten. */ #include "ParticleSortFixHack.h" #include "mmcore/param/BoolParam.h" #include "mmcore/param/FloatParam.h" #include "mmcore/utility/log/Log.h" #include "vislib/sys/ConsoleProgressBar.h" #include "vislib/sys/Thread.h" #include ...
#include "bseries.h" #include "debug.h" BSeries::BSeries() { this->default_seconds_per_point = 10; this->default_null_fill_byte = 0xFF; this->write_ahead_size = 4096; this->shuttingDown = false; } uint32_t BSeries::getChecksum(SERIES *series){ return 1234567890 + ((series->version ^ series...
#include "lang/seq.h" using namespace seq; using namespace llvm; BaseFunc::BaseFunc() : parentType(nullptr), module(nullptr), preambleBlock(nullptr), func(nullptr) {} bool BaseFunc::isGen() { return false; } void BaseFunc::resolveTypes() {} LLVMContext &BaseFunc::getContext() { assert(module); return...
#include "zznvcodec.h" #include "NvVideoEncoder.h" #include "ZzLog.h" #include "NvUtils.h" #include <errno.h> #include <fstream> #include <iostream> #include <linux/videodev2.h> #include <malloc.h> #include <pthread.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <poll.h> #include <nvbuf_utils.h...
// // Copyright (C) <NAME> <<EMAIL>>. All rights reserved. // Use of this source code is governed by a BSD-style license that can // be found in the LICENSE.txt file. // #include "HDRViewer.h" #include "GLImage.h" #include "EditImagePanel.h" #include "ImageListPanel.h" #include <iostream> #include "Common.h" #include ...
#include <convey/usr/cny_comp.h> #include <cstdlib> #include <cstdio> #include <iostream> #include <fstream> #include "packetEncoder.h" #include "mmio.h" using namespace std; //TODO: create log file typedef unsigned char uint8; int sparseToCoo(uint32* c, uint32* r, double* val, void** coo, uint32 nz){ uint64* co...
//------------------------------------------------------------------------------ // File: ExifTool.cpp // // Description: C++ library interface to Perl exiftool application script // // License: Copyright 2013-2019, <NAME> (<EMAIL>) // // This is software, in whole or part, is free for use in //...
/* -------------------------------------------------------------------------- * * OpenSim: ExpressionBasedBushingForce.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #include "hit/hit.h" #include <glog/logging.h> using namespace std; using namespace hit; // defined in example_1_ckks.cpp extern vector<double> random_vector(int dim, double maxNorm); /* This example explore...
#include "gbaudio.h" #include <stdlib.h> #include <iostream> #include "gbmem.h" #include "gbz80cpu.h" //Included for clock speed access. TODO - get actual clock speed GBAudio::GBAudio(GBMem* mem){ m_gbmemory = mem; } GBAudio::~GBAudio(){ } void GBAudio::tick(long long hz){ static long long rollover = 0;...
// CLASSIFICATION: UNCLASSIFIED /***************************************************************************/ /* RSC IDENTIFIER: TRANSVERSE CYLINDRICAL EQUAL AREA * * ABSTRACT * * This component provides conversions between Geodetic coordinates * (latitude and longitude in radians) and Transverse Cylindrica...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofBackground(250); thick_line_layers = 4; thick_line_offset = 0.5; for (int i=0; i<NUM_COLS; i++){ gcode[i].setup(100); gcode[i].show_transit_lines = false; gcode[i...
//// -*- C++ -*- // // Package: HGCalHitValidation // Class: HGCalHitValidation // /**\class HGCalHitValidation HGCalHitValidation.cc Validation/HGCalValidation/plugins/HGCalHitValidation.cc Description: [one line class summary] Implementation: [Notes on implementation] */ #include "Geometry/Records/inte...
/* MikMod sound library (c) 1998, 1999, 2000, 2001, 2002 <NAME> and others - see file AUTHORS for complete list. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of...
// // Created by kunal on 4/3/18. // #include "functionalities.h" #include "shapes.h" #include <bits/stdc++.h> using namespace std; mode currentMode = ADJUSTING; bool currentlyWaiting; bool downKeys[127]; bool scoredGoal; int goalCount, totalTries; int mouseX, mouseY; bool firstTime = true; PhysicalState sphere, *d...
#include "track_tool.h" #include "engine.h" #include "bridge.h" #include "sound/instruments/sampler.h" #include "sound_tool.h" #include "editor/draw/util.h" #include "utils/embedded_image.h" SongTool::SongTool(SoundTool &soundTool_) : soundTool(soundTool_) { } Scene &SongTool::getScene() { return soundTool.edit...
/*---------------------------------------------------------------------------*/ // Baseline Wavelet Transform Coder Construction Kit // // <NAME> // <EMAIL> // http://www.cs.dartmouth.edu/~gdavis // // Copyright 1996 <NAME> 9/11/96 // // Permission is granted to use this software for research purposes as // long as thi...
/* -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- */ /* * Copyright (c) 1990-1997 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
int yXMv9 ,fe /*m*/, iu1 ,XTB ,upYSZ , Zx , FGi/*V*/, SG, FE3 ,P72m//p ,raho,rXF , US,KGA, /*6*/PJ , ZhOi//TUn ,y0 , Gmp , NRcHi,NQKGq ,ASMFeQX , dJd //Z ,NfT , OSaU ,RMei,v, BW , k, xY , Y7,Ig ,G ,j0 , O3jC8r,bOFQ,ebbQ , pkY,ckPp ,PG , bd ,O; void f_f0 ()/*xpCR*/{ /*T*/int c , K3V...
#include "editor.h" #include "tiles.h" #include "render.h" #include "thread.h" #include "emitter.h" #include "imgui.h" #include "GUI/imgui_impl_allegro5.h" static EDITOR *editor = nullptr; static ALLEGRO_BITMAP *editor_cursor = nullptr; static ALLEGRO_BITMAP *canvas_screen = nullptr; static ALLEGRO_BITMAP *tools_scre...
// Copyright 2014 The Galactic Bloodshed Authors. All rights reserved. // Use of this source code is governed by a license that can be // found in the COPYING file. /* doturn -- does one turn. */ import gblib; #include "gb/doturncmd.h" import std; #include "gb/GB_server.h" #include "gb/buffers.h" #include "gb/buil...
/****************************************************************************** * Copyright (C) 2021, Advanced Micro Devices, Inc. All rights reserved. *******************************************************************************/ /*! @file libflame_hbgvx.cc * @brief Test application to validate hbgvx() using...
int sEci , j66CL,n82, mJvb, wjK,h, FdjHc//a , /*eWNQ*/YVKi,bV,qdR , r93A , MXCdA,a//8l1 , IqrYK , u74/*gs4*/,//rI13w zgoS ,pXzq , XdMg , tFS4 , j8Zd ,S6S7 , puCP,Jx , LLIK ,/*Wv*/nre, E3,/*b*/s, dgWN ,/**/ vwaZ/**/,sN , qt,Xd0M2 ; void f_f0(){ { int q;volatile int z8M/*q*/, w ,WKNo//M , H67F ;...
#include "GAMER.h" #include "TestProb.h" // problem-specific global variables // ======================================================================================= static double System_CM_MaxR; // maximum radius for determining System CM static double System_CM_TolErrR; ...
// // RAOPConnection.cpp // AirFloatCF // // Created by <NAME> on 5/10/11. // Copyright 2011 The Famous Software Company. All rights reserved. // #include <stdio.h> #include <sys/socket.h> #include <pthread.h> #include <unistd.h> #include <arpa/inet.h> #include <string.h> #include <stdlib.h> #include <openssl/bio...
/* * Copyright (c) 2021. Huawei Technologies Co., Ltd. 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 * * Unl...
/* * Copyright (c) 2015 Juniper Networks, Inc. All rights reserved. */ #include <oper/interface_common.h> #include <oper/health_check.h> #include <uve/interface_uve_table.h> #include <uve/agent_uve_base.h> InterfaceUveTable::InterfaceUveTable(Agent *agent, uint32_t default_intvl) : agent_(agent), interface_tree...
//===- ExecutionDepsFix.cpp - Fix execution dependecy issues ----*- C++ -*-===// // // The LLVM37 Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------...
/* * SPDX-License-Identifier: Apache-2.0 */ //===----------------- GRU.cpp - Lowering GRU Op --------------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers the ONNX GRU Operator to Krnl dialect....
/////////////////////////////////////////////////////////////////////////////// // File: DDHGCalHEAlgo.cc // Description: Geometry factory class for HGCal (Mix) /////////////////////////////////////////////////////////////////////////////// #include "Geometry/HGCalCommonData/plugins/DDHGCalHEAlgo.h" #include "DataForm...
/* -- MAGMA (version 2.5.4) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date October 2020 @generated from testing/testing_ztrsm_vbatched.cpp, normal z -> s, Thu Oct 8 23:05:46 2020 @author <NAME> @author <NAME> @...
/* cdrdao - write audio CD-Rs in disc-at-once mode * * Copyright (C) 1998-2002 <NAME> <<EMAIL>> * * 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 ...
#include "../header/int/EditorScene.h" #include "../header/int/UserComps.h" #include "../header/int/Input.h" #include "../header/int/RaycastHit.h" #include "../header/int/Collider.h" #include "../header/int/Texture.h" #include "../header/ext/EasyBMP.h" #include "../header/int/Material.h" #include "../header/int/Vector4...
//===-- PlatformRemoteDarwinDevice.cpp -----------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------...
//===-- CommandCompletions.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 // //===---------------------------...
/* emacs_keymap.cpp -- the keymap for emacs_mode in readline (). */ /* Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc. This file is part of GNU Readline, a library for reading lines of text with interactive input and history editing. Readline is free software; you can redistribute it and/or mo...
// ============================================================================= // 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...
/* <NAME> <NAME> Cisco Systems, Inc. */ /* Copyright (c) 2015-2015 Cisco Systems, 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 req...
#include <vector> #include <chrono> #include <iostream> #include <cmath> #include <bitset> #include <ctime> #include <omp.h> #include "NTL/ZZX.h" #include "helib/FHE.h" #include "helib/EncryptedArray.h" // ! Note: HElib pre 1.0.0 uses findBaseLevel and HElib 1.0.0 uses capacity #define new_simd 0 NTL::ZZX long2Po...
void InitNet() { if (debug_mode > 0) fprintf(stderr, "Initializing network\n"); // GPU-side model creation/initialization u_longlong model_size = vocab_size * layer_size; #ifdef CUDA_TALK char cuda_msg[1000]; #endif size_t model_pitch; CUDA_ASSERT(cudaMallocPitch(&c_syn0, &model...
#include "SoyMediaFoundation.h" #if defined(ENABLE_DIRECTX) #include <SoyDirectx.h> #endif #include <SoyMedia.h> #include <SoyFourcc.h> #include <Mferror.h> #include <Codecapi.h> #define DEFINE_GUID_CUSTOM(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ EXTERN_C const GUID DECLSPEC_SELECTANY name \ ...
#include "GraphGen.hpp" GraphGen::GraphGen() { n = 0, m = 0; } GraphGen::GraphGen(int n_) { n = n_; m = 0; adj.resize(n); simAdj.resize(n); for (int i = 0; i < n; i++) label.push_back(to_string(i)); } GraphGen::GraphGen(int n_, vector<string>& label_) { n = n_; m = 0; adj.resize(n); simAdj.resize(n); for (...
#include "Items.hh" #include <string.h> #include <phosg/Random.hh> using namespace std; //////////////////////////////////////////////////////////////////////////////// /* these items all need some kind of special handling that hasn't been implemented yet. 030B04 = TP Material (?) 030C00 = Cell O...
/* Updated to be a class, use Eigen, and compile as an Arduino library. Added methods to get gyro and accel bias. Added initialization to estimated angles rather than assuming IMU is level. Added method to get psi, rather than just heading, and ground track. Copyright (c) 2016 - 2019 Regents of the University of Minne...
#include <fstream> #include <opencv2/opencv.hpp> #include <boost/filesystem.hpp> #include <ipa_room_segmentation/timer.h> #include <ipa_room_segmentation/contains.h> #include <ipa_room_segmentation/adaboost_classifier.h> #include <ipa_room_segmentation/wavefront_region_growing.h> AdaboostClassifier::AdaboostClassifie...
/* Copyright (c) 2015, 2018, 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 certai...
// Copyright (c) 2018-2021 CIYAM Developers // // Distributed under the MIT/X11 software license, please refer to the file license.txt // in the root project directory or http://www.opensource.org/licenses/mit-license.php. #ifdef PRECOMPILE_H # include "precompile.h" #endif #pragma hdrstop #ifndef HAS_PRECOMPILED_ST...
/* This code is a Perceptron, a type of neural network. Explanation of the project: The program does not know the mathematical functions neither the process. The goal for this network is to get the right value without knowing any of the functions. But here is the process anyways: I will introduce 3 random values...
#include "3DMenu.h" #include "../Hacks/Setup.h" bool C3DMenu::Begin(string label, bool open, Vector size, Vector offset, bool back) { static bool OldOpen = false; CBaseEntity* plocal = (CBaseEntity*)I::EntityList()->GetClientEntity(I::Engine()->GetLocalPlayer()); if (plocal) { I::Engine()->GetViewAngles(player...
// Do not remove the include below #include "BatteryCapacityTesterArduinoNANO.h" #include "LiquidCrystal_I2C.h" #include "Thermistor.h" #include <Wire.h> #define CHANGE_BATTERY_BUTTON 2 #define SELECT_BATTERY_BUTTON 3 #define MOSFET_PIN 5 #define BAT_PIN A0 #define RES_PIN A1 #define BATTERY_THERM_PIN A...
/* *) Refactor the code to remove reduentent part. *) Compiled for Linux with C++14 standard Copyright (c) 2021 <NAME>. MIT License; See LICENSE.md for complete details Author: 2021 <NAME> */ /* Updated to be a class, use Eigen, and compile as an Arduino library. Added methods to get gyro and accel bias. Added initia...
#include "lab_6.h" // Matplot #include <matplot/matplot.h> // Standard Library #include <map> #include <set> #include <chrono> #include <vector> #include <string> // Visualising #include "visualise/ar_example.h" #include "models/plane_world_model.h" #include "visualise/scene_3d.h" // Estimators #include "estimator...
//------------------------------------------------------------------------------ // Copyright (c) 2018-2020 <NAME> // All rights reserved. // // https://michelemorrone.eu - https://BrutPitt.com // // twitter: https://twitter.com/BrutPitt - github: https://github.com/BrutPitt // // mailto:<EMAIL> - mailto:<...
#include "dreal/dreal_main.h" #include <csignal> #include <cstdlib> #include <iostream> #include <limits> #include <fmt/format.h> //#include "dreal/dr/run.h" #include "dreal/smt2/run.h" #include "dreal/solver/config.h" #include "dreal/solver/context.h" #include "dreal/util/exception.h" #include "dreal/util/filesyste...
int H //vI8s , LfI , H8 ,o3L , mPC ,I /*C*/ ,PG3 ,eaEU , r7sb,a0a , Dx , bfwS ,//l XY,mKz ,//IY iO3I4 , p6Z, tlv ,uIF , tXC6W//tSr ,mZnL , LKO ,tiMu//ZD , a1K , XEX ,Rs3,Xfg, y , UbP , ydSm , ysg,kFjf ,wh , // FZki, RKF , f , SIY ,Gzw ;void f_f0 // (){ { volatile int YPUFs, /*JtH*/iFE ,Vx, ...
/* * Copyright 2005-2007 <NAME> <<EMAIL>> */ /* This file is part of Ragel. * * Ragel 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 la...
#include "imu.h" #include "mbed.h" #include <cstring> float Invert_Sqrt(float x); imu::imu(PinName sda, PinName scl) { acc_data[6]=0;gyr_data[6]=0; this->q0=1;this->q1=0;this->q2=0;this->q3=0; gyr_offsetx = gyr_offsety=gyr_offsetz=0; this->i2c_imu = new I2C(sda, scl); this->i2c_imu->frequency(4000...
#include "psenet.h" #include <string> #include <queue> #define MAX_INPUT_SIZE 1200 #define MIN_INPUT_SIZE 128 #define OPT_INPUT_W 640 #define OPT_INPUT_H 640 PSENet::PSENet(int max_side_len, int min_side_len, float threshold, int num_kernel, int stride) : max_side_len_(max_side_len), min_side_len_(min_side_len...
#include "html.h" #include "document.h" #include "stylesheet.h" #include "html_tag.h" #include "el_text.h" #include "el_para.h" #include "el_space.h" #include "el_body.h" #include "el_image.h" #include "el_table.h" #include "el_td.h" #include "el_link.h" #include "el_title.h" #include "el_style.h" #includ...
/******************************************** * * $ midair build * $ cd build * $ cmake -DCMAKE_PREFIX_PATH=/path/to/libtorch .. * $ make **********************************************/ #include <torch/torch.h> #include <cstddef> #include <cstdio> #include <iostream> #include <string> #include <vector> #inclu...
// Copyright (c) 2001 <NAME> // See the file COPYING for more information #include <rudiments/datetime.h> #include <rudiments/environment.h> #include <rudiments/stdio.h> #include <rudiments/private/config.h> #include "test.cpp" const char *nondstdatestring="02/08/2016 21:54:30 EST"; const char *nondstdatestringwithz...
/* BSD 4-Clause License Copyright (c) 2020, asaurusrex 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 o...
/* * SPDX-License-Identifier: Apache-2.0 */ //===--------------- LSTM.cpp - Lowering LSTM Op --------------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers the ONNX LSTM Operators to Krnl dialec...
#include "Game.h" #include "ResourceManager.h" #include "SpriteRenderer.h" #include "BallObject.h" #include "ParticleGenerator.hpp" #include "PostProcessor.hpp" #include "PowerUp.hpp" #include "TextRenderer.hpp" #include <iostream> #include<irrKlang.h> using namespace irrklang; // TODO : BUG : power up sticky ball d...
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
#include <assert.h> #include <stdarg.h> // va_list, etc. #include <stdio.h> // vprintf #include "gc_heap.h" #include "greatest.h" #include "my_runtime.h" #include "mylib2.h" // gBuf using gc_heap::Alloc; using gc_heap::Dict; using gc_heap::NewList; using gc_heap::StackRoots; using gc_heap::gHeap; using gc_heap::k...
#include "deepstream_centerface_app.hpp" namespace CenterFace { void Nexus::update_fps(gint id) { gdouble current_fps = duration_cast<std::chrono::milliseconds>(system_clock::now() - fps[id].fps_timer).count(); current_fps /= 1000; current_fps = 1 / current_fps; fps[id].rolling_fps = (gint)(fps[id...
#include "CreatureController.h" #include "Utils.h" #include "Content.h" #include "Sphere.h" #include "VectorDrawer.h" using namespace BGE; CreatureController :: CreatureController(float width, float height, float length){ spawnPosition = glm :: vec3(0, 5, 0); elapsed = 0.0f; move = 1.0f; //Change ...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
#include "TrickSTLCheckpoint.hh" #include "sim_services/Message/include/message_proto.h" #include "sim_services/MemoryManager/include/memorymanager_c_intf.h" double matrix[3][3] = {{101,102,103},{104,105,106},{107,108,109}} ; TrickSTLCheckpoint::TrickSTLCheckpoint() : vector_range(matrix[2], matrix[2] + 3) , vec...
#include "dynamic.h" #include <chrono> #include <cmath> #include "constants.h" #include "functions.h" #include "particle_model.h" #include "turn_by_turn.h" DynamicParas *dynamic_paras = nullptr; IBSSolver *ibs_solver = nullptr; EcoolRateParas *ecool_paras = nullptr; ForceParas *force_paras = nullptr; Lumin...
#define LOG_TAG "BitmapFactory" #include "BitmapFactory.h" #include "CreateJavaOutputStreamAdaptor.h" #include "GraphicsJNI.h" #include "NinePatchPeeker.h" #include "SkAndroidCodec.h" #include "SkBRDAllocator.h" #include "SkFrontBufferedStream.h" #include "SkImageDecoder.h" #include "SkMath.h" #include "SkPixelRef.h" ...
// // Created by kiva on 2020/3/10. // #pragma once #include <stack> #include <deque> #include <memory> #include <unordered_map> #include <utility> #include <mozart++/codecvt> #include <mozart++/format> namespace cs_impl { enum class token_type { UNDEFINED, ID_OR_KW, INT_LITERAL, F...
/* * Yolo model runner * copyright EAVISE * author: <NAME> * */ #include <opencv2/opencv.hpp> // for commandline parser #include <boost/stacktrace.hpp> #include <boost/algorithm/string.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/ini_parser.hpp> #include "jetnet.h" #include "cr...
#include <admodel.h> #include "wtsADMB.hpp" #include "ModelConstants.hpp" #include "ModelConfiguration.hpp" #include "ModelIndexBlocks.hpp" #include "ModelData.hpp" using namespace tcsam; //********************************************************************** // Includes // EffortData // Catch...
/** * MIT License * Copyright (c) 2018 <NAME> * Copyright (c) 2018 <NAME> * Copyright (c) 2018 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including ...
#include <common.h> #include <game.h> #include <g3dhax.h> #include <sfx.h> #include "boss.h" extern "C" void *StageScreen; const char* MGarcNameList [] = { "kuriboBig", "kuriboBoss", NULL }; class daMegaGoomba_c : public dEn_c { public: int onCreate(); int onDelete(); int onExecute(); int onDraw(); mHeapA...
#include <map> #include <string> #include "iso639.h" info_t infoTable[] = { {"aar", "aa", "Afar"}, {"abk", "ab", "Abkhazian"}, {"ace", NULL, "Achinese"}, {"ach", NULL, "Acoli"}, {"ada", NULL, "Adangme"}, {"ady", NULL, "Adyghe; Adygei"}, {"afa", NULL, "Afro-Asiatic languages"}, {"afh", ...
#include <functional> #include <gmp.h> #include <mpfr.h> #include "utf8.h" #include "ilang/Parser.hpp" #include "ilang/AInt.hpp" #include "ilang/AReal.hpp" using namespace ilang; const char *ParseError::what() const noexcept{ return m_msg.c_str(); } using DelimPred = std::function<bool(const Tok...
//===-- go-llvm-cabi-oracle.cpp - implementation of CABIOracle ------------===// // // Copyright 2018 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. // //===---------------------------------------------------------------------...
/* ** SPRCACHE - sprite caching system ** Copyright (C) 2002-2005, <NAME> ** All Rights Reserved. ** ** This is UNPUBLISHED PROPRIETARY SOURCE CODE; ** the contents of this file may not be disclosed to third parties, ** copied or duplicated in any form, in whole or in part, without ** prior express permission from <NAM...
#include <pthread.h> #include "../../lib/render-types.hpp" #include "../../lib/vector.hpp" #include "../../lib/udp.hpp" #include "../../lib/drawing.hpp" #include "../../lib/base.hpp" #include "../../lib/map.hpp" //#include "base/character-test.cpp" #define THREAD_MUTEX_DELAY 200 #define MAX_INPUT_BUFFER_SIZE 200 //...
#include <iostream> #include <iomanip> #include <string> #include <fstream> #include "math/topology/topology.hpp" #include "./SVG.hpp" template< typename data_type > void print( ::math::topology::sico::structure<data_type> const& sico ) { std::cout << "{ " << std::endl; for( size_t dimension=0;...
/* * Copyright (C) 2020 Open Source Robotics Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
// // Created by <NAME> on 11/22/16. // #include "BinaryConvolution.h" #include "Timer.h" #include <assert.h> #include <math.h> using namespace bd; using namespace bconv; BinaryConvolution::BinaryConvolution(uint w, uint h, uint ch, uint k, uint stride, Convolution conv_type, No...