text
stringlengths
5.71k
33.7k
// Bin2Src.cpp: implementation of the Bin2Src class. // // Copyright (c) 2015 by <NAME>. // // This file is distributed under the MIT license, which basically says // you can do what you want with it and I take no responsibility for bugs. // See http://www.opensource.org/licenses/mit-license.php for full details....
//===- PrepareForEmission.cpp - IR Prepass for Emitter --------------------===// // // 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 // //===---------------------------...
//===- ConvertToLLVMDialect.cpp - conversion from Linalg to LLVM dialect --===// // // Copyright 2019 The MLIR Authors. // // 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....
// FFmpeg based UDP video stream decoder #include "PlatformBase.h" #include <algorithm> #include <cassert> #include <chrono> #include <cstdio> #include <cstdlib> #include <iostream> #include <mutex> #include <queue> #include <string> #include <sstream> #include <thread> extern "C" { #include <libavformat/avio.h> #in...
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "gfxFT2FontBase.h" #include...
#include "main.h" #include "timer.h" #include "cuboid.h" #include "camera.h" #include "boat.h" #include "monster.h" #include "barrel.h" using namespace std; GLMatrices Matrices; GLuint programID; GLFWwindow *window; /************************** * Customizable functions * **************************/ Cuboid ocean,...
#include "NetcdfCf.h" #include "../Location.h" #include "../Member.h" #include "../Options.h" #include <iomanip> InputNetcdfCf::InputNetcdfCf(const Options& iOptions) : Input(iOptions), mLatVar("Lat"), mLonVar("Lon"), mLandUseVar(""), mLandFractionVar(""), mTimeDim("Offset"), ...
#include<graphics.h> #include<iostream.h> #include<stdlib.h> #include<conio.h> #include<stdio.h> #include<timer.h> #include<math.h> #include<dos.h> int gameOver = 1; union REGS i, o; void welcome(int maxx, int maxy) { int midx=maxx/2; int midy=maxy/2; int p1=midx-220,p2=midy-120,p3=midx+220,p4=midy+...
/** * @file log_test.cpp * @author <NAME> * * @brief CORBA C++11 logging test * * @copyright Copyright (c) Remedy IT Expertise BV */ #include "ciaox11/testlib/ciaox11_testlog.h" void test_log () { //Testcase priority 1 //First use defaults: CIAOX11_TEST_INFO << "**************** Use default no prio...
// Copyright (c) 2012 The WebM project authors. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing projec...
/*========================================================================= Program: Visualization Toolkit Module: TestRandomPOrderStatisticsMPI.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 WITHO...
// ObjectTrainer.cpp // Written by <NAME> // Copyright of Thunderbots@HomeLeague, UBC //======================================================= #include <ObjectTrainer.hpp> #include <unistd.h> #include <time.h> struct TrainingRow; string CURRENT_DIRECTORY; struct class_analysis { int correct; int incorrect; int ...
/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by <NAME> (<EMAIL>) * * This file is part of FlashGraph. * * 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 "send_request.h" #include "mainwindow.h" #include "helper.h" #include "ui_mainwindow.h" #include <QMessageBox> #include <QFile> #include <QJsonDocument> #include <QJsonObject> #include <QJsonArray> #include <QMessageBox> #include <QNetworkReply> #include <QDateTime> #include <QJsonValue> #include <curl/curl.h>...
#include "lab_m1/Tema1/Tema1.h" #include "lab_m1/Tema1/transform2D.h" #include "lab_m1/Tema1/object2D_tema.h" #include <vector> #include <iostream> using namespace std; using namespace chrono; using namespace m1; /* * To find out more about `FrameStart`, `Update`, `FrameEnd` * and the order in which they are c...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "Shader.h" #include <iostream> #include <cmath> #include <vector> #include "imgui/imgui.h" #include "imgui_impl_glfw_gl3.h" void framebuffer_size_callback(GLFWwind...
/*************************************************************************/ /* button.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// ================================================================================================= #include <cstdio> #include <vector> #include <string> #include <cstring> #include <ctime> #include <cstdio> #include <cstdlib> #include <cerrno> #include <stdexcept> using namespace std; #if WIN_ENV #pragma warning...
#include "gm_ast.h" #include "gm_typecheck.h" #include "gm_error.h" #include "gm_misc.h" #include "gm_traverse.h" #include "gm_frontend.h" #include "gm_frontend_api.h" #include "gm_transform_helper.h" #include "gm_builtin.h" #include <map> //---------------------------------------------------------------- // Type-chec...
/** * https://github.com/namkazt/cocos2d-x-ImGui */ #include "CCIMGUI.h" #include "imgui_impl_cocos2dx.h" USING_NS_CC; static CCIMGUI* _instance = NULL; //================================================ // style editor variables static int hue = 140; static float col_main_sat = 180.f / 255.f; static float col_main...
/* ///////////////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not d...
// ************************************************************************ // Copyright (c) 2007 Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the PSUADE team. // All rights reserved. // // Please see the COPYRIGHT_and_LICENSE file for the copyri...
// Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2017 The Zcash developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "base58.h" #include "big_uint.h" #include "cleanse.h" #...
#include <iostream> #include <fstream> #include <filesystem> #include <memory> #include <chrono> #include <fstream> #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/highgui.hpp> //#include <direct.h> //namespace fs = std::filesystem; //#include "VideoDetector.h" #include "AffdexExceptio...
//! Constructor template <unsigned Tdim> mpm::MPMBase<Tdim>::MPMBase(std::unique_ptr<IO>&& io) : mpm::MPM(std::move(io)) { //! Logger console_ = spdlog::get("MPMBase"); // Create a mesh with global id 0 const mpm::Index id = 0; // Set analysis step to start at 0 step_ = 0; // Set mesh as isoparamet...
/* $Id: HGSMICommon.cpp $ */ /** @file * VBox Host Guest Shared Memory Interface (HGSMI) - Functions common to both host and guest. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free so...
#include <asgl/sfml/SfmlEngine.hpp> #include <asgl/Frame.hpp> #include <asgl/TextButton.hpp> #include <asgl/TextArea.hpp> #include <common/SfmlVectorTraits.hpp> #include <SFML/Graphics/RenderWindow.hpp> #include <SFML/System/Sleep.hpp> #include <SFML/Graphics/RenderTexture.hpp> #include <iostream> #include <random...
#include "llvm/Pass.h" #include "llvm/IR/Function.h" #include "llvm/IR/Instruction.h" #include "llvm/Support/raw_ostream.h" #include "llvm/IR/LegacyPassManager.h" #include "llvm/Transforms/IPO/PassManagerBuilder.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Constants.h" #include "llvm/IR/Value.h" #include <set> ...
/** * Copyright (c) 2018 DKFZ - ODCF * * Distributed under the MIT License (license terms are at https://github.com/dkfz-odcf/FastqIndEx/blob/master/LICENSE.txt). */ #include "common/StringHelper.h" #include "process/extract/IndexReader.h" #include "process/index/Indexer.h" #include "process/io/FileSource.h" #incl...
/*************************************************************************** * Copyright (C) 1998-2013 by authors (see AUTHORS.txt) * * * * This file is part of LuxRender. * * ...
/* * CAN module object for LPC1768 microcontroller using Mbed SDK. * * @file CO_driver.cpp * @author <NAME> * @copyright 2016 <NAME> * * This file is part of CANopenNode, an opensource CANopen Stack. * Project home page is <https://github.com/CANopenNode/CANopenNode>. * For more informat...
#include <common-ee.h> #include "../test_runner.h" static const u32 __attribute__((aligned(16))) C_ZERO[4] = {0, 0, 0, 0}; static const u32 __attribute__((aligned(16))) C_S16_MAX[4] = {0x7FFF, 0, 0, 0}; static const u32 __attribute__((aligned(16))) C_S16_MIN[4] = {0xFFFF8000, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF}; stati...
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
/************************************************ 增加发布速度的话题/mavros/setpoint_raw/local, 引入接收相对相机相对Apriltag码的话题/tag_detections 引入相机参数话题/camera/camera_info 实现从相机坐标系到像素坐标系的变换,根据Apriltag码大小 得出四个角点的像素坐标。引入图像距,计算得到期望 速度值,进行发布 Date:2022/04/12 Editor:Lizhicheng ***************************************************/ #include "ros...
// // CocoKinect.cpp // CocoKinect // // Created by <NAME> on 6/1/12. // Copyright onewaytheater.us. All rights reserved. // #include "CocoKinect.h" #include "VOpenNICommon.h" #include "cinder/Text.h" const float ramScale = .1; const static int RAM_JOINT_COUNT = 23; namespace coco { enum Joint { ...
// Listen to features, images and registeration triggers // - when features received, find corresponding image from buffer of images and pair // - when trigger is received, these two become the reference // - for subsequent feature message, match the features and image with the reference and publish. /* The head is mo...
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab #include "include/compat.h" #include "include/types.h" #include "include/rados/librados.h" #include "include/rados/librados.hpp" #include "include/radosstriper/libradosstriper.h" #include "include/radosstriper/libradosst...
/* * MIT License * * Copyright (c) 2021 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
#include <ros/ros.h> #include <geometry_msgs/TransformStamped.h> #include <math.h> #include <string.h> #include <sensor_msgs/Image.h> #include <sensor_msgs/image_encodings.h> #include <sensor_msgs/CameraInfo.h> #include <sensor_msgs/PointCloud2.h> #include <std_msgs/Bool.h> #include <std_msgs/Int8.h> #include <std_...
#include "Halide.h" #include <stdio.h> using namespace Halide; Var x("x"), y("y"), z("z"), c("c"); Var x_grid("x_grid"), y_grid("y_grid"), xo("xo"), yo("yo"), x_in("x_in"), y_in("y_in"); uint8_t r_sigma = 32; int s_sigma = 8; class MyPipeline { public: ImageParam input; RDom r; Func clamped, input2; ...
#include"Application.h" #include "ModuleGeometry.h" #include "GameObject.h" #include "Assimp\include\cimport.h" #include "Assimp\include\scene.h" #include "Assimp\include\postprocess.h" #include "Assimp\include\cfileio.h" #include "p2Defs.h" #include "Glew\include\glew.h" #include <gl/GL.h> #pragma comment (lib, "Devi...
#include <set> #include "DMAEngine.hh" #include "../Common/mf_api.hh" #include "../MsgLogger/MsgLogger.hh" #include "arch/isa_traits.hh" #include "mem/ruby/system/Sequencer.hh" #include "mem/ruby/system/RubyPort.hh" #include "mem/ruby/system/System.hh" #include "mem/protocol/RequestStatus.hh" #include "mem/ruby/system/...
#include "pfxobjects.h" #include <cstring> #include "light.h" #include "particlefx.h" #include "pose.h" #include "rendererstorage.h" #include "skeleton.h" using namespace Tempest; std::mt19937 PfxObjects::rndEngine; PfxObjects::Emitter::Emitter(PfxObjects::Bucket& b, size_t id) :bucket(&b), id(id) { } PfxObje...
// // Created by valdemar on 14.10.17. // #include <cgutils/opengl.h> #include "UIController.h" #include <common/logger.h> #include <version.h> #include <fontawesome.h> #include <imgui_impl/imgui_impl_glfw.h> #include <imgui_impl/imgui_impl_opengl3.h> #include <glm/gtc/type_ptr.hpp> namespace { bool key_modifier...
/****************************************************************************** * Copyright (c) 2013-2014, AllSeen Alliance. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyrigh...
/*********************************************************************************************************************** * * * glscopeclient ...
/** * @file ggsim.cpp * @brief Graph genome haplotype and reads simulator * * Simulate haplotypes or reads from a graph genome. * * @author <NAME> (\@cartoonist), <<EMAIL>> * * @internal * Created: Tue Jul 03, 2018 19:09 * Organization: Max-Planck-Institut fuer Informatik * Copyright...
#include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/stitching/warpers.hpp> #include <opencv2/features2d/features2d.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/xfeatures2d/nonfree.hpp> // #include <opencv2/core/opengl_interop.hpp> #include <cfloat> #include <cmat...
#include <stdio.h> #include <cfloat> #include <list> #include <vector> #include <math.h> #include <iostream> #include <algorithm> #include <numeric> #include <boost/algorithm/clamp.hpp> #include <random> #include "third_party/eigen3/unsupported/Eigen/CXX11/Tensor" #include "unsupported/Eigen/CXX11/src/Tensor/TensorDevi...
/* * Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the ...
#define EMBREE_STATIC_LIB #include "linear_math.h" #include "helper_math.h" #include "../rt/rtDebugFunc.h" #include "EmbreeBVHBuilder.h" #include "../ProgressReport.h" #include <tbb/parallel_for.h> #undef NDEBUG #include <cassert> #pragma comment(lib, "embree_avx.lib") #pragma comment(lib, "embree_avx2.lib") #pragma ...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <png.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <map> #include <memory> #include <regex> #include <stdexcept> #include <...
#include "stdafx.h" #include "Table.h" #include <iostream> #include "stdlib.h" #include <time.h> #include <math.h> #include <algorithm> #include <fstream> #include <sstream> #include <string> #include <numeric> void TableClass::setupTable(TableClass::Table& t) { Timer timer(__FUNCTION__); srand(time(NULL)); int r{}...
//********************************************************* // Snapshot_Output.cpp - Output Interface Class //********************************************************* #include "Snapshot_Output.hpp" #include "Network_Service.hpp" #include "Utility.hpp" char * Snapshot_Output::OUTPUT_SNAPSHOT_FILE_x = "OUTPUT_SNAPS...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2008 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation ...
/* ################################################################################ # THIS FILE IS 100% GENERATED BY ZPROJECT; DO NOT EDIT EXCEPT EXPERIMENTALLY # # Please refer to the README for information about making permanent changes. # ##########################################################################...
/****************************************************************************** * glbmp - a library for loading Windows & OS/2 bitmaps for use in OpenGL * * Copyright (C) 2005 <NAME> * * * * Th...
/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2016-Present Couchbase, Inc. * * Use of this software is governed by the Business Source License included * in the file licenses/BSL-Couchbase.txt. As of the Change Date specified * in that file, in accordance...
/* * x11Util.cpp * xkbgrowl * * Created by <NAME> on 16.08.09. * Copyright 2009 <NAME>. All rights reserved. * The source code of this program is licensed under the Apache 2.0 license. * For more information, see http://www.apache.org/licenses/LICENSE-2.0 */ #include "x11Util.h" #include <assert.h> #inc...
/* * Copyright (c) 2008-2010 <NAME> (snavely (at) cs.cornell.edu) * and the University of Washington * * 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 Lice...
//------------------------------------ // (c) Reliable Software, 2007 - 2008 //------------------------------------ #include "precompiled.h" #include "BackupArchive.h" #include "Catalog.h" #include "ProjectMarker.h" #include "ProjectProxy.h" #include "ProjectData.h" #include "FileList.h" #include "PathRegistry.h" #in...
/* RetroArch - A frontend for libretro. * Copyright (C) 2010-2014 - <NAME> * Copyright (C) 2011-2017 - <NAME> * * RetroArch 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 Found- * ation, either version 3 of th...
#include <iostream> #include "imgui/imgui.h" #ifndef IMGUI_DEFINE_MATH_OPERATORS #define IMGUI_DEFINE_MATH_OPERATORS #endif #include "imgui/imgui_internal.h" #include "imgui/imgui_impl_glfw.h" #include "imgui/imgui_impl_opengl3.h" #include "opengl/Scene.h" #include "opengl/Texture.h" #include "OpenGLRenderer.h" #inc...
#include <ros/ros.h> #include <std_msgs/Float64.h> #include <sensor_msgs/Joy.h> #include <popi_robot/Potards.h> #include <popi_robot/RouesCodeuses.h> class Manette { public: Manette(); private: void joyCallback(const sensor_msgs::Joy::ConstPtr& joy); void rightCallback(const popi_robot::Potards::ConstPtr& mes);...
/* * Copyright 2020-2022 Hewlett Packard Enterprise Development LP * Copyright 2004-2019 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with...
/* Author(s): <NAME> (msc37) Project: sweepc (population balance solver) Sourceforge: http://sourceforge.net/projects/mopssuite Copyright (C) 2008 <NAME>. File purpose: Implementation of the Process class declared in the swp_process.h header file. Licence: This file is part o...
#include <uWS/uWS.h> #include <fstream> #include <iostream> #include <string> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "helpers.h" #include "json.hpp" #include "spline.h" // for convenience using nlohmann::json; using std::string; using std::vector; using ...
/* * Copyright 2020 Neosensory, 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 agre...
#include "controlconfig/controlsconfig.h" #include "controlconfig/presets.h" #include "libs/jansson.h" #include "parse/parselo.h" #include <jansson.h> using namespace io::presets; const SCP_vector<std::pair<Section, const char*>> SectionMapping { std::pair<Section, const char*>(Section::Unnamed, nullptr), std::pai...
#include <math.h> #include "extractTree.h" #include "FunctionsForMainCode.h" #include "basic_surf_objs.h" #include <queue> int minDistance_path(double dist[], bool sptSet[], int V); void dijkstra_path(double *graph, int num, int src, int des, int* path, int &index); int graph_shortest_paths(double *, int, in...
//----------------------------------------------------------------------------- // Created on: 28 April 2020 //----------------------------------------------------------------------------- // Copyright (c) 2020-present, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or with...
#include "tiger/regalloc/color.h" #include "tiger/codegen/codegen.h" extern frame::RegManager *reg_manager; namespace col { /* TODO: Put your lab6 code here */ Color::Color(frame::Frame *f, assem::InstrList *ir) : simplifyWorklist(new live::INodeList()), freezeWorklist(new live::INodeList()), spillWo...
#include "SHUdpSocket.h" #include "SHString.h" #include "SHCommon.h" #include <string.h> #include <errno.h> /* #ifdef _LINUX #include <linux/if_packet.h> #include <linux/if_ether.h> #include <linux/if.h> #include <sys/sendfile.h> #include <netinet/tcp.h> #endif #if defined(_LINUX) || defined (_DA...
/* ------------------------------------------------------------------------------- Copyright (C) 1999-2007 id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or m...
#include "DBUI.h" CreateInvoiceWindow::CreateInvoiceWindow() { CtrlLayout(*this, "Create Invoice"); txtTerms.SetText("Due On Receipt"); txtTaxRate.SetData(myConfig.data.taxrate); pInvoice = 0; optProdTaxable.WantFocus(true); btnAdd << [=] { AddItem(); }; btnDelete << [=] { ClearItem(); }; ok << [=] { Sav...
#define SDL_MAIN_HANDLED #include "Common.h" #include "SceneNode.h" #include "Renderer.h" #include "Linear.h" #include "TestModel.h" #include "Lightpath.h" #include "Cost.h" #include "Optimizer.h" #include <husl/husl.h> #include <chrono> void infoMsg(const char* msg) { SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_INFO...
// // Tle.cpp // // Created by <NAME> on 5/31/18. // #include "hypatia/models/TLE.h" #include "hypatia/MathOps.h" #include "hypatia/TimeOps.h" #include "hypatia/models/Exception.h" #include <sstream> #include <locale> // 0. Card number: 0 Must be 1 // 1. Blank: ...
#include "IDEChannel.hpp" #include "IDEDevice.hpp" #include <driver/DeviceManager.hpp> #include <core/Console.hpp> #include <core/interrupt/InterruptManager.hpp> std::list<Event> IDEChannel::events; uint64_t IDEChannel::availableID = 0; IDEChannel::IDEChannel(IDEDevice* device, IDEChannelRegisters regs, int channelN...
#include <fstream> #include <assert.h> #include <boost/make_shared.hpp> #include <avro/Encoder.hh> #include <avro/Decoder.hh> #include <avro/Generic.hh> #include <avro/Schema.hh> #include <avro/ValidSchema.hh> #include <avro/Compiler.hh> #include <avro/DataFile.hh> #include <csi_avro_utils/utils.h> #include <iostream>...
/* * robot_localization_pf_landmarks.cpp * Author: <NAME> / lgkimjy */ #include <robot_localization_pf_landmarks/particle_filter.h> std::mutex m1; float delta_x = 0, delta_y = 0, delta_w = 0; float repos_x = 0, repos_y = 0, repos_w = 0; float sum_x_prev = 0, sum_y_prev = 0, sum_theta_prev = 0; float x_local ...
#include "argument_parser.h" #include "common/internal.h" #include "generator/x86_64/generator.h" #include "ir/ir.h" #include "ir/optimizer/common.h" #include "ir/optimizer/const_folding.h" #include "ir/optimizer/dce.h" #include "ir/optimizer/dedup.h" #include "lifter/elf_file.h" #include "lifter/lifter.h" #include <c...
#include <iostream> #include <vector> #include <string> #include <rw/math/Vector3D.hpp> #include <rw/math/Quaternion.hpp> #include <rwlibs/task/loader/TaskLoader.hpp> #include <rwlibs/task/loader/TaskSaver.hpp> #include <rwlibs/task/GraspTask.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tre...
/* * * CosmosLikeTransactionApi * * Created by <NAME> on 14/06/2019. * * The MIT License (MIT) * * Copyright (c) 2019 Ledger * * 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 wit...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter */ UKF::UKF() { cout << "--initialize--" << endl; // if this is false, laser measurements will be ignored (except...
//============================================================================== // Originally written in 2016 by <NAME> <<EMAIL>> // // To the extent possible under law, the author(s) have dedicated all copyright // and related and neighboring rights to this software to the public domain // worldwide. This software is...
#include <iostream> #include <vector> #include <fstream> #include <string> #include <stdio.h> #include <iomanip> #include <mpi.h> #include <stdlib.h> #include <ctime> using namespace std; typedef vector<vector<char> > table; const string standart_path = "/Users/Alexander/Documents/PROGA/1task/1task/test.csv"; cons...
/* * Copyright (c) 2007-2008 The Hewlett-Packard Development Company * 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 ha...
// Copyright (c) The Bitcoin Core developers // Copyright (c) 2017-2019 The Raven Core developers // Copyright (c) 2018-2019 The Rito Core developers // Copyright (c) 2019 The Valuero developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mi...
#include <MMRateFunction.h> TFlt MMRateFunction::JointLikelihood(Datum datum, TInt latentVariable) const { double CurrentTime = datum.time; TCascade &Cascade = datum.cascH.GetDat(datum.index); THash<TInt, TNodeInfo> &NodeNmH = datum.NodeNmH; TFlt totalLoss = 0.0; TFlt diffusionPattern; if (parameter....
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 <NAME>, Jupiter Jazz Limited // Copyright (c) 2014-2018 <NAME>, The appleseedhq Organization // // Permission is ...
/******************************************************************************* * -*- coding: utf-8 -*- * Copyright (c) 2012-2016, <NAME> * * This module is part of anima-tools and is released under the BSD 2 * License: http://www.opensource.org/licenses/BSD-2-Clause * /*****************************************...
/* router_banker_test.cc <NAME>, 4th April 2012 Copyright (c) 2012 Datacratic. All rights reserved. Test for the banker class when used in the router. */ #define BOOST_TEST_MAIN #define BOOST_TEST_DYN_LINK #include <boost/test/unit_test.hpp> #include "jml/arch/format.h" #include "jml/arch/exception_han...
/* Lightweight Automated Planning Toolkit Copyright (C) 2012 <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 3 of the License, or (at your option) an...
/* * Copyright (c) 2017, 2020, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is also distributed with certain software (in...
/* * File: kharma.cpp * * BSD 3-Clause License * * Copyright (c) 2020, AFD Group at UIUC * 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...
/* Copyright 2016 Silent Circle, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
/* $NoKeywords: $ */ /* // // Copyright (c) 1993-2012 <NAME> & Associates. All rights reserved. // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert // McNeel & Associates. // // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PART...
#include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #ifdef USE_PAPI #include <papi.h> #endif #include <sys/time.h> #include <xmmintrin.h> #include <fstream> struct float4 { float x; float y; float z; float w; }; #ifdef NB const int N = NB; #else const int N = 1 << 1...
#include <opencv4/opencv2/opencv.hpp> /* 1) Depth uchar CV_8U 0 char CV_8S 1 ushort CV_16U 2 short CV_16S 3 int CV_32S 4 float CV_32F 5 double CV_64F 6 CV_USRTYPE1 7 2) Type CV_<bit_depth>(S|U|F)C<number_of_channels> elements type (uchar,short,...
/* * MitM implementation * */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/ioctl.h> #include <pthread.h> #include <fcntl.h> #include <time.h> #include <linux/if_packet.h> #include <linux/if_ether.h> #include <linux/if_arp.h> #include <linux/...