text
stringlengths
5.71k
33.7k
/*========================================================================= Program: VolumeSlice : generates images slices from volume data Module: vtkSurface Language: C++ Date: 2010/03 Auteur: <NAME> =========================================================================*/ // .NAME VolumeSlice // .SE...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
// First Version of the MazzBOT SC2 Bot // Programmed using the official SC2 API by Blizzard Entertainment // Ver0.0 // Last worked on: 15.12.2017 // Created by: Mazzader // Include all needed libraries and define the used namespace #include "sc2api/sc2_api.h" #include "sc2lib/sc2_lib.h" #include "sc2utils/sc2_manage_...
#include <limits> #include <cgv/base/node.h> #include <cgv/defines/quote.h> #include <cgv/render/shader_program.h> #include <cgv/render/drawable.h> #include <cgv/render/clipped_view.h> #include <cgv_gl/gl/gl.h> #include <cgv_gl/sphere_renderer.h> #include <cgv_gl/gl/mesh_render_info.h> #include <cgv_gl/gl/gl_context.h>...
#include <abi-bits/abi.h> #include <bits/ensure.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <asm/ioctls.h> #include <frg/small_vector.hpp> #include <mlibc/allocator.hpp...
// https://projecteuler.net/problem=324 // # Algorithm // The tower consists of `n` levels, each consisting of 3x3 units (I call them ''layer'' throughout my code). // Each layer is completely filled with blocks, each made of 2 units. // // When I look at a single layer in bird eye's view then these blocks can have fo...
/*------------------------------------------------------------------- * PROJECT epEBench - Enhanced Parametrizable Energy Benchmark * FILE NAME ebmodels.cpp * INSTITUTION Fernuni Hagen * REVISION 1.0 * PREFIX * DESCRIPTION benchmark load generator * CREATED 06-March-16, <NAME> * MODIFIED ...
///////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2021 <NAME>. // // Email: <EMAIL> // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ///////////////////...
//===--- NetBSD.cpp - NetBSD ToolChain Implementations ----------*- 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 // //===---------------------------...
// <NAME> // ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ // ░░░░░░░░░░▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄░░░░░░░░░ // ░░░░░░░░▄▀░░░░░░░░░░░░▄░░░░░░░▀▄░░░░░░░ // ░░░░░░░░█░░▄░░░░▄░░░░░░░░░░░░░░█░░░░░░░ // ░░░░░░░░█░░░░░░░░░░░░▄█▄▄░░▄░░░█░▄▄▄░░░ // ░▄▄▄▄▄░░█░░░░░░▀░░░░▀█░░▀▄░░░░░█▀▀░██░░ // ░██▄▀██▄█░░░▄░░░░░░░██░░░░▀▀▀▀▀░░░░██░░ /...
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompa...
/************************************************************************************************ SMAspot - Yet another tool to read power production of SMA solar inverters (c)2012-2013, SBF (mailto:<EMAIL>) Latest version found at http://code.google.com/p/sma-spot/ This software is based on Stuart Pittaways "NA...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <omp.h> #include "kernels.cpp" const int HIGHEST = 3; const int ITER = 100; const int WORKLOAD = 1; int sizepernode; // global var float preScore = -99999999999.f; float score = 0.0; float maxScore[HIGHEST] = {-999...
/* * Copyright (c) 2016 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2024-11-26 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
// Copyright (C) 2018-2019 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // /** * \brief The entry point for the Inference Engine object_detection demo application * \file object_detection_demo_yolov3_async/main.cpp * \example object_detection_demo_yolov3_async/main.cpp */ #include <gflags/gflags.h> #includ...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
#include <cstdlib> #include <stdio.h> #include <limits> #include <time.h> #include <vector> using std::vector; #include "src/MRFEnergy.h" #include "mex.h" #define MATLAB_ASSERT(expr,msg) if (!(expr)) {mexErrMsgIdAndTxt( "trwsMex_time:error", msg);} #if !defined(MX_API_VER) || MX_API_VER < 0x07030000 typedef int mwSi...
// Copyright (c) 2007-2015 <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, merge, publi...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2010 NorthScale, 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 * * ...
// // "$Id: Fl_Scroll.cxx 8864 2011-07-19 04:49:30Z greg.ercolano $" // // Scroll widget for the Fast Light Tool Kit (FLTK). // // Copyright 1998-2011 by <NAME> and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this fi...
#include "Module134.hh" #include "ModuleBase.hh" #include "I2c134.hh" #include "Mmcm.hh" #include "Pgp3.hh" #include "ChipAdcCore.hh" #include "Jesd204b.hh" #include "Fmc134Ctrl.hh" #include "FlashController.hh" #include "OptFmc.hh" #include "psdaq/mmhw/Pgp3Axil.hh" #include "psdaq/mmhw/TriggerEventManager2.hh" #incl...
#include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h" #include "FWCore/ParameterSet/interface/ParameterSetDescription.h" #include "FWCore/MessageLogger/in...
#include <math.h> #include <iostream> #include <thread> #include "stream.h" #include <geometry_msgs/Point32.h> #include <geometry_msgs/Polygon.h> #include <geometry_msgs/PolygonStamped.h> #include <geometry_msgs/PoseStamped.h> #include <geometry_msgs/Quaternion.h> #include <nav_msgs/Odometry.h> #include <ros/ros.h> #i...
#define OP pipeline.instruction #define RD ipu.r[RDn] #define RT ipu.r[RTn] #define RS ipu.r[RSn] #define VD vpu.r[VDn] #define VS vpu.r[VSn] #define VT vpu.r[VTn] #define jp(id, name, ...) case id: return decoder##name(__VA_ARGS__) #define op(id, name, ...) case id: return name(__VA_ARGS__) #define br(id, name, ...) ...
/* * Copyright (c) 2019, Redis Labs * 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...
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by <NAME> & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License...
// Copyright 2018 The Fuchsia 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 <array> #include <iomanip> #include <lib/async-loop/cpp/loop.h> #include <lib/fit/defer.h> #include <trace-provider/provider.h> #include <virtio/...
#include "chai3d.h" #include <GLFW/glfw3.h> using namespace chai3d; using namespace std; //------------------------------------------------------------------------------ // GENERAL SETTINGS //------------------------------------------------------------------------------ // stereo Mode /* C_STEREO_DISABLED: ...
/* * Copyright (c) 2013-2018, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list ...
#include "transfer_function.h" #include "ray_evaluation.h" #include "volume.h" #include "volume_interpolation.h" #include "helper_math.cuh" #include "pytorch_utils.h" #include "renderer_tensor.cuh" #include "volume_interpolation_grid.h" renderer::TransferFunctionGaussian::TransferFunctionGaussian() : points_{ Poi...
#include <iostream> // std::cout, std::flush #include <fstream> // std::ifstream, std::ofstream #include <filesystem> // std::filesystem #include <string> // std::string #include <sstream> // std::stringstream #include <tup...
/*- * SPDX-License-Identifier: Zlib * * Copyright (c) 2009-2018 <NAME> <<EMAIL>> * For conditions of distribution and use, see LICENSE file */ /* * Ananas ext2fs filesystem driver. * * ext2 filesystems consist of a set of 'block groups', which have the following * format for block group 'g': * * - superblock...
/******************************************************************************* * This file is part of the "Enduro2D" * For conditions of distribution and use, see copyright notice in LICENSE.md * Copyright (C) 2018-2020, by <NAME> (<EMAIL>) *************************************************************************...
#include "driver_port.h" #include "utils.h" #include "driver.h" #include "commands.h" template <> LinkerOptions DriverPort::Unpack<LinkerOptions>(ETERM *term) { LinkerOptions options; options.maxRegisters = -1; options.threadsPerBlock = -1; options.optimizationLevel = -1; options.target = -1; options.debug...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "cxxopts.hpp" #include "core/common/logging/logging.h" #include "core/common/logging/sinks/clog_sink.h" #include "core/framework/bfc_arena.h" #include "core/platform/env.h" #include "core/session/environment.h" #in...
/* loraid-arduino-rfm.cpp Copyright © 2018 lora.id. All right reserved. Author: <NAME> Date: 2018-04-25 Encapsulate Ideetron LoRaWAN simple node demonstrator *This fimrware supports *Over The Air Activation *Activation By Personalization *Class switching between Class A...
// Copyright 2019 Google LLC & <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 t...
// Copyright © 2017-2022 Trust Wallet. // // This file is part of Trust. The full Trust copyright notice, including // terms governing use, modification, and redistribution, is contained in the // file LICENSE at the root of the source code distribution tree. #include "Signer.h" #include "AddressV3.h" #include "Priva...
// // Copyright (c) 2017 The Khronos Group 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 la...
/* * $Copyright$ * Copyright (c) 2018 All Rights Reserved, <NAME> * * <NAME> is the copyright holder of all code below. * Do not re-use without permission. */ // TODO: // - scale inputs so between 0 and 1.0 // - need some simple check to see if BNO exists, .open() hangs occasionally // - alternate for popen_c...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2020-2021 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 * * ...
/* * Android sensord 0day root exploit by s0m3b0dy * tested on LG L7 (PL) * * * need pentests? s0m3b0dy1(at)gmail.com * * * * * * * * * * * * * * * * * * * * * * * * * * * some Android devices have sensord deamon, * for some ROMs the deamon is running as root process(there we can use this exploit) ...
/* * IrGree.cpp * * Created on: Mar 9, 2021 * Author: ductu */ #include "IrGree.h" #include "IRutils.h" #include "IrKelvinator.h" /*********************************************************************************************************************** * Pragma directive ***********************************...
/** * normal_form.cc * * Copyright 2020. All Rights Reserved. * * Created: April 17, 2020 * Authors: <NAME> */ #include "symbolic/normal_form.h" #include <VAL/ptree.h> #include <algorithm> // std::swap, std::all_of #include <cassert> // assert #include <iterator> // std::make_move_iterator #include <opt...
// Copyright 2020 <NAME>, <NAME>, <NAME>, <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"), to deal in the Software without restriction, // including without limitation the rights to use, copy, modify, merge...
#include "shapes.h" #include "physics.h" #include "glm/glm.hpp" #include <algorithm> #include <iostream> bool checkCircleCircle(glm::vec2 posA, circle circA, glm::vec2 posB, circle circB) { // get the distance float dist = glm::length(posA - posB); // get the sum of the radii float sum = circA.radius + circB.ra...
#include "parser.h" #include "common.h" #include "lexer.h" #include "list.h" #include "magic_type_ext.h" #include "primitive_types.h" #include "token_stream.h" using namespace std; using uni_real_dist = uniform_real_distribution<double>; const map<string, MagicType> global_init{{"pi", Number("3.14159")}}; static Toke...
// // Created by Administrator on 2020/4/9. // #include "Service.h" #include "socket_header.h" #include <iostream> #include <thread> #include <inaddr.h> #include "libs/rapidjson/document.h" #include "libs/rapidjson/writer.h" #include "libs/rapidjson/stringbuffer.h" #include "util.h" std::atomic<bool> runnning(true); ...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=4 sw=4 et tw=99: * * 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/. */ #i...
/*********************************************************************NVMH2**** Path: C:\Dev\devrel\Nv_sdk_4\Dx8_private\PhotoShop\dxt File: dxt.cpp Copyright (C) 1999, 2000 NVIDIA Corporation This file is provided without support, instruction, or implied warranty of any kind. NVIDIA makes no guarantee of its...
#include "global.h" #include "PrefsManager.h" #include "ScreenUnlock.h" #include "ThemeManager.h" #include "GameState.h" #include "RageLog.h" #include "UnlockSystem.h" #include "SongManager.h" #include "ActorUtil.h" #include "song.h" #include "Course.h" #define NUM_UNLOCKS THEME->GetMetricI("ScreenUnlock", "NumUn...
#include "pch.hpp" #include "WinImgui9.hpp" #define V_THROW(x) { HRESULT hr_ = (x); if( FAILED( hr_ ) ) { throw std::runtime_error{ "DXError" }; } } #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZ|D3DFVF_DIFFUSE|D3DFVF_TEX1) #ifdef IMGUI_USE_BGRA_PACKED_COLOR #define IMGUI_COL_TO_DX9_ARGB(_COL) (_COL) #else #d...
// // nv50.c // HWSensors // // Created by Kozlek on 07.08.12. // // /* * Copyright 2012 Red Hat 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...
/************************************************************** * * 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...
// BattleShips.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <cmath> #include <iostream> #include <string> #include <vector> #include <stdlib.h> using namespace std; void grid() { string Hit = "[ * ]"; string Miss = "[ : ]"; string ...
/* * Copyright (c) 2006-2009 <NAME> http://www.box2d.org * * 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, * inclu...
// Chemfiles, a modern library for chemistry file reading and writing // Copyright (C) <NAME> and contributors -- BSD license #include <fmt/format.h> #include <fmt/ostream.h> #include "chemfiles/formats/PDB.hpp" #include "chemfiles/ErrorFmt.hpp" #include "chemfiles/File.hpp" #include "chemfiles/Frame.hpp" #include "...
auto CPU::read(uint32 addr) -> uint8 { uint8 result = 0; switch(addr) { //DMA0CNT_H //DMA1CNT_H //DMA2CNT_H //DMA3CNT_H case 0x040000ba: case 0x040000bb: case 0x040000c6: case 0x040000c7: case 0x040000d2: case 0x040000d3: case 0x040000de: case 0x040000df: { auto& dma = regs.dma[(addr - 0x04000...
// // Created by <NAME> on 11/8/18. // #include "AES.h" //#include <stdio.h> //for printf debug statements #include <cstdlib> //for malloc and free /* * For test input and output values, see: * https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf */ /* * Private constant values ...
/* ** $Id: TextCodecMg.cpp 486 2011-02-18 10:27:00Z xwyan $ ** ** TextCodecMg.cpp: ** ** Copyright (C) 2003 ~ 2010 Beijing Feynman Software Technology Co., Ltd. ** ** All rights reserved by Feynman Software. ** ** Current maintainer: <NAME> ** ** Create date: 2010-06-18 */ #include "minigui.h" #i...
// DijetMass.cc // Description: Some Basic validation plots for jets. // Author: <NAME> // Date: 30 - August - 2006 // <NAME> (November 22, 2009): // Modified and cleaned up to work in 3.3.X // #include "RecoJets/JetAnalyzers/interface/DijetMass.h" #include "DataFormats/JetReco/interface/CaloJetC...
#include "lcd.h" #include "../../src/preamp.h" #include "sources.h" #include "neopixel.h" #include <Wire.h> #include <MenuSystem.h> #include <LiquidCrystal_PCF8574.h> extern audioDatas_t audioDatas; extern unsigned long lastLcdDisplay; extern unsigned long lastLargeLcdDisplay; dspfmt_t lcdState = BASIC; byte lcdLight...
#include "math.h" #include "EigenDecomposition3.h" #ifdef MAX #undef MAX #endif #define MAX(a, b) ((a)>(b)?(a):(b)) #define absd(a) ((a)>(-a)?(a):(-a)) #ifndef pow2 #define pow2(a) (a*a) #endif #define n 3 #define inv3 0.3333333333333333 #define root3 1.7320508075688772 /* Eigen decomposition code for symmetric 3x3 m...
extern "C" { #include "cec17.h" } #include <iostream> #include <vector> #include <random> using namespace std; class puebloExplorador{ private: // Vector de double para representar la solución (lugar donde está asentado el pueblo) vector<double> asentamiento; // Valor para almacenar el valor de la solu...
#include "CollectiveMode.h" #include <hoomd/VectorMath.h> #include <hoomd/HOOMDMath.h> #include <hoomd/md/IntegrationMethodTwoStep.h> #include <random> #include <hoomd/Saru.h> using namespace hoomd; #ifdef ENABLE_MPI #include "hoomd/HOOMDMPI.h" #endif namespace py = pybind11; using namespace std; using Eigen::Matri...
/** * @file gui.cpp * @author <NAME> * @brief File containing implementation for the game's GUI. * */ #include "styles.h" #include "gui.h" #include "moves.h" #include "base.h" #include <time.h> #include <unistd.h> #include <bits/stdc++.h> #include <SDL2/SDL_mixer.h> using namespace std; using namespace std::chron...
#include "otbm.h" #include "stream.h" #include <fmt/format.h> #include <optional> #include <stdexcept> template <> struct fmt::formatter<otbm::Coords> { static constexpr auto parse(format_parse_context &ctx) { // Parse the presentation format and store it in the formatter: auto it = ctx.begin(); auto en...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The PIVX developers // Copyright (c) 2018 The Tessacoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.op...
// <NAME> #include <cstdlib> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <arpa/inet.h> #include <string.h> #include <netdb.h> #include <errno.h> #include <sys/time.h> #include <vector> #include <list> #include <queue> #include <p...
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
#include <stdio.h> #include <math.h> #include <GL/gl.h> #include <GL/glu.h> #include <SDL2/SDL.h> #include "car.h" float viewAlpha=20, viewBeta=40; // angoli che definiscono la vista float eyeDist=3.0; // distanza dell'occhio dall'origine int scrH=500, scrW=500; // altezza e larghezza viewport (in pixels) Car car; ...
/* 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...
#include "alfe/main.h" #include "alfe/file.h" #include "alfe/colour_space.h" #include "alfe/bitmap.h" #include "alfe/bitmap_png.h" #include "alfe/minimum_maximum.h" #include "alfe/complex.h" #include "fftw3.h" static const int peakChroma = 0x3cc; static const int white = 0x320; static const int peakBurst =...
// Copyright (c) 2021 <NAME> // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "Misc.hpp" #include "../StartScene.hpp" #include <iomanip> #include <iostream> static auto create_scene(Game& game) -> std::shared_ptr<Scene> { return std::make_shared<MiscScene>(g...
/***************************************************************************************** * * * OpenSpace * * ...
// // SIMDUtilities.hpp // SIMDUtilities - A set of functions and tools for SIMD operations // // Created by <NAME> on 17/07/2018. // Copyright © 2018 <NAME>. All rights reserved. // #pragma once #ifdef _MSC_VER #include <intrin.h> #include <mmintrin.h> #include <emmintrin.h> // SSE2 #include <xmmintrin.h> #incl...
/* Copyright 2016-2019 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 w...
// intersectingsetsystem.cpp // // By <NAME>, 2004 #include <sstream> #include <algorithm> #include <vector> #include <baclibrary.h> #include "colexicographicvariableorder.h" #include "intersectingsetsystem.h" using namespace std; IntersectingSetSystem::IntersectingSetSystem(BACOptions &poptions, int pv, int pk, int...
/**************************************************************************/ /*! @file PokittoSimulator.cpp @author <NAME> @section LICENSE Software License Agreement (BSD License) Copyright (c) 2015, <NAME> All rights reserved. Redistribution and use in source and bina...
#include <stdio.h> #include "camera.h" #include "tweak.h" #include "components/animated_rotation.h" #include "components/animated_camera_params.h" using namespace ::fd; Camera::Camera() : _zNear(0.1f) , _zFar(1000.0f) , _zFov(90.0f) , _wNear(0.0f) , _wFar(40.0f) , _wScreenSizeRatio(0.5) , ...
/// ***EDIT*** /// - Texture class added - <NAME> 13/05/16 /// - Loads textures attached to a fbx - <NAME> 13/05/16 /// - Removed FBXLoader and RenderFBX funcs as they were redundant - <NAME> 19/06/16 /// TO DO: add texture? #include "FBXModel.h" #include "FBXFile.h" #include "Camera\Camera.h" #include "Render....
#include "core.h" // private declarations for core namespace core { // private members bool initialized = false; gazebo::transport::NodePtr node; gazebo::transport::SubscriberPtr sub_lidar; gazebo::transport::SubscriberPtr sub_camera; gazebo::transport::SubscriberPtr sub_pose; gazebo::transport::PublisherPt...
#include <Arduino.h> #include <Wire.h> #include <WiFiClientSecure.h> #include <PubSubClient.h> #include <vector> #include <memory> #include <ctime> #include <string> #include <NMEAGPS.h> #include <SoftwareSerial.h> #include <U8g2lib.h> #include "mykeys.h" //header containing sensitive information. Not included in repo...
/* * Copyright 2018 <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 wri...
#include <cstring> #include "gameblit.hpp" #include "assets.hpp" #ifdef PICO_BUILD #include "st7789.hpp" #endif #include "DMGAPU.h" #include "DMGDisplay.h" #include "DMGCPU.h" #include "DMGMemory.h" #include "DMGRegs.h" #include "file-browser.hpp" #include "menu.hpp" #ifdef PROFILER #include "engi...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
#include "Ellipse.h" #include "MengeCore/Agents/Obstacle.h" #include "MengeCore/Math/geomQuery.h" #include <complex> #include <cmath> #include <float.h> #include <iostream> //////////////////////////////////////////////////////////////// // Implementation of Helper function //////////////////////////////////////...
#include <RcppEigen.h> #include <Rcpp.h> #include <map> #include <string> #include <vector> #include <algorithm> // [[Rcpp::depends(RcppEigen)]] typedef Eigen::Map<Eigen::MatrixXd> MapMatd; typedef Eigen::Map<Eigen::VectorXd> MapVecd; using Rcpp::List; using Rcpp::as; using Eigen::Map; // 'ma...
#include "grouping.h" gset *make_sets(int n) { int v; gset *s = (gset *) malloc(n * sizeof(gset)); for (v = 0; v < n; ++v) { s[v].parent = v; s[v].rank = 0; } return s; } /**/ int get_number_of_different_sets (gset subsets[], int n) { int sum = 0; int v; int *count = (int*)malloc(n*sizeof(int)); ...
/* * This source code is part of * * E R K A L E * - * DFT from Hel * * Written by <NAME>, 2010-2011 * Copyright (c) 2010-2011, <NAME> * * This program is free software; you can redistribute it and/or * modify it under ...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. /* * Copyright (C) 1997-2001 University of Chicago. * See COPYRIGHT notice in top-level directory. */ #include "precomp.h" #include "adio.h" #include "adio_extern.h" /* This file contains four functions: * * ADIO...
#include "common.h" #define GL_GLEXT_PROTOTYPES #include "GLES/gl.h" #include "GLES2/gl2.h" #include <cstdlib> // EXIT_SUCCESS, etc #include <cstdint> // uint8_t, etc #include <iostream> #include <fstream> #include <sstream> #include <vector> #include "lodepng.h" #include "json.hpp" using json = nlohmann::json; ...
/* # ______ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2020, tyra - https://github.com/h4570/tyra # Licenced under Apache License 2.0 # <NAME> <<EMAIL>> */ #include "../../include/models/math/mat...
/////////////////////////////////////////////////////////////////////////////// //FILE: 'rcs.cpp' //Contains 'rcs' module of class 'Hyper' // //040302 Created by <NAME> /////////////////////////////////////////////////////////////////////////////// #include "class_hierarchy.hpp" //////////////////////////////////////...
/*********************************************************************************************************************** * OpenStudio(R), Copyright (c) 2008-2020, Alliance for Sustainable Energy, LLC, and other contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without m...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrBlurUtils.h" #include "GrCaps.h" #include "GrContextPriv.h" #include "GrFixedClip.h" #include "GrProxyProvider.h" #include "GrRecordingContext.h" #include "GrReco...
/* * Copyright 2016, <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 w...
#include "genomes.h" #include "util.h" #include "kmer.h" #include "editdistance.h" #include <sstream> #include <memory.h> #include <math.h> #include <omp.h> #include <atomic> #include "sequence.h" const int REPETITIVE_THRESHOLD = 20; Genomes::Genomes(string faFile, Options* opt) { cerr << "--- Load FASTA: " << fa...
#include <cassert> #include <string> #include <time.h> #include <json/json.h> #include "consts.h" #include "utils.h" #include "log.h" #include "thread.h" #include "vcri_global.h" #include "identify_task.h" #include "http_client.h" #include "proxy.h" using namespace std; size_t curl_callback(char *ptr, size_t size, s...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.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 per...