text stringlengths 8.71k 38.4k |
|---|
/*
This software is part of iowahills_dsp, a set of DSP routines under MIT License.
2016 By <NAME>, Iowa Hills Software, LLC IowaHills.com
Copyright (c) 2021 <NAME> <<EMAIL>>
All rights reserved.
*/
#include <iowahills/fft.h>
#include "non_throwing_vector.h"
#include <cmath>
//---------------------... |
#include "stdhdr.h"
#include "f4vu.h"
#include "simobj.h"
#include "ClassTbl.h"
#include "camp2sim.h"
#include "otwdrive.h"
#include "aircrft.h"
#include "missile.h"
#include "helo.h"
#include "digi.h"
#include "ground.h"
#include "initdata.h"
#include "waypoint.h"
#include "simdrive.h"
#include "simfeat.h"
#include "f... |
/*
* By downloading, copying, installing or using the software you agree to this license.
* If you do not agree to this license, do not download, install,
* copy or use the software.
*
*
* License Agreement
* (3-clause BSD License)
*
* Copyright (C) 2014-2017, s... |
/*!
* @brief This is a definition of RTSystemEditorPlugin.
* @author <NAME>
* @file
*/
#include "RTSItem.h"
#include "RTSNameServerView.h"
#include "RTSCommonUtil.h"
#include "RTSDiagramView.h"
#include <cnoid/ItemManager>
#include <cnoid/Archive>
#include <cnoid/CorbaUtil>
#include <cnoid/EigenArchive>
#include... |
// Copyright 2018 <NAME>
/// @file
/// @brief Support for Whirlpool protocols.
/// Decoding help from: \@redmusicxd, \@josh929800, \@raducostea
/// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/509
/// @note Smart, iFeel, AroundU, PowerSave, & Silent modes are unsupported.
/// Advanced 6thSense, Dehumi... |
#include "ImGUIMenu.h"
#include <fstream>
#include <stdio.h>
ImGUIMenu::ImGUIMenu() : SceneElement(shaderIFManager->get("point")) {
renderWindow = glfwGetCurrentContext();
glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
window = glfwCre... |
#include "RtspPusher.h"
#include "xop/RtspServer.h"
#include "xop/H264Parser.h"
#include "RtspConnection.h"
#include "net/Logger.h"
#include "net/TcpSocket.h"
#include "net/Timestamp.h"
#include "whayer/program_stream.h"
#include "json/lib_json.h"
#include "whayer/config_api.h"
#define WIN32_LEAN_AND_MEAN
... |
#include "le_core.h"
#include "le_shader_compiler.h"
#include "shaderc/shaderc.hpp"
#include "le_log.h"
#include "le_renderer.h" // for shader type
#include <iomanip>
#include <iostream>
#include <assert.h>
#include <filesystem> // for parsing shader source file paths
#include <fstream> // for reading shader sour... |
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#ident "$Id$"
/*======
This file is part of PerconaFT.
Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.
PerconaFT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public... |
/*
test_pyob.cpp
*/
//#ifdef _CONSOLE || _WINDOWS
#include "stdafx.h"
//#endif
#include "pyob.h"
void test_ide(void){
try{
/*
char *fn = "_test_.py"; // UTF-8
//PyRun_SimpleFile(); // not for Windows (may be caused FileSystemEncoding ?)
PyObject* py_fo = PyFile_FromString(fn, "r");
PyRun_SimpleFile(PyFile_As... |
/*
* Copyright (c) 2017, University of Kaiserslautern
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* ... |
#pragma once
#include <vector>
#include <cmath>
#include <cstdlib>
#include "gkls_random.hpp"
/* Penalty value of the generated function if x is not in D */
#define GKLS_MAX_VALUE 1E+100
/* Value of the machine zero in the floating-point arithmetic */
#define GKLS_PRECISION 1.0E-10
/* Default value of... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
// Code which recursively traverses an abstract syntax tree to resolve identifiers to the symbols which declared them, resolve expressions to types, and to apply type inference to variable declarations which specify it.
#include "headers/common.h"
#include "headers/ast.h"
#include "headers/type.h"
#include "headers/con... |
/*******************************************************************************
* Copyright (C) 2018-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include <algorithm>
#include <dirent.h>
#include <gio/gio.h>
#include <gst/g... |
#include <iostream>
#include <fstream>
#include "MyMap.h"
// Função que lê os dados do arquivo ou do teclado ✓
void ler(istream &is, MyMap<string,int> &map1, MyMap<string,MyMap<string,int>> &map2, MyMap<string,MyMap<string,MyMap<string,int>>> &map3) {
string linha; // Representa a linha lida
string palavra1; /... |
#include "raylib.h"
#include <string>
#include <iostream>
#include <vector>
#include <memory>
#include <functional>
#include <algorithm>
#include <tuple>
#include <sstream>
#include "stl_reader.h"
#define RAYGUI_IMPLEMENTATION
#define RAYGUI_SUPPORT_ICONS
#include "raygui.h"
#include "rlgl.h"
#define RLIGHTS_IMPLEM... |
/*
All rights reserved. Use of this source code is governed by the
3-clause BSD License in LICENSE.txt.
*/
#include <nanogui/screen.h>
#include <nanogui/window.h>
#include <nanogui/layout.h>
#include <nanogui/label.h>
#include <nanogui/button.h>
#include "skeleton.h"
#include "manuallayout.h"
#include <iostream>
#in... |
/** \file jvetvvenc.cpp
\brief Encoder application main
*/
#include <ctime>
#include <iostream>
#include <unistd.h>
#include <chrono>
#include <stdio.h>
#include <string>
#include <fstream>
#include <cstring>
#include <algorithm>
#include <cstdarg>
#include "vvenc/version.h"
#include "vve... |
#include <list>
#include "emu/state.h"
#include "util/memory.h"
#include "x86/backend.h"
#include "x86/builder.h"
#include "x86/disassembler.h"
using namespace x86::builder;
/* Helper functions to assist code generation. */
// Get the index of the register. AH/CH/DH/BH are not considered here as they will never app... |
/* ----------------------------------------------------------------- */
/* The Toolkit for Building Voice Interaction Systems */
/* "MMDAgent" developed by MMDAgent Project Team */
/* http://www.mmdagent.jp/ */
/* -----------------------------... |
// Copyright © 1996-2018, Valve Corporation, All rights reserved.
//
// Purpose: Implmentation of IEngineTool callback interface
// Tool .dlls can call back through this interface to talk to the engine
#include "ienginetoolinternal.h"
#include "EngineSoundInternal.h"
#include "Overlay.h"
#include "cdll_engine_int.h... |
//
// intsec.cxx
//
// Copyright (c) 2000 IPA and Keio University SFC Research Institution
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include <math.h>
#inc... |
/*
instructions.c
diStorm3 - Powerful disassembler for X86/AMD64
http://ragestorm.net/distorm/
distorm at gmail dot com
Copyright (C) 2003-2016 <NAME>
This library is licensed under the BSD license. See the file COPYING.
*/
#include <stdafx.h>
#include "instructions.h"
#include "insts.h"
#include "prefix.h"
#include ... |
/**
* @file april_tags.cpp
* @brief Example application for April tags library
* @author: <NAME>
*
* Opens the first available camera (typically a built in camera in a
* laptop) and continuously detects April tags in the incoming
* images. Detections are both visualized in the live image and shown
* in the text... |
#include <hackri/renderer.h>
#include <cassert>
using namespace hackri;
//################
//# Bresenham画线 #
//################
template <class T>
static void Bresenham(uint32_t x1, uint32_t y1,
uint32_t x2, uint32_t y2,
const T& color, Buffer2d<T>& buffer) {
uint32_t x, ... |
// ImGui GLFW binding with OpenGL3 + shaders
// (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan graphics context creation, etc.)
// (GL3W is a helper library to access OpenGL functions since there is no standard header to access modern OpenGL functions easily. Alternatives ... |
/*!
* Copyright (c) 2017-2020 by Contributors
* \file builder.cc
* \brief model builder frontend
* \author <NAME>
*/
#include <dmlc/registry.h>
#include <treelite/frontend.h>
#include <treelite/tree.h>
#include <memory>
#include <queue>
/* data structures with underscore prefixes are internal use only and don't ... |
#define ONEDPL_USE_DPCPP_BACKEND 1
#define ONEDPL_USE_TBB_BACKEND 0
#include <oneapi/dpl/execution>
#include <oneapi/dpl/iterator>
#include <oneapi/dpl/algorithm>
#include <CL/sycl.hpp>
#if defined(FPGA) || defined(FPGA_EMULATOR)
#include <CL/sycl/INTEL/fpga_extensions.hpp>
#endif
#include <array>
#include <vector>
#in... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
#include "GLTFLoader.h"
#define TINYGLTF_IMPLEMENTATION
#define TINYGLTF_USE_CPP14
#define TINYGLTF_NO_INCLUDE_STB_IMAGE
#define TINYGLTF_NO_INCLUDE_STB_IMAGE_WRITE
#define TINYGLTF_NO_EXTERNAL_IMAGE
#define TINYGLTF_NO_STB_IMAGE
#define TINYGLTF_NO_STB_IMAGE_WRITE
#include "tiny_gltf.h"
#include "../../Common/Quater... |
/************************************************************************
* Copyright 2008, Strathclyde Planning Group,
* Department of Computer and Information Sciences,
* University of Strathclyde, Glasgow, UK
* http://planning.cis.strath.ac.uk/
*
* <NAME>, <NAME> and <NAME> - VAL
* <NAME>well - PDDL Parser
*... |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... |
#include "application.h"
#include "gpk_bitmap_file.h"
#include "gpk_encoding.h"
#include "gpk_label.h"
#include "gpk_grid_copy.h"
//#define GPK_AVOID_LOCAL_APPLICATION_MODULE_MODEL_EXECUTABLE_RUNTIME
#include "gpk_app_impl.h"
GPK_DEFINE_APPLICATION_ENTRY_POINT(::gme::SApplication, "Module Explorer");
::gpk::error_t... |
/*
* Byte-oriented AES-256 implementation.
* All lookup tables replaced with 'on the fly' calculations.
*
* Copyright (c) 2007-2011 <NAME>, http://www.literatecode.com
* Other contributors: <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is here... |
#include "algolib.hpp"
#include <bits/stdc++.h>
using namespace std;
/*******************************************************************************
*** Data structures ***********************************************************
******************************************************************************/
void ... |
//=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 <NAME> and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS sourc... |
/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/Weapon/Swarm.cpp $
* $Revision: 121 $
* $D... |
#include <QtGlobal>
#include <QInputDialog>
#include "neuron_weighted_distance.h"
#include "v_neuronswc.h"
#include <iostream>
V_NeuronSWC get_v_neuron_swc(const NeuronTree *p);
vector<V_NeuronSWC> get_neuron_segments(const NeuronTree *p);
void neuron_branch_tip_count(V3DLONG &n_branch, V3DLONG &n_tip, const vector<V... |
/* Copyright (c) 1998,2003-2006,2008 Apple Inc.
*
* caVerify.cpp
*
* Verify proper detection of basicConstraints.cA
*/
#include <utilLib/common.h>
#include <utilLib/cspwrap.h>
#include <security_cdsa_utils/cuFileIo.h>
#include <clAppUtils/CertBuilderApp.h>
#include <clAppUtils/clutils.h>
#include <clAppUtils/time... |
// pyramidal median transform with integer
// #include "NR.h"
#include "IM_Obj.h"
#include "IM_IO.h"
#include "IM_BIO.h"
#include "MR_Obj.h"
#include "IM_CompTool.h"
#include "IM_Comp.h"
#include "IM_Noise.h"
#include "MR_Noise.h"
#include "MR_Comp.h"
/***************************************************/
void Block... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// by <NAME>
// adapted for AirSim by <NAME>
#include <stdint.h>
#include <vector>
#include "sgmstereo.h"
#include "dsimage.h"
#include "emmintrin.h"
SGMStereo::SGMStereo(int _w, int _h, int minDisparity, int maxDisparity... |
/*
* main.cpp
*
* Created on: 2012/12/07
* Author: <NAME>
*/
#include "KILM_main.h"
template<typename _OFS>
void save_agent(
_OFS& ofs,
Parameters& param,
unsigned long long int& icount,
unsigned long long int& rcount,
Dictionary& dic,
std::vector<Rule>& meanings,
int& Generation_Counter,
... |
// -*- mode: C++; c-file-style: "cc-mode" -*-
//*************************************************************************
// DESCRIPTION: Verilator: Add temporaries, such as for inst nodes
//
// Code available from: http://www.veripool.org/verilator
//
//*****************************************************************... |
#include "../common/MiniLib/MGL/mglCollision.h"
#include "retro_collider.h"
retro3d::Ray::Ray( void ) :
origin(mmlVector<3>::Fill(0.0f)), direction(retro3d::Transform::GetWorldForward()), length(-1.0f)
{}
retro3d::Ray::Ray(const mmlVector<3> &p_origin, const mmlVector<3> &p_direction, float p_length) :
origin(p_ori... |
#include "DQM/SiPixelMonitorRecHit/interface/SiPixelRecHitModule.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQM/SiPixelCommon/interface/SiPixelHistogramId.h"
/// Framework
#include "FWCore/ServiceRegistry/interface/Service.h"
// STL
#include <vector>
#include <memory>
#include <string>
#include <iost... |
/*
* This is an implementation of the following work:
* Dual Learning for Machine Translation
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
* https://arxiv.org/abs/1611.00179 (accepted at NIPS 2016)
* Developed by <NAME> (<EMAIL>)
* Date: 21 May 2017
*
*/
#include "attentional.h" // AM
#include "rnnl... |
int
hd ,N
, u ,KJw5,
y9RN,
oXkui, igDz,
A7d
, A
,
Z ,b0eOh , jx,bT5
,
IflH1
,KDyp,
VTj18I , q6G
,Dp, bZVP1 , gYL
,Qxh , XCi7 ,pluJc
, y2s/*W*/, /*cn*/NnZ , Y1N
,ow02s,SF ,
MC ,TD , eGo//W
, sMR
,dI ,
X3,w6
,DuQ
,H9O , XIg, DM ,
XAR0//j
, Zt1
,AAeT ,Ib ,V754G ,aS
,VJG2 ,
LY4,MRsD,jz... |
int XZ, /**/llmL,v5
,
nFFOT
,
//7dc
RkXs , ioeRN, AIV
,yfU
, Q4VA5,IRpS
, H
,P2Ay ,viXT
,
qU ,UWd,J, zQ ,js0 , ADD,
E84c,
j97b ,
qpA , eI6
,
gA7et
,
iV ,e5G, B0Jo,iU,//j
/*pdo*/rP
,//d
qtE,Fz
//
,
PL, EhI,ni,PF3v ,f5
,hH
, /*giPD*/QI/*v*/, X , kq1 , Neky
; void f_f0/*yhG*/()/*bH*/{ int ZuU ,... |
// Copyright (c) 2018 The Gulden developers
// Authored by: <NAME> (<EMAIL>)
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "chainparams.h"
#include "chain.h"
#include "generation/miner.h"
#include "h... |
#include "cx_dqmc_replica_ft.hpp"
using namespace dqmc::la;
cx_dqmc_replica_ft::cx_dqmc_replica_ft( alps::Parameters const& p)
: alps::parapack::mc_worker(p), cx_dqmc_params(p), steps(p) {
rank = -1;
if (global::use_mpi) rank = world.rank();
out.SetRankPrefix("worker", rank);
start(p);
cx_dqm... |
#include <stdint.h>
#include <iostream>
#include <string.h>
struct Font
{
/**
* @brief Datatype for a bitmap font for rendering text
* @details Datatype for storing information about how a font should be used to render correctly. Instances of this struct do not need to be manually constructed unless you wish t... |
#include "Headers/values.h"
const Species g_species[36] =
{
{"Alligator", 0, 6},
{"Anteater", 7, 13},
{"Bear", 14, 27},
{"Bird", 28, 41},
{"Bull", 42, 47},
{"Cat", 48, 70},
{"Chicken", 71, 79},
{"Cow", 80, 83},
{"Cub", 84, 99},
{"Deer", 100, 110},
{"Dog", 111, 126},
{"... |
/*
Minetest
Copyright (C) 2013 celeron55, <NAME> <<EMAIL>>
OpenAL support based on work by:
Copyright (C) 2011 Sebastian 'Bahamada' Rühl
Copyright (C) 2011 Cyriaque 'Cisoun' Skrapits <<EMAIL>>
Copyright (C) 2011 <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of... |
int Ha2RZ ,
HzK,
KQ
,d5ud
,OLDBn ,f5oNA ,QzLXglO ,
AaF6
,scVHbs, S7w
,AC,yr, YWCq
, rdAE,TRG
, xBY, Myx ,wKj3 ,b0,qcSo7,
v,Uh
,/**/Gn7F//k
,X1enyG//xG
,Y2,ShX, PaKn, sSu
,/*ZR*/lsUO
, /**/gh,
pnYsX, ic9
,B
, hV ,
QH4P ,K ,i2qk,
Nb,t7 ,x ;//g
void
f_f0
()
//S2l
{/*XO*/ { for//
(int i=1 ;i< 1 ;++... |
/**
* Camera manipulation with self-implementation to form look-at matrix, with ImGUI for manipulate
* the camera + Gizmo.
*
* This version modifies Camera/ sample to not capture mouse cursor, and force it to be in the central
* of screen all the time. User can activate using mouse movement to manipulate the camer... |
/*******************************************************************\
Module: Generates string constraints for functions generating strings
from other types, in particular int, long, float, double, char, bool
Author: <NAME>, <EMAIL>
\*******************************************************************/
/// \... |
/*
* Copyright (c) 2011-2012, Code Aurora Forum. 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 o... |
#include <iostream>
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "Shader.h"
#include "Material.h"
#include "LightDirectional.h"
#include "LightPoint.h"
#include "LightSpot.h"
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hp... |
// Author(s): <NAME> and <NAME>
// Copyright: see the accompanying file COPYING or copy at
// https://github.com/mCRL2org/mCRL2/blob/master/COPYING
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#include ... |
/*
* Copyright 2017, International Business Machines
*
* 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... |
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copyright (c) 1999-1999 Microsoft Corporation
Module Name:
cgvisitor.hxx
Abstract:
classes and templates for visitors
Notes:
History:
mzoran Nov-24-1999 Created.
-----------------------------... |
#include <cstdlib>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <initializer_list>
#include <iostream>
#include "exceptions.hpp"
#include "invariant_types.hpp"
#include "lexer.hpp"
#include "parser.hpp"
#include "resolver.hpp"
#define ACLC_VERSION "1.0.0a"
#define ACLC_GLOBAL_IMPORT_DIR "lib/... |
/*
* BSD 3-Clause License
*
* This file is part of the CameraLidarCalibrator distribution (https://github.com/LRMPUT/CameraLidarCalibrator).
* Copyright (c) 2020, <NAME> (<EMAIL>)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided... |
#include "demohelper.hpp"
// ---------------------------------------------------------------------------------------
// circles
// ---------------------------------------------------------------------------------------
struct ccparams
{
sf::Uint8* data;
int x0, y0, x1, y1;
};
inline int dist(int x0, int y0, int x... |
#include "linedetector.h"
#include <opencv2/video/video.hpp>
#include <opencv2/opencv.hpp>
#include <sensor_msgs/image_encodings.h>
#include <pcl_ros/point_cloud.h>
#include <queue>
using namespace std;
using namespace cv;
using namespace pcl;
cv_bridge::CvImagePtr cv_ptr;
typedef pcl::PointCloud<pcl::PointXYZ> PCLCl... |
/* -------------------------------------------------------------------------- *
* OpenSim: AnalyzeTool.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... |
/*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 2017-2019 Ghassan.pl
/// Usage of the works is permitted provided that this instrument is retained with
/// the works, so that any entity that uses the works is notified of this instrument.
/// DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
#include "Parse.h"
#include <charconv>
#include <fstream>
std::str... |
//
// CMSCGEN.cc version 3.0 <NAME> 2007-05-15
//
// implemented in CMSSW by <NAME> 2007-05-28
// see header for documentation and CMS internal note 2007 "Improved Parametrization of the Cosmic Muon Flux for the generator CMSCGEN" by Biallass + Hebbeker
//
#include <CLHEP/Random/RandomEngine.h>
#includ... |
// 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 "components/omnibox/browser/search_suggestion_parser.h"
#include <stddef.h>
#include <algorithm>
#include <memory>
#include "base/check.h"
#in... |
//======================================================================
//
// C version of MCNP5 routines for random number generation
//
// - These routine require the use of 'unsigned long long' integers,
// as specified in the ANSI-C99 standard - 64-bit integers.
//
// - These routines were developed... |
//===- IMConstProp.cpp - Intermodule ConstProp and DCE ----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
/*=========================================================================
Program: Visualization Toolkit
Module: TestLineWidget.cxx
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHO... |
/*******************************************************
* Copyright (C) 2019, Aerial Robotics Group, Hong Kong University of Science and Technology
*
* This file is part of VINS.
*
* Licensed under the GNU General Public License v3.0;
* you may not use this file except in compliance with the License.
*
* Aut... |
/*
* 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... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... |
#include <stdlib.h>
#include "SDL.h"
#include "GLEngine.h"
#include "Button.h"
#include "ListBox.h"
#include "Slider.h"
#include "Emitter.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/gl.h>
#include <OpenGL... |
/*
* Copyright (c) 2019 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and/or associated documentation files (the
* "Materials"), to deal in the Materials without restriction, including
* without limitation the rights to use, copy, modify, merge, publish... |
#include "XtcMonitorServer.hh"
#include "TransitionCache.hh"
#include "xtcdata/xtc/Dgram.hh"
#include <unistd.h>
#include <semaphore.h>
#ifdef _POSIX_MESSAGE_PASSING
#include <mqueue.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <signal.h>
#include... |
/**
******************************************************************************
* @file lib_NDEF_Bluetooth.c
* @author MMY Application Team
* @version $Revision: 2702 $
* @date $Date: 2016-07-13 18:45:05 +0200 (Wed, 13 Jul 2016) $
* @brief This file helps to manage a NDEF Handover message.
* @... |
/* $Id: SPStream.cpp,v 1.99 2016/08/09 05:35:56 severin Exp $ */
/***
NAME - EEDB::SPStream
SYNOPSIS
DESCRIPTION
Abstract superclass for all stream signal-processing modules.
SPStream is short hand for Signal-Process-Stream
CONTACT
<NAME> <<EMAIL>>
LICENSE
* Software License Agreement (BSD License)
* ZENBU ... |
// ----------------------------------------------------------------------
#include "common.h"
#include "grim_vik.h"
// ----------------------------------------------------------------------
MTypeId Grim_VIK::id( 0x00124843 ); // this is a registered ID-- do not change!
MObject Grim_VIK::iRootMatrix;
MObject Gr... |
/* Copyright 2018 <NAME> (<EMAIL>)
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
*... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
// Adapted from SPEA2 source code written by <NAME>. PISA: (www.tik.ee.ethz.ch/pisa/)
#include "stdafx.h"
#include "pop.h"
#include "params.h"
#include "rnd.h"
#include "pareto.h"
#include "state.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#define SIZEOF_ARRAY( ar... |
/*
* DialogTemplate.cpp
*
* This file is a part of NSIS.
*
* Copyright (C) 2002-2018 <NAME> <<EMAIL>> and Contributors
*
* Licensed under the zlib/libpng license (the "License");
* you may not use this file except in compliance with the License.
*
* Licence details can be found in the file COPYING.
*
*... |
/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/DebugConsole/Console.cpp $
* $Revision: 307... |
#include "Character.h"
#include <array>
#include <iostream>
#include "Constants.h"
#include "SkillTab.h"
character character::fromJson( const Json::Value& json )
{
character newChar {};
newChar.used = json[ "used" ].asInt();
std::strncpy( newChar.name, json[ "name" ].asString().c_str(), sizeof( newChar.name ... |
#include "effect.h"
//Global Effect variables
ID3DXMesh *billboardMesh = NULL;
D3DMATERIAL9 whiteMtrl;
SHADER effectVertexShader, effectPixelShader;
D3DXHANDLE effectMatW, effectMatVP, effectVCol;
ID3DXSprite *sprite = NULL;
//Global Effect Textures
IDirect3DTexture9* runesTexture = NULL;
IDirect3DTexture9* cloudText... |
#include "plugin.hpp"
#include "Controls.hpp"
#include "PushMap.hpp"
#include "Display.hpp"
struct PushMap : Module {
enum ParamIds {
DISPLAY_PARAM,
LIGHTS_PARAM,
NUM_PARAMS
};
enum InputIds {
NUM_INPUTS
};
enum OutputIds {
CVOUT_OUTPUT,
GATEOUT_OUTPUT,
GR_OUTPUT,
GRT_OUTPUT,
NUM_OUTPUTS
};
e... |
//
// Created by huangkun on 2020/10/11.
//
#include <thread>
#include <ceres/ceres.h>
#include <opengv2/event_camera_calib/EventCalibSpline.hpp>
#include <opengv2/event_camera_calib/CirclesEventFrame.hpp>
#include <opengv2/sensor/PinholeCamera.hpp>
#include <opengv2/utility/utility.hpp>
#include <KDTreeVectorOfVecto... |
/*
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... |
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
#include <ctime>
#include <math.h>
#include <windows.h>
#include <time.h>
#include <iomanip>
#define PI 3.14159265
using namespace std;
//Usage: g++ -o G2_1a.exe Heis2d_v03.cpp -O2 ;./G2_1a.exe 2 32 50000 .3 1.5 0.05 2 0 > out_G2_1a.txt... |
/*
* Project Name: ERM19264_UC1609
* File:custom_graphics.cpp
* Description: ERM19264 LCD driven by UC1609C controller header file for the custom graphics functions based on Adafruit graphics library( see above)
* Author: <NAME>.
*/
#include "custom_graphics.h"
#include "custom_graphics_font.h"
custom_graphics::cus... |
/*
* Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient>
*
* 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... |
#include "ALSC.h"
using namespace std;
ALSC::ALSC()
{
}
ALSC::ALSC(Mat imgL, Mat imgR, CALSCParam paramALSC){
m_imgL = imgL; // soft data copy
m_imgR = imgR;
m_paramALSC = paramALSC; // hard copy
nMaxIter = m_paramALSC.m_nMaxIter;
nPatchRadius = m_paramALSC.m_nPatch;
fDisplacementThr = m_p... |
#include "CSearchlights.h"
extern float* CWeatherFoggyness;
extern CVector* GetCamPos();
struct CHeliIII
{
char pad[0x34];
RwV3D pos;
char pad2[0x26C];
RwV3D shadowPos;
char pad3[0x4C];
float unk;
char pad4[0x30];
};
void CSearchlights::RenderHeliSearchLightsIII()
{
static CHeliIII ***pPoliceHelis = (CHeliII... |
#include "transforms.h"
#include "jsim.h"
#include <iit/rbd/robcogen_commons.h>
using namespace iit::rbd;
//Implementation of default constructor
iit::popi::dyn::JSIM::JSIM(InertiaProperties& inertiaProperties, ForceTransforms& forceTransforms) :
linkInertias(inertiaProperties),
frcTransf( &forceTransforms )... |
/****************************************************************************/
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
// Copyright (C) 2009-2020 German Aerospace Center (DLR) and others.
// This program and the accompanying materials are made available under the
// terms of the Ecli... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.