text
stringlengths
8.71k
38.4k
#include "mainwindow.h" #include "ui_mainwindow.h" using namespace cv; using namespace std; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); //this->resize(QSize( 900, 600 )); // Load the face and 1 or 2 eye detection XML classifiers. ...
#include <math.h> #include <stdio.h> #include "Falcon9Model.h" #include "AutopilotModel.h" #include "SphericalEarthModel.h" #include "SphericalEarthModelConstants.h" #include "SphericalEarthModel.cpp" #include <algorithm> Falcon9Model::Falcon9Model() // Constructor { // Initialize masses. ...
/************************************************************************* * * file: production.cpp * * ==================================================================== * Production Utilities * * This file contains various utility routines for manipulating * Init_production_utilities() ...
#include "CycleEnumeration.h" #include <unordered_set> #include <unordered_map> #include <stack> #include <utility> #include <ctime> #include <chrono> #include <queue> #include <iostream> #include <fstream> #ifdef MPI_IMPL #include <mpi.h> #endif using namespace std; using namespace tbb; extern int timeWindow; exter...
//-------------------------------------------------------------------------------- // This file is a portion of the Hieroglyph 3 Rendering Engine. It is distributed // under the MIT License, available in the root of this distribution and // at the following URL: // // http://www.opensource.org/licenses/mit-license.php...
#include "stdafx.h" std::string g_server_name; //当前服务的名称 crx::logger g_lib_log, g_app_log; namespace crx { int simpack_protocol(char *data, size_t len) { if (len < sizeof(simp_header)) //还未取到simp协议头 return 0; uint32_t magic_num = ntohl(*(uint32_t *)data); if (0x5f37...
// input.cpp // Copyright 2014 - 2019 <NAME>. // License: https://github.com/polymonster/pmtech/blob/master/license.md #include "input.h" #include "console.h" #include "data_struct.h" #include "os.h" #include "threads.h" #include "timer.h" #include <atomic> #include <map> #include <math.h> // // Keyboard and Mouse /...
/* 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 <cstring> #include <cstdlib> #include <dlfcn.h> #include <unistd.h> #include <algorithm> #include <fcntl....
#include "include/paraverParser.h" const string STATE_CFG = "STATES"; const string EVENT_CFG = "EVENT_TYPE"; const string VALUE_CFG = "VALUES"; const string TYPE_CFG = "TYPE"; const string RESOURCE_LEVEL = "LEVEL"; const string RESOURCE_LEVEL_CPU = "CPU"; const string RESOURCE_LEVEL_THREAD = "THREAD"; const string RE...
/////////////////////////////////////////////////////////// // // SuperDiskIndex // //////////////////// // // // #include "Global.h" #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <stdint.h> #include <sys/mman.h> #include "FluxData.h" #include "BitStream.h" #include "Helpers.h" #include "Te...
/* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of ...
/******************************************************************************************** * NxWidgets/nxwm/src/glyph_nsh.cxx * * Copyright (C) 2012 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
#include "TSL2561.h" #ifdef RasPi #include <stdlib.h> #include <math.h> #endif /************************************************ * * Compile time settings: * * Chose the chip type: * * #define TSL2561_PACKAGE_T_FN_CL * *or* * #define TSL2561_PACKAGE_CS * * * * Calculate LUX using the fast integer aproxima...
/* Image Uploader - free application for uploading images/files to the Internet Copyright 2007-2018 <NAME> (<EMAIL>) 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 ...
#include <unordered_set> #include "mc.h" #include "memoryusage.h" #include "anyoption.h" #include "timgraph.h" AnyOption* read_options(int argc, char* argv[]) { // read the command line options AnyOption *opt = new AnyOption(); // ignore POSIX style options opt->noPOSIX(); opt->setVerbose(); /* print warnings...
/* Copyright (c) <NAME> and the Grit Game Engine project 2015 * 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, ...
/* * Copyright (C) 2013 by <NAME> (<EMAIL>) * Copyright (C) 2012-2019 by UCSC Computational Genomics Lab * * Released under the MIT license, see LICENSE.txt */ #include "halSegmentMapper.h" #include "halBottomSegmentIterator.h" #include "halCommon.h" #include "halMappedSegment.h" #include "halSegment.h" #include "...
/******************************************************************************* * Code contributed to the webinos 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 * * h...
// /// \file monte_carlo_test.cpp /// \package how_much_data // /// \author Created by <NAME> on 12/31/18. /// \copyright © 2018, 2019 <NAME>. All rights reserved. // #include <iostream> using std::cout; using std::cerr; using std::endl; using std::ostream; #include <iomanip> using std::setw; using std::setprecision; ...
/* Copyright (c) 2009-2010 <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 notice, this list of conditions and the...
#include <iostream> #include <sstream> #include "outputfile.h" #include "linked_network.h" using namespace std; double rescale_box(LinkedNetwork& link_net, const double scale_x, const double scale_y) { //! Rescale the box with in two directions. //! /*! * \param link_net a linked network to rescale ...
//===- VecUtils.cpp --- Vectorization Utilities ---------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include "common.h" #include "sentinel.h" #include "tablepartitioned.h" #include "asyncpool.h" #include "sidelog.h" namespace openset { namespace globals { openset::mapping::Sentinel* sentinel; } }; openset::mapping::Sentinel::Sentinel(Mapper* mapper, openset::db::Database* database): mapper(mapp...
/* * Copyright 2021 <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 wr...
/* Excited States software: KGS Contributors: See CONTRIBUTORS.txt Contact: <EMAIL> Copyright (C) 2009-2017 Stanford University 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 restrictio...
/* NeHe (nehe.gamedev.net) OpenGL tutorial series GLUT port.in 2001 by milix (<EMAIL>) Most comments are from the original tutorials found in NeHe. For VC++ users, create a Win32 Console project and link the program with glut32.lib, glu32.lib, opengl32.lib, glaux.lib */ #pragma comment(lib, "glut32.lib") #pragma ...
/************************************************************************ * * * GLE - Graphics Layout Engine <http://www.gle-graphics.org/> * * * * Modified BSD License ...
#include "process.h" #include "paging.h" #include "memory.h" #include "bucket_array_kernel.h" #include "threading_kernel.h" #include "multiprocessing.h" #define bits_to_mask(bits) ((1 << (bits)) - 1) struct ELFHeader { struct { uint8_t magic[4]; uint8_t format; uint8_t data_type; u...
// // "$Id: editor.cxx 5519 2006-10-11 03:12:15Z mike $" // // A simple text editor program for the Fast Light Tool Kit (FLTK). // // This program is described in Chapter 4 of the FLTK Programmer's Guide. // // Copyright 1998-2005 by <NAME> and others. // // This library is free software; you can redistribute ...
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
// Copyright 2018, <NAME> <<EMAIL>> #include <queue> #include <cstdio> #include <ctime> #include <sstream> #include <random> #include <cmath> #include <SFML/Graphics.hpp> #include "include/main.h" #include "include/collisionSystem.h" #include "include/particle.h" #include "include/event.h" #include "include/hsv2rgb.h...
//===- firtool.cpp - The firtool utility for working with .fir files ------===// // // 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 // //===---------------------------...
#include <vector> /* region_ellipsoid.cc - This file is part of MUSIC - a code to generate multi-scale initial conditions for cosmological simulations Copyright (C) 2010-13 <NAME> */ #include <iostream> #include <cmath> #include <cassert> #include <fstream> #include <sstream> #include <cctype> #include <...
// MABE is a product of The Hintze Lab @ MSU // for general research information: // hintzelab.msu.edu // for MABE documentation: // github.com/Hintzelab/MABE/wiki // // Copyright (c) 2015 Michigan State University. All rights reserved. // to view the full license, visit: // github...
//===- Inliner.cpp - Code common to all inliners --------------------------===// // // The LLVM37 Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------...
//===-- X86IntelInstPrinter.cpp - Intel assembly instruction printing -----===// // // 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 // //===---------------------------...
/*========================================================================= Program: Visualization Toolkit Module: vtkACosmoReader.cxx Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITH...
#include <algorithm> #include <cfloat> #include <vector> #include <cmath> #include <iostream> #include <fstream> #include <sstream> #include "caffe/layers/region_loss_layer.hpp" #include "caffe/util/math_functions.hpp" #include "caffe/layers/sigmoid_layer.hpp" int iter = 0; namespace caffe { template <typename Dtype...
#include <dirent.h> #include <pthread.h> #include <fstream> #include <iomanip> #include "../../include/AppStandards.hpp" #include "../../include/BloomFilter.hpp" #include "../../include/DataManipulationLib.hpp" #include "../../include/Date.hpp" #include "../../include/HashTable.hpp" #include "../../include/List.hpp" ...
#include "tcenterlinevectP.h" // tcg includes #include "tcg/tcg_numeric_ops.h" // Boost includes #include <boost/container/flat_map.hpp> #include <boost/algorithm/minmax_element.hpp> namespace boost_c = boost::container; //========================================================================== //*************...
// -*- C++ -*- // // Package: L1RCTParametersOnlineProd // Class: L1RCTParametersOnlineProd // /**\class L1RCTParametersOnlineProd L1RCTParametersOnlineProd.h L1Trigger/L1RCTParametersProducers/src/L1RCTParametersOnlineProd.cc Description: <one line class summary> Implementation: <Notes on implementat...
#include "CSRMatrix.h" using namespace std; // Default Constructor for zero input arguments- using an initialisation list here template <class T> CSRMatrix<T>::CSRMatrix() : Matrix<T>(0, 0, false), nnzs(0) { // If we don't pass false in the initialisation list base constructor, it would allocate values to be of s...
#include <endian.h> #include <gdk/gdk.h> #include <gtk/gtk.h> #include <sys/stat.h> #include <cstdio> #include <cstdlib> #include <fstream> #include <memory> #include <vector> #include "aos/vision/blob/stream_view.h" #include "aos/vision/events/epoll_events.h" #include "aos/vision/events/tcp_server.h" #include "aos/v...
/** * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% * * Copyright (c) 2016 LIBSCAPI (http://crypto.biu.ac.il/SCAPI) * This file is part of the SCAPI project. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Permission is hereby granted, free of charge, to any p...
/* Meddly: Multi-terminal and Edge-valued Decision Diagram LibrarY. Copyright (C) 2009, Iowa State University Research Foundation, Inc. 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 Softwar...
#include "classes.h" #include <chrono> #include <sstream> using namespace std; vector<string> help = { {"Chord start token \"\|\" (pipe)"}, {"Chord end token \" \" (space)"}, {"Hover over chord for shape"}, {"Pan view with middle mouse button"}, {"Zoom view with mouse wheel"}, {" "}, {"Select all ...
// This is intended as a test program for SASMemu. It compares the memory and CPU state of SASMemu with that of Cadaver's siddump emulator. #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <ctype.h> #include "C64MachineState.h" extern "C" { #include "cpu.h" } #define MAX_INSTR ...
#include "selclient.h" #include <iostream> #include "i/ipack.h" #if defined(Windows) #define WIN32_LEAN_AND_MEAN #include <ws2tcpip.h> #include <stdio.h> #include <stdlib.h> // Needed for the Windows 2000 IPv6 Tech Preview. #if (_WIN32_WINNT == 0x0500) #include <tpipv6.h> #endif // Link with ws2_32.lib #pragma commen...
// GL utilities, bare essentials // By <NAME> // August 2012: // FBO creation/usage routines. // Geometry shader support synched with preliminary version. // September 2012: Improved infolog printouts with file names. // 120910: Clarified error messages from shader loader. // 120913: Re-activated automatic framebuffer...
#include "NvInfer.h" #include "cuda_runtime_api.h" #include "logging.h" #include <fstream> #include <iostream> #include <map> #include <sstream> #include <vector> #include <chrono> #include <cmath> #define CHECK(status) \ do\ {\ auto ret = (status);\ if (ret != 0)\ {\ ...
/* Copyright (c) 2013 <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...
#include <string> #include <vector> #include <map> #include "../CKconverter/CKReader.h" #include <zerork/mechanism.h> #include "mechanism_info.h" // implementation class for MechanismInfo class MechanismInfo::Impl { public: Impl(const char mechanism_name[], const char thermodynamics_name[], const cha...
#include "symbolTable.h" #include "ASTnode.h" #include <iostream> #include <fstream> using namespace std; extern string itos(int num); extern _SymbolTable* mainSymbolTable; extern _SymbolTable* currSymbolTable; extern _SymbolRecord* findSymbolRecord(_SymbolTable* currSymbolTable, string id, int mode = 0); extern boo...
int SAF,MIrLzo , RNMX ,LB , fL , ymZE ,WSK , Bfsj ,Gt, Ck ,E9RYf , QW ,vdjc ,NbpQ0 , Y9, wLKL, HkZb , //D UJXE,LSnlfu ,pxGH ,TQ , FyI, ag ,TE , dGpv , TMga,kW,/*kqN*/Nlv ,OyyR , YMoL , V2 , Pd ,kze, Cp , Fc3VAr,BJR, AX , FI /*RE*/,uI ,LBgi,mHe , nhXPL, ayc //M , HH//db , rYd, MY1 //oSM9 ...
/* * Copyright 2021 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * or in the "license" file accompanying this f...
#include "genie/dat/DatFile.h" #include "genie/dat/TechageEffect.h" #include "patches.h" #include "ids.h" #include <list> #include <random> #include <set> #include <algorithm> using namespace std; typedef genie::ResourceUsage<int16_t, int16_t, int16_t> ResourceCost; typedef genie::ResourceUsage<int16_t, int16_t, int...
/* * Player - One Hell of a Robot Server * Copyright (C) 2007 * <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at you...
/* * Group 7: RWA3 Pick a part from the Conveyer Belt * */ // -- CPP INCLUDES #include <algorithm> #include <vector> #include <iostream> #include <ros/ros.h> #include <string> #include <ctime> #include <ros/service.h> // -- ARIAC INCLUDES #include <osrf_gear/LogicalCameraImage.h> #include <osrf_gear/Order.h> #inc...
//******************************************************************************* // One-dimensional Euler solver for a Sod's shock tube problem. // // written by Dr. <NAME> (info[at]cfdbooks.com), // translated to C++ by <NAME> // // the author of useful CFD books, "I do like CFD" (http://www.cfdbooks.c...
#include "stdafx.h" #include <stdio.h> #include <iostream> #include <fstream> #include <vector> #include <stdint.h> #include "opencv2/opencv_modules.hpp" #include "opencv2/core/core.hpp" #include "opencv2/features2d/features2d.hpp" #include "opencv2/highgui/highgui.hpp" #include "opencv2/xfeatures2d/nonfree.hpp" #inclu...
#include "CondCore/CondDB/interface/Auth.h" #include "CondCore/CondDB/interface/Exception.h" #include "CondCore/CondDB/interface/CredentialStore.h" #include "CondCore/Utilities/interface/Utilities.h" // #include "RelationalAccess/AuthenticationCredentials.h" #include "FWCore/Concurrency/interface/Xerces.h" // #include ...
/* Copyright (c) 2015-2020, Intel Corporation Copyright (c) 2019-2020, University of Utah 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 req...
#include <gtest/gtest.h> #include <miradar.h> #include <miradar_helpers.h> /** * Test case for parameter set command generation **/ TEST(GENERATEPARAMCOMMAND, GENERAL){ constexpr int REGRESSION_TEST_TRIALS = 100; MiRadar miradar; std::random_device rnd; std::mt19937 mt(rnd()); std::uniform_int_distr...
/* The MIT License (MIT) Copyright (c) 2017 <NAME>, <NAME>, <NAME>, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, co...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2022 ST...
/** @file planar.cc * @author <NAME> * @date 2008-09-29 * @copyright Stanford University, 2008 * Planar graph algorithm wrappers */ /** History * 2008-09-29: Initial coding */ #include "include/matlab_bgl.h" #include <yasmic/undir_simple_csr_matrix_as_graph.hpp> #include <yasmic/simple_csr_matrix_as_graph.hp...
#include <visor/Vattn/saliency_map.hpp> #include <iostream> //#define TH_LEVEL (80.0 / 255.0) const double CColorFeature::TH_LEVEL = 0/255.0;// NO Filter CColorFeature::CColorFeature() { } CColorFeature::~CColorFeature() { } void CColorFeature::Allocate(int flag) { red = cv::Mat(input_img.rows, input_img.cols, CV_...
// ---------------------------------------------------***** VISUAL ALGO *****-----------------------------// // HEADERS #include <graphics.h> #include <dos.h> #include <conio.h> #include <stdio.h> #include <windows.h> // BUBBLE SORT MACROS #define SIZE 10 //INSERTION SORT MACROS #define MAX(a, b) (((a) > (b)) ?...
/* * Programmer Name: <NAME> Date: 26/05/2017 * Student No: C3185723 Course ID: ENGG1003 * Lecturer: Dr <NAME> Program: Assignment2 * * Description: This program is designed to simulate the game gutsy. Depending on the amount of games, * players and each players designated number; t...
/** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** * This file is part of regex library * Copyright (C) 2011 <NAME> ( <EMAIL> ) * * 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 th...
/* <NAME> Princeton University mesh_view.cc Simple viewer */ #include "TriMesh.h" #include "TriMesh_algo.h" #include "XForm.h" #include "GLCamera.h" #include "GLManager.h" #include "ICP.h" #include "strutil.h" #include <cstdio> #include <cstdlib> #include <cstring> #include <string> #ifdef __APPLE__ # include <GLUT/g...
/// x86-64 (Linux) register save algorithm /// /// @file PlnX86_64RegisterSave.cpp /// @copyright 2020 <NAME> #include <vector> #include <algorithm> #include <array> #include <string> #include <boost/assert.hpp> #include <boost/range/algorithm_ext.hpp> #include "../PlnModel.h" #include "PlnX86_64DataAllocator.h" #inc...
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #include "network/impl/synchronizer_impl.hpp" #include <random> #include "blockchain/block_tree_error.hpp" #include "network/helpers/peer_id_formatter.hpp" #include "network/types/block_attributes.hpp" #include "prim...
/* program_4.cpp Divvy Bike Data Analysis program. Author: <NAME> Date: 10/18/2021 Class: CS 141, Fall 2021, UIC System: Visual Studio 2019 IDE Windows */ #include <iostream> // For Input and Output #include <fstream> // For file input and output #include <cassert> // For the assert stateme...
#include <math.h> #include "Bitmap.h" #include "CanvasRGB15.h" #include "SpaceLabyrinthNDS.h" #include "stonefloor1_bmp_bin.h" #include "stonefloor2_bmp_bin.h" #include "stonefloor3_bmp_bin.h" #include "stonefloor4_bmp_bin.h" #include "stonefloor5_bmp_bin.h" #include "stonewall1_bmp_bin.h" #include "stonewall2_bmp_b...
/* * 用来处理舵机的底层通信协议 *-------------------------- * 作者: 阿凯|Kyle * 邮箱: <EMAIL> * 更新时间: 2021/06/12 */ #include <iostream> #include "FashionStar_UartServoProtocol.h" using namespace itas109; using namespace fsuservo; FSUS_Protocol::FSUS_Protocol(std::string port_name, itas109::BaudRate baudrate){ // 记录端口号 th...
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Copyright (C) 2014 <NAME> This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modif...
/*! * \file CDiscAdjFEAIteration.cpp * \brief Main subroutines used by SU2_CFD * \author <NAME>, <NAME> * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Contributor...
/* * Copyright (c) 2009 <NAME> * This source code is distributed under the MIT license. * See the accompanying file LICENSE.MIT.txt for details. */ #include <hydra/WebExport.h> #include <assert.h> #include <algorithm> #include <iostream> #include <QDebug> #include <QDir> #include <QFileInfo> #include <hydra/E...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2021 <NAME> and <NAME> //LIC// //LIC// This lib...
/* * Copyright (c) 2018 Intel Corporation. * * 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, publis...
// Copyright (C) 2018 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <ie_builders.hpp> #include <ie_network.hpp> #include "graph_tools.hpp" #include <unordered_map> #include <unordered_set> #include <utility> #include <memory> #include <vector> #include <string> #include <limits> #include <map> ...
/* -- MAGMA (version 2.5.4) -- Univ. of Tennessee, Knoxville Univ. of California, Berkeley Univ. of Colorado, Denver @date October 2020 @author <NAME> @author <NAME> @author <NAME> @precisions normal z -> s d c */ #include <cuda_runtime.h> #include "magma...
#include "halley/navigation/navmesh_generator.h" #include <cassert> #include "halley/navigation/navmesh_set.h" #include "halley/support/logger.h" #include "halley/utils/algorithm.h" using namespace Halley; NavmeshSet NavmeshGenerator::generate(const Params& params) { auto obstacles = preProcessObstacles(params.obst...
// stdafx.cpp : source file that includes just the standard includes // CLearn.pch will be the pre-compiled header // stdafx.obj will contain the pre-compiled type information #include "stdafx.h" #include <memory> #include "CNet.h" #include "FullyConnectedLayer.h" #include "MaxPoolLayer.h" #include "PassOnLayer.h" /*...
#include "Core.h" #include "AnimClasses.h" #include "SkelMeshInstance.h" #if EDITOR # include "GlViewport.h" #endif #define SHOW_BONE_UPDATES 1 /* NOTES for multi-AnimSet support: * - requires multiple CMeshBoneData.BoneMap items * - requires multiple AnimSet pointers * * can check UT3/Engine/Classes/AnimSe...
/* * train_logReg_param.cc * * License: Artistic License, see file LICENSE.TXT or * https://opensource.org/licenses/artistic-license-1.0 */ // project includes // standard C/C++ includes #include <iostream> #include <fstream> #include <iomanip> #include <regex> #include "train_logReg_param.hh" int nu...
/* * Intel provides this code “as-is” and disclaims all express and implied warranties, including without * limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, * as well as any warranty arising from course of performance, course of dealing, or usage in tra...
/// @file Client.cpp /// @brief Main Client functionality, processing received data /// @author <NAME> /// @copyright (c) 2020 <NAME> /// @copyright Permission is hereby granted, free of charge, to any person obtaining a /// copy of this software and associated documentation files (the "Sof...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2021 <NAME> and <NAME> //LIC// //LIC// This lib...
/* nyansd.cpp - Implementation file for the NyanSD service discovery library. Notes: - 2020/04/23, <NAME> */ #include "nyansd.h" #include <iostream> #include <map> #include <Poco/Net/DatagramSocket.h> #include <Poco/Net/NetworkInterface.h> #include <Poco/Net/DNS.h> #include <Poco/Net/NetException.h> #i...
#include "BubbleGenerator.hpp" BubbleGenerator::BubbleGenerator(bool isSecondSection, bool isMouth, Vector2 mouthBubblePos, Time mouthBubbleStartTime, bool willSplatter) : isSecondSection{ isSecondSection }, isMouth { isMouth }, willSplatter{ willSplatter }, mouthX{ mouthBubblePos.x }, mouthY{ mouthBubblePos.y }, mou...
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkGr.h" #include "SkGrPriv.h" #include "GrCaps.h" #include "GrContext.h" #include "GrDrawContext.h" #include "GrGpuResourcePriv.h" #include "GrImageIDTextureAdjust...
/*************************************************************** * * Copyright (C) 2014, 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. You ma...
#include "gtest/gtest.h" #include "../../include/game_objects/Ball.h" #include "../../include/game_objects/Brick.h" #include "../../include/game_objects/IndestructibleBrick.h" #include "../../include/game_objects/Physics.h" #include "../../include/game_objects/Wall.h" #include "../../include/utility/OperatorDegree.h"...
/* * Software License Agreement (BSD License) * * Copyright (c) 2018. Toyota Research Institute * 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 c...
#include "global_hv.h" #include <pcl/io/pcd_io.h> #include <pcl/correspondence.h> #include <pcl/common/centroid.h> #include <pcl/common/transforms.h> #include <boost/archive/binary_oarchive.hpp> #include <boost/archive/binary_iarchive.hpp> #include <boost/serialization/vector.hpp> #include "../../implicit_shape_model...
#include <algorithm> #include <array> #include <cassert> #include <ctime> #include <functional> #include <iostream> #include <iterator> #include <limits> #include <numeric> #include <queue> #include <random> #include <sstream> #include <unordered_map> #include <vector> /*Hex game with artificial intelligence using Mont...
// // Created by <NAME> on 2020-04-12. // #include "SubProblemShort.h" using std::string; using std::vector; using std::map; //--------------------------------------------------------------------------- // // C l a s s S u b P r o b l e m // // Contains the shortest paths with resource constraints // //-----------...
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Scene.h" #include "j1EntityManager.h" #include "j1Player.h" #include "j1Collision.h" #include "j1FadeToBlack.h" #include ...