text stringlengths 8.71k 38.4k |
|---|
/*
* 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... |
/*
* Copyright (C) 2008-2010 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
*
* 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 ... |
/**
* @file TriangleDisparity.cpp
* @brief Finds a dense depth map from color-coded aperture image
* @date May 18, 2018
* @author <NAME> (<EMAIL>)
*/
#include <fstream>
#include <float.h>
#include <math.h>
#include <algorithm>
#include <limits>
#include <ctime>
#include <cmath>
#include "TriangleDisparity.h"
/* ... |
/**
* @file
* @brief Misc monster poly/mimic functions.
**/
#include "AppHdr.h"
#include "mon-poly.h"
#include "artefact.h"
#include "attitude-change.h"
#include "delay.h"
#include "describe.h"
#include "dgn-overview.h"
#include "dungeon.h"
#include "exclude.h"
#include "fineff.h"
#include "godconduct.h"
#include ... |
/*
* 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 is distributed in the hope that it will be use... |
#pragma once
#include "../math/Vector.hpp"
#include "../math/VMatrix.hpp"
#define SIGNONSTATE_NONE 0 // no state yet, about to connect
#define SIGNONSTATE_CHALLENGE 1 // client challenging server, all OOB packets
#define SIGNONSTATE_CONNECTED 2 // client is connected to server, netchans ready
#define SIGNONS... |
#include "RecordingManager.hpp"
RecordingManager::RecordingManager() {
using_video_from_disk_ = false;
using_video_directory_ = false;
current_video_number_ = -1;
record_hud_setup_ = false;
video_directory_ = "";
video_number_ = -1;
hud_video_number_ = -1;
quiet_mode_ = false;
le... |
#include "BALPSolverBase.hpp"
#include "PIPSLogging.hpp"
#include <algorithm>
#include <cmath>
#include <fstream>
#include "CoinTime.hpp"
using namespace std;
BALPSolverBase::BALPSolverBase(const BAData &data) : nIter(0), startTime(0.0), data(data), status(Uninitialized),
dualTol(1.0e-7), primalTol(1.0e-7), zeroTo... |
#include <string>
#include <sstream>
#include <ogrsf_frmts.h>
#define RCPP_DEFAULT_INCLUDE_CALL false
#include "Rcpp.h"
#include "gdal_sf_pkg.h"
#include "gdal_read.h"
Rcpp::List allocate_out_list(OGRFeatureDefn *poFDefn, int n_features, bool int64_as_string,
Rcpp::CharacterVector fid_column) {
if (fid_column.s... |
//
// Created by <NAME>.
//
// uncomment to disable assert()
// #define NDEBUG
#include <cassert>
#include <iostream>
#include <cstdio>
#include <iomanip>
#include <ios>
#include <sstream>
#include <fstream>
#include <string>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <functional>
#include <array>
#... |
/*
* Copyright © 2010 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... |
#include "Scene/SceneBloom.h"
#include "Core/Application.h"
#include "Core/Input.h"
SceneBloom::SceneBloom()
{
sceneSettings.cameraPosition = glm::vec3(-10.0f, 2.0f, 0.0f);
sceneSettings.cameraStartYaw = 0.0f;
sceneSettings.cameraStartPitch = 0.0f;
sceneSettings.cameraMoveSpeed = 1.0f;
sceneSetti... |
#include "htmlreporter.h"
#include <chrono>
#include <memory.h>
extern string command;
HtmlReporter::HtmlReporter(Options* opt){
mOptions = opt;
mDupHist = NULL;
mDupRate = 0.0;
}
HtmlReporter::~HtmlReporter(){
}
void HtmlReporter::setDupHist(int* dupHist, double* dupMeanGC, double dupRate) {
mDupHi... |
/**
* Copyright (C) 2019-2020 Xilinx, Inc
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may
* not use this file except in compliance with the License. A copy of the
* License is located at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
#include "gb-include.h"
#include "Msge1.h"
#include "Test.h"
// utility functions
bool getTestIp ( char *url , long *retIp , bool *found , long niceness ,
char *testDir ) ;
bool addTestIp ( char *host , long hostLen , long ip ) ;
bool saveTestBuf ( char *testDir ) ;
Msge1::Msge1() {
m_buf = NULL;
m_numReplies =... |
/*
* Author: <NAME>
* Web: https://enessolak.com.tr
* Github: https://github.com/mrfade/maze-game
*
*/
#include <iostream>
#include <cstdlib>
#include <ctime>
#include <fstream>
#include <string>
#include <conio.h>
#include <windows.h>
using namespace std;
typedef struct
{
int c;
int visited;
... |
#include <stdio.h>
#include <iostream>
#include <cmath>
#include <cfloat>
#include <vapor/vizutil.h>
#include "vapor/utils.h"
#include "vapor/LayeredGrid.h"
#define INCLUDE_DEPRECATED_LEGACY_VECTOR_MATH
#include "vapor/LegacyVectorMath.h"
#include "vapor/VAssert.h"
using namespace std;
using namespace VAPoR;
LayeredG... |
// This file is part of Notepad2.
// See License.txt for details about distribution and modification.
//! Lexer for Batch.
#include <cassert>
#include <cstring>
#include <string>
#include <string_view>
#include <vector>
#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
#include "WordLi... |
/******************************************************************************
* MIT License
*
* Copyright (c) 2017 Siemens AG
*
* 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 restr... |
// Copyright (C) 2013-2014 DNAnexus, Inc.
//
// This file is part of dx-toolkit (DNAnexus platform client libraries).
//
// 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
//
// htt... |
//----------------------------------------------------------------------------
//
// UNCLASSIFIED
//
// Copyright © 1989-2017 BAE Systems Information and Electronic Systems Integration Inc.
// ALL RIGHTS RESERVED
// Use of this software product is governed... |
// ---------------------------------------------------------------------
// ДИЗАССЕМБЛЕР
// ---------------------------------------------------------------------
// Прочесть следующий опкод
int ds_fetch(long& addr) {
addr++;
return program[addr-1];
}
// Дизассемблировать адрес
int ds_info(long addr) {
i... |
#pragma comment(lib, "glu32.lib")
#define _USE_MATH_DEFINES
#include <Windows.h>
#include <commdlg.h>
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#define GLFW_EXPOSE_NATIVE_WIN32
#include <GLFW/glfw3native.h>
#include <iostream>
#include<fstream>
#include<sstream>
#include "VertexBufferLayout.h"
#include "Text... |
/*-------------------------------------------------------------------------
Arduino library to control a wide variety of WS2811- and WS2812-based RGB
LED devices such as Adafruit FLORA RGB Smart Pixels and NeoPixel strips.
Currently handles 400 and 800 KHz bitstreams on 8, 12 and 16 MHz ATmega
MCUs, with LEDs w... |
//LicenseManager by w2solutions (<NAME>)
//(C) All rights reserved 2002-2005
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "securitymanager.h"
SecurityManager::SecurityManager(void)
{
rawKey[0] = '7';
rawKey[1] = '5';
rawKey[2] = 'A';
rawK... |
// Copyright (C) 2015 <NAME> Scientific. All Rights Reserved.
/*
* BbcCoarse.cpp
*
* Created on: Oct 8, 2015
* Author: <NAME>
*/
#include "BbcCoarse.h"
#include "BbcUtils.h"
#include <cstdio>
#include <sys/stat.h>
const uint16_t s_maxVersionNumber = 1000;
const uint16_t s_minorBinSize = 1000; // default... |
int a ,xHx,
qXs/*75P*/, vy ,BeX
,
FxpOJ ,MW , vmXu1//5
,COFW
, wG
,
S, Wv
, LIb ,HNRx
,B9Mv ,cbn , Hjn ,k1w, i
,O,I5QRM,
tbhs,
kHg,
dZLccHa, A7R,h, inn
, Wi5/*m*/,
hDlC, Jy,dfJ5F,
A9dY,hb
,
YA , E7,
VY3D ,
U0,RRy/*F*/;//U
void f_f0() {
{;
{
for(int
i=1;i</*nPOy*/1 ;++i)
{;}/*Ue4*/return ;{
v... |
// Copyright (C) 2019 <NAME>
//
// Permission is granted to copy and distribute verbatim copies and modified
// versions of this file, provided that the copyright notice and this permission
// notice are preserved on all copies and modified versions of this file.
//
#include <chrono>
#include <csignal>
#include <fst... |
#include "ezsift.h"
#include "CycleTimer.h"
#include <limits>
#include <iostream>
#include <list>
#include <eigen/Eigen/Dense>
#include "lodepng/lodepng.h"
using Eigen::MatrixXd;
#define USE_FIX_FILENAME 0
MatrixXd Matslice(MatrixXd array, int start_row, int start_col, int height, int width){
MatrixXd sl = Mat... |
/*
* Abuse - dark 2D side-scrolling platform game
* Copyright (c) 1995 Crack dot Com
* Copyright (c) 2005-2011 <NAME> <<EMAIL>>
*
* This software was released into the Public Domain. As with most public
* domain software, no warranty is made or implied by Crack dot Com, by
* <NAME>, or by <NAME>.
*/
#if ... |
/* Copyright (c) 2014, 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... |
/*
* ARC++
*
* Copyright (c) 2007-2008 <NAME>.
*
* Licensed under the New BSD License.
*
*/
#include "universal_include.h"
#include "App/app.h"
#include "App/file_utils.h"
#include "App/preferences.h"
#include "Game/game.h"
#include "Graphics/graphics.h"
#include "Interface/interface.h"
#include "World/map.... |
// Descriptions:
// Reads in an Ntuple created by running the PhaseIPixelNtuplizer and creates
// the main plots required for efficiency measurements.
// List of the plots generated:
// -
// -
// - (nothing else yet...)
// Data structure
#include "../../interface/DataStructures_v5.h"
// Utility
#include "../../in... |
#include "./LookAndFeel.hpp"
namespace
{
//! Draw string with juce::TextLayout.
/*!
* juce::TextLayout can draw correctly non-ASCII string (juce::Graphics::drawText can't).
*/
void doDrawText(Graphics& g, String text, int x, int y, int width, int height, Justification justification, Colo... |
/*! @file LiveLinkExtendPreviewController.cpp
@brief LiveLinkExtendを使用した際のメッシュプレビュー中の挙動
@details LiveLinkPreviewController.cpp をもとにした実装となっており、\n
カメラの画角とメッシュ更新が拡張されております。
*/
#include "LiveLinkExtendPreviewController.h"
#include "ILiveLinkClient.h"
#include "LiveLinkTypes.h"
#include "LiveLinkIn... |
/*******************************************************************************
Copyright (c) 2010, Limbic Software, Inc.
All rights reserved.
******************************************************************************/
#include "lamb/math/matrix44f.h"
#include <stdio.h>
#include <algorithm>
#include "lamb... |
// This code has been adpated (by <NAME>) from OsiChooseVariable.cpp in the Osi project of COIN-OR
//
// The original license notice is below:
// Copyright (C) 2006, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (E... |
/**
* This program tests the range image likelihood library.
*
* You can move around using
* w - forward
* a - backward
* s - left
* d - right
* q - up
* z - down
* f - write point cloud file
*
* The mouse controls the direction of movement
*
* Esc - quit
*
*/
#include <Eigen/Dense>
#include <c... |
/*
* Copyright (c) 2019 <NAME>
*
* SPDX-License-Identifier: MIT
*/
#include "gb_ppu.h"
#include "gb_io_defs.h"
#include "gb_logger.h"
#define GB_PPU_VBLANK_JUMP_ADDR (0x40)
#define GB_PPU_VBLANK_FLAG_BIT (0x0)
#define GB_PPU_BG_TILE_MAP0_ADDR (0x9800)
#define GB_PPU_BG_TILE_MAP1_ADDR (0x9c... |
// -*- C++ -*-
//
/*
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author: <NAME>
// Created: Wed May 3 10:30:00 CEST 2006
// Modified by: <NAME>, April 2010.
//
// system include files
#include <memory>
// user include files
#include "FWCor... |
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// 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
//... |
#include "Mercs_Files.h"
#include "AIMMembers.h"
#include "Assignments.h"
#include "Button_System.h"
#include "Campaign_Types.h"
#include "Cheats.h"
#include "ContentManager.h"
#include "Cursors.h"
#include "Directories.h"
#include "English.h"
#include "Facts.h"
#include "Font.h"
#include "Font_Control.h"
#include "Gam... |
#include "ExceptionUtils.hpp"
#include <Doxybook/Exception.hpp>
#include <Doxybook/Node.hpp>
#include <Doxybook/TextPrinter.hpp>
#include <Doxybook/Utils.hpp>
#include <Doxybook/XmlTextParser.hpp>
#include <cassert>
#include <fmt/format.h>
#include <functional>
#include <iostream>
#include <unordered_map>
#i... |
#include <ros/ros.h>
#include <ros/package.h>
#include <stdio.h>
#include <unistd.h>
#include <string>
#include <vector>
#include <unordered_map>
#include <iostream>
#include <memory>
#include <tuple>
#include <set>
#include <sstream>
#include <thread>
#include <atomic>
#include <mutex>
#include <future>
#include <exc... |
/***********************************************************************************************************************
* *
* libscopehal v0.1 ... |
//////////////////////////////////////////////////////////////////////
//
// CAN232Drv.cpp: implementation of the CCAN232Drv class.
//
//////////////////////////////////////////////////////////////////////
// Copyright (C) 2000-2014
// <NAME>, Grodans Paradis AB, <<EMAIL>>
#include "stdafx.h"
#include "can232drvTest.h... |
/*
Copyright (C) 2000-2003, Intel 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 conditio... |
/*--------------------------------------------------------
Copyright (c) 1999 - 2001 Lonely Cat Games
All rights reserved.
File: Occluder.cpp
Content: Occluder frame.
--------------------------------------------------------*/
#include "all.h"
#include "occluder.h"
#include "scene.h"
#include "mesh.h"
#inc... |
/*
* Most code that follows is Andrea's. I have made minor modifications to it.
* TODO: Clean up and refactor code.
* Sorry for inconvenience, it was this way when I found it.
*/
/*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* ... |
/*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
#include "TopQuarkAnalysis/TopEventProducers/interface/PseudoTopProducer.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "CommonTools/Utils/interface/PtComparator.h"
#include "RecoJets/JetProducers/interface/JetSpecific.h"
#include "fastjet/ClusterSequence.hh"
using namespace std;
using namespace edm;
usi... |
/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrDataUtils.h"
#include "src/core/SkColorSpaceXformSteps.h"
#include "src/core/SkConvertPixels.h"
#include "src/core/SkTLazy.h"
#include "src/core/SkTraceEv... |
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Projection_traits_xy_3.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <CGAL/Triangulation_vertex_base_with_info_2.h>
#include <CGAL/Triangulation_face_base_with_info_2.h>
#include <CGAL/boost/graph/graph_traits_Delaunay_triangulati... |
// Chemfiles, a modern library for chemistry file reading and writing
// Copyright (C) <NAME> and contributors -- BSD license
#include <cassert>
#include <cmath>
#include <cstdint>
#include <array>
#include <string>
#include <vector>
#include "chemfiles/error_fmt.hpp"
#include "chemfiles/external/optional.hpp"
#incl... |
/*
* 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 writing,... |
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2018 Fraunhofer ESK
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is... |
// (C) Copyright 2016-2021 Xilinx, Inc.
// All Rights Reserved.
//
// 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 yo... |
#include <cstring>
#include <fstream>
#include <queue>
#include <list>
#include <algorithm>
#include <unistd.h>
#include <fcntl.h>
#include <semaphore.h>
#include <netinet/in.h>
#include <sys/stat.h>
#include "httpserver.hpp"
using namespace std;
// private helpers
static bool hasws(const string& s) {
for (char c... |
/**
* @file SQLExec.cpp - implementation of SQLExec class
* @author <NAME>, <NAME>, <NAME>
* @see "Seattle University, CPSC5300, Summer 2018"
*/
#include "SQLExec.h"
#include "EvalPlan.h"
#include <algorithm>
using namespace std;
using namespace hsql;
// define static data
Tables* SQLExec::tables = nullptr;
Indice... |
#include "delaunay.h"
dcel::DCEL Delaunay::triangulate(std::vector<dcel::Point> &points) {
if (points.size() == 0) {
return DCEL();
}
DCEL T = _initTriangulation(points);
while (!points.empty()) {
Point p = points.back();
points.pop_back();
Face f = _locateTriangleAtPo... |
#include "layout.h"
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <sstream>
#include "client.h"
#include "command.h"
#include "floating.h"
#include "frametree.h" // TODO: remove this dependency!
#include "globals.h"
#include "ipc-protocol.h"
#include "monitor... |
#include "Scene_polylines_item.h"
#include "create_sphere.h"
#include <CGAL/bounding_box.h>
#include <CGAL/gl.h>
#include <QMenu>
#include <QAction>
#include <QInputDialog>
class Scene_polylines_item_private {
public:
typedef Scene_polylines_item::K K;
typedef K::Point_3 Point_3;
Scene_polylines_item_pr... |
// Copyright 2019 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/browser_switcher/bho/browser_switcher_core.h"
#include <Shellapi.h>
#include <ShlObj.h>
#include <WinInet.h>
#include <algorith... |
#include "Kinematic.h"
#include "RobotController.h"
#include "Logger.h"
namespace {
Logger logger("RobotController");
}
// no kinematic coupling here because it must happen step by step in the servo update method to be able to move kincouping independent from
// speed
#define NORM(v, u, length) { ... |
/**
* @file llevents.cpp
* @author <NAME>
* @date 2008-09-12
* @brief Implementation for llevents.
*
* $LicenseInfo:firstyear=2008&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2010, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify... |
#include "AliceChara.hpp"
#include <glm\gtx\rotate_vector.hpp>
#include "../Systems/BulletDeleterSystem.hpp"
#include "../Systems/Bullet Types/HomingBulletSystem.hpp"
#include "../BTA.hpp"
#define VEC3_DOWN ALC::vec3(0.0f, -1.0f, 0.0f)
#define VEC2_DOWN ALC::vec2(0.0f, -1.0f)
AliceChara::AliceChara()
: m_basicShootT... |
#include <stdio.h>
#include <conio2.h>
#include <time.h>
#include <stdlib.h>
#include <windows.h>
/*------------------------------------------------------
Roach Killer: The Game 4.0
Developed by: <NAME>
Git: https://github.com/matheuspaula19
From repository: https://github.com/matheuspaula19/RoachKillerT... |
/**
* @file VST2 Implementation. Its hard to find Doku and examples for it. It is
* also deprecated, so maybe other formats are more important.
*/
#include "interfaces/IPlugin.hpp"
#include "vst_def.hpp"
#include <GlobalData.hpp>
#include <algorithm>
#include <cstring>
#include <interfaces/IPlugin.hpp>
#include <to... |
#include "UserFunction.h"
#include <string>
#include <vector>
#include <map>
//#include <fstream>
#include <stack>
#include <queue>
#include "Parser.h"
#include <algorithm>
//#include <iterator>
//Essentially here we have another interpreter inside of an interpreter. It will follow the same logic I guess
UserFuncti... |
#include "Star.h"
#include "Falclib\Include\openfile.h"
#define EPSILON 1e-6f
#define elonge 278.833540f /* Ecliptic longitude of the Sun at epoch 1980.0 */
#define elongp 282.596403f /* Ecliptic longitude of the Sun at perigee */
#define eccent 0.016718f /* Eccentricity of Earth's orbit *... |
//===-- X86ATTAsmPrinter.cpp - Convert X86 LLVM code to AT&T assembly -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
int
aHCgtU ,I1t ,/*jGM*/G9p,Rfdp,
x
, X8k,rBN8 ,
Fd ,oKaW
,Hb
,h/*0o*/
,
oN ,W, Q9FM
,
rnL
,
z,
BDR,
URh ,oJb, db8r4/*fG*/,VZM ,
C95A,
Pzn,
lePSk , Q0iU2
,GC , hE
, BqEt
,yb0s, UY /*pl*/,
ACPd9d
,VKK , CV6 ,
A6 ,Pj
,
l2C ,
gI
,GQb
,
nb//8
,lR6S,T//9
,
G6f //Js0
,Rt,
TqLnGM,
vkX,C,
wZ... |
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Add temporaries, such as for inline nodes
//
// Code available from: http://www.veripool.org/verilator
//
//***************************************************************... |
#include "MyApp.h"
#include "../CSP_Server.h"
#include <Urho3D/Core/CoreEvents.h>
#include <Urho3D/Engine/Console.h>
#include <Urho3D/Engine/DebugHud.h>
#include <Urho3D/Engine/Engine.h>
#include <Urho3D/Graphics/Camera.h>
#include <Urho3D/Graphics/DebugRenderer.h>
#include <Urho3D/Graphics/Graphics.h>
#include <Urho3... |
/* This file is part of the KDE project
Copyright (C) 2008-2010 <NAME> <<EMAIL>>
(C) 2002-2003 <NAME> <<EMAIL>>
(C) 2002-2003 <NAME> <<EMAIL>>
(C) 1999-2003 <NAME> <<EMAIL>>
(C) 2002 <NAME> <<EMAIL>>
(C) 2002 <NAME> <<EMAIL>>
(C) 2002 <NA... |
#include "app/include/LikertHCI.h"
//font stash stuff
#include <stdio.h>
#include <string.h>
#define FONTSTASH_IMPLEMENTATION
#include "fontstash.h"
#define GLFONTSTASH_IMPLEMENTATION
#include "glfontstash.h"
LikertHCI::LikertHCI(MinVR::AbstractCameraRef camera, CFrameMgrRef cFrameMgr, TextureMgrRef texMan,... |
// For documentation, see TextFileParsers.h
#include "TextFileParsers.h"
// C libraries
#include <assert.h>
// STL declarations
#include <vector>
#include <string>
#include <map>
#include <fstream>
#include <iostream>
// Boost libraries
#include <boost/algorithm/string.hpp> // split
#include <boost/filesystem.hpp>
#... |
/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gfxPlatformMac.h"
#includ... |
#include "sampler_base.h"
using namespace stan::math;
SpatialMixtureSamplerBase::SpatialMixtureSamplerBase(const SamplerParams &_params,
const std::vector<std::vector<double>> &_data,
const Eigen::MatrixXd &_W): params(_params), data(_data), W_init(_W)
{
numGroups = data.size();
samplesPerGroup.resize... |
/*
Minetest
Copyright (C) 2010-2015 celeron55, <NAME> <<EMAIL>>
This program 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 Foundation; either version 2.1 of the License, or
(at your option) any later version.
This ... |
// Copyright (c) 2014-2018, The Monero Project
// Copyright (c) 2018, The BitTube Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain... |
// [src] https://github.com/ocornut/imgui/issues/123
// [src] https://github.com/ocornut/imgui/issues/55
// v1.22 - flip button; cosmetic fixes
// v1.21 - oops :)
// v1.20 - add iq's interpolation code
// v1.10 - easing and colors
// v1.00 - <NAME>'s original
#pragma once
#include "imgui.h"
#define IMGUI_DEFINE_MAT... |
#include <ArduinoJson.h>
#include <FS.h>
#ifdef ARDUINO_ARCH_ESP32
#include <SPIFFS.h>
#endif
#include "config.h"
#define FORMAT_SPIFFS_IF_FAILED true
//const int capacity = JSON_OBJECT_SIZE(70);
#ifdef ARDUINO_ARCH_ESP8266
const int capacity = 6144;
#elif defined ARDUINO_ARCH_ESP32
const int capacity = 4608;
#endi... |
/*************************************************************************/
/* abstract_polygon_2d_editor.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
// loader.cpp
// Copyright 2014 - 2019 <NAME>.
// License: https://github.com/polymonster/pmtech/blob/master/license.md
#include "loader.h"
#include "dev_ui.h"
#include "console.h"
#include "data_struct.h"
#include "file_system.h"
#include "hash.h"
#include "memory.h"
#include "os.h"
#include "pen.h"
#include "pen_js... |
/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... |
// Copyright 2009-2020 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2020, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directo... |
//----------------------------------------------------
// file: StaticMesh.cpp
//----------------------------------------------------
#include "Pch.h"
#pragma hdrstop
#include "NetDeviceLog.h"
#include "StaticMesh.h"
#include "UI_Main.h"
//----------------------------------------------------
MMater... |
// Copyright (c) <NAME>.
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory.
// Smart parallel retry to produce reference results for
// the http://www.midaco-solver.com/index.php/about/benchmarks/gtopx
// Space Mission Benchmark problems, see
// https://www.sci... |
/* This code describes the OpenSim model and the skeleton dynamics
Author: <NAME>
Contributor: <NAME>, <NAME>, <NAME>
*/
#include <OpenSim/Simulation/Model/Model.h>
#include <OpenSim/Simulation/SimbodyEngine/PlanarJoint.h>
#include <OpenSim/Simulation/SimbodyEngine/PinJoint.h>
#include <OpenSim/Simulation/Simb... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
#include "CGBL_dmesh.h"
#include "RegionToRegionMap.h"
#include "CreateMesh.h"
#include "ImproveMesh.h"
#include "Maths.h"
#include "Metrics.h"
/* --------------------------------------------------------------- */
/* Macros -------------------------------------------------------- */
/* ----------------------------... |
#if HAVE_CONFIG_H
# include <config.h>
#endif
#include <boost/bind.hpp>
using boost::cref;
#include "Cosmology.h"
#include "PowerSpectrum.h"
#include "Quadrature.h"
#include "CDE.h"
#include "BSPTN.h"
#include "SPT.h"
#include "Spline.h"
#include "SpecialFunctions.h"
#include "LinearPS.h"
#include <cerrno>
#includ... |
/**
httpserver
HTTPServer.cpp
Copyright 2011-2019 <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... |
// __BEGIN_LICENSE__
// Copyright (c) 2006-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NASA Vision Workbench is licensed under the Apache License,
// Version 2.0 (the "License"); you may not use this f... |
// ------------------------------------------------------------------------ //
// Copyright 2021 SPTK Working Group //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... |
/***************************************************************************
File : LegendWidget.cpp
Project : QtiPlot
--------------------------------------------------------------------
Copyright : (C) 2007 by <NAME>
Email (use @ for *) : <EMAIL>
Descri... |
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "SimTransport/HectorProducer/interface/Hector.h"
#include "SimGeneral/HepPDTRecord/interface/ParticleDataTable.h"
#include "CLHEP/Units/GlobalSystemOfUnits.h"
#include "CLHEP/Units/GlobalPhysicalCo... |
///
/// \file AliFemtoSimpleAnalysis.cxx
///
#include "AliFemtoSimpleAnalysis.h"
#include "AliFemtoTrackCut.h"
#include "AliFemtoV0Cut.h"
#include "AliFemtoKinkCut.h"
#include "AliFemtoXiCut.h"
#include "AliFemtoXiTrackCut.h"
#include "AliFemtoPicoEvent.h"
#include <string>
#include <iostream>
#include <iterator>
#i... |
#include "MyRigidBody.h"
using namespace Simplex;
//Allocation
void MyRigidBody::Init(void)
{
m_pMeshMngr = MeshManager::GetInstance();
m_bVisibleBS = false;
m_bVisibleOBB = true;
m_bVisibleARBB = false;
m_fRadius = 0.0f;
m_v3ColorColliding = C_RED;
m_v3ColorNotColliding = C_WHITE;
m_v3Center = ZERO_V3;
m_v... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.