text stringlengths 5.71k 33.7k |
|---|
//////////////////////////////////////////////////////////////////////////////
// //
// Module Name : LPK_USER.c //
// //
... |
/*
Copyright (c) 2013-2018, Los Alamos National Security, LLC (LANS)
and the University Corporation for Atmospheric Research (UCAR).
Unless noted otherwise source code is licensed under the BSD license.
Additional copyright and license information can be found in the LICENSE file
distributed with this code, or at htt... |
// RTABMap signature, hypothesis to Ratslam LocalView ID.
//#include <iterator>
//#include <vector>
//#include <unistd.h>
#include <ros/ros.h>
//#include <rtabmap/core/Statistics.h>
#include <rtabmap_ros/Info.h>
#include <rtabmap_ros/AllowLoop.h>
//#include <rtabmap_ros/RejectLoop.h>
#include <ratslam_ros/ViewTemplat... |
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright 2021 XIA LLC, All rights reserved.
*
* 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/LICE... |
/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2020 <NAME>
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU Lesser General Public Licence as published
* by the ... |
#pragma once
#include "atom_structure_res.h"
#include <cmath>
// basic element
Atom::Atom(ofJson atm_js, float axis_length) {
int id = atm_js["id"], group_id = atm_js["group_id"], mole_id = atm_js["mole_id"];
string group_type = atm_js["group_type"], element = atm_js["element"];
vector<float> co = atm_js["coordina... |
/*
* regc_locale.cpp --
*
* This file contains locale-specific regexp routines.
* This file is #included by regcomp.c.
*
* Copyright (c) 1998 by Scriptics Corporation.
*
* This software is copyrighted by the Regents of the University of
* California, Sun Microsystems, Inc., Scriptics Corporation, ActiveState
... |
#include "generator.h"
//#define VARIABLE_COUNT 2 /* bot + broj varijabli */
vector<dummy_struct*> kopiraj_skup_op(vector<dummy_struct*> &skup)
{
vector<dummy_struct*> novi;
for (int i = 0; i < skup.size(); ++i)
novi.push_back(skup[i]->cpy());
return novi;
}
void rek_ispis(dummy_struct* r, string ... |
// Copyright 2020 Makani Technologies 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 ... |
/*
* This file is part of the Palacios Virtual Machine Monitor developed
* by the V3VEE Project with funding from the United States National
* Science Foundation and the Department of Energy.
*
* The V3VEE Project is a joint project between Northwestern University
* and the University of New Mexico. You can ... |
/**
* @file vulkan_types.inl
* @author <NAME> (<EMAIL>)
* @brief This file contains a collection fo Vulkan-specific types used
* for the Vulkan backend.
* @version 1.0
* @date 2022-01-11
*
* @copyright Kohi Game Engine is Copyright (c) <NAME> 2021-2022
*
*/
#pragma once
#include "defines.h"
#include "core/a... |
/*
* BP-WebExploitASPErrCodes.cc
*
* Created on: Apr 7, 2009
* Author: root
*/
#include "../../../../include/BP-Main.h"
// ASP error code array
BP_ASP_ERR_CODES aspErrCodes[] = {
{ (char *)"ASP 0100", (char *)"Out of memory"},
{ (char *)"ASP 0101", (char *)"Unexpected error"},
{ (char *)"ASP 0102", (ch... |
#include "splay.hpp"
// Splay tree that represents the branches of a bounded convex piecewise linear function
// with integer slopes, dangling on an implicit vertex. Supports pointwise addition and
// minplus convolution (small to large), inversion and evaluation in O(log n)
struct Branch : basic_splay<Branch> {
u... |
// TestNetTask.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "iostream.h"
#include "sddl.h"
#include "ACLApi.h"
static const WCHAR * INSTALL_TASK_NAME = L"SyslistInstallC";
static const DWORD MAX_RUN_TIME_MS = 600000;
static const DWORD TASK_POLL_INTERVAL_MS = 50... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014 <NAME>, <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation th... |
#include <gxcCell.h>
inline void gxcCell::GetCauchyMat(std::array<std::array<gxcData, 3>, 3> &mat, const gxcId QuadraturePointId)
{
mat[0][0] = Stress[QuadraturePointId][0];
mat[1][1] = Stress[QuadraturePointId][1];
mat[2][2] = Stress[QuadraturePointId][2];
mat[1][2] = Stress[QuadraturePointId][3];
... |
/**
* Implementation of evaluation functions for passing
*/
#include "ai/passing/evaluation.h"
#include <numeric>
#include "../shared/constants.h"
#include "ai/evaluation/pass.h"
#include "geom/util.h"
#include "util/parameter/dynamic_parameters.h"
using namespace AI::Passing;
using namespace AI::Evaluation;
do... |
//
// OBJObject.cpp
// BumperCarSimulation
//
// Created by <NAME> on 3/4/18.
// Copyright © 2018 <NAME> & <NAME>. All rights reserved.
//
#include "OBJObject.hpp"
#include "Window.hpp"
#include <fstream>
#include <iostream>
#include <sstream>
#include <cmath>
#include <limits>
using namespace std;
OBJObject::OB... |
/********************************************************************************
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, includ... |
///////////////////////////////////////////////////////////////////////////////
//FILE: 'rcs.cpp'
//Contains 'rcs' module of class 'Missile'
//
//040302 Created by <NAME>
//081010 Adapted for GENSIM6, PZi
///////////////////////////////////////////////////////////////////////////////
#include "class_hierarchy.hpp"
us... |
// Copyright (c) 2019, <NAME>
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the ... |
#include <iostream>
#include <vector>
#include <cmath>
#include <stdexcept>
#include "matplotlibcpp.h"
#include "Numcpp_light.hpp"
namespace plt = matplotlibcpp;
class Control{
private:
// defined private parametres which is used in calculation
std::vector<float> alpha {0.0, 0.0};
std::ve... |
#include <iostream>
#include "stdc++.h"
using namespace std;
using std::endl;
using std::cout;
using std::cerr;
using std::ios;
using std::ifstream;
using std::ofstream;
using std::istringstream;
#include <fstream>
#include <sstream>
#include <array>
#include <ctime>
#include <climits>
#include <cstdlib>
#include <alg... |
//
// Venera15.cpp : Defines the entry point for the console application.
// <NAME> 2016/02/12.
//
#include "stdafx.h"
#include "Venera15.h"
#define PLOTDAY 19
#define PLOTMONTH 12
#define PLOTSIZE 1024
Complex rgcIQ[256];
char rgnBadSAR[3200];
char rgnBadBand[3200];
Radar... |
/* Copyright (C) 2015 Ion Torrent Systems, Inc. All Rights Reserved. */
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
#include <iostream>
#include <exception>
#include <vector>
#include <string>
#include <i... |
//**************************************************************
// Copyright Xensys Corporation 2009-2014
// (see LICENSE.txt)
//
// libstatcalc.cpp
// C++ shared object library to be called by a Progress program
// for statistical functions equivalent to those available in
// MS Excel
//
// 29 Aug 2009
// <NAME> -... |
#include "RecoEgamma/ElectronIdentification/interface/ElectronMVAEstimatorRun2Phys14NonTrig.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/GsfTrackReco/interface/GsfTrack.h"
#include "DataFormats/PatCandidates/interface/Electron.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
E... |
/**
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2019 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use thi... |
/*
* Copyright (c) 2014 Netflix, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condition... |
///////////////////////////////////////////////////////////////////////////////
//FILE: 'control.cpp'
//Contains 'control' module of class 'Missile'
//
//030612 Created by <NAME>
///////////////////////////////////////////////////////////////////////////////
#include "class_hierarchy.hpp"
////////////////////////////... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* License); you ma... |
// Copyright 2016 Open Source Robotics Foundation, 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 appli... |
#include "AttackSquad.h"
#include "AttackCoordinator.h"
#include "Config.h"
#include "ExplorationManager.h"
#include "AlliedSquad.h"
#include "EnemySquad.h"
#include "PlayerArmyManager.h"
#include "Helper.h"
#include "UnitHelper.h"
#include "SquadDefs.h"
#include "DefenseManager.h"
#include "IntentionWriter.... |
#include "stdinc.h"
#include "macros.h"
#include <msi.h>
#include <msiquery.h>
#include "common.h"
HRESULT MSI_GetInstallerState(const MSIHANDLE & hInstall, enum CA_MIGRATION_MSI_INSTALL_MODE &fmode)
{
WCHAR szbuf[MAX_PATH];
DWORD cchbuf = NUMBER_OF(szbuf);
HRESULT hr = S_OK;
IF_NOTSUC... |
// online2bin/online2-tcp-nnet3-decode-faster.cc
// Copyright 2014 Johns Hopkins University (author: <NAME>)
// 2016 Api.ai (Author: <NAME>)
// 2018 Polish-Japanese Academy of Information Technology (Author: <NAME>)
// See ../../COPYING for clarification regarding multiple authors
//
// License... |
#include "clientmanager.h"
#include <X11/Xlib.h>
#include <algorithm>
#include <iostream>
#include <stdexcept>
#include <string>
#include "attribute.h"
#include "client.h"
#include "completion.h"
#include "decoration.h"
#include "ewmh.h"
#include "ipc-protocol.h"
#include "monitor.h"
#include "monitormanager.h"
#incl... |
// include ROS Libraries
#include <ros/ros.h>
#include <geometry_msgs/PointStamped.h>
#include <sensor_msgs/Imu.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/PointCloud2.h>
#include <sensor_msgs/point_cloud_conversion.h>
#include <std_msgs/Bool.h>
// OpenCV Libraries
#include <opencv2/opencv.hpp>
#includ... |
/*
* Copyright © 2014 Intel Corporation
*
* 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, pub... |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*!
Copyright (C) 2002, 2003 <NAME>
Copyright (C) 2004 <NAME>
Copyright (C) 2005, 2006, 2007 StatPro Italia srl
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - h... |
//===----------- VectorUtils.cpp - Vectorizer utility functions -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted pro... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/favicon/favicon_handler.h"
#include "build/build_config.h"
#include <algorithm>
#include <vector>
#include "base/bind.h"
#... |
//=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 <NAME> and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS sourc... |
/*
* 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
*
*/
/** \file
* \brief Module to support assembly file annotation ( -Manno switch).
*/
#include "gbldefs.h"
#... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
#include"Schedule.hpp"
#include"Random.hpp"
#include"ConstraintsHelper.hpp"
#include<vector>
#include<unordered_set>
#include<iostream>
using namespace std;
#define MRATE 0.05
#define CRATE 0.65
#define MSIZE 4
#define CSIZE 4
#define WEEKDAYS 5
#define TOTALHOURS 8
//default constructor
Schedule::Schedule(... |
#include <cstdio>
#include <cstdlib>
#include <cstring> // strerror
#include <string>
#include <iostream> // for file saving
#include "common.h"
#include "log.h"
#include "tools.h"
#include "audiopacket.h"
// Initialise the audio map... to identify valid audio channel and keep only valid data
std::vector<str... |
#include "simplex.hpp"
#include "A_matrix.hpp"
#include "Q_matrix.hpp"
#include "bimap.hpp"
#include "parse-stim.hpp"
#include <algorithm>
#include <iostream>
#include <memory>
#include <optional>
#include <random>
#include <set>
#include <vector>
/* Implementation */
class RBG {
public:
RBG(int seed = 0) : gen(se... |
// Copyright (c) 2019-2020 The Blocknet developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/server.h>
#include <governance/governance.h>
#include <net.h>
#include <rpc/protocol.h>
#include <rpc/util.h>
#inc... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*
* A quick-hack 6803/6808 disassembler
*
* Note: this is not the good and proper way to disassemble anything, but it works
*
* I'm afraid to put my name on it, but I feel obligated:
* This code written by <NAME> (<EMAIL>) for the MAME project
*
* His... |
#include <kernel/elf.hpp>
#include <util/crc32.hpp>
#include <common>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <unistd.h>
#include <vector>
#include <elf.h>
#include <os.hpp>
#include <arch.hpp>
#include <stdint.h>
#if UINTPTR_MAX == 0xffffffffffffffff
typedef Elf64_Sym E... |
#include "mmdpi_bone.h"
// matrix 分だけ変換する
int mmdpiBone::set_bone_matrix( uint bone_index, const mmdpiMatrix& matrix )
{
if( mmdpiBone::bone_num <= bone_index )
return -1;
bone[ bone_index ].delta_matrix = bone[ bone_index ].delta_matrix * matrix;
return 0;
}
// ボーンローカルマテリックス生成
void mmdpiBone::ma... |
/* Copyright (c) 2015 Convey Computer Corporation
*
* This file is part of the OpenHT jpegscale application.
*
* Use and distribution licensed under the BSD 3-clause license.
* See the LICENSE file for the complete license text.
*/
#include <assert.h>
#include <string.h>
#include "MyInt.h"
#include "JpegCommon.h... |
/******************************Module*Header*******************************\
* Module Name: gendrop.c
*
* The Splash style of the 3D Flying Objects screen saver.
*
* Simulation of a drop of water falling into a pool of water.
*
* Copyright (c) 1994 Microsoft Corporation
*
\*************************************... |
/**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "main/impl/pg_connection_init.hpp"
#include <boost/functional/hash.hpp>
#include <boost/range/adaptor/transformed.hpp>
#include "ametsuchi/impl/k_times_reconnection_strategy.hpp"
#include "ametsuchi/impl/pool... |
/**
* Tool that does document layout analysis using tesseract
*
* @version $Version: 2017.07.16$
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2015-present, <NAME> <<EMAIL>>
* @link https://github.com/mauvilsa/tesseract-layout
* @license MIT License
*/
/*** Includes ************************************... |
/*
Copyright 2020. <NAME>.
Implementation for Trie.
*/
#include "trie.h"
#include <algorithm>
#include <map>
#include <stack>
#include <unordered_set>
#include <utility>
using std::initializer_list;
using std::map;
using std::ostream;
using std::runtime_error;
using std::stack;
using std::string;
using std::swap;
usi... |
/*
* Copyright (C) 2008 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... |
/* SORT command and helper functions.
*
* Copyright (c) 2009-2012, <NAME> <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code ... |
/************************************************************************
* RobWorkStudio Version 0.1
* Copyright (C) Robotics Group, Maersk Institute, University of Southern
* Denmark.
*
* This Software is developed using the Qt Open Source Edition, and is
* therefore only available under the GNU General Public ... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, Nefelus Inc
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//... |
/**
* Copyright 2020 The Magma Authors.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
... |
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#define _USE_HETEROGENEOUS_ALLOCATOR_COMPARE_IN_INTERNAL_CHECK
#include <algorithm>
#include <array>
#include <assert.h>
#include <cstdio>
#include <deque>
#include <forward_list>
#include <functional>
#includ... |
////////////////////////////////////////////////////////////////////////////////
// //
// PaperBack -- high density backups on the plain paper //
// ... |
/*******************************************************************************
INTEL CORPORATION PROPRIETARY INFORMATION
This software is supplied under the terms of a license agreement or nondisclosure
agreement with Intel Corporation and may not be copied or disclosed except in
accordance with the terms of th... |
/*
* Copyright (C) 2015, 2016 "IoT.bzh"
* Author "<NAME>" <<EMAIL>>
* Author "<NAME>" <<EMAIL>>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
// __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use this file excep... |
#include <SDL2/SDL.h>
#include <vector>
#include <stdio.h>
#include "Renderer.h"
#include "Vector3.h"
#include "DepthBuffer.h"
#include "Color.h"
using namespace gr;
gr::Renderer::Renderer(SDL_Window* wnd, int width, int height){
this->p_wnd = wnd;
this->p_canvas = SDL_GetWindowSurface(wnd);
this->p_pxfmt... |
/* This code performs point membership of 3D structured grid points that
embed the geometry. For the 3D structured grid we perform test to check which
grid points lie inside/outside the geometry. For each point in the grid a ray
starts from the grid point and in the x-direction to check for intersection
with the geomet... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2022 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/safe_browsing/protocol_manager.h"
#include "base/file_version_info.h"
#include "base/histogram.h"
#include "base/loggin... |
#include "mainmenu.hpp"
#include "uebersetzung.hpp"
#include "lesezeichen.hpp"
#include "suche.hpp"
#include <imgui-SFML.h>
#include <SFML/Window/Event.hpp>
#include <cereal/archives/portable_binary.hpp>
#include <cereal/types/vector.hpp>
#include <cereal/types/string.hpp>
#include <cereal/types/tuple.hpp>
#include <f... |
#include "encoder.hpp"
Encoder::Encoder() {}
// Construct an encoder which converts a non-binary data set into a binary-encoded dataset
Encoder::Encoder(std::istream & input) {
std::vector< std::vector< std::string > > tokens;
tokenize(input, tokens); // Produce string tokens from the input
parse(tokens);... |
/*
* $Id: ArmatureExporter.cpp 40019 2011-09-07 18:23:30Z jesterking $
*
* ***** 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... |
/*
* Copyright (c) 2020-2021, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, th... |
/**
******************************************************************************
* This file is part of the TouchGFX 4.10.0 distribution.
*
* <h2><center>© Copyright (c) 2018 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... |
/*
Copyright (c) 2013 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: <NAME>
*/
#include <algorithm>
#include "util/thread.h"
#include "util/test.h"
#include "util/trace.h"
#include "util/exception.h"
#include "util/interrupt.h"
#include "kernel/n... |
/*******************************************************************************
* Copyright (c) 2007, 2008, CerroKai Development
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistribu... |
//
// IntermediateShader.cpp
// Clock Signal
//
// Created by <NAME> on 28/04/2016.
// Copyright 2016 <NAME>. All rights reserved.
//
#include "IntermediateShader.hpp"
#include <cassert>
#include <cstring>
#include <sstream>
#include "../../../../SignalProcessing/FIRFilter.hpp"
using namespace OpenGL;
std::str... |
//##########################################################################
// DO NOT MODIFY
//
//This project was created within an academic research setting, and thus should
//be considered as EXPERIMENTAL code. There may be bugs and deficiencies in the
//code, so please adjust expectations accordingly. With that sa... |
#include "Vizlet.h"
#include "VizLife.h"
static CFFGLPluginInfo PluginInfo (
VizLife::CreateInstance, // Create method
"VZLF", // Plugin unique ID
"VizLife", // Plugin name
1, // API major version number
000, // API minor version number
1, // Plugin major version number
000, // Plugin minor version nu... |
// Copyright (c) 2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The Pivx developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#includ... |
/*------------------------------------------------------------------------
* (The MIT License)
*
* Copyright (c) 2008-2011 Rhomobile, Inc.
*
* 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 ... |
////////////////////////////////////////////////////////////////////////
// Copyright (c) 2010-2015, University of Washington and Battelle
// Memorial Institute. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following cond... |
#include "main.hpp"
#include "helper/color.hpp"
#include "helper/nds_file_system.hpp"
#include <system/local_file_system.hpp>
#include <iostream>
#include <codecvt>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb/stb_image_write.h"
using namespace oic;
using namespace nre;
//Processing invalid flags and valid f... |
/* -*- mode:C++; c-basic-offset:4 -*-
Shore-kits -- Benchmark implementations for Shore-MT
Copyright (c) 2007-2009
Data Intensive Applications and Systems Labaratory (DIAS)
Ecole Polytechnique Federale de Lausanne
All Rights Reserved.
... |
#include <numeric>
#include "matching2D.hpp"
using namespace std;
// Find best matches for keypoints in two camera images based on several matching methods
void matchDescriptors(std::vector<cv::KeyPoint> &kPtsSource, std::vector<cv::KeyPoint> &kPtsRef, cv::Mat &descSource, cv::Mat &descRef,
std:... |
//=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 <NAME> and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS sourc... |
#include "SCueSheet.h"
#include <stdexcept>
#include <string>
#include <iostream>
#include <iomanip>
#include <regex>
#include <algorithm>
#include <cdio/sector.h>
#define TimeToString(time,mm,ss,ff) \
(ss) = (time)/75; \
(ff) = (time) - (ss)*75; \
(mm) = (ss)/60; \
(ss) -= (mm)*60
using std::string;
using ... |
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "Gltf.h"
#include "Utility.h"
namespace std {
template<>
struct hash<tinygltf::Sampler>
{
size_t operator()(tinygltf::Sampler const &sampler) const noexcept
{
size_t seed = 0;
CDBTo... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/***************************************************************************
jedparse.c
Parser for .JED files into raw fusemaps.
****************************************************************************
Binary file format:
Offset
0 = To... |
//===-- macho-dump.cpp - Mach Object Dumping Tool -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include <CVoxel.h>
#include <CLargestRect.h>
#include <CFile.h>
#include <iostream>
#include <cstring>
#include <cassert>
namespace {
unsigned int default_palette[256] = {
0x00000000, 0xffffffff, 0xffccffff, 0xff99ffff, 0xff66ffff, 0xff33ffff, 0xff00ffff, 0xffffccff,
0xffccccff, 0xff99ccff, 0xff66ccff, 0xff33ccf... |
// MIT License
// Copyright (c) 2018 finixbit
// 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,... |
/*
* UnitProp.cpp
*
* Created on: Dec 11, 2011
* Author: joe
*/
#include <exception>
#include <stdexcept>
#include <map>
#include <list>
#include <queue>
#include <algorithm>
#include "UnitProp.h"
#include "logic/Domain.h"
#include "logic/Collectors.h"
#include "Log.h"
Domain performUnitPropagation(const D... |
#include <angles/angles.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include <string>
#include <pthread.h>
#include <stdlib.h>
#include <MX28.h>
#include <CM730.h>
#include <JointData.h>
#include <controller_manager/controller_manager.h>
#include <ros/ros.h>
#include <ros/console.h>
#include "op2_control/op2_rob... |
//STARTHEADER
// $Id: 07-subtraction.cc 3670 2014-09-08 14:17:59Z soyez $
//
// Copyright (c) 2005-2011, <NAME>, <NAME> and <NAME>
//
//----------------------------------------------------------------------
// This file is part of FastJet.
//
// FastJet is free software; you can redistribute it and/or modify
// it un... |
//
// Created by JBinggi on 01.07.18.
//
#include <curl/curl.h>
#include <fstream>
#include <net/if.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <ifaddrs.h>
#include <sys/ioctl.h>
#include <zconf.h>
#include <termios.h>
#include <termio.h>
#include <arpa/inet.h>
#include "helper.h"
#include "data.h"
using ... |
#include "order_book.hpp"
#include "order_book_core_IndexPop.hpp"
// #define __DEBUG__
// order book for only one instrument
// searching by calculating address index in the book, price depth
// and a linked chain in each indexed slot
addr_index get_bookindex_offset(
price_t &price_in,
price_t &price_base,
ap_uint... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.