text
stringlengths
5.71k
33.7k
// // CPathFinder.cpp // Copyright <NAME> (www.menasoft.com). // // -Pretty good working Astar (A*) Pathfinder Algorithm Class. // -Based on: The A* Pathfinder base Class (http://home.das-netz.de/pat/a-star.htm) by // <EMAIL> Germany 25.07.97 // -Based on SPATH.C http://www-cs-students.stanford.edu/~am...
/** * MIDI parsing Test with the NXP FRDM-K64F board * <NAME> <<EMAIL>> */ #include "MK64F12.h" //#include "MK66F18.h" #include "Semaphore.h" #include "ThisThread.h" #include "mbed.h" #include "SerialBase.h" #include <cstdint> #include <cstdio> #include <iostream> // MIDI transforms #include "TransformMIDI.h...
/********************************************************************** Audacity: A Digital Audio Editor ODDecodeBlockFile.cpp Created by <NAME> (mchinen) Audacity(R) is copyright (c) 1999-2008 Audacity Team. License: GPL v2. See License.txt. ****************************************************...
// Copyright (c) 2014 Google, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, ...
#include "mvMesh.h" #include "mvContext.h" #include "mvObjLoader.h" #include "mvAssetManager.h" mvMesh mvCreateTexturedCube(mvAssetManager& assetManager, float sideLength) { auto vertices = std::vector<float>{ -sideLength, -sideLength, -sideLength, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0....
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2017-2019 The WaykiChain Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "rpcserver.h" #include "rpc/rpcapiconf.h" #include "logging.h" #include "common...
/*! \file guess-qp.cpp * \brief Basic tool to attempt to recognize the 'q' and 'p' keys * \author <NAME> */ #ifdef __EMSCRIPTEN__ #include "build_timestamp.h" #include "emscripten/emscripten.h" #endif #include "constants.h" #include "audio-logger.h" #include <stdio.h> #include <termios.h> #include <unistd.h> #...
#include "vtkObjectFactory.h" #include "vtkSlicerColor.h" //--------------------------------------------------------------------------- vtkStandardNewMacro ( vtkSlicerColor ); vtkCxxRevisionMacro ( vtkSlicerColor, "$Revision: 1.2 $" ); //--------------------------------------------------------------------------- vt...
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
#include "MpcController.hpp" #include <cassert> #include <iostream> #include <sstream> #include "cpm/Logging.hpp" #include "cpm/TimeMeasurement.hpp" #include "TrajectoryInterpolation.hpp" /** * \file MpcController.cxx * \ingroup vehicle */ MpcController::MpcController(uint8_t _vehicle_id, std::function<void(double...
// Copyright (c) 2014-2016, The Regents of the University of California. // Copyright (c) 2016-2017, Nefeli Networks, 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: // // * Redistributio...
// // Created by <NAME>. // // uncomment to disable assert() // #define NDEBUG #include <cassert> #include <iostream> #include <cstdio> #include <iomanip> #include <ios> #include <sstream> #include <fstream> #include <string> #include <cmath> #include <cstdlib> #include <ctime> #include <functional> #include <array> #...
/* * Copyright (C) 2019 Mediatek Corporation. * * 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 la...
// nnet3/nnet-component-test.cc // Copyright 2015 Johns Hopkins University (author: <NAME>) // See ../../COPYING for clarification regarding multiple 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 c...
// Copyright 2019 Alpha Cephei 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 agree...
#pragma once #include <inttypes.h> #include <stddef.h> #include <string> #include <vector> #include "Version.hh" // raw item data struct ItemData { union { uint8_t item_data1[12]; uint16_t item_data1w[6]; uint32_t item_data1d[3]; }; uint32_t item_id; union { uint8_t it...
/* L I B B R E P _ B R E P _ T O O L S . C P P * BRL-CAD * * Copyright (c) 2013-2014 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 * v...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/* * * 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"); y...
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
/* *** * Copyright (c) 2014-2021 <NAME> * See LICENSE for full details * e6af70ca */ #include "acpi.hpp" #include "ktext.hpp" #include "kio.hpp" #include "dev/cmos.hpp" extern "C" { extern char _kernel_start; extern char _kernel_end; extern char _kernel_load; } size_t const phyptr = ((&_kernel_start) - (&_kerne...
#include "midgard/pointll.h" #include "midgard/constants.h" #include "midgard/util.h" #include <algorithm> #include <cmath> #include "test.h" using namespace std; using namespace valhalla::midgard; namespace { #define ASSERT_POINTLL_EQUAL(a, b) \ d...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
//===--- RewriteContext.cpp - Term rewriting allocation arena -------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
#include "common.hpp" #include "logging.h" #include <fstream> #include <iostream> #include <map> #include <sstream> #include <vector> #include <chrono> #define USE_FP32 static Logger gLogger; const char *INPUT_BLOB_NAME = "data"; const char *OUTPUT_BLOB_NAME = "output"; static const int bs = 1; stati...
//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...
// C++ backwards engineered command-line onion routing test tool. // // This makes onion requests via storage servers. // // It has a whole bunch of deps (cpr, oxenmq, sodium, ssl, nlohmann); I compiled with the following, // using static cpr from an beldex build, SS assets built in ../build, and system-installed // li...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include <gflags/gflags.h> #include <grpc++/grpc++.h> #include <chrono> #include <csignal> #include <fstream> #include <thread> #include "ametsuchi/storage.hpp" #include "backend/protobuf/common_objects/proto_common_...
/* Copyright (c) 2002. <NAME>, University of British Columbia. This code may be used, distributed, or modified only under license from the University of British Columbia. This notice must be retained in all copies. */ /* util.c This file contains a range of utility routines to support keypoint detecti...
/* * Emitter implementation * <NAME> (<EMAIL>) * <NAME> (<EMAIL>) */ #include "emitter.h" int counter = 0; void printtab(FILE* file){ fprintf(file, "%*s", 8, ""); } string emitter::vreg(astree *at){ string name = ""; if(at->symblattributes->attributes[ATTR_array]) name = "p"; if(at->symb...
// This file is part of comma, a generic and flexible library // Copyright (c) 2011 The University of Sydney // 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 cod...
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include <boost/functional/hash.hpp> // IWYU pragma: keep #include <cstddef> #include <limits> #include <string> #include <type_traits> #include <unordered_map> #include <utility> #include "DataStructures/DataBox/Pre...
//===-- SparcISelDAGToDAG.cpp - A dag to dag inst selector for Sparc ------===// // // 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) 2016-2017, The Regents of the University of California (Regents). All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions ar...
/** * Copyright (c) Glow Contributors. See CONTRIBUTORS file. * * 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 b...
//g_infostringLoad.cpp //reads in ext_data\infostrings.dat #include "g_local.h" #include "g_items.h" #include "g_infostrings.h" qboolean G_ParseInt( char **data, int *i ); qboolean G_ParseString( char **data, char **s ); extern ginfoitem_t bg_infoItemList[]; typedef struct { char *infoString; int infoItemNum; ...
/* * Copyright 2004-2008, Haiku. * Distributed under the terms of the MIT License. * * Authors: * <NAME> * <NAME>, <EMAIL> */ //! Keyboard input server addon #include "TeamMonitorWindow.h" #include <stdio.h> #include <Application.h> #include <CardLayout.h> #include <Catalog.h> #include <GroupLayoutBuilder....
#include "stdafx.h" #include "World.h" #include "searchfile.h" #include "Application.h" #include "Frustum.h" #include "Dimmer.h" #include "ComponentPhysics.h" #include "ComponentMovement.h" #include "ComponentHealth.h" #include "ActionDeleteActor.h" #include "EventPlayerNumberSet.h" #include "EventExplos...
// // RawSocket.cpp // // Console-mode app demonstrating how to receive PlexNet packets using either // TCP/IP or UDP. WSAStartup and WSACleanup are Winsock-specific calls which // may need to be removed or replaced, depending on your platform. Note that // a blocking socket is used for simplicity, ...
#include "GlobalVariable.h" using namespace std; std::string GlobalVariables::mainPath; glm::vec4 GlobalVariables::Mat4MultiVec4(float A[], const glm::vec4& B){ glm::vec4 ret; for(int i=0;i<4;i++){ float sum = 0; for(int j=0;j<4;j++){ sum += A[i*4+j]*B[j]; } ret[i] = sum; } return...
#include "EbAppBase.hh" #include "Endpoint.hh" #include "EbEvent.hh" #include "EbLfServer.hh" #include "utilities.hh" #include "psalg/utils/SysLog.hh" #include "xtcdata/xtc/Dgram.hh" #ifndef _GNU_SOURCE # define _GNU_SOURCE #endif #include <sched.h> #include <signal.h> #include <stdlib.h> #include <stdio.h> #incl...
// created by <NAME> to be the GxCTRL_ILI9225 class for the GxTFT library // code extracts taken from TFT_22_ILI9225: https://github.com/Nkawu/TFT_22_ILI9225 // // License: GNU GENERAL PUBLIC LICENSE V3, see LICENSE #include "GxCTRL_ILI9225.h" /* ILI9225 LCD Registers */ #define ILI9225_DRIVER_OUTPUT_CTRL (0x01u...
// Standard #include <atomic> #include <chrono> #include <cmath> #include <ctime> #include <iostream> #include <random> #include <thread> // Common #include <common/EntityComponentSystem.h> #include <common/GameInfo.h> #include <common/Geometry.h> #include <common/PlayerAction.h> #include <common/ServerMessage.h> #inc...
//////////////////////////////////////////////////////////////////////// // Include Files //////////////////////////////////////////////////////////////////////// #include "correlateImages.h" #include "findBBox.h" using namespace std; //////////////////////////////////////////////////////////////////////// // Progra...
#include "snic_handler.hpp" #include "snic_handler_config.hpp" #include <iostream> struct map_entry { //ap_uint<16> sessionID; ap_uint<32> local_ip; ap_uint<16> local_port; //ap_uint<32> remote_ip; //ap_uint<32> remote_port; }; #define NR_MAX_ENTRIES (1024) struct map_entry map_table[NR_MAX_ENTRIES]; struct int...
#include "GhostRenderer.hpp" #include "Modules/Engine.hpp" #include "Event.hpp" #include "Features/Camera.hpp" #include "Features/OverlayRender.hpp" #include "GhostEntity.hpp" #include <vector> // Bendy model data // 2D (Y,Z) coordinates of vertices. const float BENDY_VERTS[] = {-13, 16, 13, 16, -13, 40, 13, 40, -1...
#include <sstream> #include <string> #include <thread> #include "DecoderGraph.hh" #include "Segmenter.hh" #include "conf.hh" #include "str.hh" using namespace std; struct NbestFileEntry { public: NbestFileEntry() { rescored = false; rescore_success = true; }; void print_rescored_entry(S...
#include <memory.h> //#include "Types.h" // "Derived from the RSA Data Security, Inc. MD5 Message Digest Algorithm" /** * \brief MD5 context structure */ typedef struct { unsigned long total[2]; /*!< number of bytes processed */ unsigned long state[4]; /*!< intermediate digest state */ ...
#include "renderer/opengl/OpenGLContext.h" int sgDrawCount = 0; int sgDrawBitmap = 0; namespace lime { OpenGLContext::OpenGLContext (WinDC inDC, GLCtx inOGLCtx) { HardwareContext::current = this; mDC = inDC; mOGLCtx = inOGLCtx; mWidth = 0; mHeight = 0; mLineWidth = -1; mBitmapTexture = 0; mL...
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
/* * File: mincost_flow_base.cc * Author: <NAME> <thomas(at)bioinf.uni-leipzig.de> * * Created on January 4, 2017, 4:35 PM */ #include "mincost_flow_base.h" #include <math.h> mincost_flow_base::mincost_flow_base(pre_graph* raw, exon_meta* meta, const std::string &chromosome, std::set<int> &ids) : base_manage...
// // Drive.cpp // Clock Signal // // Created by <NAME> on 25/09/2016. // Copyright 2016 <NAME>. All rights reserved. // #include "Drive.hpp" #include "Track/UnformattedTrack.hpp" #include <algorithm> #include <cassert> #include <cmath> #include <chrono> #include <random> using namespace Storage::Disk; Drive::...
#include <immintrin.h> #include <math.h> #include <stdlib.h> #include <string.h> #include <cassert> #include "block.hpp" #include "evd_cost.hpp" #include "evd_cyclic.hpp" #include "matrix.hpp" #include "types.hpp" #include "util.hpp" static inline size_t evd_block(struct matrix_t Amat, struct matrix_t Vmat, size_t blo...
#include <iostream> #include <stdlib.h> #include <math.h> #include <stdio.h> #define PI 3.141592654 using namespace std; const int nOrder = 3; const int nTimePreSnap = 100; typedef struct { int nx, nz; int Nx, Nz; int sx, sz; int npx, npz; float dx, dz; } dim; typedef struct { float *vp, *vs, *rho; } med...
#include "main.h" #include "score.h" #include "timer.h" #include "ball.h" #include "moving_ball.h" #include "pond.h" #include "rectangle.h" #include "tramp.h" #include "triangle.h" #include "magnet.h" using namespace std; GLMatrices Matrices; GLuint programID; GLFWwindow *window; /************************** * Cus...
#include <algorithm> #include <array> #include <fstream> #include <iostream> #include <memory> #include <numeric> #include <sstream> #include <vector> #include <SDL.h> #include "display/display.h" #include "display/imgui_impl_sdl.h" #include "imgui.h" #include "json.hpp" #include "rhi/dxr/dx12_utils.h" #include "rhi/dx...
#include <iostream> #include <fstream> #include <chrono> #include <algorithm> #include <iterator> #include <octomap/octomap.h> #include <ros/ros.h> #include <pcl_ros/point_cloud.h> #include <visualization_msgs/Marker.h> #include <visualization_msgs/MarkerArray.h> #include <geometry_msgs/Pose.h> #include <octomap_msgs/...
#include "Triangulator.h" #include <iostream> #include <iomanip> using namespace std; using namespace cv; /** From "Triangulation", <NAME>. and <NAME>., Computer vision and image understanding, 1997 */ Mat_<double> LinearLSTriangulation(Point3d u, //homogenous image point (u,v,1) ...
#include <unistd.h> #include <stdlib.h> #include <time.h> #include "SceneGame.hpp" #include "bomberman.hpp" #include "FileUtils.hpp" #include "Save.hpp" #include "ModelsManager.hpp" #include "BoxCollider.hpp" #include "Player.hpp" #include "Wall.hpp" #include "Crispy.hpp" #include "Flag.hpp" #include "End.hpp" #incl...
//******************************************************** // Syzygy is licensed under the BSD license v2 // see the file SZG_CREDITS for details //******************************************************** #include "arPrecompiled.h" #define SZG_DO_NOT_EXPORT #include "arGraphicsPeerRPC.h" #include "arFramerat...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | http://www.mrpt.org/ | | | | Cop...
/* @@@LICENSE * * Copyright (c) 2008-2013 LG Electronics, 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 appli...
//------------------------------------------------------------------------------------------------ // Copyright (c) 2012 <NAME> and <NAME> (University Campus Bio-Medico of Rome). // All rights reserved. //------------------------------------------------------------------------------------------------ /********...
#include "fmt/format.h" #include <benchmark/benchmark.h> #include "drake/geometry/proximity/make_ellipsoid_field.h" #include "drake/geometry/proximity/make_ellipsoid_mesh.h" #include "drake/geometry/proximity/make_sphere_mesh.h" #include "drake/geometry/proximity/mesh_intersection.h" #include "drake/math/rigid_transfo...
// ----------------------------------------------------------------------------- // The MIT License // // Copyright(c) 2020 <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 wi...
#include <ros/ros.h> #include <std_msgs/String.h> #include <ackermann_msgs/AckermannDriveStamped.h> #include <nav_msgs/Odometry.h> #include <sensor_msgs/LaserScan.h> #include <math.h> #include <fstream> #include <iostream> #include <iterator> #define FLOAT32_ARRAY_SIZE(x) sizeof(x)/sizeof(float) #define MAX...
// 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,...
#include <asyncmulticastdelegate/Allocator.h> #include <asyncmulticastdelegate/xallocator.h> #include <cstring> #include <iostream> #include <cassert> using namespace std; #ifndef CHAR_BIT #define CHAR_BIT 8 #endif #if _WIN32 #include <Windows.h> #include <Windows.h> static CRITICAL_SECTION _critica...
/* * test_dfs_writer.cc * * Created on: Jul 12, 2013 * Author: HP * 1. test for basic features from aio. * 2. simulate the block consume complete * 3. */ #include <signal.h> #include <log4cxx/logger.h> #include <log4cxx/basicconfigurator.h> #include <boost/program_options/option.hpp> #incl...
#include "Bidoo.hpp" #include "dsp/digital.hpp" #include "BidooComponents.hpp" #include "osdialog.h" #define DR_WAV_IMPLEMENTATION #include "dep/dr_wav/dr_wav.h" #include <vector> #include "cmath" #include <iomanip> // setprecision #include <sstream> // stringstream using namespace std; namespace rack_plugin_Bidoo { ...
#include "ros/ros.h" #include "std_msgs/String.h" #include <geometry_msgs/PoseStamped.h> #include "transformations_ros/roombaPoses.h" #include "transformations_ros/roombaPose.h" #include <rosgraph_msgs/Clock.h> #include <iostream> #include <cstdlib> #include <cmath> #include <vector> #include "matplotlibcpp.h" #include...
// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG) // 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/. #include <chrono> #include <condition...
// TransformState.cpp #include <math.h> #include <stdio.h> #include <AppDefs.h> #include <Cursor.h> #include <Window.h> #include "bitmap_support.h" #include "cursors.h" #include "Canvas.h" #include "CanvasView.h" #include "History.h" #include "HistoryListView.h" #include "HistoryManager.h" #include "Layer.h" #inclu...
#include "QuadrotorLQRControl.hpp" #include <conversion/rotation.h> #include <drivers/drv_hrt.h> #include <lib/ecl/geo/geo.h> #include <circuit_breaker/circuit_breaker.h> #include <mathlib/math/Limits.hpp> #include <mathlib/math/Functions.hpp> //#include <eigen3/Eigen/Dense> // ++ Math operations with Matrices ++ /*...
//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-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
#include "PCH.hpp" #include "Mesh.h" //----------------------------------------------------------------------------- enum VertexDeclarationId { VDI_DEFAULT, // Pos Tex Normal VDI_ANIMATED, // Pos Weights Indices Tex Normal VDI_TANGENT, // Pos Tex Normal Tangent Binormal VDI_ANIMATED_TANGENT, // Pos Weights Indices...
/* * FLI.cpp * Nebulosity * * Created by <NAME> on 8/30/09. BSD 3-Clause License Copyright (c) 2021, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source cod...
#include <algorithm> #include <crypto330/block/aes.hpp> #include <crypto330/utils.hpp> #include <memory.h> #include <cassert> bool gf8_lookup_initialized = false; uint8_t gf8_lookup[256][256]; void GF8_InitLookup() { if (gf8_lookup_initialized) { return; } for (uint32_t a = 0; a < 256; a++) { ...
int wSv, Y , x25 , EZ , sU , m1 /*He*/,SnY,NP,uH9, h2l , bD, Hl , w5, R ,HU , DW ,CZiU ,MZR ,E, c5m , HpL; void f_f0//YIL9 () {/*43b*/{int Gn, UF5p ; volatile int//V jpTXXc//y6 ,G8 , y0S ,o8S//p8 , AAPP ,zm , feYb,cRD ,Q , c14; UF5p/*uk*/ = c14 //xgV + jpTXXc +G8 +y0S +o8S +AAPP ; {{ volatile int ...
/* * Copyright 2016 <NAME> * * This file is part of Squirrel. * * Licensed under the Academic Free License 3.0 (the "License"). * You may not use this file except in compliance with the License. * You should have received a copy of the License along with Squirrel. * If not, see <https://opensource.org/licenses/...
#include <iostream> #include <vector> #include <dirent.h> #include <cstring> #include <sys/stat.h> #include <dkm.hpp> #include <dkm_utils.hpp> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" #include "palette.h" /* define the name of this ...
/* * Copyright (c) <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 writin...
/* * The code is a part of our project called VEGITO, which retrofits * high availability mechanism to tame hybrid transaction/analytical * processing. * * Copyright (c) 2021 Shanghai Jiao Tong University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you ma...
int oxV,aX,//Bke fegp ,/*4*///W OS ,fJ,ZV9, vF7R, HG, p ,/*L6*/jcP , fKKN ,KC ,zuomu ,kiNnPc , r3 , IalV4/*y*/,qz4Z,v ,RmSs3 , Bx, JvLO, mCD ,sYW7; void f_f0 () { { int f6 , dI;/*ok*/volatile int JORz, bk , V , vsy ,Ld// , g , hENo7, MJ; dI = MJ + JORz + bk+ V ;return ;f6//ja //0z = vsy +/...
//===--- HeaderSearch.cpp - Resolve Header File Locations ---===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------------------------------------...
#include "RunAction.hh" #include "G4RunManager.hh" #include "G4MultiFunctionalDetector.hh" #include "G4VPrimitiveScorer.hh" #include "G4SDManager.hh" #include "G4SystemOfUnits.hh" #include "G4String.hh" #include "G4THitsMap.hh" #include "G4Threading.hh" #include "Run.hh" #include "DetectorConstruction.hh" #include "P...
#include "computemodel.h" ComputeModel::ComputeModel(QWidget *parent) : QWidget(parent) { tb = new QTextBrowser(this); tb->setMinimumSize(this->size()); auto font = QFont("Consolas"); font.setItalic(true); font.setWeight(20); tb->setFont(font); indices = new QStringList; in...
/* Copyright (c) 2005-2007 <NAME> http://www.gphysics.com This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, includ...
#include <Arduino.h> #include "lcd.h" #include "cpu.h" #include "interrupt.h" #include "sdl.h" #include "mem.h" #include "gbConfig.h" #include "gb_globals.h" //static int lcd_line; //static unsigned char lcd_current_frame=0; //El frame actual unsigned char gb_lcd_current_frame=0; //El frame actual int gb...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <assert.h> #include <string.h> #ifdef VALDEB #include <valgrind/callgrind.h> #endif #include "types.h" #include "display.h" #ifndef PTSLIM #define PTSLIM 300000 #endif // c-sim of accelerated functions int in_circle(float *inne...
#include "ann.h" std::vector<int> readConfig(std::string fileName){ std::vector<int> configValue; std::ifstream config; config.open(fileName.c_str(), std::ios::out); //read config file int value; while (config >> value) { configValue.push_back(value); } return configValue; } //==================== ...
#include "../stdafx.h" #include <FL/Fl.H> #include <FL/gl.h> #include <FL/glu.h> #include <FL/Fl_Window.H> #include <FL/Fl_Output.H> #include <FL/Fl_Check_Button.H> #include <FL/Fl_Round_Button.H> #include <FL/Fl_Group.H> #include <FL/Fl_Menu_Bar.H> #include <FL/Fl_Sys_Menu_Bar.H> #include <FL/Fl_Menu_Item.H> #include ...
#include "Common.h" #include "DebugWidgets.h" #include "Camera.h" #include <Vlk_VertexBuffer.h> #include <Vlk_IndexBuffer.h> #include <Vlk_Pipeline.h> #include <Vlk_DescriptorSetLayout.h> #include <Vlk_ShaderModule.h> #include <Vlk_GraphicsPipeline.h> #include <Vlk_DescriptorPool.h> #include <Vlk_CommandPool.h> using...
/* LICENSE ------- Copyright 2005 Nullsoft, 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 must retain the above copyright notice, this list of conditio...
#include <cmath> #include <map> #include "digger.hpp" #include "sdl_wrapper.hpp" #include "world.hpp" #include "block.hpp" #define UP_PRESSED (key_states[SDL_SCANCODE_UP]) #define DOWN_PRESSED (key_states[SDL_SCANCODE_DOWN]) #define RIGHT_PRESSED (key_states[SDL_SCANCODE_RIGHT]) #define LEFT_PRESSED (key_states[SDL_S...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <fcntl.h> #include <unistd.h> #include <sys/mman.h> #include <errno.h> #include <sys/ioctl.h> /////////////////// OLED ////////////// #define OLEDRGB_WIDTH 96 #define OLEDRGB_HEIGHT 64 #define OLEDRGB_CHARBYTES 8 // Nu...
#include <cpl_port.h> #include <gdal.h> #include <gdal_priv.h> #include <ogr_api.h> #include <ogr_geometry.h> #include <ogr_srs_api.h> #include <cpl_string.h> #include <Rcpp.h> #include "gdal_read.h" #include "gdal_sf_pkg.h" using namespace Rcpp; CharacterVector get_meta_data(GDALDatasetH ds, CharacterVector domain...
#include <SHADERed/Objects/Names.h> #ifdef _WIN32 #include <windows.h> #endif #include <GL/glew.h> #if defined(__APPLE__) #include <OpenGL/gl.h> #else #include <GL/gl.h> #endif const char* TOPOLOGY_ITEM_NAMES[] = { "Undefined", "PointList", "LineList", "LineStrip", "TriangleList", "TriangleStrip", "LineListAdje...
/** @file Streaming.cpp @brief Soapy SDR + IConnection streaming interfaces. @author Lime Microsystems (www.limemicro.com) */ #include "SoapyLMS7.h" #include "lms7_device.h" #include <SoapySDR/Formats.hpp> #include <SoapySDR/Logger.hpp> #include <SoapySDR/Time.hpp> #include <thread> #include <iostream> #include <algor...