text stringlengths 8.71k 38.4k |
|---|
/*
// Licensed to DynamoBI Corporation (DynamoBI) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. DynamoBI licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may ... |
/*
Updates:
1. DATE: Monday, July 16th 2018
BY: <NAME>
Speaker ID asterisk
In line with user feedback, the
program no longer removes the turn
initial asterisk before the speaker
ID.
The remove speaker_ID function was removed.
2. DATE: Monday, July 23rd 2018
By: <NAME>
Indent: Removed the custo... |
/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/*
*******************************************************************************
*
* Copyright (C) 2002-2016, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
* file name: strcase.cpp
* encoding: ... |
/*
* SPDX-License-Identifier: Apache-2.0
*/
//===----------------- GRU.cpp - Lowering GRU Op --------------------------===//
//
// Copyright 2019-2022 The IBM Research Authors.
//
// =============================================================================
//
// This file lowers the ONNX GRU Operator to Krnl dia... |
// Spear: Statistical Platform for Elucidating moleculAr Reactivity
// Copyright (C) Purdue University -- BSD license
#include "spear/Molecule.hpp"
#include <boost/graph/graph_utility.hpp>
#include <boost/graph/hawick_circuits.hpp>
#include <boost/graph/undirected_graph.hpp>
#include <boost/graph/connected_components... |
// Copyright (c) 2002-2013, <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 condit... |
/*=========================================================================
Library : Image Registration Toolkit (IRTK)
Module : $Id$
Copyright : Imperial College, Department of Computing
Visual Information Processing (VIP), 2008 onwards
Date : $Date$
Version : $Revision$
Changes ... |
/* -*- mode: C -*- */
/* vim:set ts=4 sw=4 sts=4 et: */
/*
IGraph library.
Copyright (C) 2011-2012 <NAME> <<EMAIL>>
334 Harvard street, Cambridge, MA 02139 USA
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
t... |
/*
* Copyright (C) 2011 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... |
// This file is part of Notepad2.
// See License.txt for details about distribution and modification.
//! Lexer for Julia.
#include <cassert>
#include <cstring>
#include <string>
#include <string_view>
#include <vector>
#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
#include "WordList.h"
#include ... |
/**
* NDPluginROIStat.cpp
*
* Region of interest plugin that calculates simple statistics
* on multiple regions. Each ROI is identified by an asyn address
* (starting at 0).
*
* @author <NAME>
* @date Nov 2014
*/
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>
#include <cantPr... |
/* asynMotorController.cpp
*
* <NAME>
*
* This file defines the base class for an asynMotorController. It is the class
* from which real motor controllers are derived. It derives from asynPortDriver.
*/
#include <stdlib.h>
#include <string.h>
#include <iostream>
using std::endl;
using std::cout;
#include <ep... |
#include "cheats.hpp"
#include "NonHacker.hpp"
#include "Helpers/Wrapper.hpp"
#include "Helpers/IDList.hpp"
#include "RegionCodes.hpp"
#include "Helpers/Game.hpp"
#include "Helpers/PlayerClass.hpp"
#include "Helpers/CROEditing.hpp"
#include "Helpers/Player.hpp"
#include "Helpers/Dropper.hpp"
#include "Helpers... |
/*
* Original author: <NAME> / <NAME> - DESY
* Rewritten by: <NAME> - CERN
* Improved by: <NAME> - INFN and Marconi University
*/
#include "DQMProvInfo.h"
#include <TSystem.h>
#include "DataFormats/Provenance/interface/ProcessHistory.h"
#include "DataFormats/Scalers/interface/DcsStatus.h"
#include "FWCore/F... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <algorithm>
#include "base/auto_reset.h"
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
#incl... |
#include <iostream>
#include <sstream>
#include <map>
#include <tinyxml2.h>
#define TINYOBJLOADER_IMPLEMENTATION
#include <tiny_obj_loader.h>
#include "util.h"
#include "model.h"
#include "texture.h"
using namespace glm;
using namespace std;
using namespace ogl;
using namespace tinyxml2;
// simple OBJ loader
void loa... |
/*
* Copyright (C) 2015, <NAME>
*
* 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 disclaim... |
#include "gtest/gtest.h"
#include "util/string.h"
using namespace AGS::Common;
TEST(String, Internal) {
String s1 = "abcdefghijklmnop";
String s2 = s1;
String s3 = s1;
ASSERT_TRUE(s1.GetRefCount() == 3);
ASSERT_TRUE(s1.GetBuffer() == s2.GetBuffer());
ASSERT_TRUE(s2.GetBuffer() == s3.GetBuffer(... |
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/inotify.h>//inotify_init inotify_add_watch....
#include <android/log.h>
#include "log_for_android.h"
#define TAG "UNINSTALL_WATCHER"
#define WATCHER "app_MyLibs/watcher"
//#define DEVICE_D... |
/**
* @file montador.cpp
* @author <NAME>
* @brief
* @version 1.0
* @date 2020-10-19
*
* @copyright Copyright (c) 2020
*
*/
#include "montador.h"
#include <string.h>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
#include "tabela.h"
#define LINE_LENGTH 256... |
#include <exception>
#include <fstream>
#include <iostream>
#include <list>
#include <memory>
#include <string>
#include <vector>
#include <boost/algorithm/string/replace.hpp>
#include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
#include "../core/device_s... |
#include <Automaton.h>
#include <algorithm>
#include <iostream>
#include <math.h>
#include <fstream>
Automaton::Automaton(const State &_state, const Cycles &_cycles, const Parameters &_params,
RandomEngine *randomEngine, ul _step)
: state(_state), cycles(_cycles), params(_params), step(_st... |
#include "includes.h"
CSGO g_csgo{};;
WinAPI g_winapi{};;
Netvars g_netvars{};;
EntOffsets g_entoffsets{};;
Menu g_menu{};;
Notify g_notify{};;
bool CSGO::init( ) {
m_done = false;
if( m_done )
return false;
// wait for the game to init.
// "serverbrowser.dll" is the last module to be loade... |
// Copyright (c) 2016 The FairCoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h"
#include "rpcserver.h"
#include "util.h"
#include "main.h"
#include "utilstrencodings.h"
#include "poc.h"
#in... |
#include "ir_2_llvm.hpp"
#include <map>
#include <set>
#include <deque>
#include <fmt/core.h>
#include "utils.hpp"
#include "transformations/graph_info.hpp"
#include "llvm/IR/IRBuilder.h"
#include "llvm/ExecutionEngine/GenericValue.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/LL... |
/*
* graph_optimize.cpp
* cufflinks
*
* Created by <NAME> on 6/1/10.
* Copyright 2010 <NAME>. All rights reserved.
*
*/
#include <vector>
#include <algorithm>
#include "graph_optimize.h"
// for graph optimization only
#include <lemon/topology.h>
#include <lemon/smart_graph.h>
#include <lemon/bipartite_mat... |
#include <cstdlib>
#include <cstdio>
#include <stdexcept>
#include <string>
#include <pthread.h>
#include <sched.h>
#include <lmic.h>
#include <hal/hal.h>
#include "argparse.hpp"
//ABP parameters
// LoRaWAN NwkSKey, network session key
static u1_t NWKSKEY[16];
// LoRaWAN AppSKey, application session key
static u1_t A... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
#include "detect_base.h"
#include <time.h>
#include <set>
#include "../tools.h"
static unsigned char possibleBitcodes[4][5] = {
{ 1,0,0,0,0 },
{ 1,0,1,1,1 },
{ 0,1,0,0,1 },
{ 0,1,1,1,0 }
};
static void printBitMatrix(cv::Mat m) {
for (int i = 0; i < CV_ACCAR_MARKERCODE_CELLS - 2; i++) {
LOGINFO("%d %d %d %d ... |
/* SparseTracer
* function: trace single neuron
* Author : zhouhang, lishiwei
* 2015-10-28
*/
#include <QMessageBox>
#include <exception>
#include "largesparsetracefilter.h"
#include "Function/binaryfilter.h"
#include "sparsetracefilter.h"
#include "sparsetraceaxonfilter.h"
#include "../../../ngtypes/tree.h"... |
#pragma once
//------------------------------------------------------------------------------
// Copyright (c) 2021 by <NAME>.
// All rights are reserved by <NAME>.
//------------------------------------------------------------------------------
#include "defines.h"
#include "defines_dpu.h"
#include "lenet5_params.h"
... |
#include <math.h>
#include <assert.h>
#include <stdio.h>
#include <yarp/fit_ellipse.h>
#ifdef __LINUX__
#ifndef LINUX_BUILD
#define LINUX_BUILD
#endif
#endif
#ifndef LINUX_BUILD
#define for if (1) for
#endif
#ifndef M_PI
#define M_PI 3.1415926535897932
#endif
#ifndef LINUX_BUILD
#ifndef true
//typedef int bool;
#... |
#include "VirtualTubeDelay.h"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmain"
#include "IPlug_include_in_plug_src.h"
#pragma clang diagnostic pop
#include "IControl.h"
#include "resource.h"
//#include "IGraphics.h"
//#include "TextEntry.h"
//#include <iostream>
#include "IAutoGUI.h"
const int k... |
/*
* File: main.cpp
* \brief: Implementation of the fuzzy rules construction module using neuro-fuzzy approach.
* \brief: Also Dynamic Expansion Neuro-Fuzzy (DENF) by adding a single term in the first fuzzy set, so 4 terms in the first one.
* \brief: Then re-training and check for accuracy.
* \brief: Fuzzific... |
// ***********************************************************************
//
// PaKman: Algorithm for generating genomic contigs on distributed-memory machines
//
// <NAME> (Pacific Northwest National Laboratory)
// <NAME> (Pacific Northwest National Laboratory)
// <NAME> (Washington State University)
// ... |
#include <sstream>
#include <limits>
#include <cstdlib> /* srand, rand */
#include <cmath>
#include <boost/math/distributions/negative_binomial.hpp>
#include <boost/log/trivial.hpp>
#include "kmergraphwithcoverage.h"
#include "localPRG.h"
using namespace prg;
void KmerGraphWithCoverage::set_exp_depth_covg(const uin... |
#include <luascript.h>
#include <lua.hpp>
#include <glWrapper.h>
#include <nds.h>
#include <stdlib.h>
#include <time.h> /* time */
#include <typeinfo>
#include <iostream>
#include <sstream>
#include <filesystem.h>
#include <nds/arm9/image.h>
#include <typeinfo>
// Graphics includes
#include "ball_pcx.h"
#include... |
// system include files
#include <memory>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
// user include files
#include "CondFormats/DataRecord/interface/HcalRespCorrsRcd.h"
#include "CondFormats/HcalObjects/interface/HcalRespCorrs.h"
#include "FWCore/Commo... |
#include "debugger.h"
#include <string>
#include <iostream>
#include <csignal>
#include "oxtra/logger/logger.h"
#include "oxtra/dispatcher/dispatcher.h"
// define the constants
static constexpr uint8_t arg_state_unused = 0xa0;
static constexpr uint8_t arg_state_string = 0xb0;
static constexpr uint8_t arg_state_number... |
/*
* Copyright 2009, <NAME>, <EMAIL>.
* Distributed under the terms of the MIT License.
*/
#include <new>
#include <string>
#include <vector>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <uni... |
/*
Pony48 source - particles.cpp
Copyright (c) 2014 <NAME>
*/
#include "particles.h"
ParticleSystem::ParticleSystem()
{
m_imgRect = NULL;
m_pos = NULL;
m_sizeStart = NULL;
m_sizeEnd = NULL;
m_vel = NULL;
m_accel = NULL;
m_rot = NULL;
m_rotVel = NULL;
m_rotAccel = NULL;
m_colStart = NULL;
m_colEnd =... |
int H2,Aw,
IQ82,c5 ,sOz //
,Bdb,vK4NFcP
, fNg,vmc2G ,
IO//6
/*O*/,iL, QRu, MfRSu, HZ
,
oAX8 ,nfZ,
xGL5 ,
fI,
y, TI,/*bE*/w7bZ, d3 ,lj
, oQR, FNR/*WQ*/ ,n
,
bwu,JtL ,TTH3 ,iZ ,rS //
, A5Y , aU6,
Ob8y3YsM,
r /*LZn*/,pSn;void f_f0
()
{
for (int i=1/*q*/
; i<1;++i);{ {
for(int //30
i=1 ;
i<2
;... |
/****************************************************************************
*
* Copyright (c) 2016 PX4 Development Team. 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. ... |
/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#include <cstring>
#include "globalincs/pstypes.h"
#include "tgautils/t... |
#include "Builders.h"
#include "coff.h"
String MaxLenString(const byte *b, int maxlen)
{
const byte *e = b + maxlen;
while(e > b && e[-1] == 0)
e--;
return String(b, int(e - b));
}
String COFFSymbolName(const COFF_IMAGE_SYMBOL& sym, const char *strtbl)
{
String name;
if(sym.N.Name.Short)
nam... |
/**********************************************
* Self-Driving Car Nano-degree - Udacity
* Created on: September 20, 2020
* Author: <NAME>
<NAME>
**********************************************/
/**
* @file main.cpp
**/
#include <string>
#include <array>
#include <cfloat>
#include <chrono>
#include <c... |
// Timing and behavior of PPU
// Nes_Emu 0.7.0. http://www.slack.net/~ant/
#include "Nes_Ppu.h"
#include <string.h>
#include "Nes_State.h"
#include "Nes_Mapper.h"
#include "Nes_Core.h"
/* Copyright (C) 2004-2006 <NAME>. This module is free software; you
can redistribute it and/or modify it under the t... |
/*
* File: aedit.c
* Comment: OLC for MUDs -- this one edits socials
* by <NAME> <<EMAIL>> -- 06/10/96
* for use with OasisOLC
* ftpable from ftp.circlemud.org:/pub/CircleMUD/contrib/code
*/
#include "characters.h"
#include "descriptors.h"
#include "interpreter.h"
#include "utils.h"
#include "db.h"
#include "ae... |
#include "recurring.h"
#include "mainwindow.h"
#include "controller.h"
#include "settings.h"
#include "camount.h"
#include "ui_newrecurring.h"
#include "ui_recurringdialog.h"
#include "ui_recurringpayments.h"
#include "ui_recurringmultiple.h"
QString schedule_desc(Schedule s) {
switch (s) {
case Schedule::DAY... |
/*
* brtstemnt.cpp
*
* Brook extensions to cTool's stemnt.cpp. Specifically, contains the
* BRTKernelDef class, which represents a kernel definition.
*/
#include "brtvout.h"
//above file must be included first so the #pragma warning:disable is included
#include <cstring>
#include <cassert>
#in... |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "atn/ATNDeserializationOptions.h"
#include "atn/ATNType.h"
#include "atn/ATNState.h"
#include "atn/ATN.h"
#inc... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2017,2018,2019,2020, by the GROMACS development team, led by
* <NAME>, <NAME>, <NAME>, and <NAME>,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
*
... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/gpu/media/vaapi_wrapper.h"
#include <dlfcn.h>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/logging.... |
#include <Rcpp.h>
#include <ctime>
#include <string>
#include <sstream>
#include "rcpp_exception.h"
#include "rcpp_utility.h"
using namespace Rcpp;
//' Processing RBC for a person.
//'
//' This function is used to resolve one person's journeys, i.e., classifying
//' a person and marking it whether or not to be a lo... |
/*
*** atompot.cpp ***
------------------------------------------------------------------------
Copyright 1998-2014 <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, eithe... |
int t
, O1, oUhq4 ,
p ,
WmSD ,
T,xP,Cta,pC
,
Qo,/**/r ,o ,pa8xg1,EttFgN,sN ,CGp9wS /**/,
uIE ,Pj
,
ix/*5E*/
,Exionl
,FD,
Nt3 ,
Es
, NECQN,BA,//hQ
MHv0nu//vC
, Jc2e,Cr , aS , Vb,
mDwF , bZt ,pS8,es, PBx3E,
TDLz,aNoO,
tmLJ0, vGh/*eP*/,
//OEdk
EfP //a
,N3u
;void
f_f0
() {volatile int pRV , l ,u6F
... |
int QJv, B/*1c*/,th
, PRU,
N
,oGi/*R*/, ZE, GFN //n
, ju
, tG
,/*zN*/N8lb,BB,
lHY3U
,pN32
, fL ,W4 ,
t37 ,YAWd
,
wv,
Ju ,E0eq,DQn , MYU ,
Y /*dV*/,
pJL, bkA
,Ul3,RTFX, TgcT, W//rl
,
AQH0z6l,OW ,
hpQHtM//
,
T, TS,Y1s
,/*rZn*/ fHI1s
,
V3y
, sE
, pGn, cC, CY,R ,kqu//
, SaI;//
void f_f0
()
{int ... |
/*************************************************************************
* Copyright (c) 2016-2022, NVIDIA CORPORATION. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#include "comm.h"
#include "core.h"
#include "socket.h... |
/** \file main.cxx
\brief gtorbsim exectuable
\author <NAME> (original), FSSC
<NAME> (current), FSSC
*/
#include <cstdio>
#include "st_app/AppParGroup.h"
#include "st_app/StApp.h"
#include "st_app/StAppFactory.h"
#include "facilities/commonUtilities.h"
#include "facilities/Util.h"
#include "orbit... |
/* Copyright (c) 2005 - 2012 Vertica, an HP company -*- C++ -*- */
#include "Vertica.h"
#include "StringParsers.h"
#include <sql.h>
#include <time.h>
#include <sqlext.h>
#include <string.h>
#include <stdlib.h>
#include <string>
#include <iostream>
#include <vector>
// To deal with TimeTz and TimestampTz.
// No standa... |
/*********************************************************************
* tm_ros_wrapper.cpp
*
* Copyright 2016 Copyright 2016 Techman Robot 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 Li... |
// Copyright(c) 2016, Kitware SAS
// www.kitware.fr
// 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 the above copyright notice,
// this lis... |
/* Meru
* ResourceDownloadTask.cpp
*
* Copyright (c) 2009, Stanford University
* 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... |
int
d4b2kUM6,
YWnHhC//H
//tr
, Lk ,x,
Ng
,nw,PCaL,dyE , gw
, kAnvZWj
,IPtDt7n,Vr8
,//C
daz9,g0j,Oly ,Xp
,
wf9K,/**/Y2Z//bg
,i
, nto,gD, lKR , wO
,
gun
,geK
,vxl,eWn
, Dzc
, dwj
,FQo,/*x*/PU
,
Jc9 , tDTL8 ,Shq ,
LFl,FFy,m, zx,Fof3,
lcaUX57,nm,
uaRS//EyqD
,
aN
, qI ; void /**/
f_f0() ... |
int
/*T*/ qJfpG, y , YKz1
,
VPAQ,
Ni5a, O0XS, oxP//S
,
fs,V1 ,jNxL , N5mU,jEZ ,gaN
,
pkIDyt ,gOvGl ,
xjkc , tDE0u0,
WLfxG
,y7
,
sAgr, iSF,
Cc,OLpV, Oe, X
,xG , hFba , IiC, JRm,/*yxvSTl*/nk
, //w
KGT//1m
, a , naiPXb ,Gm , W
,
SUx,
ycmd,axP7FQ,y8,wmYO , H ,dY //Cftp
,Z6
, //tCE9
c//L
//ZV3O
... |
#include "util/funcs.h"
#include "util/graphics/bitmap.h"
#include "../script/script.h"
#include "../object/object.h"
#include "../object/object_attack.h"
#include "../object/character.h"
#include "../object/player-common.h"
#include "util/font.h"
#include "util/file-system.h"
#include "util/graphics/gradient.h"
#inclu... |
#include "vcf.h"
void VCF::add_record_core(const VCFRecord& vr)
{
records.push_back(std::make_shared<VCFRecord>(vr));
chrom_to_record_interval_tree[vr.get_chrom()].add(
vr.get_pos(), vr.get_ref_end_pos(), records.back().get());
}
void VCF::add_record(const std::string& chrom, uint32_t position,
co... |
#include <iostream>
#include <fstream>
#include <random>
#include <string>
#include "gtest/gtest.h"
#include "test_common.h"
extern "C"{
#include "sukat_log_internal.c"
#include "sukat_bgp.c"
#include "sukat_sock.h"
#include "sukat_util.h"
#include <stdlib.h>
#include <stdint.h>
}
class sukat_bgp_test : public ::tes... |
#include "../network/network.hpp"
#include "../simple_config/simpleconfig.h"
#include "../util/util.hpp"
#include "../logger/logger.hpp"
#include "../rocs/rocs.hpp"
#include "gps.hpp"
#include "camera.hpp"
#include "subsystem.hpp"
#include "suspension.hpp"
#include "lidar.hpp"
#include "gripper.hpp"
#include "arm.hpp"... |
#include "xAODAnaHelpers/PhotonContainer.h"
#include <iostream>
using namespace xAH;
using std::vector;
using std::string;
PhotonContainer::PhotonContainer(const std::string& name, const std::string& detailStr, float units, bool mc)
: ParticleContainer(name, detailStr, units, mc, true)
{
if(m_infoSwitch.m_isol... |
#include "ReadBlockProcessor_CoverageBlocks.h"
#include "includedefine.h"
void CoverageBlocks::loadRef(std::istream &IN) {
std::string myLine;
std::string myField;
myLine.reserve(1000);
myField.reserve(100);
//string s_chr;
string sLengths;
string sOffsets;
//uint i_start;
//uint i_end;
uint i_block_start;
... |
/*
* Copyright 2009 Rensselaer Polytechnic Institute
* 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 progr... |
/***************************************************************************
vidhrdw.c
Functions to emulate the video hardware of the machine.
***************************************************************************/
#include "driver.h"
#include "machine/atarigen.h"
#include "vidhrdw/generic.h"
#define XCHA... |
/********************************************************************
* This program is used:
* 1. to project a polygon shapefile into NLCD NAD83 projection
* IMPORTANT NOTE: When project a shapefile with sphere R to WGS84,
* there is no datum transformation here from PROJ4.6.
* ... |
/*
* DSKY-matic driver interface for Raspberry Pi OS
*
* Copyright (c) 2020, <NAME>
*
* This file is part of the DSKY-matic project. All software in that project
* is release via the GPL v2 license. See src/SOFTWARE-LICENSE.txt. Hardware and
* artistic elements are covered by a separate CC-BY-SA license.
*
... |
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <semaphore.h>
#include <pthread.h>
#include <string.h>
#include <climits>
#include <math.h>
#include <gui/GLConsumer.h>
#include <gui/Surface.h>
#include <ui/GraphicBuffer.h>
#include <ui/... |
// Copyright (c) 2020 The Orbit 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 "CaptureWindow.h"
#include "App.h"
#include "GlUtils.h"
#include "absl/base/casts.h"
using orbit_client_protos::TimerInfo;
CaptureWindow::Cap... |
#include <stdint.h>
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
#include <unistd.h>
#include <assert.h> //assert 매크로, 정해진 조건이 맞지않을때 프로그램 중단. false ->stop, ture -> keep
#include <cmath>
#include <sstream>
#include <unordered_map>
#include <list> //c++
#if defined(USE_FPGA) || defined(U... |
/*
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation (FSF), either version... |
#include <format.h>
#include <string.h>
#include "WaveFileReader.h"
#include "ioTools.h"
#include "platformTools.h"
using std::runtime_error;
using fmt::format;
using std::string;
using namespace little_endian;
using std::unique_ptr;
using std::make_unique;
using std::make_shared;
using boost::filesystem::path;
#defi... |
using namespace eosio;
/**
* @brief Структура хоста
*/
/**
* @brief Returns a string representation of an asset.
*
* @param[in] val The value
*
* @return String representation of the asset.
*/
std::string unicore::symbol_to_string(eosio::asset val) const
... |
/*
* This file is a part of
*
* ============================================
* ### Pteros molecular modeling library ###
* ============================================
*
* (C) 2009-2018, <NAME>
*
* All works, which use Pteros, should cite the following papers:
*
* 1. <NAME>, "Pteros 2.0: Evolution of ... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*
The MLC graphics hardware is quite complicated - the usual method of having 'object ram' that
controls sprites is expanded into object ram that controls sprite blocks that may be stored
in RAM or ROM. Each tile in a block may be specified explicitly vi... |
// =================================================================================================
//
// A thorough test for UTF-16 and UTF-32 serialization and parsing. It assumes the basic Unicode
// conversion functions are working - they have their own exhaustive test.
//
// ======================================... |
// Copyright 2019 ETH Zürich, <NAME>
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following dis... |
#include "gl-visualizer.hh"
#include "gl/gl-utils.hpp"
#include "perceive/geometry/vector-3.hpp"
#include "perceive/utils/file-system.hpp"
#include <sys/stat.h>
#include <sys/time.h>
#include <unistd.h>
#include <QMouseEvent>
#include <QOpenGLPaintDevice>
#include <QOpenGLWidget>
#include <QPixmap>
#include <QTimer... |
// q_warp_stps.cpp
// warp pointset and image based on given matched pairs
// by <NAME>
// 2010-03-22
#include <QtGui>
#include "q_warp_stps.h"
#include "../../basic_c_fun/basic_memory.cpp"//note: should not include .h file, since they are template functions
#include "basic_surf_objs.h"
bool q_stps_cd(con... |
/*
Allegro Interface for 3D; Software mode Allegro driver
Copyright (c) 2007 <NAME>
Adventure Game Studio source code Copyright 1999-2011 <NAME>.
All rights reserved.
The AGS Editor Source Code is provided under the Artistic License 2.0
http://www.opensource.org/licenses/artistic-license-2.0.php
You MA... |
// Copyright (c) 2016-2020 The CryptoCoderz Team / Espers
// Copyright (c) 2018-2020 The CryptoCoderz Team / INSaNe project
// Copyright (c) 2018-2020 The Rubix project
// Copyright (c) 2018-2020 The DigitalNote project
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://ww... |
/*
* Copyright (c) 2011-2021, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/main/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, wit... |
#include "movealgo.h"
#include "serialize.h"
#include "world/world.h"
#include "world/npc.h"
const float MoveAlgo::closeToPointThreshold = 50;
const float MoveAlgo::gravity = DynamicWorld::gravity;
const float MoveAlgo::eps = 1.f; // 1-milimeter
const int32_t MoveAlgo::flyOverWat... |
#define GLFW_INCLUDE_GLCOREARB
#define GL_GLEXT_PROTOTYPES
#include <GLFW/glfw3.h>
#include <stdio.h>
#include "GrContext.h"
#include "gl/GrGLInterface.h"
#include "SkData.h"
#include "SkImage.h"
#include "SkStream.h"
#include "SkSurface.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/core/SkCanvas.h"... |
/* ZetaApp.h
* <NAME>
* June, 2010
ZetaSim - A NS2 based Simulation suit for Zeta Protocol
Copright (C) 2010 <NAME>
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
version 2.1 of the... |
//
// Created by clemens on 21.01.19.
//
#include "BoothLogic.h"
using namespace std;
using namespace selfomat::logic;
using namespace selfomat::camera;
using namespace selfomat::ui;
std::string BoothLogic::TAG = "BoothLogic";
bool BoothLogic::start() {
wasSuccessfullyStopped = false;
LOG_D... |
/* Copyright (C) 2006 - 2010 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 Foundation; either version 2 of the License, or
* (at your option) any l... |
#include "solarsystem.hpp"
#include "data.hpp"
#include <cmath>
// Add vcl namespace within the current one - Allows to use function from vcl library without explicitely preceeding their name with vcl::
using namespace vcl;
mesh create_universe(float dimension);
star& create_star(float radius, float mass, vcl::v... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* 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.... |
/*
* ===========================================================================
* Loom SDK
* Copyright 2011, 2012, 2013
* The Game Engine Company, LLC
*
* 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... |
#include <fstream>
#include <iostream>
#include <sstream>
#include <numeric>
#include <chrono>
#include <vector>
#include <opencv2/opencv.hpp>
#include <dirent.h>
#include "NvInfer.h"
#include "NvInferPlugin.h"
#include "cuda_runtime_api.h"
#include "logging.h"
#include "BYTETracker.h"
#include "tkDNN/Yolo3Detection.h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.