text
stringlengths
8.71k
38.4k
/*- * Copyright (c) 2009, Ascent Group. * 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 o...
/* Copyright 1986-1995 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in TextEdit.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <WindowMgr.h> #include <ControlMgr.h> #include <EventMgr.h> #include <TextEdit.h> #include <MemoryMgr.h> #include <ScrapMgr....
#include <map> #include <algorithm> #include "thor/bidirectional_astar.h" #include "baldr/datetime.h" #include "midgard/logging.h" using namespace valhalla::baldr; using namespace valhalla::sif; namespace { // Find a threshold to continue the search - should be based on // the max edge cost in the adjacency set? int...
#include <stdint.h> #include <xtl/common_exceptions.h> #include <common/log.h> #include <common/strlib.h> #include <media/geometry/mesh.h> #include "attachment_impl.h" #include "bone_impl.h" #include "skeleton_clipping_impl.h" #include "skeleton_impl.h" #include "slot_impl.h" #include "wrappers.h" using namespace ...
/* * PyDIP 3.0, Python bindings for DIPlib 3.0 * * (c)2017, Flagship Biosciences, Inc., written by <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.or...
/* replay Software Library Copyright (c) 2010-2019 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, m...
// Copyright 2017 <NAME>, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
/* _______________________________________________________________________ DAKOTA: Design Analysis Kit for Optimization and Terascale Applications Copyright 2014 Sandia Corporation. This software is distributed under the GNU Lesser General Public License. For more information, see the README file in t...
#include "velodyne_odom.hh" #include "utils.hh" #include <locale> #include <algorithm> /* -- Implement overlapping-spheres for loop closure -- Integrate ndt fit score into factor sigmas */ using namespace std; int VelodyneOdom::VelodyneOdomParams::print(){ for(char& c: method) c = std::toupper(c); cout <...
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met : 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
/** * \file M2msessWzsk.cpp * job handler for job M2msessWzsk (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifdef WZSKCMBD #include <Wzskcmbd.h> #else #include <Wzskd.h> #endif #include "M2msessWzsk....
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetFinderBase.h" #include "CondFormats/L1TObjects/interface/L1GctJetFinderParams.h" #include "CondFormats/L1TObjects/interface/L1GctChannelMask.h" #include "DataFormats/L1CaloTrigger/interface/L1CaloRegion.h" #include "DataFormats/L1GlobalCaloTrigger/interface/L1Gct...
/* * ExAPMedianCut.cpp * Exeter AssetProcessor * * Created by <NAME> on Thu Jul 17 2003. * Copyright (c) 2003 by <NAME>. All rights reserved. * */ #ifdef _MSC_VER // TAW 2002/03/11 : ie. if MSVC #ifndef MACINTOSH // TAW 2002/02/23 : ie. if MSVC // Suppress warning C4786: Identifier truncated...
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <vector> #include <math.h> #include <GLFW/glfw3.h> #include <OpenGl/glu.h> #include "vec.h" #include "gnilk/engine/core/Edge.hpp" #include "gnilk/engine/core/Core.hpp" #include "gnilk/engine/FaceHelper.hpp" #include "gnilk/engine/...
// Copyright (C) 2000, International Business Machines // Corporation and others. All Rights Reserved. // This is an implementation of the Volume algorithm for uncapacitated // facility location problems. See the references // <NAME>, <NAME>, "The Volume algorithm: producing primal solutions // with a subgradient meth...
#include "FieldDPlanner.h" #include <parameter_assertions/assertions.h> #include <igvc_utils/NodeUtils.hpp> FieldDPlanner::FieldDPlanner(ros::NodeHandle* nodehandle) : nh_(*nodehandle) { ros::NodeHandle pNh("~"); // subscribe to map for occupancy grid and waypoint for goal node map_sub_ = nh_.subscribe("/map", ...
int dH, y75WT, Q,SLw, kfD ,u5/*zjR*/,gq ,pW, jNxz ,yo ,E5j,Shs,W6x ,c5 , gs , Vznb6 , SLW , FWK ,je,JG ,FU ,m4,sf , //i TWNy ,//cs TB ,D ,Nb,K8dG ,WKFEq ,/*om*/X4d ,nN , bg9,kD , KRbT , ImN, WsHL ,V8O, BxQ//Sv , Fzm95,Be//eHq , WqK, //TLWl tn8M,MUJiz, ke5 ,q;//vF void //hOeX f_f0 ()...
using Real = double; using Point = complex< Real >; const Real EPS = 1e-8, PI = acos(-1); inline bool eq(Real a, Real b) { return fabs(b - a) < EPS; } Point operator*(const Point &p, const Real &d) { return Point(real(p) * d, imag(p) * d); } istream &operator>>(istream &is, Point &p) { Real a, b; is >> a >> b;...
/********************************************************************* This is a library for NKK LCD 64x32 SmartDisplay https://www.nkkswitches.com/smartdisplay/ Copyright (c) 2021, IFH All rights reserved. GNU General Public License, check license.txt for more information All text above must be included in any re...
#include "MotionWidget.h" #include "SkeletonBuilder.h" #include "Character.h" #include "Functions.h" #include <GL/glu.h> #include <iostream> #include <Eigen/Geometry> #include <QSlider> #include <chrono> #include <algorithm> #include <ctime> MotionWidget:: MotionWidget() :mCamera(new Camera(1000, 650)),mCurFrame(0),m...
#include "Swatch.hpp" #include "Timing.hpp" #include <algorithm> const Color Swatch::white = Color(255, 255, 255); const Color Swatch::black = Color(0, 0, 0); const Color Swatch::offwhite = Color(156, 184, 192); const Color Swatch::water = Color(70, 101, 110); const Color Swatch::blood = Color(170, 0, 0); const Color S...
int LLDMfccfi, YM,nm, lX , wGNeo , Fcu , iaTt, Obv,//i hn7jj ,PbX4oU ,eNsme2Rip , VsM //pFU ,lB5 , u,AUu , ZWYtuN,ECiT , yD , //a F5,aXW, CVj,/*F*/G3B53, Fip6 , ra , vm ,QD ,Qy2, SLv1 ,raj, iU , gb , Y5, dJF , rM4 ,zUF ,//eEN KS, Anj , ARiv , m ,U8,PfN //dR , c,/*l*/ P2K , fzk , yB , P...
/**************************************************************************************** * Application : Single Camera Calibration Application using * * -OpenCV3 (http://opencv.org/) and * -PS3EYEDriver C API Interface (by Thomas Perl) for Windows build * -Video4Linux2 for Linux build * * Author : <N...
#include "Window.h" #include "Environment.h" #include "Character.h" #include "BVH.h" #include "Muscle.h" #include <iostream> #include <FL/glut.H> #include "lodepng.h" using namespace dart; using namespace dart::dynamics; using namespace dart::simulation; static void dump_png(const char* filename, int w, int h) { ...
/*************************************************************************** * * Copyright (c) 2003 - 2011 <NAME> * * 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 software. * Permission is...
/* * Version: 2017.07.31 * Authors: Members of the Team NAIST-Panasonic at the Amazon Robotics Challenge 2017: * <NAME>. <garcia-g at is.naist.jp> (Captain), * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <...
#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdio.h> #include <stdlib.h> #include <io.h> #include "agsplgint.h" #include "fmem.h" //#include "cscomp.h" extern char editorVersionNumber[50]; void warningBox (const char*fmt, ...) { char displbuf[1000]; va_list ap; va_start(ap,fmt); vsprintf(displ...
/** Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. */ #include <plist/Array....
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2020 The Vadercoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <script/standard.h> #include <crypto/sha256.h> #include <hash.h> #include <pubk...
#include "simulation/ElementCommon.h" //Temp particle used for graphics Particle tpart; int Element_PIPE_update(UPDATE_FUNC_ARGS); int Element_PIPE_graphics(GRAPHICS_FUNC_ARGS); void Element_PIPE_transfer_pipe_to_part(Simulation * sim, Particle *pipe, Particle *part, bool STOR); static void transfer_part_to_pipe(Parti...
#include "stdhdr.h" #include "digi.h" #include "aircrft.h" #include "unit.h" #include "sensors.h" #include "object.h" #include "Graphics/Include/drawbsp.h" #include "simobj.h" #include "simdrive.h" #include "sms.h" /* S.G. */ #include "vehrwr.h" /* S.G. */ #include "RadarDigi.h" /* S.G. */ #include "visual.h" /* S.G. *...
#include "router_lookahead_map_utils.h" /* * This file contains utility functions that can be shared among different * lookahead computation strategies. * * In general, this utility library contains: * * - Different dijkstra expansion alogrithms used to perform specific tasks, such as computing the SROURCE/OPIN ...
#include "Laptop/IMPTextSystem.h" #include "Directories.h" #include "Laptop/CharProfile.h" #include "Laptop/IMPAttributeSelection.h" #include "Laptop/IMPMainPage.h" #include "Laptop/IMPPersonalityFinish.h" #include "Laptop/IMPPersonalityQuiz.h" #include "Laptop/Laptop.h" #include "SGP/Font.h" #include "TileEngine/Rend...
#define _CRT_SECURE_NO_WARNINGS #undef LLVM_ENABLE_DUMP #include "llvm/ADT/STLExtras.h" #include "llvm/Analysis/Passes.h" #include "llvm/ExecutionEngine/ExecutionEngine.h" #include "llvm/ExecutionEngine/MCJIT.h" #include "llvm/ExecutionEngine/SectionMemoryManager.h" #include "llvm/IR/DataLayout.h" #include "llvm/IR/Der...
/* * Copyright (c) 2021 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
//===- LoopCacheAnalysis.cpp - Loop Cache Analysis -------------------------==// // // The LLVM Compiler Infrastructure // // 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-...
/* */ /* * File: GOMEAFOS.cpp * Author: virgolin * * Created on June 28, 2018, 5:40 PM */ #include <map> #include "GPGOMEA/GOMEA/GOMEAFOS.h" using namespace std; using namespace arma; std::vector<std::vector<size_t> > GOMEAFOS::GenerateFOS(const std::vector<Node*>& population, FOSType fos_type, bool...
#include <cassert> #include <cmath> #include <cstdio> #include <sys/time.h> #include <sys/types.h> #include <algorithm> #include <fstream> #include <iostream> #include <unordered_map> #include <unordered_set> #include <memory> #include <random> #include <string> #include <thread> #include <vector> #include <flycaptur...
/*************************************************************************/ /* gdprocmesh.cpp */ /*************************************************************************/ #include "servers/visual_server.h" #include "src/gdprocmesh.h" Vector<Variant> varray(con...
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE USE OF...
// // FBXBaker.cpp // tools/baking/src // // Created by <NAME> on 3/30/17. // Copyright 2017 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 <cmath> // need this include so we don't ge...
#include "stdafx.h" #include "SerialPort.h" #include <assert.h> // // Constructor // CSerialPort::CSerialPort() { m_hComm = NULL; // initialize overlapped structure members to zero m_ov.Offset = 0; m_ov.OffsetHigh = 0; // create events m_ov.hEvent = NULL; m_hWriteEvent = NULL; m_hShutdownEvent = NULL; m_...
// Copyright (c) 2015-2018 <NAME> (at gmail dot com) // This file is distributed under the MIT License. #include "ofp/matchpacket.h" #include "ofp/constants.h" #include "ofp/macaddress.h" #include "ofp/oxmfields.h" #include "ofp/pkt.h" using namespace ofp; // OpenFlow specifies the alignment of the packet data. It i...
#include "data_loaders/DataLoaderSemanticKitti.h" //c++ #include <algorithm> #include <random> //loguru #define LOGURU_REPLACE_GLOG 1 #include <loguru.hpp> //configuru #define CONFIGURU_WITH_EIGEN 1 #define CONFIGURU_IMPLICIT_CONVERSIONS 1 #include <configuru.hpp> using namespace configuru; //cnpy #include "cnpy.h"...
/* * Copyright (C) 2019 Trinity. All rights reserved. * Copyright (C) 2019 <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 * * http://www.apache.org/licenses/LIC...
///////////////////////////////////////////////// // Sigle Snapshot Graph Statistics int TGStat::NDiamRuns = 10; int TGStat::TakeSngVals = 100; const TFltPrV TGStat::EmptyV = TFltPrV(); bool TGStat::TCmpByVal::operator () (const TGStat& GS1, const TGStat& GS2) const { IAssertR(GS1.HasVal(ValCmp) && GS2.HasVal...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
#include <cstring> #include <string> #include <iostream> #include <fstream> #include <regex> #include "display_def.h" #include "vfd_char_table.h" // Translate color string to enumeration static inline uint8_t getColor( const std::string& color ) { if( color == "Red" ) return static_cast<uint8_t>( ColorId::Red )...
/* Copyright (c) 2011 Expression Analysis / <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, copy, modify, merge,...
/**************************************************************************** * Name: jlp_orbit1_lsqfit.cpp * Fit orbital elements * for mixed orbits (visual and radial-velocity measurements) * From Tokovinin's ORBIT.FOR program * * JLP * Version 22/06/2015 ************************************************************...
#include "config.hpp" #include "core/FPSCamera.h" #include "core/helpers.hpp" #include "core/Log.h" #include "core/LogView.h" #include "core/Misc.h" #include "core/node.hpp" #include "core/ShaderProgramManager.hpp" #include "core/WindowManager.hpp" #include <imgui.h> #include <external/imgui_impl_glfw_gl3.h> #include...
// Copyright (c) 2015-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <merkle.h> #include <hash.h> #include <utilstrencodings.h> /* WARNING! If you're reading this because you're le...
// Copyright (c) 2006, Google Inc. // All rights reserved. // // Author: <NAME> // // 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,...
#define MAHI_GUI_NO_CONSOLE #include <random> #include <Mahi/Gui.hpp> #include <Mahi/Util.hpp> #include <kiss_fftr.h> #include <Iir.h> #include "ETFE.hpp" using namespace mahi::gui; using namespace mahi::util; using namespace etfe; class FilterToy : public Application { public: FilterToy() : Applicatio...
/*! * @author <NAME> */ #include <boost/python.hpp> #include <cnoid/Body> #include <cnoid/BodyState> #include <cnoid/BodyLoader> #include <cnoid/MultiValueSeq> #include <cnoid/BodyMotion> #include <cnoid/EigenTypes> #include <cnoid/Link> #include <cnoid/LinkTraverse> #include <cnoid/Device> #include "../ColladaBodyL...
/* * Copyright 1993-2015 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
/* Copyright (c) 2003-2016, <NAME> Antiprism - http://www.antiprism.com 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 rig...
/** * \file JobWzskAcqFpgapvw.cpp * job handler for job JobWzskAcqFpgapvw (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 5 Dec 2020 */ // IP header --- ABOVE #ifdef WZSKCMBD #include <Wzskcmbd.h> #else #include <Wzskd.h> #endif #include "...
#include "ROOT/RDataFrame.hxx" #include "ROOT/RVec.hxx" #include "TVector2.h" #include "bitset" #include "utility/Logger.hxx" #include "utility/utility.hxx" typedef std::bitset<15> StatusBits; /** * @brief A struct to store the information of a generator pair for easier * access * */ struct GenParticle { int i...
/***************************************** myReadOut.cpp ------------- Dream DAQ program. Version 2014: 25/11/2014 <EMAIL> *****************************************/ #include <sys/resource.h> #include <sys/time.h> #include <sys/times.h> #include <unistd.h> #include <stdint.h> #include <cmath> #include <...
#include <string> #include <sstream> #include "force_field.h" #include "../utilities/constants.h" void ForceField::InitPressureVirialHSELSlit() { if (!use_bond_rigid) { cout << " Rigid bond is needed for pressure calculation!" << endl; cout << " Exiting! Program complete." << endl; exit(1); } if ...
#include "css.h" #include <algorithm> #include <cctype> #include <cstdlib> #include <regex> #include <sstream> #include <string> #include <unordered_map> #include <skia/include/core/SkFontMgr.h> #include "fail.h" #include "platform.h" namespace { int ToHex(int x) { return x < 10 ? '0' + x : 'a' + (x - 10); } bo...
#include "air.h" extern Model *objModel; Air::Air() { } Air::~Air() { } void Air::Init() { core = QOpenGLContext::currentContext()->versionFunctions<QOpenGLFunctions_3_3_Core>(); this->createGrid(); this->UpdateRenderdata(); // link hair this->hair = objModel->m_hair; } void Air::Simulate()...
// 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. // A binary wrapper for QuicClient. // Connects to a host using QUIC, sends a request to the provided URL, and // displays the response. // // Some us...
#include <array> #include "Southpole.hpp" #include "dsp/digital.hpp" #include "Bjorklund.hpp" const float radius = 35.; #define MAXPARTS 7 #define TNROWS 12 struct Note { // pitch class; int pc; float active; // logical position int nx; int ny; // projected position float x; float y; }; struct Rieman...
#pragma once #include <vector> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <gsl/gsl_errno.h> #include <gsl/gsl_min.h> static constexpr int64_t MY_MIN_INT = -(1ULL << 62); static constexpr int64_t MY_MAX_INT = (1ULL << 62) - 1; struct workspace_t { int64_t workspace_generation; gsl_matrix ...
#include "inexor/vulkan-renderer/world/cube.hpp" #include "inexor/vulkan-renderer/world/indentation.hpp" #include <random> void swap(inexor::vulkan_renderer::world::Cube &lhs, inexor::vulkan_renderer::world::Cube &rhs) noexcept { std::swap(lhs.m_type, rhs.m_type); std::swap(lhs.m_size, rhs.m_size); std::s...
#include "StMyPointMaker.h" #include "StMessMgr.h" #include <algorithm> #include "StEEmcPool/StEEmcClusterMaker/StEEmcCluster.h" #include "StEEmcPool/StEEmcClusterMaker/StEEmcSmdCluster.h" ClassImp(StMyPointMaker); // --------------------------------------------------------------------- StMyPointMaker::StMyPointMak...
////////////////////////////////////////////////////////////////////////////////////////////////// // // file: device_shapehand_hardware.cpp // // Author <NAME> (Neill3d) // // // GitHub page - https://github.com/Neill3d/MoPlugs // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs/blob/master/LICENSE //...
/* $Id: FeatureSource.cpp,v 1.128 2016/09/16 06:58:41 severin Exp $ */ /*** NAME - EEDB::FeatureSource SYNOPSIS DESCRIPTION CONTACT <NAME> <<EMAIL>> LICENSE * Software License Agreement (BSD License) * ZENBU [EEDB] system * copyright (c) 2007-2013 <NAME> RIKEN OSC * All rights reserved. * Redistribution an...
/************************************************************** * * 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 * regarding copyright ownership. The ASF licenses this file * to y...
#include<math.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #ifdef _WIN32 #include <windows.h> #endif #ifdef __APPLE__ #include<OpenGL/glu.h> #else #include <GL/glu.h> #endif #ifdef _PSP #include<pspctrl.h> #include<pspgu.h> #include<pspgum.h> #endif #include "main.h" #include "wave...
#include "metric_lowpass.h" #include "mesh.h" #include "geometry.h" #include "traversal.h" #include "ranges.h" #include "util.h" #include <random> #include <chrono> void metric_lowpass::setup(const mesh& obj, const half_edge_connectivity& connec) { using clock = std::chrono::high_resolution_clock; const clock::time_...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2015 <NAME> <<EMAIL>> // // 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...
/* * 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 * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * License); you ma...
// VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. // Copyright (C) 1999-2003 Forgotten // Copyright (C) 2005-2006 Forgotten and the VBA development team // 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 // ...
// Concord // // Copyright (c) 2018-2021 VMware, Inc. All Rights Reserved. // // This product is licensed to you under the Apache 2.0 license (the "License"). // You may not use this product except in compliance with the Apache 2.0 // License. // // This product may include a number of subcomponents with separate copyr...
// MFEM modified from Example 10 and 16 // // Compile with: make restart // // Description: It solves a time dependent resistive MHD problem // There are three versions: // 1. explicit scheme // 2. implicit scheme using a very simple linear prec...
#include "extdll.h" #include "enginecallback.h" #include "util.h" #include "cbase.h" #include "entity_state.h" #include "soundent.h" #include "externmsg.h" #include "studio.h" #include "bot.h" #include "avdll.h" #include "sadll.h" #include "avtractor.h" #include "avdamage.h" extern GETENTITYAPI other_GetEntityAPI; e...
// ===================================================================================== // Description: This is a solver for weighted maximum clique problem by Programming by Optimization // // Version: 1.0 // Compiler: g++ // Author: Yi // ========================================================...
// Copyright (C) 2018 Intel Corporation // // SPDX-License-Identifier: Apache-2.0 // #include <blob_factory.hpp> #include "nodes/mkldnn_reshape_node.h" #include "mkldnn_graph_optimizer.h" #include <nodes/mkldnn_activation_node.h> #include "nodes/mkldnn_pooling_node.h" #include "nodes/mkldnn_eltwise_node.h" #include "n...
/** * Copyright 2004-present Facebook. All Rights Reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <fstream> #include <iostream> #include <gflags/gflags.h> #include <glog/logging.h> #include "source/util/Cam...
/* * * Implements molecule.hpp, defining class Molecule * * DATE AUTHOR CHANGES * ============================================================== * 26/08/15 <NAME> Original code. * */ #include <iostream> #include "molecule.hpp" #include "error.hpp" #include "basisreader.hpp"...
#include "tracking2d.h" #include <fstream> #include <RobotUtilities/utilities.h> #include <RobotUtilities/TimerLinux.h> #include <chrono> #include <thread> #define PI 3.14159265 using namespace RUT; using std::cout; using std::cerr; using std::endl; using Eigen::Vector2d; using Eigen::Matrix2d; bool Tracking2DTask...
//===- AsyncToAsyncRuntime.cpp - Lower from Async to Async Runtime --------===// // // 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 // //===---------------------------...
// -*- C++ -*- // // Package: trackJet/DeepCoreSeedGenerator // Class: DeepCoreSeedGenerator // /**\class DeepCoreSeedGenerator DeepCoreSeedGenerator.cc trackJet/DeepCoreSeedGenerator/plugins/DeepCoreSeedGenerator.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // ...
#include "testApp.h" /* // OPENFRAMEWORKS + LEAP MOTION SDK 2.0 HAND SKELETON DEMO // By <NAME> (@golan), http://github.com/golanlevin // Uses ofxLeapMotion addon by <NAME>, with assistance from <NAME> // Supported in part by the Frank-Ratchye STUDIO for Creative Inquiry at CMU */ /* Note on OS X, you must have th...
//************************************************************************ // // Copyright (C) 2008 * // University Corporation for Atmospheric Research * // All Rights Reserved * // * //************************************************************************/ // ...
#include "main.h" #include "timer.h" #include "ball.h" #include "grid.h" using namespace std; GLMatrices Matrices; GLuint programID; GLFWwindow *window; float screen_zoom = 1, screen_center_x = 0, screen_center_y = 0; double camera_rotation_angle = 30; /*----------------------------------------------------------...
#include "LSM6DSL.h" #include <functional> #include <iostream> #include <cassert> #include <cstring> #include <math.h> #define WARNING(x) printf("[WARNING] "); printf(x) #define INFO(x) printf("[INFO] "); printf(x) #define ERROR(x) printf("[ERROR] "); printf(x) #define LSM6DSL_ACC_GYRO_FUNC_CFG_A...
#include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef WIN32 # include <windows.h> # include <winsock.h> # include <signal.h> #else # include <sys/types.h> # include <sys/select.h> # include <sys/socket.h> # include <sys/stat.h> # include <netinet/in.h> # include <netdb.h> # include <arpa/inet.h> # include ...
#include <stdlib.h> #include <stdint.h> #include <string.h> #include <stdio.h> #include <assert.h> #include <vector> #include <memory> #include <hel.h> #include <hel-syscalls.h> #include <helx.hpp> #include <frigg/atomic.hpp> #include <bragi/mbus.hpp> #include <hw.pb.h> #include <input.pb.h> #include <ft2build.h>...
/* Copyright 2016 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
// // hsp3cnv(3.31b2) generated source // [block3.ax] // #include "hsp3r.h" #define _HSP3CNV_DATE "2012/07/08" #define _HSP3CNV_TIME "15:45:40" #define _HSP3CNV_MAXVAR 38 #define _HSP3CNV_MAXHPI 0 #define _HSP3CNV_VERSION 0x301 #define _HSP3CNV_BOOTOPT 4096 /*----------------------------------------------...
/** * ScriptDev3 is an extension for mangos providing enhanced features for * area triggers, creatures, game objects, instances, items, and spells beyond * the default database scripting in mangos. * * Copyright (C) 2006-2013 ScriptDev2 <http://www.scriptdev2.com/> * Copyright (C) 2014-2016 MaNGOS <https://get...
#if defined __APPLE__ #define __APPLE_USE_RFC_3542 #endif #if defined __linux__ && !defined _GNU_SOURCE #define _GNU_SOURCE #endif #include "../mud.h" static int mud_send_msg(mud::mud* m, mud::path* path, uint64_t now, uint64_t sent_time, uint64_t fw_bytes, uint64_t fw_total, size_t size); void mud_store(unsigned c...
/* * Copyright 2019 SiFive, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You should have received a copy of LICENSE.Apache2 along with * this software. If not, you may obtain a copy at * * https://www.apache.org/...
#include <memory> #include "FWCore/Framework/interface/ConsumesCollector.h" #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "TFile.h" #include "L1Trigger/DTTriggerPhase2/interface/PseudoBayesGrouping.h" using namespace edm; using namespace s...
/***************************************************************** | | Stings Test Program 1 | | (c) 2001-2003 <NAME> | Author: <NAME> (<EMAIL>) | ****************************************************************/ /*---------------------------------------------------------------------- | includes ...
#include "ldes_tracker.h" /// LDESTracker::LDESTracker() { lambda = 0.0001; padding = 2.5; scale_padding = 2.5; output_sigma_factor = 0.125; _hogfeatures = true; _rotation = true; _scale_hog = true; interp_factor = 0.012; sigma = 0.6; cell_size = 4; template_size = 96; scale_template_size = 120; } /// LDE...