text
stringlengths
3.08k
22k
#include "UPC.h" #include <string.h> #include <stdlib.h> // maximum number of user supplied digits // the actual number of digits in a UPC barcode is 12, which includes // the check digit const uint8_t MAX_DIGITS = 11; // number of lines (single vertical bars) per digit const uint8_t LINES_PER_DIGIT = 7; // number o...
// // SixenseManager.cpp // interface/src/devices // // Created by <NAME> on 11/15/13. // 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 <vector> #include "Application...
#include "CurveFileLoader.h" #include "Scene/Scene.h" #include "stdafx.h" #include "../Externals/cyHair/cyHairFile.h" #define AUTOMATIC_YARN_SEGMENTATION void CurveFileLoader::loadKnitCCPFile(std::shared_ptr<Scene> pScene, const std::string& filename, int materialID, float width, float scale, bool yz) { using Kn...
/* distributed under 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 restriction, including without limitation the rights *...
#include <cstdlib> #include <stdexcept> #include <string> #include "OnlineDB/Oracle/interface/Oracle.h" #include <algorithm> #include <cctype> #include "OnlineDB/EcalCondDB/interface/ODSRPConfig.h" using namespace std; using namespace oracle::occi; ODSRPConfig::ODSRPConfig() { m_env = nullptr; m_conn = nullptr; ...
// Copyright <NAME> 2008 - 2012. // 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_0.txt) #include <iostream> #include <fstream> #include <cassert> #include <stdexcept> #include <memory> #include "g...
/* Copyright (C) 2016 Denso IT Laboratory, Inc. All Rights Reserved Denso IT Laboratory, Inc. retains sole and exclusive ownership of all intellectual property rights including copyrights and patents related to this Software. Permission is hereby granted, free of charge, to any person obtaining a copy of the Software...
#include <cmath> #include <cstring> #include "snake_experiment.h" #include "snake.h" Population *snake_test(int gens, int gen_id, char * filename, char * temp_name) { Population *pop=0; Genome *start_genome; char curword[20]; int id = 0; ostringstream *fnamebuf; int gen; int expcount;...
#include "Controller.h" #include "Port.h" #include "AhciRegs.h" #include "Log.h" #include <sys/syscalls.h> #include <libpci/UserClient.h> #include <threads.h> #include <stdexcept> #include <system_error> /// Region of virtual memory space for mapping AHCI ABAR regions const uintptr_t Controller::kAbarMappingRange[...
#include <glm/gtc/matrix_transform.hpp> #include "Model.h" #include "Camera.h" #include "Shader.h" #include <GLFW/glfw3.h> using namespace SimulationSection; Model::Model(std::vector<glm::vec3> vertices, std::vector<unsigned int> indices) : position(glm::vec3()), scale(glm::vec3(1, 1, 1)), rotation(glm:...
#include<bits/stdc++.h> using namespace std; #ifndef d #define d(...) #endif #define st first #define nd second #define pb push_back #define siz(c) (int)(c).size() #define all(c) (c).begin(), (c).end() typedef long long LL; typedef long double LD; constexpr int INF=1e9+7; constexpr LL INFL=1e18; const int maxn=200005;...
/// This is the benchmark for computing ALE mapping for an FSI problem based on this paper: /// "Proposal for numerical benchmarking of fluid-structure interaction between an elastic object and laminar incompressible flow" /// <NAME> and <NAME>, <Fluid-Structure Interaction>, 2006. /// /// There is no flow in the bench...
//Language: GNU C++0x // @snippet<sh19910711/contest-base:headers.cpp> #include <iostream> #include <sstream> #include <fstream> #include <iomanip> #include <vector> #include <set> #include <map> #include <stack> #include <queue> #include <algorithm> #include <numeric> #include <limits> #include <complex> #include <...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // <NAME> Codeplay Software Ltd. // Contact: <<EMAIL>> // // This Source Code Form is subject to the terms of the Mozilla // Public Lic...
#include <iostream> #include <sodium.h> #include <fstream> #include <stdio.h> #include <cstring> #include <filesystem> #include <algorithm> // g++ index-encrypt-new.cpp -o idx -lsodium -lstdc++fs -std=c++17 using namespace std; namespace fs = std::filesystem; unsigned char key[crypto_secretstream_xchacha20poly1305...
/** * Description: Main class holding track information (before identification) * * StHbtTrack holds all the necessary information about a track that is * required during femtoscopic analysis. This class is filled with information * from the input stream by the reader. A particle has a link back to the Track * it...
#include "PDG.h" #include <iostream> #include <boost/pending/queue.hpp> #include <llvm/Support/raw_ostream.h> #include <llvm/IR/GlobalVariable.h> using namespace boost; void PDG::createSubnodes(Vertex parent, int limit) { auto type = (*this)[parent].type; // Check for constant things // Global constants get cons...
// Copyright (c) 2009 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 "media/base/video_frame_impl.h" #include "media/filters/ffmpeg_common.h" #include "media/filters/ffmpeg_demuxer.h" #include "media/filters/f...
#define DEBUG_ #ifdef _WIN32 const int FPS = 32; #endif #include <iostream> #include <fstream> #include <stdint.h> #include <vector> #include <thread> #include <opencv2/opencv.hpp> #include <opencv2/highgui.hpp> #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> //#include "GenericList.hpp" using namespace...
#include "stdafx.h" #include "integrators/photonvolume.h" #include "renderers/samplerrenderer.h" // #include "integrators/photonmap.cpp" #include "paramset.h" #include "montecarlo.h" #include "volumes/rainbow.h" void PhotonVolumeIntegrator::RequestSamples(Sampler *sampler, Sample *sample, const Scene *scene){ ...
#include "NeighboringMissionSpaceHandler.h" #include "DungeonMissionSpaceHandler.h" #include "DungeonMissionSymbol.h" #include "DungeonMissionNode.h" #include "DungeonSpaceGenerator.h" #define INVALID_LOCATION FIntVector(-1, -1, -1) void UNeighboringMissionSpaceHandler::GenerateDungeonRooms(UDungeonMissio...
// gmmbin/gmm-latgen-biglm-faster.cc // Copyright 2009-2011 Microsoft 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 // // T...
// 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 "chrome/browser/ui/find_bar/find_bar_controller.h" #include <algorithm> #include "base/i18n/rtl.h" #include "build/build_config.h" #include...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
// main.cpp #ifndef _CRT_SECURE_NO_WARNINGS #define _CRT_SECURE_NO_WARNINGS #endif #include <stdio.h> #include <string.h> #define MEMORYSIZE 65536 static unsigned char mem[MEMORYSIZE]; #define CMD_PUT 100 #define CMD_DEL 200 #define CMD_GET 300 #define CMD_GETKEY 400 #define MAXLEN 12 static unsigned char key...
// Copyright (c) 2012 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 "chrome/common/mac/mock_launchd.h" #include <CoreFoundation/CoreFoundation.h> #include <sys/socket.h> #include <sys/un.h> #include "base/ba...
// Copyright 2012 Cloudera 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...
/*========================================================================= Program: Visualization Toolkit Module: vtkAMRGaussianPulseSource.cxx Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WIT...
/* Copyright (c) 2019 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "base/Base.h" #include <gtest/gtest.h> #include <folly/executors/CPUThreadPoolExecutor.h> #include <folly/synchr...
#include "s2monitor.h" S2ScanData::S2ScanData(){ s2ScanImage = QImage(1,1,QImage::Format_RGB888); s2ScanImage.setPixel(0,0,0); currentRepoHash = GIT_CURRENT_SHA1; } void S2ScanData::addNewTile(TileInfo newTileInfo){ allTiles.append(newTileInfo); s2ScanDir = QFileInfo(newTileInfo.getFileString())....
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2017-2019 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...
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
// Copyright (c) 2011-2013 The PPCoin developers // Copyright (c) 2013-2014 The NovaCoin Developers // Copyright (c) 2014-2018 The BlackCoin Developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2021 The DECENOMY Core Developers // Distributed under the MIT/X11 software license, see the accompanyin...
// Copyright 2019-20 <NAME> // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // ...
#include <sysexits.h> #include <atomic> #include <filesystem> #include <future> #include <iostream> #include <fmt/chrono.h> #include <spdlog/sinks/stdout_color_sinks.h> #include <spdlog/spdlog.h> #include <boost/algorithm/cxx11/any_of.hpp> #include <boost/program_options.hpp> #include <FeltElements/Attributes.hpp> #...
//===-- PlatformNetBSD.cpp ------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/**************************************************************************** * * Copyright (C) 2013-2019 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Red...
#include <assert.h> #include <libcompose.hpp> ComposeState::ComposeState(ComposeHandler *handler) : handler(handler) { } std::pair<KeyType, std::string> Translator::translate(std::string code) { if(shift || capslock) { if(code == "KeyQ") return { kKeyChars, "Q" }; if(code == "KeyW") return { kKeyChars, "W" }; ...
/* * testmathevaluation.cpp - Implementation of UnitTest::TestMathEvaluation method * * This file is part of the rush utility library. * Licensed under the terms of Lesser GPL v3.0 (see license.txt). * Copyright 2011-2012 - <NAME> * */ #include "unittest.h" #include <rush/mathevaluation.h> #include <stdlib.h...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <X11/Xlib.h> #include <X11/Xatom.h> #include <X11/keysym.h> #include <GL/glx.h> #include <GL/gl.h> #include <GL/glu.h> #include "SkWindow.h" #include "SkBitmap.h" #...
// Copyright 2009 <NAME> // Copyright 2016 marcosamarinho // Copyright 2017 <NAME> #include <algorithm> #include "IRrecv.h" #include "IRsend.h" // SSSS AAA N N Y Y OOO // S A A NN N Y Y O O // SSS AAAAA N N N Y O O // ...
#include <ATen/ATen.h> #include <ATen/TensorUtils.h> #include <TH/TH.h> #include <algorithm> template <class T> inline void add(T* address, const T& val) { *address += val; } template <typename T> void RoIPoolForward( const T* input, const T spatial_scale, const int channels, const int height, c...
// Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. // 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 u...
/* * ______ __ __ __ * /\ _ \ __ /\ \/\ \ /\ \__ * \ \ \L\ \ __ __ /\_\ \_\ \ \ \____ ___\ \ ,_\ ____ * \ \ __ \/\ \/\ \\/\ \ /'_` \ \ '__`\ / __`\ \ \/ /',__\ * \ \ \/\ \ \ \_/ |\ \ \/\ \L\ \ \ \L\ \/\ \L\ \ \ \_/\__, `\ * \ \_\ \_\ \_...
#include <bits/stdc++.h> #define ll long long int #define getc getchar_unlocked using namespace std; struct position{ int row, col; void copy(struct position p){ row = p.row; col = p.col; } }; typedef struct position position; vector<vector<bool> > grid; // (0,0) (0,1) (0,2) // (1,0) (1,...
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include "net/session.h" #include "util/utils.h" #include <boost/uuid/uuid.hpp> #include <boost/uuid/uuid_generators.hpp> #include <boost/u...
// Copyright (c) 2013, 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. #include <vector> #include ...
/* Based on analytical track selector - This track selector assigns a quality bit to tracks deemed compatible with matching calo info - The default mode is to use the matching provided by particle flow, but a delta R matching to calorimeter towers is also supported - No selection is done other then select...
/* Copyright (C) 2007, The Android Open Source Project Copyright (c) 2016, The CyanogenMod Project Copyright (c) 2017, The LineageOS Project Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistribut...
////////////////////////////////////////////////////////////////////// // libsrc/PedigreeAlleleFreq.cpp // (c) 2000-2011 <NAME> // // This file is distributed as part of the Goncalo source code package // and may not be redistributed in any form, without prior written // permission from the author. Permission...
/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrQuad.h" #include "GrTypesPriv.h" static bool aa_affects_rect(float ql, float qt, float qr, float qb) { return !SkScalarIsInt(ql) || !SkScalarIsInt(qr) || !Sk...
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
/* * Copyright © 2018 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for any purpose, provided that the * above copy...
/* file: lin_reg_metrics_dense_batch.cpp */ /******************************************************************************* * Copyright 2014-2020 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a c...
#include <iostream> #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "opencv2/calib3d.hpp" #include "opencv2/features2d.hpp" #include "opencv2/xfeatures2d.hpp" using namespace std; using namespace cv; #define DESCRIPTER_SIZE 16 #define USE_ORIENTATION true vecto...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Unbounded Robotics Inc. * Copyright (c) 2012, <NAME>, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ...
#include "debug_macros.h" #include <CGAL/Exact_predicates_inexact_constructions_kernel.h> #include <CGAL/Robust_circumcenter_traits_3.h> #include <CGAL/Delaunay_triangulation_3.h> #include <CGAL/Polyhedral_surface_3.h> #include <CGAL/Surface_mesher/Standard_criteria.h> #define CGAL_C2T3_USE_POLYHEDRON #include <CGAL...
/* * CUDA blur * <NAME>, 2014 * Revised by <NAME>, 2016 * Revised by <NAME>, 2018 */ #include <cstdio> #include <cstdlib> #include <cmath> #include <cstring> #include <vector> #include <fstream> #include <iostream> #include <time.h> #include <cuda_runtime.h> #include <algorithm> #include <cassert> #include "b...
#include <Foundation/Application/Application.h> #include <Foundation/Configuration/Startup.h> #include <Foundation/Containers/Map.h> #include <Foundation/IO/FileSystem/DataDirTypeFolder.h> #include <Foundation/IO/FileSystem/FileReader.h> #include <Foundation/IO/FileSystem/FileSystem.h> #include <Foundation/Loggin...
// // Created by <NAME> on 2022-02-04. // #include <iostream> #include <vector> #include "Map.h" #include "../Player/Player.h" const int SIZE = 13; class MapDriver{ public: MapDriver(){}; ~MapDriver(){}; int callMapDriver() { // For now, manually making an example map (Based from the assignment v...
/* * Copyright (c) 2018-2020, <NAME> <<EMAIL>> * 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 ...
#include <Particle.h> // https://build.particle.io/libs/SparkFun_MPU-9250/1.0.0/tab/example/MPU9250BasicAHRS.ino #include <MPU9250.h> #include <quaternionFilters.h> #include "Imu.h" #include "FileLog.h" void Imu::setup() { super::setup(); //set the motion threshold interrupt as an input pinMode(IMU_INT, INPUT...
//-------------------------------------------------------------------- // // Launcher.cpp // // Created on: 30 Nov 2017 // Author: Max // //-------------------------------------------------------------------- #include <Count.h> #include <CovarianceMatrix.h> #include <CppGenerator.h> #include <DataCube.h> #include <KMe...
/*********************************************************************************** Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 <NAME> (<EMAIL>), <NAME> (<EMAIL>) (c) Copyright 2002 - 2004 <NAME> (c) Copyright 2002 - 2005 <NA...
// DRUNKWATER TEMPLATE(add description and prototypes) // Question Title and Description on leetcode.com // Function Declaration and Function Prototypes on leetcode.com //529. Minesweeper //Let's play the minesweeper game (Wikipedia, online game)! //You are given a 2D char matrix representing the game board. 'M' repres...
/* HTU21D Humidity Sensor Library By: <NAME> SparkFun Electronics Date: September 22nd, 2013 License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license). This library allows an Arduino to read from the HTU21D low-cost high-precision humidity sensor. I...
// Copyright 2010 The Kyua Authors. // 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 conditio...
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License. */ #include <gtest/gtest.h> #include "common/base/Base.h" #include "common/fs/TempDir.h" #include "common/process/ProcessUtils.h" #include "storage/mutate/AddEdgesProcessor.h" #include "storage/mutate/...
#include <SPIFFS.h> #include <logger.h> #ifndef CPPCHECK #include <ArduinoJson.h> #endif #include "Configuration.h" const uint32_t Configuration::CONFIGURATION_DISPLAY_TIMEOUT; ConfigurationManagement::ConfigurationManagement(const String &FilePath, const String &defaultFilePath) { bool userFileIsValid = false;...
/****************************************************************************** * * Project: netCDF read/write Driver * Purpose: GDAL bindings over netCDF library. * Author: <NAME> <wchen329 at wisc.edu> * ****************************************************************************** * Copyright (c) 2019, <N...
#include "qqhuntpixmapitem.h" #include "core/qutetools.h" #include <qmath.h> #include <QGraphicsScene> #include <QPixmap> #include <QPropertyAnimation> #define BASE_ANIM_PIX QString(":/anims/") QQHuntPixmapItem::QQHuntPixmapItem(QString srcBouchot, QString postId, bool selfItem, QObject *parent) : QObject(parent)...
/******************************************************************** ******************************************************************** ** ** libhungarian by <NAME>, 2004 ** ** ** Solving the Minimum Assignment Problem using the ** Hungarian Method. ** ** ** This file may be freely copied and distributed! ...
/*! @file @brief タグジャンプリスト @author MIK @date 2005.3.31 */ /* Copyright (C) 2005, MIK, genta 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 th...
/* ======================================== * BussColors4 - BussColors4.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #ifndef __BussColors4_H #include "BussColors4.h" #endif AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new BussC...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus K<NAME> Ltd Also see acknowledgements in Readme.html You may use this sample c...
#include <stdint.h> #include <string.h> #include <stdlib.h> #include "command_handler.hpp" #include "wireless.h" #include "nrf_stream.hpp" #include "ff.h" #if MESH_USE_STATISTICS static void wirelessHandlerPrintStats(CharDev& output, mesh_stats_t *s, uint8_t node) { output.printf("N%u: Rx/Tx, Rte/Ovt, Retried/M...
#include "probaprox.h" #include <math.h> #include <fmath/physics.h> #include <fmath/mathFunctions.h> #include <nrMath/integrators.h> #include <gsl/gsl_math.h> #define zero 1.0e-7 double f2(double x, void *params) { return (1.0-4.0/x-8.0/(x*x))*log(1.0+x)+0.5+8.0/x-0.5/((1.0+x)*(1.0+x)); } double rateExact2(double o...
/* // Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a // component of the Texas A&M University System. // All rights reserved. // The information and source code contained herein is the exclusive // property of TEES and may not be disclosed, examined or reproduced // in whole or in part withou...
#include <iostream> #include "acmacs-base/string-matcher.hh" #include "acmacs-virus/passage.hh" #include "locationdb/locdb.hh" #include "seqdb/seqdb.hh" using namespace seqdb; // ---------------------------------------------------------------------- struct score_size_t { string_match::score_t score; size_t ...
/* Copyright (c) 2022, NVIDIA CORPORATION. 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 condi...
#include "Settings.h" #include <string> #include <stdexcept> #include <sstream> #include <fstream> #include <ctype.h> #include <sys/types.h> #include <pwd.h> #include <unistd.h> Settings settings = { .font_spec = "Helvetica Neue,sans\\-serif-16.5:style=Light", .line_drawing_font_spec = "", .term_name = "xterm", ....
// Generated by Toolkit-Py[v0.16.8] Generator. Created at 2022-04-07 08:44:23.559895. #include "core.h" #include "http_client/auth.h" #include <QEventLoop> #include <QFile> #include <QJsonDocument> #include <QJsonObject> #include <QNetworkReply> #include <QUuid> #include <QtConcurrent> #include <string> //#include <cr...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/**************************************************************************/ /* */ /* WWIV Initialization Utility Version 5 */ /* Copyright (C)1998-2019, WWIV Software Services */ /* ...
//************************************************************************************** //CV to Trigger convenrter module for VCV Rack by <NAME> - AS - https://github.com/AScustomWorks/AS // // //************************************************************************************** #include "AS.hpp" //#include "dsp/di...
#include "serwer.h" #include "ui_serwer.h" #include <QPushButton> #include <stdlib.h> #include <QtNetwork/qlocalserver.h> #include <QtNetwork/qlocalsocket.h> #include <QtNetwork> #include <QTime> #include <QPixmap> static inline qint32 ArrayToInt(QByteArray source); serwer::serwer(QWidget* parent) : QMainWindow(p...
// Copyright <NAME> 2017 - 2022. // Distributed under the Boost Software License, Version 1.0. // // tcload.cpp - tsm #include "pch.h" #pragma hdrstop using namespace std; using namespace Dim; /**************************************************************************** * * Declarations * ***/ namespace { struct...
/////////////////////////////////////////////////////////////////////////////// // File: ZdcSD.cc // Date: 03.01 // Description: Sensitive Detector class for Zdc // Modifications: /////////////////////////////////////////////////////////////////////////////// #include <memory> #include "SimG4CMS/Forward/interface/ZdcS...
#include "masterbuffermanager.h" MasterBufferManager::MasterBufferManager(DownloadListItem *dListItem) { this->dListItem = dListItem; logFilePath = this->dListItem->segmentDir + "state.log"; mergeFilePath = this->dListItem->segmentDir + "merge.log"; outputFilePath = this->dListItem->downloadRoot + th...
/* plantcalc -- Power plant modelling * (c) 2012 <NAME> * Released under the terms of the 2-clause BSD license */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include "substance.hxx" #include "system.hxx" #include "exceptions/nonhomogeneoussubstanceerror.hxx" #include <map> #include <typeinfo> #include <vect...
/*******************************************************************\ Module: Generates string constraints for string functions that return Boolean values Author: <NAME>, <EMAIL> \*******************************************************************/ /// \file /// Generates string constraints for string funct...
/***************************************************/ /* Simple realtime MIDI to SKINI parser. This object takes MIDI from the input stream (via the RtMidi class), parses it, and turns it into SKINI messages. by <NAME> and <NAME>, 1995 - 2004. */ /***************************************************/ #inclu...
// Boost.Geometry // Robustness Test // Copyright (c) 2019-2021 <NAME>, Amsterdam, the Netherlands. // This file was modified by Oracle on 2021. // Modifications copyright (c) 2021, Oracle and/or its affiliates. // Contributed and/or modified by <NAME>, on behalf of Oracle // Use, modification and distribution is su...
/* * Audacious: Cross platform multimedia player * Copyright (c) 2005-2009 Audacious Team * * Driver for Game_Music_Emu library. See details at: * http://www.slack.net/~ant/libs/ */ #include <math.h> #include <stdio.h> #include <string.h> #include <libaudcore/audstrings.h> #include <libaudcore/input.h> #include...
#include "Scene.h" #include "loadShaders.h" #include <iostream> #include <iomanip> #include <random> Scene& Scene::getInstance() { static Scene instance; return instance; } void Scene::loadShaders() { shadersId = LoadShaders(vertexShaderPath, fragmentShaderPath); glUseProgram(shadersId); } void Scene::unload...
/* * Copyright (c) 2018, The OpenThread Authors. * 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 ...
/* * Copyright (c) 2001, 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 ...
/*************************************************************************/ /* shader.cpp */ /*************************************************************************/ /* This file is part of: */ /* ...
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <cstddef> #include <tuple> #include <utility> #include "DataStructures/DataBox/DataBox.hpp" #include "DataStructures/DataBox/PrefixHelpers.hpp" #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/Variables...
#pragma once #include "common.hh" template <typename T> struct meadow::brassica::quat { // ================================================================ // DATA // ================================================================ using value_type = T; using data_type = std::array<T, 4>; data_type data; /...