text
stringlengths
8.71k
38.4k
// -*- C++ -*- // // Package: CondTools/SiStrip // Class: SiStripNoiseVisualizer // /**\class SiStripNoiseVisualizer SiStripNoiseVisualizer.cc CondTools/SiStrip/plugins/SiStripNoiseVisualizer.cc Description: Creates a ROOT file with per-module profiles of Noise and Pedestals vs strip number */ // // Or...
#include "rtc_dtls.hpp" #include "logger.hpp" #include "webrtc_session.hpp" #include "srtp_session.hpp" #include <string> #include <stdio.h> #include <openssl/asn1.h> #include <openssl/bn.h> #include <openssl/err.h> #include <openssl/evp.h> #include <openssl/rsa.h> #include <openssl/ssl.h> static const size_t SRTP_M...
#include <quiz.h> #include <string.h> #include <assert.h> #include <apps/shared/global_context.h> #include "../model/model.h" #include "../regression_context.h" #include "../store.h" #include <poincare/helpers.h> #include <poincare/trigonometry.h> #include <poincare/test/helper.h> using namespace Poincare; using names...
#include "TileEngine/RenderDirty.h" #include <stdarg.h> #include <stdexcept> #include <vector> #include "Local.h" #include "SGP/Debug.h" #include "SGP/Font.h" #include "SGP/MemMan.h" #include "SGP/VObjectBlitters.h" #include "SGP/VSurface.h" #include "SGP/Video.h" #include "TileEngine/RenderWorld.h" #include "TileEng...
#include <proxemics_anytimerrts/thetastar_leading_rrt.h> #include <costmap_2d/cost_values.h> using namespace costmap_2d; #define DEBUG_LISTS 0 #define DEBUG_LIST_LENGTHS_ONLY 0 /// Initialize static Grid member Grid* Grid_planner::grid_ = NULL; Grid_planner::Grid_planner(const ros::NodeHandle& node, base_local_...
/* * Copyright (C) 2012-2014 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 b...
/////////////////////////////////////////////////////////////////////////////// // FILE : 3D.cpp // SYNOPSIS : Template file for all 3D coding prototypes. // LICENSE : MIT /////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////...
#include "gtest/gtest.h" #include "../IETest.h" #include "IEUtility/IEMath.h" #include "IEUtility/IEMatrix4x4.h" #include "IEUtility/IEVector3.h" #include "IEUtility/IEVector4.h" #include "IEUtility/IEQuaternion.h" static IEMatrix4x4 testMatrix( 1.0f, 5.0f, 9.0f, 13.0f, 2.0f, 6.0f, 10.0f, 14.0f, 3.0f,...
#include <Rcpp.h> #include "main.h" using namespace Rcpp; using namespace std; struct patients//Structure containing individual patient data for cohort { int status; //Infection group - 0=S, 1=T, 2=D, 3=A, 4=U, 5=P int na, num_het; //Age and heterogeneity groups double IB, IC, ID; //Immunities int infected; ...
/* Bullet Continuous Collision Detection and Physics Library Ragdoll Demo Copyright (c) 2007 Starbreeze Studios 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 ...
#include "trace_executor.hpp" #include "retracer.hpp" #include <retracer/glws.hpp> #include <retracer/retrace_api.hpp> #include "retracer/value_map.hpp" #include "jsoncpp/include/json/writer.h" #include "jsoncpp/include/json/reader.h" #include <limits.h> #include <zlib.h> #include <errno.h> #include "common/base64...
//===- ClangOpenCLBuiltinEmitter.cpp - Generate Clang OpenCL Builtin handling // // The LLVM Compiler Infrastructure // // 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...
/*! @file */ /* Copyright (C) 2008, kobake Copyright (C) 2018-2021, Sakura Editor Organization 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 th...
/* This file is part of PyMesh. Copyright (c) 2015 by <NAME> */ #include "PeriodicBoundaryRemesher.h" #include <cassert> #include <functional> #include <iostream> #include <vector> #include <Core/Exception.h> #include <IO/MeshWriter.h> #include <Mesh.h> #include <MeshFactory.h> #include <MeshUtils/Boundary.h> #includ...
/*************************************************************************/ /* starfield.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* Renegade Scripts.dll Copyright 2017 <NAME> This file is part of the Renegade scripts.dll The Renegade scripts.dll 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 ...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2018-2019 <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 Soft...
//===--- GenDistributed.cpp - IRGen for distributed features --------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2020 - 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* * Copyright 2020 OmniSci, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) <NAME> <<EMAIL>> * * modified by <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later ve...
#include <chrono> #include <thread> #include "../gl.h" #include "Display.h" #include "igl/igl_inline.h" #include <igl/get_seconds.h> #include "igl/opengl/glfw/renderer.h" #include <glad/glad.h> #include <GLFW/glfw3.h> #include <external/stb/stb_image.h> #include <external/glm/glm.hpp> #include <external/glm/gtc/mat...
#include "bio-classes.h" vector<string> split(string str, char delimiter) { vector<string> internal; stringstream ss(str); // Turn the string into a stream. string tok; while(getline(ss, tok, delimiter)) { internal.push_back(tok); } return internal; } void replaceAll(std::string& str, const st...
#include "Configuration.h" #include "Application.h" #include "Module.h" #include "ModuleWindow.h" #include "ModuleInput.h" #include "ModuleRenderer3D.h" #include "ModuleEditor.h" #include "ModuleFileSystem.h" #include "ModuleScene.h" #include "ComponentMaterial.h" #include "ComponentCamera.h" #include "ModuleSceneBase....
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif #include "util.h" #i...
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
/* * Copyright (c) <NAME> 2013. * The following source file belongs to the open-source project Pikifen. * Please read the included README and LICENSE files for more information. * Pikmin is copyright (c) Nintendo. * * === FILE DESCRIPTION === * Mob type class and mob type-related functions. */ #include <algori...
#include "common.h" #include "globalVars.h" #include "configFile.h" #include "fileElem.h" #include "kbGraph.h" #include "disambGraph.h" #include "wdict.h" #include "ukbServer.h" #include <string> #include <iostream> #include <fstream> #include <syslog.h> // Program options #include <boost/program_options.hpp> // tim...
/////////////////////////////////////////////////////////////////////////////////////// // Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP // // // // BINGER/inc/etf/TAMWDCArray/map.cxx // // map.cxx -- source file f...
/** * hdt_document.hpp * Author: <NAME> - MIT License 2017-2018 */ #include "hdt_document.hpp" #include "triple_iterator.hpp" #include <HDTEnums.hpp> #include <HDTManager.hpp> #include <SingleTriple.hpp> #include <fstream> #include <algorithm> #include <pybind11/stl.h> #include "../hdt-cpp-1.3.2/libhdt/src/triples...
#include <regex> #include "utils/format.hpp" #include "utils/input.hpp" #include "utils/string_utils.hpp" #include "utils/file_io.hpp" #include "psp_adpcm.hpp" #include "vag_conv.hpp" #include "phd.hpp" #include "snd_io/pcm.hpp" #include "snd_io/wav_io.hpp" namespace { static const uint32_t VERSION ...
int UVGX,EY, B3 , x, MX,/*TcJ*/oC, NpA ,Qj , zgO, Rus ,X //06 , zQd3,x8 , Y6 , zngn, mq, Z , ACmrS,x5Z, /**/ Z2j ,Fbl, u , gm, NkC/**/, EKg ,il, dC, rn12 ,QwS , cNi , fZPW,S, //pM y1R ,AeN4 , lop, gjU ,Woj ,/*6Qm2W*/CE; void f_f0 (){volatile int jSb , k, jw2,VtlJ , /*el*/g ,//9 E, Ztsai ,TTE, z0Gff...
#include "sfm.h" #include "matrix.h" #include "qsort.h" #include "util.h" #include "triangulate.h" #include "defines.h" #include "ImageData.h" #include "Localize.h" #include "defs.h" static int compare_doubles(const void *d1, const void *d2) { double a = *(double *) d1; double b = *(double *) d2; if (a < ...
#include "graph.h" #include <cmath> Graph::Graph(Graph_t graphType, int gridCol) : m_FDL_terminate(true), m_dupEdges(0) { m_gType = graphType; //m_opengl_mngr = opengl_mnger; FDL_initParameters(); // spatial hashing float gridMin = 0.0f; float gridMax = 1.0f; hashGrid = new SpatialHash(gridCol, gridMin, g...
/* Copyright (c) 1999 - 2010, Vodafone Group Services Ltd 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 condit...
/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * * 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 r...
/* * Copyright (C) 2017 <NAME> <<EMAIL>> * Copyright (C) 2017 Apple 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: * 1. Redistributions of source code must retain the above copyright ...
// BITSET2 // // Copyright <NAME> // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.com/ClaasBontus/bitset2 // #include <iostream> #include...
/* * psql - the PostgreSQL interactive terminal * * Copyright (c) 2000-2015, PostgreSQL Global Development Group * * src/bin/psql/help.c */ #include "postgres_fe.h" #ifndef WIN32 #include <sys/types.h> /* (ditto) */ #include <unistd.h> /* for geteuid() */ #else #include <win32.h> #endif #ifndef WIN32 #incl...
#include <QCoreApplication> #include <QSettings> #include <QDir> #include <QDesktopServices> #include <QJsonDocument> #include <QJsonArray> #include <QQmlContext> #include <QSqlQuery> #include <QQuickItem> #include <QApplication> #include <qtconcurrentmap.h> #include "kernel.h" #include "ilwisdata.h" #include "errorobj...
/* *** * kmain.cpp - C++ entry point for the kernel * Copyright (c) 2014-2021 <NAME> * See LICENSE for full details * e6af70ca */ #include "ktypes.hpp" #include "kio.hpp" #include "ktext.hpp" #include "dev/drivers.hpp" #include "dev/vgatext.hpp" #include "dev/fbtext.hpp" #include "dev/ps2.hpp" #include "dev/pci....
#include <algorithm> #include <set> #include "TH2F.h" #include "TROOT.h" #include "TXMLEngine.h" #include "PureGenUtils.hxx" #include "PlottingIO.hxx" #include "PlottingSelections.hxx" using namespace PlottingUtils; using namespace PlottingTypes; using namespace PlottingSelections; using namespace DataSpecifics; n...
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2017 <NAME> (<EMAIL>) // // 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 o...
//=========================================================================== /* Software License Agreement (BSD License) Copyright (c) 2003-2012, CHAI3D. (www.chai3d.org) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitt...
#include "main.h" // Legacy glf3.lib support #if defined(_MSC_VER) && (_MSC_VER >= 1900) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) #pragma comment(lib, "legacy_stdio_definitions") #endif void InitResources() { // Light light.position = sun.position; light.color = glm::vec3(1.0f, 1.0f, 0.8f); light.d...
/* * Copyright (C) 2010-2019 <NAME> * http://www.1f0.de * * 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 ve...
/* * SceneRendererES2.mm * WhirlyGlobeLib * * Created by <NAME> on 10/23/12. * Copyright 2011-2016 mousebird consulting * * 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 * htt...
/* File: threshold_tests.cpp ________________________________ Author(s): <NAME> (<EMAIL>) Edited By: <NAME> (<EMAIL>) This file is the Main file of the HapEE-Control project which send messages using the MAXON motor controller EPOS library to the EPOS controllers and measures forces/torques from the NI DAQ simultaneou...
/************************************************************/ /* NAME: <NAME> */ /* ORGN: UNH */ /* FILE: MarineMRAS.cpp */ /* DATE: 2015-12-06 */ /**********...
// Copyright 2013 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
// // laser_pulse.cpp // // Modified by <NAME> on 07/05/2015. // "laser_pulse" contains a time varying electric field. The intital conditions are passed to the // constructor and field can be updated as it propagates. // #include "mkl.h" #include <iostream> #include "../../Eigen/Dense" #include "laser_pulse.hpp"...
/** * @file * AllJoyn-Daemon Policy database class */ /****************************************************************************** * Copyright (c) 2010-2011, 2014, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or witho...
/* * Copyright 2011 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
/* * * Copyright (c) 2016 <NAME>, Inc. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
#include "dynmat.h" #include "math.h" #include "version.h" #include "global.h" extern "C" void zheevd_(char *, char *, long int *, doublecomplex *, long int *, double *, doublecomplex *, long int *, double *, long int *, long int *, long int *, long ...
/// @file /// @brief Converter of polarisation frames /// @details This is the class which handles polarisation frame conversion and contains some /// helper methods related to it (i.e. converting strings into Stokes enums). It may eventually /// replace or become derived from IPolSelector, which is not used at the mom...
// system include files #include <memory> #include <string> #include <vector> // Root objects #include "TROOT.h" #include "TSystem.h" #include "TFile.h" #include "TProfile.h" #include "TDirectory.h" #include "TTree.h" #include "TH1F.h" #include "TLorentzVector.h" #include "TInterpreter.h" //Tracks #include "DataForma...
int aoVr, JeE9 , BQx ,OMg, GOS,eA , AZ ,GF5 //x , //Xm hnP, RMdJY ,kh, OBg ,//d J , nfwUx, Mh,//2dm5 /*G7pU*/G , rR,j ,GJBW, RZ,L1i,Q78 ,og,ETUY, OiY ,v4mz , pbv ,RKtQ,Dj , yl55 ,pug , g5Zz , /*H*/Gy //PCcm ,Yn9f, nqj5 ,cGV , rE , HLsR,krx/*O*/, OC ,weR, xX , SX,o3Y3sM/*G*/ , w2Y , qK , ...
/* This file is part of Kismet Kismet 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. Kismet is distributed in the ...
// // Created by <NAME> on 10/31/15. // #include <sstream> #include <fstream> #include <iostream> #include <vector> #include <rapidxml.hpp> #include <memory> #include <algorithm> #include <stack> #include <queue> #include <string> #include "Preferences.hpp" #include "Assert.hpp" #include "Types.hpp" #include "Problem...
/* * (c) Copyright 2019 Xilinx, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
#include <common.h> int calc_nearest_node(NeuronTree neuron,float center_x,float center_y,float center_z) { float distance=1e6; int nearest_node_id=0; for (int i=0;i<neuron.listNeuron.size();i++) { float tmp_dis=(center_x-neuron.listNeuron[i].x)*(center_x-neuron.listNeuron[i].x)+ ...
/* Copyright 2012 to 2020 TeamWin This file is part of TWRP/TeamWin Recovery Project. TWRP 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 3 of the License, ...
/** * Copyright (c) 2015, <NAME>, Quintelligence d.o.o. and contributors * All rights reserved. * * This source code is licensed under the FreeBSD license found in the * LICENSE file in the root directory of this source tree. */ ////////////////////////////////////// // Simple-App-Server-Request-Environment voi...
/** * CernVM-FS is a FUSE module which implements an HTTP read-only filesystem. * The original idea is based on GROW-FS. * * CernVM-FS shows a remote HTTP directory as local file system. The client * sees all available files. On first access, a file is downloaded and * cached locally. All downloaded pieces are...
// // Created by qiaopc on 2021/8/30. // #include "MyAudio.h" MyAudio::MyAudio(Playstatus *playstatus, int sample_rate, CallJava *callJava) { this->callJava = callJava; this->playstatus = playstatus; this->sample_rate = sample_rate; this->isCut = false; this->end_time = 0; this->showPcm = fal...
/*! @file */ /* タイプ別設定 - ウィンドウ 2008.04.12 kobake CPropTypes.cppから分離 2009.02.22 ryoji */ #include "StdAfx.h" #include "CPropTypes.h" #include "env/CShareData.h" #include "typeprop/CImpExpManager.h" // 2010/4/23 Uchi #include "dlg/CDlgOpenFile.h" #include "CDlgSameColor.h" #include "CDlgKeywordSelect.h" #include "vi...
/*************************************************************************** * Copyright (C) 2008 by <NAME> * * <EMAIL> * * * * Permission is hereby granted, free of charge, to any person obtaining * * a copy of this software and a...
#pragma once #include <cmath> #include <cstdio> #include <cstdlib> #include <memory> #include <string> #include <vector> #if defined(__ARM_NEON__) || defined(__ARM_NEON) #define USE_ARM_NEON #include <arm_neon.h> #elif defined(__AVX2__) || defined(__MINGW64__) #define USEAVX2 #if defined(_MSC_VER) #includ...
/////////////////////////////////////////////////////////////////////////////// // SOFTWARE COPYRIGHT NOTICE AGREEMENT // // This software and its documentation are copyright (2013) by the // // Broad Institute. All rights are reserved. This software is supplied // ...
//************************************************************************** // Práctica 1 // // <NAME> 2013-2016 // // GPL //************************************************************************** #define DEBUG_IG_ON #include "stdlib.h" #include "stdio.h" #include <GL/glut.h> #include <array> #include <ctype.h> #in...
/*************************************************************************** * * $Id: StTpcDb.cxx,v 1.63 2015/05/17 22:53:52 fisyak Exp $ * * Author: <NAME> *************************************************************************** * * Description: This is the interface between the database and the offline *...
/** * \file PnlBrlyLocMap.cpp * job handler for job PnlBrlyLocMap (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 11 Jan 2021 */ // IP header --- ABOVE #ifdef BRLYCMBD #include <Brlycmbd.h> #else #include <Brlyd.h> #endif #include "PnlBrly...
struct HighwayPos { I32 angleInFifteens; Vector3 position; U32 count; }; struct GridLevel { U16 data[256][256]; }; struct Grid { GridLevel level[6]; }; I32 convertToGridPosRound(F32 worldPos) { I32 gridPos = 0; gridPos = (I32) ((worldPos / 2.0f) + 127.5f); if (gridPos < 0 || gridPos >= 256) { return -1;...
// CZI. #include "CellGraph.hpp" #include "color.hpp" #include "CZI_ASSERT.hpp" #include "deduplicate.hpp" #include "iostream.hpp" #include "iterator.hpp" #include "SimilarPairs.hpp" #include "timestamp.hpp" using namespace ChanZuckerberg::ExpressionMatrix2; // Boost libraries. #include "boost_lexical_cast.hpp" #inclu...
// 2D distance tests. #ifdef NDEBUG #undef NDEBUG //this testsuite requires NDEBUG to be not defined #endif #include <CGAL/Simple_cartesian.h> #include <CGAL/Simple_homogeneous.h> #include <vector> #include <iostream> #include <cassert> const double epsilon = 0.001; struct randomint { randomint() ; int ...
#define Uses_TKeys #define Uses_TEvent #include <tvision/tv.h> #include <internal/codepage.h> #include <internal/getenv.h> #include <internal/utf8.h> #include <array> using std::unordered_map; using std::string_view; using std::array; /* The Turbo Vision library has all its characters encoded in code page 437. * Whi...
/*========================================================================* * * * Distributed by Whiteley Research Inc., Sunnyvale, California, USA * * http://wrcad.com * * Copyright (...
// // main.cpp // ConnectedComponents // // Created by chenjie on 2020/9/10. // Copyright © 2020 chenjie. All rights reserved. // #include <iostream> #include <vector> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> // How many iterations of erosion and/or dilation the...
#include "condor_common.h" #include "condor_config.h" #include "condor_debug.h" #include "subsystem_info.h" #include "condor_uid.h" #include <string> #include <stdio.h> #include <unistd.h> #include <pthread.h> #include "PipeBuffer.h" #include "TimeSensitiveQueue.h" #include <curl/curl.h> #include <vector> #include ...
#include <vector> #include <iostream> #include <time.h> #include <cmath> #include <math.h> #include <stdlib.h> #include "transform2D.h" #include "object2D.h" #include "lab_m1/Tema1/Tema1.h" using namespace std; using namespace m1; /* * To find out more about `FrameStart`, `Update`, `FrameEnd` * and the order in...
// Gillespie simulation // for the evolution of parental effects // given mortality vs fecundity selection #include <ctime> #include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <string> #include <cmath> #include <cassert> #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> #include ...
#define __USE_GNU #include <errno.h> #include <getopt.h> #include <signal.h> #include <stdbool.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <linux/audit.h> #include <linux/filter.h> #include <linux/seccomp.h> #include <sys/mman.h> #i...
// Source file for the simple file conversion algorithm // include files #include "Neuron/Neuron.h" // program arguments static int print_verbose = 0; static int print_debug = 0; // global variables static NeuronData *nd; static char *input_filename = NULL; // directory structure static const char *fea...
// // Copyright (c) 2016 Advanced Micro Devices, Inc. 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 /...
// // ******************************************************************** // * License and Disclaimer * // * * // * The Geant4 software is copyright of the Copyright Holders of * // * the Geant4 Collaboration...
// @HEADER // ************************************************************************ // // Intrepid Package // Copyright (2007) Sandia Corporation // // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive // license for use of this work by or on behalf of the ...
/* Copyright (c) 2012 BDT Media Automation GmbH * * 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...
/*************************************************************************************************** * Copyright (c) 2011-2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are not permit- * ted. * * THIS SOFTWARE IS PROVIDED BY THE...
#include <GL/glut.h> #include <GL/gl.h> #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string> #include <cmath> using namespace std; int window_id = -1; bool pause = false, backfaces = false; int cmd_top = 0; int WINDOW_HEIGHT = 0, WINDOW_WIDTH = 0; float Hither = 0, Yon = 0, Hav...
#include "RLEncryptor02.h" #include <string.h> // The algorithm is very security, it has 2 layers // 1) first layer - modified SEAL 3.0 with 160 bits key, ByteReverse() was modifyed // 2) second layer - designed by maximp, Rotation input stream with state variable // // it's very fast about 9 sec for Encrypt+Decrypt...
#include <stdio.h> #include <dirent.h> #include <iostream> #include <string> #include <list> #include <math.h> #include "spn.h" using namespace std; int complete_analysis(int argc, char* argv[]); int simple_analysis(int argc, char* argv[]); std::string pathAppend(const std::string& p1, const std::string& p2); int ana...
/** * @file Superpixel.cxx * @author <NAME> * @brief * * @date 2020-07-31 * * */ #include "painty/image/Superpixel.hxx" #include <random> #include "math.h" #include "painty/core/Color.hxx" namespace segmentation_details { static void drawContoursAroundSegments(painty::Mat3d& image, ...
#include "FindIntersections.h" #pragma warning (push) #pragma warning (disable : 4996) #include <CL/cl.hpp> #pragma warning (pop) #include "omp.h" #include <fstream> #include <algorithm> #include <iostream> #include <chrono> #include "oclUtils.h" size_t nocl_findTrianglesIntersections(std::vector<cl_float4> p00, s...
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
// ------------------------------ // Decompiled by Hybrid // 1.01.00 // ------------------------------ #include "stdafx.h" #include "WinConsole.h" #include "TLog.h" #include <commdlg.h> // menu items #define IDM_WINCONS_EXIT 3000 #define IDM_WINCONS_SAVE 3001 #define IDM_WINCONS_CLEAR 3002 #define IDM_WIN...
// -*- C++ -*- // // Package: TestME0SegmentAnalyzer // Class: TestME0SegmentAnalyzer // /**\class TestME0SegmentAnalyzer TestME0SegmentAnalyzer.cc MyAnalyzers/TestME0SegmentAnalyzer/src/TestME0SegmentAnalyzer.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // // O...
// // The MIT License // // Copyright (c) 2008-2019 Eindhoven University of Technology // // 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 ...
// MultiSpec // // Copyright 1988-2020 Purdue Research Foundation // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You may obtain a copy of the // License at: https://www.apach...
//////////////////////////////////////////////////////////////////////////////////////////////// // Our main ARVRInterface code for our OpenVR GDNative module // Note, even though this is pure C code, we're using the C++ compiler as // Microsoft never updated their C compiler to understand more modern dialects // and ...
#include <type_traits> #include <cstdint> #include <ctime> #include <stdexcept> #include <fstream> #include <iostream> #include <map> #include <set> #include <sstream> #include <vector> #include <math/vector.h> #include <GL/platform/InputHandler.h> #include <pfm.h> #include <png.h> #include ...