text stringlengths 8.71k 38.4k |
|---|
#include <iostream>
#include <fstream>
#include "acmacs-base/argv.hh"
#include "acmacs-base/enumerate.hh"
#include "acmacs-base/range.hh"
#include "acmacs-base/string.hh"
#include "acmacs-base/string-split.hh"
#include "acmacs-base/read-file.hh"
#include "acmacs-base/temp-file.hh"
#include "acmacs-base/quicklook.hh"
#... |
#include <iostream>
#include <numeric>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/viz/vizcore.hpp>
#include <kfusion/kinfu.hpp>
#include <kfusion/cuda/marching_cubes.hpp>
//#include <io/capture.hpp>
//#include <io/bin_grabber.hpp>
#include <string>
#include <thread>
... |
#include "brush.h"
#include "hlbsp.h"
#include <stdio.h>
#include <time.h>
float calc_distance(vec3 point, Plane plane)
{
return dot(point, plane.normal) - plane.distance;
}
int32 Environment::new_vertexNode()
{
vertexNodes.push_back({});
return vertexNodes.size()-1;
}
int32 Environment::new_vertex()
{
... |
// Ethernet communications with APS2 boards
//
// Original authors: <NAME>, <NAME>, <NAME>
// Copyright 2016, Raytheon BBN Technologies
#include <unordered_map>
using std::unordered_map;
#include <queue>
using std::queue;
#include "APS2Ethernet.h"
#include "constants.h"
#include "helpers.h"
#include <plog/Log.h>
#if... |
/*
* * Copyright (c) 2014 Juniper Networks, Inc. All rights reserved.
* */
#include <stdint.h>
#include "base/os.h"
#include <map>
#include "vr_defs.h"
#include "base/timer.h"
#include "cmn/agent_cmn.h"
#include "pkt/proto.h"
#include "pkt/proto_handler.h"
#include "diag/diag.h"
#include "diag/diag_proto.h"
#incl... |
#include "stdafx.h"
#include <dinput.h>
#include "../xrEngine/xr_ioconsole.h"
#include "../xrEngine/xr_input.h"
#include "../xrEngine/xr_ioc_cmd.h"
#include "xr_level_controller.h"
#include "string_table.h"
_binding g_key_bindings[bindings_count];
_key_group g_current_keygroup = _sp;
_action actions[] = {
{ "left... |
// Copyright (c) 2012-2016, NVIDIA CORPORATION. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of con... |
#include "pch.h"
#include "vehicle.h"
#ifndef PHYSICS_ONLY
#include "rendering/pbr.h"
#include "geometry/mesh.h"
#include "geometry/geometry.h"
#include "core/imgui.h"
#endif
struct gear_description
{
float height;
float cylinderRadius;
float cylinderInnerRadius;
uint32 numTeeth;
float toothLength;
float too... |
#include <RcppArmadillo.h>
#include <RcppEigen.h>
#include "mnre.h"
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::depends(RcppEigen)]]
using namespace arma;
#define DEBUG 0
#define EXPAND_ROW 0
#define EXPAND_COLUMN 1
//' Index from dimension and class indicies
//'
//' @param i_dim integer
//' @param i_class in... |
int /*GA*/ mGC,Uy,
vua,
jQby6,pghY ,/*ts*/SP
,zZLLV ,H7uaQ , t0, SQp4 ,
I
, nQWISR , /*z2p*/U ,GL ,YGN,hRm1
,yul
, AAv
, Mg ,Hk ,//z
Mvj
,iCg1,p51,d ,GWk9, iBK ,Jc , qq
,
py,
/*efY*/m0u4a
, yDSI//K6R9
,SN
, J5U,B ,
y53j
, zy, DYP ,
t ;void f_f0(){
return ; ;
{ {
//8kI
; {
for (int i=1
;i<
1
;++i
)... |
// NOLINT(legal/copyright)
/*****************************************
slight_FaderLin
concept for millis() based fading system
written by <NAME> (s-light),
<EMAIL>, http://s-light.eu, https://github.com/s-light/
changelog / history
05.09.2013 10:00 created.
07.09.2013 17... |
// Copyright (C) 2019. Huawei Technologies Co., Ltd. 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 restriction, including without limitation the rights to use,... |
/*
* MyPIDCntrllr.cpp
*
* Created on: 11 set 2017
* Author: andrea
*/
#include <agents/MyPIDCntrllr.h>
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <boost/log/trivial.hpp>
#include <events/MyIMUSample.h>
#include <events/MyBaroSample.h>
#include... |
#include "wer.h"
#include "AlignmentTraversor.h"
using namespace std;
void RecordWerResult(Json::Value &json, WerResult wr) {
json["insertions"] = wr.insertions;
json["deletions"] = wr.deletions;
json["substitutions"] = wr.substitutions;
json["numWordsInReference"] = wr.numWordsInReference;
json["numErrors... |
int GoYtFT
, va , na,
Vhjg, mi/*MNpA*/ , Isfp, ge,fOR, eo , /*mp*/Z5T
,sqA ,DKsT
, PQloA
, fI
, YrVW , Ly/*y*/,
a5in ,
TvM ,EWLP,
zJLgN
,iab ,hI ,
jO//x
,JMyA , CJg, jS
,a41w
,viS//A
,
//
Dor7 ,
vjKd ,JQpr
,//Qk
oK,iZ8sw ,C
, oDgB//T2
,WpM
,oM9l
,
Xz ,nqD,//r
BXh,cM,BXY
//EL
,WS , MO,Yp/*X*/; void... |
/*------------------------------------------------------------------------------
* preceph.c : precise ephemeris and clock functions
*
* Copyright (C) 2007-2013 by T.TAKASU, All rights reserved.
*
* references :
* [1] S.Hilla, The Extended Standard Product 3 Orbit Format (SP3-c),
* 12 February, 200... |
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */
/*********************************************************************
Copyright 1999-2007, University of Cincinnati. All rights reserved.
By using this software the USER indicates that he or she has read,
understood and will comply with the f... |
/*
* Copyright 2013-2014 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
* <NAME>, <EMAIL>
*/
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <Directory.h>
#include <DynamicBuffer.h>
#include <File.h>
#include <GopherReques... |
/**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "PrefixAllocator.h"
#include <exception>
#include <fbzmq/zmq/Zmq.h>
#include <folly/Format.h>
#include <folly/Random.h>
#incl... |
//=============================================================================
/**
* @file server.cpp
*
* $Id: server.cpp 93650 2011-03-28 08:44:53Z johnnyw $
*
* @author Source code used in TAO has been modified and adapted from thecode provided in the book
* @author "Advanced CORBA Programming with C++... |
/*
* Copyright 2004-present Facebook, Inc.
*
* 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 Lic... |
// Copyright (c) 2009-2010 <NAME>
// Copyright (c) 2017-2019 The GreenVenturesChain Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "blockpricemediantx.h"
#include "main.h"
using namespace dex;
class CC... |
//===- TypeDefGen.cpp - MLIR typeDef definitions generator ----------------===//
//
// 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
//
//===---------------------------... |
#include <cstdio>
#include <cmath>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include <map>
#include <cfloat>
#include <filesystem>
#if WIN32
#define NOMINMAX
#endif
namespace fs = std::filesystem;
// Eigen
#include <Eigen/Dense>
#include <unsupported/Eigen/CXX11/Tensor>
// OpenMP
... |
// =-=-=-=-=-=-=-
// irods includes
#include "msParam.hpp"
#include "reGlobalsExtern.hpp"
#include "rcConnect.hpp"
#include "miscServerFunct.hpp"
// =-=-=-=-=-=-=-
#include "irods_resource_plugin.hpp"
#include "irods_file_object.hpp"
#include "irods_physical_object.hpp"
#include "irods_collection_object.hpp"
#include ... |
/* set ellipsoid parameters a and es */
#include <math.h>
#include <stddef.h>
#include <string.h>
#include "R-libproj/proj.h"
#include "R-libproj/proj_internal.h"
/* Prototypes of the pj_ellipsoid helper functions */
static int ellps_ellps (PJ *P);
static int ellps_size (PJ *P);
static int ellps_shape (PJ *P);
stat... |
/**
* 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... |
//-------------------------------------------------
//
// Class: DTTSPhi.cpp
//
// Description: Implementation of TS Phi trigger algorithm
//
//
// Author List:
// <NAME>
// Modifications:
// jan02 - D.Bonacorsi/S.Marcellini
// improved algorithm for 2nd track handling in case of pile-up in TSM
//... |
//=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... |
/*
* Updates made by <NAME>, Fall 2021.
*
* Copyright (c) 2017-2019, <NAME>, <NAME>
* RIMLab, Department of Information Engineering, University of Parma, Italy
* http://www.rimlab.ce.unipr.it/
*/
#include "download_pc2_action.h"
#include "elastic_bridge.h"
/**
* @brief Constructor for ElasticBridge instanc... |
// 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
// GLEW
#include <GL/glew.h>
// GLUT
#include <GL/freeglut.h>
// STL
#include <iostream>
// GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#... |
// Copyright (c) 2021 CINN 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 appl... |
/*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : <NAME>
Contributors : <NAME>, <NAME>.
[1] <NAME>, <NAM... |
#include "blob_gc_job.h"
#include "blob_gc_picker.h"
#include "db_impl.h"
#include "delta_compression.h"
#include "rocksdb/options.h"
#include "rocksdb/statistics.h"
#include "test_util/testharness.h"
#include "titan/options.h"
#include "utilities/transactions/write_prepared_txn_db.h"
#include <bits/types/struct_times... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdarg.h>
#include <raims/session.h>
#include <raims/transport.h>
using namespace rai;
using namespace ms;
using namespace kv;
using namespace md;
void
UserDB::make_hb( TransportRoute &rte, const char *sub, size_t sublen,
... |
#include "stdafx.h"
#include <GWCA/GameEntities/Player.h>
#include <GWCA/GameEntities/Map.h>
#include <GWCA/GameEntities/Party.h>
#include <GWCA/GameEntities/Guild.h>
#include <GWCA/GameEntities/Item.h>
#include <GWCA/Context/GameContext.h>
#include <GWCA/Context/PartyContext.h>
#include <GWCA/Context/CharContext.h>
... |
/** \class HLTGetDigi
*
* See header file for documentation
*
*
* \author various
*
*/
#include "HLTrigger/HLTanalyzers/interface/HLTGetDigi.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
// system includ... |
#include "Scanner.hpp"
Scanner::Scanner(shared_ptr<Input> input_ptr) {
// scanner constructor initializes all FAs and column, line numbers and file pointer
// initialize input
this->input_ptr = input_ptr;
this->file_buf_ptr = input_ptr->detach_input();
// initialize token list
this->consumed = TokenListPtr(new... |
#include "types.h"
/*
Generated from dpostproc
.section .ctors, "wa" # 0x80472F00 - 0x804732C0
.4byte __sinit_mapMgrTraceMove_cpp
.section .data, "wa" # 0x8049E220 - 0x804EFC20
.global lbl_804BEF00
lbl_804BEF00:
.4byte 0x00000000
.4byte 0x00000000
.4byte 0x00000000
... |
//
// Created by <NAME> on 7/21/15.
//
#include "AliExternalFormatConverter.h"
#include <fstream>
#include <AliEveTrack.h>
#include <AliEveMUONTrack.h>
#include <AliESDcascade.h>
#include <AliESDkink.h>
#include <AliESDMuonTrack.h>
#include <AliESDtrack.h>
#include <AliGeomManager.h>
#include <AliPDG.h>
#include <A... |
// RBotFirmware
// <NAME> 2016-19
#include "TrinamicsController.h"
#include "RdJson.h"
#include "ConfigPinMap.h"
#include "Utils.h"
#include "TMC5072_registers.h"
static const char* MODULE_PREFIX = "TrinamicsController: ";
TrinamicsController* TrinamicsController::_pThisObj = NULL;
TrinamicsController::TrinamicsCon... |
// -*- C++ -*-
//
// ======================================================================
//
// <NAME>, U.S. Geological Survey
// <NAME>, GNS Science
// <NAME>, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://geodynamics.org).
//
// Copyright ... |
// Remap2d class
#include <stdio.h>
#include <stdlib.h>
#include "remap2d.h"
#include "pack2d.h"
#include "version.h"
/* ----------------------------------------------------------------------
fftMPI - library for computing 3d/2d FFTs in parallel
http://fftmpi.sandia.gov, Sandia National Laboratories
<NAME>, ... |
// This file is part of korektor <http://github.com/ufal/korektor/>.
//
// Copyright 2015 by Institute of Formal and Applied Linguistics, Faculty
// of Mathematics and Physics, Charles University in Prague, Czech Republic.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
... |
/* ###########################################################
# PBD algorithm implementation #
# Thesis: Muscle Fibres Deformation using Particle System #
# Author: <NAME> #
# Version: 5/2019 #
###########... |
#include "solvers/pl_eca_3.hpp"
#include "CglFlowCover.hpp"
#include "CglMixedIntegerRounding2.hpp"
#include "gurobi_c.h"
namespace Solvers::PL_ECA_3_Vars {
class PreprocessedDatas {
public:
std::vector<MutableLandscape::Node> target_nodes;
std::unique_ptr<
MutableLandscape::Graph::NodeMap<std::shared... |
#include <iostream>
#include <math.h>
#include </usr/local/include/eigen3/Eigen/Dense>
#include </usr/include/GL/glut.h>
using namespace std;
using namespace Eigen;
// First window parameters
static int window_width = 800;
static int window_height = 600;
static int window_x = 100;
static int window_y = ... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "generate.h"
#include <vespa/eval/eval/test/gen_spec.h>
#include <vespa/eval/eval/value_type_spec.h>
#include <vespa/eval/eval/aggr.h>
#include <vespa/vespalib/util/stringfmt.h>
using namesp... |
// Copyright 2021 DeepMind Technologies Limited
//
// 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 la... |
/*
* interface.c
* Copyright 2012 <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 follow... |
/*
* Copyright (C) 2015-2018 Falcon Computing Solutions, Inc. All Rights Reserved.
* Description: Xilinx Smith-Waterman Merlin compiler implementation
* Author: <NAME>
* Date: Apr 30th 2018
* Version: 1.0
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#include <string.h>
#define M... |
//
// MIT License
// Copyright (c) 2020 <NAME>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... |
/**
*
* The generic, bytes to bytes dictionary implementation for the Weld runtime.
*
* Note: See dict.h for the Weld-facing dictionary API. This implements that API.
*
* This is the generic bytes to bytes dictionary implementation for the Weld runtime. The dictionary
* uses an adaptive algorithm that transition... |
/*
* Copyright (c) 2006-2009 The Regents of The University of Michigan
* 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
* not... |
#include "CIPDetector.h"
#define PI 3.141592653589793
using namespace std;
CIPDetector::CIPDetector()
{
}
CIPDetector::CIPDetector(CIPDetectorParam paramIP){
m_paramIP = paramIP;
m_strResDir = "./";
}
void CIPDetector::setImages(const Mat &imgL,const Mat &imgR){
m_imgL = imgL;
m_imgR = imgR;
}
voi... |
#include "simplification.hpp"
#include "expression.hpp"
#include "exception.hpp"
#include <iostream>
#include <algorithm>
#include <iterator>
using std::make_shared;
/* ExprSimplifier implementation */
ExprSimplifier::ExprSimplifier(){}
void ExprSimplifier::add(ExprSimplifierFunc func){
simplifiers.push_back(fu... |
#include <stdlib.h>
#include <stdexcept>
#include <algorithm>
#include <set>
#include <map>
#include <cassert>
#include "variant.hpp"
using namespace std;
DnaSequence construct_left_flank(vector<DnaSequence>& alleles, size_t position, size_t length) {
if ((alleles.size()-1) < position) {
throw runtime_error("Varia... |
#include "ofApp.h"
#include "Geometry.h"
/*
show floor points without depth data as magenta
the center of the side view should be taken as the depth for the front, and
the center of the front view should be taken as the depth for the side.
- should visualize fg/bg
- run a contour finder on the masks, use boun... |
/*
* Copyright (c) 2014, 2021, Oracle and/or its affiliates.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2.0,
* as published by the Free Software Foundation.
*
* This program is also distributed with certain software (in... |
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-18 <NAME>
CppAD is distributed under the terms of the
Eclipse Public License Version 2.0.
This Source Code may also be made available under the following
Secondary Lice... |
// fixme: refactor this demo by extracting the container cell
#include <libgeodecomp/geometry/voronoimesher.h>
#include <libgeodecomp/io/simpleinitializer.h>
#include <libgeodecomp/io/silowriter.h>
#include <libgeodecomp/io/tracingwriter.h>
#include <libgeodecomp/misc/stdcontaineroverloads.h>
#include <libgeodecomp/par... |
#include <Elements/Matrix.h>
#include <Static/Math.h>
using namespace Ti;
// COLUMN MAJOR MATRIX
// m00 , m10 , m20 , m30
// m01 , m11 , m21 , m31
// m02 , m12 , m22 , m32
// m03 , m13 , m23 , m33
// f00 , f04 , f08 , f12
// f01 , f05 , f09 , f13
// f02 , f06 , f10 , f14
// f03 , f07 , f11 , f15
// m00 - m02 , f00 -... |
/********************************************************************************
* Copyright 2009 The Robotics Group, The <NAME>-<NAME>ler Institute,
* Faculty of Engineering, University of Southern Denmark
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... |
// Copyright (C) 2002-2016 <NAME>
// Copyright (C) 2011-2016 Nginx, Inc.
// Copyright (C) 2017 Google Inc.
// 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 co... |
/**************************************************************
*
* 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 y... |
/* Copyright 2017 <NAME>
This file is part of TopNetCpp, a translation and enhancement of
Fortran TopNet.
TopNetCpp 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 Li... |
/*
* Copyright (c) 2007, Laminar Research.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... |
/*
* 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) 2019 AUTHORS
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "octotiger/defs.hpp"
#include "octotiger/future.hpp"
#include "octotiger/node_registry.hpp"
#include "octotiger/node_serv... |
// 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 "base/metrics/persistent_memory_allocator.h"
#include <memory>
#include "base/files/file.h"
#include "base/files/file_util.h"
#include "base/fi... |
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "textcon.h"
#include <sys/param.h>
#include <memory>
#include <gfx/gfx.h>
#include <zxtest/zxtest.h>
#include "vc.h"
// The graphics used for... |
/*!
* Copyright (c) 2016 by Contributors
* \file c_api_symbolic.cc
* \brief C API of mxnet
*/
#include <mxnet/base.h>
#include <mxnet/c_api.h>
#include <mxnet/operator.h>
#include <mxnet/operator_util.h>
#include <mxnet/op_attr_types.h>
#include <nnvm/node.h>
#include <nnvm/op_attr_types.h>
#include <string>
#inc... |
//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... |
/**************************************************************************/
/*!
@file NMEA_data.cpp
@section intro Introduction
Code for tracking values that change with time so that history can be
examined for recent trends in real time. This code will only generate the
stubs for newDataValue() and data_i... |
/* This file ise used to write out JPEG file */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "jhuff.hpp"
#include "sditojpeg.h"
#define BUFFER_SIZE 256
unsigned char buffer[BUFFER_SIZE + 2], *current_byte;
extern short int zigzag[8][8];
extern int pairnum, pairnum_0;
extern FILE *stream;
/* ... |
//===-- ExecutionState.cpp ------------------------------------------------===//
//
// The KLEE Symbolic Virtual Machine
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------------------------... |
#pragma once
#include "ptx_program.hpp"
#include "ptx_parser.hpp"
#include "ptx_basic_block.hpp"
#include "protocol.hpp"
#include "ptx_stub.h"
#include "env.hpp"
#include "ptx_maker.hpp"
#include <iostream>
#include <streambuf>
#include <sstream>
#include <memory>
#include <set>
#include <map>
#include <list>
// XXX... |
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <limits.h>
#include <sstream>
#include <tudocomp/meta/Decl.hpp>
#include <tudocomp/meta/DeclLib.hpp>
#include <tudocomp/meta/Config.hpp>
#include <tudocomp/meta/Meta.hpp>
#include <tudocomp/meta/RegistryOf.hpp>
using namespace tdc::meta;
template<typename ... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to
// deal in the Software without restrictio... |
#include "InverseKinematicsExample.h"
#include "../CommonInterfaces/CommonGraphicsAppInterface.h"
#include "Bullet3Common/b3Quaternion.h"
#include "Bullet3Common/b3Transform.h"
#include "Bullet3Common/b3AlignedObjectArray.h"
#include "../CommonInterfaces/CommonRenderInterface.h"
#include "../CommonInterfaces/CommonExa... |
// Voxel Art Plugin 2021 ~ Copyright Limit
#include "Meshers/VoxelMarchingCubesMesher.h"
#include "Helpers/MarchingCubes.h"
#include "Helpers/Transvoxels.h"
FVoxelMarchingCubesMesher::FVoxelMarchingCubesMesher(AVoxelWorld* _World, FVoxelChunkData* _Data)
: FVoxelDefaultMesher(_World, _Data)
//, TransitionSides(_Da... |
#include "GBase.h"
#include "gcdb.h"
#include "GArgs.h"
#include "ctype.h"
#include <fcntl.h>
#include <string.h>
#ifdef ENABLE_COMPRESSION
#include "gcdbz.h"
#else
const char err_COMPRESSION[]="Error: compression requested but not compiled in!\n";
#endif
#ifdef __WIN32__
#define VERSION "cdbyank version 1.00 win32"
... |
/*=========================================================================
*
* 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... |
/*
* ucis_callbacks.cpp
*
* Created on: Jul 18, 2017
* Author: teovas
*/
#include <vector>
#include "ucis_callbacks.hpp"
#include <string>
using std::to_string;
static bool refinement_flag;
static string old_scope;
static int longest_common = 1 << 20;
static void print_red(const string &text, ostream &s... |
#include "OpenGL/CModelOGL.h"
#include <iostream>
#include "Model.h"
#include "CTextureHolder.h"
#include "Ilumination.h"
#include "IvMatrix44.h"
#include "SceneItem.h"
#include "MutexFactory.h"
#include "OglHelper.h"
Graphics::CModelOGL::CModelOGL(string modelName) :
m_vboBufferCreated(false),
m_hasAnimations(fal... |
//===- InstCombineVectorOps.cpp -------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include "AnalysisTools.h"
const int AnalysisTools::CUBIFY_TYPE_AVERAGE=1;
const int AnalysisTools::CUBIFY_TYPE_MODE=2;
AnalysisTools::AnalysisTools()
{
}
My4DImage * AnalysisTools::cubifyImageByChannel(My4DImage * sourceImage, int sourceChannel, int cubeSize, int type, V3DLONG* subregion=0L /* x0 x1 y0 y1 z0 z1 */,... |
#include <uWS/uWS.h>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
#include "Eigen-3.3/Eigen/Core"
#include "Eigen-3.3/Eigen/QR"
#include "helpers.h"
#include "json.hpp"
#include "spline.h"
// for convenience
using nlohmann::json;
using std::string;
using std::vector;
// d... |
#include <iostream>
#include <vector>
#include <cassert>
#include <cstring>
#include <limits>
#include <mpi.h>
enum KernelType {CubicSpline = 0, WendlandC2 = 1, WendlandC4 = 2};
#include "particle_simulator.hpp"
#include "hdr_time.hpp"
#include "hdr_run.hpp"
#ifdef USE_INTRINSICS
#include "vector_x86.hpp"
#endif
#inc... |
#include <iostream>
#include <fstream>
#include <map>
#include <ctype.h>
#include <climits>
#include <strips_prob.hxx>
#include <ff_to_aptk.hxx>
#include <fluent.hxx>
#include <action.hxx>
#include <cond_eff.hxx>
#include <strips_state.hxx>
#include <fwd_search_prob.hxx>
#include <rp_heuristic.hxx>
#include <aptk/ope... |
// Copyright (C) 2015 <NAME> (<EMAIL>), <NAME> (<EMAIL>)
// License: MIT Software License See LICENSE.txt for the full license.
// If you use this software in your research, then please use the following citation:
// Kowalski, M.; Naruniec, J.; Daniluk, M.: "LiveScan3D: A Fast and Inexpensive 3D Data
// ... |
#pragma once
#include <array>
#include <cstdint>
#include <chrono>
#include <math.h>
#include <IsrPriority.hpp>
#include <opsy.hpp>
#include <PriorityMutex.hpp>
#include <Vector.hpp>
using namespace std::chrono_literals;
enum class GyroRange : uint8_t
{
r250 = 0b00, // 250°/s range
r500 = 0b01, // 500°/s range
... |
//===========================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2012, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitt... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <chrono>
#include <vector>
#include <random>
#include <fstream>
#include <iostream>
#include <algorithm>
#include "type.h"
#include "util.h"
#include "core/async.h"
#include "core/status.h"
#include "core/auto_pt... |
#include <iostream>
#include <signal.h>
#include <SDL/SDL.h>
#include <cstdint>
#include <iostream>
#include <fstream>
#include "tachikoma.h"
#include <njson/json.hpp>
#include "xboxctrl.h"
#include <sys/time.h>
#define FPS 25
#define KEYID(k) ((k)-'a')
using namespace arma;
using namespace std;
using json = nlohmann... |
/*
* Screen.cpp
*
* Created on: 23 jan 2013
* Author: mattias
*/
#include "Screen.h"
#include <math.h>
#include <SDL/SDL.h>
#include "common.h"
#include "ImageFunctions.h"
#include "Smoke.h"
#include "Exp.h"
#include <ostream>
#include <iostream>
#include "SoundFunctions.h"
#include "Spark.h"
#include "Bomb... |
/*
* 2013-04-25 <NAME> (<EMAIL>)
*/
#include <ros/ros.h>
#include <visualization_msgs/MarkerArray.h>
#include <race_pr2_markers/BaseDynamics.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include <tf/transform_listener.h>
#include <geometry_msgs/Vector3Stamped.h>
#include <cmath>
#define PIV2 (M_PI+M_PI)
... |
#include "vbomesh.h"
int numOfThreads = MAX_NUM_OF_THREADS;
vector<thread> threads;
vector<vec3> points;
vector<vec3> normals;
vector<GLuint> faces;
vector<vector<vec3>> normalsBeside;
vector<vec3> faceNormals;
vector<float> onEdge;
vector<vec2> texCoords;
vector<vec4> tangents;
auto pointsToWrite = new vector<vec3>[M... |
//
// Created by dragos on 27.09.2018.
//
#include "analysis.h"
#include "DependencyGraph.h"
#include "ExternSpecialization.h"
#include "HandleHeaders.h"
#include "HandleStacks.h"
#include "ImplementPacket.h"
#include "InlineActionsInControls.h"
#include "InstantiatePackageModels.h"
#include "Interpreter.h"
#include "... |
// This file is distributed under the BSD 3-Clause License. See LICENSE for details.
#include <set>
#include "lbench.hpp"
#include "lgedgeiter.hpp"
#include "lgraph.hpp"
bool failed = false;
//#define VERBOSE
//#define VERBOSE2
//#define VERBOSE3
absl::flat_hash_map<Node::Compact,int> test_order;
int test_order_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.