text
stringlengths
8.71k
38.4k
/* * This file belongs to the Galois project, a C++ library for exploiting * parallelism. The code is being released under the terms of the 3-Clause BSD * License (a copy is located in LICENSE.txt at the top-level directory). * * Copyright (C) 2018, The University of Texas at Austin. All rights reserved. * UNIVER...
#include "re_cluster_util.h" #include "vpr_context.h" #include "clustered_netlist_utils.h" #include "cluster_util.h" #include "cluster_router.h" #include "cluster_placement.h" #include "place_macro.h" #include "initial_placement.h" #include "read_netlist.h" #include <cstring> //The name suffix of the new block (if ex...
int Sv , QNA ,g , /*j*/db,XXE, cL ,qvsMt,m7, Rdr , EWK, wOf , hE , pT , dji, mi3Q,Y,/*Yn1*/ haz,//k cLsH , RaC ,lt1 , tIsp , bxiuqv, aA7, aK ,yy , Ya9 , XUy ;void f_f0() {{ { {if ( true){ }else for(int i=1;i< 1;++i )for (int i=1 ; i<2 ;++i ){ {}{ } }return //IiaI ;}for (int i...
/*===================== begin_copyright_notice ================================== Copyright (c) 2017 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 Software without restriction, includi...
#include <pybind11/pybind11.h> #include <pybind11/stl.h> namespace py = pybind11; #include <fmt/format.h> #include <fmt/format.cc> #include <fmt/string.h> #include <fmt/ostream.h> #include <vector> #include <cmath> #include <random> #include <math.h> #include <Eigen/Dense> using namespace Eigen; // ---------------...
//===--- IRGenFunction.cpp - Swift Per-Function IR Generation -------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/*************************************************************************/ /* portal.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
#include "DynamicChain3D.h" #include <math/CholeskyDecomposition.h> #include <Timer.h> void DynamicLink3D::GetWorldInertia(Matrix3& inertiaWorld) const { //inertiaWorld = R*I*Rt Matrix3 temp; temp.mul(T_World.R,inertia); inertiaWorld.mulTransposeB(temp,T_World.R); } void DynamicChain3D::Initialize(int numBodies) ...
#include <algorithm> #include <deque> #include <queue> using namespace __gnu_cxx; #include <indri/CompressedCollection.hpp> #include <indri/DiskIndex.hpp> #include <indri/QueryEnvironment.hpp> #include <indri/Path.hpp> #include <indri/Parameters.hpp> #include <glog/logging.h> #include "cuNVSM/data.h" namespace indr...
// Copyright 2006-2014 The Android Open Source Project #include <assert.h> #include <ctype.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <signal.h> #include <time.h> #include <unistd.h> #include <sys/socket.h> #include <sys/stat.h> #inc...
// importkeyboard.cpp : Defines the entry point for the console application. // #include "stdafx.h" enum ShiftState { Base = 0, // 0 Shft = 1, // 1 Ctrl = 2, // 2 ShftCtrl = Shft | Ctrl, // 3 Menu = 4, // 4 -- NO...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: X360 XAudio Version // //=====================================================================================// #include "../audio_pch.h" #include "snd_dev_xaudio.h" #include "UtlLinkedList.h" #include "session.h" #include "...
#include "StdAfx.h" #include "VideoTexture.h" VideoTexture::VideoTexture(void) : pGraph(NULL), pBuild(NULL), pMediaControl(NULL), pMediaEvent(NULL), pGrabber(NULL), pGrabberBase(NULL), pNullRender(NULL), numFaces(0) { textures[0] = -1; textures[1] = -1; textures[2] = -1; boxFaceSpecial[0...
/******************************************************************************* The MIT License (MIT) Copyright (c) 2015 <NAME> and <NAME> Modified for use in Unreal Engine 4 by <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fi...
/*****************************************************************/ /* NAME: <NAME> */ /* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */ /* FILE: ProcessWatch.cpp */ /* DATE: May 27th 2007 (MINUS-07) ...
/********************************************************************** // @@@ START COPYRIGHT @@@ // // 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. ...
#include "AllSTDPSynapsesProps.h" #include "EventQueue.h" #if defined(USE_GPU) #include <helper_cuda.h> #endif // Default constructor AllSTDPSynapsesProps::AllSTDPSynapsesProps() { total_delayPost = NULL; tauspost = NULL; tauspre = NULL; taupos = NULL; tauneg = NULL; STDPgap = NULL; Wex = N...
/** * @file * @brief Implementation of module EventLoaderATLASpix * * @copyright Copyright (c) 2017-2022 CERN and the Corryvreckan authors. * This software is distributed under the terms of the MIT License, copied verbatim in the file "LICENSE.md". * In applying this license, CERN does not waive the privileges an...
#pragma once #include <cassert> #include <tuple> #include <vector> #include <Windows.h> #include <atlbase.h> #include <comdef.h> #include <versionhelpers.h> #include <aclapi.h> // for SE_FILE_OBJECT #include <sddl.h> // for SDDL_REVISION_1 #include <userenv.h> #pragma comment(lib, "Userenv.lib") #include <authz.h> #pra...
// jhcEliGrok.cpp : post-processed sensors and innate behaviors for ELI robot // // Written by <NAME>, <EMAIL> // /////////////////////////////////////////////////////////////////////////// // // Copyright 2019-2020 IBM Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use...
// // grouping.cpp // // Copyright (c) 1997-1998 <NAME> // // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // #include "stdafx.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #include "smd.h" #include "grouping.h...
#include "psnr.h" unsigned pow2(unsigned base) { return base*base; } double getPsnr(double mse, int max) { return 10.0 * log10(pow2(max) / (mse)); } double computeImagesMse(const unsigned char *main_data, const unsigned char *ref_data, const EPixFormat format, const int w, const int h, const int plane) ...
#include "menu.h" #include "imgui/fonts.h" #include "imgui/imgui_internal.h" #include "../hack/features/skins/skins.h" #include "../hack/features/misc/announcer.h" Menu g_menu; Input g_input; Keyhandler g_keyhandler; std::size_t NumFiles(std::filesystem::path path) { using std::filesystem::directory_iterator; ret...
/* Written By ManojBhakarPCM (india), 30 My 2021 during lockdown of second wave of corona. i am not associated with Quintic anyhow, but lover of RadioFrequency field. and i love all single chip transmitters. because i couldnt make any with transistor only :( */ /* Transmit Mono audio only and stop tranmitting...
#include "Server.h" #include "Message.h" #include <functional> std::unique_ptr<Server> localServer; void Server::send(uint8_t group, const RakNet::BitStream & data, PacketPriority priority) { for (auto&& c : mClients) if (c.second.group == group) mPeer->Send(&data, priority, Pa...
#include "geometry.hpp" #include <filesystem> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "utils.hpp" #ifndef NDEBUG void gl_check_error(const std::string& where) { auto rc = glGetError(); if (rc != GL_NO_ERROR) { log_error("OpenGL error @ {}: {}", where, rc); ...
#include <sfc/interface/interface.hpp> enum class VideoMode { FullRes, MergeScanlines, HalfRes, FullResCrop, MergeScanlinesCrop, HalfResCrop }; static VideoMode video_mode = VideoMode::FullRes; static string sgb_path; static uint adjust_video_resolution(uint &width, uint &height, uint &pitch, float &pixel_aspec...
#include "CorePCH.hpp" #include "Matrix.hpp" using namespace Poly; //------------------------------------------------------------------------------ Matrix::Matrix() { SetIdentity(); } //------------------------------------------------------------------------------ Matrix::Matrix(const float data[16], bool rowOrder)...
/* Copyright (c) <2009> <<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 anyone to use this software for any purpose, * including commercia...
/* USB EHCI Host for Teensy 3.6 Copyright 2017 <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, ...
#include <mpi.h> #include "hdf5.h" #include <stdint.h> #include <float.h> #include <limits.h> #include <complex> #include <math.h> #include <stdio.h> #include <iostream> #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/../deps/include/j2c-array.h" #include "/home/etotoni/.julia/v0.5/ParallelAccelerator/src/....
/* $XFree86: xc/programs/xterm/wcwidth.characters,v 1.9 2006/06/19 00:36:52 dickey Exp $ */ /* * This is an implementation of wcwidth() and wcswidth() (defined in * IEEE Std 1002.1-2001) for Unicode. * * http://www.opengroup.org/onlinepubs/007904975/functions/wcwidth.html * http://www.opengroup.org/onlinepubs/007...
// Source file for skeleton visualizer // include files #include "R3Graphics/R3Graphics.h" #include "RNDataStructures/RNDataStructures.h" #include "fglut/fglut.h" #include <fstream> #include <string> #include <vector> #include <map> #include <set> #include <algorithm> // GLUT defines #define ENTER 13 #define ESC...
// Tencent is pleased to support the open source community by making Mars available. // Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved. // Licensed under the MIT License (the "License"); you may not use this file except in // compliance with the License. You may obtain a copy of the Licens...
/******************************************************************************* * Copyright (c) 2007, 2008, CerroKai Development * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redi...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ //some general setup ofSetVerticalSync(true); // cam.setDistance(100); cam.setPosition(0, 0, 500); ofSetCircleResolution(64); ofBackground(0); //--------setup myo m...
//----------------------------------------------------------------------------- // Product: OpenCTM tools // File: lwo.cpp // Description: Implementation of the LWO file format importer/exporter. //----------------------------------------------------------------------------- // Copyright (c) 2009-2010 <NAME>...
// Copyright (c) 2009, Google Inc. // 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 conditi...
#include "ImguiImpl.h" #include "assets/PodIncludes.h" #include "engine/profiler/ProfileScope.h" #include "platform/Platform.h" #include "reflection/PodTools.h" #include "rendering/Rendering.h" #include "universe/ComponentsDb.h" #include <imgui/examples/imgui_impl_glfw.h> namespace imguistyle { void AddLargeAssetIco...
// See LICENSE_CELLO file for license and copyright information /// @file control_adapt.cpp /// @author <NAME> (<EMAIL>) /// @date 2013-04-25 /// @brief Charm-related mesh adaptation control functions /// @ingroup Control /// This file controls adaptive mesh refinement on a distributed /// forest of oct...
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
/* -------------------------------------------------------------------------- */ /* ------------- RonClient --- Oficial client for RonOTS servers ------------ */ /* -------------------------------------------------------------------------- */ #include "tools.h" #include <dirent.h> #include <sstream> #include "alloca...
// -*- C++ -*- // // Package: HTrackAssociator // Class: HDetIdAssociator // /* Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: <NAME> // Modified for ECAL+HCAL by: <NAME> // Created: Fri Apr 21 10:59:41 PDT 2006 // // #include "Cali...
#include <iostream> #include <vector> #include <fstream> using namespace std; #include <boost/timer.hpp> // for sophus #include <sophus/se3.hpp> using Sophus::SE3d; // for eigen #include <Eigen/Core> #include <Eigen/Geometry> using namespace Eigen; #include <opencv2/core/core.hpp> #include <opencv2/highgui/highg...
// Copyright (c) 2006-2008 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 "build/build_config.h" #include "app/l10n_util.h" #include "app/app_paths.h" #include "app/app_switches.h" #include "app/gfx/canvas.h"...
// __BEGIN_LICENSE__ // Copyright (C) 2006-2010 United States Government as represented by // the Administrator of the National Aeronautics and Space Administration. // All Rights Reserved. // __END_LICENSE__ /* An Algorithm for Automatically Fitting Digitized Curves by <NAME> from "Graphics Gems", Academic Press, 19...
/** * @file Part.cc * @author <NAME> * @date 06/2021 * @copyright GPos 2021 LBNL */ #include "Part.hpp" /** * Constructor. */ Part::Part () { } /** * Destructor. */ Part::~Part () { } /** * Function to set each particle information at start/end of event. * * @param[in] p_name Particle species name. * ...
/* $Id: call.cpp 4996 2015-03-18 08:25:24Z ming $ */ /* * Copyright (C) 2012-2013 Teluu Inc. (http://www.teluu.com) * * 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; either version 2 of the...
#include <iostream> #include <termios.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> #include <cmath> #include <math.h> #include "../include/Imu.h" #include "../include/Mtime.h" #include "../include/UartCom.h" ImuData imu; ImuData* pimu = new ImuData(); int...
// // pendingtx.cpp // // In-memory information about pending transactions. // /* Original code: Copyright (c) 2014 Microsoft Corporation Modified code: Copyright (c) 2015-2016 VMware, Inc All rights reserved. Written by <NAME> MIT License Permission is hereby granted, free of charge, to any person o...
/////////////////////////////////////////////////////////////////////////////////////// // Data Analysis Code Project for the External Target Facility, HIRFL-CSR, @IMP // // // // BINGER/inc/etf/TATrack.cxx // // TATrack.C -- source file for ...
#include <cstdio> #include <cstdint> #include <cassert> #include <vector> #include <algorithm> #include <iterator> #include <type_traits> #include <memory> template <typename Tp> class rb_tree { public: using value_type = Tp; using reference = value_type&; using const_reference = value_type const&; using size_...
// ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By using this software in any fashion, you are agreeing to b...
#include <iostream> #include <cstdio> #include "slr.h" #include "../../lexer/src/util.h" #include <iomanip> #include "yystype.h" using namespace std; /*%include*/ SLR::SLR() { _state_count = 0; _has_calculate_follow = false; } SLR::~SLR() { } void SLR::just_read_bnf_rules(vector<BnfRule> bnf_rules) { _bnf_rule...
/*++ Copyright (C) 1999 Microsoft Corporation --*/ #include <windows.h> #include <comdef.h> #include <stdio.h> #include <genlex.h> #include <qllex.h> #include <ql.h> #include "dnf.h" #include "datep.h" /******************************************************************/ COrderedUniqueSet64::...
/***************************************************************************\ [*] __ __ ___ ___ | LexiMUD is a C++ MUD codebase [*] [*] / / ___\ \/ (_) /\/\ /\ /\ / \ | for Sci-Fi MUDs [*] [*] / / / _ \\ /| |/ \/ / \ \/ /\ / | Copyright(C) 1997-1999 [*] [*] / /_...
/************************************************************************* * * * Tokamak Physics Engine, Copyright (C) 2002-2007 <NAME>. * * All rights reserved. Email: <EMAIL> * * Web: www.tokama...
/* This file is part of CADauno. Copyright (C) 2009 <NAME> CADauno 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. CADauno is distributed in the hope that it wil...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // //============================================================================= #include "vmpi.h" #include "vmpi_distribute_work.h" #include "tier0/platform.h" #include "tier0/dbg.h" #include "utlvector.h" #include "utllin...
/****************************************************************************** DucatiPanigaleCanBus Monitor CANBUS messages and report them to HLT: this code is specialized for messages generated by the Mitsubishi ECU used in some models like - Panigale (899/959/1199/1199S/1199R/1299/1299S/R and Superleggera...
#include <stdlib.h> #include "AI.h" using namespace std; vector<vector<int> > Mymap(31, vector<int>(31)); vector<vector<Direction> > heroPath(4); vector<Cell> respawns(4); void printMap(World* world){ Map map = world->map(); for (int row = 0; row < map.getRowNum(); row++) { for (int column = 0; column...
/*** * * Copyright (c) 1999, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object...
#include "TrainingScene.h" #include <fstream> #include "network/HttpClient.h" #include "../UICommon.h" #include "../UIColors.h" #include "../TilesImage.h" #include "../widget/LoadingView.h" #include "../widget/HandTilesWidget.h" #include "../widget/PopupMenu.h" #include "../widget/AlertDialog.h" #include "../widget/To...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*- // vi:set ts=4 sts=4 sw=4 noet : // Copyright 2008, The TPIE development team // // This file is part of TPIE. // // TPIE is free software: you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public ...
// unring.cc unrings 4D volumes // <NAME>, <NAME>, Medical Physics, University Medical Center Freiburg /* LICENCE The Software remains the property of the University Medical Center Freiburg ("the University"). The Software is distributed "AS IS" under this Licence solely for ...
//===--- Diagnostic.cpp - C Language Family Diagnostic Handling -----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (c) 2020, Laminar Research. * * 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, ...
#include <math.h> #include <fstream> #include <string> #include <conio.h> #include <iostream> #include <iomanip> #include <time.h> using namespace std; // math library ------------------------------------------------------- #include "math_parameters.h" #include "io_grunts.h" #include "math_grunts.h" #in...
#include "colonycounter.h" ColonyCounter::ColonyCounter() { } int ColonyCounter::loadImage(QString fileName) { if( fileName.isEmpty() ) { qWarning("f: Opening image was cancelled."); return 0; } //imgOriginal should not be touched, just to store image in its original state this->imgO...
// 'Hello World!' program #define _CRT_SECURE_NO_WARNINGS #include <iostream> #include <string> #include <omp.h> #include <queue> #pragma once #include <windows.h> #include <stdio.h> #include <tchar.h> #include <vector> #include <algorithm> #include <conio.h> #include <fstream> #include "calibration.cpp" #include ...
// Copyright (c) 2016, ETH Zurich // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and...
/* =========================================================================== Doom 3 GPL Source Code Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). Doom 3 Source Code is free software: you can redistribute it and/or modify...
/** \file phasing_circuit.cpp \author <EMAIL> \copyright ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation Copyright (C) 2019 Engineering Cryptographic Protocols Group, TU Darmstadt This program is free software: you can redistribute it and/or modify it under the terms ...
#include <p_icp/picp_solver.hpp> ProbabilisticICP::ProbabilisticICP(){ } ProbabilisticICP::ProbabilisticICP(pcl_map &submap_trg, pcl_map &submap_src, double delta_thr){ submap_ref_.reset(new pcl_map(submap_trg)); pcl::compute3DCentroid(submap_ref_->pcl_, com_ref_); std::cout << "Size of src: " << subm...
#include "ANX.h" #include "buttons.h" #include "games.h" #include "graphics.h" #include "rf.h" #include "settings.h" /** Draw asteroids game given a specific state */ static void _asteroidsDraw(int16_t x, int16_t y, int16_t rotate, skull *skulls, bullet *bullets, uint8_t level, bitmap skull) { display.clearDispla...
/* * Copyright (c) 1997 University of Southern California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice...
/* * A SeedLink plugin that collects data from a TCP socket and passes it on * to SeedLink. * * This plugin requires a barebone minimalistic server on the trasmitter * side and allow to easily add data to Seelink without much effort. * * Copyright (c) 2021 Swiss Seismological Service (SED) * * Written by <NAME...
/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2014, <NAME>. <EMAIL> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the followin...
#include "npshell_multi.hpp" #include "const.hpp" #include "env.hpp" #include "pipe.hpp" #include "tcp.hpp" #include "utils.hpp" vector<struct PIPE> pipe_table; USER* user_table; mutex mtx; // global var int uid = 0; int newsockfd = 0; // Input related vector<vector<string>> parse_input(string const& raw_input, bool...
#define DEBUG_TYPE "vegen" #include "CodeMotionUtil.h" #include "ControlEquivalence.h" #include "DependenceAnalysis.h" #include "LoopFusion.h" #include "VectorPackContext.h" #include "llvm/ADT/BreadthFirstIterator.h" #include "llvm/ADT/EquivalenceClasses.h" #include "llvm/ADT/PostOrderIterator.h" #include "llvm/ADT/ST...
//===- UnrollLoopPeel.cpp - Loop peeling utilities ------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/************************************************************** * * 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...
// // Extended Dynamic Object format // // Copyright (C) 2004-2007 <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 l...
#include <iostream> #include <math.h> #include "swxJson.h" using namespace std; using namespace swxJson; void assignSignleElement() { cout<<"-----------[ Build Signle Element ]---------------\n"; { Json n, b, i, r, s, cs, a, d; n.setNull(); cout<<"Json must be null: ["<<n<<"]\n"; b.setBool(true); co...
// inspect program ---------------------------------------------------------// // Copyright <NAME> 2002. // Copyright <NAME> 2004-2006. // Copyright <NAME> 2006. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1...
#include "CECInput.h" #ifdef HAVE_LIBCEC #include "Log.h" #include <SDL_events.h> #include <iostream> // bad bad cecloader #include <libcec/cecloader.h> #ifdef _RPI_ extern "C" { #include <interface/vmcs_host/vc_cecservice.h> #include <interface/vmcs_host/vc_tvservice.h> #include <interface/vmcs_host/vchost.h> } #endi...
/* ---------------------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator http://lammps.sandia.gov, Sandia National Laboratories <NAME>, <EMAIL> Copyright (2003) Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with San...
#include "stdhdr.h" #include "Graphics/Include/drawparticlesys.h" #include "f4error.h" #include "aircrft.h" #include "airframe.h" #include "otwdrive.h" #include "simdrive.h" #include "entity.h" #include "cmpclass.h" #include "initData.h" #include "find.h" #include "flight.h" #include "ptdata.h" #include "feature.h" #in...
#include <base/cgal_typedefs.h> #include <IO/fileIO.h> #include <processing/tetIntersection.h> #include <util/vectorArithmetic.h> int tetIntersectionVol(Tetrahedron& tet, std::vector<Plane_cgal>& all_planes, double& vol, int plane_cou...
//***************************************************************************** // Copyright 2017-2019 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...
/* * ImgWindow.cpp * * Integration for dear imgui into X-Plane. * * Copyright (C) 2018,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 c...
// // Stats.cpp // interface/src/ui // // Created by <NAME> on 22/03/14. // Copyright 2013 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 <sstream> #include <stdlib.h> #include <glm...
/* OTGWSerial.cpp - Library for OTGW PIC communication Copyright (c) 2021 - <NAME> MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without l...
//LIC// ==================================================================== //LIC// This file forms part of oomph-lib, the object-oriented, //LIC// multi-physics finite-element library, available //LIC// at http://www.oomph-lib.org. //LIC// //LIC// Copyright (C) 2006-2022 <NAME> and <NAME> //LIC// //LIC// This lib...
// This file is a part of the IncludeOS unikernel - www.includeos.org // // Copyright 2015 Oslo and Akershus University College of Applied Sciences // and <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 ...
///<NAME> ///6/6/2018 - 6/13/2018 ///Teapot Jump Game and Blender(3D modeling program) Model Loader / Renderer //include libs #include <windows.h> //if on apple system, include one version of glut, otherwise, include the other version #ifdef __APPLE__ #include <GLUT/glut.h> #else #include <glut.h> #endif #include <time...
/* * Copyright (c) 2021, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #define __USE_MISC #define TTYDEFCHARS #include <AK/Array.h> #include <AK/Optional.h> #include <AK/Result.h> #include <AK/ScopeGuard.h> #include <AK/String.h> #include <AK/StringView.h> #include <AK/Vector.h> #include <ctype.h> ...
#include "control_bar.hpp" #include "text.hpp" #include "timeout.hpp" namespace { ImageSlice secureIcon = ImageSlice::createImageFromStrings({ "WWWWWBBWWWWWW", "WWWWBWWBWWWWW", "WWWBWWWWBWWWW", "WWWBWWWWBWWWW", "WWWBWWWWBWWWW", "WEEEEEEEEEBWW", "WEGGGGGGGGBWW", "WEGGGGGGGGBWW", "W...
#include <iostream> #include <sstream> #include <string> #include <vector> #include <bits/stdc++.h> #include <cmath> using namespace std; #include "Network.h" // -------------------------------------------------------------------------------------- NETWORK CLASS FUNCTIONS -----------------------------------...