text stringlengths 8.71k 38.4k |
|---|
/*
$Id: qmultiply.cc,v 1.23 2014/06/20 23:03:52 mp Exp $
AutoDock
Copyright (C) 2009 The Scripps Research Institute. All rights reserved.
AutoDock is a Trade Mark of The Scripps Research Institute.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Publ... |
// (C) 2018 ETH Zurich, ITP, <NAME> and <NAME>
template <class V, class M>
inline void kernel_core(V& psi, std::size_t I, std::size_t d0, std::size_t d1, std::size_t d2, std::size_t d3, std::size_t d4, std::size_t d5, M const& m)
{
__m256d v[4];
v[0] = load1(&psi[I]);
v[1] = load1(&psi[I + d0]);
v[2] = load1(&psi... |
// Copyright (C) 2016-2018 <NAME>.
// Copyright (C) 2018 <NAME>.
// License specified in LICENSE file.
#include "parameters.hpp"
#include "Parameter.hpp"
#include <exception>
#include <iostream>
#include <sstream>
#include <tuple>
class SuperParameter {
public:
SuperParameter(const std::string &, const bool, cons... |
// Game generation RPC client in C++.
#include <iostream>
#include <fstream>
#include <unordered_map>
#include <vector>
#include <list>
#include <queue>
#include <chrono>
#include <random>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <atomic>
#include <cmath>
#include <cassert>
#include <... |
#include "render_ui.h"
#include <iostream>
#include <gtkmm.h>
extern int shift_down();
extern int shift_up();
using namespace std;
CameraConfig camera_config = {2, 640, 640, 480, 30};
void set_widget_margin(Gtk::Widget& widget, int margin)
{
widget.set_margin_left(margin);
widget.set_margin_right(margin)... |
// -*- C++ -*-
// Implementation of a userspace driver for the keys on a "MS Natural(C)
// Ergonomic Keyboard 4000" not supported by Linux at present.
//
// Copyright (C) 2010-2011 by <NAME>
// This program is free software; you can redistribute it and/or modify
// it under the terms of the Artistic License, included a... |
int
//4S
G33n,T6a , SDGPS ,/*6y*/ TQX
,U7,CTdB,
oj4 ,wm8j ,gyn,Ot ,
YaiDZt
,i
,
L5kd ,
juso , jNgH ,zL7Z
,lOq, mg3G ,jnEm, cK,U3Y3,
MX,
YM3/**/
, //PgB
ol ,
wL ,BH
,frws ,w1t ,
fy4tK, EccoS
,r6, kusqz
, L ,iPk
,Tsp, Kx,
//KZ
Uj , o
,bA , wd ; void f_f0/*aC*/(){
{
volatile int fZ
, v... |
/*
CSCI 420 Computer Graphics, USC
Assignment 1: Height Fields
C++ starter code
Student username: cammaran
*/
#include <iostream>
#include <cstring>
#include <string>
#include <sstream>
#include <vector>
#include "openGLHeader.h"
#include "glutHeader.h"
#include "imageIO.h"
#include "openGLMatrix.h"
#include "ba... |
#include <iostream>
#include <vector>
#include <assert.h>
// must include windows.h before GL on win32
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
// GL and related includes
#include <GL/gl.h>
#ifdef WIN32
#include <GL/glaux.h>
#endif
#include <GL/glu.h>
#include <GL/glut.h>... |
#include "core_headers.h"
const double SOLVENT_DENSITY = 0.94; // 0.94 +/- 0.02 <NAME>, Hochanadel CJ. 1971
const double CARBON_DENSITY = 1.75; // 2.0; // NIST and Holography paper TODO add cite (using the lower density to match the Holography paper)
const double MW_WATER = 18.01528;
const double MW_CARBON ... |
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <time.h>
#include <stdlib.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/string_cast.hpp>
// OpenGL library includes
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "debuggl... |
// Distributed under the MIT License.
// See LICENSE.txt for details.
/// \file
/// Defines ET for adding and subtracting tensors
#pragma once
#include <array>
#include <cstddef>
#include <iterator>
#include <limits>
#include <type_traits>
#include <utility>
#include "DataStructures/DataVector.hpp"
#include "DataSt... |
#include "model_item_delegate.h"
#include <QDebug>
ModelItemDelegate::ModelItemDelegate(QObject* parent)
: QStyledItemDelegate(parent) {
hoverColor = QColor(Qt::white);
hoverColor.setAlpha(80);
}
QSize ModelItemDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const {
Q... |
#include "World.h"
//Default Constructor sets default parameters
World::World(){
NUM_GEN = 1;
N = 2;
UD.push_back(1);
SD.push_back(1);
UB.push_back(1);
SB.push_back(1);
NUM_DEL_TYPES = 1;
NUM_BEN_TYPES = 1;
//default no fluctuation
N_F = 1;
N_DELTA_A = 1;
N_DELTA_B = 1;
N_PROB_A = 1;
//default n... |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... |
// 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/test/chromedriver/chrome/devtools_client_impl.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/json/js... |
/**
* Project: Open Vehicle Monitor System
* Module: Renault Twizy power monitor
*
* (c) 2017 <NAME> <<EMAIL>>
*
* 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 ... |
#include "include/GroupElement.h"
#include "include/secp256k1.h"
#include "../field.h"
#include "../field_impl.h"
#include "../group.h"
#include "../group_impl.h"
#include "../hash.h"
#include "../hash_impl.h"
#include "../scalar.h"
#include "../scalar_impl.h"
#include "../ecmult.h"
#include "../ecmult_impl.h"
#inclu... |
// -*- c++ -*-
// This file is part of the Collective Variables module (Colvars).
// The original version of Colvars and its updates are located at:
// https://github.com/Colvars/colvars
// Please update all Colvars source files before making any changes.
// If you wish to distribute your changes, please submit them t... |
// Gmsh - Copyright (C) 1997-2019 <NAME>, <NAME>
//
// See the LICENSE.txt file for license information. Please report all
// issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
#include <map>
#include "meshGFace.h"
#include "GVertex.h"
#include "GEdge.h"
#include "GFace.h"
#include "MVertex.h"
#include "MTriangle.... |
/*
RXSTREAM.C
*/
#include "precomp.h"
extern UINT g_MinWaveAudioDelayMs; // minimum millisecs of introduced playback delay
extern UINT g_MaxAudioDelayMs; // maximum milliesecs of introduced playback delay
RxStream::RxStream(UINT size)
{
UINT i;
for (i =0; i < size; i++) {
m_Ring[i] = NULL;
}
//... |
// written by g.j.hawkesford 2006 for Camtek Gmbh
//
// This program is released under the BSD license. See the file COPYING for details.
//
#include "geometry.h"
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// finite int... |
#include "global.h"
#include <cerrno>
#include <cstring>
#include "NotesWriterSSC.h"
#include "BackgroundUtil.h"
#include "GameManager.h"
#include "LocalizedString.h"
#include "NoteTypes.h"
#include "Profile.h"
#include "ProfileManager.h"
#include "RageFile.h"
#include "RageFileManager.h"
#include "RageFmtWrap.h"
#incl... |
#define _CRT_SECURE_NO_WARNINGS
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <sstream>
#include "type.h"
#include "IR.h"
#include "IRPrinter.h"
#include "IRMutator.h"
#include "IRVisitor.h"
#include "JsonParser.h"
using std::string;
using std::vector;
using std::map;
using std::make... |
int XnY,f2,hT,Jk ,UjCD5,lfDa
,RS ,
z6
,icFG, //ueB
fCT //9L
,J , xRCt, YG
,C//O6e
,LI9o
,
//S
//C3nk
r,GL
, Ut ,ejE
, FA9, Kh2, VMCM/*p*/
, Wnf,Xdpp
//yV8
, /*f*/aOjQoQ //
, qm
, gKM ,X9 ,YzrE,
AZ ,lsO4
,
dy ,aD ,AS,kV , er , qI
, wLxB , q5J7,
Fxw , QjgM4M, ODVH
//pfe
,
jx ; void
f_f0(){volatil... |
#include "icebus_host/IcebusHost.hpp"
IcebusHost::IcebusHost(string device, string motor_config_file_path){
serial_port = open(device.c_str(), O_RDWR);
// Check for errors
if (serial_port < 0) {
ROS_FATAL("Error %i from opening %s: %s\n", errno, device.c_str(), strerror(errno));
}
// Create new termi... |
/**********************************************************************
*<
FILE: ImportSkeleton.cpp
DESCRIPTION: Skeleton import routines
CREATED BY: tazpn (Theo)
HISTORY:
*> Copyright (c) 2006, All Rights Reserved.
**********************************************************************/
#include "stdafx.h"
#includ... |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include "../headers/FileParser.h"
#include "../headers/Shader.h"
#include <glm/glm/glm.hpp>
#include <glm/glm/gtc/matrix_transform.hpp>
#include <glm/glm/gtc/type_ptr.inl>
#include "../headers/Heatmap.h"
#include "../headers/GridPlane.h"
#include "../h... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with San... |
/**
* Copyright (C) 2021 Lachesis <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DI... |
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License\n");
* 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 la... |
/******************************************************************************
*
* Copyright (C) 2009-2014 Broadcom 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:
*
... |
//last change: by <NAME>. 2013-01-02
//last change: by <NAME>, add auto-thres similar to previous APP1 code
#include "vn_app1.h"
#include "vn_imgpreprocess.h"
#include "basic_surf_objs.h"
#include "marker_radius.h"
#include <list>
#include <string>
#include <iostream>
#include "v3dneuron_gd_tracing.h"
#include "... |
/**************************************************
* PROJECT : Ansc and Fisz
* CEA
* Filename : AtrousPoisDenoise.cc
* This is the main file of PoisMSVST
**************************************************/
#include <string>
#include <iostream>
#include <iomanip>
#include <time.h>
#include "cdflib.h"
#include "G... |
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <string>
#include <random>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_linalg.h>
#include "../include/file_check.h"
#include "../include/pkmcmc.h"
std::random_device seede... |
#include "MultipleTextures_Tutorial.h"
#include "Gizmos.h"
#include "Utilities.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/ext.hpp>
#include <stb_image.h>
#define DEFAULT_SCREENWIDTH 1280
#define DEFAULT_SCREENHEIGHT 720
MultipleTextures_Tutorial::MultipleTextures_Tutorial()
{
}
MultipleTextures_T... |
/******************************************************************************
** libDXFrw - Library to read/write DXF files (ascii & binary) **
** **
** Copyright (C) 2011-2015 <NAME>, <EMAIL> **
** ... |
/*************************************************************************/
/* resource_importer_texture.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "DataFormats/Common/interface/ValueMap.h"
#... |
/*! \file addrspace.cc
// \brief Routines to manage address spaces (executing user programs).
//
// In order to run a user program, you must:
// 1. Generate an ELF (Executable and Linkable Format) binary
// using a MIPS cross-compiler (see how to do this in
// test/Makefile)
// 2... |
#include "md5.h"
#include "stdio.h"
/*
* 32-bit integer manipulation macros (little endian)
*/
#ifndef GET_UINT32_LE
#define GET_UINT32_LE(n,b,i) \
{ \
(n) = ((uint32_t)(b)[(i)]) \
| ((uint32_t)(b)[(i)+1] << 8) \... |
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis 'TREMOR' CODEC SOURCE CODE. *
* *
* USE, DISTRIBUTION AND REPRODUCTIO... |
// Copyright 2020 <NAME>
// Licensed under the Apache License, Version 2.0( the "License" );
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
//----------------------------------*-C++-*----------------------------------//
/*!
* \file SPn/spn/Moment_Coefficients.cc
* \author <NAME>
* \date Mon Feb 10 13:07:08 2014
* \brief Moment_Coefficients member definitions.
* \note Copyright (C) 2014 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//----... |
/**
* Copyright (c) 2015, <NAME>, Quintelligence d.o.o. and contributors
* All rights reserved.
*
* This source code is licensed under the FreeBSD license found in the
* LICENSE file in the root directory of this source tree.
*/
/////////////////////////////////////////////////
// Url-Lexical-Chars
cla... |
/*===========================================================================
(c) Copyright 1999, <NAME>, all rights reserved
===========================================================================
File : SimpleProcessAPI.h
$Header: /fs/a/cvs/GameCQ/SmartUpdate/SimpleProce... |
//===- CXXInheritance.cpp - C++ Inheritance -------------------------------===//
//
// 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
//
//===---------------------------... |
/*
* 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 may ... |
/*
* Copyright (c) 2019 <NAME>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdio.h>
#include "delfem2/cad2_dtri2.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#ifdef EMSCRIPTEN
#include <emscripten/emscripten.h>... |
/* Copyright (c) 2021, NVIDIA CORPORATION. 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 condi... |
//
// Created by <NAME> on 2019-02-19
// Modified by <NAME> on 2019-12-29
// Modified by <NAME> on 2021-03-09
//
#include "../include/DistributedPairwiseRunner.hpp"
#include "../kernels/count_alignment.cuh"
#include "../kernels/allocate_stringset.cuh"
#include <atomic> // std::atomic, std::atomic_flag, ATOMIC_FLAG_INI... |
/*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 co... |
#include "pch.h"
#include <iostream>
#include <Windows.h>
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include "console.h"
// gán mặt đất bằng kí tự đặc biệt
void Initialize(char ground[3][121]) {
srand(time_t(NULL));
int t;
for (int i = 0; i <= 120; i++)
{
t = random(15);
grou... |
#include "RStaticMeshEditUtils.h"
// necessary for Collision creation
#include "Private/ConvexDecompTool.h"
// necessary for Collision creation KDOP
#include "Runtime/Engine/Classes/PhysicsEngine/BodySetup.h"
#include "EngineAnalytics.h"
#include "RenderingThread.h"
#include "Runtime/Analytics/Analytics/Public/Inter... |
/*
* Copyright (c) 2019, Los Alamos National Laboratory
* All rights reserved.
*
* Author: <NAME>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copy... |
/******************************************************************************
*
* Copyright (C) 2010-2014 Broadcom 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 a... |
/*
Copyright (c) 2017-2019, Intel Corporation
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 following disc... |
//
// ofxFBXScene.h
// ofxFBX-Example-Importer
//
// Created by <NAME> on 10/31/13.
//
//
#include "ofxFBXScene.h"
#include "Common/Common.h"
//--------------------------------------------------------------
ofxFBXScene::ofxFBXScene() {
lSdkManager = NULL;
lScene = NULL;
currentFbxAnimationLayer = ... |
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string.h>
#include <time.h>
#include <fstream>
#include <sstream>
#include <string>
#include <sstream>
#include <iomanip>
using namespace std;
#include "DsgParser.h"
#define SI_NIT_TABLE_ID 0xc2
#define SI_NTT_TABLE_ID 0xc3
#define SI_SVCT_TABLE_... |
// C++.
#include <cassert>
#include <sstream>
#include <set>
#include <algorithm>
// Qt.
#include <QDialog>
#include <QKeyEvent>
#include <QPushButton>
#include <QSortFilterProxyModel>
#include <QStandardItemModel>
#include <QVariant>
// Infra.
#include <QtCommon/Util/QtUtil.h>
// Local.
#include <RadeonGPUAnalyzerG... |
//**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... |
#include <cpp11.hpp>
#include <sstream>
#include <memory>
#include <clocale>
#include <cstdlib>
#include <vector>
#include "shapefil.h"
// unclear where inconv_t is defined, but an invalid
// conversion is defined as (iconv_t) -1
#include <R_ext/Riconv.h>
typedef void* iconv_t;
using namespace cpp11;
namespace writab... |
#include "parsers.h"
#include <pscom.h>
#include <QCommandLineOption>
#include <QCommandLineParser>
#include <QTextStream>
#include <QTranslator>
#include "commands.h"
#include "pscom_adapter.h"
#include "ui.h"
void Parser::configureCliParser(QCommandLineParser& parser) {
for (auto option: listOptions()) {
... |
#include "Animation_Data.h"
#include "Cursors.h"
#include "Font_Control.h"
#include "HImage.h"
#include "Isometric_Utils.h"
#include "TileDef.h"
#include "VObject.h"
#include "SysUtil.h"
#include "RenderWorld.h"
#include "Interface.h"
#include "Sound_Control.h"
#include "WorldDef.h"
#include "Interactive_Tiles.h"
#incl... |
#include <iostream>
#include <fstream>
#include <sstream>
#include <utility>
#include <string>
#include <gflags/gflags.h>
#include "bench.h"
#include "../dbcore/rcu.h"
#include "../dbcore/sm-log-recover-impl.h"
#include "../dbcore/sm-rep.h"
#if defined(SSI) && defined(SSN)
#error "SSI + SSN?"
#endif
// Options that... |
int N
,QG,
lh ,
C,IgZ
,
Q5571 ,zDJ ,w2L, MeG,xGD,P ,
MBOS ,aP8N
,yMWE , Lo ,
zga, FYw ,Zv
,A2
//Cyf
, del/*B0yx*/ ,Hbd1c,y6FI,
e19
,vtQ
,
O1Mw4h , c,Nj,zV ,ZBUt, fNS ,ck ,Rve,
eR ,
z5zl, /*hLT*/ll, yp,
hcA; void f_f0 (){int o7Wm
;
volatile int m,f ,gaB
, Yd
,Br,fs6 ;for
(int i=1;
i<
1 ;++i) o7Wm
... |
//
// See the file LICENSE for redistribution information.
//
// Copyright (c) 2002,2009 Oracle. All rights reserved.
//
//
#include "DbXmlInternal.hpp"
#include "dbxml/XmlException.hpp"
#include "dbxml/XmlNamespace.hpp"
#include "Container.hpp"
#include "Indexer.hpp"
#include "Log.hpp"
#include "SyntaxManager.hpp"
#... |
#include "koopatlas/map.h"
#include "koopatlas/camera.h"
//#define TILE_DEBUGGING
//#define BOUND_DEBUGGING
//#define DOODAD_DEBUGGING
#ifdef TILE_DEBUGGING
#define TileReport OSReport
#else
#define TileReport(...)
#endif
#ifdef BOUND_DEBUGGING
#define BoundReport OSReport
#else
#define BoundReport(...)
#endif
#ifd... |
/*
Copyright (c) 2012-2017, <NAME>) Yudelson
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 ... |
#include <iostream>
#include <string>
#include <fstream>
#include <cmath>
#include <cstdio>
#include <gsl/gsl_spline.h>
#include <gsl/gsl_integration.h>
#include <gsl/gsl_monte.h>
#include <gsl/gsl_monte_vegas.h>
#include "io.hpp"
#include "cosmology.hpp"
#include "kernel.hpp"
#include "vector.hpp"
#include "spectra.hp... |
#include "ix/ix.h"
/*
TODO:
- focus handling funcs - when a window is destroyed, focus must not point to it anymore for example
- usage class change: usage should be a pointer to the class, and allocated, once.
before calling baseclass constructor, allocate it maybe. baseclass checks for nul... |
#include <ICPModule.h>
double SimultaneousICPModule::InitialPointComputation(Eigen::Vector3d handPosition) {
struct InitialParamFunc {
public:
InitialParamFunc(double* params_,JointTypes jt_, Eigen::Vector3d src_, Eigen::Vector3d dst_) {
params=params_;
jt = jt_;
src = src_;
dst = dst_;
}
... |
/*
* RtspParser.cpp
*
* Created on: Dec 22, 2014
* Author: rayan
*/
#include <unistd.h>
#include <map>
#include "common.h"
#include "DataSink.h"
#include "RtspParser.h"
#include "strmRTSPClient.h"
using namespace std;
class strmRTSPClient;
struct RtspData{
strmRTSPClient* rtspClient;
DataSink* sin... |
/*------------------------------------------------------------------------------
CGMF-1.1
Copyright TRIAD/LANL/DOE - see file LICENSE
For any questions about CGMF, please contact us at <EMAIL>
-------------------------------------------------------------------------------*/
/*! @file cgmfEvents.cpp
\brief CGM... |
// Copyright 2020 <NAME>
// This file is part of CIDE, licensed under the new BSD license.
// See the COPYING file in the project root for the license text.
#include "cide/code_info_code_completion.h"
#include "cide/clang_parser.h"
#include "cide/clang_utils.h"
#include "cide/cpp_utils.h"
#include "cide/main_window.h... |
/*
* Copyright (C) 2017 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... |
/****************************************************************************/
/// @file GUIIconSubSys.cpp
/// @author <NAME>
/// @author <NAME>
/// @author <NAME>
/// @date Mon, 08.03.2004
/// @version $Id$
///
// Helper for icons loading and usage
/************************************************************... |
#ifndef FBXSDK_NEW_API
#define FBXSDK_NEW_API
#endif
#include <fbxsdk.h>
#include <string>
#include <io.h>
#include "external\studio.h"
#include "basicmath.h"
#include "MDLParser.h"
#include "MDLFile.h"
#include "MDLExporter.h"
#include "Animation.h"
#include "Utility.h"
#include "Logging.h"
#define FPS30 0.0333333... |
#include <cstddef>
#include <cstring>
#include <SDL.h>
#include "driver.h"
#include "driver_sdl2.h"
#include "filesystem_posix.h"
#include "user_interface_slim.h"
#include "user_interface_super_zzt.h"
#include "gamevars.h"
#define PIT_SPEED_MS 55
static const uint32_t ega_palette[16] = {
0x000000,
0x0000AA,
... |
/*
Copyright (c) 2015, Intel Corporation
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 following disclaime... |
//
// Copyright (C) 2014-2015 LunarG, 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... |
#include <MeshFEM/Geometry.hh>
#include <MeshFEM/TetMesh.hh>
#include <MeshFEM/TriMesh.hh>
#include <MeshFEM/MeshIO.hh>
#include <MeshFEM/util.h>
#include <MeshFEM/MSHFieldWriter.hh>
#include <MeshFEM/MSHFieldParser.hh>
#include <MeshFEM/JSFieldWriter.hh>
#include <MeshFEM/filters/subdivide.hh>
#include <MeshFEM/filter... |
//===- AffineMap.cpp - MLIR Affine Map Classes ----------------------------===//
//
// 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
//
//===---------------------------... |
#include "StaggeredGrid.h"
#include <cassert>
#include "NeighborDirection.h"
// To disable assert*() calls, uncomment this line:
// #define NDEBUG
namespace {
// This represents a triplet of indices as a column vector of nonnegative
// integers:
// [ i ]
// [ j ]
// [ k ]
typedef Eigen::Matrix<std::size_t, 3, 1> G... |
#define PAD_Z
/*
This is an example of how to use optical flow image registration
and the image resampling operator for image reconstruction.
This example uses golden ratio Sense MRI for demonstration.
It was tested with a free-breathing cardiac acquisition.
!!! Note !!!
------------
No cardiac ph... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestLandmarkTransform.cxx
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distribute... |
//updated by <NAME>
//FastSimulation headers
#include "FastSimulation/Calorimetry/interface/HCALResponse.h"
#include "FastSimulation/Utilities/interface/RandomEngineAndDistribution.h"
#include "FastSimulation/Utilities/interface/DoubleCrystalBallGenerator.h"
// CMSSW Headers
#include "FWCore/ParameterSet/interface/Par... |
#include "MainWindow.hpp"
#include "ui_MainWindow.h"
#include <QFileDialog>
#include <QFile>
#include <QMessageBox>
#include <QDate>
#include <QTime>
#include <QDateTime>
#include <iostream>
#include <QRegularExpression>
#include <QColor>
#include <QFileInfo>
#include <QDir>
#include <QDirIterator>
MainWindow::MainWin... |
// Copyright (c) 2013 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 "tools/gn/ninja_build_writer.h"
#include <stddef.h>
#include <fstream>
#include <map>
#include <sstream>
#include <unordered_set>
#include... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
#include "Game.h"
#include "Vertex.h"
#include "Input.h"
#include "GameEntity.h"
#include "WICTextureLoader.h"
#include <math.h>
#include <iostream>
#include <string>
// Needed for a helper function to read compiled shader files from the hard drive
#pragma comment(lib, "d3dcompiler.lib")
#include <d3dcompiler.h>
/... |
/*
Semestre 2020-2
Pr�ctica 7 Iluminaci�n 1
*/
//para cargar imagen
#define STB_IMAGE_IMPLEMENTATION
#include <stdio.h>
#include <string.h>
#include <cmath>
#include <vector>
#include <glew.h>
#include <glfw3.h>
#include <glm.hpp>
#include <gtc/matrix_transform.hpp>
#include <gtc/type_ptr.hpp>
#i... |
/*
* Copyright 2006 The Android Open Source Project
*
* JDWP spy. This is a rearranged version of the JDWP code from the VM.
*/
#include "Common.h"
#include "jdwp/JdwpConstants.h"
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include... |
/* b64enc.c - Simple Base64 encoder.
* Copyright (C) 2001, 2003, 2004, 2008, 2010,
* 2011 Free Software Foundation, Inc.
* Copyright (C) 2001, 2003, 2004, 2008, 2010,
* 2011 g10 Code GmbH
*
* This file is part of GnuPG.
*
* This file is free software; you can redistribute it and/or m... |
/*
Copyright (c) 2012, <NAME>, <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:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the fo... |
//
// Copyright (c) 2008-2014 the Urho3D project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, m... |
/* from http://www.libpng.org/pub/png/apps/pngquant.html */
#include "Etterna/Globals/global.h"
#include "RageSurface.h"
#include "RageSurfaceUtils.h"
#include "RageSurfaceUtils_Palettize.h"
#include "RageUtil/Utils/RageUtil.h"
typedef uint8_t pixval;
typedef uint8_t apixel[4];
#define PAM_GETR(p) ((p)[0])
#define P... |
#include <pass.h>
#include "llvm/IR/Module.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/CFG.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Analysis/AssumptionCache.h"
#include "llvm/IR/Dominators.h"
#include "llvm/Transforms/Utils/CodeExtractor.h"
#include "llvm/Analysis/LoopPass.h"
#inc... |
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
//value = [tlsSettings objectForKey:(NSString *)kCFStreamSSLAllowsExpiredCertificates];//过期属性
#include <GLFW/glfw3.h>
#include <glad/glad.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type... |
/* Copyright (c) 2012, NVIDIA CORPORATION. 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 condi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.