text stringlengths 8.71k 38.4k |
|---|
// ImGui - standalone example application for GLFW + OpenGL 3, using programmable pipeline
// If you are new to ImGui, see examples/README.txt and documentation at the top of imgui.cpp.
// (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (... |
// Original work Copyright (c) 2017, University of Minnesota
// Modified work Copyright 2019, <NAME>
//
// ADMM-Elastic Uses the BSD 2-Clause License (http://www.opensource.org/licenses/BSD-2-Clause)
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the ... |
#include "Globals.h"
#include "Application.h"
#include "ModuleRenderer3D.h"
#include "ModuleWindow.h"
#include "ModuleCamera3D.h"
#include "ModuleEditor.h"
#include "ModuleScene.h"
#include "GameObject.h"
#include "cMesh.h"
#include "ResourceMesh.h"
#include "ResourceTexture.h"
#include "cMaterial.h"
#include "cTransf... |
#include <array>
#include <vector>
#include <atomic>
#include <limits>
#include <iostream>
#include <algorithm>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <memory>
#include <cstdint>
#include <ctime>
#include <omp.h>
#include <math.h>
typedef float coord_t;
enum raster_mode_t {
NAIVE,
B... |
int GbG
,GWl,HAjZ
, /*sbr*/K ,rk
, //5t
Mmf,
hqsq,ULpH/*co*/,dF
, QcY9
, VvIs,En,
r
,MM5Ax,
k4Ey ,BEEf ,Ibvl, s,
Vcs
/**/,
pY
,
o ,//
y4lOz,Px ,
X,lEa3s ,nsN,J63Sa
,
/*f0*///5d
Av ,/*7g*/C5
,
Tp//p
,tZr
,N3E,
nd8//7
,uB
,a4wt,//
UnsQj, Nux /**/, Ng ,//G8
ruMJ,/*j1*//*JJ*/JQ,V ,
sq
,/*oE8*/ D... |
/*
* @file
* @author TPOC: <EMAIL>
*
* @copyright Copyright (c) 2019, New Jersey Institute of Technology
* (NJIT) 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 s... |
/*******************************************************************************
* Structured Edge Detection Toolbox Version 3.01
* Code written by <NAME>, 2014.
* Licensed under the MSR-LA Full Rights License [see license.txt]
*******************************************************************************/
#inclu... |
/**
@author <NAME>
*/
#include "PluginManager.h"
#include "Plugin.h"
#include "ExtensionManager.h"
#include "MenuManager.h"
#include "MessageView.h"
#include "DescriptionDialog.h"
#include "LazyCaller.h"
#include "AppConfig.h"
#include "MainWindow.h"
#include <cnoid/ExecutablePath>
#include <cnoid/FileUtil>
#includ... |
/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
algebraic.cpp
Abstract:
Test Algebraic Numbers
Author:
Leonardo (leonardo) 2011-11-22
Notes:
--*/
#include "math/polynomial/algebraic_numbers.h"
#include "math/polynomial/polynomial_var2value.h"
#include "util/mpbq.h"
#include "util/rlimit.h... |
#include <algorithm>
#include <iomanip>
#include <ios>
#include "Tools/Display/rang_format/rang_format.h"
#include "Tools/Display/Statistics/Statistics.hpp"
using namespace aff3ct;
using namespace aff3ct::tools;
void Statistics
::separation1(std::ostream &stream)
{
stream << "# " << rang::style::bold << "----------... |
/*
OFDM modem decoder
Copyright 2021 <NAME> <<EMAIL>>
*/
#include <algorithm>
#include <iostream>
#include <cassert>
#include <cmath>
namespace DSP { using std::abs; using std::min; using std::cos; using std::sin; }
#include "bip_buffer.hh"
#include "theil_sen.hh"
#include "xorshift.hh"
#include "trigger.hh"
#include... |
/*
* \class EcalMatacqAnalyzer
*
* primary author: <NAME> - CEA/Saclay
* author: <NAME> - CEA/Saclay
*/
#include <TFile.h>
#include <TTree.h>
#include <TProfile.h>
#include <TChain.h>
#include <vector>
#include <CalibCalorimetry/EcalLaserAnalyzer/plugins/EcalMatacqAnalyzer.h>
#include <sstream>
#include <io... |
/*
时间戳,DTS(decoding time stamp),PTS(presention time stamp),CTS(current time stamp)。
---
ffmepg中的时间戳,是以微秒为单位,关乎timebase变量,它是作为dts、pts的时间基准粒度,数值会很大。
---
其中函数av_rescale_q()是很多的,AV_ROUND_NEAR_INF是就近、中间从零,av_rescale_rnd它是计算a*b/c,
传入参数为八字节,为避免溢出,里面做了与INT_MAX的比较,分开计算。将以 "时钟基c" 表示的 数值a 转换成以 "时钟基b" 来表示。
---
FFmpeg中用AVPacket结构体... |
/*
@Discription: Library Management System
@Composer: <NAME>
@Date of Commencement: 04/25/2017
@Date of Completion: 04/29/2017
@Last Revised @ 05/01/2017
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct Date{
int year,month,day;
};
struct BookItem{
char title[100],author[100],type... |
/* ----------------------------------------------------------------------
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... |
int jBP ,tMF9 ,Evxp,
j,ek ,
N
,//vXf
OhC,
vu ,fxR
, U ,RXP/*UHm*/ ,o7uS ,
V6a ,
lsd, gJta ,
k1AEI,vR4f ,
QOL, M,puVf,
GM ,
fL
,/*W*/ eV ,W2i , RP,IF, Mb,kvewD, NYZqb1v//J
, ebm ,nGvEa ,naI, W ; void f_f0(){ {
volatile int hoAA
,
KLH3,a3q,
py ,
ang,
x47
,
meP
; for(int i=1;i<1 ;++i
){... |
// Copyright (c) 2016 Graphcore Ltd. All rights reserved.
#include "poputil/exceptions.hpp"
#include <algorithm>
#include <boost/multi_array.hpp>
#include <boost/optional.hpp>
#include <boost/optional/optional_io.hpp>
#include <boost/program_options.hpp>
#include <boost/random.hpp>
#include <chrono>
#include <exception... |
// ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2021 www.open3d.org
//
// Permissio... |
#include <Windows.h>
#include <ObjBase.h>
#include <stdio.h>
#include <malloc.h>
#include "cah_file.h"
const uint32_t CRC::_Table[256] =
{
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f,
0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e, 0x97d2d988,
0x09b64c2b, 0x7eb17... |
#include <stdio.h>
#include <iostream>
#include <cstring>
#include <random>
#include <unordered_set>
#include <stdint.h>
// max allocation size
const int max_size = 20;
const int max_boxes = 10;
// room parameters
int num_boxes;
int dim[2];
// 0: UP, 1: DOWN, 2: LEFT, 3: RIGHT
int CHANGE_COORDINATES[4][2] = {{-1, 0}, ... |
//
// DomainGatekeeper.cpp
// domain-server/src
//
// Created by <NAME> on 2015-08-24.
// Copyright 2015 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "DomainGatekeeper.h"
#include ... |
#include "routing.hpp"
// I need to include this file here, because it introduces the
// specializations of the "target" and "get" functions, which have to
// be known before the standard_dijkstra.hpp is included.
#include <boost/graph/filtered_graph.hpp>
#include "accountant.hpp"
#include "accounted_solution.hpp"
#i... |
/*************************************************************************/
/* matrix3.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "dfise_converter.h"
#include <algorithm>
#include <cfloat>
#include <chrono>
#include <climits>
#include <csignal>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
#include <utility>
#include "TCanvas.h"
#include "TFile.h"
#include "TGraph2D.h"
#include "TH1.h"
#... |
/* Copyright 2016 Stanford 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 applicable law or agree... |
//------------------------------------------------------------------------------------------------
// Copyright (c) 2012 <NAME> and <NAME> (University Campus Bio-Medico of Rome).
// All rights reserved.
//------------------------------------------------------------------------------------------------
/*************... |
// Copyright (c) 2011, <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... |
#include "pch.h"
#include "aes.h"
#include <xutility>
// https://ru.wikipedia.org/wiki/Advanced_Encryption_Standard
// https://csrc.nist.gov/csrc/media/publications/fips/197/final/documents/fips-197.pdf
namespace
{
const int Nb = 4; // Number of columns (32-bit words) comprising the State
const int Nk = 4; // 6 8... |
/* keyid.c - key ID and fingerprint handling
* Copyright (C) 1998, 1999, 2000, 2001, 2003,
* 2004, 2006, 2010 Free Software Foundation, Inc.
* Copyright (C) 2014 <NAME>
* Copyright (C) 2016 g10 Code GmbH
*
* This file is part of GnuPG.
*
* GnuPG is free software; you can redistribute it and/or mod... |
#include "DAELoader.h"
#include "DAEUtil/DAEConvertSGameObject.h"
#include <iostream>
#include "../../../Component/DrawableSkinnedMeshComponent.h"
#include "../../../Component/RenderComponent.h"
#include "../../Render/STexture.h"
#include "../../Render/SMaterial.h"
#include "../../../Manager/EngineCore.h"
using namesp... |
//!Includes
#include <GL/glew.h> //OpenGL Related Functions
#include <GL/glut.h> //OpenGL Related Functions
#include <Shader.h> //Functions for compiling shaders
#include <Vector.h> //Functions for Vectors
#include <iostream> //Writing to the Console using std::cout
#include <math.h> // Includes Math functions
#inc... |
#include "debugger.h"
#include <fmt/core.h>
#include <array>
namespace debugger {
bool mapRegisterNames = true;
bool followPC = true;
// clang-format off
std::array<const char*, 32> regNames = {
"zero",
"at",
"v0", "v1",
"a0", "a1", "a2", "a3",
"t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7",
"s0", "s1", ... |
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <vector>
#include <delcher.hh>
using namespace std;
const int DIST_MAX = 11;
// Number of counts to keep in a distribution. Values >= the
// max are lumped together in the last count
const int WINDOW_SIZE = 50;
static int Degree_Cutoff = 6;
... |
/* ----------------------------------------------------------------------
*
* *** Smooth Mach Dynamics ***
*
* This file is part of the USER-SMD package for LAMMPS.
* Copyright (2014) <NAME>, <EMAIL>
* Fraunhofer Ernst-Mach Institute for High-Speed Dynamics, EMI,
* Eckerstrasse 4, D-79104 Frei... |
/* The Image Registration Toolkit (IRTK)
*
* Copyright 2008-2015 Imperial College London
*
* 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... |
/*
* Copyright (c) 2014 Google, Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
* including commercial appl... |
/* ----------------------------------------------------------------------
MR-MPI = MapReduce-MPI library
http://www.cs.sandia.gov/~sjplimp/mapreduce.html
<NAME>, <EMAIL>, Sandia National Laboratories
Copyright (2009) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with Sandia Corporat... |
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Copyright (c) 2017-2021 Thought Networks, LLC
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "pow.h"
#include "arith_uint256... |
// implementation of tracking using KLT method from opencv
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include "opencv2/core/core.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "../../../core/image.h"
#include "../../../core/format_helper.h... |
// VCP Library
// http ://verified.computation.jp
//
// VCP Library is licensed under the BSD 3 - clause "New" or "Revised" License
// Copyright(c) 2017, <NAME> <<EMAIL>>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the ... |
#include "stdafx.h"
#include "spi_flash.h"
const static spi_flash_id flash_ids[] =
{
{"Atmel AT25DF321A", 0x1f4701, 0, SIZE_4MB, SF_64K_BLOCK | SF_32K_BLOCK | SF_4K_SECTOR | SF_INIT_SR | SF_BP0_3},
{"Atmel AT25DF641", 0x1f4800, 0, SIZE_8MB, SF_64K_BLOCK | SF_32K_BLOCK | SF_4K_SECTOR | SF_INIT_SR | SF_BP0_3... |
//Generated by the Argon Build System
//
// Reflection.cpp
// GenericSerialization
//
// Created by <NAME> on 10/13/12.
// Copyright (c) 2012 Argon Software. All rights reserved.
//
#include "Reflection.h"
#include <fstream>
#include "Utility.h"
#include <sstream>
#include <cassert>
#include <sstream>
#include <j... |
//===-- RegisterContextNetBSD_x86_64.cpp ------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* file: board_pins.cpp (uart)
* brief: UART Test Board pins
* version: 1.00
* date: 2021-10-29
* authors: nvitya
*/
#include "board_pins.h"
#include "hwsdram.h"
#include "hwlcdctrl.h"
#include "clockcnt.h"
THwUart conuart; // console uart
unsigned pin_led_count = 1;
TGpioPin pin_led[MA... |
// Copyright 2015 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/sessions/tab_loader.h"
#include <algorithm>
#include "base/bind.h"
#include "base/memory/memory_pressure_monitor.h"
#include "b... |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include <errno.h>
#include <stdio.h>
#include <deque>
#include "base/at_exit.h"
#include "base/debug... |
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/cxfa_ffwidget.h"
#include <algorithm>
#include <cmath>
#in... |
/************************************************************
* Copyright (C) 2009, Beijing Institute of Genomics of CAS
* All rights reserved.
* Filename: base.cpp
* Abstract: Definition of base class for KaKs methods.
* Version: 2.0
* Author: <NAME>(<EMAIL>), <NAME> (<EMAIL>)
* Date: Jun.1, 2009
* Version: 1.0
* ... |
/*****************************************************************************************
* *
* OpenSpace *
* ... |
#include "BehaviorPlanner.h"
#include <iostream>
#include <math.h>
#include "HandyModules.h"
#include "spline.h"
// --------------------------------------------------------------------------------------------------------------------
BehaviorPlanner::BehaviorPlanner(int lanes_count)
{
vehicle.lane_ = 1; // middle l... |
#include <fstream>
#include <numeric> // std::iota
#include <sstream>
#include <string>
#include <string_view>
#include <vector>
#include <graphtyper/graph/absolute_position.hpp>
#include <graphtyper/graph/constructor.hpp>
#include <graphtyper/graph/genomic_region.hpp>
#include <graphtyper/graph/graph_serialization.hp... |
/* -*- C++ -*-
* Copyright 2019-2020 LibRaw LLC (<EMAIL>)
*
LibRaw uses code from dcraw.c -- <NAME>'s raw photo decoder,
dcraw.c is copyright 1997-2018 by <NAME>, dcoffin a cybercom o net.
LibRaw do not use RESTRICTED code from dcraw.c
LibRaw is free software; you can redistribute it and/or modify
it under the ... |
//----------------------------------------------------------------------
// kap-ns.cc -- KAP plugin for netscape
//----------------------------------------------------------------------
// This file is part of KAP, the Kinetic Application Processor.
// Copyright (c) 1999, AsiaInfo Technologies, Inc.
//
// See the file ... |
#include "GizmoObject.h"
#include "Logger.h"
#include "DefaultState.h"
#include "SystemVariableManager.h"
#include "../Engine/GeometryFactory.h"
#include "../Engine/Ray.h"
#include <iostream>
const char* GIZMO_VS_CODE = R"(
#version 330
layout (location = 0) in vec3 iPos;
layout (location = 1) in vec3 iNormal;
unif... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*************************************************************************
Exidy Vertigo hardware
The Vertigo vector CPU consists of four AMD 2901 bit slice
processors, logic to control microcode program flow and a digital
vector generator. The microcode for the... |
//
// Created by 方泓睿 on 2021/4/30.
//
#include "gif.h"
void gif::GifGetClosestPaletteColor(GifPalette *pPal, int r, int g, int b, int *bestInd, int *bestDiff, int treeRoot) {
// base case, reached the bottom of the tree
if (treeRoot > (1 << pPal->bitDepth) - 1) {
int ind = treeRoot - (1 << pPal->bitDepth);
... |
/*
* Copyright (c) 2019, NVIDIA 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
*
* Unless requir... |
/**
* $Id: TagestFacade.cpp 2737 2010-08-05 22:14:06Z johnoel $
*/
#include "TagestFacade.h"
//LoggerPtr TagestFacade::logger(Logger::getLogger("tagest.log"));
void TagestFacade::init()
{
//follow code in tagest main from beginning till xinit
cifstream fnt("file_nam.tmp");
if (!fnt) {
cerr << "Cannot open file... |
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
unsigned fileoffset;
unsigned char songlength;
char cp; //read value
ifstream INFILE;
bool isPatternUsed(int patnum);
int main(int argc, char *argv[]){
cout << "XM 2 QED68 CONVERTER\n";
//check for "-v" flag
string arg = "";
if (a... |
#include "ata.hh"
#include "arch/platform.h"
#include "timer.h"
#include "arch/x86/port.h"
#include "arch/x86/x86.h"
#if 0
#define ATA_MODE_LBA 0xE0
#define ATA_MODE_PIO 0xA0
#else
#define ATA_MODE_LBA (1<<6)
#define ATA_MODE_PIO (0)
#endif
#define ATA_DEVSEL_CONST (1<<5|1<<7)
//#define ATA_DEVSEL_CONST 0
#define ATA... |
/* -*- mode: C++; indent-tabs-mode: nil; -*-
*
* This file is a part of LEMON, a generic C++ optimization library.
*
* Copyright (C) 2003-2009
* Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
* (Egervary Research Group on Combinatorial Optimization, EGRES).
*
* Permission to use, modify and distribut... |
int R1ZYKh ,
AKe//a
,YNt
, M9 ,NFEUb
,
QK , t,nyu5
, Up0Hy, //l
gs,k8Z6,HGGr ,M,XlUGN, gzBx,eDZ
, Y3tv, z8dx ,
nEr , YA1, tJV,KqGDJ, WLXq, rb , nun ,
yG9
,
cD
, dQ5
,o9kMxl
,
//4cJe
y7o ,
dh
,qDvhvg,hy
,
wb,
o3N
, Tg8, Tt
,V4 ,gab
,
f,//
dY,
RQ8S//
,guW ,w4C /*P*/,gOTEF
,IxPg;
void... |
#include <iostream>
#include <iomanip>
#include <chrono>
#include "math/math.hpp"
template< typename scalar_name, unsigned dimension_number >
void print( ::math::linear::vector::structure<scalar_name,dimension_number> const& v )
{
for( unsigned i=0; i< dimension_number; i++ )
{
std::cout <... |
// This file is part of snark, a generic and flexible library for robotics research
// Copyright (c) 2011 The University of Sydney
// 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. Redistr... |
#define __USE_GNU
#include "dma_common.h"
#include <infiniband/verbs_exp.h>
#include <inttypes.h>
#include <linux/if_ether.h>
#include <netdb.h>
#include <netinet/in.h>
#include <rdma/rdma_cma.h>
#include <sched.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <unistd.h>
... |
#include "video_client.h"
using namespace std::chrono;
using json = nlohmann::json;
typedef websocketpp::client<websocketpp::config::asio_client> client;
typedef websocketpp::config::asio_client::message_type::ptr message_ptr;
const std::string VideoClient::vertex_shader =
"#version 130\n"
"in vec2 i_positio... |
#include<math.h>
#include <iostream>
#include<vector>
double min_root(double r1, double r2);
double min_root(double r1, double r2,double r3);
int cubic_eq_real_root (double a, double b, double c, double d, std::vector<double> &roots);
// equations that describe the motion in the seven phases of the s_curve
void phase... |
#include <cmath>
#include <sstream>
#include <algorithm>
#include <FL/x.H>
#include <FL/fl_draw.H>
#include <clocale>
#include "utils.hpp"
#include "version.hpp"
#include "settings.hpp"
#include "point.hpp"
#include "tracklayer.hpp"
const std::string florb::tracklayer::trackname = "New GPX track";
florb::tracklayer::... |
/* -----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: <NAME>, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ------------------------... |
// UnitTestsBip39.cpp
//
// Validate the Bip39 and SHA functions with unit tests and test vectors from official sources where possible.
//
// Copyright (c) 2021 <NAME>.
// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
// granted, provided that the a... |
///////////////////////////////////////////////////////////////////////////////////////
// Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP //
// //
// etf/inc/TABUAA.C //
// TABUAA.C -- source file for class TABUAA //
// Introducti... |
#include "Listener.h"
#include "Bitrate.h"
Listener::Listener()
: mExiting(false)
, mEnabled(false)
, mState(State::NOT_CONNECTED)
, mLastSeen(0) {
memset(&mTrackingInfo, 0, sizeof(mTrackingInfo));
mStatistics = std::make_shared<Statistics>();
mSettings.type = ALVR_PACKET_TYPE_CHANGE_SETTINGS;
mSettings.debu... |
#include "main.h"
#include "timer.h"
#include "plane.h"
#include "ground.h"
#include "altimeter.h"
#include "speedometer.h"
#include "fuel.h"
#include "island.h"
#include "volcano.h"
#include "parachute.h"
#include "missile.h"
#include "fuelpo.h"
#include "enemy.h"
#include "canonball.h"
#include "ring.h"
#include "arr... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ros/ros.h>
#include <nav_msgs/Odometry.h>
#include <tf/transform_datatypes.h>
#include <tf/transform_listener.h>
#include <tf/transform_broadcaster.h>
#include "isam/isam.h"
#include "isam/slam_depthmono.h"
#include "isam/robust.h"
#include "cameraP... |
#include <pnc/whole_body_controllers/managers/dcm_trajectory_manager.hpp>
DCMTrajectoryManager::DCMTrajectoryManager(
DCMPlanner *_dcm_planner, Task *_com_task, Task *_base_ori_task,
RobotSystem *_robot, std::string _lfoot_idx, std::string _rfoot_idx) {
util::PrettyConstructor(2, "DCMTrajectoryManager");
... |
/*
* about_window_beos.cpp - "About" window, BeOS implementation
*
* SheepShaver (C) 1997-2008 <NAME> and <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 2 of... |
//-----------------------------------------------------------------------------
/*!
* \file genomics_metric.cc
* \author <NAME>
* \date Wed Sep 23 12:39:13 EDT 2015
* \brief Main driver code for genomics metric calculation.
*/
//-----------------------------------------------------------------------------
/*-... |
#include "openwarp.hpp"
#include "OpenwarpApplication.hpp"
#include "Eigen/Dense"
#include <string>
#include <fstream>
#include <chrono>
#include <filesystem>
namespace fs = std::filesystem;
#include <iostream>
#include <fstream>
#include <glm/mat4x4.hpp>
#include "util/shader_util.hpp"
#include <glm/gtc/matrix_transf... |
/*
Copyright (c) 2013, Oracle and/or its affiliates. All rights
reserved.
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; version 2 of
the License.
This program is distributed in the h... |
//LIC// ====================================================================
//LIC// This file forms part of oomph-lib, the object-oriented,
//LIC// multi-physics finite-element library, available
//LIC// at http://www.oomph-lib.org.
//LIC//
//LIC// Copyright (C) 2006-2022 <NAME> and <NAME>
//LIC//
//LIC// This lib... |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 <NAME>. *
* All rights reserved. Email: <EMAIL> Web: www.q12.org *
* ... |
/* -------------------------------------------------------------------------- *
* Simbody(tm) Example: Torque-limited motor using speed control Constraint *
* -------------------------------------------------------------------------- *
* This is part of the SimTK biosimulation toolkit originating from *
... |
//----------------------------------------------------------------------------//
// //
// ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation //
// and distributed under the MIT License (MIT). ... |
// This file is part of comma, a generic and flexible library
// Copyright (c) 2011 The University of Sydney
// 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 cod... |
//===- AffineParser.cpp - MLIR Affine Parser ------------------------------===//
//
// 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
//
//===---------------------------... |
//===-- Relooper.cpp - Top-level interface for WebAssembly ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... |
//===- opt.cpp - The LLVM Modular Optimizer -------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* Copyright (C) 2004-2015 ZNC, see the NOTICE file for details.
*
* 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 requi... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "stdafx.h"
#include "D3D1XRenderBuffersManager.h"
#include "D3D1XStateManager.h"
#include "D3DRenderer.h"
#include "RwD3D1XEngine.h"
#include "CDebug.... |
#include "precompiled.h"
#include "Test.h"
#include "NeoMem.h"
#include "Brooklyn.h"
#include "ConstantsDatabase.h" //. should be part of brooklyn, mostly
//#include "BDoc.h"
//#include "BDataDate.h"
//#include "BDataIcon.h"
//#include "BFolder.h"
//#include "BClass.h"
#include "BDataEmail.h"
//, ui stuff
//#inc... |
/********************************************************************************************
* NxWidgets/nxwm/src/glyph_start.cxx
*
* Copyright (C) 2012 <NAME>. All rights reserved.
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitte... |
#include "GotoFunction.h"
#include "LexrepStateOutputFunc.h"
#include "IkStringEncoding.h"
#include "Util.h"
#include "utlExceptionFrom.h"
#include <fstream>
#include <map>
#include <iostream>
#include <math.h>
using namespace iknow::AHO;
using namespace std;
using iknow::base::Char;
using iknow::base::String;
Goto... |
#include <mutex>
#include <queue>
#include <algorithm>
#include <thread>
#include <Eigen/Core>
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <wloam/CloudInfo.h>
#include <tf_conversions/tf_eigen.h>
#include <pcl/point_cloud.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/filters/filte... |
/*
* Adplug - Replayer for many OPL2/OPL3 audio file formats.
* Copyright (C) 1999 - 2006 <NAME>, <<EMAIL>>, et al.
*
* This library 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
* vers... |
/*
Resembla
https://github.com/tuem/resembla
Copyright 2017 <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... |
/*
Copyright 2013 KLab 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 in wri... |
#include "Variant.h"
#include "convert.h"
#include "join.h"
#include "split.h"
#include "Fasta.h"
#include <set>
#include <vector>
#include <getopt.h>
#include <cmath>
using namespace std;
using namespace vcflib;
// Attempts to left-realign all the indels represented by the alignment cigar.
//
// This is done by shi... |
#include "aqua.h"
#include "sky.h"
#include <cstddef>
#include <cstdlib>
#include <vector>
#include <cmath>
using namespace std;
AquaContext *aqua_initialize(int width, int height, float frames_per_cycle, float frames_per_day)
{
AquaContext *context = new AquaContext();
context->window_width = width;
context->wi... |
/*****************************************************************************
* Hand-off management
*handoff.cpp : LTE System Level Simulator
*****************************************************************************
* Copyright (C) 2010 LTE System Level Simulator project
* Authors: "<NAME>" <<EMAIL>>,
*... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.