text
stringlengths
3.08k
22k
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <cmath> using namespace std; /* ne radi... */ struct Point { double x, y; Point(double x_, double y_): x(x_), y(y_) {} }; struct Line { ...
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/complex.h> #include <pybind11/numpy.h> #include <vector> #include <string> #include <cstdarg> #include <cstring> #include <cstddef> #include <iterator> #include <boost/lexical_cast.hpp> #include <CGAL/Exact_predicates_inexact_constructions_k...
/** * particle_filter.cpp * * Created on: Oct. 11, 2019 * Author: <NAME> */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include "helper_functions.h" using std::string; using...
/* Copyright 2007 <NAME> Princeton University preprocess.cc Preprocess a .ply file, writing out different information (vertices, smoothed normals, etc.)depending on the type into a .pre file. .pre file are a very simple endian-dependent dump of the data. ----- This file is part of tps_alignment. tps_alignment is ...
/* * Copyright (c) 2010, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - Redistributions of source code must retain the above copyright...
/* <NAME>, <NAME>, <NAME>, <NAME> C^3: A planner for the sequential, satisficing track of the IPC-6 Copyright (C) 2008 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...
#include "vertica.h" #include <boost/lexical_cast.hpp> #include <endian.h> #include <stdint.h> #include <stdlib.h> #include <cstdio> #include <cstring> #include <map> #include <utility> #define __STDC_FORMAT_MACROS #include <inttypes.h> #include "../common/formatterExceptions.h" #include "attribute.h" #include "vert...
// // Copyright (c) 2019 BBC News. All rights reserved. // #include "topiclabel.h" //#import "NSDate+Formatter.h" //#import "BNStyles.h" //#import "BNMyNewsCollection.h" //#import "NSString+URLEncoding.h" //#import "BNCollections.h" #define AUTOREFRESH_INTERVAL 30 static attributed_string* s_separatorString; sta...
#include <ros/ros.h> #include <geometry_msgs/Vector3.h> #include <sensor_msgs/Image.h> #include <opencv2/opencv.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <image_transport/image_transport.h> #include <sensor_msgs/image_encodings.h> #include <motor_controller/speed.h> #in...
/******************************************************************************* * Copyright (c) 2009-2016, MAV'RIC Development 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: * * 1. R...
/* * 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 writin...
// Licensed under the MIT License. #include <string> #include "script.h" #include "pages.h" #include <vector> void DrawCSSText(std::string text, Font font, int R, int G, int B, int A, Alignment align, int textSize, float X, float Y, int WrapWidth = 0, int LetterSpacing = 0) { std::vector<std::string> FontListStrings...
#include "list.h" RegularList::RegularList(glm::vec3 parentPos, std::unordered_map<std::string, std::string> & values, std::vector<DataObj*> obs, std::vector<GuiClick> clickPatterns) : freeContentId{1} { type = "regularList"; labelColor = "150 50 0 255"; textColor = "0 50 150 255"; contentHeight = ...
//--------------------------------------------------------------------------- #include <iostream> #include "nr.h" #include "nums.hh" #include "modlab.h" //--------------------------------------------------------------------------- using namespace std; using namespace Label; double Ldistr::o2deliv(double Pm){ double v...
// Filename: IBSimpleHierarchyIntegrator.cpp // Created on 04 Apr 2013 by <NAME> // // Copyright (c) 2002-2013, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribution...
#include "Bzip2File.h" #include "PathUtils.h" #include <algorithm> #include <bzlib.h> const char Bzip2File::Magic[3] = { 'B', 'Z', 'h' }; void Bzip2File::checkFileType(FileHandle& fh) { try { Buffer buf; fh.read(buf, sizeof(Magic)); if (!std::equal(buf.begin(), buf.end(), Magic)) throwFormat("magic"); ...
/* * Copyright (C) 2018 Orange * * This software is distributed under the terms and conditions of the 'BSD-3-Clause-Clear' * license which can be found in the file 'LICENSE.txt' in this package distribution * or at 'https://spdx.org/licenses/BSD-3-Clause-Clear.html'. */ /** * @author <NAME> */ #include <iostr...
#include "testApp.h" //-------------------------------------------------------------- void testApp::setup(){ ofSetVerticalSync(true); ofBackground(0, 0, 0); //audio // 0 output channels, // 2 input channels // 22050 samples per second // 256 samples per buffer // 4 num buffers (latency) ofSoundSt...
/****************************************************************************** * * DOT3D - An OpenGL dot file viewer * <NAME>, 2003 * * main FLTK program * *****************************************************************************/ // TODO // - menu display errors when updating view layout // - redraw of sc...
/**************************************************************************\ * * 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...
#include <sge_app.hh> sge::app::configuration config = {}; sge::app::content computation = {}; sge::app::extensions extensions = {}; struct PUSH { float time; bool no_change; bool operator == (const PUSH& push) const { return sge::math::is_zero(time - push.time) && no_change == push.n...
#include "metamethod.h" #include "context.h" #include "convert.h" #include "getvalue.h" #include "pushvalue.h" // =============================== PUBLIC METHODS =============================== dukpp03::qt::MetaMethod::MetaMethod(int index, const QMetaMethod& m) : m_index(index), m_method(m) { } dukpp03::qt::Meta...
// // particle.cpp // EpiGenMCMC // // Created by <NAME> on 13/04/2016. // Copyright (c) 2016 <NAME>, Imperial College London. All rights reserved. // #include "particle.h" #include <numeric> // std::accumulate #include <chrono> Particle::Particle() {} Particle::Particle(int input_num_particles, Trajectory init...
#include "agthread.h" #include "globalvariables.h" #include "inc/globalflirvariables.h" int NumberOfCameras = 0; char Boson_SN[4][6]; uint32_t cameraSN[4]; int typeOfGimmera = 2; void Set_Zoom_Limits(){ for(int i = 0; i < NumberOfCameras; i++){ Cams_Value_Limit[i] = (i+1) * 100.0/NumberOfCameras; ...
// #include "synth_gcloud.h" #include "logger.h" #include <cassert> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctype.h> #include <fstream> // grpc #include <grpc++/grpc++.h> using grpc::Channel; using grpc::ClientContext; using grpc::Status; // cloud_tts #if 1 // cloud_tts v1 #include "google...
/** * Author: <NAME> * * Tool to generate all possibile combinations from passed in input. The * interface is designed to hopefully be like UNIX command seq, which will * allow it to be used in shell script for loops. * * The input is a single line of white space separated numbers. The tool will * read the firs...
#include <iostream> #include <ql/quantlib.hpp> #include <boost/format.hpp> #include <functional> #include <numeric> #include <fstream> using namespace QuantLib; double calculatePortfolioReturn (double proportionA, double expectedReturnA, double expectedReturnB) { return proportionA ...
// // SCClient.cpp // // Created by <NAME> on 11/2/21. // #include "SCClient.h" SCClient::SCClient(net::io_context& ioc) : resolver_(net::make_strand(ioc)), ws_(net::make_strand(ioc)), the_io_context(ioc) { message_queue = std::make_unique<ThreadSafeQueue<std::string>>(); subscription_list = std::make_uniqu...
// Copyright (c) 2011 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 "base/basictypes.h" #include "base/stringprintf.h" #include "chrome/browser/history/top_sites.h" #include "chrome/browser/tab_contents/thumbn...
// // Created by Nikita on 20.11.2020. // #include "Types/Skybox.h" #include <ResourceManager/ResourceManager.h> #include <Utils/StringUtils.h> #include <stbi/stb_image.h> #include <Debug.h> #include <Render/Render.h> #include <Types/Vertices.h> #include <Window/Window.h> #include <Loaders/ObjLoader.h> Framework::Gra...
//------------------------------------------------------------------------------ // Tooling sample. Demonstrates: // // * How to write a simple source tool using libTooling. // * How to use RecursiveASTVisitor to find interesting AST nodes. // * How to use the Rewriter API to rewrite the source code. // // <NAME> (<EMA...
#include "CaloEnergyCorrectorModule.h" #include "TClonesArray.h" #include "TPRegexp.h" #include "TObjArray.h" #include "TObjString.h" #include "TH1.h" #include "TFile.h" #include "TRandom.h" #include "TreeHandler.h" CaloEnergyCorrectorModule::CaloEnergyCorrectorModule(ExRootTreeReader *data, std::string name) : M...
#include "TebContributor.hh" #include "Endpoint.hh" #include "EbLfClient.hh" #include "Batch.hh" #include "EbCtrbInBase.hh" #include "utilities.hh" #include "psalg/utils/SysLog.hh" #include "psdaq/service/MetricExporter.hh" #include "xtcdata/xtc/Dgram.hh" #ifdef NDEBUG #undef NDEBUG #endif #include <string.h> #inc...
#include "Multiplayer.h" #include <Game/Game.h> #include "Peer.h" #include <iostream> Multiplayer::Multiplayer(Peer *peer, Game *game, bool host) { _peer = peer; _game.setup(); _game.game = game; if (host) { _host = std::make_unique<Host>(); _host->id = 0; } _listeningThread = std::make_unique<sf::Thread>...
#include "batchproof_container.h" #include "liblelantus/sigmaextended_verifier.h" #include "sigma/sigmaplus_verifier.h" #include "sigma.h" #include "lelantus.h" std::unique_ptr<BatchProofContainer> BatchProofContainer::instance; BatchProofContainer* BatchProofContainer::get_instance() { if (instance) { re...
#include <iostream> #include <limits> #include <cmath> #include "density-tracer/quaternion.h" const real EPSILON = 1e-12; std::ostream& operator<<(std::ostream& os, const quaternion& q) { return os << "(quaternion){" << q.w << ", " << q.x << ", " << q.y << ", " << q.z << "}"; } real norm(const quaternion& q) ...
#include "dMap.h" //#include "blockdevice.h" void dMap::showDmap() { printf( "****************************************************************\n"); printf("DMAP: \n"); for (int i = 0; i != 30; i++) { printf("%i -> %c \n", i, dmap.test(i)); } for (int i = 59049 - 5; i != 59049 + 5; i++) { printf("%i ->...
#define _USE_MATH_DEFINES #include <cmath> #include <math.h> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <iostream> #include <string> #include <glm/gtx/vector_query.hpp> #include "Geometry.h" #include "GLDebug.h" #include "Log.h" #include "ShaderProgram.h" #include "Shader.h" #include "Texture.h" #include...
/* Copyright (c) 2011-2015, ZIH, TU Dresden, Federal Republic of Germany. * For details, see the files COPYING and LICENSE in the base directory * of the package. */ /** * @file PropagationFromLeftLowerCorner.hpp * * @brief System test: Contains the class PropagationFromLeftLowerCorner. */ #include <vecto...
// Copyright (c) 2022 <NAME> #include <dhcp.h> #include <lease_db.h> #include <utils.h> #include <ESP8266WiFi.h> #include <WiFiUdp.h> /// -- WIFI access configuration. static constexpr char STATION_SSID[] = "<SSID>"; static constexpr char STATION_WPA2[] = "<WPA2PW>"; /// -- WIFI client config. static const IPAddr...
#include <cstdio> #include <cstdlib> #include <unistd.h> #include <sys/time.h> #include <netinet/in.h> #include "rd_udp.h" static const int port = 56769; /* -------------------------------------------------------------------- */ RdUDP::RdUDP() : _numAPMPpackets(0), _modeError(0), _statusError(0), _magicCookieError(0)...
// <NAME> // March 18, 2018 // Copyright (C) 2018-2019 <NAME> // Distributed under the BSD Software License (see file License) #include <cmath> #include <cstdlib> #include <iostream> #include <SystemItem.h> using namespace hmdi; //------------------------------------------------------------------------...
/************************************* ** Tsunagari Tile Engine ** ** window.cpp ** ** Copyright 2016-2020 <NAME> ** *************************************/ // ********** // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated d...
/** * @file shared_mem_frame.cpp * @author <NAME> <<EMAIL>> */ /* * Copyright (c) 2018 CESNET, z. s. p. o. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted provided that the following conditions * are met: * * 1. Redistributions o...
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., 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: * * 1. Redist...
#include <cmath> #include <cassert> #include "table.h" #include "constants_and_globals.h" bool GLOBAL_instructor_output = false; bool global_details = false; // XXX: For now not sanitizing \ since RFC4180 only specifies double quote as an escape // i.e. """ is a field with one double quote as the value. // ...
/* * Copyright 2015-2017, Intel Corporation * * 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 conditions and ...
#include "CLTensor.h" #include "utils.h" #include <dlprim/core/util.hpp> #include <dlprim/core/pointwise.hpp> #include <iostream> namespace ptdlprim { using namespace torch; using torch::autograd::tensor_list; using torch::autograd::AutogradContext; using c10::Device; using c10::DeviceType; using torch::Tens...
/*************************************************************** * * Copyright (C) 1990-2009, 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...
// MIT License // Copyright (c) 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 Software without restriction, including without limitation the rights // to use, copy, modify, merge, p...
/***************************************************************************** Copyright (c) 1998, 2021, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. ...
/*************************************************************************** * Copyright 2012 - 2013 Advanced Micro Devices, Inc. * ...
//////////////////////////////////////////////////////////// // Headers //////////////////////////////////////////////////////////// #include <SFML/Window.hpp> #define GLAD_GL_IMPLEMENTATION #include <gl.h> #include <X11/Xlib.h> #include <iostream> #include <cmath> #include <cstdlib> ///////////////////////////////...
#include "dust/core/hash.h" #include "dust/render/rect.h" #include "font.h" #define STB_TRUETYPE_IMPLEMENTATION #define STBTT_STATIC // don't need this outside this module #include "dust/libs/stb_truetype_min.h" using namespace dust; ////////////////////////////////////////////////////////// //// GLYPH CACHE -...
/* * Copyright (C) 2017 <NAME> <EMAIL> * Source code 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 or in file COPYING-APACHE-2.0.txt * * Unless ...
/* Copyright 2018 Stanford University * Copyright 2018 Los Alamos National Laboratory * * 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....
#include "headers/Builder.h" #include "headers/functions.h" Builder::Builder() {} void Builder::ReadFunctionsXLSX(QXlsx::Document& doc) { SceneName = doc.read(2, 1).toString(); int first_row = 4; int last_row = doc.dimension().lastRow(); int ID_fun = 0; QString content_first_cell = doc.read(first_r...
#include "stdafx.h" #include "CeXDib.h" #ifndef _MFC_VER #include <windows.h> #include <tchar.h> #pragma message(" compiling for Win32") #endif /* #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif */ CCeXDib::CCeXDib() { m_hDib = NULL; m_dwLineWidth = 0; m_wColors = ...
#include "string_manip.hpp" #include <iostream> #include <stdio.h> #include <cmath> #include <ctgmath> using namespace std; /* Ensures that space characters sandwich all the target characters in the string 'in' in - string in which to ensure targets surrounded by whitespace targets - characters to surround with...
/* * 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...
/** Copyright 2009-2021 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
#include <stdio.h> #include <type_traits> #include "query11_kernel.hpp" #include "pipe_types.hpp" #include "../db_utils/Accumulator.hpp" #include "../db_utils/MapJoin.hpp" #include "../db_utils/Misc.hpp" #include "../db_utils/Tuple.hpp" #include "../db_utils/Unroller.hpp" #include "../db_utils/ShannonIterator.hpp" #i...
// Copyright (c) 2018-2019, <NAME>. For more information see 'LICENSE' #include "stl/Math/Matrix.h" #include "UnitTest_Common.h" static void Matrix_Test1 () { using CMat4x2_t = Matrix< float, 4, 2, EMatrixOrder::ColumnMajor >; using RMat4x2_t = Matrix< float, 4, 2, EMatrixOrder::RowMajor >; STATIC_ASSERT( CMat4...
/* Copyright (C) 2013-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, publish, distribute, su...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
#include "L1Trigger/L1THGCal/interface/HGCalCoarseTriggerCellMapping.h" #include "DataFormats/ForwardDetId/interface/HGCalTriggerDetId.h" HGCalCoarseTriggerCellMapping::HGCalCoarseTriggerCellMapping(const std::vector<unsigned>& ctcSize) : ctcSize_(!ctcSize.empty() ? ctcSize : std::v...
// Copyright (c) 2020, <NAME>. All rights reserved. // Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // ...
/* * Copyright (c) 2009-2021, Google LLC * 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 ...
// submit9 改动版 #include <bits/stdc++.h> #include <iostream> #include <unistd.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <fcntl.h> #include <vector> #include <unordered_map> #define TEST using namespace std; typedef unsigned long long ull; const int CHAR_MAX_SIZE = 10; const i...
// Scintilla source code edit control /** @file LexAPDL.cxx ** Lexer for APDL. Based on the lexer for Assembler by The Black Horus. ** By <NAME>. **/ // Copyright 1998-2003 by <NAME> <<EMAIL>> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> ...
#include "stdafx.h" #include "Actor.h" #include "../xrEngine/CameraBase.h" #include "../xrEngine/gamemtllib.h" #include "phworld.h" #include "phcollidevalidator.h" #include "PHShell.h" #include "matrix_utils.h" #include "ai/stalker/ai_stalker.h" #include "GeometryBits.h" #include "characterphysicssuppor...
// This file (tlog-compare.cc) was created by <NAME> <<EMAIL>> on // Sep 24, 2020. "TERMS AND CONDITIONS" governing this file are in the README // or COPYING file. If you do not have such a file, one can be obtained by // contacting Ron or Fermi Lab in Batavia IL, 60510, phone: 630-840-3000. // $RCSfile: .emacs.gn...
#include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/calib3d/calib3d.hpp> #include "extra.h" using namespace std; using namespace cv; void find_feature_matches ( const Mat& img_1, const Mat& img_2, std::vector...
/// // crabllvm-pp -- LLVM bitcode Pre-Processor for static analysis /// #include "llvm/LinkAllPasses.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/IR/LLVMContext.h" #include "llvm/IR/Module.h" #include "llvm/IR/Verifier.h" #include "llvm/IRReader/IRReader.h" #include "llvm/Support/FileSystem.h" #include "l...
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
/* * SubscribeManager.cpp * The BSD License * * Copyright (c) 2015, <EMAIL> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redis...
// // sp.cxx // main routine for calculating a shortest path.: // // Copyright (c) 1998-1999 <NAME> // // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // #ifdef _AFXDLL #include "StdAfx.h" #endif #if defined(_DEBUG) && defined(_WINDOWS) #define new DEBUG_NEW #unde...
#include "Mesh.h" #include <limits> #include <fstream> #include <sstream> #include <rapidjson/document.h> #include <SDL/SDL_log.h> #include "LevelLoader.h" #include "Renderer.h" #include "Texture.h" #include "VertexArray.h" #include "Math.h" namespace { union Vertex { float f; uint8_t b[4]; }; constexpr int Bi...
#include "boat.h" #include "main.h" Boat::Boat(float x, float y,float z, color_t color) { this->position = glm::vec3(x, y, z); this->rotation = 0.0f; speed = 0; float xb,yb,zb; xb=1.00,yb=0.1,zb=2.0; // Our vertices. Three consecutive floats give a 3D vertex; Three consecutive vertices give a ...
// // Created by succlz123 on 17-9-5. // #include <cstdint> #include <fstream> #include <iostream> #include <random> #include "GifEncoder.h" #include "GifBlockWriter.h" #include "Logger.h" #include "ColorQuantizer.h" #include "KMeansQuantizer.h" #include "MedianCutQuantizer.h" #include "OctreeQuantizer.h" #include "Ra...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SampleCode.h" #include "SkAnimTimer.h" #include "SkBlurMask.h" #include "SkBlurMaskFilter.h" #include "SkColorFilter.h" #include "SkCamera.h" #include "SkCanvas.h" #...
// SPDX-License-Identifier: MIT #include "Demo.hh" #include <array> #include <memory> #include <typed-geometry/tg.hh> #include <typed-geometry/feature/bezier.hh> // bezier curves for procgen #include <glow/common/log.hh> #include <glow/objects/Program.hh> #include <glow/objects/Shader.hh> #include <glow/objects/Textur...
/** * @file This file is part of MeshGen. * * @section LICENSE * MIT License * * Copyright (c) 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, inc...
/// Copyright 2016 Pinterest 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...
/*============================================================================== FMOD Example Framework Copyright (c), Firelight Technologies Pty, Ltd 2012-2019. ==============================================================================*/ #define WIN32_LEAN_AND_MEAN #include "common.h" #include <stdio.h> #include ...
#include "http.h" #include "../communications/Configuration.h" #include "../communications/ArduinoConnection.h" #include "../communications/RestartManager.h" #include "../IPC/Message.h" #include <WString.h> #include <uCRC16Lib.h> #include <SPIFFS.h> #include <ArduinoOTA.h> #include <ArduinoJson.h> #include "../LedContr...
// YOMBParam.cpp: implementation of the CYOMBParam class. // ////////////////////////////////////////////////////////////////////// #ifdef _WIN32 #include "Windows.h" #endif #include <iostream> #include <fstream> #include <vector> //#include <stdio.h> #include <string.h> #include "YOMBParam.h" #include "InputParam.h...
#include "StdAfx.h" #include "FileUtil.h" #include "StringUtil.h" #include "ExceptionMacros.h" #include "ErrorUtil.h" #include "PathUtil.h" #include "FormatUtil.h" bool DVLib::FileExists(const std::string& filename) { return FileExists(string2wstring(filename)); } bool DVLib::FileExists(const std::wstri...
/*------------------------------------------------------------------------------// GHMF_Segment.exe Description: This file is a utility for applying the GHMF solver. It will take a brief description of the GHMF hierarchy with associated smoothness/data terms and alphas as well as identifiers and output values Usage:\...
// Copyright (c) 2007, 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 conditi...
// 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 <lib/media/codec_impl/codec_buffer.h> #include <lib/media/codec_impl/codec_impl.h> #include <lib/media/codec_impl/codec_port.h> #include <lib/medi...
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) DreamWorks Animation LLC // // All rights reserved. This software is distributed under the // Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ ) // // Redistributions of source code must retain the above copyrigh...
#include <stdio.h> #include <cairo.h> #include <cstring> #include <cctype> #include <cstdint> #include <utility> #include <memory> #include <SDL.h> #include "srgui.h" #include "srWindow.h" #include "srDrawSurface.h" #include "srButton.h" #include "srCheckbox.h" #include "srLabel.h" #include "srRadioButton.h" #include "...
#include "PhysicsTools/CandUtils/interface/EventShapeVariables.h" #include "TMath.h" /// constructor from reco::Candidates EventShapeVariables::EventShapeVariables(const edm::View<reco::Candidate>& inputVectors) { //std::cout << "inputVectors.size = " << inputVectors.size() << std::endl; inputVectors_.reserve( in...
/* Copyright (c) 2017 <NAME>. All right reserved. This library 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) any later version. This library is distr...
/***************************************************************************************** * * * GHOUL * * General Helpful Open Utility Library ...
/* GRChombo * Copyright 2012 The GRChombo collaboration. * Please refer to LICENSE in GRChombo's root directory. */ #include "BinaryBHLevel.hpp" #include "AMRReductions.hpp" #include "BinaryBH.hpp" #include "BoxLoops.hpp" #include "CCZ4.hpp" #include "ChiExtractionTaggingCriterion.hpp" #include "ChiPunctureExtracti...
#include "GeneratorInterface/GenFilters/plugins/PythiaDauVFilter.h" #include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h" #include <iostream> #include <vector> using namespace edm; using namespace std; using namespace Pythia8; PythiaDauVFilter::PythiaDauVFilter(const edm::ParameterSet& iConfig) : f...
// // $Id$ // // ------------------------------------------------------------------------- // This file is part of ZeroBugs, Copyright (c) 2010 <NAME> // // 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) // -------...
/** * @file pctdemo_life_mex_texture.cpp * @brief MEX gateway for a stencil operation. * Copyright 2013 The MathWorks, Inc. * */ #include <stdint.h> #include "tmwtypes.h" #include "mex.h" #include "gpu/mxGPUArray.h" #include "create_sort_value_mex.hpp" #include <algorithm> /** * MEX gateway */ mwSize get_1...