text
stringlengths
5.71k
33.7k
// Copyright 2013, <NAME>, Carnegie Mellon University // Further contributions copyright (c) 2016, Southwest Research Institute // 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. Redistr...
#include "frameinfowindow.h" #include "ui_frameinfowindow.h" #include "mainwindow.h" #include "helpwindow.h" #include <QtDebug> FrameInfoWindow::FrameInfoWindow(const QVector<CANFrame> *frames, QWidget *parent) : QDialog(parent), ui(new Ui::FrameInfoWindow) { ui->setupUi(this); readSettings(); mo...
#include <iostream> #include <opencv2/core/core.hpp> #include <opencv2/core/cvdef.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/core/types.hpp> #include "benchmark_dataset_reader.h" #include <eigen3/Eigen/Eigen> #include <stdio....
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * Copyright: * <NAME>, 2003 * <NAME>, 2005 * * Last modified: * $Date: 2011-07-13 22:17:55 +1000 (Wed, 13 Jul 2011) $ by $Author: tack $ * $Revision: 12188 $...
#include "lcm_pruned.h" #include "query_best.h" // if cannot link is specified, we need a clustering problem!!! #include "logger.h" #include <iostream> #include <limits.h> #include <cassert> #include <cmath> #include <map> #include <unordered_set> #include <unordered_map> #include "dataContinuous.h" struct Hash { ...
// jhcPatchProps.cpp : extracts semantic properties for image regions // // Written by <NAME>, <EMAIL> // /////////////////////////////////////////////////////////////////////////// // // Copyright 2019 IBM Corporation // Copyright 2020-2021 Etaoin Systems // // Licensed under the Apache License, Version 2.0 (the "Lice...
/* C++ standard heasers */ #include <iostream> #include <iomanip> #include <sstream> #include <fstream> #include <string> #include <cmath> #define _USE_MATH_DEFINES #include <math.h> #include <cfloat> #include <vector> #ifdef PARTICLE_SIMULATOR_THREAD_PARALLEL #include <omp.h> #endif #include <random> /* FDPS headers *...
#include "IOPool/TFileAdaptor/interface/TStorageFactoryFile.h" #include "Utilities/StorageFactory/interface/Storage.h" #include "Utilities/StorageFactory/interface/StorageFactory.h" #include "Utilities/StorageFactory/interface/StorageAccount.h" #include "Utilities/StorageFactory/interface/StatisticsSenderService.h" #in...
#include "scene.h" #include "intersect.h" #include <algorithm> #define BVHAccelerator_min_prims 4 #define BVHAccelerator_epsilon ray3f_epsilon #define BVHAccelerator_build_maxaxis false // bvh accelerator node struct BVHNode { bool leaf; // leaf node range3f bbox; // bounding box #ifndef _WIN32 un...
// // IWLMvmTransOpsGen1.cpp // AppleIntelWifiAdapter // // Created by 钟先耀 on 2020/1/13. // Copyright © 2020 IntelWifi for MacOS authors. All rights reserved. // #include "IWLMvmTransOpsGen1.hpp" #define super IWLTransOps int IWLMvmTransOpsGen1::nicInit() { IWL_INFO(0, "gen1 nic init"); int ret; /* nic_ini...
#include "application.h" #include "connection.h" #include "reactor.h" #include "log.h" #include "smp.h" #include "distributor.h" #include <vector> #include <random> #include <time.h> #define MAXRAND 100 #define NUM_RTT 5000 using namespace infgen; using namespace std; namespace bpo = boost::program_options; logge...
#include "Etterna/Globals/global.h" #include "InputHandler_X11.h" #include <array> #include "RageUtil/Utils/RageUtil.h" #include "RageUtil/Graphics/RageDisplay.h" #include "Etterna/Singletons/InputFilter.h" #include "archutils/Unix/X11Helper.h" #include <X11/Xlib.h> #include <X11/keysym.h> using namespace X11Helper...
#include "CalibTracker/SiPixelConnectivity/interface/PixelToLNKAssociateFromAscii.h" #include "DataFormats/SiPixelDetId/interface/PixelBarrelName.h" #include "DataFormats/SiPixelDetId/interface/PixelEndcapName.h" #include "DataFormats/SiPixelDetId/interface/PixelPannelType.h" #include "FWCore/MessageLogger/interface/M...
/** * @author <NAME> * @version 2014/01/02 */ #include "impressionist.h" /** * @param fileName name of the text file. * Read parameters from a text file, and the text file is in the format of " * parameterName value" for each line. */ void readParameters(char* fileName){ ifstream fin; fin.open(fileN...
/************************************************************************ * * Copyright (c) 2011, Weta Digital Limited * * All rights reserved. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the * following conditions are met: * * * Redis...
/*******************************************************************\ Module: Author: <NAME>, <EMAIL> \*******************************************************************/ #include "java_object_factory.h" #include <unordered_set> #include <sstream> #include <util/arith_tools.h> #include <util/fresh_symbol.h> #inc...
/* * IRIS Localization and Mapping (LaMa) * * Copyright (c) 2019-today, <NAME>, University of Aveiro - Portugal * All rights reserved. * License: New BSD * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * ...
/*************************************************************************** qgsdb2tablemodel.h - description -------------------------------------- Date : 2016-01-27 Copyright : (C) 2016 by <NAME> <NAME>, <NAME> Email : dadler at adtechgeospatial.com xshirley2...
#include "mainwindow.h" #include "ui_mainwindow.h" QString folderPath, absFilePath, listView_2_image = ""; static const QString db_path = "m_managerV04.sqlite"; DbManager db(db_path); DayLightClass dl_obj; WeatherClass weather_obj; GmapClass gmap_obj; GCalendar gc_obj; FaceRec face_obj; double Glat=0, Glong=0; std:...
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
// // Created by <NAME> on 23/08/16. // #include <iostream> #include <thread> #include <assert.h> #include <unordered_set> #include <boost/filesystem.hpp> #include "DiagonalAlignment.h" #include "Builder.h" #include "BidirectionalModel.h" #include "ioutils.h" #include <math.h> /* isnormal */ #ifdef _OPENMP #in...
/* * (C) Copyright 1996-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology, * Brandeis University, Brown University, and University of Massachusetts * Boston. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condit...
// // Copyright (c) 2015 – <NAME>, SAS // // The source code form of this open source project is subject to the terms of the // Clear BSD license. // // You can redistribute it and/or modify it under the terms of the Clear BSD // License (See LICENSE file). // #include <cstdlib> #include <cstring> #include <cstdarg> ...
/* Copyright 2011 <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 wr...
#include "MainEngine.h" #include <utility> #include "xQsite3D.h" #include "objects/Scene.h" #include "objects/Mesh.h" #include "objects/Font.h" #include "objects/AxisObject.h" #include "objects/BBoxObject.h" #include "objects/SkyBox.h" #include "objects/ScreenObject.h" MainEngine::MainEngine(int w, int h, bool fullsc...
#include <exception> #include <ioloop.h> #include <filters.h> #include <log.h> #include <err.h> #include <memory> #include <set> #include <string> #include <regex> #include <tuple> #include <utility> #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> #include <chrono> using namespace std::chrono_literals; #...
// // Created by TK-V on 2021/12/24. // // mixing multiple PCM sound together #include <string> #include <vector> #include <cmath> #include <iostream> #include <fstream> #include <iomanip> #include <thread> #include <chrono> #include "SDL.h" #include "stdlib.h" #include <WinSock2.h> static U...
#include <iostream> #include <cstdio> #include <vector> #include <queue> #include <Windows.h> #include "file.h" #include "scancode.h" extern bool append(HANDLE file, std::vector<INPUT> *input, std::vector<LARGE_INTEGER> *wait) { HANDLE mapping = CreateFileMappingW(file, NULL, PAGE_READONLY, 0, 0, NULL); if (!mapp...
/**************************************************************************************** ** This class reads parameters from a file informed in the command line and store the ** relevant information. It is ideal to centralize all parameters here, as well as defining ** most of them in a file, to ease the execution ...
// Sonar.cpp: implementation of the Sonar class. // // Receives sonar data passed from either serial or UDP ports ////////////////////////////////////////////////////////////////////// #include <cstring> #include <string> #include <chrono> #include <iostream> #include <time.h> #include "Sonar.h" using namespace std;...
// // Copyright 2014 <NAME>, 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 // or in the the file LICENSE-2.0.txt i...
#include "common.h" #include "ccs.h" #include <SPI.h> // nRF24L01+ #include <RH_NRF24.h> // nRF24L01+ #include <limits.h> // ==== CONSTANTS ==== // #define MSG_TYPE_KEEPALIVE 'K' #define MSG_TYPE_CCS 'C' #define MSG_TYPE_FCT 'F' /** * The 'Quantization problem': In an ideal situation we would have messages ...
// Copyright (c) 2010 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 <string> #include <vector> #include "base/command_line.h" #include "base/file_util.h" #include "base/hash_tables.h" #include "base/linked_pt...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "hacapk.h" int loadHmatrix(const char *fname, matrix<double> *mat, matrix2<double> *mat2) { int i, ret; FILE *F; int irecord; double drecord; int nd, nlf, ktmax, len, offset; printf("loadHmatrix: begin\n"); fflush(stdout); F = fopen(fna...
// Quite hard to implement. :( #include<stdio.h> #include<stdlib.h> #include<limits.h> #define MAX_INT 0x3f3f3f3f #define acc(x) setprecision(x) #define boost ios_base::sync_with_stdio(false); cin.tie(NULL); #define T 2 /* 2-3 tree node */ struct node { int keys[3]; /* array stores at-most 3 keys in sorted fash...
#include "UNIFAC.h" void UNIFAC::UNIFACMixture::set_interaction_parameters() { for (std::set<std::size_t>::const_iterator itisgi = unique_groups.begin(); itisgi != unique_groups.end(); ++itisgi) { for (std::set<std::size_t>::const_iterator itjsgi = unique_groups.begin(); itjsgi != unique_groups.end(); ++it...
#include <iostream> #include <vector> #include <string> #include <fstream> #include <sstream> #include <cmath> #include "prot_gl.h" //#include "proter.h" using namespace std; //ProPka Variables float Chb = 0; float d1 = 0; float d2 = 0; float Clocal=0.001; float Cglobal=0.001; float Cchgchg=0; int tempinput; //Defi...
// Emulation of the Z80 CPU with hooks into the other parts of z81. // Copyright (C) 1994 <NAME>. // z81 changes (C) 1995-2001 <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; eithe...
// #include "fight.h" // #include "fight_history.h" #include <iostream> #include <string> #include <fstream> #include <sstream> #include <functional> #include <cstdint> #include <vector> #include <iomanip> #include <cstdlib> #include <ctime> using std::array; using std::vector; using std::cout; using std...
// $Header$ // Implementation (declaration) of C++ interface utilities for netCDF routines /* Copyright (C) 1995--present <NAME> This file is part of NCO, the netCDF Operators. NCO is free software. You may redistribute and/or modify NCO under the terms of the 3-Clause BSD License with exceptions described...
// GPURenderer.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include "pch.h" #include <iostream> #include <sstream> #include <algorithm> #include <random> #include <cmath> #include <chrono> #include <CLI11.hpp> #include <tinyformat.h> #include <boost/algorithm/string/predi...
#include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/ParameterSet/interface/FileInPath.h" #include "FWCore/ServiceRegistry/interface/Service.h" #include "FWCore/Utilities/interface/Exception.h" #include "HeterogeneousCore/SonicTriton/interface/TritonClient.h" #include "HeterogeneousCore/Sonic...
/* * STRUMPACK -- STRUctured Matrices PACKage, Copyright (c) 2014, The * Regents of the University of California, through Lawrence Berkeley * National Laboratory (subject to receipt of any required approvals * from the U.S. Dept. of Energy). All rights reserved. * * If you have questions about your rights to use...
// Copyright (c) 2011 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 "content/browser/geolocation/network_location_request.h" #include "base/json/json_reader.h" #include "base/json/json_writer.h" #include "bas...
/* Copyright 1986-1997 by Abacus Research and * Development, Inc. All rights reserved. */ /* Forward declarations in FileMgr.h (DO NOT DELETE THIS LINE) */ #include <base/common.h> #include <QuickDraw.h> #include <FileMgr.h> #include <OSEvent.h> #include <VRetraceMgr.h> #include <OSUtil.h> #include <MemoryMgr.h> #...
// Copyright (c) 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 <windows.h> #include <sddl.h> #include <utility> #include "base/at_exit.h" #include "base/base_switches.h" #include "base/bind.h" #include ...
#include "Stepper.hpp" #include <sys/stat.h> #include <cassert> #include <iomanip> #include <iostream> #include <string> #include <unordered_map> #include <utility> #include <QFileInfo> #include <QProcess> #include <ogdfWrapper/types.hpp> namespace { std::unordered_map<char, StepType> stepFromCharacter{ {'<', St...
/*About coordinate system: This program use classic OpenGL coordinate system(Right-handed System) which looks like this: ^y | | (z coordinate is point to you) | | ------------->x */ #define LASER_FAR 0.f #include <iostream> #include <fstream> // GLEW #define GLEW_STATIC #include <GL/glew.h> // GLFW...
#include "client/plr_input.hpp" #include "client/presenter.hpp" #include "client/sounds.hpp" #include "game/game_core.hpp" #include "game/game_info_list.hpp" #include "game_ai/ai_control.hpp" #include "vaslib/vas_log.hpp" #include "objs_player.hpp" #include "weapon_all.hpp" PlayerMovement::PlayerMovement(PlayerEntit...
/* The smooth Class Library * Copyright (C) 1998-2018 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of "The Artistic License, Version 2.0". * * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, WIT...
#include "LeftAlign.h" //bool debug; // Attempts to left-realign all the indels represented by the alignment cigar. // // This is done by shifting all indels as far left as they can go without // mismatch, then merging neighboring indels of the same class. leftAlign // updates the alignment cigar with changes, and r...
#include "ModuleImporter.h" #include "Application.h" #include "ModuleObjects.h" #include "Devil/include/il.h" #include "Devil/include/ilu.h" #include "Devil/include/ilut.h" #include "ComponentTransform.h" #include "ComponentMaterial.h" #include "ComponentMesh.h" #include "ComponentLabel.h" #include "GameObject.h" #in...
#include "StrafeTool.hpp" #include "../TasParser.hpp" #include "AutoJumpTool.hpp" #include "Modules/Client.hpp" #include "Modules/Console.hpp" #include "Modules/Engine.hpp" #include "Modules/Server.hpp" #include "TasUtils.hpp" #include "Utils/SDK.hpp" AutoStrafeTool autoStrafeTool("strafe"); void AutoStrafeTool::App...
/*-------------------------------------------------------------------------- File : pth_bme280.cpp Author : <NAME> Feb. 12, 2017 Desc : BME280 environment sensor implementation - Temperature, Humidity, Barometric pressure Copyright (c) 2017, I-SYST inc., all rights reserved Permission t...
/*************************************************************** device_sc64.cpp Handles SummerCart64 USB communication. https://github.com/Polprzewodnikowy/SummerCollection ***************************************************************/ #include "main.h" #include "helper.h" #includ...
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- #include <FastSerial.h> #include "AP_InertialSensor_MPU6000.h" #include <SPI.h> #define ARDUINO 100 #if defined(ARDUINO) && ARDUINO >= 100 #include "Arduino.h" #else #include <wiring.h> #endif // MPU 6000 registers #define MPUREG_WHOAMI ...
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/** * @file EmbedPDBQTMols.cpp * @author <NAME> * @brief A C++ code to generate conformers and their USRCAT Features from multiple pdbqt files, by fetching the SMILES and ID * from PDBQT and generate SMI files * @date 2022-03-29 * * @copyright Copyright (c) 2022 * */ #include <iostream> #include <string> #...
/* * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
// Replace ancestral nucleotides with the most likely given the tree // and some substitution model. (assumes sites are independent) #include "ancestorsML.h" #include "hal.h" #include "halBedScanner.h" #include "sonLibTree.h" #include "string.h" extern "C" { #include "markov_matrix.h" #include "tree_model.h" } // PHAST...
/** FioToken implementation file * Description: FioToken is the smart contract that help manage the FIO Token. * @author <NAME>, <NAME>, <NAME> * @modifedby * @file fio.token.cpp * @license FIO Foundation ( https://github.com/fioprotocol/fio/blob/master/LICENSE ) Dapix */ #pragma once #include <fio.common/...
//----------------------------------------------------------------------------- // File: Fog.cpp // // Desc: Example code showing how to do fog in D3D // // Note: This code uses the D3D Framework helper library. // // Copyright (c) 1997-1999 Microsoft Corporation. All rights reserved. //--------------------------...
/** * prior.cc * * Class for a parameter prior * * Copyright (C) 2007-2017 University of Oxford */ /* CCOPYRIGHT */ #include "priors.h" #include "dist_mvn.h" #include "rundata.h" #include "tools.h" #include <miscmaths/miscmaths.h> #include "armawrap/newmat.h" #include <math.h> #include <ostream> #include <s...
#define SDL_MAIN_HANDLED #include "SDL.h" #include <iostream> #include <ostream> #define GLEW_STATIC #include <GL/glew.h> #include "SDL_opengl.h" #include "glm/glm.hpp" #include "glm/gtc/type_ptr.hpp" #include "glm/gtc/matrix_transform.hpp" #pragma region VR_INCLUDES #include "OVR_CAPI_GL.h" #include "Extras/OVR_Math...
// // Simu5G // // Authors: <NAME>, <NAME>, <NAME> (University of Pisa) // // This file is part of a software released under the license included in file // "license.pdf". Please read LICENSE and README files before using it. // The above files and the present reference are part of the software itself,...
#include "app.h" #include "logger.h" #include "worlds/world.h" #include "experiment.h" #include "simgod.h" #include "config.h" #include "utils.h" #include "function-sampler.h" #include "../Common/state-action-function.h" #include "../Common/wire.h" #include "../../tools/OpenGLRenderer/basic-shapes-2d.h" #include "../.....
#include "replayviewer.hpp" void ReplayViewer::open(std::string path) { p.open(path); p.generateFullPacketCache(); p.readHeader(); } void ReplayViewer::test() { while (p.good()) { setReplayTick(getReplayTick()+1); std::cout << std::to_string(replayTick) << "\n"; getCurrentTickS...
#include <iostream> #include <sstream> #include <utility> #include "fstream" #include "vector" #include "map" #include "string" #include "list" #include "stack" #include "algorithm" using namespace std; map<string, vector<string >> FirstSet; map<string, vector<string >> FollowSet; map<string, int> NonTerminalMap; map<...
#include <cv_bridge/cv_bridge.h> #include <ros/package.h> #include <ros/publisher.h> #include <ros/ros.h> #include <rr_msgs/urc_sign.h> #include <sensor_msgs/Image.h> #include <stdlib.h> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/ope...
#include <QFile> #include <QDir> #include <QTextStream> #include "cstatistics.h" #include "ui_cstatistics.h" CStatistics::CStatistics(QWidget *parent) : QWidget(parent), ui(new Ui::CStatistics) { ui->setupUi(this); setWindowTitle(tr("Game Statistics")); setAttribute( Qt::WA_QuitOnClose, false ); in...
/**************************************************************************** MIT License Copyright (c) 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 without re...
#include <algorithm> #include <cctype> #include "AtbFormat.h" #include "mpanimbuild.h" #include "stb_image.h" void AtbFormat::ParseBanks(tinyxml2::XMLNode *node) { tinyxml2::XMLElement *bank_node = node->FirstChildElement("bank"); while (bank_node) { AtbBank bank; const char *str_temp; PrintXmlError(bank_node-...
// Wrapper for UAI competition code // #include <cstdio> #include <iostream> #include <fstream> #include "boost/program_options.hpp" #include "factorgraph.h" #include "mplp.h" #include "mbe.h" #include "lbp.h" #include "gbp.h" using namespace std; using mex::mxObject; using mex::Var; using mex:...
#include <stdlib.h> #include <stdio.h> #include "db/lds_io.h" #include "util/coding.h" //in LevelDB #define MAGIC "LDSX" extern char * OnlineMap; //lds.cc extern uint64_t SlotTotal; namespace leveldb { size_t Slot_write(const void * ptr, size_t size, size_t count, LDS_Slot * slot ){ //将起始地址为ptr, 长度为count字节的数据...
#include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Render.h" #include "j1Fonts.h" #include "j1Map.h" #include "j1EntityManager.h" #include "j1Player.h" #include "j1Gui.h" #include "UI_Image.h" #include "UI_InputBox.h" #include "UI_Scrollbar.h" #include "j1Console.h" #include "Brofiler\Brofiler.h" ...
// CameraManager.cpp: implementation of the CCameraManager class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "igame_level.h" #include "igame_persistent.h" #include "Environment.h" #include "CameraBase.h" #include "CameraManager.h" #include "Effector.h" #incl...
/* * 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 "MTestWindow.h" #include <gui/MUiGraphics.h> #include <gui/event/MMouseEvent.h> #include <gui/MWndCollection.h> #include <framework/performance/MClock.h> #include <framework/io/MLogger.h> #include <framework/io/MFilePrinter.h> #include <framework/primitive/MObjString.h> #include <framework/treedocume...
#include "acmacs-base/counter.hh" #include "acmacs-base/enumerate.hh" #include "acmacs-base/omp.hh" #include "seqdb-3/seqdb.hh" #include "seqdb-3/hamming-distance.hh" #include "seqdb-3/log.hh" // ---------------------------------------------------------------------- acmacs::seqdb::v3::subset& acmacs::seqdb::v3::subse...
#include "Farm.h" #include "Events.h" #include "Cow.h" #include "System.h" #include "Herd.h" #include "Model_Constants.h" #include "BVD_Random_Number_Generator.h" #include "Output.h" #include "Utilities.h" #include <limits> #include <iostream> #include <array> #include "FarmManager.h" #include "BVDContainmentStrategy.h...
#include "vision/hand-detection.hpp" #include "vision/cv-debugging.hpp" #include <numeric> #include <algorithm> bool debug = false; #define dbg \ if (!debug) {} \ else std::cout namespace vision { namespace hand { using namespace cv; using PointV = vector<Point>; const Scalar RED = Scalar(0, 255, 0); c...
/** * Copyright 2017-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, including without limitation the rights * to use, copy, modify, merge, publish, d...
// // hotbutton.cpp // // (C) Copyright 2000 <NAME>. // All Rights Reserved. // // Parts of this code (COddButton) have the following copyright: // // Copyright (c) 2001 <NAME> and <NAME> // // The contents of this file are subject to the Artistic License (the "License"). // You may not use this file except in com...
// // HAPEncryption.cpp // Homekit // // Created on: 08.05.2018 // Author: michael // #include "HAPEncryption.hpp" #include "HAPLogger.hpp" #include "HAPHelper.hpp" #include "HAPGlobals.hpp" #if HAP_USE_MBEDTLS_POLY #include "m_chacha20_poly1305.h" #else #include "chacha20_poly1305.h" #endif #include "mbedtls/...
// Copyright 2019 <NAME> // Neoclima A/C support // Analysis by crankyoldgit & AndreyShpilevoy // Code by crankyoldgit // Ref: // https://github.com/crankyoldgit/IRremoteESP8266/issues/764 // https://drive.google.com/file/d/1kjYk4zS9NQcMQhFkak-L4mp4UuaAIesW/view // Supports: // Brand: Neoclima, Model: NS-0...
#include <iostream> #include <fstream> #include <list> #include <set> #include <ctime> #include <unistd.h> #include <algorithm> #include <cstdlib> #include <functional> #include <sstream> #include <thread> #include <mutex> #include <cassert> #include "kanonizator_lk/kanon.h" #include "kanonizator_dlk/kanonizator.h" #in...
#include "TextureLoaderDDS.h" #include <Render/TextureData.h> #include <Resources/ResourceManager.h> #include <IO/BinaryReader.h> #include <Data/Buffer.h> // DDS code and definitions are based on: // https://github.com/Microsoft/DirectXTex/blob/master/DDSTextureLoader/DDSTextureLoader.cpp const U32 DDS_MAGIC = 0x205...
#include "shading utils\PhotonMap.h" PhotonMap::PhotonMap() { pos[0] = 0.0f; pos[1] = 0.0f; pos[2] = 0.0f; power[0] = 0.0f; power[1] = 0.0f; power[2] = 0.0f; incidentDirection[0] = 0; incidentDirection[1] = 0; incidentDirection[2] = 0; index = -1; } PhotonMap::~PhotonMap() { } Materi...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2019, WVU Interactive Robotics Laboratory * https://web.statler.wvu.edu/~irl/ * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
#include <string.h> #define _GNU_SOURCE 1 #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <stdint.h> #include <stddef.h> #include <sys/stat.h> #include <sys/types.h> #include <limits.h> #include <endian.h> #include <dirent.h> #include <vector> #include <algorithm> // for std::sort...
// Copyright 2018 Chia Network Inc // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in wr...
#include<iostream> #include"account.h" #include<fstream> #include<cctype>//toUpper #include<iomanip>//ios:: #include<stdlib.h>//rand() #include<time.h>//srand() #include <bits/stdc++.h>//includes every std lib #include<string> #include <cstdlib>//rand() #include <regex> using namespace std; //start of ban...
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Oct 26 2018) // http://www.wxformbuilder.org/ // // PLEASE DO *NOT* EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #include "PicrossDataCanvas.hpp" ...
#include "lab_imgui_ext.hpp" #include <string> #include <vector> #include <fstream> #include <iostream> #include <imgui.h> #include <imgui_internal.h> #include "IconsFontaudio.h" namespace imgui_fonts { unsigned int getCousineRegularCompressedSize(); const unsigned int * getCousineRegularCompressedData(); }...
#include "Board.h" #include "GameApp.h" // Contains all the resources from the resources.xml file in our // properties directory. See that file for more information. #include "Res.h" // You should remember these files from the previous demos #include "Graphics.h" #include "Color.h" #include "Rect.h" #include "ButtonW...
/* * Copyright (c) 2019-2021, NVIDIA 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://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
// // Created by robgrzel on 27.06.17. // #include "OMorisonEquation.h" // // Created by robgrzel on 12.05.17. // #include "OMorisonEquation.h" #include "UtilSources/Math/const.h" #include "UtilSources/template_utils.h" #include "UtilSources/Math/math.h" //#define DEBUG double OMorisonEquation::displaced_vol() { ...
/* -------------------------------------------------------------------------------- Name: BayesianTracker Purpose: A multi object tracking library, specifically used to reconstruct tracks in crowded fields. Here we use a probabilistic network of information to perform the trajectory linking...
int NH, X4 ,P41 , Qe9q,B6Y , UbNF,JTTF7, y ,qWLR, Xlo , ZcI ,C6c1h/**/, stvJ,yZ2W//6 , iNu09EL, vRAk,T5, k0F , VLpUS , ypl5, oVU//G ,j3 , g4 , N , rRAe , O//hh , a2 ,/*e*/Ji2 , l5eLM0//kf , //J0M DaRDI//oX , HE3lE,qjl ,kNV1s ;void f_f0() {volatile int VOf,R7pX ,M ,bY3f , vL /*GDX*/; //7RV for(...