text
stringlengths
5.71k
33.7k
////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2020 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redist...
/*************************************************************************/ /* jni_utils.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright 2021 The WebNN-native Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or ...
//---------------------------------------------------------------------------- // // TSDuck - The MPEG Transport Stream Toolkit // Copyright (c) 2005-2020, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following c...
/*********************************************************** * --- OpenSURF --- * * This library is distributed under the GNU GPL. Please * * use the contact form at http://www.chrisevansdev.com * * for more information. * * ...
/////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2018 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 ...
/*************************************************************** * * 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. Yo...
// 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 "chrome/browser/download/download_query.h" #include <stdint.h> #include <algorithm> #include <limits> #include <memory> #include <string> #...
#include <ros/ros.h> #include <sensor_msgs/LaserScan.h> #include "geometry_msgs/Twist.h" #include "geometry_msgs/Pose.h" #include <tf/tf.h> #include <complex> #define MIN_RANGE 0.5 #define FORWARD_SPEED_MPS .2 #define ROTATE_SPEED_RADPS M_PI/18 #define ROTATE_SPEED_ANGPS 10 #define MIN_SCAN_ANGLE_RAD -40.0/180*M_PI #...
#include <ros/ros.h> #include <geometry_msgs/Twist.h> #include <geometry_msgs/PoseWithCovarianceStamped.h> #include <tf/transform_datatypes.h> #include <highgui.h> #include <opencv2/opencv.hpp> //#include <opencv2/aruco.hpp> //#include <opencv2/aruco/dictionary.hpp> #include <vector> #include <image_transport/image_t...
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmGlobalKdevelopGenerator.h" #include "cmGeneratedFileStream.h" #include "cmGeneratorTarget.h" #include "cmGlobalGenerator.h" #include "cmLocalGenerator.h" #incl...
// ================================================================================================= // ADOBE SYSTEMS INCORPORATED // Copyright 2004 Adobe Systems Incorporated // All Rights Reserved // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms // of the Adobe lic...
/* * MIT License * * Copyright (c) 2018 VisualGPS, LLC * * 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, modi...
/* <% setup_pybind11(cfg) %> */ #include <pybind11/numpy.h> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <cstdlib> #include <ctime> #include <iostream> #include <nanoflann.hpp> #include <thread> using namespace std; using namespace nanoflann; using i_numpy_array_t = pybind11::array_t<size_t,...
#include <functional> #include <list> #include <vector> #include <Python.h> #include <boost/asio/ip/host_name.hpp> #include <boost/process/environment.hpp> #include <spdlog/spdlog.h> #include "gauge/sampling_collector.hpp" #include "gauge/utils/benchmark.hpp" #include "gauge/utils/chrono.hpp" #include "gauge/utils/c...
#include "interactions.hpp" #include <cmath> // debug only #include <iomanip> #include <iostream> #include "fft.hpp" #include "force_grid.hpp" #include "globals.hpp" #include "matrices.hpp" #include "vectors.hpp" void LJInteraction::eval(const vector<Vec3d>& positions, vector<Vec3d>& forces, vector<double>& energie...
/* Copyright 2020-2021, RespiraWorks 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, softw...
/*** Included Header Files ***/ #include "vector.h" #include "matrix.h" #include <vecLib/vBLAS.h> /*** Class Order ***/ //---WCVector4 /***********************************************~***************************************************/ WCVector4::WCVector4() { this->_data[0] = 0.0; this->_data[1] = 0.0; this-...
// Copyright (c) 2018 - The SmartCash Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "smarthive/hivepayments.h" #include "smarthive/hive.h" #include "smartnode/spork.h" #include "consensus/consensus.h" #incl...
/*__________________________________________________________________________________________ (c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++ (c) Copyright The Nexus Developers 2014 - 2021 Distributed under the MIT software license, see the accompanying ...
#include "spcldialog.h" #include "editor.h" #include <ctype.h> static byte mapNum; static world_t *world; special_t *spcl; static int spclnum; // explicit int void InitSpclDialog(special_t *theSpcl, byte spnum, world_t *wrld, byte currentMap) { world = wrld; mapNum = currentMap; spcl = theSpcl; spclnum = spnum; }...
#include "Headpose.hpp" //dlib::frontal_face_detector detector; //dlib::shape_predictor pose_model; Head::Head(QObject* parent) : QThread(parent) { this->detector = dlib::get_frontal_face_detector(); dlib::deserialize("models/face/shape_predictor_68_face_landmarks.dat") >> this->pose_model; m_stop = true; stat...
#include "compiler.h" Compiler::Compiler() : Compiler({false, false}) {} Compiler::Compiler(const CompilerConfig &config) : config(config) { scopeDepth = 0; hadError = false; panicMode = false; locals.reserve(UINT8_MAX + 1); } Compiler::Compiler(Compiler &compiler) : enclosing(&compiler), config(co...
// $Id$ //------------------------------------------------------------------------------ // TsPlotXYCanvas //------------------------------------------------------------------------------ // Author: <NAME>, Thinking Systems, Inc. // Created: 2007/05/26 // // This code is Copyright (c) 2007, T...
#include "OpenCLFunctions.h" #include <iostream> #include <dlfcn.h> /* Platform API */ cl_int (*real_clGetPlatformIDs)(cl_uint /* num_entries */, cl_platform_id * /* platforms */, cl_uint * /* num_platforms */) = NULL; cl_int (*real_clGetPlatformInfo)(cl_platform_id /* platform */, cl_p...
#include "vtkSplineReader.h" #include "vtkInformation.h" #include "vtkInformationVector.h" #include "vtkObjectFactory.h" #include "vtkMultiBlockDataSetAlgorithm.h" #include "vtkMultiBlockDataSet.h" #include "vtkPolyData.h" #include "vtkCardinalSpline.h" #include "vtkPoints.h" #include "vtkCellArray.h" #include "vtkTyp...
// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/renderer_host/backing_store_x.h" #include <cairo-xlib.h> #include <gtk/gtk.h> #include <stdlib.h> #include <sys/ipc.h> #incl...
// **************************************************************************** // // Copyright (c) 2014, <NAME>, <NAME>, Johns Hopkins University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following condi...
// // Admission.cpp // netsocket // // Created by <NAME> on 7/16/16. // Copyright © 2016 gbudiman. All rights reserved. // #include <stdio.h> #include "Admission.h" // From BeeJ's void sigchld_handler(int s) { while(waitpid(-1, NULL, WNOHANG) > 0); } // Main program entry int main() { if (!DISABLE_PHASE_1) {...
#include <stdio.h> #include <marsyas/system/MarSystemManager.h> #include "EvExpr.h" #include "Expr.h" using namespace std; using namespace Marsyas; void sched1() { MarSystemManager mng; MarSystem* fanin = mng.create("Fanin", "fanin"); fanin->addMarSystem(mng.create("SineSource", "src1")); fanin->addMarSystem...
/* Copyright (c) 2006, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the designated areas o...
#include "aggregation.h" #include <algorithm> #include <cstring> #include <cerrno> #include <argos3/core/utility/configuration/argos_configuration.h> #include <argos3/plugins/robots/foot-bot/simulator/footbot_entity.h> /****************************************/ /****************************************/ // add log in...
/* * CiderPress * Copyright (C) 2007 by faddenSoft, LLC. All Rights Reserved. * See the file LICENSE for distribution terms. */ /* * GCR nibble image support for 3.5" disks. * * Each track has between 8 and 12 512-byte sectors. The encoding is similar * to but different from that used on 5.25" disks....
// =================================================================== // @last-modified 2016-06-01 // This is free and unencumbered software released into the public domain. // =================================================================== #include <cstdint> #include <cstdio> #include <cstring> #include <tmmintr...
// Implements class MultichannelCorrelator. // CCDOC COMMENTS NEED TO ULTIMATELY BE PASTED INTO INCLUDE FILE // // /* This is a simple object intentionally limited to the scope of this file. It is used to find the peak correlation value. Simple idea that could be made generic eventually, but not worth the trouble ...
// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #include "../ImageTensorGenerator/ImageTensorGenerator.hpp" #include "../InferenceTest.hpp" #include "ModelAccuracyChecker.hpp" #include "armnnDeserializer/IDeserializer.hpp" #include <boost/algorithm/string.hpp> #include <boost/f...
using namespace std; #include <iostream> #include <string> #include <fstream> #include <streambuf> #include <sstream> #include "Car.h" // errori void coca_error(int err){ switch (err) { case 0: cout << "ERROR: Scelta non permessa" << endl; break; case 1: cout << "ERROR: ...
/**************************************************************************** * Name: jlp_orbit1.cpp * (for visual orbits) * * JLP * Version 08/06/2015 ****************************************************************************/ #include <stdlib.h> // exit() #include <math.h> // cos(), sin(), etc #include "jlp_...
/* -------------------------------------------------------------------------- * * Simbody(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
#include "Modules/Editor/Gizmos/Translation.h" #include "Modules/ECS/component_types.h" #include "Utilities/Intersection.h" #include "Engine.h" #include "imgui.h" Translation_Gizmo::~Translation_Gizmo() { // Update indicator *m_aliveIndicator = false; glDeleteBuffers(1, &m_axisVBO); glDeleteVertexArrays(1, &m_ax...
#include "constants.h" #include "color.h" #include "hittable_list.h" #include "sphere.h" #include "moving_sphere.h" #include "camera.h" #include "material.h" #include "texture.h" #include "bvh.h" #include "aarect.h" #include "box.h" #include "constant_medium.h" #define STB_IMAGE_WRITE_IMPLEMENTATION // Do not include ...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2001 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
/** * \file dune_stokes.cc * * \brief brief **/ #include "cmake_config.h" #include <cstdio> #include <vector> #include <string> #include <iostream> #include <cmath> #include <dune/fem/gridpart/common/gridpart.hh> #include <dune/fem/misc/mpimanager.hh> #include <dune/fem/solver/oemsolver/oemsolver.hh> #inclu...
#include "Globals.h" #include "Application.h" #include "ModuleInput.h" #include "ModuleRender.h" #include "ModulePhysics.h" #include "p2Point.h" #include "math.h" #ifdef _DEBUG #pragma comment( lib, "Box2D/libx86/Debug/Box2D.lib" ) #else #pragma comment( lib, "Box2D/libx86/Release/Box2D.lib" ) #endif ModulePhysics::M...
/************************************************************************ * Derived from the BSD3-licensed * LAPACK routine (version 3.7.0) -- * Univ. of Tennessee, Univ. of California Berkeley, * Univ. of Colorado Denver and NAG Ltd.. * December 2016 * Copyright (c) 2020-2021 Advanced Micro Devices, ...
#define __cpluplus #include "codegen.h" #include <cassert> #include <cstdarg> #include <cstdio> #include <unistd.h> //#include <iostream> #include <map> #include <vector> #include <llvm/Module.h> #include <llvm/LLVMContext.h> #include <llvm/Support/IRBuilder.h> #include <llvm/ExecutionEngine/JIT.h> #include <llvm/E...
/* tinyTLS project Copyright 2015 <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 writing, sof...
/* * Copyright (C) 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 or agreed to ...
// -*- C++ -*- // // Package: TopQuarkAnalysis/TopTools // Class: GenTtbarCategorizer // /**\class GenTtbarCategorizer GenTtbarCategorizer.cc TopQuarkAnalysis/TopTools/plugins/GenTtbarCategorizer.cc Description: Categorization of different tt+xx processes, returning unique ID for each process as e.g. tt+bb, ...
#include "Validation/MuonGEMRecHits/plugins/GEMRecHitValidation.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h" GEMRecHitValidation::GEMRecHitValidation(const edm::ParameterSet& pset) : ...
//////////////////////////////////////////////////////////////////////////////////////////////// // 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 <stdafx.h> #include "FunctionOverride.h" #include "Scripting.h" #include "Utils.h" #include <reverse/WeakReference.h> #include <reverse/RTTIHelper.h> #include <xbyak/xbyak.h> static FunctionOverride* s_pOverride = nullptr; using TRunPureScriptFunction = bool (*)(RED4ext::CBaseFunction* apFunction, RED4ext:...
#define _USE_MATH_DEFINES #include <stdio.h> #include <stdlib.h> #include <math.h> #include <vector> #if defined(__APPLE__) #include <GLUT/GLUT.h> #include <OpenGL/gl3.h> #include <OpenGL/glu.h> #else #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) #include <windows.h> #endif #include <GL/glew.h> #include ...
#include "Global.Engine.Context.h" #include <vector> typedef int(*p_printf)(const char*, ...); static p_printf hax() { auto d = p_printf(GetProcAddress(GetModuleHandleW(L"x64dbg.dll"), "_plugin_logprintf")); return d ? d : printf; } static auto dprintf = hax(); #ifdef _WIN64 //https://stackove...
// -*- mode: c++ -*- /********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2014, JSK Lab * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the ...
/* * Copyright 2019 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkSLCompiler.h" #include "SkSLInterpreter.h" #include "Test.h" void test(skiatest::Reporter* r, const char* src, float inR, float inG, float inB, float inA, ...
struct Nintendo64 : Cartridge { auto name() -> string override { return "Nintendo 64"; } auto extensions() -> vector<string> override { return {"n64", "v64", "z64"}; } auto load(string location) -> bool override; auto save(string location) -> bool override; auto analyze(vector<u8>& rom) -> string; }; auto Ni...
/* * Copyright (c) 1994-2002 * <NAME> aka Keva. All rights reserved. * http://linguist.nm.ru/ * * 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 cop...
/** * @file optionsmanager.cpp * @brief Configuration functionality. * @author <NAME> * @note Copyright (c) 2002-2010 <NAME> - http://untidy.net/ * * Programmer's Notepad 2 : The license file (license.[txt|html]) describes * the conditions under which this source may be modified / distributed. */ #include "st...
/** * \file QryWznmCarList.cpp * job handler for job QryWznmCarList (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WZNMCMBD #include <Wznmcmbd.h> #else #include <Wznmd.h> #endif #include "QryWz...
/* * linux/mm/memory.c * * (C) 1991 <NAME> */ /* * demand-loading started 01.12.91 - seems it is high on the list of * things wanted, and it should be easy to implement. - Linus */ /* * Ok, demand-loading was easy, shared pages a little bit tricker. Shared * pages started 02.12.91, seems to work. - Linus....
#include <liegroups/se3.hpp> #include <liegroups/scalar.hpp> #include <liegroups/matrix.hpp> #include <cmath> #include <liegroups/exp_coefs.hpp> #include <liegroups/exp_helpers.hpp> using namespace liegroups; template <> const SE3<float> SE3<float>::identity = { SO3<float>::identity, {0.f, 0.f, 0.f} }; template <> c...
//<NAME> //MIT Software //6/04 //std #include <map> #include <string> #include <algorithm> #include <iostream> //StEmc #include "StEmcClusterCollection.h" #include "StEmcPoint.h" #include "StEmcUtil/geometry/StEmcGeom.h" #include "StEmcUtil/others/emcDetectorName.h" #include "StEmcADCtoEMaker/StBemcData.h" #include ...
/* * Generate the validation JSON output for the zones given on the STDIN. The * transition time and UTC offsets are calculated using Howard Hinnant's date.h * and tz.h library. The Hinnant date library requires the --tz_version flag * even though we don't need it here. * * Usage: * $ ./generate_data.out * [...
#include "shifttracetool.h" #include "toonz/onionskinmask.h" #include "toonz/tonionskinmaskhandle.h" #include "tools/cursors.h" #include "tools/tool.h" #include "timage.h" #include "trasterimage.h" #include "ttoonzimage.h" #include "tvectorimage.h" #include "toonz/txsheet.h" #include "toonz/txshcell.h" #include "toon...
/******************************************************************************************************* Copyright 2017 - pvyield GmbH / <NAME> Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
/* * LXF demuxer * Copyright (c) 2010 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option)...
/**************************************************************************\ * Copyright (c) <NAME> & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistribu...
#include "core.hpp" // simple random static uint8_t y8 = (uint8_t)time(NULL); static uint8_t tile_size = 32; const uint8_t next_figure_blocks_count = 6; const uint16_t score_table[5] = {0, 100, 300, 700, 1500}; const Point shift = {20, 20}; uint8_t xorshift8(void) { y8 ^= (y8 << 7); y8 ^= (y8 >> 5); re...
/* * Copyright (C) Volition, Inc. 1999. All rights reserved. * * All source code herein is the property of Volition, Inc. You may not sell * or otherwise commercially exploit the source or things you created based on * the source. */ /* * $Logfile: /Freespace2/code/CMeasure/CMeasure.cpp $ * $Revision: 121 $ ...
/*Copyright 2016-2018 hyperchain.net (Hyperchain) Distributed under the MIT software license, see the accompanying file COPYING or https://opensource.org/licenses/MIT. Permission is hereby granted, free of charge, to any person obtaining a copy of this  software and associated documentation files (the "Software"), t...
#include <iostream> #include <fstream> #include <string> #include <map> #include <cassert> #include <cctype> #include <iterator> #include <random> #include <fmt/printf.h> #include "wordrep/word_uid.h" #include "wordrep/word_hash.h" #include "wordrep/word_iter.h" #include "wordrep/word_count.h" #include "wordrep/word_...
#include <GL/glew.h> #include <GLFW/glfw3.h> #include "cl_renderer.hpp" #include <OpenCL/cl.hpp> #include <vector> #include <iostream> #include <fstream> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include "model.h" #define __CL_ENABLE_EXCEPTIONS #pragma OPENCL EXTENSION cl_amd_printf : enable const int N...
// vertexblend.cpp // OpenGL SuperBible, Chapter 16 // Demonstrates vertex blending // Program by <NAME> #include "../../shared/gltools.h" // OpenGL toolkit #include "../../shared/glframe.h" // OpenGL toolkit #include <stdio.h> GLboolean useBlending = GL_TRUE; GLboolean showBones = GL_FALSE; #define TOTAL_SHADE...
// MIT License // // Copyright 2018 <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 "stdafx.h" #include "images.h" #include "globalAppState.h" #include "mLibFLANN.h" void Images::loadMatchFile(const std::string& filename, std::vector<KeyPointMatch>& matches, std::vector<KeyPoint>& keypoints, std::vector<std::unordered_map<KeyPoint, size_t>>& keymaps) const { std::ifstream s(filename); ...
/* jpeg_decoder.cpp Fixed point baseline JPEG decoder. [ MIT license ] Copyright (c) 2005 - 2016, <NAME> <<EMAIL>> www.warmplace.ru Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software")...
#include "py/module.hh" #include "py/dynamic.hh" #include "chart/v3/selected-antigens-sera.hh" #include "chart/v3/merge.hh" // ---------------------------------------------------------------------- namespace ae::py { using Chart = ae::chart::v3::Chart; static inline ae::chart::v3::antigens_sera_match_level_t...
/// <GAME_OVER> /////////////////////////////////////////////////////////////// J_Quad GameOver::darkness; const Uint8 GameOver::DARKNESS_TRANSPARENCY = 128; const Uint8 GameOver::DARKNESS_AMOUNT = 4; J_Quad* GameOver::bar = nullptr; J_Font GameOver::bigNumbers; int GameOver::blocksSaved = 0, GameOver::currentBlocksSa...
/* * Copyright (C) 2008 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 <SDL2/SDL.h> #include <SDL2/SDL_syswm.h> #include <SDL2/SDL_image.h> #include <windows.h> #include <commdlg.h> #include <vector> #include <string> #include <sstream> // set window properties #define WINDOW_TITLE "ScreenShot" #define WINDOW_WIDTH 800 #define WINDOW_HEIGHT 600 // set mouse magnification width ...
#include "viewer_window_list.h" #include "search/allrefs.h" #include "clipboard.h" #include "search/commandref.h" #include "util/string_util.h" #include "logging.h" #include <boost/range/iterator_range.hpp> #include "XPLMGraphics.h" #include <cctype> #include <chrono> #include <cmath> #include <iterator> #include ...
// // DX11 Ocean // #include "stdafx.h" #include "skybox.h" #include "CFW1StateSaver.h" #include "ocean_simulator.h" using namespace graphic; extern void renderShaded(cRenderer &renderer , const cCamera& camera , ID3D11ShaderResourceView* displacemnet_map , ID3D11ShaderResourceView* gradient_map , float time ,...
#include "pch.h" #include "HandlesView.h" #include "ResourceManager.h" #include "SortHelper.h" #include "ProcessHelper.h" #include "ObjectHelpers.h" #include "ListViewhelper.h" #include "ClipboardHelper.h" #include "StringHelper.h" #include "AccessMaskDecoder.h" #include "ViewFactory.h" CHandlesView::CHandlesView(IMai...
// Copyright 2019 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
/************************************************************************************************/ /* CSC309/404 Homework Assignment #1 */ /* Name : <NAME> */ /* Due Date : April 19, 201...
//===-- TVMInstrInfo.cpp - TVM Instruction Information --------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * mon_6502.cpp - 6502 disassembler * * cxmon (C) 1997-2004 <NAME>, <NAME> * * 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...
using namespace std; extern std::map<std::string, drawCall> drawCalls; extern std::map<std::string, textAtlas> textFonts; extern std::string selectedAtlas; extern VertexAttributeStrings VAS; PyObject* drawMenu_hliGLutils(PyObject* self, PyObject* args) { PyObject* faceColorPyTup; //PyObject* extraColorPyTup...
/* * gdal_image.cpp -- Load GIS data into OpenCV Containers using the Geospatial Data Abstraction Library */ // OpenCV Headers #include "opencv2/core.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/highgui.hpp" // GDAL Dependencies #include <cpl_conv.h> #include <gdal_priv.h> // Boost Dependencies #include <b...
#include <MAPIX.h> #include <MAPIUtil.h> #include <string> #include <AcctMgmt.h> #include <AccountHelper.h> #define pbGlobalProfileSectionGuid "\x13\xDB\xB0\xC8\xAA\x05\x10\x1A\x9B\xB0\x00\xAA\x00\x2F\xC4\x5A" // This helper struct handles initializing and uninitializing COM for us // Since it is in the global scope,...
/**************************************************************************** * * Copyright (c) 2008 by <NAME>, all rights reserved. * * Author: <NAME> * Contact: <EMAIL> * * This software is partly based on the following open source: * * - OpenCV * ***********************************************...
//#include <sys/types.h> //#include <sys/socket.h> //#include <netinet/in.h> #include <arpa/inet.h> //#include <netdb.h> #include <cstdio> #include <cstdlib> #include <unistd.h> #include <cstddef> #include <iostream> #include <sstream> #include <fstream> #include <ctime> #include <string> #include <cerrno> #include <st...
#include <CGAL/Delaunay_triangulation_2.h> #include <CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h> #include <CGAL/Constrained_Delaunay_triangulation_2.h> #include <boost/chrono.hpp> #include <boost/graph/iteration_macros.hpp> #include "GraphDefs.h" #include "timer.h" #include "GraphUtil.h" #inc...
//===-- Hexagon.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 // //===---------------------------...
/* * Copyright (c) 2003-2005 The Regents of The University of Michigan * 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 * not...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.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 of the License, or (at your * option) any later ve...
//===--- AArch64CallLowering.cpp - Call lowering --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
// Copyright (c) 2011 Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
/** * \file GeodShort.cpp * * Test various solutions to the inverse problem in the limit of short lines * (following Bowring 1981). **********************************************************************/ #include <ctime> // for std::time #include <functional> // for std::function and std...