text stringlengths 8.71k 38.4k |
|---|
#include <iostream>
#include <fstream>
#include <pcl/io/obj_io.h>
#include <pcl/io/ply_io.h>
#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <pcl/common/transforms.h>
#include <pcl/common/common.h>
#include <pcl/ml/kmeans.h>
#include <pcl/filters/extract_indices.h>
#include <opencv2/core/core.hpp>
... |
/*
* 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 "controlconfig/controlsconfig.h" //For textify scancode
#include... |
#include <algorithm>
#include "operators/opPowerSet.h"
#include "operators/opTupleIndex.h"
#include "operators/quantifier.h"
#include "parsing/parserCommon.h"
#include "types/allVals.h"
using namespace std;
using namespace lib;
using namespace nlohmann;
namespace {
auto fakeTupleDomain(vector<AnyDomainRef> inners) {
... |
/* USB EHCI Host for Teensy 3.6
* Copyright 2017 <NAME> (<EMAIL>)
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use... |
#define _USE_MATH_DEFINES
#include "swc_reader.h"
#include "../compatibility.h"
#include <fstream>
#include <iostream>
#include <sstream>
#include <locale>
#include <algorithm>
#include <map>
vector<string> split(const string &str, const string &delim, const string &abort_delim)
{
vector<string> res;
size_t current ... |
#include <CtrlLib/CtrlLib.h>
using namespace Upp;
#include "MediaFile.h"
#include "MediaPlayer.h"
#include "utility.h"
#include "mediaplayer_in.h"
static inline void fill_rectangle(SDL_Surface *screen,
int x, int y, int w, int h, int color)
{
SDL_Rect rect;
re... |
// ADMAX Advanced Document Management And Xtras
//
// Copyright 2021 <NAME>
//
// This is part of MObs https://github.com/AlMarentu/ADMAX.git
//
// 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 ... |
/*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/LICENS... |
#include <array>
#include <algorithm>
//#include <iterator>
#include <iostream>
#include <thread>
#include <mutex>
#include <vector>
#include <deque>
#include <boost/asio.hpp>
#include <boost/function.hpp>
#include <boost/bind.hpp>
//#include <boost/thread.hpp>
#include <boost/program_options.hpp>
#include <stdint.h>
... |
// __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... |
/*
osu!AutoBot
Copyright (C) 2016 <NAME>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the h... |
//
// Copyright 2020 - present Isotropix SAS. See License.txt for license information
//
#include "./kubix_render_delegate.h"
// Clarisse includes
#include <module_scene_object.h>
#include <of_object.h>
#include <of_app.h>
#include <sys_thread_lock.h>
#include <sys_thread_task_manager.h>
// Local includes
#include ".... |
#include <DroneDeconflict.hpp>
#include <iostream>
#include <math.h>
#include <cmath>
#include <ctime>
#include <ros/ros.h>
using namespace std;
#define earthRadiusKm 6371.0
// This function converts decimal degrees to radians
double deg2rad(double deg) {
return (deg * M_PI / 180);
}
// This function converts rad... |
/*
* The BigBallistic demo.
*
* Part of the Cyclone physics system.
*
* Copyright (c) Icosagon 2003. All Rights Reserved.
*
* This software is distributed under licence. Use of this software
* implies agreement with all terms and conditions of the accompanying
* software licence.
*/
#include <cy... |
#include "SvgaPrivate.h"
static std::vector<std::string> __split_comma_and_space (const std::string &_spath) {
std::vector<std::string> _v;
std::string _tmp = "";
for (int i = 0; i < _spath.size (); ++i) {
char _ch = _spath [i];
if (_ch == ',' || _ch == ' ' || _ch == '\t' || _ch == '\r' || _ch == '\n') {
i... |
// xdb_dump.cpp : Defines the entry point for the console application.
//
#include <cstdio>
#include <cstring>
#include <cstdlib> /* atoi */
#include <string>
#include <vector>
#include <map>
#include <algorithm> // std::find std::sort
// Select one of below macro:
// _XDB_GEN_TOOL_EXPORT_ will use dict_cht.u... |
int i1Z ,
rly, H,qwI2
,
Sf ,//DX
KmPZKU ,
ucy, cuB7j3//p9m
,sUcs , yoL
/*m*/,UY, BP,G5//v
, reh,tG006 ,J,OT, //tGP7sU
tO0, g, YbD8
,zuQ, oR,Pr9
, J1Ye,
xk, o4Yd ,mMS
, O27l
,
aeu //J
,
pTh2a0, ir//UIIs
,
NG7 //n
, OhdLBm , hyY,AXgPrJO29/*FcYv9J*/,
I0B , uISCWw, kbiV/*zJ*/ ,hSs,I4
,qc
, OYZ;... |
// -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*-
#include "events-serializer.h"
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <pthread.h>
#include <inttypes.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <time.h>
#include <sys/mman.h>
... |
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
#include "FastCaloSimAnalyzer/TFCSShapeValidation.h"
#include "TString.h"
#include "TMath.h"
#include "TFile.h"
#include "TH1.h"
#include "TH2.h"
#include "TProfile2D.h"
#include "TCanvas.h"
#include "TChain.h"
#include <iostream>
#inc... |
//
// Detector.cpp
#include "Detector.h"
#include "Functors.h"
Detector::Detector(BkgResponse bkg, DistResponse distResp, AngularResponse angResp, double edge_limit, unsigned int mean_iters, unsigned int sim_iters, boost::shared_ptr<ListModeSimulator> simulator) : bkg(bkg), distResp(distResp), angResp(angResp), dist... |
// ----------------------------------------------------------------------------
// tropter: IPOPTSolver.cpp
// ----------------------------------------------------------------------------
// Copyright (c) 2017 tropter authors
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
// not use this ... |
// Copyright (c) 2020 Graphcore Ltd. All rights reserved.
#include "BSNonLinearity.hpp"
#include "BSOps.hpp"
#include "BSUtils.hpp"
#include "poplibs_support/Tracepoint.hpp"
#include "poplibs_support/logging.hpp"
#include "popops/Cast.hpp"
#include "popops/ElementWise.hpp"
#include "popops/ElementWiseUtil.hpp"
#includ... |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) DreamWorks Animation LLC
//
// All rights reserved. This software is distributed under the
// Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ )
//
// Redistributions of source code must retain the above copyrigh... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Filename : main.cpp *
* Project : Planewalker - Schnorr-Euchner sphere decoder simulation for space-time lattice codes *
* Au... |
#if defined(USE_QT4)
#include <QWidget>
#include <QFont>
#include <QKeyEvent>
#include <QTimer>
#include <QColor>
#include <QPainter>
#include <QTextCodec>
#include <QInputMethodEvent>
#elif defined(USE_QTOPIA)
#include <qwidget.h>
#include <qfont.h>
#include <qtimer.h>
#include <qcolor.h>
#include <qpainter.h>
#endif
... |
#include <3ds.h>
#include <string>
#include <citro2d.h>
#include "gfx.h"
#include "utils.h"
#include "keyboard.h"
#include "InputManager.h"
#define KEYS_PER_ROW 10
#define KEYBOARD_ROWS 4
#define KEYS_AMOUNT 36
static const u32 SWKBD_BG = C2D_Color32(0x21, 0x8B, 0x2B, 0xFF);
static const u32 SWKBD_BAR = C2D_Color32(0... |
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
//===- llvm-cxxdump.cpp - Dump C++ data in an Object File -------*- C++ -*-===//
//
// 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
//
//===---------------------------... |
/*******************************************************************\
Module: Generates string constraints for string transformations,
that is, functions taking one string and returning another
Author: <NAME>, <EMAIL>
\*******************************************************************/
/// \file
/// Genera... |
int DG17IY,
Iwt
,
/*N*/ cYJJ,mXQ,tb4,kL ,
peJHE,zj ,Rv ,
cNm,fFY,
G, PB ,p , w , KkcOS ,UEA,OCtf , //f
iop, n //GJn
,
wLQgB ,//M
VD
,YdT2,JO
, yQ ,
iJWOz/*9V*/ ,
PM,i0S
, //L
gZf, Gn,//Fd
okM,//Tc1
HGA0,
CzZ
,XfTGHKp
,DLk ; void
f_f0 (){ volatile int
TEf ,uAfyx , g/*P*/,pkj,/*WdRW*/UIda//E
,
id... |
// ====================================================================
// This file is part of FlexibleSUSY.
//
// FlexibleSUSY is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the Licens... |
#include "vtkKMeansStatistics.h"
#include "vtkStringArray.h"
#include "vtkKMeansAssessFunctor.h"
#include "vtkKMeansDistanceFunctor.h"
#include "vtkObjectFactory.h"
#include "vtkDataObject.h"
#include "vtkDoubleArray.h"
#include "vtkInformation.h"
#include "vtkMultiBlockDataSet.h"
#include "vtkStatisticsAlgorithmPriva... |
#include "engine.h"
#include "UserKnowledgeBase.h"
#include <numeric>
#include <mutex>
#include "Process.h"
#include "SharedMemoryKnowledgebase.h"
#include "CompiledKnowledgebase.h"
#include "IkSummarizer.h"
#include "IkPath.h"
#include "IkIndexInput.h"
#include "IkIndexProcess.h"
#include "RegExServices.h"
const st... |
/*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include "image.h"
#include "../display/simgraph.h"
#include "../simtypes.h"
#include "../simdebug.h"
#include "../macros.h"
#include <string.h>
#include <stdlib.h>
/*
* Definition of special colors
* @au... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("Ofast,no-stack-protector")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
#pragma GCC optimize("unroll-loops")
#define _CRT_SECURE_NO_WARNINGS
# include <bits/stdc++.h>
# include <cstdio>
# include <cstring>
# i... |
/*
* memcpyCudaOpenGL.cpp -- Fast memory copy between CUDA and OpenGL resources.
*
* This function, compiled into a MEX file for Mathworks Matlab or GNU/Octave
* allows to exchange data between NVidia CUDA memory buffers and other resources
* and OpenGL resources, such as textures, renderbuffers, framebuffer ... |
#include "pfxobjects.h"
#include "sceneglobals.h"
#include <cstring>
#include <cassert>
#include "graphics/submesh/pfxemittermesh.h"
#include "graphics/dynamic/painter3d.h"
#include "light.h"
#include "particlefx.h"
#include "pose.h"
#include "rendererstorage.h"
#include "skeleton.h"
using namespace Tempest;
std::m... |
/*
* Copyright (C) 2011-2018 <NAME>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the author(s) 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 comm... |
// Copyright (c) <NAME>
// Licensed under the MIT License
#define __LOG_CPP
#include <string.h>
#include <fstream>
#include <dx7\ddraw.h>
#include <dx7\dplay.h>
#include <dinput.h>
#include "Log.h"
#include "Orbiter.h"
using namespace std;
extern char DBG_MSG[256];
extern TimeData td;
char logname[256] = "Orbiter.... |
#include <chrono>
#include "Planet.h"
#include "../../util/Shader.h"
#include "../../util/ShadowMap.h"
#include "../../util/Texture.h"
#include "SurfaceReflection.h"
#include "../../util/ShaderUtils.h"
#include "../../util/ShaderNoise.h"
#include "../sky/SkyShader.h"
static const char* _vs[] = {
"attribute vec4 posi... |
/*
* Copyright 2008, The Android Open Source Project
*
* 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 ... |
//-----------------------------------------------------------------------------
//
// Class: CSCMotherboardME11
//
// Description:
// Extended CSCMotherboard for ME11 to handle ME1a and ME1b separately
//
// Author List: <NAME> 12 May 2009
//
//
//---------------------------------------------------------------... |
#include "local_planner/local_planner.h"
Eigen::IOFormat CleanFmt(4, 0, ", ", "\n", "[", "]");
LocalPlanner::LocalPlanner(ros::NodeHandle nh)
: local_body_planner_nonlinear_(), local_footstep_planner_() {
nh_ = nh;
// Load rosparams from parameter server
std::string terrain_map_topic, body_plan_topic, robo... |
#include "RecoParticleFlow/PFClusterProducer/interface/PFClusterEMEnergyCorrector.h"
#include "vdt/vdtMath.h"
#include <array>
namespace {
typedef reco::PFCluster::EEtoPSAssociation::value_type EEPSPair;
bool sortByKey(const EEPSPair &a, const EEPSPair &b) { return a.first < b.first; }
double getOffset(const d... |
#include <opencv2/opencv.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include <stdio.h>
using namespace cv;
#include <vector>
struct CameraParams
{
double ppx = 0.0;
double ppy = 0.0;
double focal = 0.0;
double aspect = 0.0;
M... |
#include "std.h"
#include "stm.h"
#include "toker.h"
using namespace CG;
//******************** Stm ************************
Stm::~Stm(){
}
//***************** SourceInfo ********************
void DebugInfoStm::eval( Block *b ){
CGDat *d=genDebugStm( source_info );
if( d ) b->emit( eva(jsr(CG_INT32,CG_CDECL,mem(C... |
#include "TT06Dev_Reaction.hh"
#include <cmath>
#include <cstdlib>
#include <iostream>
#include "Anatomy.hh"
#include "TT06Func.hh"
#include "TT06Gates.h"
#include "TT06NonGates.h"
#include "pade.hh"
#include "PerformanceTimers.hh"
#include "ThreadServer.hh"
#include "mpiUtils.h"
#include <cstdlib>
#include <cstring>
#... |
/* autlib4.f -- translated by f2c (version 19970805).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "auto_f2c.h"
#include "auto_c.h"
BEGIN_AUTO_NAMESPACE;
/* ----------------------------------------------------------------------- */
/* -----------------------... |
// Copyright 2021 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree-dialects/Dialect/IREE/IREEOps.h"
#include "iree-dialects/Dialect/IREEPyDM/IR/Ops.h... |
#include <array>
#include <tuple>
#include "acmacs-base/log.hh"
#include "acmacs-virus/virus-name-normalize.hh"
static void test_from_command_line(int argc, const char* const* argv);
static void test_builtin();
// ----------------------------------------------------------------------
int main(int argc, const char* ... |
/****************************************************************************
* CrElectronPrimary.cc:
****************************************************************************
* Read comments at the head of CosmicRayGeneratorAction.cc
* and GLAST-LAT Technical Note (LAT-TD-250.1) by <NAME> et al.
* for overall... |
/* adaptive rejection metropolis sampling */
/* *********************************************************************** */
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
/* ***********************************************************... |
/*
Use Hough transform to detect ice rings (ellipses)
The Hough transform is broken down into the following series of steps:
1) Gaussian Blur - removes noise from the image
2) Sobel Filter - finds edges in the image based on the gradient of pixel
intensities (large changes from light ... |
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <mutex>
#include "awk.h"
#include "ytab.h"
#include "proto.h"
#include <awklib/err.h>
#define DEFAULT_FLD 2 // Initial number of fields
#define DEFAULT_ARGV 3 // Initial number of entries in ARGV
#define NFA 2... |
#include <memory>
#include <thread>
#include <vector>
#include <mutex>
#include <tuple>
#include <atomic>
#include "xx_net.h"
#include "xx_looper.h"
#include "xx_data.h"
#include "xx_chrono.h"
#include "ikcp.h"
#include "tsl/hopscotch_map.h"
/*
多线程同时监听同一个 udp port, 阻塞收取
如果是 握手, 投递到一个独立线程处理. 使用来源 fd & addr 发回携带 conv... |
/*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... |
/***********************************************************************************************************************
* *
* ANTIKERNEL v0.1 ... |
#include "state_merger.h"
#include "evaluate.h"
#include <stdlib.h>
#include <math.h>
#include <vector>
#include <map>
#include <stdio.h>
#include <gsl/gsl_cdf.h>
#include "fixed_depth_regression.h"
#include "parameters.h"
REGISTER_DEF_DATATYPE(fixed_depth_mse_data);
REGISTER_DEF_TYPE(fixed_depth_mse_error);
int seq... |
//
// Copyright 2019 The MLIR Authors.
//
// 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... |
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fstream>
#include <iostream>
#include <string>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include "radar_utils.hpp"
static inline bool exists(const std::string& name) {
struct stat buffer;
return !(... |
/**
* @file TaggerOptions.cc
* @Author <NAME>
* @brief Class for reading config files.
*/
///////////////////////////////////////////////////////////////////////////////
// ... |
/*
Copyright (C) 2012 <NAME>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distribut... |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... |
/***************************************************************************
* Copyright (C) 2006 *
* *
* *
* This p... |
/*
* Copyright (c) 2016 Surround.IO Corporation. All Rights Reserved.
* Copyright (c) 2017 Xevo Inc. All rights reserved.
*
* 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... |
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/common/common.h>
#include <pcl/common/time.h>
#include <pcl/console/print.h>
#include <pcl/console/parse.h>
#include <pcl/console/time.h>
#include <pcl/filters/passthrough.h>
#include <pcl/filters/voxel_... |
/*
* Copyright 2017 <NAME> (<EMAIL>)
* 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 writ... |
// ROS specific includes
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl/ros/conversions.h>
// PCL specific includes
// PCL feature includes
#include <pcl/features/normal_3d.h>
#include <pcl/features/normal_3d_omp.h>
#include <pcl/features/integral... |
/*
* global_nn_classifier.cpp
*
* Created on: Mar 9, 2012
* Author: aitor
*/
#include <pcl/apps/3d_rec_framework/pipeline/global_nn_recognizer_cvfh.h>
#include <pcl/registration/icp.h>
#include <boost/random.hpp>
#include <boost/random/normal_distribution.hpp>
#include <pcl/common/time.h>
#include <pcl/visu... |
/*************************************************************************
This file is part of 'Mercenaries of Astonia v2'
Copyright (c) 1997-2001 <NAME> (<EMAIL>)
All rights reserved.
**************************************************************************/
/* lab9.c -- riddle mechanisms and data for lab... |
/*\
|
| Author:
| <NAME>
| University of Trento
| Department of Industrial Engineering
| Via Sommarive 9, I-38123, Povo, Trento, Italy
| email: <EMAIL>
\*/
#define HIEBERT_BIBTEX \
"@article{Hiebert:1982,\n" \
" author = {<NAME>.},\n" \
" title = {An Evaluation of Mathematical Software That... |
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmDependsFortran.h"
#include "cmsys/FStream.hxx"
#include <assert.h>
#include <iostream>
#include <map>
#include <stdlib.h>
#include <string.h>
#include <utility... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
int LNZ ,E
, xc3 , Zy/**/, gh ,/*zF*/r9, YgTB7r
, zpb, jVhO,pTL, ZP,/*7oi*/ J1 ,OPv,
qCv ,/*O*/K1geYU ,TU , Hgpn/*hfM*/, Ty/*exU*/ , oTOd0/**/
,kqm,
R ,
ks5 ,P9IA, dv,zF
,pK
,w ,/*In5XR*/ JKB /**/,ZHq,//eQ
e6nJ//Py5L
, NW,
Sz,/*DN4*/UnK ,
p, Sg ,
ApA,e , G1M , w6k0,
MHi,D6mW,EEBCk ,fG
,
R4HlI4P ... |
/*
* pmacHardwareTurbo.cpp
*
* Created on: 27 Oct 2016
* Author: gnx91527
*/
#include "pmacHardwareTurbo.h"
#include "pmacController.h"
const std::string pmacHardwareTurbo::GLOBAL_STATUS = "???";
const std::string pmacHardwareTurbo::AXIS_STATUS = "#%d?";
const std::string pmacHardwareTurbo::CS_STATUS = "&%... |
#include "move_utils.h"
#include "place_util.h"
#include "globals.h"
#include "vtr_random.h"
//Records counts of reasons for aborted moves
static std::map<std::string, size_t> f_move_abort_reasons;
void log_move_abort(std::string reason) {
++f_move_abort_reasons[reason];
}
void report_aborted_moves() {
VTR... |
//===- USRGeneration.cpp - Routines for USR generation --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
InterfaceContext.cpp
The context under which the entire game interface is ran
(c)2005 Palestar, <NAME>
*/
// uncomment to lose profiling information
//#define PROFILE_OFF
#pragma warning( disable : 4146 ) // c:\Projects\Medusa\Standard\String.h(892) : warning C4146: unary minus operator applied to unsigned typ... |
/*
PololuQTRSensors.cpp - Library for using Pololu QTR reflectance
sensors and reflectance sensor arrays: QTR-1A, QTR-8A, QTR-1RC, and
QTR-8RC. The object used will determine the type of the sensor (either
QTR-xA or QTR-xRC). Then simply specify in the constructor which
Arduino I/O pins are connected to a QTR... |
#include "TileNavigationData.h"
#include "TileNavComponent.h"
#include "DrawDebugHelpers.h"
#include "Kismet/GameplayStatics.h"
ATileNavigationData::ATileNavigationData(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer) {
FindPathImplementation = FindPath;
}
void ATileNavigationData::Post... |
//==-------------------------------------------------------------*- C++ -*--==//
//
// Copyright 2019 Contributors to the Gazer 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
//
... |
// Copyright (c) 2017-2018 CIYAM Developers
//
// Distributed under the MIT/X11 software license, please refer to the file license.txt
// in the root project directory or http://www.opensource.org/licenses/mit-license.php.
#ifdef PRECOMPILE_H
# include "precompile.h"
#endif
#pragma hdrstop
#ifndef HAS_PRECOMPILED_ST... |
// @HEADER
// ************************************************************************
//
// Intrepid Package
// Copyright (2007) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by or on behalf of the ... |
// Wrapper for UAI competition code -- For qlou solvers (?)
//
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <queue>
#include <boost/program_options.hpp>
#include "graphmodel.h"
#include "wmbe.h"
#include "mcts.h"
#include "wmbsearch.h"
#include "searchsample.h"
... |
// *****************************************************************************************
// Copyright (C) 2011 <NAME>, 2017 <NAME> and <NAME>
// You may use, distribute and modify this code under the terms of the ACADEMIC PUBLIC
// license (see the attached LICENSE_WISE file).
//
// This file is part of the WiseMne... |
#include <iostream>
#include "../../tools/mp_network.h"
#include "../../tools/vandermonde.h"
#include <libff/algebra/curves/edwards/edwards_pp.hpp>
#include <libiop/algebra/fft.hpp>
#include <libiop/algebra/fields/gf64.hpp>
#include <libiop/algebra/field_subset/subspace.hpp>
#include <libiop/algebra/utils.hpp>
using... |
//
// Circle3DOverlay.cpp
// interface/src/ui/overlays
//
// Copyright 2014 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 "Circle3DOverlay.h"
#include <GeometryUtil.h>
#include <Geom... |
/*
* makepset_t.cc
* EDMProto
*
* Created by <NAME> on 5/18/05.
*
*/
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/PythonParameterSet/interface/PyBind11ProcessDesc.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "FWCore/Utilities/interface/resolveSymbolicLinks.h"
#... |
#include <bits/stdc++.h>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <glm/gtx/transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <vector>
#define X 0.52573111211913606
#define Z 0.85065080835203992
//using namespace std;
void framebuffer_size_callback(G... |
#include "include/postprocessor.h"
using namespace std;
/*
multiply by scales and store into two array(boxes_float, clses_float)
*/
void PostprocessorManager::transpose_and_copy(float *boxes_float, float *clses_float,
int8_t *clses0, int8_t *clses1, int8_t *clses2, int8_t *clses3, int8_t *c... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkOpEdgeBuilder.h"
#include "SkPathOpsCommon.h"
#include "SkPathWriter.h"
#include "SkTSort.h"
static int contourRangeCheckY(const SkTArray<SkOpContour*, true>& cont... |
#include "importer.hpp"
#include <iostream>
#include <string>
#include <map>
#include <vector>
#include <algorithm>
#include <sstream>
#include <components/misc/stringops.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/fstream.hpp>
namespace bfs = boost::filesystem;
MwIniImporter::MwIniImporter... |
#include <iostream>
#include <set>
#include <limits>
#include <time.h>
#include <vector>
#include <cstdlib>
#include <cstdio>
#include <assert.h>
#if !defined(_MSC_VER) && !defined(__MINGW32__)
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#endif
#include <fcntl.h>
#include "moab/Interface.hpp"
#incl... |
/*
Stockfish, a UCI chess playing engine derived from Glaurung 2.1
Copyright (C) 2004-2008 <NAME> (Glaurung author)
Copyright (C) 2008-2010 <NAME>, <NAME>, <NAME>
Stockfish 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 ... |
// Copyright 2017-2021 <NAME>
/// @file
/// @brief Support for Toshiba protocols.
/// @see https://github.com/r45635/HVAC-IR-Control
/// @see https://github.com/r45635/HVAC-IR-Control/blob/master/HVAC_ESP8266/HVAC_ESP8266T.ino#L77
/// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/1205
/// @see https://ww... |
/*
* 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... |
#include <iostream>
#include <iomanip>
#include "cpu65c02.h"
#include "decode.h"
void Cpu65C02::reset()
{
m_pc = read16(0xFFFC);
m_flags.decimal = 0;
std::cout << "Resetting CPU. PC=" << std::hex << std::setw(4) << m_pc;
std::cout << std::dec << std::endl;
m_instCounter = 0;
} // reset
static uint... |
// -*- mode: c++; indent-tabs-mode: nil; -*-
//
// Copyright (c) 2009-2012 Illumina, Inc.
//
// 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 limit... |
#include "main.h"
#include "timer.h"
#include "boat.h"
#include "rock.h"
#include "aim.h"
#include "monster.h"
#include "barrel.h"
#include "sail.h"
#include "wind.h"
#include "patches.h"
#include "gift.h"
#include "ocean.h"
#include "giftbarrel.h"
#include "pool.h"
using namespace std;
GLMatrices Matrices;
GLuint ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.