text stringlengths 5.71k 33.7k |
|---|
/** \class DTROSChannelId
*
* See header file for a description of this class.
*
* $Date: 2009/03/26 14:11:04 $
* $Revision: 1.1 $
* \author <NAME> INFN Padova
*
*/
//----------------------
// This Class' Header --
//----------------------
#include "CondTools/DT/interface/DTCompactMapWriter.h"
//---------... |
/***************************************************************************
Capcom System QSound(tm)
========================
Driver by <NAME> (<EMAIL>)
and <NAME> (<EMAIL>)
A 16 channel stereo sample player.
QSpace position is simulated by panning the sound in the stereo space.
Register... |
#pragma once
#include <vector>
#include <jansson.h>
#include "widgets.hpp"
#include "ui.hpp"
static const float SVG_DPI = 75.0f;
static const float MM_PER_IN = 25.4f;
namespace rack {
inline float in2px(float inches) {
return inches * SVG_DPI;
}
inline Vec in2px(Vec inches) {
return inches.mult(SVG_DPI);
}
in... |
/* -------------------------------------------------------------------------
*
* ts_typanalyze.c
* functions for gathering statistics from tsvector columns
*
* Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* src/backend/tsearch/ts_typanalyze.c
*
* ------------... |
#include "objectfinder.h"
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <math.h>
void drawLine(cv::Mat & img, cv::Mat & img2, cv::Vec4f line, int thickness, CvScalar color, bool nightVision = false);
ObjectFinder::ObjectFinder()
{
using boost::property_tree::ptree;
t... |
//
// NonOverlappingMarksRenderer.cpp
// G3M
//
// Created by <NAME> on 23/1/15.
//
//
#include "NonOverlappingMarksRenderer.hpp"
#include "Camera.hpp"
#include "Planet.hpp"
#include "GLState.hpp"
#include "FloatBufferBuilderFromCartesian2D.hpp"
#include "G3MContext.hpp"
#include "G3MEventContext.hpp"
#include "Te... |
/*
Agrumino.cpp - Library for Agrumino Lemon board - Version 0.2 for Board R3
Created by <EMAIL> on October 2017.
Updated on May 2021 for Agrumino Lemon rev 4 by:
<EMAIL>
<EMAIL>
For details @see Agrumino.h
*/
#include "Agrumino.h"
#include <Wire.h>
#include "libraries/MCP9800/MCP9800.cpp"
#include... |
//Renderer for each shape (I guess).
#pragma once
#include <GL/glew.h>
// Include GLFW
#include <GLFW/glfw3.h>
//GLFWwindow* window;
// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/gtx/quaternion.hpp>
#include <glm/gtx/euler_angles.hpp>... |
#include "art/Framework/Art/detail/prune_configuration.h"
#include "art/Framework/Art/detail/exists_outside_prolog.h"
#include "art/Framework/Art/detail/fhicl_key.h"
#include "art/Persistency/Provenance/PathSpec.h"
#include "boost/algorithm/string.hpp"
#include "canvas/Utilities/Exception.h"
#include "cetlib/container_... |
/*
* $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $
*
* sample.cpp
* hog
*
* Created by <NAME> on 5/31/05.
* Copyright 2005 <NAME>, University of Alberta. All rights reserved.
*
* This file is part of HOG.
*
* HOG is free software; you can redistribute it and/or modify
* it under the terms of... |
// MIT License
//
// Copyright (c) 2021-2022. <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... |
#include "ocr.h"
#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
#include <clocale>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <ctime>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
#include <utility>
#include <vector>
#include "backend/backend... |
/*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
////////////////////////////////////////////////////////////////////////////////
//
// Filename: fftstage_tb.cpp
// {{{
// Project: A General Purpose Pipelined FFT Implementation
//
// Purpose: A test-bench for a generic FFT stage which has been
// instantiated by fftgen. Without loss of (much) generality,
// we'll ... |
#include <cmath>
#include <vector>
#include <cstring>
#include "MSX4B_Ripper.h"
using namespace std;
using namespace WAV_Class;
using namespace Rippers;
// getByte() return values
#define RET_END 0xFFF0
#define RET_ABORT 0xFFF1
#define RET_PILOT 0xFFFE
#define RET_SILENCE 0xFFFF
/*
@param wav WAV ... |
/*****************************************************************
*
* $Id: StTpcSimpleGeometry.cc,v 1.12 2012/06/11 15:04:56 fisyak Exp $
*
* Author: <NAME>0, 1998
*
*****************************************************************
* Description: Database for Geometrical parameters for
* the STAR ... |
#include "framebuffer.hpp"
#include "context.hpp"
#include "renderbuffer.hpp"
#include "texture.hpp"
#include "internal/wrapper.hpp"
#include "internal/modules.hpp"
#include "internal/tools.hpp"
#include "internal/glsl.hpp"
#include "internal/data_type.hpp"
#include <iostream>
void MGLFramebuffer_use_core(MGLFrameb... |
#include "kmer_counting.h"
#include <cstdlib>
KmerCounter::KmerCounter() {
}
KmerCounter::~KmerCounter() {
}
/**
--------------
readFasta
read genome sequence in FASTA file
--------------
*/
int KmerCounter::readFasta(string & fasta_filename) {
std::ifstream input(fasta_filename);
if (!input.good()) {
std::c... |
/////////////////////////////////////////////////////////////////////////////
// multiuserstreamer.cpp
//
// Created on: Feb 14, 2011
// Author: <NAME>
//
// Description:
// This class is the interface to the Multi-User Server code
// (ported from SART) that streams data to clients. For the first relea... |
//
// PixBinarizerTests.cpp
// ImageProcessing
//
// Created by <NAME> on 08/03/2018.
// Copyright © 2018 <NAME>. All rights reserved.
//
#include "PixBinarizerTests.hpp"
#include "allheaders.h"
#include <cmath>
void plotCandidates(){
Boxa* debugBoxa = boxaRead("debugBoxa.boxa");
Boxa* invDebugBoxa = boxa... |
/*
Write Maya OBJ file
This module takes triangle cell sets from the input
field structure, and writes them out to a file in
OBJ - Alias/Wavefront MAYA object ASCII file format.
Inputs:
filename - string for file to write
in: field with on triangle cell_set and two node_data.
... |
#include <iostream>
#include <sstream>
#include <string>
#include <fstream>
#include <vector>
#include "leveldb/db.h"
#include "leveldb/cache.h"
#include "rapidjson/document.h"
#include "rapidjson/stringbuffer.h"
#include "rapidjson/writer.h"
#include "rapidjson/prettywriter.h" // for stringify JSON
#include "rapidjson... |
#include "StartGameMenu.h"
#include "../StdChessController.h"
#include "../ArtificalIntelligence/AI_0.h"
#include "../ArtificalIntelligence/AI_1.h"
#include "../Game.h"
#include <vs/Context.h>
#include <vs/core/gui/AbstractButton.hpp>
#include <vs/core/gui/GuiException.h>
#include <vs/managed/gui/GuiManager.h>
#includ... |
/*
* Copyright (c) 2022 <NAME>.
*
* This file is part of Spark Cyclone.
* See https://github.com/XpressAI/SparkCyclone for further info.
*
* 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 a... |
// HeeksCNC.cpp
/*
* Copyright (c) 2009, <NAME>
* This program is released under the BSD license. See the file COPYING for
* details.
*/
#include "stdafx.h"
#include <errno.h>
#include <wx/stdpaths.h>
#include <wx/dynlib.h>
#include <wx/aui/aui.h>
#include <wx/filename.h>
#include "PropertyString.h"
... |
/*
Description: This exmpale can display the encoder gear reading of the PLUS Module and the state of the keys.
*/
#include <Arduino.h>
#include <Ticker.h>
#include <M5Stack.h>
const int IN1 = 16;
const int IN2 = 17;
const int IN3 = 21;
const int IN4 = 22;
const int ECA = 35;
const int ECB = 36;
con... |
#include "lpch.h"
#include "Engine/Scene/SceneSerializer.h"
#include "Engine/Scene/Entity.h"
#include "Engine/Scene/Components.h"
#include "Engine/Utils/PlatformUtils.h"
#include <fstream>
#include <filesystem>
#include <yaml-cpp/yaml.h>
namespace YAML {
template<>
struct convert<glm::vec3>
{
static Node encod... |
#include "esp.hpp"
#include "../menu/menu.hpp"
#include "../aimbot/aimbot.hpp"
D3DXVECTOR2 c_esp::world_to_screen(D3DXVECTOR3 world_pos) {
static uintptr_t viewport = c_mem::get()->read_mem<uintptr_t>(g::base_address.modBaseAddr + (g::is_steam_version ? (0x0208BAF0) : (0x02087780)));
auto viewmatrix = c_mem().... |
/*
* File: methodsTest.cpp
* Author: mindaugas
*
* Created on Nov 22, 2013, 1:01:55 PM
*/
#include <stdlib.h>
#include <iostream>
#include "../DMA.h"
#include "../PCA.h"
#include "../SAMANN.h"
#include "../SDS.h"
#include "../SMACOF.h"
#include "../SMACOFZEIDEL.h"
#include "../SOM.h"
#include "../SOMMDS.h"
#in... |
//************************************************************************
// *
// Copyright (C) 2008 *
// University Corporation for Atmospheric Research *
// All Rights Reserved *
// *
//**********************************************************... |
/*************************************************************************
*
* Project : ESTHER IGNITION System slow Control
*
* Description : serialIustiAPDriverApp.cpp
* based on testAsynPortDriver.cpp
*
* Author : <NAME> (IPFN-IST)
* Copyright 2015 IPFN-Instituto Superior Tecnico... |
// __ ___ ____ _____ ______ _______ ________ _______ ______ _____ ____ ___ __
//
// Copyright (C) 2012-2016, <NAME> <<EMAIL>>
//
// It is 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
// __ ___ ____ _____ ______ _... |
/* _______________________________________________________________________
DAKOTA: Design Analysis Kit for Optimization and Terascale Applications
Copyright 2014 Sandia Corporation.
This software is distributed under the GNU Lesser General Public License.
For more information, see the README file in t... |
/*
A bastardized monstrosity containing original code, factory firmware code, and
dhiltonp's firmware framework. For licensing details, please see the provided LICENSE file.
*/
#include <stdint.h>
#include <math.h>
#include <Wire.h>
// Settings
#define OVERTEMP 340
#define SAFE_TEMP ... |
// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <sys/time.h>
#include "backprop.h"
#ifdef NV //NVIDIA
#include <oclUtils.h>
#else
#include <CL/cl.h>
#endif
#ifdef TIMING
#include "timing.h"
#endif
////////////////////////////////////////////////////////... |
/*
* MIT License (MIT)
*
* Copyright (c) 2018 <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,... |
// Copyright 2019, <NAME> <<EMAIL>>, <NAME> <<EMAIL>>
// SPDX-License-Identifier: BSD-2-Clause
#include <limits>
#include <list>
#include <algorithm>
#include <unordered_map>
#include "CScheduleAlgorithmHEFT.h"
#include "CTask.h"
#include "CTaskCopy.h"
#include "CEstimation.h"
#include "CSchedule.h"
#include "CLogger.... |
//
// Created by lionell on 21.02.16.
// Copyright (c) 2016 <NAME>. All rights reserved.
//
#include "Benchmark.h"
#include "utils/Timer.h"
#include "settings.h"
#include "ops/Cpp.h"
#include "ops/Asm.h"
#include "io/TablePrinter.h"
std::vector<std::tuple<std::string, std::string, double>> Benchmark::run_cpp(std::ost... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
#include <fstream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
// if this is false, laser measurements will be ignor... |
//
// Created by sebas on 6/10/19.
//
#include <random>
#include "NivelServidor.h"
#include "../modelo/serializables/Nivel.h"
#include "../estados/personajes/Reposando.h"
#include "../estados/elementos/Sano.h"
#include "../fisica/FisicaDePersonaje.h"
#include "../fisica/FisicaDeEscenario.h"
#include "../modelo/seriali... |
/* (c) 2016, 2021 FFF Services. For details refers to LICENSE.txt */
//#define _CUSTODY_STATS
#include <decent/encrypt/encryptionutils.hpp>
#include <decent/encrypt/custodyutils.hpp>
#include <fc/log/logger.hpp>
#include <fc/io/raw.hpp>
#include <cstdio>
#include <iostream>
#include <sstream>
#include <string>
#includ... |
#include "smartt_term.h"
int SmarttTerm::nextIdentifier = 1;
SmarttTerm::SmarttTerm(std::string name) :
identifier_(nextIdentifier),
name_(name)
{
nextIdentifier++;
}
bool SmarttTerm::operator==(const SmarttTerm &rhs) const
{
return identifier_ == rhs.identifier_;
}
bool SmarttTerm::operator!=(const... |
#include "gauss_newton_solver.h"
#include "prior_sparse_features.h"
#include "util.h"
#include "device_util.h"
#include "device_array.h"
#include <Eigen/Dense>
#include <chrono>
GaussNewtonSolver::GaussNewtonSolver()
: m_face_bb(1)
, m_sh_coefficients_gpu(9)
{
cublasCreate(&m_cublas);
}
GaussNewtonSolver::~GaussN... |
#include "mesh.h"
#include <stdio.h>
#include <sstream>
#include <string>
#include "predicates.h"
unsigned long z, w, jsr, jcong; // Seeds
void randinit(unsigned long x_)
{
z = x_;
w = x_;
jsr = x_;
jcong = x_;
}
unsigned long znew()
{
return (z = 36969 * (z & 0xfffful) + (z >> 16));
}
unsigned... |
//===-LTOCodeGenerator.cpp - LLVM Link Time Optimizer ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
// Descriptions:
// Reads in an Ntuple created by running the PhaseIPixelNtuplizer and creates
// the main plots required for efficiency measurements.
// List of the plots generated:
// -
// -
// - (nothing else yet...)
// Data structure
#include "../../../interface/DataStructures_v2.h"
// Hitt efficiency calcula... |
/*
* query.cpp:
*
* generic query tool for libsbook.
* Also handles web stuff.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#ifdef UNIX
#include <unistd.h>
#endif
#ifdef WIN32
#include <getopt.h>
#endif
#include "libsbook.h"
char *file = 0;
char *progname = "";
unsigned o... |
#include <iostream>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include "base/base.h"
#include "core/plan/plan.h"
#include "core/client/ai/ai.h"
#include "core/core_field.h"
#include "core/frame_request.h"
#include "core/kumipuyo_seq_generator.h"
#include "core/score.h"
#include "solver/endless.h"
#include ... |
int
t ,
MdGk,J8HHQ
,a , UfPK ,/**/QKWca
,IEP6L ,W, JR//N1hbWv
, LKiry, YRkie
, V , SC/*Tej4*/, YY,Pxh,
d1p ,
Vq,kS
,
G7, XNB ,oe
,qek,
gXuK
, cKw
,//lM
z, m2iB//S
, eJMni
,
ii, xVKE,LJ3 ,Mf
,
ACP , SS,Cx ,mG0//LxH7
,
sOJ1Q
, mcE
,lmJ,
cw
, Zk4gQv9G,
zd
,//p
n66W/*B*/ , al,w
/*CB*/
, Gc; void... |
/*
* inspired by https://www.thethingsnetwork.org/forum/t/attiny85-rfm95-temperature-sensor/11211
*
* see lorawan spec https://lora-alliance.org/resource-hub/lorawanr-specification-v103
*
* https://cdn.hackaday.io/files/286681226531712/RH_RF95.cpp
* ??? TODO remember last SNR:
* lastSNR = (int8_t)read_reg(0x1a) ... |
#include "trainer.h"
#include <iostream>
#include <regex>
#include <sqlite_database/sqlite_database.h>
#include <string_essentials/string_essentials.hpp>
#include <tiled_ncurses/tiled_ncurses.hpp>
#include "utility/anki_client.h"
#include "utility/tools.h"
#include "config.h"
Trainer::Trainer() :
random_generato... |
/*
* Copyright 2016 WebAssembly Community Group participants
*
* 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... |
// Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#include "TestValidate.hpp"
#include <nix/... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (<EMAIL>)
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commerc... |
#include <iostream>
#include <stack>
#include <limits.h>
#include <float.h>
#include <ctype.h>
#include <GL/glut.h>
//#include <GL/freeglut_ext.h>
#include "assert.h"
#include "Graph.h"
#include "SpaceGrid.h"
#include "SceneParameters.h"
void Graph3D::add_node(Node3D n)
{
assert(nodes.find(n.id()) == nodes.end()); /... |
/* pure_cfr_machine.cpp
* <NAME>, Jul 1, 2013
* Email: <EMAIL>
*
* Contains the hand generation and Pure CFR tree walk methods.
*
* Copyright (C) 2013 by <NAME>
*/
/* C / C++ / STL includes */
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <limits... |
// //////////////////////////////////////////////////////////
// Crc32Test.cpp
// Copyright (c) 2016-2019 <NAME>. All rights reserved.
// see http://create.stephan-brumme.com/disclaimer.html
//
#include "Crc32.h"
#include <cstdlib>
#include <cstdio>
#include <string.h>
// the slicing-by-4/8/16 tests are only performe... |
/* Copyright (c) 2005 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
* Author: <NAME>, <NAME>
* $Date: 2012-09-22 09:04:10 -0700 (Sat, 22 Sep 2012) $
*... |
/*=============================================================================
Copyright (c) 2001-2011 <NAME>
Copyright (c) 2001-2011 <NAME>
Copyright (c) 2010 <NAME>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.... |
/*************************************************************************/
/* file_access_network.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
#include "Enemy_Purple.h"
#include "Application.h"
#include "ModuleCollisions.h"
#include "ModuleParticles.h"
#include "ModulePlayer.h"
Enemy_Purple::Enemy_Purple(int x, int y) : Enemy(x, y)
{
// RIGHT
rightAnimP.PushBack({ 0, 453, 86, 90 });
rightAnimP.PushBack({ 86, 453, 86, 90 });
rightAnimP.PushBack({ 86 * 2... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
#include "Myekf2.h"
#include <fstream>
#include <time.h>
#include <stdio.h>
class Ekf2;
std::ifstream read1("../data/imu_data.txt");
std::ifstream read2("data/gps_data.txt");
std::ifstream read3("../data/mag_data.txt");
std::ifstream read4("../data/baro_data.txt");
std::ofstream euler_estimator("../results/euler_estim... |
#include <string>
#include "mainwin.h"
#include "entrydialog.h"
#include <iostream> // for std::cerr logging
#include <fstream>
const std::string APP = "Smart School";
const std::string VERSION = "0.2";
const std::string DEFAULTFN = "untitled.smart";
Mainwin::Mainwin() :filename{DEFAULTFN}{
// ... |
//===--- ReferenceDependencies.cpp - Generates swiftdeps files ------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
// Copyright 2018 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 <lib/cmdline/args_parser.h>
#include <zxtest/zxtest.h>
#define ASSERT_STRING_EQ(lhs, rhs, ...) \
ASSERT_STR_EQ(std::string(lhs).c_str(), std::... |
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/utils/SkRandom.h"
#include "src/pathops/SkIntersections.h"
#include "src/pathops/SkPathOpsCubic.h"
#include "src/pathops/SkPathOpsLine.h"
#include "src/pathop... |
#include "libpldm/base.h"
#include "libpldm/bios.h"
#include "libpldm/pdr.h"
#include "libpldm/platform.h"
#include "common/flight_recorder.hpp"
#include "common/utils.hpp"
#include "dbus_impl_requester.hpp"
#include "invoker.hpp"
#include "requester/handler.hpp"
#include "requester/request.hpp"
#include <err.h>
#inc... |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "sortresults.h"
#include <vespa/searchlib/util/sort.h>
#include <vespa/searchlib/common/sort.h>
#include <vespa/searchlib/common/bitvector.h>
#include <vespa/searchcommon/attribute/iattribute... |
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
#include "FAConfig.h"
#include "FAFsmConst.h"
#include "FALimits.h"
#include "FAAllocator.h"
#include "FAUtils.h"
#include "FAUtf8Utils.h"
#include "FAUtils_cl.h"
#include "FAException.h"
#include "FAImageDump.h"
#... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
... |
/***************************** sfmt.cpp ***********************************
* Authors:
* <NAME> (Hiroshima University)
* <NAME> (Hiroshima University)
* <NAME> (Copenhagen University College of Engineering)
* Date created: 2006
* Last modified: 2009-02-08
* Project: randomc
* Platform: This C++ ... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright 2020- The GROMACS Authors
* and the project initiators <NAME>, <NAME> and <NAME>.
* Consult the AUTHORS/COPYING files and https://www.gromacs.org for details.
*
* GROMACS is free software; you can redistribute it and/or
* modify i... |
#include "common.h"
#include <string>
#include <map>
#include <stdlib.h>
#include <sys/stat.h>
#include "bio.h"
#include "bu_arg_parse.h"
#include "raytrace.h"
using namespace std;
static const char usage[] = "Example: admin-db [...options] db.g [db2.g]\n";
/* purpose: manage various aspects of a BRL-CAD database
... |
#include "summary.hpp"
po::variables_map parse_summary_command(po::parsed_options parsed) {
uint32_t num_cores = tbb::task_scheduler_init::default_num_threads();
std::string num_threads_message = "Number of threads to use when possible [DEFAULT uses all available cores, " + std::to_string(num_cores) + " de... |
#include "rar.hpp"
/*
SHA-1 in C
By <NAME> <<EMAIL>>
100% Public Domain
Test Vectors (from FIPS PUB 180-1)
"abc"
A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1
A million repetitions of "a"
34AA973C D4C4DAA4 F61... |
//////////////////////////////// OS Nuetral Headers ////////////////
#include "OISInputManager.h"
#include "OISException.h"
#include "OISKeyboard.h"
#include "OISMouse.h"
#include "OISJoyStick.h"
#include "OISEvents.h"
//Advanced Usage
#include "OISForceFeedback.h"
#include <iostream>
#include <vector>
#... |
/*
HT1632.cpp - Library for communicating JY-MCU 3208 PRO
This library provides higher-level access (including
text drawing) for these modules.
Created by <NAME>, April 8, 2011.
Released into the public domain.
Modified to work only with the JY-MCU 3208 PRO
32x8 red LED matrix
by <NAME>, February 17... |
#include <algorithm> // std::find
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDir>
#include <QFileDialog>
#include <QTabWidget>
#include <QProgressDialog>
#include <QDockWidget>
#include <string>
#include <QVBoxLayout>
#include <QMessageBox>
#include <QScrollBar>
#include <QThread>... |
//===- yaml2xcoff - Convert YAML to a xcoff object file -------------------===//
//
// 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
//
//===---------------------------... |
// libROM MFEM Example: DG Euler Equations (adapted from ex18p.cpp)
//
// Compile with: make dg_euler
//
// For DMD:
// mpirun -n 8 dg_euler
// mpirun -n 8 dg_euler -p 2 -rs 2 -rp 1 -o 1 -s 3 -visit
//
// Sample runs:
//
// mpirun -np 4 dg_euler -p 1 -rs 2 -rp 1 -o 1 -s 3
// mpir... |
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2010, <NAME>, 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:
*
* * Redistributions of source code... |
/*
* This file belongs to the Galois project, a C++ library for exploiting parallelism.
* The code is being released under the terms of the 3-Clause BSD License (a
* copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... |
/*
* Main authors:
* <NAME> <<EMAIL>>
*
* Contributing authors:
* <NAME> <<EMAIL>>
*
* This file is part of Unison, see http://unison-code.github.io
*
* Copyright (c) 2016, RISE SICS AB
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification... |
//**************************************************************************\
//* This file is property of and copyright by the ALICE Project *\
//* ALICE Experiment at CERN, All rights reserved. *\
//* *\
//* Prim... |
//-- arrowrenderer.cpp ----------------------------------------------------------
//
// Copyright (C) 2011
// University Corporation for Atmospheric Research
// All Rights Reserved
//
//----------------------------------------------------------------------------
//
// Fi... |
// Copyright (c) 2015, <NAME>.
// Distributed under the BSD 2-Clause License (see LICENSE.txt for details)
#include "VolumeOSD.h"
#pragma comment(lib, "Wtsapi32.lib")
#include <string>
#include <Wtsapi32.h>
#include "../3RVX.h"
#include "../Controllers/Volume/CurveTransformer.h"
#include "../Controllers/Volume/Volu... |
#include <cstdlib>
#include <iostream>
#include <string>
#include <vector>
#include "../check-builder.hpp"
#include "../layoutable.hpp"
enum {
TOKEN_INVALID,
TOKEN_BAREKEY,
TOKEN_STRKEY,
TOKEN_STRING,
TOKEN_BOOLEAN,
TOKEN_FIXNUM,
TOKEN_FLONUM,
TOKEN_DATETIME,
TOKEN_LBRACE,
TOKEN... |
#include "ParseTeam.h"
#include <sstream>
#include "Match.h"
#include "Team.h"
#include "OneLineInfo.h"
#include "Interface.h"
using namespace std;
std::pair<Team, bool> searchFilesForTeam(const std::vector<std::filesystem::path>& file_names, const std::string& team_name, LEAGUE_SEARCH_OPTION search_opt) {
std::pair... |
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
#include <iterator>
#include <SDL2/SDL.h>
#include <OpenGL/gl3.h>
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
#include "model.h"
// Forward Declaration... |
/******************************************************************************
** Copyright (C) 1995 CEA
*******************************************************************************
**
** UNIT
**
** Version: 3.1
**
** Author: <NAME>
**
** Date: 96/05/02
**
** File: mr_compare... |
#pragma once
#include "acmacs-base/named-type.hh"
// #include "acmacs-base/counter.hh"
#include "seqdb-3/sequence.hh"
#include "acmacs-tal/aa-counter.hh"
// ----------------------------------------------------------------------
namespace acmacs::tal::inline v3
{
class Node;
class Tree;
namespace draw_tr... |
#include <fstream>
#include <iostream>
#include <map>
#include <cmath>
#include <sstream>
#include <string>
#include <vector>
#include "../include/gtree.h"
GTree::G_Tree gtree = GTree::get();
template <typename K, typename V> using dict = std::map<K, V>;
template <typename T> using vec_t = std::vector<T>;
using Tri... |
//===- MIParser.cpp - Machine instructions parser implementation ----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* Copyright (c) 2018, Microsoft Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be ... |
#include "pf/basic/logger.h"
#include "pf/basic/stringstream.h"
#include "pf/basic/io.tcc"
#include "pf/basic/type/variable.h"
#include "pf/net/stream/input.h"
#include "pf/net/stream/output.h"
#include "pf/net/packet/dynamic.h"
#include "pf/net/packet/factorymanager.h"
#include "pf/sys/assert.h"
#include "pf/plugin/pr... |
/*
Copyright (c) 2003 - 2014 <NAME>
This software is provided 'as-is', without any express or
implied warranty. In no event will the authors be held liable
for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any
purpose, including commercial applic... |
/**
* @mainpage
* SkyBench - a benchmark for skyline algorithms
*
* USAGE: ./SkyBench -f filename [-t "num_threads" -s "alg names" -v]
* -f: input filename
* -t: run with num_threads, e.g., "1 2 4" (default "4")
* Note: used only with multi-threaded algorithms
* -s: skyline algorithms to run, by def... |
/*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
#pragma once
/* This code is a stripped down version of 'google/spherical-harmonics' on
* github to focus on spherical harmonics rotations using Eigen. This part
* of the code is release using the Apache license V2.0 (see [here][license])
*
* Modifications:
* + I added a new Apply interface to the Rotation class ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.