text
stringlengths
8.71k
38.4k
/// \class SiStripBackplaneCalibration /// /// Calibration of back plane corrections for the strip tracker, integrated in the /// alignment algorithms. Note that not all algorithms support this... /// /// Usally use one instance for deco mode data since peak mode should give the // reference - but the strip local reco...
/* Copyright (c) 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicen...
///////////////////////////////////////// // // OpenLieroX // // Auxiliary Software class library // // based on the work of JasonB // enhanced by <NAME> and <NAME> // // code under LGPL // ///////////////////////////////////////// // Input class // Created 10/12/01 // By <NAME> #include <assert.h> #incl...
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "spline.h" #include "vehicle.h" // for convenience using nlohmann::json; using std::string; usin...
#include "common.hh" enum OTB_ClientVersion : u8 { OTB_CLIENT_VERSION_750 = 1, OTB_CLIENT_VERSION_755 = 2, OTB_CLIENT_VERSION_760 = 3, OTB_CLIENT_VERSION_770 = 3, OTB_CLIENT_VERSION_780 = 4, OTB_CLIENT_VERSION_790 = 5, OTB_CLIENT_VERSION_792 = 6, OTB_CLIENT_VERSION_800 = 7, OTB_CLIENT_VERSION_810 = 8, OTB_CL...
#include "wheel_controller.hpp" #include <peripheral/vector_controller.hpp> #include <status_flags.hpp> #include "centralized_monitor.hpp" #include "shared_memory_manager.hpp" /// すべての車輪がグリップしているときに使用される力分解行列 static constexpr float FORCE_MATRIX_0000[12] = { -0.25f, 0.25f, 0.25f, 0.25f, 0.25f, 0.25f, 0.25f,...
/*====================================================== Created by: <NAME> Last updated: July 2014 File name: Quad_tracker.cpp Organization: RISC Lab, Utah State University ======================================================*/ #include <ros/ros.h> #include "risc_msgs/Risc_rois.h" #include "risc_msgs/Ris...
/** * @brief Transport provider: libusb * * Platform Compatibility: Linux, Windows, macOS */ #include "libusb_transport.hpp" #include "../logging.hpp" #include "../print_utils.hpp" #include <fibre/fibre.hpp> #include <algorithm> #include <string.h> #if !FIBRE_ALLOW_HEAP # error "The libusb backend requires hea...
#include <cmath> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/core.hpp> #include <vector> /** #if CUDA_ENABLED == 0 #include <opencv2/cudaarithm.hpp> #include <opencv2/cudaimgproc.hpp> #endif */ //#include "../../include/mat/MatDetector.h" //#include "....
#include <iostream> #include <cmath> #include <vector> #include <chrono> #include <memory> #include <random> #include <boost/range/irange.hpp> #include <Eigen/Dense> #include "GPs.h" // Include CppOptLib files #include "./include/cppoptlib/meta.h" #include "./include/cppoptlib/boundedproblem.h" #include "./include/cpp...
// // KinectAzureUtils.cpp // Custom Utilities dealing with the Kinect Azure SDK // // Created by: <NAME> // 2/03/2020 // #include "KinectAzureProcessor.h" #include "BodyTrackingUtils.h" #include <regex> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/filesyste...
/***************************************************************** | | AP4 - MP4 Encrypter | | Copyright 2002-2009 Axiomatic Systems, LLC | | | This file is part of Bento4/AP4 (MP4 Atom Processing Library). | | Unless you have obtained Bento4 under a difference license, | this version of Bento4 is Bento4...
/* Program 6 - Unscrambler with Classes and undo The user will be presented with a board that is filled with scrambled words. They have to rotate the rows and columns to get the words displayed in the right order. Author: <NAME> Date: 11/6/2021 Class: CS 141, Fall 2021, UIC System: Xcode on iMac ...
/* GRAPHITE2 LICENSING Copyright 2010, SIL International All rights 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 License, or (at yo...
/*****************************************************************/ /* NAME: <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: BRS_App.cpp */ /* DATE: Feb 2nd, 2011 ...
#include "ofApp.h" #include <algorithm> #include <iostream> #include <sstream> #include <math.h> #define GUI_CONFIG_FILE_EXT "xml" #define FRAMERATE 60.0f //////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////...
// -*- Mode:C++; c-basic-offset:8; tab-width:8; indent-tabs-mode:t -*- /* * ldp.cc * Copyright (C) 2000 by the University of Southern California * $Id: ldp.cc,v 1.9 2005/08/25 18:58:09 johnh Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Pub...
#include"include/glad/glad.h" #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "include/learnopengl/camera.h" #include "include/learnopengl/filesystem.h" #include "include/learnopengl/model.h" #include "include/learnopengl/shader_m.h" #include "include/my/car.h...
int lpc ,j , fbu, //d d,IAU, McM, Uxu ,fhXY ,g ,JyM , ut , mG2J, // y1w,nL14 //R , YiHANA, pYf, ICRQg ,AqHi /*p41*/, O , dx1Brx , //zsnEj Aff//BIa , Rwa2m, Z2N , smj5U , dogs ,UCGi ,bU , g3R , juC , cq, /*2aiU*/rVr ,tA3n/*I*/,csF ,MP,/**/CnW //v , Fnqw,cimf,bB9 ,GbG , TVT ,r ,//Oa Qd , BQ ...
// File and Version Information: // $Header: /nfs/slac/g/glast/ground/cvs/TkrRecon/src/Vertex/VtxKalFitTool.cxx,v 1.27.654.1 2011/04/21 03:39:20 heather Exp $ // Description: // Implementation of the Kalman vertexer // // // Author // <NAME> #include "V...
#include <mutex> #include <opencv2/opencv.hpp> #include <math.h> #include "gruen.h" #include "util.h" #include "config.h" std::mutex gruen_mutex; // mutex for global green values cv::Point m_grcenter(0,0); int m_grstate = GRUEN_NICHT; cv::Scalar lower_gruen = LOWER_GRUEN_DEFAULT; cv::Scalar upper_gruen = UPPER_...
/* * MaxWalkSat.cpp * * Created on: Mar 19, 2012 * Author: <EMAIL> */ #include "MaxWalkSat.h" #include "../logic/syntax/ELSentence.h" #include "../logic/Domain.h" #include "../logic/Moves.h" #include <boost/random/uniform_int.hpp> #include <boost/random/mersenne_twister.hpp> #include <boost/unordered_map.hp...
TEST(Matrice, init) { // init Tests // ========== // 4*4 matrice Matrice M({{1., 2., 3., 4.}, {5.5, 6.5, 7.5, 8.5}, {9., 10., 11., 12.}, {13.5, 14.5, 15.5, 16.5}}); EXPECT_EQ(M.at(0, 0), 1); EXPECT_EQ(M.at(0, 3), 4); EXPECT_EQ(M.at(1, 0), 5.5); EXPECT_EQ(M.at(1, ...
#include "wmb.hpp" #include <type_traits> #include <cstdint> #include <vector> #include <exception> #include <cstring> #include <iostream> #include <glm/gtc/matrix_transform.hpp> using namespace WMB; namespace // anonymous namespace { struct __attribute__((packed)) LIST { //! offset of the list from the start ...
//===- lib/MC/MCMachOStreamer.cpp - Mach-O Object Output ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------------...
#include "stdafx.h" #define DILTZ(value) \ if ((value) < 0) { \ printf("ERROR at line %d: %s\n", __LINE__, libusb_strerror((libusb_error)(value))); \ system("pause"); \ return 1; \ } \ #define be_to_int16(buf) (((buf)[0]<<8)|(buf)[1]) #define be_to_int32(buf) (((buf)[0]<<24)|((buf)[1]<<16)|((buf)[2]<<8)|(buf)...
//===- CloneFunction.cpp - Clone a function into another function ---------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
//===-- Devirtualize.cpp - Helper for devirtualizing apply ------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
/** * Copyright 2019 United Kingdom Research and Innovation * * Authors: See AUTHORS * * Contact: [<EMAIL> and/or <EMAIL>] * * 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 ...
/***************************************************************************************** * * * OpenSpace * * ...
/* * Tencent is pleased to support the open source community by making Pebble available. * Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the Lic...
#include "preferences.h" #include "version.h" #include <QAbstractItemView> #include <QAction> #include <QCheckBox> #include <QComboBox> #include <QDialog> #include <QDialogButtonBox> #include <QFileDialog> #include <QFontDialog> #include <QGroupBox> #include <QHBoxLayout> #include <QHeaderView> #include <QInputDialog>...
// Nombre: Blanca , Apellidos: <NAME>, DNI/Pasaporte:75577392J (DDGG IG curso 20-21) // ********************************************************************* // ** // ** Informática Gráfica, curso 2016-17 // ** <NAME> // ** // ** Función 'main', inicialización y gestores de eventos // ** // ****************************...
/* * * authors: <NAME> (CEA/Saclay), <NAME> (INFN/Roma) * some code copied from CalibCalorimetry/EcalTPGTools code * written by <NAME> and <NAME> */ #define DB_WRITE_SUPPORT #include "CalibCalorimetry/EcalSRTools/interface/EcalDccWeightBuilder.h" #include <limits> #include <algorithm> #include...
/* Copyright (c) 2019 Autodesk Inc., et al. 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 conditions and the foll...
//////////////////////////////////////////////////////////////////////////////// // // // This file is part of NCrystal (see https://mctools.github.io/ncrystal/) // // ...
#include <math.h> #include <vector> #include <string> #include <LentPitShift.h> #include "util.h" #include "kiss_fftr.h" #include "FIRFilterCode.h" #include "eigen_to_image.h" #include "Song.h" #include "SongEmbedder.h" using Eigen::MatrixXf; using Eigen::MatrixXi; using std::max; using std::list; using std::string; u...
/** \file plot_radius.cc * \author <NAME> * * This file reads in a series of fits files, which are assumed to be outputs * of a photoevaporation problem with a single ionising source. * * This is explicitly serial code, so if there are parallel outputs to multiple * files this code won't work. * * Compile w...
// Copyright (c) 2017 The Khronos Group Inc. // Copyright (c) 2017 Valve Corporation // Copyright (c) 2017 LunarG 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...
/* * See header file for a description of this class. * * \author <NAME> - INFN Torino * * threadsafe version (//-) oct/nov 2014 - WATWanAbdullah -ncpp-um-my * */ #include "DQM/DTMonitorClient/src/DTResolutionAnalysisTest.h" // Framework #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framewo...
// Copyright 2013 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/utility/importer/firefox_importer.h" #include <memory> #include <set> #include "base/files/file_enumerator.h" #include "base/files/file...
/* * 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: 2025-04-28 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
#include "basebandReadout.hpp" #include "basebandApiManager.hpp" #include "buffer.h" #include "chimeMetadata.h" #include "errors.h" #include "fpga_header_functions.h" #include "gpsTime.h" #include "nt_memcpy.h" #include "nt_memset.h" #include "version.h" #include "visFileH5.hpp" #include "visUtil.hpp" #include <algor...
#include "Image.h" #include "Blueprint.h" #include "FreeBSDTypes.h" #include "elf32.h" #include "lz4frame.h" #include "lz4hc.h" #include <sstream> #include <fstream> #include <algorithm> struct LZ4FDeleter { inline void operator()(LZ4F_cctx *context) const { LZ4F_freeCompressionContext(context); } }; static cons...
// Copyright 2009, Google Inc. All rights reserved. // Portions of this file were adapted from the Mozilla project. // See https://developer.mozilla.org/en/ActiveX_Control_for_Hosting_Netscape_Plug-ins_in_IE /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are sub...
#include <iostream> #include <fstream> #include <sstream> #include <iomanip> #include <locale> #include <codecvt> #include <memory> #include <cmath> #include <cstdlib> #include <cstdint> #include <cassert> #include <algorithm> #include <unordered_map> #include <numeric> #include <thread> #include <mutex> #include "doco...
#include <limits> #include <malloc.h> #include <math_utils.h> #include "utils.h" namespace math_utils { float calc_distance(float* vec_1, float* vec_2, size_t dim) { float dist = 0; for (size_t j = 0; j < dim; j++) { dist += (vec_1[j] - vec_2[j]) * (vec_1[j] - vec_2[j]); } return dist; } ...
/*------------------------------------------------------------------------------ * CppToolbox: StatisticsHelper * https://github.com/pirminschmid/CppToolbox * * Copyright (c) 2017, <NAME>, MIT license *----------------------------------------------------------------------------*/ #include <cmath> #include <iostre...
/* Bullet Continuous Collision Detection and Physics Library, http://bulletphysics.org Copyright (C) 2006 - 2009 Sony Computer Entertainment Inc. 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 softwar...
#include "GigaVoxels/GigaVoxelsBrickPool.h" #include "GigaVoxels/GigaVoxelsOctTreeNodePool.h" #include <iostream> #include <cmath> using namespace gv; static bool s_initialized = false; static BrickPool* s_pInstance = NULL; BrickPool& BrickPool::instance() { if(s_pInstance == NULL) s_pInstance = new Br...
/* mdport.c - Machine Dependent Code for Porting Unix/Curses games Copyright (C) 2005 <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: 1. Redistributions of source code...
//===- unittests/support/test_uint128.cpp ---------------------------------===// //* _ _ _ ____ ___ * //* _ _(_)_ __ | |_/ |___ \( _ ) * //* | | | | | '_ \| __| | __) / _ \ * //* | |_| | | | | | |_| |/ __/ (_) | * //* \__,_|_|_| |_|\__|_|_____\___/ * //* * //===...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
/* * Copyright (c) 2013-2014, 2016 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 * */ #include <iostream> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <signal.h> #include <time.h> using namespace std; #include "daemon_ini.h" /* Init parset header */ #include "daemo...
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
/* * Copyright (c) 2016, The Regents of the University of California (Regents). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of source code must retain the a...
#include "configuration.h" #include "common.h" #include "../ext/inih/src/INIReader.h" using namespace std; using namespace dramcore; std::function<Address(uint64_t)> dramcore::AddressMapping; Config::Config(std::string config_file) { INIReader reader(config_file); if(reader.ParseError() < 0) { std::...
#include "QFRSimulator.hpp" std::map<std::string, unsigned int> QFRSimulator::Simulate(unsigned int shots) { bool has_nonunitary = false; for (auto &op : *qc) { if (op->isNonUnitaryOperation()) { has_nonunitary = true; break; } } if (!has_nonunitary) { s...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include <mfhdf.h> #include "modisresam.h" // define band names for all bands const char *bandNames[38] = { "1", /* 0. "EV_250_Aggr1km_RefSB" */ "2", /* 1. "EV_250_Aggr1km_RefSB" */ "3", /* 2. "EV_500_Aggr1km_RefSB" */ "4", /* 3. ...
// LAST UPDATED 16.09.2009 ptc #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/MakerMacros.h" #include "Geometry/Records/interface/MuonGeometryRecord.h" #include "Geometry/CSC...
#include "stdhdr.h" #include <float.h> #include "lantirn.h" #include "Graphics\Include\renderir.h" #include "Graphics\Include\RViewPnt.h" #include "otwdrive.h" #include "simdrive.h" #include "aircrft.h" #include "airframe.h" #include "sms.h" #include "campbase.h" #include "camplist.h" #include "..\..\graphics\include\...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
#include <assert.h> #include "networking/lowlevel/netbuffer.h" #include "networking/lowlevel/vsnet_oss.h" #include "networking/const.h" #include "posh.h" #include "gfxlib_struct.h" #include "networking/netversion.h" std::string getSimpleString( std::string &input ) { int len = getSimpleInt( input ); if ( len >...
/* $NoKeywords: $ */ /* // // Copyright (c) 1993-2011 <NAME> & Associates. All rights reserved. // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert // McNeel & Assoicates. // // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PART...
/* * Copyright (c) 2015, Oracle and/or its affiliates. All Rights reserved * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, * associated documentation and/or data (collectively the ...
// // spoutDX12.cpp // // Functions to manage DirectX 12 texture sharing by way of D3D11On12 // Base class spoutDX for sending and receiving functions. // // ==================================================================================== // Revisions : // 04.12.20 - start class // 26.01.21 - First working ve...
// // Map.hpp // AI1_Sokoban-solver_MM-TL // // Created by <NAME> on 26/09/16. // All files are licenced under the BSD 3-Clause (see LICENSE.md) // #pragma once // Library include // - none yet // Class include // - none yet // Defines #define obstacle 1 #define freespace 2 #define box 3 #define go...
/* * cPopulationCell.cc * Avida * * Called "pop_cell.cc" prior to 12/5/05. * Copyright 1999-2011 Michigan State University. All rights reserved. * Copyright 1993-2003 California Institute of Technology. * * * This file is part of Avida. * * Avida is free software; you can redistribute it and/or modify...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif #include <fstream> #include <iostream> //using std::cout; using std::endl; us...
#include "icosahedron.hpp" #include "phex.hpp" #include "point3.hpp" #include "triangle.hpp" #include <cmath> #include <cstdlib> #include <ctime> #include <functional> #include <string> using std::cos; using std::sin; using std::trunc; Icosahedron::Icosahedron(ico::map_orientation orientation, ...
// // aes.cpp // // Created by Bettysoft on 27.07.15. // Copyright © 2015 Bettysoft. All rights reserved. // #include "aes.h" Bettysoft::Crypt::BYTE Bettysoft::Crypt::Modules::AES_128::Rcon[256] = { 0x8d, 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36, 0x6c, 0xd8, 0xab, 0x4d, 0x9a, 0x2f, 0x5e, 0xbc...
/* * Copyright 2013 The OpenMx 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 applicable la...
/******************************************************************************* * MIT License * * Copyright (c) 2017 <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 r...
/**************************************************************************** * * Copyright (c) 2020 PX4 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. Redistributio...
/* Starshatter OpenSource Distribution Copyright (c) 1997-2004, Destroyer Studios 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 t...
// // NeoSWSerial // Copyright (C) 2015-2017, SlashDevin // // NeoSWSerial is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Neo...
#include "display_st7735.h" #include <memory.h> namespace { enum { ST_CMD_DELAY = 0x80, // special signifier for command lists ST77XX_NOP = 0x00, ST77XX_SWRESET = 0x01, ST77XX_RDDID = 0x04, ST77XX_RDDST = 0x09, ST77XX_SLPIN = 0x10, ST77XX_SLPOUT...
# include "iGraphics.h" #include<stdlib.h> #include<string.h> int Nahid244; int mouse_x; int mouse_y; int jhon=1; int pum_x[2]={1040,-40}; int pum_y[2]={400,400}; int menu=1; int pum1_x[2]={2, 2}; int pum1_y[2]={-20,-20}; int play=0; int HighScore=0; char UserScore[50]={0}; int pum1savepo...
// minimal SVD implementation for calculating feature points from hermite data // works in C++ and GLSL // public domain #include "glsl_svd.h" #ifndef USE_GLSL #define USE_GLSL 0 #endif #ifndef USE_WEBGL #define USE_WEBGL 0 #endif #ifndef DEBUG_SVD //#define DEBUG_SVD (!USE_GLSL) #endif #ifndef SVD_COMPARE_REFERE...
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- * 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/. */ #include "gfxDWriteFonts.h" #include...
// ////////////////////////////////////////////////////////// // microlink.cpp // Copyright (c) 2020 <NAME> // see https://create.stephan-brumme.com/microsat-cpp/ // // This is a Slitherlink solver based on the SAT algorithm. // // ... wait, what ? // Slitherlink: https://en.wikipedia.org/wiki/Slitherlink // SAT solver...
/*************************************************** Bunny Shed Climate Control <NAME> 2016-2018 ESP8266 based with local home-assistant.io GUI, 433Mhz transmitter for heater/fan control and DHT22 temperature-humidity sensor Temperature and humidity sent as JSON via MQTT ---------- Github: https:/...
// This file is part of VecGeom and is distributed under the // conditions in the file LICENSE.txt in the top directory. // For the full list of authors see CONTRIBUTORS.txt and `git log`. /// Unit test for Tetrahedron /// @file test/unit_tests/TestTet.cpp /// @author <NAME> // ensure asserts are compiled in #undef N...
#include "stdafx.h" #include <algorithm> #include <functional> #include <omp.h> #include <random> #include "distortion.h" #include "gl.h" #include "gui.h" #include "filesystem.h" #include "openal.h" #include "post.h" #include "quality.h" #include "rendermodel.h" #include "signal.h" #include "skybox.h" #include "spectru...
/* * Copyright (C) 2008 <NAME>, Heverlee, Belgium. * * See the LICENSE file for terms of use. */ #include <Windows.h> #include <Wt/WApplication> #include <Wt/WBreak> #include <Wt/WContainerWidget> #include <Wt/WLineEdit> #include <Wt/WPushButton> #include <Wt/WHBoxLayout> #include <Wt/WVBoxLayout>...
extern "C" { #include <stdio.h> #include <libwebsockets.h> } #include <string> #include <iostream> #include <sstream> #include <map> #include <vector> #include <thread> #include <mutex> #include <queue> #include <json/json.h> //J1939 libraries #include <J1939DataBase.h> #include <J1939Factory.h> #include <Generic...
// Copyright 2016 The Streamer Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ...
// Copyright (c) 2013 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 "media/base/android/sdk_media_codec_bridge.h" #include <algorithm> #include <limits> #include <memory> #include <utility> #include "base/an...
int M5hqs, c1re , e5, j086LjRd ,Z , FOk , mxS , XOV , qwf ,NSW,li ,IIqw , qVmS , KX , /*q*/lgWs ,fvEf4 , kxWgp,tzVEG ,v ,F ,zr8B , XSMrT, A8ZK ,/**/ Bkp/*WdL*/, xp, Lp24cZK//Ey , hw , c0 , MXe , Qz// ,Zg1, //OnP5 vR8r ,T0 ,OT, bW,ZpP , IYB , FA , bk,fjI, jDM8Kj,/*5T4o*/ bBqV,fm4, Go ,EzU81 ,bc1N...
/* * Copyright (C) 2010 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 (C) 2015, <NAME> * TU Darmstadt - Graphics, Capture and Massively Parallel Computing * All rights reserved. * * This software may be modified and distributed under the terms * of the GPL 3 license. See the LICENSE.txt file for details. */ #include <fstream> #include <iostream> #include <string> #...
// This is the Front Panel Code for my // first iteration of the MinimoogClone Synthesizer // Based on <NAME>'s (SFE) Proto-8 Synthesizer design // <NAME> 12/11/2017 #include "Panel.h" #include "mmCPanel.h" //#include "panelComponents.h" //#include "HardwareInterfaces.h" #include <Arduino.h> #include "proto-8Pan...
/* Open Tracker License Terms and Conditions Copyright (c) 1991-2001, Be Incorporated. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without...
//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- C++ -*- // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
// Copyright 2014-2016 Universita' degli studi di Milano // // 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 applicab...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 <NAME> All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY...
#include <unordered_map> #include <thread> #include <chrono> #include <lcm/lcm-cpp.hpp> #include <lcmtypes/maps/octree_t.hpp> #include <lcmtypes/maps/cloud_t.hpp> #include <lcmtypes/maps/image_t.hpp> #include <lcmtypes/maps/scans_t.hpp> #include <lcmtypes/maps/request_t.hpp> #include <lcmtypes/maps/command_t.hpp> #inc...
#include "e1000.hpp" #include "e1000_defs.hpp" #include <kernel/events.hpp> #include <kernel/timers.hpp> #include <os.hpp> #include <hw/ioport.hpp> #include <info> #include <cassert> //#define E1000_ENABLE_STATS //#define E1000_FAKE_EVENT_HANDLER //#define E1000E_FAKE_EVENT_HANDLER //#define VERBOSE_E1000 #ifdef VERB...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "test_graph.hpp" #include "single_layer_common.hpp" #include "tests_common.hpp" #include <ie_core.hpp> using namespace ::testing; using namespace std; using namespace mkldnn; struct strided_slice_test_params { Inf...
#include "OpusComment.h" #include "Utility.h" #include <fstream> // https://tools.ietf.org/html/rfc7845.html // Maximum comment header size. static const uint32_t s_MaxCommentSize = 125829120; OpusComment::OpusComment( const std::wstring& filename, const bool readonly ) : m_Filename( filename ), m_Stream( filena...