text stringlengths 5.71k 33.7k |
|---|
/* ###################################################################
** Filename : main.c
** Project : BigFish
** Processor : MK22FN256VLH12
** Version : Driver 01.01
** Compiler : GNU C Compiler
** Date/Time : 2017-05-24, 01:44, # CodeGen: 0
** Abstract :
** ... |
/*
@ 0xCCCCCCCC
*/
#include "adblock_engine/ad_filter.h"
#include <algorithm>
#include <map>
#include <regex>
#include <tuple>
#include "kbase/error_exception_util.h"
#include "kbase/file_util.h"
#include "kbase/string_util.h"
#include "kbase/tokenizer.h"
namespace {
using abe::Rule;
using abe::RuleMap;
using abe... |
// Include files
// local
#include "EvtGenModels/EvtRareLbToLllWC.hh"
//-----------------------------------------------------------------------------
// Implementation file for class : EvtRareLbToLllWC
//
// 2013-11-27 : <NAME>
//-----------------------------------------------------------------------------
//===... |
#include <array>
#include <glm.hpp>
#include <iostream>
#include <vector>
#include <gtc/matrix_transform.hpp>
#include <gtc/type_ptr.hpp>
#include "nanort.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#ifdef _MSC_VER
#define STBI_MSC_SECURE_CRT
#endif
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include "st... |
#include "mapOpenGLWidget.hpp"
#include <fmt/format.h>
#include <GL/glut.h>
#include <QtWidgets>
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#include <string>
using namespace std;
MapOpenGLWidget::MapOpenGLWidget(QWidget *parent)
: QGLWidget(QGLFormat(QGL::SampleBuffers), parent),
isGridEnabled(... |
#include "Scene/SceneEiffel.h"
#include "Mesh/MeshData.h"
#include "Mesh/Tile2D.h"
#include "Renderer/Renderer.h"
#include "Shader/ShaderMain.h"
SceneEiffel::SceneEiffel()
{
sceneSettings.enableShadows = true;
sceneSettings.enableOmniShadows = true;
sceneSettings.enablePointLights = true;
sceneSettings.en... |
#include "linear_model.h"
#include "linear_regression.h"
#include <util/generic/ymath.h>
#ifdef _sse2_
#include <emmintrin.h>
#include <xmmintrin.h>
#endif
#include <algorithm>
#include <functional>
namespace {
inline void AddFeaturesProduct(const double weight, const TVector<double>& features, TVector<double>&... |
#include "parser/tokenParser.hpp"
AST TokenParser::parse(std::vector<Token> list) {
TokenParser tp = TokenParser();
tp.input = list;
return AST(tp.block(ROOT_BLOCK));
}
Node<ExpressionNode>::Link TokenParser::exprFromCurrent() {
auto e = Node<ExpressionNode>::make(current());
e->setTrace(current().trace);
... |
/*
* Copyright (c) 2014-2018 <NAME> -- http://www.bekerle.com
*
* 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; version 2 of the License.
*
* This program is distributed in the hope that ... |
// Copyright (c) 2011-2012 CIYAM Pty. Ltd. ACN 093 704 539
// Copyright (c) 2012-2021 CIYAM Developers
//
// Distributed under the MIT/X11 software license, please refer to the file license.txt
// in the root project directory or http://www.opensource.org/licenses/mit-license.php.
#ifdef PRECOMPILE_H
# include "preco... |
// OpenGL stuff
#ifdef __APPLE__
#include <GLUT/GLUT.h>
#include <OpenGL/gl3.h>
#else
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GL/gl.h>
#endif
// C libraries
#include <iostream>
// Helper variables
#include "screenQuadHelper.h"
// Header-only
#include "shader.h"
#include "mathHelper.h"
// Classes
#i... |
/*
* BatteryTech
* Copyright (c) 2010 Battery Powered Games LLC.
*
* This code is a component of BatteryTech and is subject to the 'BatteryTech
* End User License Agreement'. Among other important provisions, this
* license prohibits the distribution of source code to anyone other than
* authorized parti... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*************************************************************************
Sega vector hardware
*************************************************************************/
#include "emu.h"
#include "includes/segag80v.h"
#define VECTOR_CLOCK 15468480 ... |
/*
* Copyright (c) 2020 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 ON AN "AS... |
//
// LucusMeshFormatFBX.cpp
// LucusGame
//
// Created by <NAME> on 22/02/2020.
//
#include "LucusMeshFormatFBX.h"
using namespace LucusEngine;
MeshFormatFBX::MeshFormatFBX()
{
// Prepare the FBX SDK.
mSdkManager = FbxManager::Create();
if( !mSdkManager )
{
FBXSDK_printf("Error: Unab... |
#pragma once
#include <string>
#include "amVK_INK.hh"
#include "amVK_Device.hh"
#include "amVK_RenderPass.hh"
/**
* \page
* ShaderInputsMK2 [a.k.a PIPELINE LAYOUT]
* amVK_PipeStoreMk2
* amVK_GraphicsPipes
* amVK_ComputePires [W.I.P]
*
* some SPOTIFY links....
* amVK_Pipeline ['Basically this is why, we cam... |
#include "OBJObject.h"
#include "Window.h"
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
#include <iostream>
#include <fstream>
#include <cmath>
#include <algorithm>
#include <glm/gtx/string_cast.hpp>
#define DEBUG true
GLuint OBJObject::shaderProgram = 0;
OBJObject::OBJObject() {
}
OBJObject::... |
// Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#include <iostream>
#include <random>
#include <boost/optional.hpp>
#include <boost/random.hpp>
#include <poplar/Graph.hpp>
#include <poplibs_support/Algorithm.hpp>
#include <poplibs_support/VectorUtils.hpp>
#include "SparseDensePartitionElementWise.hpp"
#i... |
#include "vise/relja_retrival.h"
vise::relja_retrival::relja_retrival(const std::string search_engine_id,
const boost::filesystem::path data_dir,
const boost::filesystem::path asset_dir,
const boost::filesyst... |
#pragma once
#include "appframework/iappsystem.hpp"
#include "bitmap/imageformat.hpp"
#include "vgui/vguitypes.hpp"
#ifdef _WIN32
#ifdef CreateFont
#undef CreateFont
#endif
#ifdef PlaySound
#undef PlaySound
#endif
#endif
class Color;
class ITexture;
class IVguiMatInfo;
constexpr const char* VGUI_SURFACE_INTERFACE_... |
/*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
//
// "$Id: file.cc,v 1.1.1.1 2005/05/31 06:29:21 vierinen Exp $"
//
// GLPfile class function for the GLP library, an OpenGL printing toolkit.
//
// The GLP library is distributed under the terms of the GNU Library
// General Public License which is described in the file "COPYING.LIB".
// If you use this libra... |
#include "rrt.h"
RRT::RRT(_type_position startPosFo, _type_position endPosFo, int maxIterFo,
float endDistThreshold, float stepSizeFo, float neiHoodSizeFo,
_type_position space_max_limit_fo, _type_position space_min_limit_fo) {
// obstacles = new Obstacles;
// obstacles->isSegmentInObstacle... |
#include "Hero.hpp"
#include "Input.hpp"
#include "Constants.hpp"
#include "Room.hpp"
#include "Coin.hpp"
#include "Time.hpp"
#include "Animation.hpp"
#include "Sound.hpp"
#include "ParticleSystem.hpp"
#include "Resource.hpp"
#include "GameState.hpp"
#include "Camera.hpp"
#include "PlayerSkill.hpp"
static const float ... |
#include "statepool.h"
#include "settings.h"
#include "lua_fnc.h"
#include "monitor.h"
#include <fstream>
#include <iostream>
#include <chrono>
#include <limits>
// Lua status missing
static bool Handle404(std::string const& script, FCGX_Request& request)
{
std::string str;
str = "Status: 404 Not Found\r\nContent-T... |
//
// Game.cpp
//
#include "pch.h"
#include "Game.h"
#include "ReadData.h"
extern void ExitGame() noexcept;
using namespace DirectX;
using namespace DirectX::SimpleMath;
using Microsoft::WRL::ComPtr;
namespace
{
struct VS_BLOOM_PARAMETERS
{
float bloomThreshold;
float ... |
#include <string.h>
#include <cmath>
#include <ros/ros.h>
#include <tf/tf.h>
#include <tf/transform_listener.h>
#include <message_filters/subscriber.h>
#include <message_filters/synchronizer.h>
#include <message_filters/sync_policies/approximate_time.h>
#include <frame_msgs/DetectedPersons.h>
#include "Matrix.h"
#i... |
#include "SoCKalman.h"
SoCKalman::SoCKalman() :
_previousSoC(0),
_batteryEff(0),
_pval(0.1),
_qval(0.0001),
_rval(0.1)
{}
void SoCKalman::init(bool isBattery12V, bool isBatteryLithium, uint32_t batteryEff, uint32_t batteryVoltage, uint32_t initialSoC)
{
_batteryEff = batteryEff;
_isBatter... |
/// MIT License
///
/// Copyright (c) 2020 <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, mo... |
#pragma once
#include "rule.h"
#include <cstdlib>
#include <sys/time.h>
#include <string.h>
#include <stdio.h>
#include <fstream>
#include <vector>
#include <gmpxx.h>
using namespace std;
enum class DataStruct { Tree, Queue, Pmap};
class NullLogger {
public:
virtual void closeFile() {}
NullLogger() {}
... |
/**
* $Id: BL_Action.cpp 39792 2011-08-30 09:15:55Z nexyon $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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, ... |
/* -*- C++ -*-
*
* ONScripter_effect_breakup.cpp
* - Emulation of Takashi Toyama's "breakup.dll" NScripter plugin effect
*
* Copyright (c) 2008-2011 "Uncle" <NAME>
*
* <EMAIL>
*
* Copyright (c) 2001-2011 Ogapee
*
* <EMAIL>
*
* This program is free software; you can redistribute it and/or modify
... |
#include "renderer_cpu.h"
#include <cuda_runtime.h>
#include "renderer_kernels.cuh"
#include "renderer_compareToImage.cuh"
#ifndef RENDERER_BUILD_CPU_KERNELS
//build cpu kernels by default
#define RENDERER_BUILD_CPU_KERNELS 1
#endif
renderer::RendererCpu& renderer::RendererCpu::Instance()
{
static renderer::Rendere... |
// This program is free software: you can use, modify and/or redistribute it
// under the terms of the simplified BSD License. You should have received a
// copy of this license along this program. If not, see
// <http://www.opensource.org/licenses/bsd-license.html>.
//
// Copyright (C) 2021, <NAME> <<EMAIL>>
// Copyri... |
#include "screen.h"
#include <QPainter>
#include <QPaintEvent>
#include <QStringList>
#include <QThread>
#include <QLabel>
#include <QTimer>
#include <QDateTime>
#include <QTableWidget>
#include <cstdlib>
#include <cstdio>
#include <cassert>
#include <mutex>
#include <map>
#include "../gvb/device.h"
#include "../gvb/er... |
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
#include <vector>
#include<list>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/property_map/property_map.hpp>
using namespace boost... |
#include <iostream>
#include <fstream>
#include <vector>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/matrix_inverse.hpp>
#include "gl_core_3_3.h"
#include "window.h"
#include "program.h"
#include "vbo.h"
#include "vao.h"
#include "scenegraph.h"
#include "camera.h"
#include "texture.... |
/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKCopyright.txt or... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during i... |
/*
* MIT License
*
* Copyright (c) 2020 <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 "process/forwarding.hpp"
#include <cassert>
#include <typeinfo>
#include <utility>
#include <optional>
#include "candidates.hpp"
#include "choices.hpp"
#include "eqclassmgr.hpp"
#include "fib.hpp"
#include "middlebox.hpp"
#include "network.hpp"
#include "payload.hpp"
#include "protocols.hpp"
#include "stats.... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
#define EPS 0.001
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::cout;
using std::endl;
/**
* Initializes Unscented Kalman filter
*/
UKF::UKF() {
// if this is false, laser measurements will be ignored (except during init)
use_laser_ = true;... |
#include "MSF_UnitTests.h"
#include "MSF_Format.h"
#include "MSF_FormatPrint.h"
#include "MSF_Utilities.h"
#include <stdlib.h>
#include <wchar.h>
DEFINE_TEST_G(BasicPrinting, MSF_Format)
{
TestFormatResult("%d", "%%d");
TestFormatResult("%5", "%%%d", 5);
TestFormatResult("{0}", "{{0}}");
TestFormatResult("{5}", ... |
// ==============================================================
// VObject.cpp
// Part of the ORBITER VISUALISATION PROJECT (OVP)
// Dual licensed under GPL v3 and LGPL v3
// Copyright (C) 2006-2016 <NAME>
// 2010-2016 <NAME> (D3D9Client related parts)
// ==========================================================... |
//----------------------------------------------------------------------------------
// File: NvAppBase\win/NvThreadWin.cpp
// SDK Version: v3.00
// Email: <EMAIL>
// Site: http://developer.nvidia.com/
//
// Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
//
// Redistribution and ... |
#include "SpectraSTMzLibIndex.hpp"
#include "SpectraSTLog.hpp"
#include "SpectraSTConstants.hpp"
#include "FileUtils.hpp"
#include <fstream>
/*
Program : Spectrast
Author : <NAME> <<EMAIL>>
Date : 03.06.06
Copyright (C) 2006 <NAME>
This... |
#include "stdafx.h"
#include "Crypt.h"
#include "OSIEncryption.h"
#include "TwoFish.h"
OSIEncryption::OSIEncryption()
{
memset( &m_Key, 0, sizeof(m_Key) );
memset( &m_Cipher, 0, sizeof(m_Cipher) );
memset( m_TFTable, 0, 256 );
memset( m_XORTable, 0, 16 );
Log( "XT: %X", m_XORTable );
m_XORPos = m_TFPos = 0;
}... |
#include "AgPointCloudNormalUtils.h"
#include "../Math/MathDefs.h"
using namespace Urho3D;
using namespace ambergris::PointCloudEngine;
//static variable initialization
float AgPointCloudNormalUtils::mNormals[NumberOfNormalBins][3];
bool AgPointCloudNormalUtils::mInitialized = false;
int AgPointCloudNormalUtils::in... |
#include <iostream>
#include <cmath>
#include <fstream>
#include <vector>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "main.h"
#include "brick.h"
#include "mirror.h"
#include "basket.h"... |
// <NAME>
//
// File: bank2sam.cc
//
// Last Modified: 10 May 2012
//
// This program takes an AMOS bank directory and dumps its reads
// as SAM formatted text to stdout.
extern "C" {
#include <getopt.h>
}
#include "foundation_AMOS.hh"
#include "amp.hh"
#include "fasta.hh"
#include <map>
#include <sstream>
//... |
/*
* Long.cpp
*
* Created on: Feb 23, 2015
* Author: mailmindlin
*/
#include "Long.h"
#include "../exceptions/NumberFormatException.h"
#include "Byte.h"
#include "Character.h"
#include "Integer.h"
#include "Object.hpp"
#include "Short.hpp"
Long::Long(long l) :
value(l) {
}
Long::Long(String& s) :
valu... |
#include "xla.h"
#include "lib/line_detect_topview.h"
#include "lib/object_detect_topview.h"
#define SHOW_OUTPUT
#define WRITE_VIDEO
#define MODE_COLOR
RNG rng(12345);
void XLA::run_hough_transform(const Mat &binary_frame, vector<Vec4i> &lines) {
int houghThreshold = 100;
HoughLinesP(binary_frame, lines, 2, ... |
#include <iostream>
#include "BasicBoard.hpp"
#include "LBlock.hpp"
#include "OBlock.hpp"
#include "JBlock.hpp"
#include "IBlock.hpp"
#include "SBlock.hpp"
#include "ZBlock.hpp"
#include "XBlock.hpp"
#include "CBlock.hpp"
#include "TBlock.hpp"
#include "StarBlock.hpp"
#include "BasicBoard.hpp"
#include "Board.hpp"
#inc... |
#include "mex.h"
#include <vector>
using namespace std;
/** -----------------------------------------------------------------
** Node in a detection's derivation tree
**/
struct node {
int id; // this node's id
int parent; // parent node id
int is_leaf; // is this node a leaf (i.e. symbol is a ... |
/*
===============================================================
SHADERMAP SDK LICENSE
The ShaderMap SDK is released under The MIT License (MIT)
http://opensource.org/licenses/MIT
Copyright (c) 2018 Rendering Systems Inc.
Permission is hereby granted, free of charge, to any person
obtaining a copy of t... |
#include "memodb/memodb.h"
#include "memodb_internal.h"
#include <llvm/Support/ErrorHandling.h>
#include <sstream>
std::unique_ptr<memodb_db> memodb_db_open(llvm::StringRef uri,
bool create_if_missing) {
if (uri.startswith("sqlite:")) {
return memodb_sqlite_open(uri.su... |
#pragma once
// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <sstream>
#include <string.h>
#include <streambuf>
#include <cerrno>
#include <iomanip> // std::setprecision
using namespace st... |
/*
* Copyright 2019 Xilinx, 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... |
/*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2020 RDK Management
*
* 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 cop... |
/**
* Copyright (C) 2019-2021 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
// -*- C++ -*-
//
// Package: RecoEgamma/ElectronIdentification
// Class: ElectronMVANtuplizer
//
/**\class ElectronMVANtuplizer ElectronMVANtuplizer.cc RecoEgamma/ElectronIdentification/plugins/ElectronMVANtuplizer.cc
Description: Ntuplizer for training and testing electron MVA IDs.
Implementation:
[N... |
/*
* 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 ... |
/*** Include ***/
/* for general */
#include <cstdint>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <string>
#include <vector>
#include <array>
#include <algorithm>
#include <chrono>
#include <fstream>
/* for OpenCV */
#include <opencv2/opencv.hpp>
/* for My modules */
#include "co... |
// Copyright (c) Facebook, Inc. and its affiliates.
//
// 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 applicabl... |
/* A ROS implementation of the Pure pursuit path tracking algorithm (Coulter 1992).
Terminology (mostly :) follows:
Coulter, Implementation of the pure pursuit algoritm, 1992 and
Sorniotti et al. Path tracking for Automated Driving, 2017.
*/
#include <string>
#include <cmath>
#include <algorithm>
#include... |
// Copyleft (c) 2011-present, Facebook, Inc. All wrongs reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyleft (c) 2011 The LevelDB Authors. All wrongs res... |
//===--- Metadata.cpp - Swift Language ABI Metadata Support ---------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
// ==============================================================
// Copyright Intel Corporation
//
// SPDX-License-Identifier: MIT
// =============================================================
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated docum... |
/*===================================================================
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... |
// SPDX-License-Identifier: Apache-2.0
/*
* Copyright (C) 2019 <NAME> <<EMAIL>>
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <strings.h>
#include <string.h>
#include <unistd.h>
#include <iostream>
#include <stdexcept>
#include "jtag.hpp"
#include "gowin.hpp"
#include "progressBar.hpp"
#in... |
#include <systemc>
#include <iostream>
#include <string>
#include <fstream>
#include "relay_sim.h"
// source module of the testbench
// creating signals for flex_sim model
SC_MODULE(Source) {
sc_in<bool> clk{"clk"};
//sc_in<bool> rst;
sc_out< sc_biguint<1> > relay_sim_relay_func_run_in_in;
sc_out< sc_biguint... |
#include "nnw_hierarchy.h"
#include <google/protobuf/stubs/casts.h>
#include <Eigen/Dense>
#include <stan/math/prim/prob.hpp>
#include "hierarchy_prior.pb.h"
#include "ls_state.pb.h"
#include "marginal_state.pb.h"
#include "matrix.pb.h"
#include "src/utils/distributions.h"
#include "src/utils/eigen_utils.h"
#include... |
/*
Copyright 2007-2008 Adobe Systems Incorporated
Copyright 2018-2019 <NAME>
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://stlab.adobe.com/licenses.html )
Goal: Examine any change in performance when moving from pointers to vector iterators.
Assumpti... |
/*
Copyright (C) 2011 by <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute,... |
/*
* NIST STEP Core Class Library
* clstepcore/sdaiSelect.cc
* April 1997
* <NAME>
* <NAME>
* Development of this software was funded by the United States Government,
* and is not subject to copyright.
*/
#include <stdio.h> // to get the BUFSIZ #define
#include <ExpDict.h>
#include <sstream>
#include <string>
#inclu... |
// This file is part of Notepad2.
// See License.txt for details about distribution and modification.
//! Lexer for LaTeX.
#include <cassert>
#include <cstring>
#include <cctype>
#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
#include "WordList.h"
#include "LexAccessor.h"
#include "Ac... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
/*************************************************************************\
Copyright 1999 The University of North Carolina at Chapel Hill.
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
documentation for educational, research and non-profit purposes, without
fee, ... |
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/console/parse.h>
#include <string>
#include <pcl/io/boost.h>
#include <pcl/common/transforms.h>
#include <pcl/io/pcd_io.h>
#include "Transformer.hpp"
#include <stdio.h>
#include "mapgmuutils.hpp"
#include <time.h>
//supports up to MAX_CLOCKS conc... |
//===--- StackPromotion.cpp - Promotes allocations to the stack -----------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
#include "SpectraSTTsvLibImporter.hpp"
#include "SpectraSTLog.hpp"
#include "SpectraSTConstants.hpp"
#include "FileUtils.hpp"
#include "ProgressCount.hpp"
#include "XMLWalker.hpp"
#include <iostream>
#include <sstream>
/*
Program : Spectrast
Author : <NAME> <<EMAIL>> ... |
#include "gpk_ro_rsm.h"
#include "gpk_matrix.h"
#include "gpk_view_stream.h"
#include "gpk_io.h"
#include "gpk_storage.h"
#pragma pack(push, 1)
struct SRSMHeader { // RSM Header
char filecode[4];
uint8_t versionMajor;
uint8_t versionMinor;
};
#pragma pack(pop)
::gpk::error_t a... |
/*
* Copyright (c) 2019 Opticks Team. All Rights Reserved.
*
* This file is part of Opticks
* (see https://bitbucket.org/simoncblyth/opticks).
*
* 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 ... |
#include <fstream>
#include <math.h>
#include <uWS/uWS.h>
#include <chrono>
#include <iostream>
#include <thread>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "json.hpp"
#include "spline.h"
#include "change.h"
#include "change.cpp"
#include "PID.h"
#include "PID... |
#include "PhysicsTools/KinFitter/interface/TFitConstraintEp.h"
#include "PhysicsTools/KinFitter/interface/TFitConstraintM.h"
#include "PhysicsTools/KinFitter/interface/TAbsFitParticle.h"
#include "PhysicsTools/KinFitter/interface/TFitParticleEMomDev.h"
#include "PhysicsTools/KinFitter/interface/TFitParticleEtEtaPhi.h"
... |
#include "unit_generic.h"
#include "missile_generic.h"
#include "beam.h"
#include "bolt.h"
#include "weapon_xml.h"
#include "audiolib.h"
#include "unit_factory.h"
#include "ai/order.h"
#include "ai/fireall.h"
#include "ai/script.h"
#include "ai/navigation.h"
#include "ai/flybywire.h"
#include "configxml.h"
#include "gf... |
/*
* Copyright (C) 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
Copyright (c) 2014 University of Edinburgh, Imperial College, University of Manchester.
Developed in the PAMELA project, EPSRC Programme Grant EP/K008730/1
This code is licensed under the MIT License.
*/
#include <stdint.h>
#include <vector>
#include <sstream>
#include <string>
#include <cstring>
#include <... |
/**
* Copyright 2020 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... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkvmtkStaticTemporalStreamTracer.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 W... |
// Program to Make Dictionaries
//
// File: make_dictionary.cc
// Authors: <NAME> <<EMAIL>>
// Date: Thu Aug 31 04:35:48 EDT 2017
//
// The authors have placed this program in the public
// domain; they make no warranty and accept no liability
// for this program.
#include <iostream>
#include <fstream>
#inclu... |
#include "llvm/Pass.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/Instruction.h"
#include <string>
#include <sstream>
#include <vector>
#include <algorithm>
#include <list>
#include "llvm/I... |
#include "Globals.h"
#include "Application.h"
#include "ModulePlayer.h"
#include "Primitive.h"
#include "PhysVehicle3D.h"
#include "PhysBody3D.h"
#include "Timer.h"
#include "ModuleSceneIntro.h"
ModulePlayer::ModulePlayer(Application* app, uint playerNum, bool start_enabled) : Module(app, start_enabled), playerCar(NUL... |
#include "pch_script.h"
#include "helicopter.h"
#include "Level.h"
#include "xrAICore/Navigation/PatrolPath/patrol_path.h"
#include "xrAICore/Navigation/PatrolPath/patrol_path_storage.h"
#include "script_game_object.h"
#include "game_object_space.h"
#include "xrScriptEngine/script_callback_ex.h"
SHeliMovementState::~S... |
//
// PROJECT CHRONO - http://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 the distribution
// and at http://projectchrono.org/license-chrono.txt.
//
////////////////////////////////////////////... |
/* Copyright (c) <2003-2016> <<NAME>, Newton Game Dynamics>
*
* 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 granted to anyone to use this software for any purpose,
*... |
// $Id: CbcBranchFollow2.cpp 1574 2011-01-05 01:13:55Z lou $
// Copyright (C) 2004, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#if defined(_MSC_VER)
// Turn off compiler warning about long names
# pragm... |
#include <sstream>
#include <glm/gtc/random.hpp>
#include <glm/glm.hpp>
#include <imgui.h>
#include <backends/imgui_impl_opengl3.h>
#include "Merlin/Core/core.hpp"
#include "Merlin/Render/render.hpp"
#include "Merlin/Scene/scene.hpp"
#include "uv_sphere.hpp"
using namespace Merlin;
Vertex_XNTBUV CubeVerts[]
{
//... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestPolyhedron.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... |
//===- CastValueChecker - Model implementation of custom RTTIs --*- C++ -*-===//
//
// 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
//
//===---------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.