text stringlengths 5.71k 33.7k |
|---|
/* -----------------------------------------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
� Copyright 1995 - 2013 Fraunhofer-Gesellschaft zur F�rderung der angewandten Forschung e.V.
All rights reserved.
1. INTRODUCTION... |
#if _WIN32
#define WIN32_LEAN_AND_MEAN
#endif
#include <evpp/event_loop_thread.h> // overrides errno!
#include <evpp/httpc/conn_pool.h>
#include <evpp/httpc/request.h>
#include <evpp/httpc/response.h>
#include <cmath>
#include <future>
#include <array>
#include <rapidjson/document.h>
#include <rapidjso... |
inline void Band::initialize_subspace(K_point_set& kset__,
Potential& potential__) const
{
PROFILE("sirius::Band::initialize_subspace");
int N{0};
/* interpolate I_{\alpha,n}(q) = <j_{l_n}(q*x) | wf_{n,l_n}(x) > with splines */
std::vector<std::vector<Spline<double... |
/**
* Created by Beck on July 8th 2018
* Indirect Extended Kalman Filter for the translation of the camera
* fusing visual information with the accelerometer, given the pose;
* With imu in 400Hz and camera translation in 30Hz
* V1: estimation for rotation only
* V2: give the translation of the shield, added acc b... |
#include "synth_test.h"
typedef int32_t myint;
static const int32_t vvv = 5;
static void receiver(const sing::array<sing::array<std::string, 4>, 4> &vin, sing::array<sing::array<std::string, 4>, 4> *vout);
static int32_t add_int(int32_t val0, int32_t val1 = 5);
static void add_int3(int32_t val0, int32_t val1, int32_... |
//=======================================================================
// Copyright <NAME> 2015.
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//=======================================================================
#include "opencv2/open... |
/*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include <string>
#include "environment.h"
#include "loadsave.h"
#include "../simversion.h"
#include "../simconst.h"
#include "../simtypes.h"
#include "../simcolor.h"
#include "../simmesg.h"
#include "../disp... |
#include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/OMTFinputMaker.h"
#include "L1Trigger/L1TMuonOverlapPhase1/interface/MuonStub.h"
#include "L1Trigger/L1TMuonOverlapPhase1/interface/ProcConfigurationBase.h"
#include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h"
#include "DataFormats/DetId/interface/DetI... |
// Filename: CirculationModel.cpp
// Created on 20 Aug 2007 by <NAME>
// Modified 2019, <NAME>
#include "CirculationModel.h"
/////////////////////////////// INCLUDES /////////////////////////////////////
#ifndef included_IBAMR_config
#include <IBAMR_config.h>
#define included_IBAMR_config
#endif
#ifndef included_S... |
#include "Fase1.hpp"
#include "Principal.hpp"
const int Fase1::AlturaChao (Principal::Altura * 0.925);
const sf::Vector2f Fase1::SpawnJogador1 (100, AlturaChao * 0.9);
const sf::Vector2f Fase1::SpawnJogador2 ( 70, AlturaChao * 0.9);
Fase1::Fase1 (std::string jogador1, std::string jogador2, Janela* janela)
: ... |
#include <iostream>
#include <iomanip>
#include "OptimizerPiecewise.h"
#include "Simulator.h"
constexpr std::array<int,3> OptimizerPiecewise::IFR_SEG_STARTS;
OptimizerPiecewise::OptimizerPiecewise(const ObservedPopulation& pop_observed_, const Population& pop_init_,
const Vecto... |
#include "Base/ExtDLL.h"
#include "Util.h"
#include "Base/CBase.h"
#include "CBaseDoor.h"
#include "CFuncRotating.h"
#define SF_BRUSH_ACCDCC 16// brush should accelerate and decelerate when toggled
#define SF_BRUSH_HURT 32// rotating brush that inflicts pain based on rotation speed
#define SF_ROTATING_NOT_SOLID 64... |
/*
* Copyright (c) 2019 <NAME>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <cassert>
#include <map>
#include "delfem2/lp.h"
void Print(const std::vector<double>... |
#include "common.hpp"
#include "kernels/kernels.h"
/* Number of iterations before testing convergence (can be adjusted) */
constexpr int NITER_TEST_CONV = 10;
/* Spacing of floating point numbers. */
constexpr real eps = 2.2204e-16;
double nmf_t{0};
double nmf_total{0};
extern float gemm_total;
extern float div_tota... |
// Copyright 2011-2020 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2011-2020, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level... |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014 ResiliNets, ITTC, University of Kansas
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
... |
#include "qstm.hpp"
#include "util/writeset.hpp"
#include "util/mallocset.hpp"
#include "util/freeset.hpp"
#include "../config.hpp"
#include "tracker.hpp"
#include <cstdlib>
#include <setjmp.h>
#define INTERVAL_MASK 0xfffffffffffff000
QSTM::qEntry::qEntry(){
ts = 0;
st = State::NotWriting;
next.store(nullptr);
}
... |
// Copyright 2016 Open Source Robotics Foundation, 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 appli... |
#include "HorizontalFilter.h"
HorizontalFilter::HorizontalFilter() {
initialized_ = false;
// +.+ Initialize All Eigen Matrices and Vectors
reject_counter_.resize(MEAS_LEN);
state_reject_counter_.resize(MEAS_LEN);
state_reject_counter_.setZero();
state_vec_.resize(STATE_LEN, 1);
state_cov_.resize(STATE_... |
void get_background(const vec2d& data, double& bg, double& rms) {
vec1u idg;
idg = where(is_finite(data));
bg = median(data[idg]);
rms = 1.48*mad(data[idg]);
idg = where(is_finite(data) && data - bg < 10*rms);
bg = median(data[idg]);
rms = 1.48*mad(data[idg]);
}
void state_t::build_detecti... |
/**
* coding: utf-8
*
* Copyright (C) 2013-2014, <NAME>
* All rights reserved.
*
* This program 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 op... |
/*
GadgetBle.h - Library for providing sensor data via Bluetooth.
Created by <NAME>, November 7, 2020.
Released under BSD-3 licence
*/
// TODO: Still need to properly handle packet size and sample type/adv. sample
// type/logger sample type in respective packets
#include "Sensirion_GadgetBle_Lib.h"
#include "Ardu... |
////////////////////////////////////////////////////////////////////////////////
// Filename: modelclass.cpp
////////////////////////////////////////////////////////////////////////////////
#include "modelclass.h"
ModelClass::ModelClass()
{
m_vertexBuffer = 0;
m_indexBuffer = 0;
m_model = 0;
m_TextureA... |
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <unistd.h>
#include <map>
#include <list>
#include <Eigen/Eigenvalues>
// OpenCV headers
#include <cv.h>
#include <highgui.h>
#include <opencv2/contrib/contrib.hpp>
#include <opencv2/core/core.hpp... |
/*
File: XenoSession.cpp
Author: <NAME>
Date: 2014.11.20
Copyright 2016 Manuvr, 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 requi... |
#include <fstream>
#include <iostream>
#include "vm/mix_machine.h"
void test_vm();
mix::Word make_cmd(mix::byte cmd, short addr = 0, mix::FieldSpecification f = mix::FieldSpecification::DEFAULT);
int main(int argc, char *const argv[]) {
std::cout << sizeof(mix::GenericWord<5>) << std::endl;
test_vm();
return 0... |
#include <iostream>
#include <fstream>
#include <filesystem>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/dnn.hpp>
#include "lightnet.h"
#include "MiniTraceHelper.h"
#include "VideoHelper.h"
#include "os_hal.h"
#define USING_OCV_RESIZE_METHOD... |
// post.cc
// Routines to deliver incoming network messages to the correct
// "address" -- a mailbox, or a holding area for incoming messages.
// This module operates just like the US postal service (in other
// words, it works, but it's slow, and you can't really be sure if
// your mail really got through!).
//
// No... |
/**********************************************************************************
Copyright (c) 2020 <NAME>
MIT License
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,... |
/**
* @license BSD 3-Clause
* @version $Id$
* @brief
*
* @authors <NAME>
* created on: 17-04-2019
*
* @copyright Copyright (c) 2019, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions... |
#include <lua.h>
#include <lauxlib.h>
#ifdef _WIN32
static void *mmap(void *addr, int64_t len, int prot, int flags, int fd,
int offset)
{
HANDLE fh = (HANDLE) _get_osfhandle(fd);
HANDLE mh = CreateFileMapping(fh, 0, PAGE_READONLY, 0, 0, 0);
void *p = MapViewOfFile(mh, FILE_MAP_READ, 0, 0,... |
#include "thumbsBrowser.h"
//--------------------------------------------------------------
void thumbsBrowser::refreshImage() {
sourceImg.clear();
if (indexImage == 0) sourceImg.loadImage("image0.jpg");
else if (indexImage == 1) sourceImg.loadImage("image1.png");
else if (indexImage == 2) sourceImg.loadImage("ima... |
/*
* @HEADER
*
* ***********************************************************************
*
* Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring
* Copyright 2012 Sandia Corporation
*
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
* the U.S. Govern... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of condit... |
/**************************************************************
*
* 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... |
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <parallel/algorithm>
#include <utility>
#include "assert.h"
#include <getopt.h>
struct myoptions {
int selfloops;
int duplicatededges;
int uppertriangular;
int bidirectional;
int inputformat;
int outputform... |
/*
* Copyright (c) 2005, <NAME> and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the file license.txt.
*/
#in... |
#include "debugger/ppu_debugger.h"
#include <cstring>
#include <SFML/Graphics/Sprite.hpp>
#include "gameboy/bus.h"
#include "gameboy/cartridge.h"
#include "gameboy/memory/memory_constants.h"
#include "gameboy/ppu/ppu.h"
#include "imgui-SFML.h"
#include "imgui.h"
namespace {
constexpr auto bg_map_tile_count = 32;
co... |
// Copyright (c) 2019-2020 ydeagames
// Released under the MIT license
// https://github.com/ydeagames/3DShootingGame/blob/master/LICENSE
//
// Author: ${ydeagames}
// Created: 2019-07-19 19:20:01 +0900
// Modified: 2019-12-16 05:32:44 +0900
#include "pch.h"
#include "PhysXRenderer.h"
#include "PhysXCommons.h"
#includ... |
// © 2014 - 2017 <NAME>
// http://www.soverance.com
// 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... |
#include "Parser.h"
#include <cassert>
#include <iostream>
using namespace SyntaxTree;
static bool tokenIsIdentifier(const Token& token) {
return token.getCategory() == Token::IDENTIFIER_TOKEN;
}
static bool tokenIsPronoun(const Token& token) {
return token.getCategory() == Token::KEYPHRASE_TOKEN &&
token.getKe... |
#include <rbpf_processing/object_processing.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
using namespace std;
template <typename T, typename Compare>
std::vector<std::size_t> sort_permutation(const std::vector<T>& vec,
Compare compare)
{
... |
#include <iostream>
#include <cassert>
#include "Parser.h"
using namespace SyntaxTree;
static bool tokenIsIdentifier(const Token& token){
return token.getCategory() == Token::IDENTIFIER_TOKEN;
}
static bool tokenIsPronoun(const Token& token){
return token.getCategory() == Token::KEYPHRASE_TOKEN &&
token.getKeyphras... |
#include "adian.h"
#include "adian_pkt.h"
#include "adian_lists.h"
#include "adian_rtable.h" // both already included in adian.h
#include <vector>
// ------------------------------ TCL Hooks --------------------------------------------//
int hdr_adian::offset_; // declaration needed for static membe... |
//
// Created by h on 20/07/18.
//
#include "species.h"
#include <boost/math/special_functions/bessel.hpp>
#include <boost/math/special_functions/bessel_prime.hpp>
Species::Species(const boost::python::object &species, double B) {
charge = p::extract<double>(species.attr("charge"));
mass = p::extract<double>... |
#include "hls_design_meta.h"
const Port_Property HLS_Design_Meta::port_props[]={
Port_Property("ap_clk", 1, hls_in, -1, "", "", 1),
Port_Property("ap_rst_n", 1, hls_in, -1, "", "", 1),
Port_Property("m_axi_aximm1_AWVALID", 1, hls_out, 0, "m_axi", "VALID", 1),
Port_Property("m_axi_aximm1_AWREADY", 1, hls_in, 0, "m_a... |
// This file is part of the dune-gdt project:
// https://github.com/dune-community/dune-gdt
// Copyright 2010-2018 dune-gdt developers and contributors. All rights reserved.
// License: Dual licensed as BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
// or GPL-2.0+ (http://opensource.org/lice... |
// Copyright (c) 2010 <NAME>
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014 The AditiCoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "chainparams.h"
#include "assert.h"
#in... |
/*
* @file bintree.cpp
* Addapted from:
* <NAME>. (2007). Trees. In M. Hirsch (Ed.) "Data Abstraction
* & Problem Solving with C++: Walls and Mirrors" (5th ed.) pp.
* 523-529, 559-563. Boston, MA: Pearson Education, Inc.
* @brief This class represents a binary sear... |
//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... |
#include <initializer_list>
//#include <memory>
#include <cstdlib>
#include <cstring>
#include <jni.h>
#include <android/log.h>
#include <android_native_app_glue.h>
#include <vsg/all.h>
#include <vsg/platform/Android/Android_Window.h>
#define LOGI(...) ((void)__android_log_print(ANDROID_LOG_INFO, "vsgnative", __VA_... |
#include <llvm/MC/MCAsmBackend.h>
#include <llvm/MC/MCAsmInfo.h>
#include <llvm/MC/MCCodeEmitter.h>
#include <llvm/MC/MCContext.h>
#include <llvm/MC/MCExpr.h>
#include <llvm/MC/MCFixupKindInfo.h>
#include <llvm/MC/MCInstrInfo.h>
#include <llvm/MC/MCSectionCOFF.h>
#include <llvm/MC/MCSectionELF.h>
#include <llvm/MC/MCSe... |
//
// ndfa.cpp
// Parse
//
// Created by <NAME> on 26/04/2011.
//
// Copyright (c) 2011-2012 <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, i... |
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/freeglut.h>
#include <iostream>
#include <string>
#include <algorithm>
#include "camera.h"
#include "parse.h"
#include "polygon.h"
int SPLINE_DIVISION = 20;
int left_mouse_button = 0;
int right_mouse_button = 0;
int last_x = 0, last_y = 0;
int zoom_mode = 0;
int w... |
// CashItemPeriodSystem.cpp: implementation of the CCashLotterySystem class.
// GS-N 1.00.18 JPN 0x00593630 - Completed
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CashLotterySystem.h"
#include "LargeRand.h"
#include "user.h"
#include "TLog.h"
#include ... |
#include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
#include "StateVector.h"
using namespace KF;
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
#define TWOPI 6.28318530718
inline double NormalizeAngle(double ang)
{
return fmod(ang, TWOPI);
}
/**
... |
#include <lbvh.h>
#include "third-party/stb_image_write.h"
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
namespace {
//! Used for size values.
using size_type = lbvh::size_type;
//! The width of the test image.
inline constexpr size_type image_width() noexcept {
return 1080;
}
//! T... |
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <map>
#include "main.h"
#include "shader_s.h"
#include "modelclass.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <glm/glm/glm.hpp>
#include <glm/glm/gtc/matrix_transform.hpp>
#include <glm/glm/gtc/type_ptr.hpp>
#defin... |
/*! \file filesys.cc
// \brief Routines to manage the overall operation of the file system.
//
// Implements routines to map from textual file names to files.
//
// Each file in the file system has:
// - A file header, stored in a sector on disk
// (the size of the file header data structure is arranged
// to be ... |
/**
@file hlagent.cc
@ingroup Communication
@brief High-level agent
@author <NAME>
@verbatim
Revision: $Revision$
Revision date: $Date$
Committed by: $Author$
This file is part of the Periscope performance measurement tool.
See http://www.lrr.in.tum.de/periscope for de... |
//===-- tools/f18/f18-parse-demo.cpp --------------------------------------===//
//
// 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
//
//===---------------------------... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/****************************************************************************
*
* Copyright (c) 2014, 2015 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Re... |
//===- StackMaps.cpp ------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
#include "../basic-abstract-game.h"
#include "../assetgen.h"
#include <set>
#include <queue>
#include "../mazegen.h"
#include "../cpp-utils.h"
#include "../qt-utils.h"
const std::string NAME = "coinrun";
const float GOAL_REWARD = 10.0f;
const int GOAL = 1;
const int SAW = 2;
const int SAW2 = 3;
const int ENEMY = 5;
... |
// Color tables code
// Copyright (C) 1996 <NAME> All Rights Reserved
#include "console/colors.h"
#include "registry.h"
#define FG_WHITE (FOREGROUND_RED | FOREGROUND_GREEN | FOREGROUND_BLUE)
#define FG_YELLOW (FOREGROUND_RED | FOREGROUND_GREEN)
#define FG_VIOLET (FOREGROUND_RED | FOREGROUND_BLUE)
#de... |
// Copyright 2014 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 "chrome/browser/speech/tts_controller_impl.h"
#include <stddef.h>
#include <string>
#include <vector>
#include "base/values.h"
#include "build... |
// thx https://github.com/jbro129/Unity-Substrate-Hook-Android
#include "../../shared/utils/utils.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dlfcn.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <unordered_set>
#include "il2cpp-object-internals.h"
#include "modl... |
/////////////////////////////////////////////////
// Text-Base-Results
TTxtBsRes::TTxtBsRes(
const PTxtBs& _TxtBs, const TStr& _WixExpStr, const TBlobPtV& _DocIdV):
Ok(true), ErrMsg("Ok"),
TxtBs(_TxtBs), WixExpStr(_WixExpStr), DocIdV(){
DocIdV.Gen(_DocIdV.Len());
for (int DocIdN=0; DocIdN<_DocIdV.Len();... |
// ConformingHrefine2D.m
// function newQ = ConformingHrefine2D(edgerefineflag, Q)
// 2007/02/04
//---------------------------------------------------------
#include "NDGLib_headers.h"
#include "NDG2D.h"
#include "VecSort_Type.h"
// helper routine for ConformingHrefine2D
int countrefinefaces(const IMat& edgerefinefla... |
#ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
// dtgraves 11-02-2001
#include "EBFineToCoarRedist.H"
#include "LayoutIter... |
// This file is part of Notepad2.
// See License.txt for details about distribution and modification.
//! Lexer for Go.
#include <cassert>
#include <cstring>
#include "ILexer.h"
#include "Scintilla.h"
#include "SciLexer.h"
#include "WordList.h"
#include "LexAccessor.h"
#include "Accessor.h"
#include "StyleContext.h"... |
#pragma once
#include <NTL/RR.h>
#include <utility>
#include "proper_primes.hpp"
// choice of the approximation praxis for the estimated fraction of an error
// to appear in the next iteration of a bit-flipping decoder
#define ROUNDING_PRAXIS round
/* Probability that a variable node is correct, and a parity equation... |
#include "DQM/SiStripCommissioningDbClients/interface/LatencyHistosUsingDb.h"
#include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
#include "DataFormats/SiStripCommon/interface/SiStripFecKey.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/DetId/interface/DetId.h"
#includ... |
/* -----------------------------------------------------
* Photo-Voltaic Statistics Broadcaster Firmware (PVSB)
* -----------------------------------------------------
*
* @author: <NAME>
*/
#include <Arduino.h>
#include <SoftwareSerial.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266HT... |
// This program performs multiclass classification based on the
// one-vs-all scheme. In each binary classification problem, the
// classifer is a kernel ridge regression. The kernel ridge
// regresssion is approximated by using the Random Binning feature
// method. This program is suitable for the case of a large numb... |
/*
Excited States software: KGS
Contributors: See CONTRIBUTORS.txt
Contact: <EMAIL>
Copyright (C) 2009-2017 Stanford University
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... |
/*
* PROGRAM: Dynamic SQL runtime support
* MODULE: ddl.cpp
* DESCRIPTION: Utilities for generating ddl
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the Lice... |
/**********************************************************************
* File: blread.cpp (Formerly pdread.c)
* Description: Friend function of BLOCK to read the uscan pd file.
* Author: <NAME>
* Created: Mon Mar 18 14:39:00 GMT 1991
*
* (C) Copyright 1991, Hewlett-Packard Ltd.
** Licensed under the A... |
/*
Track Quality Body file
C.Brown & C.Savard 07/2020
*/
#include "L1Trigger/TrackTrigger/interface/TrackQuality.h"
#include "PhysicsTools/ONNXRuntime/interface/ONNXRuntime.h"
//Constructors
TrackQuality::TrackQuality() {}
TrackQuality::TrackQuality(const edm::ParameterSet& qualityParams) {
std::string Algorithm... |
#include "EntityManager.h"
#include "App.h"
#include "Log.h"
#include "Textures.h"
#include "Render.h"
#include "Fonts.h"
#include "Scene1.h"
#include "Title.h"
#include "PlayerEntity.h"
#include "Ally1.h"
#include "NPC1.h"
#include "NPC2.h"
#include "NPC3.h"
#include "Enemy1.h"
#include "Enemy2.h"
#include "Enemy3.... |
#include <fstream>
#include <vector>
#include <string>
#include <rw/math/Random.hpp>
#include <rw/math/Vector3D.hpp>
#include <rwlibs/task/GraspTask.hpp>
#include <rwlibs/algorithms/kdtree/KDTree.hpp>
#include <rwlibs/algorithms/kdtree/KDTreeQ.hpp>
#include <boost/program_options/options_description.hpp>
#include <bo... |
/** Define the World type and its global instance '$'
* @file
*
* This source file is part of the Pegasus3d browser.
* See Copyright Notice in pegasus3d.h
*/
#include "pegasus3d.h"
#include "xyzmath.h"
/** Create a new world */
int world_new(Value th) {
pushType(th, getLocal(th, 0), 32); // Create prototype of s... |
#include "xml.h"
#include <cstdlib>
#include <cstring>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
#include "rapidxml-1.13/rapidxml.hpp"
#include "error.h"
#include "execution.h"
std::ostream& operator<<(std::ostream& out, const exe::variable_declaration_t& vd) {
... |
// This program is an implementation of the "Faster Algorithm" in
// Jarvis et al (astroph/0307393) for calculating the three point
// correlation function.
//
// The general idea (see the paper for more specifics and a spiffy
// graphic) is to break the problem into separate units doing one bin
// of log r (r = d3 ... |
/**
* ElGA directory master implementation
*
* Author: <NAME>
*
* Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC
* (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
* Government retains certain rights in this software.
*
* Please see the LICENSE.md file for licen... |
#include "tpch_table_generator.hpp"
extern "C" {
#include <dss.h>
#include <dsstypes.h>
#include <rnd.h>
}
#include <boost/hana/for_each.hpp>
#include <boost/hana/integral_constant.hpp>
#include <boost/hana/zip_with.hpp>
#include <filesystem>
#include <utility>
#include "benchmark_config.hpp"
#include "operators/imp... |
/*************************************************************************/
/* gradle_export_util.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... |
// Copyright 2019 <NAME> <<EMAIL>>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... |
// Copyright (C) 2013-2014 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 lim... |
//********************************************************
// Syzygy is licensed under the BSD license v2
// see the file SZG_CREDITS for details
//********************************************************
#include "arPrecompiled.h"
#include "arHTR.h"
#include "arLogStream.h"
#include <string>
using namespace ... |
#include <iostream>
#include <ros/ros.h>
#include "opencv2/opencv.hpp"
#include <image_transport/image_transport.h>
#include <opencv2/highgui/highgui.hpp>
#include <cv_bridge/cv_bridge.h>
#include <vector>
#include "std_msgs/String.h"
// for sending an array as message
#include "std_msgs/Float32MultiArray.h"
// for vis... |
/*
Software License Agreement (BSD License)
Copyright (c) 2012 Adafruit Industries. All rights reserved.
Copyright (c) 2022 <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 o... |
/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
softwar... |
/**
* \file QryWdbeMtpList.cpp
* job handler for job QryWdbeMtpList (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author <NAME> (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WDBECMBD
#include <Wdbecmbd.h>
#else
#include <Wdbed.h>
#endif
#include "QryWd... |
/*
* Copyright (c) <NAME>
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the functionality o... |
/*
Minetest
Copyright (C) 2010-2013 celeron55, <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.
This ... |
//==--- GraphCG.cpp ----- Interface to code generation via graph -----------==//
//
// The Phaeton Compiler Infrastructure
//
//===----------------------------------------------------------------------===//
//
// This file implements the GraphCodeGen class.
//
//===----------------------------------... |
#include "client_http.hpp"
#include "server_http.hpp"
// Added for the json-example
#define BOOST_SPIRIT_THREADSAFE
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp>
// Added for the default_resource example
#include <algorithm>
#include <boost/filesystem.hpp>
#include <fstream>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.