text
stringlengths
5.71k
33.7k
#include "ofApp.h" #include <opencv2/opencv.hpp> using namespace ofxCv; using namespace cv; Mat frame; ofImage thisImage; //definied as extern in ofApp.h float camThresh; float camSoftness; float camInvert; float camOpacity; int camShaderActive; int CAM_DEV_ID; int CAM_W; int CAM_H; float VID_SCALE; int THUMB_W; i...
#pragma once #include "AFFECT_DATA.hpp" #include "AffectFlag.hpp" #include "AffectList.hpp" #include "ArmourClass.hpp" #include "CharVersion.hpp" #include "Constants.hpp" #include "Descriptor.hpp" #include "ExtraFlags.hpp" #include "Flag.hpp" #include "Materials.hpp" #include "MobIndexData.hpp" #include "PcData.hpp" #...
#include "ArkanoidGame.h" #include <string> #include "Sprite.h" #include "Block.h" #include "BackBuffer.h" #include "Circle.h" #include "Rect.h" #include "resource.h" #include "Vec2.h" #include <list> #include <fstream> #include <cassert> using namespace std; ArkanoidGame::ArkanoidGame(HINSTANCE hAppIn...
#include "dsp/digital.hpp" #include "util/math.hpp" #include "qwelk.hpp" #define CHANNELS 8 namespace rack_plugin_Qwelk { struct ModuleChaos : Module { enum ParamIds { PARAM_SCAN, PARAM_STEP, PARAM_CELL, NUM_PARAMS = PARAM_CELL + CHANNELS * 2 }; enum InputIds { IN...
/* * Copyright (C) 2018 Glimp IP Ltd * * 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, pub...
#include "Planet.h" #include <iostream> #include <GLFW/glfw3.h> #include <thread> Planet::Planet(float i_size, int i_detail, float i_mult, glm::vec3 i_color, glm::vec3 i_planetRot, glm::vec3 i_atmoRot, int i_type, glm::vec3 i_ringColor, bool i_hasRing) { variables.hasRing = i_hasRing; if(i_detail > 0) v...
int euT, y , OF ,y0 // , k , Yj0 , /*LfC*/NkPH ,nlaw ,NOMHa ,jGBA ,//35 Idn, FN,r ,e4, c2 /*a2U*/, MzcFc /**/ ,F , xv ,LJ ,//v yvT3, VrEo ,LO, // iw,bYN , Qq ,BLX ,GV , dJ, ZsEdo,/**/ mJ , eMh, /**/iX, qk ;void f_f0 (){for(int i=1 //fp ; i<1;++i ) ; for(int i=1;i< /*1GGb*//*Dx*/2 ;++i ) {i...
#include <iostream> #include <imu_aceinna_openimu/Driver.hpp> #include <imu_aceinna_openimu/Protocol.hpp> #include <fstream> #include <iomanip> using namespace std; using namespace imu_aceinna_openimu; enum ParameterType { PARAM_STRING, PARAM_INTEGER, PARAM_ORIENTATION, PARAM_DOUBLE, PARAM_OTHER }...
// © 2014 the PBNF Authors under the MIT license. See AUTHORS for the list of authors. /** * \file get_search.cc * * * * \author <NAME> * \date 2008-11-13 */ #include <string.h> #include <stdlib.h> #include <stdio.h> #include <limits> #include <vector> #include <iostream> // this has to come first because ot...
#include <iostream> #include <thread> #include <atomic> #include <list> #include "Util/Timer.cpp" #include "Contract/Coin.cpp" #include "Util/FILEOPR.cpp" #define MAX_THREADS 1 #define M_SharedObj 5000 #define FUN_IN_CONT 3 #define pl "===================================================\n" #define InitBalance 1000 #de...
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2015, STEREOLABS. // // All rights reserved Crevinno - <NAME>// // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT // LIMITE...
#include "systems_walk.h" #include "bullet_types_converter.h" #include "collision_queries.h" #include <BulletCollision/BroadphaseCollision/btBroadphaseProxy.h> #include <BulletCollision/CollisionDispatch/btCollisionObject.h> #include <BulletCollision/CollisionDispatch/btGhostObject.h> #include <btBulletDynamicsCommon....
/* This file is part of the regenie software package. Copyright (c) 2020 <NAME> & <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 li...
/** * * @file main.cpp * @brief FPGA-status * @author rsyocto GmbH & Co. KG * <NAME> (<EMAIL>) * @mainpage * rstools application to read any HSP-to-FPGA Bridges or the MPU address space * * Change Log: * 1.00 (12-07-2019) * Initial release * * Copyright (C) 2020-2022 rsyocto GmbH & Co....
// // Created by Roninkoi on 18.12.2015. // #include "player.h" #include "util/objParser.h" // do this using quaternions bool camMoved = false; float camTicks = 0.0f; void Player::getPlayerCam() { camTicks += 1.0f; if (glm::length(phys.rotV) > 0.0f) { camMoved = true; camTicks = 0.0f; } if ...
#include "surface_by_numbers.h" #include <set> #include <queue> #include <maxflow/maxflow.h> #include <geometry/mesh.h> #include <geometry/patch.h> #include <matching/threshold.h> using maxflow::Graph_DDD; SurfaceByNumbers::SurfaceByNumbers(const CRSolver& crsolver, double eta, double gamma) : _eta(eta), _gamma(ga...
#include "CController.h" //these hold the geometry of the sweepers and the mines const int NumSweeperVerts = 16; const SPoint sweeper[NumSweeperVerts] = {SPoint(-1, -1), SPoint(-1, 1), SPoint(-0.5, 1), ...
/* * Pose_estimation.cpp * * Created on: Sep 27, 2013 * Author: <NAME> */ // ROS #include <ros/package.h> #include <ros/ros.h> #include <sensor_msgs/PointCloud2.h> #include <tf/transform_broadcaster.h> #include <geometry_msgs/Transform.h> #include <pcl_conversions/pcl_conversions.h> #include <pcl_ros/point_c...
#include <ros/ros.h> #include <kin_driver/kin_driver.hpp> #include <iostream> #include <sensor_msgs/image_encodings.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <openpose_ros_msgs/OpenPoseHuman.h> #include <openpose_ros_msgs/OpenPoseHumanList.h> #include <openpose_ros_msgs/P...
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ // vim:cindent:ts=2:et:sw=2: /* 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 with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* cl...
#include "GLUtil.h" #include "Geometry.h" #include "Intersectable.h" // GL ERR map<int,const char*> createErrMap() { map<int,const char*> errmap ; errmap.insert( make_pair( 0x0000, "GL_NO_ERROR" ) ) ; errmap.insert( make_pair( 0x0500, "GL_INVALID_ENUM" ) ) ; errmap.insert( make_pair( 0x0501, "GL_INVALID_VALUE"...
#include "CSCIndexerOldPostls1.h" #include <iostream> void CSCIndexerOldPostls1::fillChamberLabel() const { // Fill the member vector which permits decoding of the linear chamber index // Logically const since initializes cache only, // Beware that the ME42 indices 235-270 within this vector do NOT correspond to...
/* * Copyright (c) 2004 Apple Computer, Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except i...
// //////////////////////////////////////////////////////// // # Title // Steady Squares // // # URL // https://projecteuler.net/problem=284 // http://euler.stephan-brumme.com/284/ // // # Problem // The 3-digit number 376 in the decimal numbering system is an example of numbers with the special property that its squar...
#include "allegro_node_grasp.h" #include "bhand/BHand.h" // The only topic specific to the 'grasp' controller is the envelop torque. const std::string ENVELOP_TORQUE_TOPIC = "allegroHand/envelop_torque"; double sum = 0.0; double kd_arr[5000] = {0.0}; int kd_count = 0; const int reg_size = 100; double y[reg_size] =...
/* * Copyright (C) 2014 <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 Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * Th...
#include "Player.h" #define UWOL_MAX_SPEED_X 3.1f #define UWOL_MAX_SPEED_Y 32.0f TPlayer::TPlayer() { this->_graphics = Graphics::GetInstance(); this->_animPlayer.setAnimation(Animation::Get("uwol_stand_right")); this->_input = InputManager::GetInstance(); this->_map = NULL; this->_colRect.x = 6; this->_colRec...
#include "../include/ir.hpp" #include <fstream> #include <set> #include "../include/cbs_refine.hpp" #include "../include/ecbs.hpp" #include "../include/hca.hpp" #include "../include/winpibt.hpp" #include "../include/icbs_refine.hpp" #include "../include/pibt.hpp" #include "../include/pibt_complete.hpp" #include "../in...
/* ------------------------------------------------------------------------- * * contrib/sepgsql/uavc.c * * Implementation of userspace access vector cache; that enables to cache * access control decisions recently used, and reduce number of kernel * invocations to avoid unnecessary performance hit. * * Copyrig...
// // Created by sijoonlee on 6/2/19. // #include "ProcessParser.h" std::string ProcessParser::getVmSize(std::string pid){ std::string line; // Declaring search attribute for file std::string name = "VmData"; float result; // Opening stream for specific file std::ifstream stream = Util::getS...
// =========================================================================== // // Filename: PatTauAna.cc // // Description: // // Version: 1.0 // Created: 03/09/2015 03:07:50 PM // Compiler: g++ -std=c++11 // // Author: <NAME> (benwu) // Email: <EMAIL> // ...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <iostream> #include "shader.h" #include "stb_image.h" float deltaTime = 0.0f; float lastFrame = 0.0f; const unsigned int SCR_WIDTH = 800; const unsigned int SCR_HEI...
#include <iostream> #include <math.h> using namespace std; #define RCC_APB1Periph_TIM2 ((uint32_t)0x00000001) #define RCC_APB1Periph_TIM4 ((uint32_t)0x00000004) #define RCC_APB1Periph_TIM5 ((uint32_t)0x00000008) #define RCC_APB2Periph_TIM8 ((uint32_t)0x00000002) #d...
/** * @file * @brief Implementation of charge sensitive amplifier digitization module * @copyright Copyright (c) 2020 CERN and the Allpix Squared authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the...
/* * Copyright (C) 2015-2021 Swift Navigation Inc. * Contact: https://support.swiftnav.com * * This source is subject to the license found in the file 'LICENSE' which must * be be distributed together with this source. All other rights reserved. * * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY ...
#include <Core/ResourceManager.h> #include <memory> #include <glm/glm.hpp> #include <GL/glew.h> #if defined(__APPLE__) #include <OpenGL/gl.h> #else #include <GL/gl.h> #endif #define EMPTY_TEXTURE_SIZE 128 // vertex shader for copy, hblur and vblur shaders const char* VS_SHADER_COPY = R"( #version 330 out vec2 uv_...
/* Search within a matrix of neighbours for similar segments * * author: <NAME> (<EMAIL>) * * example (Matlab) call: * res = C_findPathsTrellisGlobalOptimization(ind,dist,max(ind(:))); */ #include "mex.h" #include <float.h> #include <cmath> #include <limits> #include "path.h" // #include "TrellisTree.h" #includ...
/******************************************************************************* * Copyright (c) 2015-2017 Vanamco AG, http://www.vanamco.com * * The MIT License (MIT) * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software...
//////////////////////////////////////////////////////////////////////// // Include files //////////////////////////////////////////////////////////////////////// #include <stdio.h> #include <stdlib.h> #include <vector> #include <string> #include <fstream> #include <dirent.h> #include "gaps.h" #include "GSV...
//////////////////////////////////// // // #define HISTOGRAM 1 #define UNPACK_ALL #define ALL_OF_IT // // //////////////////////////////////// #include <Stiostream.h> #include <unistd.h> #include <string> #include <vector> #include <list> #include <utility> // pair #include <algorithm> // min() max() // SCL #incl...
#include "selector_manager111.hpp" #include "crfio.hpp" #include "cc_rules.hpp" #include "fs123/stat_serializev3.hpp" // for ifdef APPLE mtim #include "fs123/content_codec.hpp" #include "fs123/sharedkeydir.hpp" #include <core123/complaints.hpp> #include <core123/base64.hpp> #include <core123/http_error_category.hpp> #i...
/* Toorum's Quest II Copyright (c) 2013 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merg...
// // Created by milinda on 9/29/16. // #include "bh.h" /*BH bh1(0.4824,6,0,0.00123,-0.02088,-0.512349,0.0, 0.0,0.0,0.0); BH bh2(0.4824,-6,0,-0.00123,0.02088,0.512349,0.0,0.0,0.0,0.0);*/ /*BH bh1(0.4824,(6.0+50.0)*(256)/100.0,(0.0+50.0)*(256)/100.0,(0.00123+50.0)*(256)/100.0,-0.02088,-0.512349,0.0, 0.0,0.0,0.0); B...
#include <algorithm> #include <array> #include <cassert> #include <chrono> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> #include <fstream> #include <getopt.h> #include <iostream> #include <iterator> #include <numeric> #include <omp.h> #include <set> #include <string> #inclu...
/***************************************************************************** ** DARWIN: A FRAMEWORK FOR MACHINE LEARNING RESEARCH AND DEVELOPMENT ** Distributed under the terms of the BSD license (see the LICENSE file) ** Copyright (c) 2007-2017, <NAME> ** All rights reserved. ** *************************************...
#include <string> #include <iostream> #include <assert.h> #include <string.h> #include <math.h> #include <mkl.h> #include "libsvmread.h" #include "casdca.h" void casdca(int m, int n, double *X, int leny, double *y, double *w, double lambda, int maxit, double tol, int seed, int freq, int s, double *wopt, MPI_Comm co...
// *********************************************************************** // // PaKman: Algorithm for generating genomic contigs on distributed-memory machines // // <NAME> (Pacific Northwest National Laboratory) // <NAME> (Pacific Northwest National Laboratory) // <NAME> (Washington State University) // ...
// // ms2Spectrum.cpp // ionFinder // ----------------------------------------------------------------------------- // MIT License // Copyright 2020 <NAME> // ----------------------------------------------------------------------------- // Permission is hereby granted, free of charge, to any person obtaining a copy // ...
#include <SOIL/SOIL.h> #include "frontend/Gui/Gui.h" #include "frontend/Gui/Gui_textures.h" #include <iostream> #include <fstream> #include <ctime> #include <unistd.h> #include <cmath> /********************************/ // Project initial values #define TITLE "RobSim ~ bp" const int WINDOW_WIDTH = 1280...
// // BSP // // (c) <NAME> 1998-2007 bsd licence // // bsp compiler // #include <stdio.h> #include <stdlib.h> #include <math.h> #include <float.h> #define FUZZYWIDTH (PAPERWIDTH*100) #include "bsp.h" int facetestlimit=50; int allowaxial=1; int solidbias =0; int usevolcalc=1; int allowhull =0; BSP...
#include "voxelizer_utils.h" void testOverlap(vtkPolyData *data, uint y, uint z, bool returnAllResults, uint res) { double3* vertices; uint3* indices; double3* normals; double3 minVertex; double3 maxVertex; double voxelDistance; uint3 resolution; bool testState; // Get triangles wi...
// Copyright (c) 2009-2011 <NAME> <<EMAIL>> // Copyright (c) 2007-2009 NVIDIA Corporation -- <NAME> <<EMAIL>> // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, in...
//===--- PassPipeline.cpp - Swift Compiler SIL Pass Entrypoints -----------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
//------------------------------------ // vexed.cpp // Move pieces to be adjacent. Once adjacent pieces match, they are cleared off the board. Once the entire // board is clear, play advances to the next level. // // Prog 4: Vexed // Author: <NAME> // Using Codio, for UIC CS 141, Fall 2019 // -------...
// Copyright (c) 2022, <NAME> // See LICENSE for details of BSD 3-Clause License #include <algorithm> #include <cmath> #include <condition_variable> #include <iostream> #include <iterator> #include <mutex> #include <numeric> #include "config.h" #include "keyboard.h" #include "match.h" #include "state.h" #include "stat...
/** * Copyright (c) 2009 Carnegie Mellon University. * 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...
/***************************************************************************************** * * * OpenSpace * * ...
/******************************************************************** Copyright (c) 2010-2015, Regents of the University of Colorado 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 s...
// 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 may...
// // Copyright (C) 2020 <NAME> // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #define NO_IMPORT_ARRAY #include <boost/python/suite/index...
// Copyright (c) 2012 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 <stdio.h> #include <string> #include "base/at_exit.h" #include "base/basictypes.h" #include "base/bind.h" #include "base/cancelable_callback...
// -*- lsst-c++ -*- // // Created by jackcook on 7/11/20. // #include <chrono> #include <LU-Decomposition/lu.h> #include <blas/blas.h> #include <cpgfunction/gfunction.h> #include <cpgfunction/interpolation.h> #include <cpgfunction/segments.h> #include <cpgfunction/heat_transfer.h> using namespace std; // lots of v...
// Copyright 2006-2015 <NAME> (<EMAIL>). // // This file is part of the Carve CSG Library (http://carve-csg.com/) // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction,...
//#include <GL/glut.h> #include <GL/glu.h> #include <GLFW/glfw3.h> #include <stdio.h> #include <stdlib.h> #include "OnlineFmtStar.hpp" #include "OnlineRrtStar.hpp" #include "planning-utils/libs/cxxopts.hpp" #include "utils.hpp" using namespace std; struct Camera { Coord3 pos = Coord3(0, 0, 0); Coord3 rot = Coord3(0...
/* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "base/Base.h" #include <gtest/gtest.h> #include "fs/TempDir.h" #include "storage/test/TestUtils.h" #include "me...
//===- LLVMTypeSyntax.cpp - Parsing/printing for MLIR LLVM Dialect types --===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
// Copyright (c) 2020 <NAME> // FEniCS Project // SPDX-License-Identifier: MIT #include "quadrature.h" #include <cmath> #include <iostream> #include <vector> using namespace libtab; namespace { //---------------------------------------------------------------------------- std::tuple<Eigen::ArrayXd, Eigen::ArrayXd...
#include "cfl_draw.h" #include <FL/Enumerations.H> #include <FL/Fl_Image.H> #include <FL/Fl_Window.H> #include <FL/fl_draw.H> #include <jpeg/jpeglib.h> #include <png/png.h> void cfl_set_color_int(unsigned int c) { fl_color(c); } void cfl_set_color_rgb(unsigned char r, unsigned char g, unsigned char b) { fl_color(r,...
/**************************************************************************** * * Copyright (c) 2018 PX4 Development Team. 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. Redistri...
#include <csignal> #include <exception> #include <thread> #include "spdlog/fmt/fmt.h" #include "spdlog/fmt/bundled/color.h" #include <reproc++/run.hpp> #include "common_options.hpp" #include "mamba/api/configuration.hpp" #include "mamba/api/install.hpp" #include "mamba/core/util_os.hpp" #include "mamba/core/util_ran...
#include <stdio.h> #include <iostream> #include <stdlib.h> #include <string> #include "rtree.h" #include <math.h> #include <queue> // compute the mbr of the set of rectangles Rectangle RTree::computeMBR1(Entry *ent){ Rectangle r; int cmbr[4]={ent->ptr->entries[0].rect.x1,ent->ptr->entries[0].rect.y1,0,...
// Copyright 2020 TierIV // // 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...
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation the rights to use,...
// Copyright (c) 2011 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 "net/dns/dns_util.h" #include <errno.h> #include <limits.h> #include <cstring> #include <unordered_map> #include <vector> #include "base/b...
int /*DXo8*/ SzB, fh , WmP ,//Z7Q EU , Kz, Ot,Hkce , P0sW , WH , mVa ,QE , uA ,UiU //u , wb, XL2y , T0d2 ,TIB,/*Wq*/ tq0q, WgP ,fdX, pH7/*XC8*/,mIgO , yoA , lJ7 //II , kVS//8O6 ,co , szW, EbVd3U0 , jBk, /*LEf*/Sq,fBzn, ZE , z , LRE,wr; void f_f0 () {/*gfB*/ volatile int SGxo ,nCE , eA...
/// #include <baulkrev.hpp> #include <bela/match.hpp> #include <bela/strip.hpp> #include <bela/io.hpp> #include <bela/terminal.hpp> #include <bela/path.hpp> #include <bela/process.hpp> #include <bela/parseargv.hpp> #include <jsonex.hpp> #include <zip.hpp> #include "fs.hpp" #include "net.hpp" // https://www.catch22.net...
int qMy , dM6, jcYQi //d5qCEa ,V2X ,imH, // C2NBE , K1H ,Y6Ku ,TaD , NV9, Xm, KfZ , E1Eu , q57y,R , O5Z , v//N , rTq ,mSXYN,/*m*/ kk , nQ5f ,Lot , Z0o, XLwj ,RGXv, z ,RRvg ,fP ,r4Ok, Ed6 , J4t ,si9,Wv7,QB ,bPY,WsQz ,JwFZ ;void f_f0() { { volatile int XN ,/*bU*/d, M, B8, //RX be , Vh ;{...
#include <chrono> #include <memory> #include <mutex> #include <string> #include <thread> #include <vector> #include "device/mlu_context.h" #include "easybang/resize.h" #include "gtest/gtest.h" #include "internal/cnrt_wrap.h" #include "opencv2/opencv.hpp" #if (CV_MAJOR_VERSION >= 4) #include <opencv2/imgproc/imgproc_c....
#include "StdAfx.h" #include "UIMMShniaga.h" #include "UICursor.h" #include "UIStatic.h" #include "UIScrollView.h" #include "UIXmlInit.h" #include "MMsound.h" #include "game_base_space.h" #include "../level.h" #include "object_broker.h" #include <math.h> #include "../Actor.h" #include "../saved_game_wrapp...
/* * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. */ #include "config_amqp_client.h" #include <boost/algorithm/string/find.hpp> #include <boost/lexical_cast.hpp> #include <stdio.h> #include <string> #include <SimpleAmqpClient/SimpleAmqpClient.h> #include "rapidjson/document.h" #include "base/con...
#include "histoBook.h" #include "TKey.h" #include "TObject.h" /** * Creates a histobook and allows the root filename to be set. optionally read from an existing root * file and include everything into the working space * @param name root filename * @param input input filename * @param inDir input starting dir...
/* * Software License Agreement (BSD License) * * Copyright (c) 2011, <NAME>, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2021 <NAME> and <NAME> //LIC// //LIC// This lib...
#include "TileGrid.hpp" #include <map> #include <SFML/Graphics.hpp> #include <Shared/Global.hpp> #include <Shared/IFaces/IConfig.h> #include <Shared/Network/Protocol/ClientToServer/Commands.h> #include <Client.hpp> #include <ResourceManager.hpp> #include <Network/Connection.h> #include <Graphics/Window.hpp> #include...
/* * Copyright (C) 2018 The Android Open Source Project * * 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 app...
// Copyright (c) 2010 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 "content/browser/ssl/ssl_host_state.h" #include "testing/gtest/include/gtest/gtest.h" namespace { // Certificates for test data. They're ob...
// **************************************************************************/ // 作者: 陈雪飞<<EMAIL>> // 日期: 2017年1月15日 14:53:16 // 工程: OpticalFlow // 程序: OpticalFlow // 文件: OpticalFlow.cpp // 描述: 光流法裂纹检测 // **************************************************************************/ #include <opencv2/opencv.hpp> ...
#include <iostream> #include <vector> #include <string.h> #include <math.h> #include <chrono> #include <time.h> #include <MiIni.h> #include <circular_queue.h> #include <unistd.h> #include <signal.h> #include <pwd.h> #include <linux/limits.h> #include <sys/inotify.h> #include <poll.h> #include <X11/Xlib.h> #include ...
/* * UIToolkitCMDLineExample.cpp * !CHOAS * Created by <NAME>. * * Copyright 2012 INFN, National Institute of Nuclear Physics * * 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 Lic...
/* * Privateer 2: The Darkening -- Data Dumper * Copyright (c) 2016, 2017, <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFT...
#include "matcher_functions.h" #include "structs_and_classes.h" #include <H5Cpp.h> using namespace H5; void write_to_hdf5_file(CitySnaps snapsnap, Params &params, int parent_num_clouds, int child_num_clouds) { H5std_string fname = params.path+params.write_filename_base_prefix + get_snapshot_name(snapsnap.snap_num1) ...
// Copyright (c) 2011, <NAME> <<EMAIL>> // // Permission to use, copy, modify, and distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
#include <iostream> #include <SDL.h> #include <SDL_image.h> #include <vector> #include <time.h> #include "src\assets\Info.h" #include "src\assets\RT_Util.h" #include "src\Transform.h" #include "src\Tringles\Grid.h" static cl_int SetPlatforms(std::vector<cl_platform_id> &platforms) { cl_uint num = 0; cl_int status = ...
#include "polar_list_decoder.hpp" #include "utilities.hpp" #include "polar_encoder.hpp" #include <vector> #include <cmath> #include <assert.h> #include <utility> #include <iostream> #include <algorithm> int PolarListDecoder::get_n(){ return n; } inline double llr_sign(double x){ return (x>0) - (x<0); } inli...
// // VirtualApp Native Project // #include <Jni/VAJni.h> #include <Substrate/CydiaSubstrate.h> #include "VMPatch.h" #include "fake_dlfcn.h" namespace FunctionDef { typedef void (*Function_DalvikBridgeFunc)(const void **, void *, const void *, void *); typedef jobject (*Function_openDexNativeFunc)(JNIEnv *, j...
/* * A benchmark for sending messages to M mboxes and to N agents. */ #include <iostream> #include <iterator> #include <numeric> #include <chrono> #include <functional> #include <sstream> #include <cstdlib> #include <so_5/all.hpp> #include <test/3rd_party/various_helpers/benchmark_helpers.hpp> #include <test/3rd_p...
/******************************************************************************/ /* */ /* Copyright (c) 1990-2016, KAIST */ /* All rights reserved. ...
#include <list> #include "game.hpp" #include "assets.hpp" #include "leaderboard.hpp" #include "name-entry.hpp" using namespace blit; static const Font font(asset_font8x8); static const int gridWidth = 10, gridHeight = 15; static uint8_t grid[gridWidth * gridHeight]{0}; static const int blockSize = 8;...
/* * Copyright (c) 2016-2018, 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, this list ...