text stringlengths 8.71k 38.4k |
|---|
/****************************************************************************/
/// @file NWWriter_DlrNavteq.cpp
/// @author <NAME>
/// @author <NAME>
/// @date 26.10.2012
/// @version $Id$
///
// Exporter writing networks using DlrNavteq (Elmar) format
/**********************************************************... |
#include "Globals.h"
#include "Application.h"
#include "ModuleImporter.h"
#include "par_shapes.h"
#include "ModuleFileSystem.h"
#include "ModuleSceneIntro.h"
#include "ModuleTexture.h"
#include "PanelConfig.h"
#include "ModuleUI.h"
#include "GameObject.h"
#include "Components.h"
#include "Component_Material.h"
#includ... |
#include "L1Trigger/CSCTriggerPrimitives/interface/LCTQualityControl.h"
#include "L1Trigger/CSCTriggerPrimitives/interface/LCTQualityAssignment.h"
#include <unordered_map>
// constructor
LCTQualityControl::LCTQualityControl(unsigned endcap,
unsigned station,
... |
/*
* Copyright 2017-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... |
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <twz/meta.h>
#include <twz/name.h>
#include <twz/obj.h>
#include <twz/obj/queue.h>
#include <twz/persist.h>
#include <twz/ptr.h>
#include <twz/sys/obj.h>
#include <twz/sys/sys.h>
#include <twz/... |
/*
centeroracle
Website: https://proit.id
Github: https://github.com/proitlab/vex-centeroracle/
Published under MIT License
*/
#include <centeroracle.hpp>
//Write datapoint
ACTION centraloracle::write(const name owner, const std::vector<quote>& quotes) {
require_auth(owner);
int length = quo... |
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QIcon>
#include <QDebug>
#include <QMessageBox>
#include <QFileInfo>
#include <QFileDialog>
#include <QTextStream>
#include <QTableView>
#include <QVector>
#include <QStandardPaths>
//# of ms to display messages in status bar for.
#define MESSAGE_DISPLAY_LEN... |
#include <stdexcept>
#include <fstream>
#include <iterator>
#include <iomanip>
#include <iostream>
#include "FontEditor.h"
#include "bzip2/bz2wrap.h"
#include "Config.h"
#include "gui/interface/Textbox.h"
#include "gui/interface/Engine.h"
#include "gui/interface/Point.h"
#include "gui/interface/Button.h"
#include "gu... |
#include "app.h"
#define GROUP_RENDER 0
void App::initResultBufferOnDevice()
{
params.subframe_index = 0;
result_bitmap.allocateDevicePtr();
accum_bitmap.allocateDevicePtr();
params.result_buffer = reinterpret_cast<uchar4*>(result_bitmap.devicePtr());
params.accum_buffer = reinterpre... |
//
// FadingMultiDelay.cpp
// laproque - https://github.com/Buerner/laproque
//
// Copyright © 2017 <NAME>. All rights reserved.
// Licensed under the MIT License. See LICENSE.md file in the project root for full license information.
//
#include <algorithm>
#include <cstring>
#include <math.h>
#include "FadingM... |
#include <memory>
#include <gtest/gtest.h>
#include "WCESpectralAveraging.hpp"
#include "WCEMultiLayerOptics.hpp"
#include "WCESingleLayerOptics.hpp"
#include "WCECommon.hpp"
using namespace SingleLayerOptics;
using namespace FenestrationCommon;
using namespace SpectralAveraging;
using namespace MultiLayerOptics;
cl... |
/*
* Copyright (c) 2005, <NAME> and IFS Institute for Software at HSR Rapperswil, Switzerland
* Copyright (c) 2015, <NAME>, Faculty of Computer Science,
* University of Applied Sciences Rapperswil (HSR),
* 8640 Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can ... |
//********************************************************
// Syzygy is licensed under the BSD license v2
// see the file SZG_CREDITS for details
//********************************************************
#include "arPrecompiled.h"
#include "arMesh.h"
#include "arDrawableNode.h"
// (Private constants don't n... |
#include <algorithm>
#include <execution>
#include <fstream>
#include <filesystem>
#include <assimp/cimport.h>
#include <assimp/material.h>
#include <assimp/pbrmaterial.h>
#include <assimp/postprocess.h>
#include <assimp/scene.h>
#include <rapidjson/istreamwrapper.h>
#include <rapidjson/document.h>
#include <rapidjso... |
/*
Copyright (c) 2004-2021 The FlameRobin Development Team
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, modi... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2019 <NAME>
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
///////////////////////////////////////////////////... |
//
// GL45BackendTexture.cpp
// libraries/gpu/src/gpu
//
// Created by <NAME> on 1/19/2015.
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "GL45Backend.h"
#include <... |
//*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// 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://w... |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
// Measure time
#include <ctime>
// OpenGL include
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gt... |
#include "cp_json_serialize.hpp"
#include <chipmunk/chipmunk_private.h>
#include <chipmunk/chipmunk_structs.h>
#include <chipmunk/chipmunk_types.h>
#include <iostream>
std::string ptrToStr(const void *ptr) {
std::stringstream ss;
ss << std::hex << ptr;
return ss.str();
}
namespace nlohmann {
cpFloat cpFloat... |
/*
* Copyright (C) 2012 by <NAME> (<EMAIL>)
* Copyright (C) 2012-2019 by UCSC Computational Genomics Lab
*
* Released under the MIT license, see LICENSE.txt
*/
#include "hdf5Alignment.h"
#include "halCLParser.h"
#include "halCommon.h"
#include "halSequenceIterator.h"
#include "hdf5Common.h"
#include "hdf5Genome.h... |
// Walk and kick behaviour state: Go behind ball
// Author: <NAME> <<EMAIL>>
// Includes
#include <walk_and_kick/beh_states/beh_go_behind_ball.h>
#include <walk_and_kick/wak_utils.h>
#include <rc_utils/math_vec_mat.h>
#include <rc_utils/math_funcs.h>
// Namespaces
using namespace walk_and_kick;
using namespace rc_uti... |
/*****************************************************************************
* *
* PLAST : Parallel Local Alignment Search Tool *
* Version 2.3, released November 2015 *
* ... |
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Audio.hpp>
#include <SFML/Network.hpp>
#include "EntityManager.h"
#include "Menu.h"
#include <cmath>
#include <math.h>
#include <memory>
#include <sstream>
#include "Score.h"
#include "Player.h"
#inclu... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include <unistd.h>
#include <fcntl.h>
#include <float.h>
#include <time.h>
#include <sys/time.h>
#include <iostream>
#include "common.h"
#define BLOCK_X 16
#define BLOCK_Y 16
#define PI 3.1415926535897932
... |
// KinematicsGeppetto.cpp: implementation of the CKinematicsGeppetto class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "KinematicsGeppetto.h"
#define sqr(x) ((x)*(x))
//////////////////////////////////////////////////////////////////////
// Cons... |
/// @file AskapComponentImager.cc
///
/// @copyright (c) 2016 CSIRO
/// Australia Telescope National Facility (ATNF)
/// Commonwealth Scientific and Industrial Research Organisation (CSIRO)
/// PO Box 76, Epping NSW 1710, Australia
/// <EMAIL>
///
/// This file is part of the ASKAP software distribution.
///
/// The AS... |
/****************************************************************************
*
* This is a part of TotemDQM and TOTEM offline software.
* Authors:
* <NAME> (<EMAIL>)
* <NAME> (<EMAIL>)
*
****************************************************************************/
#include "FWCore/Framework/interface/ESHandle.h"
... |
/***************************************************************************
file : carsetupscreen.cpp
created : Wed Aug 21 13:27:34 CET 2013
copyright : (C) 2013 <NAME>
email : <EMAIL>
version : $Id: carsetupscreen.cpp,v 1.1.2.12 2013/09/14 15:05:25 berniw Exp $ ... |
#pragma once
#include "util.hxx"
#include "lcg_rng.hxx"
// #include "util.glsl"
// #include "lcg_rng.glsl"
/* Disney BSDF functions, for additional details and examples see:
* - https://blog.selfshadow.com/publications/s2012-shading-course/burley/s2012_pbs_disney_brdf_notes_v3.pdf
* - https://www.shadertoy.com/view... |
/*
* CurveCSS.cpp
* CurveMatching
*
* Created by <NAME> on 11/28/12.
*
*/
#include "CurveMatching/opencvstd.h"
using namespace cv;
#include "CurveMatching/CurveCSS.h"
#define TwoPi 6.28318530718
/* 1st and 2nd derivative of 1D gaussian
*/
void getGaussianDerivs(double sigma, int M, vector<double>& gaussi... |
/*
* Copyright (C) Cvitek Co., Ltd. 2019-2020. All rights reserved.
*
* File Name: TgReluKernel.cpp
*
* refined 2020-11-18
*/
#include "TgReluKernel.hpp"
#define DEBUG_TYPE "kernel_relu"
void TgReluKernel::init(uint32_t layer_id, int32_t n, int32_t c, int32_t h,
int32_t w, gaddr_t ga_in... |
/*
by <NAME>
Simulations in Mesh Networks
December, 2017
*/
/*Program Arguments:
--x-size: Number of nodes in a row grid. [3] [2]
--y-size: Number of rows in a grid. [3] [1]
--numFlows: Number of flows. [1] [1]
--seed: Seed [1] [1]
--s... |
// Copyright bakrus
// Copyright 2017,2019 <NAME>
#include "ir_Coolix.h"
#include <algorithm>
#ifndef ARDUINO
#include <string>
#endif
#include "IRrecv.h"
#include "IRsend.h"
#include "IRtext.h"
#include "IRutils.h"
// Coolix A/C / heatpump added by (send) bakrus & (decode) crankyoldgit
//
// Supports:
// Brand: Be... |
#include <vector>
#include <ostream>
#include <cstdarg>
#include <boost/iostreams/categories.hpp>
#include <boost/iostreams/stream_buffer.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/shared_ptr.hpp>
#include <glog/logging.h>
#if defined __cplusplus
# define __STDC_CONSTANT_MACROS
#endif
extern "C" {
#... |
#pragma once
#include <glog/logging.h>
#include <tudocomp/util/serialization.hpp>
// Source: https://github.com/kampersanda/poplar-trie/blob/master/include/poplar/bijective_hash.hpp
namespace poplar{namespace bijective_hash {
// (p, q): p < 2**w is a prime and q < 2**w is an integer such that pq mod m = 1
constexpr ... |
#include <Arduino.h>
// === LIBRARIES ===
// Main lib, used to communicate with engines
#include <SCServo.h>
// I2C support library
#include <Wire.h>
// Graphics library
#include <Adafruit_GFX.h>
// Display support library
#include <SPI.h>
#include <LiquidCrystal_I2C.h>
// #include <Adafruit_SSD1306.h> // Planning ... |
#include "crow.h"
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <vector>
#include <cstdlib>
#include <locale>
#include <limits.h>
#include <algorithm>
#include <cmath>
#include <chrono>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost... |
/* This software and supporting documentation are distributed by
* Institut Federatif de Recherche 49
* CEA/NeuroSpin, Batiment 145,
* 91191 Gif-sur-Yvette cedex
* France
*
* This software is governed by the CeCILL-B license under
* French law and abiding by the rules of distribution of free soft... |
#ifdef _WIN32
#ifdef _DEBUG
#pragma comment(lib, "gtestd.lib")
#else
#pragma comment(lib, "gtest.lib")
#endif
#endif
#define NO_COOLQ
#include <climits>
#include <cmath>
#include <list>
#include <regex>
#include "gtest/gtest.h"
#include "dicebot/dicebot.h"
class entry_test : public ::testing::Test {
protected:
... |
//
// Created by istvan on 10/3/17.
//
#include <groups/r_group.h>
#include <messaging/distcoord.capnp.h>
#include <capnp/common.h>
/*10s in msec*/
constexpr auto PING_BASE_PERIOD = 10*1000;
namespace dc = riaps::distrcoord;
using namespace std;
using namespace riaps::discovery;
namespace riaps{
class Compone... |
#include "GeometryGenerator.h"
#include <GL/gl.h>
#include <engine/util/Logger.h>
#include <engine/rendering/debug/DebugRenderer.h>
void MeshData::computeBitangets()
{
// Compute bitangets
for (size_t i = 0; i < vertices.size(); ++i)
vertices[i].bitanget = glm::cross(vertices[i].normal, vertices[i].tan... |
//
// INA219.cpp
//
// this is a modified version of the Adafruit INA219 library
// https://github.com/adafruit/Adafruit_INA219
// made to work on Spasrkfun Artemis
//
/*!
* @file Adafruit_INA219.cpp
*
* @mainpage Adafruit INA219 current/power monitor IC
*
* @section intro_sec Introduction
*
* Driver for t... |
/* mir.c
*
* Copyright (C) 2009 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or (at
* your option) any later version.
*
* This program is... |
int bKMs ,
FD
,
Opyl, NgVk,UtH, CRNE, H6LRM,Um1f,Zn ,
/**/Ve6B//M2r
,ut
,o
,C5a , Ajx4 ,IYOO , //Z
Zu6k
,Eir,
SR
, d3,zTtr
, sL
,D,BPuV,
i6b ,/*P473*/W3,rK3qCL, eMZ,/*Xu*/ nP3U ,Z//8
, U5z,iwPz, Ibp,Ox9,sP , XoK , fY
, Ri,M8
,//TOJ
l4v ,oBCB1,
Z2ZO , //oI
LGx ,
nthN ,/**/Bd9
,
JW , gJ3W
;void //7s
... |
#include "traptables.h"
TrapTables::TrapTables()
{
}
QString TrapTables::generateTrap(int tier)
{
QString description;
QString severity = trapSeverityLevel(tier);
QString effects = trapSeverityStats(severity, tier);
description = trapEffects(severity, tier)
+ ",\nTRIGGER: " + trapTrigger... |
#include "map.hpp"
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <algorithm>
#include <array>
#include <cmath>
#include <cstdlib>
#include <memory>
#include <unordered_map>
#include <utility>
#include <vector>
#include "camera.hpp"
#include "config.hpp"
#include "entity.hpp"
#include "enemy.hpp"
#include "linalg.... |
#include "pch.h"
#include "Factory.h"
#include "Mesh.h"
struct RT { XRANGE r; CBuffer* t; };
static void join(
const XMFLOAT3* pp, const USHORT* ii, UINT iiLength, XMFLOAT2* tt,
const XMFLOAT3* pporg, const USHORT* iiorg, UINT iiorgLength, const XMFLOAT2* ttorg, const RT* rtorg, UINT rtorgLength,
RT* rr, UINT& ... |
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include "utils.h"
#include <iostream>
#include <regex>
#include <string>
#include <fstream>
#include "tap_file.h"
#include <boost/filesystem.hpp>
/////////////////////////////////////////... |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) DreamWorks Animation LLC
//
// All rights reserved. This software is distributed under the
// Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ )
//
// Redistributions of source code must retain the above copyrigh... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
This software is distributed under the GNU General Public License.
See the README file in t... |
/***********************************************************************
Interfacing to a classic piece of geodetic software
************************************************************************
gen_pol is a highly efficient, classic implementation of a generic
2D Horner's Scheme polynomial evaluation... |
/*
Copyright (c) 2018-2019, tevador <<EMAIL>>
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 conditions and the... |
#include "simulationLoop.hh"
#include <vector>
#include <utility>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <omp.h>
#include "Simulate.hh"
#include "Diffusion.hh"
#include "Reaction.hh"
#include "Stimulus.hh"
#include "Sensor.hh"
#incl... |
/**********************************************************************
*<
FILE: pthelp.cpp
DESCRIPTION: A point helper implementation
*> Copyright (c) 1995, All Rights Reserved.
**********************************************************************/
#include "helpers.h"
#include "iparamb2.h"
#include "iparamm... |
#include "level.h"
#include <iostream>
#include <sstream>
#include <fstream>
#include <exception>
#include <cmath>
#include <iomanip>
#define PI (3.141592653589793)
using namespace std;
//zona de inicializacion para las variables constantes.
Level::Level(int w, int h) : width {w}, height {h}
{
//verifier width
... |
#include <curses.h>
#include <dirent.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <array>
#include <atomic>
#include <chrono>
#include <string>
#include <thread>
#include <vector>
#include <oda_decode.h>
#include <rds_spy_log_reader.h>
#include <rds_util.h>
#include <si470x.h>
#include <s... |
#include "primitive.h"
#include "expr.h"
#include "iterator.h"
#include "stringutil.h"
#include "type.h"
static Type*
returnInfoUnknown(CallExpr* call) {
return dtUnknown;
}
static Type*
returnInfoVoid(CallExpr* call) {
return dtVoid;
}
static Type*
returnInfoOpaque(CallExpr* call) {
return dtOpaque;
}
stati... |
/*
* Copyright (c) CERN 2013-2015
*
* Copyright (c) Members of the EMI Collaboration. 2010-2013
* See http://www.eu-emi.eu/partners for details on the copyright
* holders.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... |
/*
* desyevvmex.cpp
Stub for calculating the eigenvectors (normalized and ordered) and eigenvalues (ordered) from
directional derivatives (reshaped into arrays). Analytical Kopp2008.
*
*
* Created by <NAME> on 1/2/13.
* Copyright 2013 Universidad Almeria. All rights reserved.
*
*/
#include <mex.h>
#... |
#include "ChordFunctions.h"
PizChord::PizChord(Array<int> newChord)
{
chord.addArray(newChord);
makeIntervalPattern();
}
void PizChord::setChord(Array<int> newChord)
{
chord.clear();
chord.addArray(newChord);
makeIntervalPattern();
}
int PizChord::getSum() const
{
int sum = 0;
for (int i=0;i<pa... |
// Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "myriad_layers_tests.hpp"
#include "vpu_case_common.hpp"
#include "precision_utils.h"
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <limits>
#include <memory>
#include <random>
#include <s... |
// Copyright <NAME> @ 2016
#include <iostream>
#include <fstream>
#include <sstream>
#include <cmath>
#include "particle_decay.h"
#include "arsenal.h"
using std::cout;
using std::endl;
particle_decay::particle_decay(std::shared_ptr<RandomUtil::Random> ran_gen,
int weak_flag) {
ran... |
/*++
Copyright (c) 2012 Microsoft Corporation
Module Name:
ext_numeral.cpp
Abstract:
Unit tests for ext_numeral template.
Author:
Leonardo (leonardo) 2012-07-18
Notes:
--*/
#include<sstream>
#include"mpq.h"
#include"ext_numeral.h"
#define MK_TST_UNARY(NAME) ... |
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems.
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 ... |
//===- InstCombineLoadStoreAlloca.cpp -------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
// Copyright (c) 2009 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/autocomplete/autocomplete_popup_view_gtk.h"
#include <gtk/gtk.h>
#include <algorithm>
#include "app/gfx/font.h"
#include "... |
#include "Walk2.hpp"
#define ZOOM_OUT_KEY "zoom_out"
#define GRID_KEY "grid"
#define COLOR_KEY "color"
void Walk2::onReset() {
_jumpTrigger.reset();
_modulationStep = modulationSteps;
}
void Walk2::onSampleRateChange() {
_modulationStep = modulationSteps;
_historySteps = (historySeconds * engineGetSampleRate())... |
#include <chrono>
#include <iostream>
#include "itkArray.h"
#include "itkImageFileReader.h"
#include "itkImageFileWriter.h"
#include "itkMedianImageFilter.h"
#include "itkBinaryThresholdImageFilter.h"
#include "itkConnectedComponentImageFilter.h"
#include "itkRelabelComponentImageFilter.h"
#include "itkSignedMaurerDis... |
#include "main.h"
#include "esp.h"
#include "../Hacks/autowall.h"
#include "../Backtrack.hpp"
void DrawSkeleton(C_BaseEntity* pEntity, Color color){
studiohdr_t* pStudioModel = pModelInfo->GetStudioModel( pEntity->GetModel() );
if ( pStudioModel ) {
static matrix3x4_t pBoneToWorldOu... |
#include "pathalgorithms.h"
#include <math.h>
#include <queue>
#include <list>
#include "../db/node.h"
#include "../db/Relations/waysegment.h"
#include "../db/database.h"
float PathAlgorithms::EarthRadius = 6372.8;
double PathAlgorithms::pi = 3.14159265358979323846;
PathAlgorithms::PathAlgorithms()
{
}
double Pat... |
#include "Networking.hpp"
#include "BotInputError.hpp"
#include <exception>
#include <sstream>
#include <thread>
#include <core/hlt.hpp>
std::mutex coutMutex;
std::string serializeMapSize(const hlt::Map& map) {
std::string returnString = "";
std::ostringstream oss;
oss << map.map_width << ' ' << map.map_... |
/*
_____ ________ ____
/ ___// ____/\ \/ / /
\__ \/ /_ \ / /
___/ / __/ / / /___
/____/_/ /_/_____/ Wallet
<NAME> - 2021
Upload spifs content with the command: pio run --target uploadfs
*/
#include... |
/* ====================================================================
* The Vovida Software License, Version 1.0
*
* Copyright (c) 2000 Vovida Networks, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
#include "clang/AST/RecursiveASTVisitor.h"
#include "clang/AST/ASTContext.h"
#include "clang/Tooling/CommonOptionsParser.h"
#include "clang/Tooling/Tooling.h"
#include "llvm/Support/CommandLine.h"
#include "clang/AST/QualTypeNames.h"
#include <vector>
#include <iostream>
#include <iomanip>
#include <sstream>
#include ... |
/*--------------------------------------------------
Copyright 2018-2019, <NAME>, Emory University
All rights reserved.
----------------------------------------------------*/
#pragma once
#include <extras/Array.hpp> //include extras::extras::Array, be sure to add +extras/include to your include path
#include <math.h>... |
#include "opt.h"
volatile sig_atomic_t tle = false;
void signalHandler( int ) {
tle = true;
}
void sonofroot(treeNode* node, Vertex root){
treeNode* tmp = node;
while (tmp != NULL){
if (tmp->parent != NULL && tmp->parent->parent != NULL && tmp->v == tmp->parent->parent->v) throw 1;
if (t... |
#include <common/net/message/nodes/RefreshCapacityPoolsMsg.h>
#include <common/net/message/nodes/SetTargetConsistencyStatesMsg.h>
#include <common/net/message/nodes/SetTargetConsistencyStatesRespMsg.h>
#include <common/storage/Storagedata.h>
#include <common/threading/RWLockGuard.h>
#include <common/toolkit/StorageTk.h... |
/*
* Copyright (C) 2018 Open Source Robotics Foundation
*
* 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 appl... |
/*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include "base/logging.h"
#include "sandesh/sandesh_types.h"
#include "sandesh/sandesh.h"
#include "oper/nexthop.h"
#include "oper/tunnel_nh.h"
#include "oper/mirror_table.h"
#include "oper/inet4_route.h"
#include "ksync/ksync_index.h"
#include "... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <vector>
#include <unordered_map>
#include <math.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL_image.h>
//#include <SDL2/SDL_ttf.h>
//#include "Texture.h"
#include "Draw.h"
#include "Draw2D.h"
#include "fastmath.h"
#includ... |
////////////////////////////////////////////////////////////////////////////
// Created : 29.04.2009
// Author : <NAME>
// Copyright (C) GSC Game World - 2009
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "body_node.h"
#include "RenderRoutines.h"
#inc... |
/**************************************************************
lzhuf.c
written by <NAME> 11/20/1988
some minor changes 4/6/1989
comments translated by <NAME> 4/7/1989
**************************************************************/
/*
LZHUF.C (c)1989 by <NAME>, <NAME>, and <NAME>.
All rights reserved. Permission g... |
#include <iostream>
#include "graphics/graphics.hpp"
#include "input/input.hpp"
#include "timer/timer.hpp"
#include <GL/glew.h>
#include <GL/glu.h>
#include <SFML/OpenGL.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <glm/ext/matrix_transform.hpp>
#include <glm/gtx/norm.hpp> // distance... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 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/views/about_chrome_view.h"
#include <commdlg.h>
#include "base/file_version_info.h"
#include "base/string_util.h"
#inc... |
/*******************************************************************************
* Copyright 2018 IBM Corp. 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
*
* ht... |
/*
* reorg_strategy.cpp
*
* Created on: 03.08.2015
* Author: mika
*/
#include "cache/index/reorg_strategy.h"
#include "cache/index/indexserver.h"
#include "cache/priv/caching_strategy.h"
#include "util/exceptions.h"
#include "util/concat.h"
#include <ctime>
#include <algorithm>
#include <deque>
NodeReorgDe... |
#include "HeavyFlavorAnalysis/SpecificDecay/test/stubs/TestBPHSpecificDecay.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h"
#include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoSelect.h"
#include "HeavyFlavorAnalysis/RecoDecay/interface/BP... |
// Logi_SetTargetZone_Sample_CPP.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
//#include "LogitechLEDLib.h"
#include <iostream>
#include <fstream>
#include <conio.h>
//#include <unordered_map>
#include <queue>
#include <tuple>
#include <algorithm>
#include <vector>
#include <cstdl... |
/*
* This file contains code to display and interact with a 3d scene. Some parts
* of the file are adapted from code originally found in OpenMesh, which is
* under the LGPL license. Thus, this file is covered by the LGPL.
*
* Additionally, the changes from the original code can be used under the less
* restrictiv... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include "stdafx.h"
#include "Music.h"
#include "MLUtils.h"
/*
PLAYLIST
PLAYLIST_DATA
TCHAR filename;
WCHAR wfilename;
tPlayListData pdata
PLAYLIST_DATA_COUNT
*/
ptPlayList playlists = NULL;
int pcount = 0;
const TCHAR *genres[MAX_GENRES_COUNT] = {
/*DEFAULT GENRES*/
"Blues", "Classic Rock", "Coun... |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <ctime>
#include <AMReX_ParallelDescriptor.H>
#include <AMReX_MLABecLaplacian.H>
#include <AMReX_MLNodeLaplacian.H>
#include <AMReX_ParmParse.H>
#include <AMReX_MultiFabUtil.H>
#include <AMReX_PlotFileUtil.H>
#include <AMReX_VisMF.H>
#inc... |
namespace RTLIL
{
namespace ID
{
IdString partial;
}
} // namespace RTLIL
static AST::AstNode *mkconst_real(double d)
{
AST::AstNode *node = new AST::AstNode(AST::AST_REALVALUE);
node->realvalue = d;
return node;
}
namespace VERILOG_FRONTEND
{
using namespace AST;
// divide an arbitrary length decimal numb... |
#include <chrono>
#include <cstdlib>
#include <functional>
#include <iostream>
#include <memory>
#include <mutex>
#include <random>
#include <string>
#include <thread>
#include <utility>
#include "EasyBMP/EasyBMP.h"
#include "rtMath.h"
#include "rtRayTracer.h"
#include "rtRenderBuffer.h"
#include "rtV... |
//
// TexturedObjectScrollView.cpp
// BaseApp
//
// Created by <NAME> on 18/04/15.
//
//
#include "TexturedObjectScrollView.h"
#include "ofxTimeMeasurements.h"
// UTILS ////////////////////////////////////////////
void scaleRectToHeight(ofRectangle & r, int newH);
ofRectangle mixRectangles(const ofRectangle & r1... |
#define LUMIX_NO_CUSTOM_CRT
#include "../js_script_manager.h"
#include "../js_script_system.h"
#include "editor/asset_browser.h"
#include "editor/asset_compiler.h"
#include "editor/property_grid.h"
#include "editor/studio_app.h"
#include "editor/utils.h"
#include "editor/world_editor.h"
#include "engine/alloca... |
#include "Organizer.h"
Organizer::Organizer() {
df::WorldManager &world_manager = df::WorldManager::getInstance();
df::ResourceManager &resource_manager = df::ResourceManager::getInstance();
setType("Organizer");
setSolidness(df::SPECTRAL);
setAltitude(0);
registerInterest(df::JOYSTICK_EVENT);... |
#include "InfoView.h"
#include "InfoWindow.h"
#include "../../common/IMKitUtilities.h"
#include <TranslationUtils.h>
#include <StringView.h>
#include <Window.h>
#include <Messenger.h>
#include <stdio.h>
#include <PropertyInfo.h>
#include <Font.h>
#include <Region.h>
#include <Picture.h>
//#pragma mark Constants
prop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.