text stringlengths 5.71k 33.7k |
|---|
/*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. <NAME> (1), Dr. <NAME> (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereby granted, free... |
/******************************************************************************
** Copyright (C) 1999 by CEA
*******************************************************************************
**
** UNIT
**
** Version: 1.0
**
** Author: <NAME>
**
** Date: 04/09/99
**
** File: mr3d_tra... |
// WebAthl.CPP - Implementation file for your Internet Server
// WebAthl Extension
#include "stdafx.h"
#include "resource.h"
#include "WebAthl.h"
#include "WorldStandardSet.h"
#include "EventTypeSet.h"
///////////////////////////////////////////////////////////////////////
// WorldStandard
void CWebAthlExtensio... |
/*
This file is part of Kismet
Kismet 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.
Kismet is distributed in the ... |
/* Copyright (C) 2012 <NAME>, TKJ Electronics. All rights reserved.
This software may be distributed and modified under the terms of the GNU
General Public License version 2 (GPL2) as published by the Free Software
Foundation and appearing in the file GPL2.TXT included in the packaging of
this file. Please note th... |
#include "Visualisation.h"
#include <sstream>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtc/matrix_transform.inl>
#include "util/GLcheck.h"
#include "interface/Scene.h"
#include "Text.h"
#define FOVY 60.0f
#define NEAR_CLIP 0.005f
#define FAR_CLIP 500.0f
#define DELTA_THETA_PHI 0.01f
#define MOUSE_SPEED 0.001f
... |
/*
* ui_playlist_notebook.c
* Copyright 2010-2012 <NAME> and <NAME>
*
* 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... |
/*
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 Free Software Foundation.
This program is distributed in the hope that it would... |
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <vector>
#include <cmath>
#include <numeric>
#include <limits>
#include <opencv2/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/xfeatures2d.h... |
#include "tetrisdata.h"
#include "square.h"
#include <json.hpp>
#include <fstream>
#include <sstream>
using nlohmann::json;
namespace {
BlockType charToBlockType(char key) {
switch (key) {
case 'z':
// Fall through.
case 'Z':
return BlockType::Z;
case 'w':
// Fall through.
case 'W':
... |
/**
* GeoDa TM, Copyright (C) 2011-2015 by <NAME> - all rights reserved
*
* This file is part of GeoDa.
*
* GeoDa 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
* ... |
/*
* BsmReceiver.cpp
*
* Created on: May 10, 2016
* Author: ivp
*/
#include "MessageReceiverPlugin.h"
#include <Clock.h>
#include <FrequencyThrottle.h>
#include <mutex>
#include <stdexcept>
#include <thread>
#include <tmx/apimessages/TmxEventLog.hpp>
#include <tmx/j2735_messages/J2735Message... |
#include <cassert>
#include <thread>
#include "utils.h"
#include "future.h"
// #include <cstdio>
// #include <v8.h>
// #include "Version.h"
// #include <foundationdb/fdb_c.h>
// #include "FdbError.h"
static napi_threadsafe_function tsf;
static int num_outstanding = 0;
std::thread::id node_main_thread;
template<... |
// @Copyright 2007 <NAME>
//
#ifdef _MPI
#include <mpi.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
#include <algorithm>
#include "parser.h"
#include "timer.h"
#include "util.h"
#include "complex.h"
#include "mesh.h"
#include "blas.h"
#include "function.h"
#include "classes.h"
#include "integrate.h"
#include... |
#pragma once
#include <map>
#include <limits>
#include <random>
#include <cstdint>
#include <cassert>
#include <numeric>
#include <algorithm>
#include <functional>
#include "strategy.hpp"
struct AI_MY : public Strategy {
using Plan_t = std::uint8_t;
using Fitness_t = unsigned;
using Individual = std::pai... |
// main.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream"
#include "string"
#include "vector"
#include "opencv2\opencv.hpp"
typedef unsigned char uchar;
using namespace cv;
using namespace std;
cv::Mat otsu(cv::Mat temp, int method);
cv::Mat SPC(cv::Mat temp, doubl... |
// Copyright (c) 2009 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distri... |
/*
* Bumble Bots, a Gamebuino game
*
* Copyright 2018, <NAME>
*/
#include "Tiles.h"
#include "Globals.h"
#include "Images.h"
#include "Movers.h"
#include "Objects.h"
#include "TileTypes.h"
#include "Palettes.h"
Tiles _tiles = Tiles();
// Exposed in Globals.h
Tiles& tiles = _tiles;
const uint8_t numIsolines = 1... |
#include "merge.h"
#include "docwordspace.h"
#include <unordered_set>
#include <text.h>
void Trinity::MergeCandidatesCollection::commit() {
std::sort(candidates.begin(), candidates.end(), [](const auto &a, const auto &b) noexcept {
return b.gen < a.gen;
});
map.clear();
... |
#include "bezier_trajectory.h"
//#include <python2.7/Python.h>
//#include "matplotlibcpp.h"
//namespace plt = matplotlibcpp;
bezier_trajectory::bezier_trajectory()
{
}
void bezier_trajectory::init(std::vector<double> waypoints_pos, std::vector<double> waypoints_vel,
std::vector<double> w... |
//-----------------------------------------------------------------------------
//
// zwavelib.cpp
//
// OpenZWave Control Panel support routines
//
// Copyright (c) 2010 <NAME> <<EMAIL>>
// All rights reserved.
//
// SOFTWARE NOTICE AND LICENSE
// This work (including software, documents, or other related items) is be... |
/*
* Copyright 2017-2020 <NAME>.
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <stdlib.h>
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
#include <map>
#include <stdexcept>
#include <vector>
using namespace std;
#ifdef _WIN32
#include <windows.h>
#include <fcntl.h>
#i... |
#include "NFS5Loader.h"
// CAR
std::shared_ptr<Car> NFS5::LoadCar(const std::string& carBasePath)
{
boost::filesystem::path p(carBasePath);
std::string carName = p.filename().string();
std::stringstream compressedCrpPath, decompressedCrpPath;
compressedCrpPath << carBasePath << ".crp";
decompresse... |
/*
* File:lfGraphDS.cpp
*
*
* Author(s):
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Description:
* lock-free implementation of a graph
* Copyright (c) 2018.
* last Updated: 31/07/2018
*
*/
#include<iostream>
#include<float.h>
#include<stdint.h>
#includ... |
// Raspberry Pi Pico pico-sdk C++ Mandelbrot Set ILI9341
// Require:
// yama_2_GFX.h
// https://pastebin.com/DUS5TrWw
// yama_2_GFX.cpp
// https://pastebin.com/k9qAJMwF
// CMakeLists.txt
// https://pastebin.com/NjBZa5QY
#include <stdio.h>
#include <math.h>
#include "pico... |
/**************************************************************
*
* 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... |
/****************************************************************************
control.cpp -- control stack and trail
Copyright (c) 1992-2009 by Amzi! inc. All Rights Reserved.
* 1999/11/11 Ray reduced TrailTop by 1 to eliminate destructor crash
**************************************************************... |
/*
Copyright 2020 University of Pennsylvania
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 writin... |
#include <string>
#include <iostream>
#include <iomanip>
#include "./PnRDB/datatype.h"
#include "./PnRDB/PnRdatabase.h"
#include "./placer/Placer.h"
#include "./router/Router.h"
#include "./cap_placer/capplacer.h"
#include "./MNA/MNASimulation.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <cstdlib>
#include ... |
#include "nlp.hpp"
#include <coin/IpIpoptApplication.hpp>
#include <coin/IpBlas.hpp>
#include <algorithm>
/**
* The following two functions provide safe conversion for return codes and modes in Ipopt.
* Although not strictly necessary, this makes this interface a bit more robust against api changes
* in Ipopt comp... |
#include "PulNet_Handler.h"
#include "Player.h"
#include "AOD.h"
#include "Game_Manager.h"
#include "Network.h"
#include "Utility.h"
#include <algorithm>
#include <sstream>
#include <fstream>
#include <thread>
#include <vector>
// ------ static utils ------------------------------------------------------... |
#include "stdafx.h"
#include "GameStateWin.h"
#include "IRender.h"
#include "Vars.h"
#include "ObjectsStorage.h"
#include "PlayerProfile.h"
#include "Achievements.h"
#include "Common.h"
namespace
{
UseIntVar GM_PLAYER("GM_PLAYER");
UseIntVar GM_ENEMY("GM_ENEMY");
UseIntVar GM_ENEMY_DOUBLE("GM_ENEMY_DOUBLE... |
#include <stdlib.h>
#include <stdio.h>
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/glu.h>
//#include <GL/glx.h>
//#include <GL/glxext.h>
#include "Render.h"
#include "SDL.h"
#include <math.h>
#include <string.h>
#include "Globals.h"
#ifndef M_PI
#define M_PI 3.14159265
#endif
... |
/* NetHack may be freely redistributed. See license for details. */
#include "vulture_sdl.h" /* XXX this must be the first include,
no idea why but it won't compile otherwise */
#include <errno.h>
extern "C" {
#include "hack.h"
#ifndef VULTURE_NETHACK_3_6_0
# include "epri.h"
#end... |
#include "LexrepOutputFunction.h"
#include "Util.h"
#include <fstream>
#include <iostream>
#include <vector>
#include <set>
#include <map>
using namespace iknow::AHO;
using namespace std;
LexrepOutputFunction::LexrepOutputFunction() {}
LexrepOutputFunction::~LexrepOutputFunction() {}
string LexrepOutputFunction::In... |
/*
* Copyright 2010, <NAME> <<EMAIL>>
* Copyright 2010, <NAME> <<EMAIL>>
* Copyright 2011, <NAME>, <EMAIL>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#include "BootPromptWindow.h"
#include <new>
#include <stdio.h>
#include <Bitmap.h>
#include <Button.h>
#include <Catalog.h>
#inc... |
// Copyright (c) Nuralogix. All rights reserved. Licensed under the MIT license.
// See LICENSE.txt in the project root for license information.
#include "dfx/api/rest/CloudREST.hpp"
#include "dfx/api/CloudLog.hpp"
#include "dfx/api/rest/DeviceREST.hpp"
#include "dfx/api/rest/LicenseREST.hpp"
#include "dfx/api/rest/M... |
#include "M0Timer.h"
#include <Arduino.h>
M0TimerClass M0Timer;
// Place holder values for the callback functions
void (* M0TimerClass::_TC3Callback)(uint8_t t) = 0;
void (* M0TimerClass::_TC4Callback)(uint8_t t) = 0;
void (* M0TimerClass::_TC5Callback)(uint8_t t) = 0;
// Start with fired values as false. The user c... |
/*
* facelbp - Face detection using Multi-scale Block Local Binary Pattern algorithm
*
* Copyright (C) 2013 <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
*
* ... |
/**
* The MIT License (MIT)
*
* Copyright (C) 2017 Bacon2D Project
*
* 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 ... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... |
/// @file
///
/// This file set up a simulation environment of an allegro hand and an object.
/// The system is designed for position control of the hand, with a PID
/// controller to control the output torque. The system communicate with the
/// external program through LCM system, with a publisher to publish the
/// ... |
#include "../stimuli_gen/matrix_generation.h"
#include "../ref_model/ekf_sw.h"
#include "assert.h"
FILE *A = NULL;
FILE *B = NULL;
FILE *C = NULL;
FILE *D = NULL;
FILE *E = NULL;
FILE *F = NULL;
FILE *G = NULL;
FILE *H = NULL;
FILE *I = NULL;
FILE *J = NULL;
FILE *K = NULL;
FILE *L = NULL;
FILE *J1 = NULL;
FILE *K1 = ... |
//===--- GlobalARCSequenceDataflow.cpp - ARC Sequence Dataflow Analysis ---===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... |
#include "DQMOffline/Hcal/interface/HcalRecHitsDQMClient.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/Transition.h"
#include "... |
int a89t
,//
pkVr,/*9QF*/rxW,k, Lp
, Yq19 ,/**/ jwI, UQQ5,wDM, jWY , Ns/**/ ,KOt5R ,
qxHr,fdjM /*gxmmV*/,
ZB
,hbtm ,VsO , lpb7, DYdj
, h6l, kMysNB , ye ,KOu4,
C1USjxg,
Y ,S7
,
h,pV/*z3aYm*/, XSPUEv
, Z, X
, l5 ,
BB ,j , Ho,
nLS,Vm5Wc/*3*/ ,
ly, JJ,GM,frn ,
ofE ,
//8D
Ul6s ,
jvs, B;
void f_... |
#include <ImgLib.h>
//#define DEBUG_FIXED_ANIM_TIME 1000
//----------------------------
class C_loader_gif: public C_image_loader{
S_rgb global_palette[256];
S_rgb local_palette[256];
word prefix[4096]; //index of another code
byte suffix[4096]; //terminating character
byte out_stack[... |
//===--- GenericSignatureQueries.cpp --------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... |
/*
Copyright 2005-2015 Intel Corporation. All Rights Reserved.
This file is part of Threading Building Blocks. Threading Building Blocks is free software;
you can redistribute it and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundat... |
// HugeInteger test program.
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
using std::ostream;
#include <iomanip>
using std::setw;
using std::setfill;
#include <cstdlib>
using std::srand;
using std::rand;
#include <string>
using std::string;
#include <ctime>
using std::time;
// CLASS TEMPLA... |
/* inference.cc - General inference technique base class
<NAME> & <NAME>, FMRIB Image Analysis Group & IBME QuBIc Group
Copyright (C) 2007-20015 University of Oxford */
/* CCOPYRIGHT */
#include "inference.h"
#include "easylog.h"
#include "armawrap/newmat.h"
#include <fstream>
#include <iomanip>
#include <ma... |
/* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
#include "Scan.h"
#include "settings.h"
#include "wifi.h"
Scan::Scan() {
list = new SimpleList<uint16_t>;
}
void Scan::sniffer(uint8_t* buf, uint16_t len) {
if (!isSniffing()) return;
packets++;
... |
// Copyright <NAME>
#include "GHAMModelLoader.h"
#include "GHXMLNode.h"
#include "GHPlatform/GHDebugMessage.h"
#include "GHPlatform/GHFileOpener.h"
#include "GHModel.h"
#include "GHGeometryRenderable.h"
#include "GHGeometry.h"
#include "GHVBFactory.h"
#include "GHEntityHashes.h"
#include "GHAMAnimFactory.h"
#include "G... |
#include "Python.h"
#include "computeLinearNoise.h"
#include <algorithm>
#include <iostream>
#include <iomanip>
#include "cvodes/cvodes.h"
#include "nvector/nvector_serial.h"
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include "numpy/arrayobject.h"
#include "MODEL_DEF.h"
//extern void *cvode_mem;
//extern N_V... |
//===- LoopsToGPU.cpp - Convert an affine loop nest to a GPU kernel -------===//
//
// 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
//
//===---------------------------... |
//
// Created by ebeuque on 09/03/2021.
//
#include "../../config.h"
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <QDateTime>
#include <QBuffer>
#include <QFile>
#include <QTcpSocket>
#include <QTcpServer>
#include <QUdpSocket>
#include "Model/MemoryOperation.h"
#include "Model/Threa... |
#include "bindings.hpp"
#include <array>
namespace
{
struct Handle
{
Handle() = default;
Handle(const std::shared_ptr<core::Core>& core)
: core(core)
{
state::on_blocking_call(*core, [=](state::blocking_e blocking)
{
if(blocking == s... |
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2010, <NAME>, all rights reserved.
//
// This file is part of FaceTracker.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are ... |
/*
* SPDX-License-Identifier: Apache-2.0
*/
//===----------------- runmodel.cpp ------------------------===//
//
// Copyright 2019 The IBM Research Authors.
//
// =============================================================================
/*
This file help run a onnx model as simply as possible for testing.
C... |
/*
* Copyright (C) 2008 - 2012 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* Copyright (C) 2011 - 2012 ArkCORE <http://www.arkania.net/>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of... |
/*
* GPUCyclicCoordinateDescent.cpp
*
* Created on: July, 2010
* Author: msuchard
*/
#include <iostream>
#include <cmath>
#include <exception> // for exception, bad_exception
#include <stdexcept> // for std exception hierarchy
#include "GPUCyclicCoordinateDescent.h"
#include "GPU/GPUInterface.h"
#inc... |
// Copyright 2020 Google 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 ... |
#include "api_v1_ApiTest.h"
using namespace api::v1;
// add definition of your processing function here
void ApiTest::rootGet(const HttpRequestPtr &req,
std::function<void(const HttpResponsePtr &)> &&callback)
{
auto res = HttpResponse::newHttpResponse();
res->setBody("ROOT Get!!!");
c... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... |
#include "midiNotesToCC.hpp"
//-------------------------------------------------------------------------------------------------------
AudioEffect* createEffectInstance (audioMasterCallback audioMaster) {
return new MidiNotesToCC (audioMaster);
}
MidiNotesToCCProgram::MidiNotesToCCProgram ()
{
// default Prog... |
/***************************************************************************
* Copyright 1998-2020 by authors (see AUTHORS.txt) *
* *
* This file is part of LuxCoreRender. *
* ... |
// -*-Mode: C++;-*-
//*BeginLicense**************************************************************
//
//---------------------------------------------------------------------------
// TAZeR (github.com/pnnl/tazer/)
//---------------------------------------------------------------------------
//
// Copyright ((c)) 2019, ... |
/** @file convert_to_cpp.cpp
* @brief This file converts the python code to C++ code in order given to it
* @bug No known bugs.
*/
#include <vector>
#include <string>
#include <string.h>
#include <iostream>
#include <ctype.h>
#include<algorithm>
#include <map>
#include <stdlib.h>
#include <iostream>
#include <sst... |
//#############################################################################
/*-:::--.`
-+shmMMNmmddmmNMNmho/.
`yyo++osddMms: `/yNNy-
yo +mMy: `./dMMdyssssso-
oy -dMy. ... |
// Source file for the surfel info program
////////////////////////////////////////////////////////////////////////
// Include files
////////////////////////////////////////////////////////////////////////
#include "R3Surfels/R3Surfels.h"
////////////////////////////////////////////////////////////////////////
/... |
// ========================================================================== //
// Copyright (c) 2014-2019 The University of Texas at Austin. //
// All rights reserved. //
// ... |
#include "Validation/Geometry/interface/MaterialBudgetHcalHistos.h"
#include "DetectorDescription/Core/interface/DDFilter.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDSplit.h"
#include "DetectorDescription/Core/interface/DDValue.h"
#include "FWCore/Uti... |
#include "Alignment/CommonAlignmentMonitor/plugins/AlignmentStats.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "Geometry/Records/interface/TrackerTopologyRcd.h"
#include "Alignment/TrackerAlign... |
// cmd_make_bv.cc-- convert a sequence file to a bit vector
#include <string>
#include <cstdlib>
#include <cstdint>
#include <iostream>
#include <vector>
#include "utilities.h"
#include "hash.h"
#include "jelly_kmers.h"
#include "bit_vector.h"
#include "bloom_filter.h"
#include "support.h"
#include "commands.h"
#inc... |
/*
* File: mrpt_ekf_slam_3d_wrapper.cpp
* Author: <NAME>
*
*/
#include "mrpt_ekf_slam_3d/mrpt_ekf_slam_3d_wrapper.h"
#include <mrpt/version.h>
#if MRPT_VERSION>=0x199
#include <mrpt/serialization/CArchive.h>
#endif
EKFslamWrapper::EKFslamWrapper()
{
rawlog_play_ = false;
mrpt_bridge::convert(ros::Time(0), ti... |
/*
@file tft.c / tft.cpp
@brief TFT handling functions for EVE ASTC test-project
@version 1.0
@date 2021-04-02
@author <NAME>
@section History
1.0
- initial release
@section DESCRIPTION
This is a test-program to visualize the different levels of ASTC compression for BT81x graphics controllers.
The image us... |
/********************************
*<NAME> *
*Object Oriented Programming *
*<NAME> HW2 *
*CoeCruz *
********************************/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <ss... |
#include <glad/glad.h>
#include <glfw3.h>
#include <Shader.h>
#include <CameraLib.h>
#include <stb_image.h>
using namespace std;
float vertices[] = {
// positions // normals // texture coords
-0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 0.0f, 0.0f,
0.5f, -0.5f, -0.5f, 0.0f, 0.0f, -1.0f, 1.0f, ... |
#include "pipepp/gui/pipeline_board.hpp"
#include <iostream>
#include <set>
#include <span>
#include "kangsw/helpers/zip.hxx"
#include "nana/basic_types.hpp"
#include "nana/gui/drawing.hpp"
#include "nana/gui/timer.hpp"
#include "nana/gui/widgets/group.hpp"
#include "nana/gui/widgets/label.hpp"
#include "nana/gui/widg... |
/*
* Copyright 2012 Google 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... |
/*
Used to create the polaroid images for the grids and interactive layer.
-c = the background 'canvas', must be png (this is the instagram image)
-f = the foreground overlay, must be png.
-x = the x-offset of the background canvas, so you can move it into place of the overlay
-y = the y-offset of the bac... |
// =============================================================================
// 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... |
// ****************************************************************************
// NOTICE
//
// This is the copyright work of The MITRE Corporation, and was produced
// for the U. S. Government under Contract Number DTFAWA-10-C-00080, and
// is subject to Federal Aviation Administration Acquisition Management
// System... |
#include <iostream>
#include <vector>
#include <pxr/base/gf/line.h>
#include <pxr/imaging/garch/glApi.h>
#include "Constants.h"
#include "RotationManipulator.h"
#include "GeometricFunctions.h"
#include "Viewport.h"
#include "Gui.h"
#include "Commands.h"
#include "GlslCode.h"
static constexpr GLfloat axis... |
// Copyright (C) 2010-2014 <NAME>.
// See the file COPYING for copying permission.
#include "headers.hpp"
#include <iostream>
#include <hadesmem/config.hpp>
#include <hadesmem/detail/str_conv.hpp>
#include <hadesmem/pelib/dos_header.hpp>
#include <hadesmem/pelib/nt_headers.hpp>
#include <hadesmem/pelib/pe... |
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "dpi_memutil.h"
#include <cassert>
#include <cstring>
#include <fcntl.h>
#include <iostream>
#include <libelf.h>
#include <sstream>
#include <sys/stat.h>
#incl... |
/*
* Copyright (C) 2010-2019 <NAME>
* http://www.1f0.de
*
* 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 ve... |
// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015 Oslo and Akershus University College of Applied Sciences
// and <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 ... |
/**
* Copyright 2019 Huawei Technologies Co., Ltd
*
* 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... |
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 <NAME>
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with this di... |
/*
* 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... |
#include "040_enviroment.h"
#include "../CommonEnviroment.h"
#include "btBulletDynamicsCommon.h"
#include "LinearMath/btVector3.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "CommonInterfaces/CommonRigidBodyBase.h"
#include <iostream>
#include "Actions.h"
struct BodyEnviromentTest : public CommonRigidB... |
#include "VolumeRaycaster.h"
#include "render/PrimitivesVBO.h"
#include <fastlib/utility/GLGlobal.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#ifdef WIN32
#define STBI_MSC_SECURE_CRT
#endif
#include "stb_image_write.h"
using namespace fast;
color3 jet(... |
//**************************************************************
// tiny bandit test suite for Steiner Tree algorithms
//
// Author: <NAME>
//**************************************************************
#include <string>
#include <tuple>
#include <vector>
#include <bandit/bandit.h>
#include <ogdf/fileformats/GraphIO... |
/*
** Copyright 2014-2015,2017 Centreon
**
** 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 agr... |
/**************************************************************
*
* 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 <boost/python.hpp>
#include "boost/python/extract.hpp"
#include "boost/python/numeric.hpp"
#include <boost/numpy.hpp>
#include <iostream>
#include "GL/osmesa.h"
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/freeglut.h>
#define GLAPIENTRY
// global rending constants
float near = 0.05f;
float far = 1e2f;... |
// Copyright 2005 Google Inc. All Rights Reserved.
#include "s2cellunion.h"
#include <algorithm>
using std::min;
using std::max;
using std::swap;
using std::reverse;
#include <vector>
using std::vector;
#include "base/integral_types.h"
#include "base/logging.h"
#include "testing/base/public/gunit.h"
#include "s2ce... |
/*
* Copyright (c) 2010 WiYun Inc.
* Author: luma(<EMAIL>)
*
* For all entities this program is free software; you can redistribute
* it and/or modify it under the terms of the 'WiEngine' license with
* the additional provision that 'WiEngine' must be credited in a manner
* that can be be observed by end users, ... |
#include "ofxStereoProcessFFT.h"
void StereoProcessFFT::setup(){
scaleFactor = 10000;
numBins = 16384;
fft.setup(numBins); //default
fft.setUseNormalization(false);
graphMaxSize = 200; //approx 10sec of history at 60fps
for (int i = 0; i < 2; i++)
{
graphLow[i].a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.