text stringlengths 8.71k 38.4k |
|---|
#include "staticfunctions.h"
#include "meshsimplify.h"
#include "simplify.h"
MeshSimplify::MeshSimplify()
{
vcolor=0;
QStringList ps;
ps << "x";
ps << "y";
ps << "z";
ps << "nx";
ps << "ny";
ps << "nz";
ps << "red";
ps << "green";
ps << "blue";
ps << "vertex_indices";
ps <... |
/*=============================================================================
libvideo: a library for SDI video processing.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS ... |
#include "contacts.h"
#include <assert.h>
using namespace Physics_Engine;
void Contact::setBodyData(RigidBody *one, RigidBody *two, real friction, real restitution)
{
Contact::body[0] = one;
Contact::body[1] = two;
Contact::friction = friction;
Contact::restitution = restitution;
}
void Contact::calculateInterna... |
/*
* Post mapping corrections to feature tree.
*/
#include "featureTreePolish.hh"
#include <stdexcept>
#include <algorithm>
#include "annotationSet.hh"
#include <iostream>
#include "frame.hh"
#include "globals.hh"
static const bool DEBUG = false;
/* Gap closing in mappings:
* Looked at fixing in mapping alignments... |
// Copyright (C) 2013-2019 Altera Corporation, San Jose, California, USA. 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 limita... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ReachableObjects.h"
#include "DexUtil.h"
#include "Pass.h"
#include "ReachableClasses.h"
#include "Resolver.h"
using n... |
//Lab 9 CSCI 115 Spring 2021
//<NAME>
#include "GraphAM.h"
#include "Queue.h"
#include <iostream>
using namespace std;
//Simple display array function for double type
void GraphAM::ShowArray(double arr[], int size){
for (int i = 0; i < size; i++)
cout << arr[i] << " ";
}
//Simple display array function for integer... |
#include "pangene_native.h"
#include <iostream>
#include <vector>
#include <algorithm>
#include <numeric>
#include <queue>
#include <cassert>
#include <cstring>
#include <cmath>
#include <cstdint>
using namespace std;
typedef uint64_t rank_t;
typedef uint32_t seq_id_t;
typedef uint32_t gen_id_t;
#define RABIN_MODUL... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with San... |
/**
* Copyright (c) 2014 - 2015 <NAME> <<EMAIL>>
*
* This source file is part of Game Capture HD Linux driver and is distributed
* under the MIT License. For more information, see LICENSE file.
*/
#include <cstdio>
#include <vector>
#include <unistd.h>
#include "../utility.hpp"
#include "../gchd.hpp"
#include ".... |
/***************************************
** Tsunagari Tile Engine **
** area-json.cpp **
** Copyright 2011-2013 <NAME> **
** Copyright 2011-2019 <NAME> **
***************************************/
// **********
// Permission is hereby granted, free of charge, to any person obtaining ... |
/*
* TreeManager.cpp
*
* Created on: Dec 30, 2015
* Author: tonio
*/
#include "solvers/mp/TreeManager.h"
using std::string;
using std::vector;
using std::map;
using std::pair;
using std::set;
//////////////////////////////////////////////////////////////
//
// B C P T R E E S T A T S M E T H O D S
//
//... |
/* sign.c - Sign a message
* Copyright (C) 2001, 2002, 2003, 2008,
* 2010 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG 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 Foun... |
/*
* Copyright 2019 Carnegie Technologies
*
* 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 l... |
/*******************************************************************************
* Copyright (c) 2015 IBM Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, in... |
//
// gmorph.cpp
//
// Copyright (c) 1997-1998 <NAME>
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
#include "stdafx.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "smd.h"
#include "gmorph.h"
#i... |
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... |
#include <stdio.h>
#include <vector>
#include <ostream>
#include <iostream>
#include <map>
#include <functional>
#include <string>
#include <sstream>
#include <algorithm>
#include <fstream>
#include <stdlib.h>
#include <unordered_map>
#include <array>
// default input is zero, in part1 input is not used
#define DEFAUL... |
/*=========================================================================
Copyright 2009 Rensselaer Polytechnic Institute
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/lice... |
#include "NV_info.h"
#include "Replica.h"
#include "View_change.h"
#include "View_change_ack.h"
#include "New_view.h"
#include "View_info.h"
#include "Pre_prepare.h"
#include "Status.h"
#include "Array.t"
#include "K_max.h"
//
// NV_info::VC_info methods:
//
NV_info::VC_info::VC_info() : vc(0), ack_count(0), ack_r... |
/** \copyright
* Copyright (c) 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... |
// EnergyPlus, Copyright (c) 1996-2018, The Board of Trustees of the University of Illinois,
// The Regents of the University of California, through Lawrence Berkeley National Laboratory
// (subject to receipt of any required approvals from the U.S. Dept. of Energy), Oak Ridge
// National Laboratory, managed by UT-Batt... |
//
// $Id: BuilderStrategy.cpp,v 1.63 2005/02/28 05:20:14 clamatius Exp $
// Copyright (c) 2003, WhichBot Project
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistribution... |
/*
* Copyright 2015 <NAME>, ASL, ETH Zurich, Switzerland
* Copyright 2015 <NAME>, ASL, ETH Zurich, Switzerland
* Copyright 2015 <NAME>, ASL, ETH Zurich, Switzerland
* Copyright 2015 <NAME>, ASL, ETH Zurich, Switzerland
* Copyright 2015 <NAME>, ASL, ETH Zurich, Switzerland
* Copyright 2015-2020 PX4 Pro Development... |
/***
Copyright 2013-2016 <NAME>
Copyright 2014-2016 Surevine Ltd
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,... |
#include "MatlabCodex.h"
MatlabCodex::MatlabCodex()
{
identifier = "Matlab";
}
void MatlabCodex::processFile(PrimaryDataStorage * dataStorage, MessageHandlingSystem * messager, char * filename)
{
if (strstr(filename, ".mat") == nullptr
&& strstr(filename, ".MAT") == nullptr
) return;
FILE * matlabfile;
fo... |
// 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
// Copyright (c) 2016-2017, <NAME>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permi... |
/*eLiSe06/05/99
Copyright (C) 1999 <NAME>
eLiSe : Elements of a Linux Image Software Environment
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 yo... |
#include "SchaeferNewtonParametrizer.h"
#include "eigen_stl_utils.h"
#include <Eigen/SparseCholesky>
#include <igl/cotmatrix_entries.h>
#include <igl/doublearea.h>
#include <iostream>
#include "../ScafData.h"
//#undef NDEBUG
#include <assert.h>
#include <igl/slice.h>
#include <igl/slice_into.h>
//#define NDEBUG
DEC... |
/*! @file */
/*
Copyright (C) 2008, kobake
Copyright (C) 2018-2021, Sakura Editor Organization
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use th... |
/**
@author <NAME>
*/
#include "WaistBalancer.h"
#include <cnoid/PoseProvider>
#include <cnoid/LeggedBodyHelper>
#include <cnoid/ZMPSeq>
#include <cnoid/EigenUtil>
#include <cnoid/NullOut>
#include <cnoid/GaussianFilter>
#include "gettext.h"
using namespace std;
using namespace cnoid;
namespace {
const bool ... |
// MIT License
// Copyright (c) 2021 <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, merge, p... |
//===-------- LegalizeTypesGeneric.cpp - Generic type legalization --------===//
//
// 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
//
//===---------------------------... |
//===--- IndexRecord.cpp --------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LI... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestImplicitCylinderWidget.cxx
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distr... |
#include "UrdfParser.h"
#include <fstream>
#include <sstream>
#include <urdfreader/parsers/general/tinyxml2.h>
#include <urdfreader/ModelElements/query.h>
#include <urdfreader/parsers/urdf/structs/Origin.h>
using namespace std;
using namespace mbslib;
using namespace tinyxml2;
using namespace stringHel... |
#include "stdafx.h"
#include "build.h"
#include "../xrLC_Light/xrLC_GlobalData.h"
#include "../xrLC_Light/light_point.h"
#include "../xrLC_Light/xrdeflector.h"
#include "../xrLC_Light/xrface.h"
#include "../../xrcdb/xrcdb.h"
#include "face_smoth_flags.h"
#include "../xrLC_Light/xrHardwareLight.h"
#include "PLY_Expor... |
#include "Options.hpp"
#include "TraceRules.hpp"
#include "Utils.hpp"
extern Options gOpt;
extern Console gConsole;
/*
* Knobs
*/
// Column
KNOB<BOOL> KnobSelectAll( KNOB_MODE_WRITEONCE, "pintool", "Sall", "0", "Select all columns");
KNOB<BOOL> KnobSelectTime( KNOB_MODE_WRITEONCE, "... |
#include <iostream>
#include <vector>
#include <algorithm>
#include <tuple>
#include <fstream>
#include <cmath>
#include "json.hpp"
using namespace std;
using json = nlohmann::json;
#define X first
#define Y second
using number = long long;
using P = pair<number, number>;
using E = pair<int, int>;
#define DELTA 0.1... |
#include "codeeditor.h"
#include "codegutter.h"
#include "datapacktreeview.h"
#include "mainwindow.h"
#include "globalhelpers.h"
#include "QFindDialogs/src/finddialog.h"
#include "QFindDialogs/src/findreplacedialog.h"
#include "stripedscrollbar.h"
#include "parsers/command/minecraftparser.h"
#include <QPainter>
#incl... |
#include <bits/stdc++.h>
using namespace std;
static_assert(sizeof(int) == 4 && sizeof(long) == 8);
/**
* Numbered collection of forward linked lists over the integers [0...N).
* Each list maintains a head pointer and each int maintains a next pointer.
* With appropriate usage the lists are kept acyclic and disjoin... |
#include <iostream>
#include <ctime>
#include <fstream>
#include <string>
#include <cmath>
#include "modelclasses.h"
//------------------------------------------------------------//
//------------------random number generation-----------------//
//----------------------------------------------------------//
//std::defa... |
/*
* FmmTree.cc
*
* Created on: Jun 21, 2016
* Author: <NAME>
*/
#include <complex>
#include <vector>
#include <iostream>
#include <limits>
#include <cmath>
#include <cassert>
#include "FmmTree.h"
#include "Box.h"
#include "Point.h"
using namespace std;
/**
* Header Interface for Class Point
*
class F... |
/**********************************************************************
Copyright (c) 2016 Advanced Micro Devices, 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... |
#include "Nuclear.hpp"
#include <cmath>
#include <algorithm>
#include <map>
#include <time.h>
#include <random>
#include <cctype>
#include <sys/stat.h>
#include <filesystem>
void Error(std::string msg, int col, int line, int colStart, int colEnd, std::string lineData, std::string file) {
fprintf(stderr, "%s\n", line... |
// --------------------------------------------------------------------------
// Dingus project - a collection of subsystems for game/graphics applications
// --------------------------------------------------------------------------
#include "stdafx.h"
#include "DebugRenderer.h"
#include "../renderer/RenderContex... |
#include "state_lattice_planner/trajectory_viewer.h"
TrajectoryViewer::TrajectoryViewer(void)
:local_nh("~")
{
local_nh.param("HZ", HZ, {20});
local_nh.param("ROBOT_FRAME", ROBOT_FRAME, {"base_link"});
local_nh.param("N_P", N_P, {10});
local_nh.param("N_H", N_H, {3});
local_nh.param("MAX_ALPHA", MA... |
/* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
<NAME>, <EMAIL>
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04-94AL85000 with San... |
int vT,
dLZ ,P7W
, DVV,tnm9u0F
,xeH , t9 ,
DeSK0i
,N
,Y4,WL ,
Xh,Z,
LNG,bm, yknW,LVz,
q9,
COavS,
XeN ,C0
,
AyF,QIK ,lx
,mPl06, ppX,/*eb*/rVt
,
zGr //fHn
, ti,ZpZ
,OMWT
, qgw7P,wRi , d
,
/*Sl9y*/cRi,
C , M
,aNV
,CW , N837E/*ZQ*/,
S1,
JG,EHv, LTCy6
//pg
, TB
, LV ,
tL,
wc, LB
,
pL
,m... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/*
This file is part of kdepim.
Copyright (c) 2004 <NAME> <<EMAIL>>
Copyright (c) 2010 <NAME> <<EMAIL>>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
ver... |
/*
Copyright (c) Microsoft Corporation
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License
at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED *AS IS* BASIS, W... |
//===-- ARMAsmParser.cpp - Parse ARM assembly to MCInst instructions ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
#include "fitting.h"
using namespace lc;
Fitting::Fitting(std::shared_ptr<DatumProcessor> datumProcessor){
datumProcessor_ = datumProcessor;
}
Fitting::~Fitting(){
}
std::vector<std::vector<Point2D>> Fitting::segmentClusters(const std::vector<Point2D>& design_pts, const std::vector<Point2D>& pts){
std::vect... |
#include "pez.h"
#include "Utility.h"
#include "vmath.h"
#include "hdrloader.h"
#include <stdio.h>
#include <ImfRgbaFile.h>
#include <ImfArray.h>
#include <ImathBox.h>
#include <openctm.h>
static enum { Empty, HasTexture, HasMesh } Mode = Empty;
GLuint QuadProgram;
GLuint QuadVao;
GLuint ScreenVao;
GLu... |
#include "tensorCompression.hpp"
#include "params.hpp"
#include <cmath> //std::ceil
#include <iostream> //cout
#include <cassert>
#include <stdexcept> //std::runtime_error
#include <bitset> //Print friendly binary number
unsigned char findFirstNonZero (unsigned char bitmaskBytes[], unsigned char startingIndex);
unsi... |
#include "pch.hpp"
#include "quadRenderer.hpp"
#include "Renderer/API/texture.hpp"
#include "Renderer/API/openglErrors.hpp"
#include "Renderer/Shaders/embeddedShaders.hpp"
#include "Utilities/cast.hpp"
extern bool debugWindowOpen;
namespace ph::QuadRenderer {
static constexpr u32 deleteVBOsDelay = 500;
struct Debug... |
/**
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed ... |
#include "Densify.h"
using namespace std;
CDensify::CDensify(){
return;
}
CDensify::CDensify(CDensifyParam params)
{
m_paramDense = params;
}
void CDensify::setImages(const Mat &imgL,const Mat &imgR){
m_imgL = imgL;
m_imgR = imgR;
}
void CDensify::setTiepoints(std::vector<CTiePt> &tps){
m_vecTP... |
#include<cmath>
#include "UnitCellParameters.h"
#include "ErrorManager.h"
//#define RadToDeg 3.14159265/180
//#define sinDegrees(x) sin((x) * M_PI / 180.0)
void UnitCellParameters::setDefaultParameters(){
valid = 0;
a = 0; b = 0; c=0;
alpha = 0; beta = 0; gamma = 0;
na = 0; aMin= 0; aMax= 0; nb= 0; b... |
/* Copyright (c) 2018 PaddlePaddle 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 ... |
/*
* \file L1TMenuHelper.cc
*
* \author <NAME>, <NAME>
*
*/
#include "TString.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Event.h"
#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
// L1Gt - Trigger... |
/************** Table C++ Functions Source Code File (.CPP) ************/
/* Name: TABLE.CPP Version 2.8 */
/* */
/* (C) Copyright to the author <NAME> 1999-2017 */
/* ... |
/*
* cBirthChamber.cc
* Avida
*
* Called "birth_chamber.cc" prior to 12/2/05.
* Copyright 1999-2011 Michigan State University. All rights reserved.
* Copyright 1993-2003 California Institute of Technology.
*
*
* This file is part of Avida.
*
* Avida is free software; you can redistribute it and/or mod... |
// Copyright (C) 2016 <NAME>, <NAME> and MIT CSAIL
// Prophet
//
// This file is part of Prophet.
//
// Prophet 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 y... |
/* Used to test the C++ API */
#include <iostream>
#include <sstream>
#include <triton/api.hpp>
#include <triton/bitsVector.hpp>
#include <triton/exceptions.hpp>
#include <triton/immediate.hpp>
#include <triton/instruction.hpp>
#include <triton/memoryAccess.hpp>
#include <triton/operandWrapper.hpp>
#include <triton/r... |
#include "arbitrary_electron_beam.h"
#include <assert.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
#include <sstream>
#include <utility>
#include <vector>
//Load electrons from a given file
long int read_binary_file(std::vector<double> &x, std::ve... |
#pragma once
#include <string_view>
#include <libarmcortex/interrupt.hpp>
#include <libembeddedhal/can/can.hpp>
#include <libembeddedhal/static_callable.hpp>
#include <libxbitset/bitset.hpp>
#include "internal/constants.hpp"
#include "internal/pin.hpp"
#include "internal/system_controller.hpp"
namespace embed::lpc4... |
/*
* LEGAL NOTICE
* This computer software was prepared by Battelle Memorial Institute,
* hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830
* with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE
* CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY
* LIABILITY FOR THE ... |
// Include important C++ libraries here
#include "stdafx.h"
#include <sstream>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
// Make code easier to type with "using namespace"
using namespace sf;
// Function declaration
void updateBranches(int seed);
const int NUM_BRANCHES = 6;
Sprite branches[NUM_BRANCHES];... |
/************************************************************************************
* EMStudio - Open Source ECU tuning software *
* Copyright (C) 2020 <NAME> (<EMAIL>) *
* *
... |
struct Nintendo64 : Cartridge {
auto name() -> string override { return "Nintendo 64"; }
auto extensions() -> vector<string> override { return {"n64", "v64", "z64"}; }
auto load(string location) -> bool override;
auto save(string location) -> bool override;
auto analyze(vector<u8>& rom) -> string;
};
auto Ni... |
#include "FWCore/Framework/interface/ConsumesCollector.h"
#include "RecoMET/METAlgorithms/interface/HcalHaloAlgo.h"
#include <map>
/*
[class]: HcalHaloAlgo
[authors]: <NAME>, The University of Florida
[description]: See HcalHaloAlgo.h
[date]: October 15, 2009
*/
namespace {
constexpr float c_cm_per_ns = 29.... |
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <TH1F.h>
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "FWCore/Framework/interface/ES... |
#include <tiramisu/tiramisu.h>
#include <string.h>
#include "tiramisu_make_fused_baryon_blocks_correlator_wrapper.h"
#include "../utils/complex_util.h"
#include "../utils/util.h"
using namespace tiramisu;
#define VECTORIZED 1
#define PARALLEL 1
// Used to remember relevant (sub)computation of Q and its user computat... |
/**************************************************************************
Attribution:
Shakespeare's works in this page are from public domain
versions found in wikisource.
*/
char *ToBeOrNot =
"To be, or not to be, that is the question";
char *FirstSonnet =
"From fairest creatures we ... |
//
// Created by ragesh on 5/5/18.
//
////////////////////////////////////////////////////////////////////////////////
// My naming conventions for the project
// Put header files separated different category and in alphabetical order
// unless there some compatibility issue between the header files
// Use using names... |
//
// vdwtest.cpp
//
// simple short-range MD test program
//
// <NAME> March 9 2015
//
// Known problem as of Mar 13 2015
// -- acc and phi are consistent only for the case of m=1
// This has been fixed as of Mar 15 2015
#include<iostream>
#include<fstream>
#include<unistd.h>
#include<sys/stat.h>
#... |
/**
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <cmath>
#include <string.h>
#include <immintrin.h>
#include <mmintrin.h>
#include <xmmintrin.h>
#include <emmintrin.h>
#include <pmmintrin.h>
#include <tmmintrin.h>
#include <smmintrin.h>
#include <nmmintrin.h>
//#include <ammintrin.h>
#include <x86int... |
/* Copyright (c) 2014-2015 <NAME>
Distributed under the MIT/X11 software license, see the accompanying
file LICENSE or http://www.opensource.org/licenses/mit-license.php. */
#include "util.hpp"
#include "rcvutil.hpp"
#include "main.hpp"
#include <bitcoin/bitcoin.hpp>
#include <boost/algorithm/string.hpp>
#include ... |
#include "triangulation.hh"
//----------------------------------------------------------------------------
// Constructor for the triangulation class. Takes the name of the grid file
// as input. Allocates appropriate memory and forms the grid connectivity
//-----------------------------------------------------------... |
#include <fstream>
#include <iostream>
#include <boost/functional/hash.hpp>
#include <boost/program_options.hpp>
#include <yaml-cpp/yaml.h>
#include <libMultiRobotPlanning/JPSSIPP.hpp>
#include <libMultiRobotPlanning/JPSSIPPAN.hpp>
#include <libMultiRobotPlanning/sipp.hpp>
#include "timer.hpp"
using libMultiRobotPl... |
/* Copyright 2019, Belle II Collaboration
Authors: <NAME>
This file is part of GENFIT.
GENFIT 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 3 of the License, or
(at your... |
#include "../jblib/jbMat.h"
#include "../jblib/jbmath.h"
#include "../jblib/qimmat.h"
#include "../jblib/jbimgproc.h"
#include <QImage>
#include <QString>
#include <QDir>
#include <QDebug>
#include <stdlib.h>
#include <sys/time.h>
#ifdef _MACOS_
#include <string>
#else
#include <string.h>
#end... |
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::depends(RcppGSL)]]
#include <RcppArmadillo.h>
#include <Rcpp/Benchmark/Timer.h>
#include <gsl/gsl_math.h>
#include <cmath>
#include <vector>
#include "digamma.h"
#define EPS 1e-14
using namespace Rcpp;
void initialise_fdep(arma::mat &ymat, arma::vec &pivec,
... |
/*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>, <NAME>.... |
/****************************************************************************
*
* Copyright (c) 2017 - 2018 by Rockchip Corp. All rights reserved.
*
* The material in this file is confidential and contains trade secrets
* of Rockchip Corporation. This is proprietary information owned by
* Rockchip Corporat... |
/*
* A program that folds a strand of nucleic acids.
* This strand of nucleic acids can be composed of either DNA or RNA.
*
* (c) 2009 Mathews Lab, University of Rochester Medical Center.
* Written by <NAME>
*/
#include "Fold.h"
#include <time.h>
//////////////////////////////////////////////////////////////////... |
#include <iostream>
#include <iomanip>
#include <opencv2/core.hpp> // include OpenCV core headers
#include <opencv2/imgproc.hpp> // include image processing headers
#include <opencv2/highgui.hpp> // include GUI-related headers
#define _USE_MATH_DEFINES
#include <math.h>
#include "MarkerTracker.h"
#include "PoseE... |
// license:BSD-3-Clause
// copyright-holders:<NAME>
/*
TMS7000 disassembler
*/
#include "emu.h"
#include "7000dasm.h"
const tms7000_disassembler::oprandinfo tms7000_disassembler::of[] = {
/* 00 */ { {" B,A", "", "", ""}, {NONE, DONE, DONE, DONE} },
/* 01 */ { {" R%u", ",A", ""... |
/************ TabPivot C++ Program Source Code File (.CPP) *************/
/* PROGRAM NAME: TABPIVOT */
/* ------------- */
/* Version 1.7 */
/* ... |
// NetworkTrainer
// Part of the Neural Network Objects package (NNO)
//
// Author List:
// M.Kunze, Bochum University, 1997-2001
///
// Usage: NetworkTrainer <file> <start> <end>
// file = steering file
// start = epoch to start with (Default 1)
// end = epoch to end with (Default 200)
#inc... |
/***
c86ctl
Copyright (c) 2009-2012, honet. All rights reserved.
This software is licensed under the BSD license.
honet.kk(at)gmail.com
*/
#include "stdafx.h"
#include "resource.h"
#include "c86ctlmain.h"
#include "vis_c86skin.h"
#include "vis_c86sub.h"
#ifdef _DEBUG
#define new new(_NORMAL_B... |
#include <tf2/LinearMath/Quaternion.h>
#include "obstacledetect.h"
// Normal threshold, |z_norm_| > th_z_norm_ means the point is from plane
float th_z_norm_ = 0.7;
// Region growing threshold
float th_smooth_ = 8;
// Voxel grid threshold
float th_leaf_ = 0.015;
// th_deltaz_ must 2 times bigger than th_leaf_
floa... |
/*********************************************************************
(c) <NAME> 2017 - 2021
http://trederia.blogspot.com
xygineXT - Zlib license.
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held
liable for any damages arising from the use of this softw... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
// Copyright (c) 2020 - present Advanced Micro Devices, 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 restriction, including without limitation the r... |
/**
* Class: DynamicTruncation
*
* Description:
* class for the dynamical stop of the KF according to the
* compatibility degree between the extrapolated track
* state and the reconstructed segment in the muon chambers
*
* Authors :
* <NAME> & <NAME> - UCL Louvain
*
* \modified by <NAME>, UCLouvain
... |
#include "DCPh_sha1_160.h"
#include "Util.h"
#include "Exception.h"
using namespace dcpcrypt;
DCPh_sha1_160::DCPh_sha1_160()
{
}
DCPh_sha1_160::~DCPh_sha1_160()
{
}
std::string DCPh_sha1_160::getAlgorithm()
{
return "sha1-160";
}
int DCPh_sha1_160::getHashSize()
{
return 160;
}
bool DCPh_sha1_160::selfTest()
{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.