text stringlengths 5.71k 33.7k |
|---|
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2019 Intel Corporation. All Rights Reserved.
#include <any_librealsense2/rs.hpp>
#include <any_librealsense2/rsutil.h>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <chrono>
#include <future>
#include <math.h>
#include "ap... |
// PWControls.cpp: implementation of the CPWControls class.
//
//////////////////////////////////////////////////////////////////////
//#include "stdafx.h"
//#include "ZKR_BioPresentation.h"
#include "PWControls.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destr... |
// copyright 2016 <NAME> (<EMAIL>)
// MIT license
#include <iostream>
#include <cstring>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <signal.h>
#include <time.h>
#include <bits/siginfo.h>
#include "hydro/hydro.h"
#include "sniffle.h"
#include "cpuinfo.h"
#define ENABLE_PAGINATED_OUTPUT
//... |
#include "SSLserver.hpp"
#include "common.h"
#include "json11.hpp"
#include <algorithm>
#include <chrono>
//for file search.
#include <bits/stdc++.h>
#include <sys/stat.h>
#include <dirent.h>
//#define TIME_MEASURING
const int PORT = 54345;
const int BUFSIZE = 16384;
char ENDMARK[] = "*** END OF MESSAGE ***";
char ... |
// license:BSD-3-Clause
// copyright-holders:<NAME>, <NAME>
#include "emu.h"
#include "includes/boogwing.h"
void boogwing_state::video_start()
{
m_priority = 0;
m_sprgen[0]->alloc_sprite_bitmap();
m_sprgen[1]->alloc_sprite_bitmap();
m_screen->register_screen_bitmap(m_temp_bitmap);
m_screen->register_screen_bitma... |
/*************************************************************************
* Copyright (c) 2016-2020, NVIDIA CORPORATION. All rights reserved.
* Modifications Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
**************************************... |
// Copyright (c) 2016 <NAME>. See License.txt regarding use.
#include <oBase/unit_test.h>
#include <oGUI/menu.h>
#include <oGUI/msgbox.h>
#include <oCore/color.h>
#include <oCore/timer.h>
#include <oGUI/window.h>
#include <oGUI/Windows/win_common_dialog.h>
#include <oGUI/Windows/win_gdi_draw.h>
#include <oGUI/Windows... |
//===- CIndexCodeCompletion.cpp - Code Completion API hooks ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
// Copyright (c) 2007-2010 Projet RNRT SAPHIR
// Copyright (c) 2019 PM-Tech
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <crypto/blake512.h>
#include <stddef.h>
#include <string.h>
#include <limits.h>
static const... |
// Copyright 2016 The Fuchsia 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 <lib/zx/interrupt.h>
#include <lib/zx/resource.h>
#include <lib/zx/vmo.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <zir... |
/**************************** error.cpp **********************************
* Author: <NAME>
* Date created: 2006-07-15
* Last modified: 2009-12-20
* Project: objconv
* Module: error.cpp
* Description:
* Standard procedure for error reporting to stderr
*
* Copyright 2006-2009 GNU Genera... |
/*
* HTML stream parser
* Copyright (C) 2012 <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 ... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, <NAME>, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... |
#include "solid/frame/manager.hpp"
#include "solid/frame/reactor.hpp"
#include "solid/frame/scheduler.hpp"
#include "solid/frame/aio/aioactor.hpp"
#include "solid/frame/aio/aiolistener.hpp"
#include "solid/frame/aio/aioreactor.hpp"
#include "solid/frame/aio/aioreactorcontext.hpp"
#include "solid/frame/aio/aiosocket.hp... |
/**
* @file llfloaterwebcontent.cpp
* @brief floater for displaying web content - e.g. profiles and search (eventually)
*
* $LicenseInfo:firstyear=2006&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/... |
// euclid2.cxx - sequences as vectors, and Euclidean 3-vector specialization
// (written without <valarray>, as an exercise)
#include <algorithm>
#include <array>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <cstdlib>
#include <exception>
#include <functional>
#include <initializer_lis... |
#include <iostream>
#include <fstream>
#include <random>
#include "opencv2/opencv.hpp"
#include "posemapper.h"
#include "lbs.h"
using namespace cv;
struct smpl_model
{
Mat model;
// Mat J_regressor_prior;
Mat pose;
Mat hands_components;
Mat f;
Mat J_regressor;
Mat betas;
Mat kintree_tab... |
/*
* Copyright 2019-2020, Offchain Labs, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
// Copyright 2018 The UFO Team
//
// 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 ... |
//----------------------------------------------------------------------------
//
// Copyright (c) 2013-2017, <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... |
/**
* @file MultiViewer.cpp
* @brief gui multiple viewer class
* @author <NAME><<EMAIL>>
* @version 1.0
* @date 2015-07-15
*/
#define _USE_MATH_DEFINES
#define INFO
#define TIMER
#include <GL/glew.h>
#include <cuda_gl_interop.h>
#include <cuda_runtime_api.h>
#include <iostream>
#include <string>
#include <vector>
#inc... |
/*
* Tencent is pleased to support the open source community by making wechat-matrix available.
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the BSD 3-Clause License (the "License");
* you may not use this file except in compliance with the License.
* You may obtai... |
#include <iostream>
#include <vector>
#include <random>
#include <array>
#include <queue>
#include <iomanip>
using namespace std;
/* Week 4 Assignment: Implement HexGame
* Created at: 06-02-2021
* Last modification: 28-03-2021
* Made by: <NAME>
* C++ compiler standard: 14 (g++)
*/
/* Graph class is a matr... |
#include "os/keyboard.hpp"
#include "os/macros.h"
#if !IS_OS_MACOS
#error "This code is for macOS only!"
#endif
#include <algorithm>
#include <string>
#include <unordered_map>
#include <Carbon/Carbon.h>
#include <IOKit/hid/IOHIDDevice.h>
#include <IOKit/hid/IOHIDManager.h>
namespace os::detail
{
CGEventFlags e... |
#include "../../include/IntrinsicFormula/IntrinsicKeyFrameInterpolationFromHalfEdge.h"
#include "../../include/json.hpp"
#include <iostream>
#include <fstream>
#include <igl/readOBJ.h>
#include <igl/writeOBJ.h>
#include <igl/doublearea.h>
using namespace IntrinsicFormula;
void IntrinsicKeyFrameInterpolationFromHalfE... |
#include "wavread.h"
#include <Windows.h>
WavRead::WavRead(FILE* infile)
{
if(!infile) throw 1;
this->infile = infile;
//Wav header feltoltese
//fread(&this->header, sizeof(this->header), 1, this->infile);
for(int i=0; i<sizeof(this->header); ++i) ((char*)&this->header)[i] = 0;
// s... |
#include "attitudescene.h"
#include <QGraphicsPathItem>
#include <math.h>
AttitudeScene::AttitudeScene() :
Gauge(),
size(),
transform(),
roll(0),
pitch(0),
yaw(0),
pitchRange(60.0),
height(0),
width(0),
pixelsPerDegree(0),
pitchMajorTickMarkLength(0.2),
pitchMinorTickMar... |
#include "SomaExtraction.h"
#include "ftkUtils.h"
#include <itkNeighborhood.h>
#ifdef _OPENMP
#include "omp.h"
#endif
void MakeDices(const char * montagefileName, const char * seedfileName, int diceWidth,
double alfa, double beta, int timethreshold, double curvatureScaling, double rmsThres, int holeSize, int min... |
#include "sst_parameterization.h"
#include "../DataColle/data_io.h"
#include "../GeneralTools/sorting_2d_pts.h"
CSSTparameterization::CSSTparameterization()
{
is_encoded_ = false;
}
//CSSTparameterization::CSSTparameterization(CSSTparameterization * sst)
//{
// this->triMesh_ = sst->triMesh_;
//
//}
CSSTparameter... |
////////////////////////////////////////////////////////////////////////////
// **** ADPCM-XQ **** //
// Xtreme Quality ADPCM Encoder/Decoder //
// Copyright (c) 2015 <NAME>. //
// ... |
/* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... |
/***********************************************************************
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors *
* *
* This file is part of EvtGen. *
* ... |
#include "GraphicsRenderer.h"
#include "Engine/Filesystem/CFGConfigLoader.h"
#include <glm/gtc/matrix_transform.hpp>
#include <glad/glad.h>
#include <algorithm>
#include <array>
GraphicsRenderer::GraphicsRenderer() :
QuadShader(nullptr), TextShader(nullptr)
{}
GraphicsRenderer::~GraphicsRenderer() {}
void Graphics... |
/*
* vehicle.cc
*
* created: Oct 2016
* author: <NAME>
*/
/*
* information about this example is given in
* http://arxiv.org/abs/1503.03715
* doi: 10.1109/TAC.2016.2593947
*/
#include <iostream>
#include <array>
/* SCOTS header */
#include "scots.hh"
/* ode solver */
#include "RungeKutta4.hh"
#include "S... |
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include "crossval_core.h"
#include "fit.h"
#include "rps_log.h"
int Testcase::Pack(PackInts PI, PackDoubles PD, PackString PS)
{
PS(tag,strlen(tag));
PI(&number,1);
PI(&numahead,1);
PI(&testfirst,1);
PI(&testnum,1);
PI(&fitfirst,1);
PI(&f... |
#include "MyRioUtils.hpp"
#include <Mahi/Util/Logging/Log.hpp>
#include "Detail/MyRioFpga60/MyRio.h"
#include <Mahi/Util/Print.hpp>
#include <cassert>
extern NiFpga_Session myrio_session;
/*
// TODO: Make error code lookup table
0 NiFpga_Status_Success No errors or warnings.
−50400 NiFpga_Status_FifoTimeout The t... |
/*=========================================================================
Program: ToolCursor
Module: vtkROIContourDataToPolyData.cxx
Copyright (c) 2010 <NAME>
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITN... |
/*
Appendix B: Funding Transaction Test Vectors
を適当に見て回る。
https://github.com/lightningnetwork/lightning-rfc/blob/master/03-transactions.md#appendix-b-funding-transaction-test-vectors
*/
////////////////////////////////////////////////////////////////////////
//FAKE関数
//FAKE_VALUE_FUNC(int, external_... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include <algorithm>
#include <stdarg.h>
#include "dt_send.h"
#include "dt.h"
#include "dt_recv.h"
#include "dt_encode.h"
#... |
/*
* flow-color.cc
*
* Created on: May 14, 2018
* Author: amyznikov
*/
#include <core/proc/flow-color.h>
#include <core/debug.h>
//
// Color encoding of flow vectors
//
// Ported to OpenCV from original optical flow input/output code
// provided as part of the Sintel dataset
// http://sintel.is.tue.mpg.d... |
//#include "rosic_MathTests.h"
using namespace rotes;
//#include "../Shared/Plotting/rosic_Plotter.h"
using namespace rosic;
bool rotes::testComplexSqrt()
{
bool result = true;
int N = 500; // number of tests
RAPT::rsNoiseGenerator<double> ng;
ng.setRange(-1000, +1000);
double re, im;
for(int n = 0; n... |
#include <limits>
#include <functional>
#include <csignal>
#include <iostream>
#include <string>
#include "main.hh"
#include "logging.hh"
#include "qcdcl.hh"
#include "parser.hh"
#include "solver_types.hh"
#include "constraint_DB.hh"
#include "decision_heuristic_VMTF_deplearn.hh"
#include "decision_heuristic_VMTF_pref... |
// This file is just included in context.cpp
void coreirprims_convert(Context* c, Namespace* coreirprims) {
/* Name: slice
* GenParams:
* lo: UINT, The start index of the slice
* hi: UINT, The stop index of the slice non-inclusive
* arrtype: TYPE, the array type of the input.
* Type: In(arrt... |
// Include standard headers
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
// Include GLEW
#include <GL/glew.h>
// Include GLFW
#include <GLFW/glfw3.h>
GLFWwindow* window;
// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
using namespace glm;
#include "sh... |
/*
x10rf.cpp
Library for sending x10 messages by RF.
Created by <NAME> (embedded [at] ppbaron.nl), November 2013.
Released into the public domain.
Library to send x10 messages via a cheap 433Mhz OOK device. No X10 Firecracker (CMA17A) necessary.
Decoding messages is not implemented.
This library can emul... |
/*
FontPanel.cpp: A general-purpose font selection class
Written by DarkWyrm <<EMAIL>>, Copyright 2007
Released under the MIT license.
*/
#include <Application.h>
#include "FontPanel.h"
#include "Spinner.h"
#include <Invoker.h>
#include <String.h>
#include <stdio.h>
#include <ScrollView.h>
#include <ScrollBar.h>
/... |
/**
* @file LengthController.h
* @brief Implementation of class LengthController
* @author <NAME>
* This was built over one of the source codes of NTRTsim codes
*/
// This module
#include "LengthController.h"
#include "nlohmann/json.hpp"
// The C++ Standard Library
#include <cassert>
#include <stdexcept>
#inclu... |
/*
--------------------------------------------------------------------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any lat... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <vector>
#include <map>
#include <algorithm>
#include "elf.h"
#include "fxe.h"
#include "FileClass.h"
using std::vector;
using std::map;
#define die(msg) do { fputs(msg "\n\n", stderr); return 1; } while(0)
#define safe_call(a) do { int rc = a; if(rc... |
/*
Copyright (c) <2018> <doug gray>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distrib... |
/*
* Barcode
* Copyright <NAME> and <NAME>
*
* Distributed under the terms of the MIT License.
* The full license is in the file LICENSE, distributed with this software.
*/
#include <cmath> // sqrt
#include "define_opt.h"
#include "struct_main.h"
#include "fftw_array.h"
#include "cosmo.h"
#include "EqSolvers.h... |
#include "ofApp.h"
//float movie_plane_width = 1280.0;
//float movie_plane_height = 720.0;
//float movie_plane_width = 1472.0;
//float movie_plane_height = 736.0;
float movie_plane_width = 1920.0;
float movie_plane_height = 960.0;
ofMatrix4x4 modelMatrix;
int th_max;
int r_max;
float focal;
float invTmax;
float smoot... |
#include "OpticalFlowCalculator.h"
#include <opencv2/video/tracking.hpp>
#include <opencv2/highgui.hpp>
#include <iomanip>
#include <opencv2/cudaoptflow.hpp>
#include "../Common.h"
#include "../PerformanceMonitor.h"
using namespace cv;
using namespace cv::cuda;
using namespace std;
pair<vector<Point2f>, vector<Point... |
/*
** ###################################################################
** Compilers: ARM Compiler
** Freescale C/C++ for Embedded ARM
** GNU C Compiler
** GNU C Compiler - CodeSourcery Sourcery G++
** IA... |
/// \file WindowsHelpers.cpp
/// \brief Code for some helpful Windows-specific functions.
///
/// These platform-dependent functions are hidden away so that the faint-of-heart
/// don't have to see them if they can't handle it.
// MIT License
//
// Copyright (c) 2022 <NAME>
//
// Permission is hereby granted, free of... |
/*
* model.cpp
*
* Author: <NAME> (<EMAIL>)
*/
#include "model.h"
#include<boost/filesystem.hpp>
#include<iostream>
#include<boost/lexical_cast.hpp>
#include <fstream>
#include<boost/tuple/tuple.hpp>
#include <math.h>
// Struct e funzione che restituisce gli indici rispettivi del vettore ordinato
template<cl... |
#include "selfdrive/ui/ui.h"
#include <assert.h>
#include <map>
#include <cmath>
#include <iostream>
#include <algorithm>
#include "common/transformations/coordinates.hpp"
#include "selfdrive/common/util.h"
#include "selfdrive/common/timing.h"
#include "selfdrive/ui/devui.hpp"
#include "selfdrive/ui/paint.h"
const i... |
#include "slice.hpp"
#include <iostream>
#include <assert.h>
#include <functional>
static uint32_t vexregs[VEX_REGS];
SliceFunctionalModel *slice;
using namespace std;
void input(uint32_t op)
{
uint32_t rs1 = ((op >> OPCODE_RS1_SHIFT)&OPCODE_RS1_MASK);
uint32_t import_reg = vexregs[rs1];
cout << "rs1: " << ... |
/*
* Copyright 2015 CERN
*
* 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 ... |
// ROOT
#include "TFile.h"
#include "TList.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TF1.h"
#include "TFormula.h"
#include "TRandom.h"
#include "TSpline.h"
// analysis framework
#include "AliAnalysisManager.h"
#include "AliInputEventHandler.h"
#include "AliVEvent.h"
#include "AliVTrack.h"
#includ... |
//
// File: RewardMappingTools.cpp
// Created by: <NAME>
// Created on: vendredi 29 mars 2013, à 15h 01
//
/*
Copyright or © or Copr. Bio++ Development Team, (November 16, 2004, 2005, 2006)
This software is a computer program whose purpose is to provide classes
for phylogenetic data analysis.
This softwa... |
/*
MIT License:
Copyright (c) 2019 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr... |
// <NAME> and <NAME>
// 2/27/2020
// CS202_Group_Project
// SnowSim
// Main.cpp
// main source file for SnowSim
#define _USE_MATH_DEFINES
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include "Vec3f.h"
#include "Particle.h"
#include "Field.h"
#include "Modes.h"
#include <iostream>
#include <vector>
#include <list>
... |
#include "Model.h"
AssimpMesh::AssimpMesh(std::vector<Vertex3> vertices, std::vector<GLuint> indices, std::vector<Texture> textures) {
m_Vertices = vertices;
m_Indices = indices;
m_Textures = textures;
_setup();
}
void AssimpMesh::Draw(ShaderProgram& shader) {
/*
For shader:
we assume that in shader we ... |
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <vector>
#include <cmath>
#include <algorithm>
#include <time.h>
#include "net.h"
struct bbox{
int x1,y1,x2,y2,x3,y3,x4,y4;
float score;
};
typedef struct point_sh{
... |
// this file is part of Notepad++
// Copyright (C)2008 <NAME> <<EMAIL>>
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either
// version 2 of the License, or (at your option) any la... |
#include "hclib.h"
#ifdef __cplusplus
#include "hclib_cpp.h"
#include "hclib_system.h"
#include "hclib_openshmem.h"
#endif
#include "shmem.h"
/*********************************************************************
samplesort.c: source: http://www.cse.iitd.ernet.in/~dheerajb/MPI/codes/day-3/c/sample... |
#include <Arduino.h>
#include "HP-35Calc.h"
#include "HP-35Rom.h"
#define WSIZE 14
#define ZERO 0
HPCalc::HPCalc() {
enterCommand(F_ENTER); // init
}
// public...
char * HPCalc::getResultString() {
return resultString; // return the string here...
}
void HPCalc::enterCommand(int command) {
key_code = comm... |
//
// Copyright 2019 <NAME> <<EMAIL>>
//
// 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
//
#include <boost/gil.hpp>
#include <boost/gil/extension/numeric/algorithm.hpp>
#include <boost/gil/extension/numeric/convolv... |
/*
* Copyright 2015 Autoware Foundation. 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/LICENSE-2.0
*
* Unless required b... |
// Copyright (C) 2016-2018 <NAME>.
// Copyright (C) 2018 <NAME>.
// License specified in LICENSE file.
#include "Superboid.hpp"
#include <ctime>
#include <random>
#include <vector>
#include "Box.hpp"
#include "Miniboid.hpp"
#include "Stokes.hpp"
#include "export.hpp"
#include "initial.hpp"
#include "nextstep.hpp"
#i... |
// Copyright (c) 2009, Whispersoft s.r.l.
// 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 cond... |
#include "coap-simple.h"
#include "Arduino.h"
#define LOGGING
CoapPacket::CoapPacket() :
type(COAP_CON),
code(COAP_GET),
token(NULL),
tokenlen(0),
payload(NULL),
payloadlen(0),
messageid(0),
contentType(COAP_NONE),
query(NULL),
querylen(0),
optionnum(0)
{}
void CoapPacket::addOption(... |
//===- Trace.cpp - XRay Trace Loading implementation. ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//=============================================================================
//
// 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... |
/*
Anbu, an interface between FreeJ2ME emulator and SDL2
Authors:
Anbu <NAME> (hex @ retropie)
FreeJ2ME <NAME> (recompile @ retropie)
To compile : g++ -std=c++11 -lSDL2 -lpthread -lfreeimage -o anbu anbu.cpp
This file is part of FreeJ2ME.
FreeJ2ME is free software: you can redistribute it and/or modify
... |
/* host_texture.cpp - Copyright 2019/2021 Utrecht University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicabl... |
// Copyright 2018 The SAF Authors. 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/LICENSE-2.0
//
// Unless required by appli... |
//-----------------------------------------------------------------------------
// Copyright (c) 2014 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... |
/*
* Copyright 2021 Chair of EDA, Technical University of Munich
*
* 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 b... |
/*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE ... |
#include <algorithm>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include <SHADERed/Engine/GLUtils.h>
#include <SHADERed/Objects/HLSLFileIncluder.h>
#include <SHADERed/Objects/Logger.h>
#include <SHADERed/Objects/Settings.h>
#include <SHADERed/Objects/ShaderTranscompiler.h>
#include <gl... |
/*
* This file is part of the TkRibbon package, a Tcl/Tk extension that embeds
* a Windows Ribbon as a Tk widget.
*
* Copyright (C) 2010 by:
* <NAME>, <EMAIL>,
* P.O. Box 8055, Aspropirgos, 19300, Attiki, Greece. All rights reserved.
*
* See the file "license.terms" for information on usage and redistri... |
/*
Copyright 2018 Adobe
All Rights Reserved.
NOTICE: Adobe permits you to use, modify, and distribute this file in
accordance with the terms of the Adobe license agreement accompanying
it. If you have received this file from a source other than Adobe,
then your use, modification, or distribution of it requires the pri... |
//=============================================================================
//
// 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... |
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2018 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) 2009 Carnegie Mellon University.
* 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/LICENSE-2.... |
/* system-w32.c - System support functions for Windows.
Copyright (C) 2009, 2010 Free Software Foundation, Inc.
This file is part of Assuan.
Assuan is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Found... |
/*
** Copyright (C) 1998-2011 <NAME> <<EMAIL>>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program... |
//===-- 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.
//
//===-------------------------------------------------------... |
/***************************************************************************
* _ _ ____ _
* Copyright (C) 2012, <NAME>, <<EMAIL>>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* a... |
#define GLEW_STATIC
#include <iostream>
#include <string>
#include <gl\glew.h>
#include <glfw3.h>
#include <glm-0.9.8.4\glm\glm.hpp>
#include <glm-0.9.8.4\glm\gtc\matrix_transform.hpp>
#include <glm-0.9.8.4\glm\gtc\type_ptr.hpp>
#include "shader.h"
#include "texture.h"
#include "camera.h"
const unsigned int screenW... |
/// @file Tropdump.cpp Define a TropModel and dump table of values at all elevations
//------------------------------------------------------------------------------------
// system includes
#include <ctime>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <vector>
#include <map>
//... |
/* Copyright 2015-2017 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribu... |
/**
* Copyright (c) 2018 <NAME>
* Licensed under the MIT license.
* https://opensource.org/licenses/MIT
*/
#include "sockets.hpp"
#include <iostream>
using namespace Socket;
BaseSocket::BaseSocket(int type, int flags) {
// Inicializa socket_info
socket_info = (addrinfo *) calloc(1, sizeof(addrinfo));
... |
#include "point3.hpp"
#include "triangle.hpp"
#include <cmath>
#include <functional>
#include <limits>
#include <string>
#include <iostream>
using std::acos;
using std::atan2;
using std::sqrt;
GPoint3::GPoint3(long double x, long double y, long double z, int res, int row,
int col, ico::map_orientati... |
#include <qtav.h>
N::VideoStreaming:: VideoStreaming ( void )
: VideoReader ( )
, ThreadId ( -1 )
, step ( 0 )
, LastStep ( 0 )
, Roll ( 0 )
, CacheMs ( ... |
/*************************************************************************/
/* curve_editor_plugin.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "Config.h"
using namespace std;
//namespace tld
//{
static char help_text[] =
"usage: tld [option arguments] [arguments]\n"
"option arguments:\n"
"[-a <startFrameNumber>] video starts at the frameNumber <startFrameNumber>\n"
"[-b <x,y,w,h>] Initial bounding box\n"
"[-c] shows color image... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.