text
stringlengths
3.08k
22k
//! PulseqCESTmex.cpp /*! MATLAB interface for Bloch-McConnell pulseq cest simulation with different call modes <EMAIL> Copyright 2021 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software wit...
/**************************************************************************** * * Copyright (c) 2018 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. ...
// license:BSD-3-Clause // copyright-holders:<NAME>, <NAME> /*************************************************************************** machine/dai.c Functions to emulate general aspects of DAI (RAM, ROM, interrupts, I/O ports) <NAME> <NAME> *****************************************************************...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : freertos.c * Description : Code for freertos applications ****************************************************************************** * @attention * * <h2><cent...
#include "ukf.h" #include "Eigen/Dense" #include <iostream> #include "tools.h" #include <fstream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /** * Initializes Unscented Kalman filter * This is scaffolding, do not modify */ UKF::UKF() { // if this is false, laser measu...
#include "stdint.hpp" #include "string.hpp" #include "term.hpp" #include "ata.hpp" #include "ps8042.hpp" #include "gdt.hpp" #include "prtt.hpp" #include "alloc/watermark.hpp" #include "util/paging.hpp" #include "scancode_set/2.hpp" // [[gnu::aligned(0x1000)]] // 4KiB // static uint32_t pagedir[1024]; void kmain(uin...
/************************************************ BSD 3-Clause License Copyright (c) 2019, HPCN Group, UAM Spain (hpcn-uam.es) 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 sour...
#include "Disk.h" #include "File.h" #include "ImageIO.h" #include "Maths.h" #include "TAffine.h" #include "Timer.h" #include <string.h> // This program (and those that follow) assume all images are the same size; int gw = -1; int gh; class TiffInfo { public: char *name; uint32 w,h; uint8 *raster; ...
/************************************************************** * * 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...
/****************************************************************************** * Project: PROJ.4 * Purpose: Apply datum shifts based on grid shift files (normally NAD27 to * NAD83 or the reverse). This module is responsible for keeping * a list of loaded grids, and calling with each one that...
/****************************************************************************//* * Copyright (C) 2020 <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, includ...
/* library */ #include "functionality.h" #include "dictionary.h" #include <fstream> #include <iostream> #include <curl/curl.h> #include <filesystem> #include <mlpack/core/data/split_data.hpp> #include <mlpack/methods/ann/layer/layer.hpp> #include <ensmallen.hpp> //#include <opencv2/opencv.hpp> int readFile(const std::...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 #include "otbn_memutil.h" #include <cassert> #include <cstring> #include <gelf.h> #include <iostream> #include <libelf.h> #include <limits> #include <stdexcept> #inclu...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "test_bitcoin.h" #include "chainparams.h" #include "consensus/consensus.h" #include "consensus/validation.h" #inclu...
// // Copyright (c) 2009-2010 <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 c...
#include "ghostsyn.hpp" #include "utils.hpp" #include <cmath> #include <cstdlib> #include <limits> #include <fstream> #include <cstring> #ifdef WITH_JSON_LOADER #include <iostream> #include <boost/filesystem.hpp> namespace fs = boost::filesystem; #endif const size_t GhostSyn::MIX_BUF_LEN; GhostSyn::GhostSyn() { ...
/* This app runs the projection during the calibration. It creates multiple windows and displays a coded image in each window. Each window has its own mask, which might not exist on the first run. The server app generates a list of patterns to be projected, and when it receives the "start" command it will iterate t...
// // Created by admin on 2018/4/29. // #include "AVAudioDecoder.h" AVAudioDecoder::AVAudioDecoder(MediaStatus *status, MediaJniCall *jniCall) : AVDecoder(status, jniCall) { streamIndex = -1; ret = 0; dst_layout = 0; dst_nb_samples = 0; out_buffer = (uint8_t *) malloc(sampleRate * 2 * 2 * ...
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #include "pch.h" #include <zlcore/zl_util.h> #include <zlcore/ZLZipArchive.h> using namespace std; #define SCAN_BUFFER_SIZE 256 #define ARCHIVE_HEADER_SIGNATURE 0x06054b50 #define ENTRY_HEADER_SIGNATURE 0x02014b50 #define FI...
/* ** ClanLib SDK ** Copyright (c) 1997-2016 The ClanLib Team ** ** 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 a...
/// YANG Development Kit // Copyright 2016 Cisco Systems. All rights reserved // //////////////////////////////////////////////////////////////// // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional...
//////////////////////////////////////////////////////////////////////////////// // // // PaperBack -- high density backups on the plain paper // // ...
#include<stdio.h> #include <getopt.h> #include <cstdlib> #include "sharedmem.h" #define SETGETSHAREDMEMORYINT(INT) if (get) printf("%d\n", INT); else INT = atoi(value); #define SETGETSHAREDMEMORYLONG(LONG) if (get) printf("%ld\n", LONG); else LONG = atol(value); #define SETGETSHAREDMEMORYSTRING(STR) if (get) printf(...
#include "FusionEKF.h" #include "tools.h" #include "Eigen/Dense" #include <iostream> using namespace std; using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; /* * Constructor. */ FusionEKF::FusionEKF() { is_initialized_ = false; previous_timestamp_ = 0; // initializing matrices R_laser_ = Mat...
// See LICENSE for license details. #include "mmu.h" #include "sim.h" #include "processor.h" mmu_t::mmu_t(sim_t* sim, processor_t* proc) : sim(sim), proc(proc), check_triggers_fetch(false), check_triggers_load(false), check_triggers_store(false), matched_trigger(NULL) { flush_tlb(); } mmu_t::~mmu_t() { } ...
// Copyright 2013-2020 Lawrence Livermore National Security, LLC and other // HavoqGT Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: MIT #include <boost/bind.hpp> #include <boost/function.hpp> #include <havoqgt/delegate_partitioned_graph.hpp> #include <havoqgt/kronecker_...
/** * @file LogisticRegression_.cpp * @brief mex interface for cv::ml::LogisticRegression * @ingroup ml * @author Amro * @date 2015 */ #include "mexopencv.hpp" #include "mexopencv_ml.hpp" #include "opencv2/ml.hpp" using namespace std; using namespace cv; using namespace cv::ml; // Persistent objects namespace { ...
#include "pcapaenderer.h" #include "../modul_0_werkzeugkasten/konfigleser.h" #include "../modul_0_werkzeugkasten/removeSpaces.h" #include "../modul_0_werkzeugkasten/stringexec.h" #include "EthLayer.h" #include "Packet.h" #include "PcapFileDevice.h" #include <math.h> #include <random> #include <time.h> PcapAenderer::Pc...
/* * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
#include <array> #include <chrono> #include <future> #include <optional> #include <stdexcept> #include <string> #include <thread> #include <vector> #include <common_robotics_utilities/print.hpp> #include <franka/gripper.h> #include <gflags/gflags.h> #include <lcm/lcm-cpp.hpp> #include "drake/common/drake_throw.h" #in...
// // text_viewer.cc // Copyright (C) 2022 <NAME> // // gx_lib example program for text rendering & basic event handling // // TODO: smooth scrolling // TODO: left/right scroll with cursor keys to see long lines // TODO: optional line wrap (with indicator) // TODO: status bar with filename, current line // TODO: line ...
/* * Copyright (c) 2016 Shanghai Jiao Tong University. * 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....
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <utility> #include <queue> using namespace std; #define IN(i, j) (2 + (i)*n + (j)) #define OUT(i, j) (2 + m*n + (i)*n + (j)) const int source ...
/* * Copyright 2009-2011 Red Hat, 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 agr...
#include "ShelfPlayback.h" void ShelfPlayback::begin() { if (AMP_POWER > 0) { // Disable amp pinMode(AMP_POWER, OUTPUT); digitalWrite(AMP_POWER, LOW); Serial.println(F("Amp powered down")); } // initialise the music player if (!_musicPlayer.begin()) { // initialise the music player Serial...
// -*- C++ -*- // // Package: Core // Class : FWExpressionValidator // // Implementation: // <Notes on implementation> // // Original Author: <NAME> // Created: Fri Aug 22 20:42:51 EDT 2008 // // system include files #include <cctype> #include <algorithm> #include "FWCore/Reflection/interface/B...
#define _USE_MATH_DEFINES #include <cmath> #include <sstream> #include <osg/Geode> #include <osg/Geometry> #include "Cone.h" Cone::Cone(const std::vector<RichPoint*>& vecPointSet) : Primitive(vecPointSet, PT_CONE) { } Cone::~Cone(void) { } static double degree_to_radian(double deg) { re...
/* * Copyright (C) 2006 - 2010 <NAME>, ExactCODE GmbH Germany. * (C) 2006, 2007 Archivista GmbH, CH-8042 Zuerich * * 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. A c...
// // Created by fraggy on 03.01.21. // #include "Comics.h" #include "../shared_consts.h" #include "../util.h" #include <SdFat.h> #include <string> Comics::Comics() { } Comics::~Comics() { } bool Comics::setup(Inkplate & display, toml_table_t * cfg) { m_display = &display; bool success = true; toml_d...
/*************************************************************************** file : racemanmenu.cpp created : Fri Jan 3 22:24:41 CET 2003 copyright : (C) 2003-2014 by <NAME>, <NAME> email : <EMAIL> version : $Id: racemanmenu.cpp,v 1.5.2.4 2014/02/04 14:01:39 berniw Exp $ ...
/* * EDDL Library - European Distributed Deep Learning Library. * Version: 1.0 * copyright (c) 2021, Universitat Politècnica de València (UPV), PRHLT Research Centre * Date: November 2021 * Author: PRHLT Research Centre, UPV, (<EMAIL>), (<EMAIL>) * All rights reserved */ #include <cstdio> #include <cstdlib> #include ...
/** * particle_filter.cpp * * Created on: Dec 12, 2016 * Author: <NAME> */ #include "particle_filter.h" #include <math.h> #include <algorithm> #include <iostream> #include <iterator> #include <numeric> #include <random> #include <string> #include <vector> #include "helper_functions.h" using std::string; using ...
// // Copyright (c) 2015-2017, Deutsches Forschungszentrum für Künstliche Intelligenz GmbH. // Copyright (c) 2015-2017, University of Bremen // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
/* * Copyright (c) 2016, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC) * 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...
/* * Copyright (C) 2007 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...
/* * Copyright (C) 2011 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...
/* MANGO Multimedia Development Platform Copyright (C) 2012-2021 Twilight Finland 3D Oy Ltd. All rights reserved. */ #include <mango/math/math.hpp> using namespace mango; using namespace mango::math; // ---------------------------------------------------------------------- // float32x4 // --------------------...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
/** \file RootEngine.cxx \brief Implementation of class which encapsulates the Root graphics implementation. \author <NAME>, HEASARC/GSSC */ #include <cctype> #include <cstdlib> #include <csignal> #include <cstring> #include <stdexcept> #include <vector> typedef void (*root_signal_handler_t) (int); #include "...
#include "ConsoleGraphicsEngine.h" #include "Objects\Object.h" ConsoleGraphicsEngine::ConsoleGraphicsEngine() { _console = GetStdHandle(STD_OUTPUT_HANDLE); _refreshTimer = 0.0; _camera = new Object; _camera->SetPosition(Vector3{ 0000, 0000, -8000 }); } ConsoleGraphicsEngine::~ConsoleGraphicsEngine() { } vo...
// // TCPVegasCC.cpp // libraries/networking/src/udt // // Created by <NAME> on 2016-09-20. // Copyright 2016 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "TCPVegasCC.h" #include <...
// Copyright (c) Facebook, Inc. and its affiliates. // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #include <Corrade/Containers/Optional.h> #include <Corrade/Utility/Directory.h> #include <Magnum/EigenIntegration/Integration.h> #include <Ma...
/* <NAME> January 24, 2016 CS 545 Homework #2 */ // This program trains a neural network to recognize letters from the Letter Recognition dataset at the UCI // machine-learning repository http://archive.ics.uci.edu/ml/datasets/Letter+Recognition. // The 20,000 item dataset is divided into equal sized training...
#include <AnalyzerChannelData.h> #include <cassert> #include <vector> #include <algorithm> #include "SMBusAnalyzer.h" #include "SMBusAnalyzerSettings.h" SMBusAnalyzer::SMBusAnalyzer() : mSimulationInitilized(false) { SetAnalyzerSettings(&mSettings); } SMBusAnalyzer::~SMBusAnalyzer() { KillThre...
#include "Viewer.h" TrackBall tb( GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, GLUT_RIGHT_BUTTON ); bool drawAxes = true; // Draw world coordinate frame axes iff true. bool drawWireframe = true; // Draw polygons in wireframe if true, otherwise polygons are filled. bool usePhongShading = true; // Use Phong shadi...
//----------------------------------------------------------------------------- // Super cursor traversal table to retrieve the child index for each cursor // of the parent node. There are (2*d+1)*f^d entries in the table. // d = 1 f = 2 static const unsigned int VonNeumannChildCursorToParentCursorTable12[6] = { 0, 1...
// For conditions of distribution and use, see copyright notice in LICENSE #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "UiGraphicsView.h" #include "CoreException.h" #include "Framework.h" #include <QRect> #include <QList> #include <QEvent> #include <QResizeEvent> #include <QGraphicsItem> #incl...
#include "AssetManager.hpp" #include "Collision.hpp" #include "Instance.hpp" #include "InstanceList.hpp" #include <cmath> #define PI 3.141592653589793 int dRound(double d) { // This mimics the x86_32 "FISTP" operator which is commonly used in the GM8 runner. // We can't actually use that operator, because we'...
/* Copyright (c) 2003, 2011, 2013, Oracle and/or its affiliates. All rights reserved. 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 hop...
//ROS + OpenCv #include <ros/ros.h> #include <image_transport/image_transport.h> #include <cv_bridge/cv_bridge.h> #include <sensor_msgs/image_encodings.h> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/opencv.hpp> #include <Eigen/Dense> #include "ros/ros.h" #include "std...
/** * @file Implementation of templated functions for unlabelled_graph.h * * @date 6 Nov 2015 * @author <NAME> (<EMAIL>) * * @copyright Copyright (c) 2015 <NAME> * <br /> * This file is part of the GraphAnon suite. * GraphAnon, version 2.0, is distributed freely under the *MIT License*: * <br /> * Permission...
#include "vtkMap3dBlockReader.h" #include <iostream> #include <fstream> #include <sstream> #include <ostream> #include "vtkCellArray.h" #include "vtkCellData.h" #include "vtkObjectFactory.h" #include "vtkPoints.h" #include "vtkPointData.h" #include "vtkPolyData.h" #include "vtkSmartPointer.h" #include "vtkIntArray.h" ...
#include "Lib/Integrators.h" #include "Lib/Universe.h" #include <vector> #include <cassert> #include <future> void UniverseState::setInteractionDistance(const UniverseConfig &config, double dist) { assert(size_ == 0); sizePerBlock = std::max(dist, 1.0); state.resize(config.sizeY / sizePerBlock + 1); f...
#include "AliAnalysisTaskFindableHyperTriton.h" #include <array> #include <algorithm> #include <cmath> #include <unordered_map> #include <TChain.h> #include <TFile.h> #include <TParticle.h> #include <TSystem.h> #include "AliAnalysisDataContainer.h" #include "AliAnalysisManager.h" #include "AliESDEvent.h" #include "A...
#include "r_storage/r_ind_block.h" #include "r_utils/r_std_utils.h" #include "r_utils/r_macro.h" #include <cstring> using namespace r_storage; using namespace r_utils; using namespace std; r_ind_block::r_ind_block(uint8_t* p, size_t size) : _start(p), _size(size) { } r_ind_block::~r_ind_block() noexcept { }...
/////////////////////////////////////////////////////////////////////////////// // // script templates example // // templates.cpp // // Copyright (c) 2012-2016 <NAME> // Copyright (c) 2011-2016 Ciphrex Corp. // // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource...
/*----------------------------------------------------------------------- <NAME> 2017 - 2021 http://trederia.blogspot.com crogine - Zlib license. This software is provided 'as-is', without any express or implied warranty.In no event will the authors be held liable for any damages arising from the use of this softwar...
#define HAVE_OPENCV_FLANN #define HAVE_OPENCV_IMGPROC #define HAVE_OPENCV_VIDEO #define HAVE_OPENCV_OBJDETECT #define HAVE_OPENCV_CALIB3D #define HAVE_OPENCV_ML #define HAVE_OPENCV_HIGHGUI #define HAVE_OPENCV_CONTRIB ...
#include <stdio.h> #include <bits/stdc++.h> using namespace std; #define MAXN 100000 //int vet[MAXN]; //int ft[MAXN]; //int ft_inv[MAXN]; /* bit normal -> cumulative frequency */ class ft_normal { public: vector<int> ft; int n; ft_normal (int size) : n(size), ft(n, 0){} int query_cf(int a) const{ int resp = ...
#include "../../include/waveO1/observer.hpp" #include "../../include/waveO1/utilities.hpp" #include "../../include/mymfem/utilities.hpp" #include <fstream> #include <iostream> #include <Eigen/Core> #include <filesystem> namespace fs = std::filesystem; // Constructor WaveO1Observer :: WaveO1Observer (const nlohmann:...
/* Angie Engine Source Code MIT License Copyright (C) 2017-2021 <NAME>. This file is part of the Angie Engine Source Code. 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, ...
#include "globimap/counting_globimap.hpp" #include "globimap_test_config.hpp" #include <chrono> #include <fstream> #include <iostream> #include <limits> #include <math.h> #include <string> #include <highfive/H5File.hpp> #include <tqdm.hpp> #include <boost/geometry.hpp> #include <boost/geometry/geometries/point.hpp> #...
// INCLUDE LIBRARIES #include <Arduino.h> #include <Adafruit_MPU6050.h> #include <Adafruit_Sensor.h> #include <Encoder.h> #include <Wire.h> // DEFINITIIONS --------------------------------------------------------- #define INDEX_PULSE 21 #define ENCODER_PIN_A 23 #define ENCODER_PIN_B 22 #define LED_PIN 13 /* PIN DEFIN...
/* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 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 t...
#include "ModuleHUD.h" #include "Application.h" #include "ModuleFonts.h" #include "ModulePlayer.h" #include "ModuleRenderer.h" #include "ModuleTextureManager.h" #include "ModuleDebugInfo.h" #include "ModuleLevel1.h" #include <stdio.h> ModuleHUD::ModuleHUD(bool startEnabled) : Module(startEnabled) { name = "HUD"; f...
// Copyright 2016 The University of North Carolina at Chapel Hill // // 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...
/* 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...
#include "main.h" #include "Tests/Tests.h" #include "settings.h" #include "Messages.h" #include "Displays/Display.h" #include "Location/LocationSource.h" #include "Location/LocationManager.h" #include <WiFi.h> #include <esp_log.h> #include "Bluetooth/BlueStuff.h" #include "FirmwareUpdates/FirmwareUpdates.h" #include...
/* * The MySensors Arduino library handles the wireless radio link and protocol * between your home built sensors/actuators and HA controller of choice. * The sensors forms a self healing radio network with optional repeaters. Each * repeater and gateway builds a routing tables in EEPROM which keeps track of the *...
// // Copyright 2021 <NAME> // // 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 agr...
/* ------------------------------------------------------------------------- * * dict_synonym.c * Synonym dictionary: replace word by its synonym * * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group * * * IDENTIFICATION * src/backend/tsearch/dict_synonym.c * * ------------------------...
/* ------------------------------------------------------------------------------- Copyright (c) <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 a...
/* Copyright 2014 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribu...
/* * fortuna.c * Fortuna-like PRNG. * * Copyright (c) 2005 <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: * 1. Redistributions of source code must retain the above copyright ...
#include <winsock2.h> #include <Windows.h> #include <process.h> #include <stdio.h> #include <time.h> #include <cstdio> #include <fstream> #include <iostream> #define BUFFERSIZE 1024 // variable to store the HANDLE to the hook. Don't declare it anywhere else then // globally or you will get problems since every funct...
//#define EIGEN_USE_MKL_ALL //uncomment if available #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #define PY_SSIZE_T_CLEAN #include <Python.h> #include "numpy/arrayobject.h" #include "lda.h" int DataIO::corpus::from_python(PyObject* collection) { // free existing memory if(docs) delete[] docs; ...
#include "ReadData_Tecplot.h" #include <vtkSmartPointer.h> #include <vtkTecplotReader.h> #include <vtkMultiBlockDataSet.h> #include <vtkAppendFilter.h> #include <vtkUnstructuredGrid.h> #include <vtkPointData.h> #include <vtkCellData.h> #include <vtkFloatArray.h> #include <vtkPointData.h> #include <vtkDataArr...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
// Copyright (c) 2009-2018 LG Electronics, 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...
#include "Compton.h" #include "KleinNishina.h" #include "QatPlotWidgets/PlotView.h" #include "QatPlotWidgets/MultipleViewWindow.h" #include "QatPlotting/RealArg.h" #include "QatPlotting/PlotStream.h" #include "QatPlotting/PlotFunction1D.h" #include "QatInventorWidgets/PolarFunctionView.h" #include "QatGenericFunctions/...
/* * Copyright (c) 2022, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Debug.h> #include <AK/SourceGenerator.h> #include <LibCore/ArgsParser.h> #include <LibCore/File.h> enum class PnpIdColumns { ManufacturerName, ManufacturerId, ApprovalDate, ColumnCount //...
#include "GUI_Config.h" #include "imgui\imgui.h" #include "SDL\include\SDL.h" #include "Application.h" #include "ModuleRenderer3D.h" #include "ModuleWindow.h" #include "TimeManager.h" #include "Globals.h" #include "Glew\include\glew.h" #include <gl/GL.h> #include <string> #include "mmgr\mmgr.h" #include "gpudetect\Devi...
// Copyright (C) 2013 <NAME> // Author: <NAME> <<EMAIL>> #include "qt/backup2/restore_driver.h" #include <QElapsedTimer> #include <QString> #include <QTime> #include <map> #include <set> #include <string> #include <utility> #include <vector> #include "boost/filesystem.hpp" #include "glog/logging.h" #include "src/bac...
/*VRP********************************************************************* * * vehicle routing problems * A collection of C++ classes for developing VRP solutions * and specific solutions developed using these classes. * * Copyright 2014 <NAME> <<EMAIL>> * Copyright 2014 <NAME> <<EMAIL>> * * This is ...
#ifndef _PLAN_MGR_IMPL_ #include "metadata/plan_mgr_impl.h" #endif #ifndef _CONSTANTS_ #include "common/constants.h" #endif #ifndef _EVAL_CONTEXT_ #include "execution/internals/eval_context.h" #endif #ifndef _AEVAL_ #include "execution/internals/aeval.h" #endif #ifndef _HASH_INDEX_ #include "execution/indexes/hash_...
//============================================================== // Copyright (C) 2004 <NAME> // <EMAIL> //-------------------------------------------------------------- // /// @file box.cpp // //============================================================== #include ...
/* * FerNNClassifier.cpp * * Created on: Jun 14, 2011 * Author: alantrrs */ #include <FerNNClassifier.h> using namespace cv; using namespace std; void FerNNClassifier::read(const FileNode& file){ ///Classifier Parameters valid = (float)file["valid"]; ncc_thesame = (float)file["ncc_thesame"]; nstru...
#include "objloader.h" #include "ysshellext.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <vector> #include <ysclass.h> #include <ctype.h> //This function is used to read a line and save all the words in the line separated by a space,tab or comma int ParseString(int &nWor...
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/platform/default/logging.h" #include "tensorflow/core/framework/shape_inference.h" #include<cmath> // Signatures for GPU kernels here using namespace tensorflow; #include "ImposeDirichlet.h...