text
stringlengths
5.71k
33.7k
/* * Sux: Succinct data structures * * Copyright (C) 2007-2013 <NAME> * * This library 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 option) ...
// Here are some code samples from the math library in its current form. // First are some functions from the Matrix4 class. The first several functions assume // column vectors and matching coordinate system and rotation handedness. Once we've // figured out the best way to do it, they will be revised to support diff...
/****************************************************************************** * * Title: pid.c * * Description: Proportional - Integral - Dervivative controller functions. * *****************************************************************************/ #include <stdio.h> #include <stdlib.h> #include ...
#include "ofPolyline.h" #include "ofGraphics.h" //---------------------------------------------------------- ofPolyline::ofPolyline(){ clear(); } //---------------------------------------------------------- ofPolyline::ofPolyline(const vector<ofPoint>& verts){ clear(); addVertexes(verts); } //--------------------...
#include <assert.h> #include <iostream> #include <random> #include <sys/time.h> #include "bmlib_runtime.h" #define BMLIB_SAFE_CALL(cmd) assert(cmd == BM_SUCCESS) #define DIV_UP(a, b) (((a) - 1) / (b) + 1) #ifdef USING_CMODEL #define MAXIT (1) #else #define MAXIT (100) #endif typedef struct { int N, IC, OC, H, W; ...
#include "ColorData.h" ColorData::ColorData(const HWND &_Window) { RECT lv_Rect; ::GetClientRect(_Window, &lv_Rect); // Panel position. m_PanelPosition = { static_cast<int>(lv_Rect.right * 0.58f) + BORDER_INDENT * 2, BORDER_INDENT }; // Panel dimensions. const int lv_...
// Copyright 2013 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 "testing/gtest/include/gtest/gtest.h" #include "url/url_canon.h" #include "url/url_canon_stdstring.h" #include "url/url_parse.h" #include "url/ur...
#include "main.h" #include "ACMMP.h" void GenerateSampleList(const std::string &dense_folder, std::vector<Problem> &problems) { std::string cluster_list_path = dense_folder + std::string("/pair.txt"); problems.clear(); std::ifstream file(cluster_list_path); int num_images; file >> num_images; ...
/* ----------------------------------------------------------------------------- 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 Tor<NAME> Permission is hereby granted, free of charge, to any person obtaining a co...
//===- frontend_dialect_transformer.cpp - MLIR Operations -----------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file transforms the input to available MLIR dialects that can represent // the operations of the ...
#include "Text.h" #include <iostream> #include <sstream> using namespace vsg; GraphicsPipelineBuilder::GraphicsPipelineBuilder(Paths searchPaths, Allocator* allocator) : Inherit(allocator) { } void GraphicsPipelineBuilder::build(vsg::ref_ptr<Traits> traits) { // set up graphics pipeline // create de...
/* Copyright (C) 2003 MySQL AB This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHOUT AN...
// // CalcCoordinator.cpp #include "CalcCoordinator.h" CalcCoordinator::CalcCoordinator(OutputResult::OutputType out_t, std::string resultFileName) : outFileName(resultFileName), outputMutex(new boost::mutex()), calcValuesMutex(new boost::mutex()), calcInfo(new vector<CalcInfo>()), outResults(new OutputResult(out_t,...
//===------ MachOPlatform.cpp - Utilities for executing MachO in Orc ------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#include "datastream.hpp" #include "memory.hpp" #include "privileged.hpp" void* sbrk(size_t num_bytes) { constexpr uint32_t NBPPL2 = 16U; constexpr uint32_t NBBP = 65536U; static bool initialized; static uint32_t sbrk_bytes; if(!initialized) { sbrk_bytes = __builtin_wasm_cur...
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // 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://w...
// // ops.cc // ops // // Created by 孙瑞琦 on 2020/10/10. // // #include "ops.h" // 返回KKT条件的违背值; // 输入特征数据, 标签, 要计算的样本下标, 支持向量分类器使用的核函数, 全部拉格朗日乘子, 非零拉格朗日乘子和偏置项. // `Matrix` 兼容32位和64位浮点型Eigen::Matrix矩阵, `Array` 兼容32位和64位浮点型Eigen::Array数组, `Vector` 兼容32位和64位浮点型向量, // 不支持不同位数模板兼容. // TODO(<NAME>, tag:performance): 在CC中...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
/* * Copyright (C) 2009 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 app...
//===-- naked.cpp ---------------------------------------------------------===// // // LDC – the LLVM D compiler // // This file is distributed under the BSD-style LDC license. See the LICENSE // file for details. // //===----------------------------------------------------------------------===/...
// Varmint's EITTRIS // Copyright (C) 1996-2000, Purple Planet Software // // Computer.cpp - computer intelligence code. #include "stdafx.h" #include "eittris.h" #define MOVEERR -1000 #define MOVEPICK 2 #define BESTX 3 #define JUSTCHECKING 1 int countvoids(BYTE g[]); int countdensity(BYTE g[]); int condenseminigrid(...
/* * FPDocControls.cpp * * FretPet X * Copyright © 2012 <NAME>. All rights reserved. * */ #include "FPDocControls.h" #include "FPDocWindow.h" #include "FPHistory.h" #include "FPApplication.h" #include "CGHelper.h" #include "TPictureControl.h" #pragma mark - #pragma mark Document Controls #pragma mark - //----...
#include "DebugDrawing.hpp" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/constants.hpp> #include "Shader/Shader.hpp" #include "Shader/ShaderProgram.hpp" #include "DebugDrawing.vert.hpp" #include "DebugDrawing.frag.hpp" #include "VideoErrorCheck.hpp" #ifdef USINGMEMTRACK #include <MemTrackInclude.hpp> #en...
#include "stdafx.h" #include "SkyController.h" #include "Common.h" #include "Random.h" #include <math.h> #include "Engine/AllegroImage5.h" void SkyController::Reset() { m_dayTime = 0; m_skyTime = 0; m_astroTime = 0; m_starsTime = 0; m_currentSky = 0; m_currentAstro = 0; m_currentStars = 0; } ...
#include <cmath> #include <iostream> #include <ale_interface.hpp> #include <glog/logging.h> #include <gflags/gflags.h> #include "prettyprint.hpp" #include "dqn.hpp" #include <boost/filesystem.hpp> #include <thread> #include <mutex> #include <algorithm> #include <chrono> #include <limits> using namespace boost::filesys...
#ifndef ATTACH_H #include "Attach.h" #endif void testing::slab_wg_neff_calc() { // Run a three layer slab waveguide neff calculation and check the results // <NAME> 2 - 5 - 2018 double W = 1.5; double WL = 1.55; double Nc = 3.38; double Ns = 3.17; double Ncl = 1.0; slab_tl_neff sl_obj; sl_obj.set_par...
// Local-Hyperion includes #include "LedDevicePhilipsHue.h" // jsoncpp includes #include <json/json.h> // qt includes #include <QtCore/qmath.h> #include <QEventLoop> #include <QNetworkReply> #include <stdexcept> #include <set> bool operator ==(CiColor p1, CiColor p2) { return (p1.x == p2.x) && (p1.y == p2.y) && (p...
#include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/filters/passthrough.h> #include <pcl/segmentation/sac_segmentation.h> #include <pcl/filters/extract_indices.h> #include <pcl/filters/voxel_grid.h> #include <pcl/filters/project_inliers.h> #include <pcl/registration/icp.h> #include <pcl/segmentation/e...
#include "utils.h" #include <fstream> #include <iostream> #include <ctime> #include <thread> #include <boost/algorithm/string.hpp> #include <boost/format.hpp> #include <Eigen/Dense> using namespace Eigen; struct Pair { size_t i; size_t j; }; void reset_columns(MatrixXd& weights, std::un...
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2009 <NAME> (<EMAIL>) // // 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 o...
/** * Copyright (C) 2016-2017 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// LaneFitting.cc #include "../include/LaneFitting.h" LaneFitting::LaneFitting() { // 采用默认的参数 nwindows_ = 7; margin_ = 100; minpix_ = 25; xm_per_pix_ = 30. / 180; ym_per_pix_ = 3.7 / 220; } LaneFitting::LaneFitting(LaneFitParas &fit_paras) { nwindows_ = fit_paras.nwindows; margin_ = ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the LICENSE * file in the root directory of this source tree. */ #define DEBUG_TYPE "closureanalysis" #include "hermes/Optimizer/Scalar/ClosureAnalysis.h" #include "hermes/IR/Analysis.h" #include ...
#include "detectOS.h" #include <QFile> #include <QFileInfo> #include <QCryptographicHash> #include <QIODevice> #include <QList> #include <iostream> #include <QFile> #include <QFileInfo> #include <QCryptographicHash> #include <QIODevice> #include <QList> #include <iostream> struct fileos { fileos (coex::ITypeOperati...
/* * Copyright (c) 2020 Barcelona Supercomputing Center * 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 ...
#include "st.hpp" #include "ast.hpp" using namespace ST; // other funcs [Symbol] void Symbol::setType(Types::Type type, std::string compType, SymbolTable* typeTable){ _type = type; if(type == Types::composite_t){ _compType = compType; _typeTable = typeTable; } } Symbol* Symbol::copy(){ Symbol *s =...
#include <vector> #include <unordered_map> #include <array> #include <utility> #include <limits> #include <cmath> #include "mex.h" #include <GEL/CGLA/Vec4i.h> #include <GEL/CGLA/Vec4f.h> #include "util.h" #include "volume.h" #include "tet_mesh_4d.h" #include "matlab_util.h" using namespace CGLA; constexpr float TO...
/* * Copyright (c) 2009-2016, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of conditions an...
#include <iostream> #include "random" #include "Shop.h" #include <string> #include <core/Godot.hpp> #include <SceneTree.hpp> #include <Viewport.hpp> using namespace godot; // ###################### SHOP SUPERCLASS ############################## void Shop::_register_methods() { register_method((char*...
/* built upon io_uring codebase https://github.com/shuveb/io_uring-by-example */ #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <sys/syscall.h> #include <sys/mman.h> #include <sys/uio.h> #include <linux/fs.h> #include <fcntl.h> #include <unistd.h> #include <string.h> #inclu...
#include "DBOBlock.h" // Externals for DBO/Manager relationship #include <vector> extern std::vector< sMesh* > g_vRefreshMeshList; extern std::vector< sObject* > g_vAnimatableObjectList; extern int g_iSortedObjectCount; extern sObject** g_ppSortedObjectList; sBone::sBone ( ) { // clear out structure mem...
/*************************************************************************\ Copyright 2010 The University of North Carolina at Chapel Hill. All Rights Reserved. Permission to use, copy, modify and distribute this software and its documentation for educational, research and non-profit purposes, without ...
/* * PackageLicenseDeclared: Apache-2.0 * Copyright (c) 2015 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
// fcn.cpp : 此文件222包含 "main" 函数。程序执行将在此处开始并结束。 // #include<torch/script.h> #include <torch/torch.h> #include <torch/nn/pimpl.h> #include <torch/nn/parallel/data_parallel.h> #include <iostream> #include <opencv2/opencv.hpp> #include <iostream> #include <cstddef> #include "CamVid_Load.hpp" #include "args.hx...
#include <random> #include <iostream> #include <vector> #include <string> #include <cmath> #include <cassert> #include <cstdbool> #include <random> #include <csignal> uint64_t evaluations = 0; static void catch_function(int s) { std::cout << evaluations << std::endl; } #ifndef HBM_PRINT_VAR #define HBM_PRINT_VAR(...
/****************************************************************************** ** Copyright (C) 2008 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: <NAME> ** ** Date: 10/09/08 ** ** File: mr3d_fct...
#include "openalsoftaudioengine.h" /* * Code adapted from OpenAL Source Play Example and HRTF example * * Copyright (c) 2017 by <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 ...
#include "Arduino.h" #include <SdFat.h> #include <SimpleSerialShell.h> #include "pindefs.h" #include <printf.h> #include <TimeLib.h> #include <errno.h> #include <malloc.h> #include <opts.h> extern "C" { #include "expressions.h" } extern void initINA233(void); extern int debugINA233(int argc, char **argv); extern lon...
/* -------------------------------------------------------------------------- * * OpenSim: testFrames.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simulation. * ...
//----------------------------------------------------------------------------- // File: D3DUtil.cpp // // Desc: Shortcut macros and functions for using DX objects // // // Copyright (c) 1997-2000 Microsoft Corporation. All rights reserved //----------------------------------------------------------------------------- ...
/** * Copyright - See the COPYRIGHT that is included with this distribution. * pvxs is distributed subject to a Software License Agreement found * in file LICENSE that is included with this distribution. */ #include <testMain.h> #include <epicsUnitTest.h> #include <pvxs/unittest.h> #include <pvxs/data.h> #includ...
/// @file DpmMySql.cpp /// @brief MySQL DPM Implementation. /// @author <NAME> <<EMAIL>> #include <dmlite/cpp/dmlite.h> #include <dmlite/cpp/utils/urls.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <vector> #include "DpmMySql.h" #include "Queries.h" #include "MySqlFactories.h" #include "ut...
#include "TriangularMesh.hpp" #include "TriangleElement.hpp" #include <vector> #include <algorithm> #include <cmath> #include <iostream> #if defined(_OPENMP) #include <omp.h> #endif using sel_map::mesh::TriangularMesh; using sel_map::mesh::RowArray_t; using sel_map::mesh::TriangleElement; using sel_map::core::E...
/***************************************************************************** YASK: Yet Another Stencil Kit Copyright (c) 2014-2019, Intel Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
#include <kytea/kytea-model.h> #include <kytea/feature-lookup.h> #include "liblinear/linear.h" #include <cstdlib> #include <cmath> #include <algorithm> #include <iostream> using namespace kytea; using namespace std; #define SIG_CUTOFF 1E-6 #define SHORT_MAX 32767 int KyteaModel::featuresAdded_ = 0; template <class ...
#include "SKClient.h" #include "SKSession.h" #include "SKClientDHTConfigurationProvider.h" #include "SKGridConfiguration.h" #include "SKSessionOptions.h" #include "SKValueCreator.h" #include "skconstants.h" #include "jenumutil.h" #include <string> #include <vector> using namespace std; using std::string; #include <ios...
// MIT License // // Copyright (c) 2016 <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, copy, mo...
//---------------------------------------------------------------------------- // // License: See top level LICENSE.txt file. // // Authors: <NAME>, <NAME> // // Description: // // Command line application "ossim-rpf" to: // 1) Print raster product format(rpf) frames list from a.toc file. // 2) Generate an a.toc file...
#include <iostream> #include <fstream> #include <string> #include <cstdlib> #include <algorithm> #include <vector> #include "htslib/sam.h" //#include "htslib/faidx.h" //#include "bam.h" #include <deque> #include <cctype> using namespace std; /////////////////////// struct Pileup { // this is a basic data structure...
/** @file host.c @brief ENet host management functions */ #define ENET_BUILDING_LIB 1 #include <string.h> #include "enet/enet.h" /** @defgroup host ENet host functions @{ */ /** Creates a host for communicating to peers. @param address the address at which other peers may connect to this host. If NUL...
#include "c3.h" #include "battleviewwindow.h" #include "aui_control.h" #include "ctp2_Static.h" #include "ctp2_button.h" #include "c3_icon.h" #include "c3ui.h" #include "aui_uniqueid.h" #include "aui_ldl.h" #include "aui_stringtable.h" #include "aui_blitter.h" #include "pixelutils.h" #include "primitives.h" #include...
/* ds1338_virt.c Copyright 2014 <NAME> <<EMAIL>> Based on i2c_eeprom example by: Copyright 2008, 2009 <NAME> <<EMAIL>> This file is part of simavr. simavr is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software ...
#include <iostream> #include <string> #include <string.h> #include <cmath> #include <map> #include <unordered_map> #include <list> #include <algorithm> #include "main.h" #include "bwt.h" using namespace std; typedef unsigned long long int ulli; #define debug(x) cout<<#x<<": "<<x<<endl bool verbose = false; /* templat...
//////////////////////////////////////////////////// // Mainfrm.cpp #include "stdafx.h" #include "mainfrm.h" #include "resource.h" /////////////////////////////////////// // Definitions for the CMainFrame class CMainFrame::CMainFrame() : m_view(IDD_DIALOG1), m_isChoosing(FALSE) // Constructor { // Set the model...
// // Bachelor of Software Engineering // Media Design School // Auckland // New Zealand // // (c) 2018 Media Design School. // // File Name : // Description : // Author : <NAME> // Mail : <EMAIL> // // Library Includes #include <time.h> #include <stdio.h> #include <stdlib.h> // Local Includes #include "Game.h"...
/*------------------------------------------------------------------------------------- Copyright (c) 2006 <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 anyon...
/* //@HEADER // ***************************************************************************** // // XtraPuLP: Xtreme-Scale Graph Partitioning using Label Propagation // Copyright (2016) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government r...
#include "ModuleRoad.h" #include "Globals.h" #include "Application.h" #include "ModuleTextures.h" #include "ModuleRender.h" #include "ModulePlayer.h" #include "ModuleGUI.h" #include "ModuleFadeToBlack.h" #include "ModuleAudio.h" ModuleRoad::ModuleRoad(bool active): Module(active){ } ModuleRoad::~ModuleRoad(){ } b...
#include "interface.h" #include <cmath> #include <cstdio> #include <cstring> #include <cstdlib> #include <fstream> #include <iostream> #include <vector> #include <Eigen/Dense> #include <Eigen/SparseCore> #include <Eigen/SparseCholesky> #include <Eigen/IterativeLinearSolvers> constexpr bool DEBUG = false; using nam...
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
/* * Parse file in hex format into internal representation. * Author: <NAME> <<EMAIL>> * License: TBD */ #include <vector> #include <string> #include <fstream> #include <array> #include <iostream> #include <algorithm> #include <cmath> #include <iomanip> #include <string.h> #include "string_operations.h" #include ...
#include <export_libwsjcppcli_py.h> #include <iostream> #include <iomanip> #include <algorithm> #include <websocketserver.h> #include <employees.h> #include <sys/types.h> #include <sys/stat.h> #include <memory> #include <iostream> #include <fstream> #include <iomanip> // put_time #include <ctime> #include <sstream> /...
//perception_oru #include <message_filters/subscriber.h> #include <message_filters/synchronizer.h> #include <message_filters/sync_policies/approximate_time.h> #include "ndt_mcl/particle_filter.hpp" #include "ndt_map/ndt_map.h" #include "ndt_map/ndt_conversions.h" //pcl #include <pcl/conversions.h> #include <pcl/point_...
//===================================================// // File Name: mxnetlambda_op.cpp // Author: <NAME> // Created Date: 2017-11-04 // Description: Call MXNet via AWS lambda, we registered // this as a kernel in Scanner //===================================================// #include "mxnetlambda.pb.h" /...
/************************************************************** * * 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...
/**The MIT License (MIT) Copyright (c) 2017 by <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
#include <stdio.h> #include <math.h> #include <arrayfire.h> #include <string.h> // memset #include "../common/progress.h" using namespace af; struct pml_t { int npml_x, npml_z; int pml_vec[4]; }; struct medium_t { float Mstart, epsilon_r, chi_1, tau_0, sigma, dt; bool back_bound; array gbc; }; typ...
/* Copyright (C) 2003-2014 by <NAME> <<EMAIL>> 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 commercia...
// Copyright (c) 2013 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 "tools/gn/toolchain_manager.h" #include <set> #include "base/bind.h" #include "build/build_config.h" #include "tools/gn/err.h" #include "to...
// Copyright (c) 2020 Graphcore Ltd. All rights reserved. #define BOOST_TEST_MODULE CTCLossCodeletTest #include <iomanip> #include <random> #include <poplar/Engine.hpp> #include <poplar/Graph.hpp> #include <poplar/IPUModel.hpp> #include <poplibs_support/LogArithmetic.hpp> #include <poplibs_support/TestDevice.hpp> #inc...
// ================================================================================================= // ADOBE SYSTEMS INCORPORATED // Copyright 2010 Adobe Systems Incorporated // All Rights Reserved // // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms // of the Adobe lic...
#include "media_transform.h" #include <vpx/vpx_codec.h> #include <vpx/vpx_decoder.h> #include <mutex> #include <vpx/vp8dx.h> #include <cassert> #include <rigtorp/SPSCQueue.h> #include <thread> #include <condition_variable> //implemets the default vp9 decoder with internal //framebuffers and frame by frame decoding. ...
#include <ros/ros.h> // #include <geometry_msgs/PoseStamped.h> // #include <geometry_msgs/Pose.h> // #include <geometry_msgs/Point.h> // #include <image_transport/image_transport.h> #include "std_msgs/String.h" #include "ar_track_alvar_msgs/AlvarMarkers.h" #include "ar_track_alvar_msgs/AlvarMarker.h" // #include <op...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any pers...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program */ /* GCG --- Generic Column Generation */ ...
/** * @file fsnearbychatcontrol.cpp * @brief Nearby chat input control implementation * * $LicenseInfo:firstyear=2009&license=viewerlgpl$ * Second Life Viewer Source Code * Copyright (C) 2010, Linden Research, Inc. * Copyright (C) 2012, <NAME> @ Second Life * * This library is free software; you can redistri...
/* =========================================================================== The Open Game Libraries. Copyright (C) 2007-2010 Lusito Software Author: <NAME> (TTK-Bandit) Purpose: Somewhat of a demo game ----------------------------------------- This software is provided 'as-is', without any express or imp...
/* * Copyright (c) 2020 Sprint * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
/* EGYPT Toolkit for Statistical Machine Translation Written by <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME>. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; ei...
#include "pixmap.h" #include <Tempest/File> #include <Tempest/Except> #include "pixmapcodec.h" #include <vector> #include <cstring> #include <squish.h> using namespace Tempest; struct Pixmap::Impl { Impl()=default; Impl(uint32_t w,uint32_t h,Pixmap::Format frm):w(w),h(h),frm(frm) { bpp = uint32_t(bppFo...
// VI January 2012: needs to be migrated to use cluster directly #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/ConsumesCollector.h" #include "DataFormats/Common/interface/Handl...
/* * Copyright 2013 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
#include <iostream> #include <fstream> #include <cmath> #include <vector> #include <stdio.h> #include <string.h> #include <time.h> #include <algorithm> #include "tz_utilities.h" #include "zargumentprocessor.h" #include "zpoint.h" #include "tz_fmatrix.h" #include "tz_farray.h" #include "tz_darray.h" #include "zstring.h...
/* AdaptedComposition.cpp <NAME> (<EMAIL>) 2021 */ #define TRACE false #include "AdaptedComposition.h" #include <chrono> #include <ctime> #include "logging.h" AdaptedCompositionFst::AdaptedCompositionFst(const fst::StdFst &fstA, const fst::StdFst &fstB) : fstA_{fstA}, fstB_{fstB}, symbols_{NULL} { logger_ =...
// <NAME> // // Verified to run on MacOS 10.14.2 // Apple LLVM version 10.0.0 (clang-1000.11.45.5) // cmake 3.13.2 // VTK 8.1.2 #include <iostream> #include <math.h> #include <vtkDataSet.h> #include <vtkImageData.h> #include <vtkPNGWriter.h> #include <vtkPointDa...
// // LICENSE: // // Copyright (c) 2020 -- 2020 <NAME> // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and th...
#include "Includes.h" #include "VertexData.h" // Function prototypes void framebuffer_size_callback(GLFWwindow* window, int width, int height); void mouse_callback(GLFWwindow* window, double xpos, double ypos); void scroll_callback(GLFWwindow* window, double xoffset, double yoffset); void processInput(GLFWwindow *wind...
#include <LWVideo/LWFont.h> #include "LWEUI/LWEUIListBox.h" #include "LWEAsset.h" #include "LWETypes.h" #include "LWELocalization.h" #include <LWPlatform/LWWindow.h> #include <algorithm> #include <iostream> LWEUIListBox *LWEUIListBox::XMLParse(LWEXMLNode *Node, LWEXML *XML, LWEUIManager *Manager, LWEXMLNode *...
#include <cassert> #include <ctime> #include <iostream> #include <list> #include <netinet/in.h> #include <sstream> #include <string> #include <sys/types.h> #include <sys/socket.h> #include <typeinfo> #include <unistd.h> #include "../../include/domains/racetrack/RacetrackProblem.h" #include "../../include/domains/racet...