text
stringlengths
8.71k
38.4k
/****************************************************************************** * * EXPRESS RECEIVER by AD5GH * (http://www.expressreceiver.com) * ARDUINO MEGA DISPLAY & CONTROL BOARD SOFTWARE * VFO ROUTINES * * Copyright 2017 <NAME> AD5GH * Distributed under the terms of the MIT License: * http://www.opensource.org/li...
#include <nnpack/fft.h> #include <ref/fft/complex-ref.h> /** * From * * g[ n] = 0.5 (w[ n] + conj w[-n]) * g[-n] = 0.5 (w[-n] + conj w[ n]) = conj g[n] * h[ n] = -0.5i (w[ n] - conj w[-n]) * h[-n] = -0.5i (w[-n] - conj w[ n]) = conj h[n] * * ...and... * * w[ n] = g[ n] + h[ n] * conj CEXP_nPI_OVER_N * w...
/* Copyright 2018 Intel 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 law or agreed to in writing, ...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <math.h> #include <unistd.h> #include <pthread.h> #include <raikv/shm_ht.h> #include <raikv/key_buf.h> #include <raikv/zipf.h> using namespace rai; using namespace kv; SignalHandler sighndl; struct Results { ...
// CollisionTools.cpp // <NAME>, June 2012 // // Collection of basic functions to determine intersection, containment, etc. // See also http://www.sfml-dev.org/wiki/en/sources/simple_collision_detection #include "CollisionTools.h" #include <limits> #include "ConsoleMsg.h" #include "TEALShow.h" #include "Tool...
/*****************************************************************************/ /* CascRootFile_TVFS.cpp Copyright (c) <NAME> 2018 */ /*---------------------------------------------------------------------------*/ /* ROOT handler for TACT VFS manifest format (root) */ /* Note: ...
/* -*- C++ -*- */ /*============================================================================= // // // This file is part of the TypeAccess/C-Super-Script software package. // // // // Copyright (C) 1995 <NAME>, <NAME>, // // <NAME>, and Carnegie Mellon University ...
#include "get_terminal_signal.h" #ifndef SWC_RADIUS #define SWC_RADIUS 5 #endif #ifndef BX #define BX 200 #endif #ifndef BY #define BY 200 #endif #ifndef BZ #define BZ 40 #endif #ifndef RX #define RX 0.2 #endif #ifndef RY #define RY 0.2 #endif #ifndef RZ #define RZ 1 #endif #ifndef NODE_RADIUS #define NODE_RADIUS 1...
#include <bits/stdc++.h> using namespace std; class Node{ public: int data; pair<int, int> index; vector<pair<int, int>> neighbours; vector<pair<int,int>> axis_mapping; Node(){ this->data = 0; this->index.first = -1; this->index.second = -1; for(int i=0;...
#include "LVGLStyle.h" #include <QColor> #include <QDebug> #include "LVGLCore.h" #include "LVGLObject.h" using lv_font_ref = const lv_font_t*; LVGLStyleItem::LVGLStyleItem(QString name, LVGL::StyleParts stylePart, LVGLStyleItem* parent) : m_name(name), m_parent(parent), ...
// Copyright <NAME> 2020 - 2021. // Distributed under the Boost Software License, Version 1.0. // // sitegen.cpp - docgen #include "pch.h" #pragma hdrstop using namespace std; using namespace Dim; /**************************************************************************** * * Declarations * ***/ namespace { st...
/* Read Zesto configuration file and store settings in the knobs structure. * See the header for any relevant documentation. * * Author: <NAME> */ #include <cmath> #include <iostream> #include <string> #include <sstream> #include "confuse.h" #include "core_const.h" #include "misc.h" #include "knobs.h" #include "...
#include "DX11Renderer.h" #include <string> #include <vector> #include <d3d11_1.h> #include <d3dcompiler.h> #include <directxmath.h> #include <directxcolors.h> #include "../Src/Collision/GeometryObject.h" #include "../Src/CollisionPrimitive/AxisAlignedBox3d.h" #include "../Src/CollisionPrimitive/Sphere3d.h" #include...
//===-- AlphaISelDAGToDAG.cpp - Alpha pattern matching inst selector ------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "ads129xDriver.h" #include <Arduino.h> #include <SPI.h> #if ADS_LIBRARY_VERBOSE_LEVEL > 0 // Code are wrapped in {} because must be treated as one line of code #define _ADS_WARNING(msg) \ {Serial.print("Warning: "); \ Serial.println(msg); \ Serial.println("Stopping program execution"); \ while ...
/* * See Copyright Notice in main.h */ #include <stdio.h> #include <math.h> #include "main.h" const float FPS = 60.0; // Maximum FPS. const int SCREEN_W = 800; const int SCREEN_H = 600; const int MORPH_W = 128; // Width of the morph. Should be at most the width of the input image. const int ...
#include "soft_render.h" #include <GLFW/glfw3.h> #include <glad/glad.h> #include <iostream> #include <iomanip> const char *vertexShaderSource = R"( #version 330 core layout (location = 0) in vec3 aPos; layout (location = 1) in vec3 aColor; layout (location = 2) in vec2 aTexCoord; out vec3 ourCol...
/* * radar_simulator.cpp * * Created on: Feb 25, 2017 * Author: fpregernik */ #include <stdio.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <sys/mman.h> #include <fstream> #include <iostream> #include <iomanip> #include <algorithm> using namespace std; #include "xilinx/xaxidma.h"...
/*! \file process.cpp * \brief MXF wrapping functions * * \version $Id$ * */ /* * 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...
#include <pugixml.hpp> #include <iostream> #include <cstdlib> #include <cstring> #include <cstdio> #include <direct.h> #include <vector> #include <fstream> #include <map> std::string stripChars(const std::string& aString) { std::string ret; const char* start = aString.c_str(); const char* end = aString.c_str() ...
int R, fCM /*P*/,zek , S95 ,zw7Yi2/*myF*/, t ,Jg ,tfB ,NA,Bbmb ,KFb , I5 , x ,y0M , tywxJ0 , yu,PyA//a , ucll , S9 ,fDt , RViy ,yGADm //sFh , OFDd , DOE, i70 , gmI ,gWG, euyF,PV, C3 , j8vv ,GOi , Z7SRX9 , WJkW,Izu , FKtL, KI, U, ACba ,vZhBq, Ie , D7E ,pP /*O*/, b, qI , TB4 , rES,/*t*/ ...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distributed in the hope that it will be us...
#include "USocket.h" #include <boost/system/error_code.hpp> #include <nar/lib/Exception/Exception.h> #include <string> #include <iostream> #include "Packet.h" #include <thread> #include <random> #include <limits> #include <nar/narnode/File/File.h> #include <boost/date_time/posix_time/posix_time.hpp> #include <map> #inc...
/** * \package: MuonIdentification * \class: MuonCosmicCompatibilityFiller * * Description: class for cosmic muon identification * * * \author: <NAME>, Purdue University * \author: <NAME>, Purdue University * \author: <NAME>, Purdue University * **/ // system include files #include <memory> #include <...
#include "interactive.h" #include <Tempest/Painter> #include <Tempest/Log> #include "game/serialize.h" #include "graphics/mesh/skeleton.h" #include "graphics/mesh/pose.h" #include "world/objects/npc.h" #include "world/world.h" #include "utils/fileext.h" #include "utils/dbgpainter.h" Interactive::Interactive(Vob* par...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016 Couchbase, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * h...
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
/* * window_covering.cpp * * * * * ZigBee Home Automation Public Application Profile Document 05-3520-29 * Chapter 9.3 Window Covering Cluster * * Cluster Id 0x0102 Window Covering Cluster * Attributes * 0x0000 enum8, WindowCoveringType * 0x0003 unsinged16, CurrentPositionLift * 0x0004 unsinged16, Cur...
// Copyright (c) 2019 Graphcore Ltd. All rights reserved. #include "popsparse/experimental/BlockSparseMatMul.hpp" #include "BSMatrix.hpp" #include "BSOps.hpp" #include "HyperGraphBlockGroup2.hpp" #include "HyperGraphBlockNaive.hpp" #include "HyperGraphBlockZoltan.hpp" #include "HyperGraphStrip.hpp" #include "HyperGrap...
// // Created by kot4or on 8/8/16. // #include "annotation_reader.h" map <string, string> split_attributes (string line){ map <string, string> attribute_map; vector<string> attributes_array = split_line(line, "; "); assert (attributes_array.size() % 2 == 0); // check if attributes forms key value structur...
/** * Copyright (C) 2019 LEIDOS. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this plogFile 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 t...
/* * This file was generated with gl3w_gen.py, part of gl3w * (hosted at https://github.com/skaslev/gl3w) * * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either in source code form or as a ...
//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~//~~~~~~~~~~~~~~~~~~~~~// // Arcane-FX for MIT Licensed Open Source version of Torque 3D from GarageGames // Copyright (C) 2015 Faust Logic, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and ...
// Upgrade a single Envoy C++ file to the latest API version. // // Currently this tool is a WIP and only does inference of .pb[.validate].h // #include locations. This already exercises some of the muscles we need, such // as AST matching, rudimentary type inference and API type database lookup. // // NOLINT(namespace...
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2011 Centre Tecnologic de Telecomunicacions de Catalunya (CTTC) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Fre...
int z3 , /**/HeNB/*9*/ , w6F4, jV,LyH ,fSf,k , bA0 ,Vrt , eF ,BV , iDn, yaZMPS , BnOk, y, b , zZQ//s8 , vY ,oa,kqtrEm ,uX,wNmDt ,wH1 , //dKb5 dt , DYy3,IeNc, m3G5Y , lq1/*aG*/, E2 , Wi,Di,//XDb D, Z, cJNyu ,b8, i4, bS,Fkb , //s Mlg , P, txx ,zMNwb, tzlSO//A , KK,hjFKl ;void f_f0 () {vol...
/* Copyright (c) <2003-2019> <Newton Game Dynamics> * * 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, * includi...
/* * VoodooWirelessCipher_WEP.cpp * VoodooWireless * * Created by <NAME> on 07/07/09. * Copyright 2009 <NAME>. All rights reserved. * * Portions based on FreeBSD net80211. Copyright follows: * * Copyright (c) 2002-2007 <NAME>, Errno Consulting * All rights reserved. * * Redistribution and use in source ...
/*! @file OpenEffectsBox.cpp This is part of Ch<NAME>'s implementation of firmware for the [OnkartGromt OpenEffects Project hardware](http://openeffectsproject.com/). Written by <NAME>, PhD, Department of Electrical and Computer Engineering, UMass Amherst. January 27, 2018 BSD license, all text h...
//===- LowerCHIRRTL.cpp -----------------------------------------*- C++ -*-===// // // 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 //===------------------------------...
// headers #include "main.h" #include "model.h" // public members to this object static Assimp::Importer importer; // helper functions mat4 assimpTomat4(aiMatrix4x4 m) { return mat4( vec4(m.a1, m.b1, m.c1, m.d1), vec4(m.a2, m.b2, m.c2, m.d2), vec4(m.a3, m.b3, m.c3, m.d3), vec4(m.a4, m.b4, m.c4, m.d4) ); } ...
/* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copy...
#include <cstdio> #include <algorithm> #include <cassert> #include <chuffed/core/options.h> #include <chuffed/core/engine.h> #include <chuffed/core/sat.h> #include <chuffed/core/propagator.h> #include <chuffed/mip/mip.h> #include <chuffed/parallel/parallel.h> #include <iostream> #include <sstream> #include <fstream> ...
#include "ofApp.h" #include <stdio.h> #include "Poco/Timestamp.h" #include <algorithm> //-------------------------------------------------------------- void ofApp::setup() { ofLogToConsole(); writeOfxEmotiBitVersionFile(); ofSetWindowTitle("EmotiBit Data Parser (v" + ofxEmotiBitVersion + ")"); #ifdef TARGET_MAC_OS...
/** * @file detection-minetto.cpp * @author <NAME> * @author <NAME> <<EMAIL>> * @date 10/03/2015 */ #define _DLEVEL SNOOPERTEXT_DLEVEL #include <assert.h> #include <limits.h> #include <math.h> #include "detection-minetto.h" #include "grouping/grouping.h" #include "seg/toggle.h" #include "config.h" #include "lan...
// // StarGeo.cpp // // Created by <NAME> on 7/30/15. // Copyright (c) 2015 SungLab. All rights reserved. // #include "StarMesh.h" void StarGrid::update() { unsigned int idx_grid = 0; for(int i=1; i<(height); i++) { for(int j=1; j<width; j++) { idx_grid = i*(width+1)+j...
// MFEM modified from Example 10 and 16 // // Compile with: make imMHDp // // Description: It solves a time dependent resistive MHD problem // There are three versions: // 1. explicit scheme // 2. implicit scheme using a very simple linear preco...
#include "octave.h" #include <cstring> #include <climits> #include "random.h" const Grad SimplexNoise_octave::grad3[12] = {Grad(1,1,0), Grad(-1,1,0), Grad(1,-1,0), Grad(-1,-1,0), Grad(1,0,1), Grad(-1,0,1), Grad(1,0,-1), Grad(-1,0,-1), Grad(0,1,1), Grad(0,-1,1), Grad(0,1,-1)...
/*! \file Peridigm_Material.cpp */ //@HEADER // ************************************************************************ // // Peridigm // Copyright (2011) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government ...
/*************************************************************************/ /* */ /* Centre for Speech Technology Research */ /* University of Edinburgh, UK */ /* ...
/** ########################################################################## # If not stated otherwise in this file or this component's LICENSE # file the following copyright and licenses apply: # # Copyright 2019 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
#include <iostream> #include <fstream> #include <vector> extern "C" { #include "OCUCP-PF-Container.h" #include "OCTET_STRING.h" #include "asn_application.h" #include "E2SM-KPM-IndicationMessage.h" #include "FQIPERSlicesPerPlmnListItem.h" #include "E2SM-KPM-RANfunction-Description.h" #include "Timesta...
#include <iostream> #include <vector> #include <string> #include <ctime> #include <pcl/io/pcd_io.h> #include <pcl/kdtree/kdtree_flann.h> #include <ros/ros.h> #include <rosbag/bag.h> #include <rosbag/view.h> #include <sensor_msgs/PointCloud2.h> #include <pcl_conversions/pcl_conversions.h> #include "TicToc.h" #include "L...
#include <algorithm> #include <iostream> #include "vehicle.h" #include <cmath> #include <map> #include <string> #include <iterator> #include "helpers.h" #include "planner.h" #include "spline.h" const map<Planner::FSM, int> lane_direction = {{Planner::FSM::PLCL, -1},{Planner::FSM::LCL, -1},{Planner::FSM::PLCR, 1},{Pla...
/* * 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, distribute, sublicense, and/or s...
/* ========================================================================= Copyright (c) 2010-2016, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU Wien. Portions of this software are copyright by UChicago Argonne, LLC. ...
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include "road_vehicle.h" #include "simroadtraffic.h" #include "../bauer/goods_manager.h" #include "../bauer/vehikelbauer.h" #include "../boden/wege/strasse.h" #include "../dataobj/schedule.h" #include "../dataobj/t...
//-------------------------------------------------------------------------- // MIT License // // Copyright (c) 2021 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restr...
/* * Straightforward WAV reading. This only supports 8-bit and 16-bit PCM, * 4-bit ADPCM with one or two channels. No other decompressors are planned: * this format is only useful for fast uncompressed audio, and ADPCM is only * supported to retain compatibility. * * http://www.saettler.com/RIFFNEW/RIFFNEW.htm...
#include <math.h> #include <string.h> #include <stdio.h> #include <rtsLog.h> #include <daqModes.h> #include <TPX/tpx_altro_to_pad.h> #include "tpxCore.h" #include "tpxStat.h" //#include <thread_dbg.h> #define TLOG() #define QA_TB_START 147 #define QA_TB_STOP 153 #define QA_CHARGE 640.0 static const int fee_che...
/*========================================================================= Program: Bias Field Correction in the LR images given a global bias field and slice motion parameters Language: C++ Date: $Date: 2016-28-06 15:00:00 +0100 (Tuesday, 28 June 2016) $ Version: $Revision: 1 $ Author: $<NAME>$ Copyright (c) 2017 M...
/* * Copyright 2004, <NAME> - Lit Window Productions, http://www.litwindow.com * This file is part of the Lit Window Library. All use of this material - copying * in full or part, including in other works, using in non-profit or for-profit work * and other uses - is governed by the licence contained in the Lit Win...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
// Based on the source code by <NAME> and <NAME> on 22nd August 2007 // Based on the paper entitled "Fast three-dimensional phase-unwrapping algorithm based on sorting by reliability following a noncontinuous path" // by <NAME>, <NAME>, <NAME>, and <NAME>, published in the Applied Optics, Vol. 46, No. 26, pp. 6623-66...
// legacy dump format (implementation) // Copyright 2018 The NeoPG developers // // NeoPG is released under the Simplified BSD License (see license.txt) #include <neopg-tool/cli/packet/dump/legacy_dump.h> #include <neopg/openpgp/public_key/data/v3_public_key_data.h> #include <neopg/openpgp/public_key/data/v4_public_k...
//===- Writer.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 // //===---------------------------...
/* * MIT License * * Copyright (c) 2014 <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, m...
#include "testcode.h" /* Testcode::Testcode() { } Testcode::~Testcode() { } */ /* 1. 求出图象的最大灰度值和最小灰度值,分别记为ZMAX和ZMIN,令初始阈值T0=(ZMAX+ZMIN)/2; 2. 根据阈值TK将图象分割为前景和背景,分别求出两者的平均灰度值ZO和ZB; 3. 求出新阈值TK+1=(ZO+ZB)/2; 4. 若TK=TK+1,则所得即为阈值;否则转2,迭代计算。 */ int Testcode::AdaptiveThreshold(int t, IplImage *Ima...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright 2000-2006 The OGRE Team Also see acknowledgements in Readme.html This program is free software; you...
/** * Touhou Community Reliant Automatic Patcher * Main DLL * * ---- * * SHA-256 hash implementation * From https://web.archive.org/web/20120415202539/http://bradconte.com:80/sha256_c.html */ #include "thcrap.h" #if defined _MSC_VER #include <intrin.h> #endif #include "sha256.h" typedef struct { u...
/** TYPICAL COMMANDS: high-viwi start high-viwi get {"name":"/car/doors/"} high-viwi get {"name":"/car/doors/6078d4-23b89b-8faaa9-8bd0f3"} high-viwi get {"name":"/car/doors/","fields":["isDoorOpen"]} high-viwi subscribe {"name":"/car/doors/6078d4-23b89b-8faaa9-8bd0f3"} note: fields parameter on subscribe is not impleme...
/*************************************************************** * * Copyright (C) 1990-2010, 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 <algorithm> #include <array> #include <cassert> #include <cstdio> #include <iostream> #include <limits> #include <memory> #include <random> #include <tuple> #include <vector> #include <stdio.h> #include <unicorn/unicorn.h> #include <capstone/capstone.h> #include <arm/ARMArch.h> #include <arm/ARMDisassembler....
//Copyright 2015 <NAME> RoboJackets // //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 w...
/* Portions of this code are Copyright (c) 2011, <NAME> <<EMAIL>> 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 o...
#include <ctype.h> #include "debugger.h" #include "debugger.asm.h" #include "screen.h" #include "dialog.h" #include "../system.h" #include "../specKeyboard.h" #define BREAKPOINTS_COUNT 4 #define TABSTOP_DUMP 5 #define TABSTOP_INST 15 #define TABSTOP_OPER 20 #define TWF_BRANCH 0x010000 #define TWF_BRADDR 0x020000 ...
#include <irrlicht.h> #include <iostream> #include <vector> #include "Node.h" #include"../_resources/irrlicht-1.8.3/include/vector3d.h" #include <driverChoice.h> #include "ShaderCallback.h" #include <string> #include <map> #include <algorithm> #include <assert.h> #include "MyEventReceiver.h" #define NODE_SIZE 0.3 #de...
// main.cc see license.txt for copyright and terms of use // entry-point module for a program that parses C++ #include <iostream.h> // cout #include <stdlib.h> // exit, getenv, abort #include <fstream.h> // ofstream #include "trace.h" // traceAddSys #include "parssppt.h" // ParseT...
// 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 "net/disk_cache/blockfile/block_files.h" #include <limits> #include "base/atomicops.h" #include "base/files/file_path.h" #include "base/met...
/* * Created by <NAME>. * Copyright (c) <NAME> 2017 All rights reserved. * * This file is part of HOG2. * * HOG2 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 *...
/** @file Connection_uLimeSDRing.cpp @author <NAME> @brief Implementation of uLimeSDR board connection (streaming API) */ #include "Connection_uLimeSDR.h" #include "fifo.h" #include <LMS7002M.h> #include <iostream> #include <thread> #include <chrono> #include <algorithm> #include <complex> #include <ciso64...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrVkGpuCommandBuffer.h" #include "GrFixedClip.h" #include "GrMesh.h" #include "GrOpFlushState.h" #include "GrPipeline.h" #include "GrRenderTargetPriv.h" #include "GrText...
#include "stdafx.h" #include "../../xrEngine/igame_persistent.h" #include "../../xrEngine/environment.h" #pragma pack(push,4) struct v_build { Fvector4 p; Fvector2 uv0; Fvector2 uv1; Fvector2 uv2; Fvector2 uv3; }; struct v_filter { Fvector4 p; Fvector4 uv0; Fvector4 uv1; Fvector4 uv2; Fvector4 uv3; Fvecto...
//===- AArch64FrameLowering.cpp - AArch64 Frame Information ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (C) 2007-2013 Team XBMC * http://xbmc.org * * 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, or (at your option) * any later version. * * ...
// pid.C -- pid for March version of the ETF project #include <iostream> #include <cstdlib> #include "TFile.h" #include "TTree.h" #include "TGraph.h" #include "TH1F.h" #include "TH2F.h" const double alpha = 0.61803398874989484820458683436565; // the Golden Cut ratio const double Pi = 3.14159265358979323846; const dou...
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2015-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 without restriction, including without l...
/* FILE: twosurfaceexchange.cc -*-Mode: c++-*- * * Long range (RKKY-style) exchange energy on links across spacer * layer, with surface (interfacial) exchange energy coefficents * sigma (bilinear) and sigma2 (biquadratic). * */ #include "nb.h" #include "director.h" #include "mesh.h" #include "meshvalu...
/* ** Copyright 2014-2015 Centreon ** ** 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 t...
#include <iostream> using namespace std; #include <algorithm> #include <stdio.h> #include <vector> #include <string> void key_word(string a, vector<vector<vector<pair<char, int> > > > &graph){ graph.push_back(vector<vector<pair<char, int> > >()); // add row int rowNo = graph.size() - 1; for (int i = 0; i < a.size()...
/* Copyright (c) 2020 Themaister * * 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, *...
/* Resembla https://github.com/tuem/resembla Copyright 2017 <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...
// // Material.cpp // AxiSEM3D // // Created by <NAME> on 3/29/20. // Copyright © 2020 <NAME>. All rights reserved. // // material properties // generator of Acoustic and Elastic in core #include "Material.hpp" // constructor #include "ExodusMesh.hpp" #include "geodesy.hpp" #include "vector_tools.hpp" // rele...
#include <cstdint> #include <iostream> #include <memory> #include <vector> #include <algorithm> #include "tinyxml2/tinyxml2.h" #include <logvisor/logvisor.hpp> #ifndef _WIN32 #include <cstdlib> #include <sys/stat.h> #include <sys/file.h> #include <sys/ioctl.h> #include <dirent.h> #include <fcntl.h> #include <unistd.h...
#include <common.h> #include <game.h> #include <g3dhax.h> #include <sfx.h> #include <stage.h> #include "boss.h" class daFuzzyBear_c : public daBoss { int onCreate(); int onDelete(); int onExecute(); int onDraw(); mHeapAllocator_c allocator; m3d::mdl_c bodyModel; nw4r::g3d::ResFile resFile; m3d::anmChr_c anim...
#ifdef USE_OPENCV #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #endif // USE_OPENCV #include <stdint.h> #include <vector> #include <random> #include <boost/algorithm/string.hpp> #include <boost/filesystem.hpp> #include <boost/locale.hpp> #include "ca...
// Dear ImGui: standalone example application for GLFW + OpenGL 3, using programmable pipeline // (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan/Metal graphics context // creation, etc.) If you are new to Dear ImGui, read documentation from the docs/ folder + read the top ...
/**************************************************************************** * Copyright (c) 2021, CEA * 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 retai...
/****************************************************************************** ** Copyright (C) 1998 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: <NAME> ** ** Date: 98/01/01 ** ** File: mw_decon...