text
stringlengths
5.71k
33.7k
#include "LCD_ST7070.h" #include "SoftTimers.h" #define NativePosition(x) (x<21)?x-1: (x<41)?0x40+x-21: (x<61)?0x14+x-41: 0x54+x-61 lcd_io LCDprint={false,false,0,0, 0,0}; lcd_io LCDWrite={false,false,0,0 ,0,0}; //=============================================================================== // 4х стр...
#include <filesystem> #include <imgui.h> #include <examples/imgui_impl_glfw.h> #include <examples/imgui_impl_opengl3.h> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <3dmath.h> #include <init.h> #include <ogl.h> #include <util.h> #include <iostream> #include <string> #include <sstream> namespace DGE = Dragon...
/* * linux/kernel/floppy.c * * (C) 1991 <NAME> */ /* * 02.12.91 - Changed to static variables to indicate need for reset * and recalibrate. This makes some things easier (output_byte reset * checking etc), and means less interrupt jumping in case of errors, * so the code is hopefully easier to understand. ...
// $Id$ /*booksim_config.cpp * *Contains all the configurable parameters in a network * */ #include "booksim.hpp" #include "booksim_config.hpp" // Orion Power Support #include "SIM_router_model.h" BookSimConfig::BookSimConfig() { //======================================================== // Network options ...
//FIRFilter.cpp #include "FIRFilter.hpp" #include "Logger.hpp" #include "TypeAbbreviations.hpp" #include "Utility.hpp" #include "VectorMath.hpp" #include <Accelerate/Accelerate.h> #include "assert.h" #include <math.h> const float FIRFilter::VALUE_NOT_AVAILABLE = 0.0f; //**SIMILAR NAME IN F0DETECTOR**** FIRFil...
/* * Copyright (c) 2016 <NAME> <<EMAIL>> * * This file is part of the LibDS, which is released under the MIT license. * For more information, please read the LICENSE file in the root directory * of this project. */ #include <QDir> #include <QJsonArray> #include <QJsonObject> #include <QApplication> #...
/////////////////////////////////////////////////////////////////////////////// // // Copyright (c) Microsoft Corporation // // SYNOPSIS // // Defines the class RadiusProxy. // /////////////////////////////////////////////////////////////////////////////// #include <proxypch.h> #include <datastore2.h> #...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "Runtime/Analytics/AnalyticsET/Private/AnalyticsETPrivatePCH.h" #include "Core.h" #include "Guid.h" #include "Json.h" #include "SecureHash.h" #include "Runtime/Analytics/AnalyticsET/Public/AnalyticsET.h" #include "Runtime/Analytics/Analytics/Public...
/*************************************************************************** * Copyright (C) 2006 by <NAME> * * <EMAIL> * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
#include "matrix.h" #include "mex.h" #include <iostream> #include <math.h> #include <chrono> #include <random> #include <vector> #include <Eigen\Eigen> #include <Eigen\LU> #include <Eigen\Dense> #include <Eigen\SVD> #include "SampleConsensusProblem.hpp" #include "SampleConsensus.hpp" #include "Ransac.hpp" #include ...
/* cookiejar.cpp - Cookie Jar implementation file of WildFox. Revision 0 Features: - Implements a network cookie jar with saving/loading feature. - Implements third-party cookie blocking. Notes: - Uses semi-passive clearing of expired cookies for now. 2012/02/04...
// Copyright (c) 2014 <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 the Software without restriction, including without limitation the rights // to use, copy, modify, merge, ...
//===-- LiveRangeEdit.cpp - Basic tools for editing a register live range -===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright 2008 Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive * license for use of this work by or on behalf of the * U.S. Government. Redistribution and use in source and binary forms, with * or without modification, are permitted provided that this Notice ...
/**************************************************************************** * * Copyright (c) 2018-2019 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. Red...
//===--- GlobalPropertyOpt.cpp - Optimizes global array properties --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/*************************************************************************/ /* body_pair_2d_sw.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
/* OpenSceneGraph example, osgparticleeffects. * * 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...
// from SpatialAveragePooling.cu: #include "utils.h" #include "luaT.h" #include "THClTensor.h" #include "THClTensorMath.h" #include "THClBlas.h" #include "common.h" #include "THCLNN.h" #include "EasyCL.h" #include "THClKernels.h" #include "templates/TemplatedKernel.h" #include <iostream> #include <string> using name...
/* * Copyright (c) 2010-2013, 2015 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementation o...
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2015-2017 Intel Corporation. All Rights Reserved. #include <librealsense2/rs.hpp> // Include RealSense Cross Platform API #include "example.hpp" // Include short list of convenience functions for rendering #include <algorithm> ...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/extensions/updater/local_extension_cache.h" #include <stddef.h> #include <stdint.h> #include "base/bind.h" #include "base/files...
//custom method to encode data by changing the values of each character in a unicode encoded file. #include <iostream> #include <string> #include <fstream> #include <conio.h> #include <windows.h> #include "termcolor.hpp" #include <thread> #include <stdlib.h> using namespace std; void Debugging_text(char something) { ...
// license:BSD-3-Clause // copyright-holders:<NAME> /*************************************************************************** TRS-80 JV1/3 disk image formats Used by <NAME>'s TRS-80 Emulators Description of JV1: This format has no header or identifying characteristics. It is simply a string of sectors one af...
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include <string> #include "../../utils/simstring.h" #include "../../dataobj/tabfile.h" #include "../building_desc.h" #include "obj_pak_exception.h" #include "obj_node.h" #include "text_writer.h" #include "imagelist2d...
/* Copyright (c) 2020, VSB - Technical University of Ostrava and Graz University of Technology 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 copyr...
#include "itkImageFileWriter.h" #include "itkLabelStatisticsImageFilter.h" #include "itkSubtractImageFilter.h" #include "itkConnectedComponentImageFilter.h" #include "itkRelabelComponentImageFilter.h" #include "itkBinaryThresholdImageFilter.h" #include "itkBinaryContourImageFilter.h" #include "itkImageRegionIterator.h"...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1996 - 1999 // // File: owner.cpp // // This file contains the implementation of the Owner page. // //------------------------------------------------------...
/* * Implements the SNMP and IPHLPAPI functions. */ #include "StdAfx.h" #include "NetPerSec.h" #include "winsock2.h" HANDLE hPollForTrapEvent = NULL; AsnObjectIdentifier SupportedView = {0, 0}; LPVOID CSnmp::SnmpUtilMemAlloc(UINT nSize) { if (m_fpSnmpUtilMemAlloc != NULL) return m_fpSnmpUtilMemAlloc(nSize); ...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
#include "RecoJets/JetProducers/interface/PileUpSubtractor.h" #include "DataFormats/Common/interface/View.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "DataFormats/Candidate/interface/CandidateF...
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Mesh_3/io_signature.h> #include <CGAL/Mesh_triangulation_3.h> #include <CGAL/Mesh_complex_3_in_triangulation_3.h> #include <CGAL/IO/File_binary_mesh_3.h> #include <boost/variant.hpp> #include <string> #include <CGAL/disable_warnings.h> t...
#include "UI_Label.h" #include "UI_Image.h" #include "UI_Plane.h" #include "ComponentText.h" #include "ComponentTransform.h" #include "ComponentRectTransform.h" #include "MathGeoLib\MathGeoLib.h" #include "Application.h" #define VERTICAL_LIMIT_OFFSET 10 //When truncating vertical text, truncate when with is "a litt...
/*************************************************************************** * Copyright 1998-2020 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
#include "c_font.h" #include <utility> #include <cmath> #include <cfenv> c_font::c_font() : height(0), flags(0), weight(0), heighest_char(0), dev(nullptr), texture(nullptr), vertex_buffer(nullptr), text_width(0), text_height(0), text_scale(0), spacing(0), saved(nullptr), draw(nullptr), line_height(0) {} c_font::c_fon...
#include "StormLib.h" #include <emscripten/bind.h> using namespace emscripten; class EmPtr { public: void* ptr = nullptr; EmPtr() {} size_t getAddr() const { return (size_t)ptr; } bool isNull() const { return ptr == nullptr; } }; class EmVoidPtr : public EmPtr { public: ...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #include "pch.h" #include "AppKeyBindings.h" #include "KeyChordSerialization.h" #include "AppKeyBindings.g.cpp" using namespace winrt::Microsoft::Terminal; using namespace winrt::TerminalApp; using namespace winrt::Windows::Data::...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "test_utils.h" #include "fusion_test_common.hpp" #include <intel_gpu/primitives/input_layout.hpp> #include <intel_gpu/primitives/quantize.hpp> #include <intel_gpu/primitives/eltwise.hpp> #include <intel_gpu/primitives/data...
#include "resource.h" #include <Windows.h> #include <iostream> #include <strsafe.h> #include <sddl.h> #include <Wbemidl.h> #include <versionhelpers.h> #pragma comment(lib, "wbemuuid.lib") #define _WIN32_DCOM #define VERSION L"0.2" #define AUTHOR L"@itm4n" #define TIMEOUT 60 // Global timeout value in seconds //#defi...
#include "greedy_tensor_search.h" #include "error_functions.h" #include "index_calcer.h" #include "tree_print.h" #include "interrupt.h" #include <util/string/builder.h> #include <util/system/mem_info.h> constexpr size_t MAX_ONLINE_CTR_FEATURES = 50; void TrimOnlineCTRcache(const yvector<TFold*>& folds) { for (aut...
#include <yangwebrtc/YangH264RecvTrack.h> #include <yangrtp/YangRtpHeader.h> #include <yangrtp/YangRtpRawPayload.h> #include <yangrtp/YangRtpSTAPPayload.h> #include <yangrtp/YangRtpFUAPayload2.h> #include <yangrtp/YangRtpConstant.h> #include <yangutil/sys/YangLog.h> #include <yangutil/sys/YangEndian.h> #include <yanga...
#include "scene.h" #define MAX_POINT_LIGHTS 10 #define MAX_SPOT_LIGHTS 2 unsigned int Scene::scrWidth = 0; unsigned int Scene::scrHeight = 0; /* callbacks */ // window resize void Scene::framebufferSizeCallback(GLFWwindow* window, int width, int height) { glViewport(0, 0, width, height); // update varia...
// test-complex.cc // wujian@2018 #include "include/complex-base.h" #include "include/beamformer.h" #include "include/complex-matrix.h" #include "include/complex-vector.h" using namespace kaldi; void TestCvectorInit() { CVector<BaseFloat> v(10); v.SetRandn(); std::cout << v; v.Resize(20, kCopyData); std::c...
/* * new algorithms * remove slap back * * 0 = flip low high * 1 = random * 2 = mainly deep * 3 = random with sine modulation beat*8 */ #include "Arduino.h" #include "PotReader.h" #include "TapDaBeat.h" #include "AudioNoiseGate.h" #include <Audio.h> #include <Bounce2.h> #include <SD.h> #include <SPI.h> #inc...
/** @file This file contains a set of utility routines that are used throughout the logging implementation. @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information ...
// Scintilla source code edit control /** @file LexECL.cxx ** Lexer for ECL. **/ // Copyright 1998-2001 by <NAME> <<EMAIL>> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #include <ctype.h> #include <stdio.h> #include <stdarg.h> ...
#include "EbCtrbInBase.hh" #include "Endpoint.hh" #include "EbLfServer.hh" #include "Batch.hh" #include "TebContributor.hh" #include "ResultDgram.hh" #include "utilities.hh" #include "psalg/utils/SysLog.hh" #include "psdaq/service/MetricExporter.hh" #include "psdaq/service/EbDgram.hh" #ifdef NDEBUG #undef NDEBUG #e...
/* Beginning Game Programming, Third Edition MyDirectX.cpp */ #include "MyDirectX.h" //Direct3D variables LPDIRECT3D9 d3d = NULL; LPDIRECT3DDEVICE9 d3ddev = NULL; LPDIRECT3DSURFACE9 backbuffer = NULL; //DirectInput variables LPDIRECTINPUT8 dinput = NULL; LPDIRECTINPUTDEVICE8 dimouse = NULL; LP...
// Copyright (c) 2014 <NAME> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. #include <config.h> #include <apt-...
/* * $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $ * * sample.cpp * hog * * Created by <NAME> on 5/31/05. * Copyright 2005 <NAME>, University of Alberta. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify * it under the terms of...
#include <ros/ros.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <std_msgs/Float64.h> #include <std_msgs/Int32.h> #include <std_srvs/SetBool.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/...
#include <tkn/singlePassApp.hpp> #include <tkn/bits.hpp> #include <tkn/features.hpp> #include <tkn/transform.hpp> #include <vpp/pipeline.hpp> #include <vpp/trackedDescriptor.hpp> #include <vpp/sharedBuffer.hpp> #include <vpp/bufferOps.hpp> #include <vpp/formats.hpp> #include <vpp/imageOps.hpp> #include <nytl/mat.hpp>...
/** * Copyright (c) 2000-2001 <NAME> * Copyright (c) 2013-2014 <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 must retain the above copyright ...
#include "PrioritizedSweeping.hh" #include <algorithm> //#include <time.h> #include <sys/time.h> PrioritizedSweeping::PrioritizedSweeping(int numactions, float gamma, float MAX_TIME, bool onlyAddLastSA, int modelType, const std::vecto...
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2021 <NAME> <<EMAIL>> * * @file tflite_interpreter.cpp * @date 12 April 2021 * @brief NNTrainer *.tflite Interpreter * @see https://github.com/nnstreamer/nntrainer * @author <NAME> <<EMAIL>> * @bug No known bugs except for NYI items */ #include <tflite...
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
/* // Copyright (c) 2018 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or...
/** * Testival.cpp * * Test interval class * * Created by <NAME> on July 20, 2016. * * Hybrid Systems Group, University of Waterloo. */ #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE IntervalClass #include <boost/test/unit_test.hpp> //#include <boost/test/unit_test_log.hpp> #include <cmath> #incl...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "stdafx.h" #include "win8/metro_driver/print_document_source.h" #include <windows.graphics.display.h> #include "base/logging.h" #include "b...
#include <vector> #include <map> #include <set> #include <algorithm> #include "FWCore/ParameterSet/interface/FileInPath.h" #include "DataFormats/FEDRawData/interface/FEDNumbering.h" #include "DataFormats/FEDRawData/interface/FEDHeader.h" #include "DataFormats/FEDRawData/interface/FEDTrailer.h" #include "DataFormats/Ec...
/* The MIT License (MIT) * * Copyright (c) 2018 <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 the Software without restriction, including without limitation the rights * to use...
#include "Validation/RecoParticleFlow/plugins/PFClusterValidation.h" #include "DataFormats/HcalDetId/interface/HcalSubdetector.h" #include "DataFormats/EcalDetId/interface/EcalSubdetector.h" #include "DataFormats/HcalDetId/interface/HcalDetId.h" #include "DataFormats/Common/interface/Handle.h" #include "DataFormats/Com...
#include "Scene.h" #include "Primitive.h" #include "aabb.h" using namespace Miyuki; void Miyuki::Scene::trace(int x0, int y0) { screen[x0 + w * y0] *= sampleCount; screen[x0 + w * y0] += tracer.trace(x0, y0); screen[x0 + w * y0] /= (1 + sampleCount); } Ray Miyuki::Scene::cameraRay(int x, int y) { return Ray(ve...
/********** Copyright (c) 2016, Xilinx, 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: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol...
// // TextRenderer3D.cpp // interface/src/ui // // Created by <NAME> on 4/24/13. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "TextRenderer3D.h" #include <gpu/GPU...
#include "oniguruma.h" // Must be first. #include "transcoder.h" #include "regenc.h" #include "builtin/array.hpp" #include "builtin/bytearray.hpp" #include "builtin/class.hpp" #include "builtin/data.hpp" #include "builtin/encoding.hpp" #include "builtin/io.hpp" #include "builtin/lookuptable.hpp" #include "builtin/rege...
/////////////////////////////////////////////////////////////////////////////// //! \file //! \author <NAME> //! \date 04/07/2006 //! //! \brief A QScrollBar with an adjustable viewing range //! //////////////////////////////////////////////////////////////////////////////// //#include <QtGui> //#include "QtUtilities....
#include "snowyjanuary.h" #include <capabilityguard.h> #include <glad/glad.h> #include <imgui.h> #include <map> #define SYSTEM_IO_FILEINFO_IMPLEMENTATION #include <system.io.fileinfo.h> #include <system.io.path.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #define KEYMAP_FILE "snowyjanuary.keymap" sta...
// SPDX-License-Identifier: Apache-2.0 // ---------------------------------------------------------------------------- // Copyright 2011-2022 Arm Limited // // 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 ...
// Copyright 2015-2019 Autoware Foundation // // 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 ...
// Copyright (c) 2010 Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
// ArcadeMenu.cpp : Defines the entry point for the console application. // #include "ArcadeMenu.h" #include <stdio.h> #include "rapidxml/rapidxml.hpp" #include "rapidxml/rapidxml_utils.hpp" #include <chrono> #include <ctime> #include <algorithm> #include <string> #include <sstream> void Log(std::string message) { ...
#include "data_access/DataAccess.hpp" #define W(x) std::cerr << #x << " = " << x << std::endl; DataAccess::DataAccess(int &argc, char **argv, const std::string &name) : ROSComponent(argc, argv, name), fp(), event_filepath(), status_filepath(), logical_clock(0), statusVec(), eventVec(), status(), buffer_size(), relia...
/* * Copyright (C) 2012 Open Source Robotics Foundation * * 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 appl...
/* logger.cpp: global error & info handling Copyright (c) 2018, <NAME> <EMAIL>, www.retrocmp.com 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...
// 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 "tools/gn/ninja_build_writer.h" #include <stddef.h> #include <fstream> #include <map> #include <sstream> #include "base/command_line.h" #i...
#include <cstdint> #include <vector> #include <list> #include <iostream> #include <array> #include <set> #include <memory> #include <cassert> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; struct RCCode { struct chain { vector<uint8_t> vals; RCCode* const maxpoint; ...
/* -------------------------------------------------------------------------------- * Copyright 2018 by <NAME> <<EMAIL>> * -------------------------------------------------------------------------------- */ #include "QtOpenGLViewer.h" #include <climits> #include <cmath> #include <QKeyEvent> #include <QMatrix4x4> #...
/* This file is part of mediaserver. A webrtc sfu server. * Copyright (C) 2018 <NAME> <<EMAIL>> & <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 L...
//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...
#include <atraj.h> Trajectory_Accel::Trajectory_Accel(float d_t) { /* Trajectory class constructor * - Holds A, B, X, T matricies * - Can return direct X matrix constants * - Can return next waypoint upon call */ A.resize(6,6); B.resize(24,24); X.resize(24,24); T.resize(2,24); initAMatrix(); initBMatr...
// Copyright (c) 2019 EPI-ONE Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" #include "block_store.h" #include "config.h" #include "dag_manager.h" #include "file_utils.h" #include "mempool.h" #...
#include "NuiKinfuCPUDepthTracker.h" #include "NuiKinfuCPUUtilities.h" #include "NuiKinfuCPUFrame.h" #include "NuiKinfuCPUFeedbackFrame.h" #include "../NuiKinfuCameraState.h" #include "Foundation/NuiDebugMacro.h" #include "Foundation/NuiCholesky.h" #include <iostream> #include <boost/smart_ptr.hpp> #define KINFU_IC...
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies ...
#include "rensa_hand_tree.h" #include <cmath> #include <iostream> #include <sstream> #include "core/rensa/rensa_detector.h" #include "core/core_field.h" #include "core/frame.h" #include "core/probability/column_puyo_list_probability.h" #include "core/probability/puyo_set_probability.h" #include "core/probability/puyo...
#include "stdafx.h" #include "VMFUtils.h" extern vec3_t vec3_origin; float lightaxis[3] = {1.0f, 0.6f, 0.75f}; ////////////////////////////////////////////////////////////////// // The following is code inspired by <NAME>'s QuakeEd app. // It was ported from Objective C and modified to fit // my architecture. // ref...
#include <stdio.h> #include <algorithm> #include <cassert> #include <codecvt> #include <fstream> #include <future> #include <iostream> #include <locale> #include <memory> #include <unordered_map> #include <vector> #include <boost/algorithm/string.hpp> #include <boost/multiprecision/gmp.hpp> #include <boost/dynamic_bits...
#include "Agos/src/renderer/vulkan_app/vulkan_helpers.h" #include "Agos/src/renderer/vulkan_base/vulkan_base.h" #include "Agos/src/logger/logger.h" // ** images, image views, and buffers helper functions ============================================================================================= // * = = = = = = = =...
/* * Portions Copyright (c) 2020 Huawei Technologies Co.,Ltd. * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group * * * heartbeat.cpp * * IDENTIFICATION * src/gausskernel/storage/replication/heartbeat.cpp * * -------------------------------------------------------------------------...
/* * ai.cpp * BloodyKart * * Created by tcpp on 09/08/27. * Copyright 2009 tcpp. All rights reserved. * */ #include "global.h" #include "map.h" #include "ai.h" #include "weapon.h" ai_t::ai_t(){ steer=0.f; ohit=SDL_GetTicks(); backstart=0; stopStart=0; mindist=0.4f+rnd()*.6f; fireTime=rnd(); firing=f...
#include "widescreen_fix.h" #include <math.h> #include <string.h> #include "../client_signature.h" #include "../halo_data/resolution.h" #include "../hooks/map_load.h" #include "../hooks/frame.h" #include "../hooks/tick.h" #include "../hud_mod/offset_hud_elements.h" #include "../messaging/messaging.h" #inclu...
#include "halfedge/Polyhedron.h" #include "halfedge/Utility.h" #include <set> #include <map> namespace { using PointStatus = he::Utility::PointStatus; PointStatus CheckIntersects(const sm::Plane& plane, const he::DoublyLinkedList<he::vert3>& verts) { size_t above = 0; size_t below = 0; size_t inside = 0...
#include <cstdlib> #include <cstdio> #include <cctype> #include "Engine.h" #include "Tools/Assert.h" #include "Tools/Error.h" #include "Tools/Word.h" #include "CodeLite.h" void CodeLite::addDefaultKeys(Engine& engine) { engine.addDefaultKey("tool", "CodeLite"); engine.addDefaultKey("CodeLite", "CodeLite"); #if...
/* * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: <NAME> */ #include <random> #include <algorithm> #include <iostream> #include <numeric> #include <math.h> #include <iostream> #include <sstream> #include <string> #include <iterator> #include "particle_filter.h" using namespace std; void Par...
#include "trt_infer.hpp" #include <cuda_runtime.h> #include <algorithm> #include <NvInfer.h> #include <NvCaffeParser.h> #include <NvInferPlugin.h> #include <cuda_fp16.h> #include <common/cuda_tools.hpp> using namespace nvinfer1; using namespace std; class Logger : public ILogger { public: virtual v...
#include "TaskDescription.hpp" #include <boost/algorithm/string.hpp> #include "XMLHelpers.hpp" #define DEBUG cout //rw::core::Log::debugLog() using namespace std; USE_ROBWORK_NAMESPACE; using namespace robwork; using namespace rwsim; using namespace rwsim::dynamics; using namespace boost::property_tree; using boos...
/*************************************************************************** * HopByHopHeader.cc -- The HopByHopHeader Class represents an IPv6 * * Hop-by-Hop extension header. * ***********************IMPORTANT NMAP LICENSE TERMS************************ * ...