text
stringlengths
5.71k
33.7k
#include "tokenizer.hpp" #include <cstdio> #include <iostream> #include "boost/format.hpp" #include <regex> using namespace pascal_compiler; const std::unordered_map<std::string, tokenizer::token::sub_types> tokenizer::token::token_sub_types = { { "and", sub_types::and }, { "array", sub_types::array }, ...
#include "../include/shader.h" Shader::~Shader(){ glDeleteProgram(programId); programId = 0; } Shader::Shader(const char* vertexPath, const char* fragmentPath, const char* geometryPath) { printf("Loading shader:\n %s \n %s \n", vertexPath, fragmentPath); // 1. retrieve the vertex/fragment source code from fileP...
/************************************************** * Essential C++ -- <NAME> * Addison-Wesley * ISBN 0-201-48518-4 * homepage: www.objectwrite.com * email: <EMAIL> *************************************************/ #include <iostream> #include <algorithm> #include <string> #include <vector> using namespace std...
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Make lookup tables // // Code available from: http://www.veripool.org/verilator // //************************************************************************* // // Copyri...
#include "rapter/io/inputParser.hpp" #include "rapter/util/parse.h" #include "rapter/typedefs.h" //#include "rapter/my_types.h" #include "rapter/processing/graph.hpp" #include "rapter/util/containers.hpp" // class PrimitiveContainer namespace rapter { template <typename _Scalar> struct RepresentParams { _Scalar s...
#include "stdafx.h" #include "GameScreen.h" #include "../Mobs/Monster.h" #include "../Items/Fireball.h" #include <iostream> using namespace std; GameScreen::GameScreen() { //kept around in case we want music later //music = theSound.LoadSample("Resources/Sounds/xylophone.ogg", true /*stream*/); //if (music) // th...
#include "file_operator/sync_system.h" #include "file_operator/filesystem.h" #include "file_operator/operator_utils.h" #include "file_operator/signatures.h" #include "file_operator/sync_utils.h" #include "config.h" #include "database.h" #include "message_utils.h" #include "utils.h" #include "messages/basic.h" #include ...
/******************************************************************************* * Copyright (c) 2015, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * Written by <NAME> <EMAIL> * LLNL-CODE-665196 * All rights reserved. * * This file is part of ADAPT. For details, se...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include <learnopengl/shader_m.h> #include <learnopengl/camera.h> //#include <learnopengl/model.h> #include <MyOwn\Model_me.h> #include <learnopengl\LightCasters.h> #include ...
// MultiPoly.cpp // Copyright (c) 2009, <NAME> // This program is released under the BSD license. See the file COPYING for details. #include "stdafx.h" #include "Sketch.h" #include "EndedObject.h" #include "BentleyOttmann.h" #include "SimpleIntersector.h" #include "MultiPoly.h" #include "HArc.h" //This al...
#include <spawn.h> #include <errno.h> #include <cstring> #include <string> #include <stdio.h> #include <vector> #include <queue> #include <set> #include <map> #include <poll.h> #include <fcntl.h> #include <signal.h> #include <sys/mman.h> #include <sys/prctl.h> #include <unistd.h> #include <stdlib.h> #include <iostream>...
/************************************************************************************ Filename : Win32_OculusRoomTiny2.cpp Content : First-person view test application for Oculus Rift Created : October 4, 2012 Authors : <NAME>, <NAME>, <NAME>, <NAME> Copyright : Copyright 2012 Oculus, Inc. ...
#include "veml7700.h" //nclude <stdio.h> /** * veml7700.cpp * implementation of the veml7700 class , see veml7700.h * * version history * version 0.20 : initial value not tested with the sensor * version 0.21 : just change the name from VEML770 VEML7700 corrected address * version 0.3...
#include <stdlib.h> #include <stdio.h> #include <GL/glew.h> //#define GL3_PROTOTYPES 1 //#define GL_GLEXT_PROTOTYPES //#include <GL/gl.h> #include <SDL2/SDL.h> #include "fastmath.h" #include "Vec2.h" #include "Vec3.h" //#include "IO_utils.h" #include "Shader.h" #include "GLObject.h" long timeStart; Vec3d DEBUG_dQdp...
//---------------------------------------------------------------------------// // // // PDFR XRef implementation File // // // ...
// Execute with g++ automater.cpp -std=c++17 -lstdc++fs // g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 // Sample run command ./a.out none sanitizePatterns.txt 0 1 100, use existing train data and dont clone any repo. // author: <NAME> // Top K sentences are collected using min heap and trie data structure. Inspired from...
#include "math/dd/dd_bdd.h" #include "math/dd/dd_fdd.h" namespace dd { class test_bdd { public: static void test1() { bdd_manager m(20); bdd v0 = m.mk_var(0); bdd v1 = m.mk_var(1); bdd v2 = m.mk_var(2); bdd c1 = v0 && v1 && v2; bdd c2 = v2 && v0 && v1; std:...
#include "Profiler.hpp" #include "../Core/Window.hpp" #include <array> #include <imgui/imgui.h> using namespace stm; list<ProfilerSample> Profiler::mFrameHistory; ProfilerSample* Profiler::mCurrentSample = nullptr; size_t Profiler::mHistoryCount = 256; bool Profiler::mPaused = false; unique_ptr<ProfilerSample> Profi...
/* * assembly.cpp * * Created on: Apr 16, 2013 * Author: "<NAME>" */ #include "src/assembly.h" void Atom::clear() { name = ""; occupancy = bfactor = 0.; coords.clear(); } Matrix1D<RFLOAT> Atom::getCoordinates() { return coords; } void Residue::clear() { number = -1; name = ""; atoms.clear...
/* * CUSP and ScalMC * * Copyright (c) 2009-2015, <NAME>. All rights reserved. * Copyright (c) 2014, <NAME>, <NAME>, <NAME> * Copyright (c) 2015, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Publ...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2014, Texas A&M University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condi...
/*-------------salesman.cpp---------------------------------------------------// * * Purpose: To solve the travelling saleman problem with genetic algorithms * * Notes: Not settled that c++ is the best language for this * *-----------------------------------------------------------------------------*/ #include <iost...
// openCV // TODO: remove this whole file, shouldn't be necessary anymore #include "cv.h" #include "highgui.h" #include <iostream> #include <limits> #include "pixel_operations.h" #include "illuminantEstimationByVoting.h" #include "math_operations.h" #include "global_defines.h" #include "pixel_selection_strategy.h" ...
#include "BassWhistle.h" #include "IPlug_include_in_plug_src.h" #include "IControls.h" #include <math.h> // x >= 0 // 0 <= wave_shape <= 1 double shape(double x, double wave_shape) { x -= ((int)x); double anchor = x < 0.5 ? 0.25 : 0.75; return wave_shape * anchor + (1-wave_shape)*x; } double sine_decimal(doubl...
/*! Copyright 2018(c) Analog Devices, Inc. LTC5566: Dual Programmable Gain Downconverting Mixer @verbatim The LTC5566 dual programmable gain downconverting mixer is ideal for diversity and MIMO receivers that require precise gain setting. Each channel incorporates an active mixer and a digital IF VGA with ...
//************************************************************/ // // CrossSection Implementation // // Implements the SPXCrossSection class, which performs the // convolution and all math required to calculate the cross- // section from a PDF and a grid file. // // @Author: <NAME>, <NAME>, <NAME> - CERN // @Date: 14...
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2011, ITU/ISO/IEC * All rights reser...
#include "spaceAsteroid.h" unsigned int spaceAsteroid::VAO_LARGE; unsigned int spaceAsteroid::VAO_MED; unsigned int spaceAsteroid::VAO_SMALL; float* spaceAsteroid::largeAsteroid; float* spaceAsteroid::mediumAsteroid; float* spaceAsteroid::smallAsteroid; int spaceAsteroid::LARGE_VERTS; int spaceAsteroid::MED_V...
#include "nanodet_openvino.h" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <iostream> struct object_rect { int x; int y; int width; int height; }; int resize_uniform(cv::Mat &src, cv::Mat &dst, cv::Size dst_size, object_rect &e...
#include "CameraCalib.h" using namespace cv; using namespace std; #define CORNER_COLS 7 #define CORNER_ROWS 6 bool displayCorners = true; //可视化角点 bool readStringList( const string& filename, vector<string>& l) { l.resize(0); FileStorage fs(filename, FileStorage::READ); if( !fs.isOpened() ) re...
/* Provide SSL/TLS functions to ESP32 with Arduino IDE * * Adapted from the ssl_client1 example of mbedtls. * * Original Copyright (C) 2006-2015, ARM Limited, All Rights Reserved, Apache 2.0 License. * Additions Copyright (C) 2017 <NAME>, Apache 2.0 License. */ #include "Arduino.h" #include <esp32-hal-log.h> #include ...
#include<stdafx.h> #include<afxtempl.h> #include<stdio.h> #include<math.h> #include "fkn.h" #include "fknDlg.h" #include "complex.h" #include "mesh.h" #include "spars.h" #include "fullmatrix.h" #include "FemmeDocCore.h" #define ElementsPerSkinDepth 10 CMaterialProp::~CMaterialProp() { if (Bdata != NU...
//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-2021 <NAME> and <NAME> //LIC// //LIC// This lib...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2017 ArangoDB GmbH, Cologne, Germany /// /// 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 co...
// ftrack.cpp : Defines the entry point for the console application. // #include "stdafx.h" using namespace std; using namespace cv; Point2f center; float zbase = 0; float ztop = 0; float radius = 0; Mat M1, M2, D1, D2; Mat P1, P2; #define drawCross( img, center, d )\ line(img, Point(center.x - d, center.y - d), P...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Rice University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
#include "app/include/PromptHCI.h" //font stash stuff #include <stdio.h> #include <string.h> //#define FONTSTASH_IMPLEMENTATION #include "fontstash.h" //#define GLFONTSTASH_IMPLEMENTATION #include "glfontstash.h" PromptHCI::PromptHCI(MinVR::AbstractCameraRef camera, CFrameMgrRef cFrameMgr, TextureMgrRef tex...
/* Copyright 2020 The TensorFlow Authors. 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 applicable law or a...
#include <nlohmann/json-schema.hpp> #include <algorithm> #include <exception> #include <iostream> #include <regex> #include <sstream> #include <string> #include <utility> #include <vector> /** * Many of the RegExes are from @see http://jmrware.com/articles/2009/uri_regexp/URI_regex.html */ namespace { template <ty...
#include "bonhomme.hpp" using namespace vcl; void bonhomme::setup_dude(std::map<std::string,GLuint>& shaders) { const float radius_body = 0.1f/2; const float radius_head = 0.30f/2; const float height_body = 1.5f/2; const float width_pelvis = 0.25f/2; const float width_chest = 4*radius_body; ...
/** * parsers.cpp * * Definitions of several string to numerical value parsers used to * interpret and validate user input in thermistor_interpolator.cpp. * * Written in 2019 by <NAME>. * Originally distributed at https://github.com/slugrustle/numerical_routines * * To the extent possible under law, the autho...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <GLUT/GLUT.h> //#include "draw_compo.hpp" #include "main_draw.hpp" #include "Keyboard_mouse_handle.hpp" #include "Lighting.hpp" #ifndef M_PI #define M_PI 3.14159265 #endif static int stencilReflection = 1, stencilShadow = 1, offsetSha...
// "$Id: Fl_Native_File_Chooser_FLTK.cxx,v 1.1 2011/12/10 04:53:51 rbsheth Exp $" // // FLTK native OS file chooser widget // // Copyright 1998-2010 by <NAME> and others. // Copyright 2004 <NAME>. // API changes + filter improvements by <NAME> 2005 // // This library is free software; you can redistribute it and/or // ...
/** * Copyright (c) 2017-present, Facebook, 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 ...
/**************************************************************************** * MeshLab o o * * A versatile mesh processing toolbox o o * * _ O _ * * Co...
/* * Portions Copyright (c) 2010-Present Couchbase * Portions Copyright (c) 2008 Danga Interactive * * Use of this software is governed by the Apache License, Version 2.0 and * BSD 3 Clause included in the files licenses/APL2.txt and * licenses/BSD-3-Clause-Danga-Interactive.txt */ #include "network_interface_ma...
#include <ragdoll/sortme/DefaultBuilder.h> #include <cassert> #include <ode/ode.h> #include <cal3d/skeleton.h> #include <dtAnim/cal3dmodelwrapper.h> #include <dtCore/collisioncategorydefaults.h> #include <dtCore/object.h> #include <ragdoll/bridge/cal3d/BoneBridgeCAL3D.h> #include <ragdoll/bridge/delta3d/BoneBridge...
/* MIT License Copyright (c) 2018 <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, distrib...
// Copyright 2013 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 applicable ...
// 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, including without limitation the rights // to use, copy, modify, merge, publish, dis...
/* This code is released under the terms of the MIT license. See COPYING.txt for details. */ #include <QPixmap> #include <QPainter> #include <QTimer> #include <QFontMetrics> #include <QGraphicsView> #include <algorithm> #include <stdexcept> #include <cstdlib> #include <list> #include "level.h" #include "mainwi...
// -*- mode: C++; c-file-style: "cc-mode" -*- //************************************************************************* // DESCRIPTION: Verilator: Add temporaries, such as for unroll nodes // // Code available from: http://www.veripool.org/verilator // //***************************************************************...
/* * 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...
#include <iostream> #include <fstream> #include <sstream> #include <libgen.h> #include <unistd.h> #include <stdlib.h> #include <sys/stat.h> #include <stdio.h> #include <limits.h> #include "clang/Frontend/CompilerInstance.h" #include "clang/Basic/FileManager.h" #include "PrintAttributes.hh" #include "PrintFileContent...
/** \file * \brief Regression test for planarity tests and embeddings * * \author <NAME>, <NAME>, <NAME> * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.md in the OGDF root directory for details. * * \par * This program is free sof...
// Corporation and others. All Rights Reserved. /* Authors <NAME> Last update: april 10, 2015 */ #include "CoinPragma.hpp" #include "ClpSimplex.hpp" #include "ClpPEDualRowSteepest.hpp" #include "CoinIndexedVector.hpp" #include "ClpFactorization.hpp" #include "CoinHelperFunctions.hpp" #include "ClpMessage...
#include <Poco/URI.h> #include "Poco/Thread.h" #include <Poco/Net/HTTPRequest.h> #include <Poco/zlib.h> #include <lz4.h> #include <zstd.h> #include <omp.h> #include "LambdaFileReader.hpp" #include "LambdaNode.hpp" #include "LambdaFilterNode.hpp" using namespace lambda; InputNode::InputNode(Poco::JSON::Object::Ptr...
#include <cstdio> #include <cstdlib> #include <cmath> #include <string.h> #include <time.h> #include <sys/timeb.h> #define BILLION 1E9 //Multicore Specification Defines (Xeon Phi 7120P) #define CORESMIN 4 //Specified as 4 as the Phi runs at a 4x less frequency than commodity multicores #define MTMIN 1 #define BLOCK...
/** The implmentation for non-abstract methods of FileStegMod Class AUTHORS: <NAME> 2013, Initial version */ #include <vector> #include <event2/buffer.h> #include <assert.h> #include <fstream> //for decode failure test #include <math.h> using namespace std; #include "util.h" #include "evbuf_util.h" //why do ...
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <utility> #include <string> #include <stdlib.h> #include <sched.h> #include <unistd.h> #include <sys/sysinfo.h> #include "bench.h" #include "ndb_wrapper.h" #include "../dbcore/rcu.h" #include "../dbcore/sm-chkpt.h" #include "../dbco...
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Unit tests for utilities for the cromo modem manager #include "cromo/utilities.h" #include <base/logging.h> #include <gtest/gtest.h> TEST(Util...
/* * Copyright 2018 <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 writi...
#include <GL/glew.h> #include <cmath> #include <iostream> #include <vector> #include <GL/freeglut.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_inverse.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/type_ptr.hpp> #include "GLSLShader.hpp" #include "Grid.hpp" #define GL_CHECK_ERRORS assert(glGe...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
/**************************************************************************\ * Copyright (c) <NAME> & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * Redistribu...
/** * RSS base */ MethodRSS::MethodRSS(NICScheduler* b, EthernetDevice* fd) : BalanceMethodDevice(b,fd), //_verifier(0), _isolate(0), _use_group(true), _use_mark(false), _epoch(1) { } MethodRSS::~MethodRSS() { } int MethodRSS::initialize(ErrorHandler *errh, int startwith) { int reta =...
// Copyright 2021 Apex.AI, 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 i...
// C Language port of the SimplexNoise1234 library. // Original library developed by <NAME> [<EMAIL>] #include "../../../include/external/noise1234/noise1234.h" // This is the new and improved, C(2) continuous interpolant #define FADE(t) (t * t * t * (t * (t * 6 - 15) + 10)) #define FASTFLOOR(x) (((x) > 0) ? ((int)x)...
#include "Mesh.h" #include <chrono> #include <iostream> #include <fstream> #include <string> #include <sstream> #include <cmath> #include "VertexBufferLayout.h" #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" Mesh::Mesh(const std::string& filepath, unsigned int numInstances) : m_Filepath(filepath), ...
#include "window.hpp" GLFWwindow *Window::getWindow() { return this->window; } void Window::transferTextures() { ResourceManager::LoadTexture("assets/images/menu.png", true, "menu"); ResourceManager::LoadTexture("assets/images/maze.png", true, "maze"); ResourceManager::LoadTexture("assets/images/maze_flash.png"...
#include "AceAio.h" #include "ace/OS_NS_string.h" #include "ace/OS_main.h" #include "ace/Service_Config.h" #include "ace/Proactor.h" #include "ace/Asynch_IO.h" #include "ace/Asynch_IO_Impl.h" #include "ace/Asynch_Acceptor.h" #include "ace/INET_Addr.h" #include "ace/SOCK_Connector.h" #include "ace/SOCK_Accepto...
/* * STK500.cpp * * Created: 08-12-2017 19:47:27 * Author: JMR_2 */ #include "JTAG2.h" #include "JICE_io.h" #include "NVM.h" #include "crc16.h" #include "UPDI_hi_lvl.h" // *** Writeable Parameter Values *** uint8_t JTAG2::PARAM_EMU_MODE_VAL; JTAG2::baud_rate JTAG2::PARAM_BAUD_RATE_VAL; // *** STK500 packet ***...
/********************************************************************* * Software License Agreement (BSD License) * * 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 t...
#include <cassert> #include <utils/files.h> #include <utils/manip.h> #include <utils/maths.h> #include <utils/text.h> #include <vhash/vhash.h> using namespace utils; using namespace vhash; VHash::VHash( const size_t& largest_ngram, const float& min_phrase_occurrence, const size_t& num_features, con...
#include "AppHdr.h" #include "tilecell.h" #include "cloud.h" #include "coord.h" #include "coordit.h" #include "env.h" #include "terrain.h" #include "tiledef-dngn.h" void packed_cell::clear() { num_dngn_overlay = 0; fg = 0; bg = 0; cloud = 0; flv.floor_idx = 0; flv.wall_idx = 0; flv.feat_...
// *************************************************************************** // BamToolsIndex.cpp (c) 2010 <NAME> // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 November 2011 (DB) // ------------------------------...
/** * <NAME>, 20181029, the ROS node to add the perspective controller with wheel command * Reference: * Chaumette, François, and <NAME>. "Visual servo control. I. Basic approaches. * Chaumette, François, and <NAME>. "Visual servo control. II. Advanced approaches. */ #include <iostream> #include <ros/ros.h> #in...
/* * Version: 2017.07.31 * Authors: Members of the Team NAIST-Panasonic at the Amazon Robotics Challenge 2017: * <NAME>. <garcia-g at is.naist.jp> (Captain), * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, * <NAME>, <NAME>, <NAME>, <...
#include "common/common.hpp" #include <boost/program_options.hpp> #include <fmt/format.h> #include <fmt/ostream.h> #include <mapbox/variant.hpp> #include <osrm/engine_config.hpp> #include <osrm/json_container.hpp> #include <osrm/osrm.hpp> #include <osrm/route_parameters.hpp> #include <osrm/status.hpp> #include <osr...
#include <glad/glad.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #define IMGUI_IMPL_OPENGL_LOADER_GLAD #include <imgui/imgui_impl_glfw.h> #include <imgui/imgui_impl_opengl3.h> #include <imgui/ImFileDialog.h> #include <imgui/stb_image.h> #include <Shader.h> #include <files...
/* * Copyright (c) 2002-2012, California Institute of Technology. * All rights reserved. Based on Government Sponsored Research under contracts NAS7-1407 and/or NAS7-03001. * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:...
/******************************************************************************* * Created June, 1999 * Modified Dec, 2013 * FILE: KISA_SEED_ECB.c * * DESCRIPTION: Core routines for the enhanced SEED * *******************************************************************************/ /************************...
/* Module : AAMoonMaxDeclinations.cpp Purpose: Implementation for the algorithms which obtain the dates and values for maximum declination of the Moon Created: PJN / 13-01-2004 History: PJN / 18-08-2019 1. Fixed some further compiler warnings when using VC 2019 Preview v16.3.0 Preview 2.0 Copyright (c) 2004 - 20...
// // Created by JoaoBispo on 06/04/2018. // #include "ClangEnums.h" /* Clava Enums */ /* extern const std::string clava::CXX_CTOR_INIT_KIND[] { "ANY_MEMBER_INITIALIZER", "BASE_INITIALIZER", "DELEGATING_INITIALIZER" }; */ /* Clang Enums */ const std::string clava::BUILTIN_KIND[] = { ...
/* * Copyright (c) 2012, 2013, 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 ...
#include <nav_msgs/GridCells.h> #include <nearest_frontier_planner/robot_navigator.h> #include <set> #include <map> RobotNavigator::RobotNavigator() { ros::NodeHandle robot_node; stop_server_ = robot_node.advertiseService(NAV_STOP_SERVICE, &RobotNavigator::receiveStop, this); pause_server_ = robot_node...
#include <memory> #include <map> #include <vector> #include "excrypt.h" std::map<uint32_t, std::tuple<uint32_t, uint32_t>> kExKeyProperties = { { XEKEY_MANUFACTURING_MODE, { 0x8, 0x1 } }, { XEKEY_ALTERNATE_KEY_VAULT, { 0x9, 0x1 } }, { XEKEY_RESTRICTED_PRIVILEGES_FLAGS, { 0xA, 0x1 } }, { XEKEY_RESERVED_BYTE3, { 0x...
#include <LCDDisplay10.h> #include <Wire.h> #define PCF_CONTINUE (1 << 7) // AAA // D C // D C // FFF // E B // E B // GGG PP #define SEG_A 0b10000000 #define SEG_B 0b01000000 #define SEG_C 0b00100000 #define SEG_D 0b00001000 #define SEG_E 0b00000100 #define SEG_F 0b00000010 #define S...
#include "meshdraw.h" #include "objreader.h" #include "mikktspace.h" #include "weldmesh.h" struct STriOrQuad { int orgFaceIdx; int orgVertIdx; int offsToTSpaces; }; class CGenTSpace { public: CGenTSpace(CObjReader * importer, STriOrQuad * triOrQuadRefs, Vec4 * vTangents, const int nrTriOrQuad) { m_Importer ...
// Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd // This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree. #include "valLib.h" #include <iostream> #include <stdio.h> #include <vector> #include <cstdlib> #include ...
#include <iostream> #include <cstdint> #include <string> #include <sstream> #include <limits> #include <cmath> // GENERALIZATION // // E.g. fp16 is IEEEConverter<uint16_t, 5, 10, uint64_t> template <typename T, int E, int M> struct IEEEConverter { uint64_t to_uint64(T v); T from_u64(uint64_t v); // e...
// code for user controled interlocking // /* 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 without restriction, including without limitation the rights to use, copy, mod...
#include "vmath_types.h" #include <gtest/gtest.h> #include <cmath> #include <array> #include <vector> #include <numeric> #include <limits> namespace { // predicates used in the tests template <typename T> bool matrix_array_equal(const math::Matrix3<T> &m1, const T *m2) { bool is_equal = true; for (uint8_t ...
#include "indexer.h" #include "docidupdates.h" #include "terms.h" #include "utils.h" #include <fcntl.h> #include <future> #include <sparsefixedbitset.h> #include <sys/stat.h> #include <sys/types.h> #include <text.h> using namespace Trinity; void SegmentIndexSession::document_proxy::insert(const uint32_t termID, const...
// Copyright (c) 2018-2018 <NAME> // SPDX-License-Identifier: BSL-1.0 #include <SoapySDR/Logger.hpp> #include "SoapyRemoteDefs.hpp" #include "SoapyURLUtils.hpp" #include "SoapyMDNSEndpoint.hpp" #include <avahi-client/client.h> #include <avahi-client/publish.h> #include <avahi-client/lookup.h> #include <avahi-common/si...
#include <QLoggingCategory> #include <QQuickItem> #include "ep/cpp/kernel.h" #include "helpers.h" #include "components/logger.h" #include "ep/cpp/component/window.h" #include "ep/cpp/component/uicomponent.h" #include "ep/cpp/component/project.h" #include "ep/cpp/component/activity.h" #include "ep/cpp/component/resourc...
#ifdef __APPLE__ #include <OpenGL/gl.h> #include <GLUT/glut.h> #else #include <GL/gl.h> #include <GL/glut.h> #endif #include <iostream> #include <ctime> #include <sys/time.h> #include <cstring> #include<bits/stdc++.h> #include "miro.h" #include "pathfinder.h" void display(); void reviewpoint(); ...
#include "Paint/SmImagePainter.h" #include "Styling/SlateBrush.h" #include "Rendering/DrawElements.h" void USmImagePainter::Paint(const FPaintArgs& InArgs, const FGeometry& Geometry, const FSlateRect& CullingRect, FSlateWindowElementList& OutDrawElements, int32& InOutLayerId, const FWidgetStyle& InWidgetStyle) { FSla...