text
stringlengths
8.71k
38.4k
/* * Copyright (c) 2020 Bitdefender * SPDX-License-Identifier: Apache-2.0 */ #include <iostream> #include <fstream> #include <memory> #include <limits> #include <cmath> #include "external/argparse.h" #include "disasm.hpp" static const long NSEC_PER_SEC = (1000ULL * 1000ULL * 1000ULL); static const char *gSpaces[...
// // freebayes // // A bayesian genetic variant detector. // // standard includes //#include <cstdio> #include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <iterator> #include <algorithm> #include <cmath> #include <time.h> #include <float.h> // private libraries #includ...
/////////////////////////////////////////////////////////////////////////////// /////////////////////// CADAC++ Simulation SRAAM6 /////////////////////////// /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// ...
#include <Lintel/HashMap.hpp> #include <Lintel/LintelLog.hpp> #include <Lintel/RotatingHashMap.hpp> #include <Lintel/StatsQuantile.hpp> #include <DataSeries/ExtentField.hpp> #include <DataSeries/RowAnalysisModule.hpp> #include <analysis/nfs/common.hpp> #include <analysis/nfs/Tuples.hpp> using namespace std; using bo...
// 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 <unicode/ucnv.h> #include <unicode/stringpiece.h> #include <unicode/unistr.h> #include <vector> #include <map> #include <strf/to_cfile.hpp> #include "...
#include "window.h" #include <time.h> #if defined(PLATFORM_WINDOWS) #define NOMINMAX #include <windows.h> #else #include <sys/time.h> #include <unistd.h> #endif //#include "gl/gl.h" #include "glm/gtc/matrix_transform.hpp" #include "tools/text.h" #include <cstring> // Common global variables //----------------------...
//************************************************************************* // // File Name : GLUI Window Template // Author : <NAME> // Created : December 2003 // Modified : July 2007 // // Description : Openning an OpenGL GLUT window along with a GLUI window // containing controls ...
#include <iostream> #include <windows.h> #include <string> #include <sstream> using namespace std; #include <SFML/Graphics.hpp> #include <SFML/Audio.hpp> #include <ctime> #include "efektyGraficzne.h" /// STANY OBIEKTOW #define KOLIZJA 0 #define UDERZONY 1 #define RUCH 2 #define CZY_...
#include "ESP32-RGB64x32MatrixPanel-I2S-DMA.h" // Credits: <NAME> <https://github.com/pixelmatix/SmartMatrix/tree/teensylc> // and Sprite_TM: https://www.esp32.com/viewtopic.php?f=17&t=3188 and https://www.esp32.com/viewtopic.php?f=13&t=3256 void RGB64x32MatrixPanel_I2S_DMA::configureDMA() { // calculate the l...
int tp ,Ru,A62,oDt , ty ,q4 ,zZd,i6,US ,b7BH ,pHo , VN9 , V ,w ,/*cb6*/K , Qyu, cCr , re ,hgfdM ,PT,zN0 , hQS, p21G, gG ,J , SK7 //g2 , vz254 ,K1 , w2 ,UU ,m , ok1y, zJC //2 ,Dxi0, hKCu ,/**/ QRJ ,USh, IA ,/*t2C*/ Dr,Nwm6 , DAcL/**/ , hXvB1t , o7 ;void//t7F f_f0 () { {{ volatile int ...
//rdata ProfileStruct bnprofiles[4] = { { "profile\\sex", '\x01', 1128, 8 }, { "profile\\age", '\x01', 1130, 4 }, { "profile\\location", '\x01', 1132, 40 }, { "profile\\description", '\x01', 1134, 200 } }; int profilemsg1[6] = { 1125, 1127, 1129, 1131, 1133, 0 }; int profilemsg2[6] = { 1126, 1128, 1130...
/* BSD 3-Clause License Copyright (c) 2020, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions a...
/* sorted.cpp Impementation of storage using selection sort into an array, and retrieval using binary search. Created as coursework for Computers and Programming II, April 2014 Created by <NAME> */ /* Symbolic constants prescribed by the specification */ #define DATA_FILENAME "input.txt" #define SEARCH_FIL...
// 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 "util.hpp" #include "..\cheats\visuals\player_esp.h" #include "..\cheats\lagcompensation\animation_system.h" #include "..\cheats\mi...
#include "MSNManager.h" #include <libim/Protocol.h> #include <libim/Constants.h> #include <libim/Helpers.h> #include <UTF8.h> #include <algorithm> #include "MSNConnection.h" #include "MSNSBConnection.h" #include "MSNHandler.h" void PrintHex(const unsigned char* buf, size_t size) { // if ( g_verbosity_level != liDebu...
//********************************************************* // // 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 PARTICUL...
#include "moab/Interface.hpp" #include "moab/Core.hpp" #include "DagMC.hpp" #include "MBTagConventions.hpp" #include "moab/CartVect.hpp" #include <vector> #include <iostream> #include <math.h> #include <unistd.h> #include <limits> #include <fcntl.h> #include <stdio.h> #include <time.h> #include <iostream> #include <fs...
/* USB Intellikeys driver * Copyright 2018 <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, copy, modify,...
// features.cpp: part of sequence tagger for Wordnet supersenses, and other tagsets // // Copyright 2006 <NAME> (<EMAIL>), <NAME> (<EMAIL>) // // 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 ...
#include <cstddef> #include <cstdint> #include <cstdio> #include <cctype> #include "ogl_imgui.h" #include "dbmgr.h" #include "moby.h" #include "targets.h" #include "icon.h" #define STB_IMAGE_IMPLEMENTATION #include <stb_image.h> #include <iostream> #ifndef NDEBUG #define RESSOURCES_PATH "../data/" ...
#include <SDL.h> #include <SDL_image.h> #include <SDL_ttf.h> #include <SDL_mixer.h> #include <iostream> #include <random> #include <stdio.h> #include <stdlib.h> using namespace std; //Declare variables used in several functions SDL_Window* window; SDL_Renderer* renderer; bool init_everything(); bool init_sdl(); boo...
#include <cstdio> #include <cstdlib> #include <optional> #include "sha.hpp" #include "sha_test.hpp" using B = std::byte; const std::size_t NUM_TESTCASES = 16; const testcases_t<crypto::sha::sha512_hash, NUM_TESTCASES> testcases{ {{"", {B{0xcf}, B{0x83}, B{0xe1}, B{0x35}, B{0x7e}, B{0xef}, B{0xb8}, B{0xbd}, ...
#include "mainwindow.h" #include "ui_mainwindow.h" using namespace std; using namespace cv; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { setAcceptDrops(true); ui->setupUi(this); List << "lines" << "thresholdGray" << "thresholdBinary" <...
/* LICENSE _This file is Copyright 2018 by the Image Processing and Analysis Group (BioImage Suite Team). Dept. of Radiology & Biomedical Imaging, Yale School of Medicine._ BioImage Suite Web is licensed under the Apache License, Version 2.0 (the "License"); - you may not use this software except in complianc...
#include "populate_neurons.h" #include <stdlib.h> #include "../affine_transform_swc/apply_transform_func.h" #include <newmat.h> #include <iostream> #include <numeric> #include <algorithm> #include "QMutableListIterator" #include "basic_4dimage.h" #ifndef MIN #define MIN(a, b) ( ((a)<(b))? (a) : (b) ) #endif #ifndef M...
// Copyright (c) 2006-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. // This file includes code GetDefaultCertNickname(), derived from // nsNSSCertificate::defaultServerNickName() // in mozilla/security/manager/ssl...
// Part of the Soundplane client software by Madrona Labs. // Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com // Distributed under the MIT license: http://madrona-labs.mit-license.org/ #include "SoundplaneView.h" const float kCanvasRectHeight = 0.8f; const float kMenuRectWidth = 0.25f; const...
#include "ClangPetInterface.hpp" #include "clang/AST/RecursiveASTVisitor.h" // isl #include <isl/options.h> #include <isl/arg.h> #include <isl/flow.h> #include <isl/map.h> #include <isl/set.h> #include <isl/ctx.h> #include "dependency_analysis.h" #include "plog/Log.h" #include <chrono> using namespace clang; usin...
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * Filter routines to enhance the contrast of autocorrelations * Used by JLP_wxImagePanel * * UnsharpMaskingFilter * HighContrastFilter, VeryHighContrastFilter * * JLP * Version 02-01-2015 -------------------------------------------------------------...
/* * backlash_comp.cpp * PHD Guiding * * Created by <NAME> * Copyright (c) 2015 <NAME> and <NAME> * All rights reserved. * * This source code is distributed under the following "BSD" license * Redistribution and use in source and binary forms, with or without * modification, are permitted provided tha...
#include "recognize.hpp" Recognize::Recognize() { this->notificationWithMedia = std::make_unique<moodycamel::ReaderWriterQueue<std::tuple<Notification::Type, std::string, std::string, std::string>>>(100); } bool Recognize::Start(const Configurations& configs, bool startPreviewThread, bool startActionsThread, std::st...
/********************************************************************** * "jlp_orbit1_cmpfit.cpp" * Levenberg-Marquardt method * Routines using the cminpack programs * and in particular LMDER_ * to minimize the sum of squares of nonlinear functions * with user supplied Jacobian * * Use cmpfit.a library: * Original pu...
#include "NeuronSelection.h" #include "Columns.h" #include "Util.h" #include "UtilIO.h" #include <QDebug> #include <QJsonArray> #include <QJsonDocument> #include <iostream> #include <QFile> #include <QTextStream> /** Empty constructor. */ NeuronSelection::NeuronSelection() { mPostTarget.push_back(CIS3D::DEND); m...
/* * Solar calculations - selftests */ #include "Astronomy.h" #include "TimeParser.h" #include <iostream> using namespace std; using namespace Fmi::Astronomy; using namespace boost::posix_time; using namespace boost::gregorian; // ptime, time_duration, not_a_time_date #define _LATLON(deg, min, sec) (((double)(de...
#define _CRT_SECURE_NO_WARNINGS #include <SFML/Graphics.hpp> #include <SFML/System.hpp> #include <iostream> #include <string> #include <vector> #define DEBUG_MODE #ifdef DEBUG_MODE #pragma comment(lib, "sfml-main-d.lib") #pragma comment(lib, "sfml-system-d.lib") #pragma comment(lib, "sfml-graphics-...
#include "Fauna.hpp" #include <random> using namespace vcl; // Random generators std::default_random_engine generator2; std::uniform_real_distribution<float> distrib10(0.9, 1.0); // ------------------------------------------------------// // Movement Functions // // ----------...
#include <opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <dpm_ocv.hpp> // Macros in OpenCV private header files #define VAL_OF_TRUNCATE 0.2f #define LATENT_SVM_OK 0 // Data structures in OpenCV private header files typedef struct{ int sizeX; int sizeY; int numFeatures; float *map; } CvL...
#include "ConfigSystem.h" #include "valve_sdk/csgostructs.hpp" #include <atlstr.h> #include "includes/INIReader.h" #include <iostream> #include <filesystem> #include <string> #include "imgui/imgui.h" namespace fs = std::filesystem; int ConfigSystem::GetInt ( std::string name ) { return intOptions[name]; } float...
#include <list> #include <array> #include <string> #include <limits> #include <cstdint> #include <utility> #include <iostream> #include <typeinfo> #include <functional> #include <type_traits> #include "test.hpp" #include "boost/none.hpp" #include "boost/optional.hpp" #include "boost/actor/on.hpp" #include "boost/act...
#include <assert.h> #include <stdio.h> #include <sstream> #include "Map.h" #include "Board.h" #include "Controls.h" const char* MAP = "oooooooooooooooooooooooooooooo" "oWWWWWWWWWWWWWWWWWWWWWWWWWWWWo" "oWPPPPPPPPPPPPwwPPPPPPPPPPPPWo" "oWPwwwwPwwwwwPwwPwwwwwPwwwwPWo" "oWHwoowPwooowPwwPwooowPwoowHWo" "oWPwww...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the Lic...
/* * app.cpp * * Author: cmdc0de */ #include "app.h" #include <esp_log.h> #include <system.h> #include <spibus.h> #include <driver/uart.h> #include <driver/gpio.h> #include <device/display/frame_buffer.h> #include <device/display/display_device.h> #include <device/display/fonts.h> #include <device/display/gui.h> ...
#include "SpeckleUnrealManager.h" #include "HttpManager.h" #include "UObject/ConstructorHelpers.h" #include "Dom/JsonObject.h" #include "Materials/MaterialInstanceConstant.h" #include "Kismet/GameplayStatics.h" #include "Objects/RenderMaterial.h" // Sets default values ASpeckleUnrealManager::ASpeckleUnrealManager() ...
// Copyright 2020 <NAME> // This file is part of CIDE, licensed under the new BSD license. // See the COPYING file in the project root for the license text. #include "cide/run_gdb.h" #include <fcntl.h> #include <signal.h> #include <sys/stat.h> #include <sys/types.h> #include <QDebug> #include <QEventLoop> #include <...
/* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. This program is distributed in the hope that it would...
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h" #include "DataFormats/TrackReco/interface/TrackBase.h" #include "Calibration/IsolatedParticles/plugins/IsolatedTracksHcalScale.h" #include "Calibration/IsolatedParticles/interface/CaloPropagateTrack.h" #include "Calibration/IsolatedParticles/interface/Charg...
/* * Copyright 2006 Sony Computer Entertainment Inc. * * Licensed under the MIT Open Source License, for details please see license.txt or the website * http://www.opensource.org/licenses/mit-license.php * */ #include <algorithm> #include <dae.h> #include <dae/daeURI.h> #include <ctype.h> #include <dae/daeDocument.h>...
//===--------------- LSTM.cpp - Lowering LSTM Op --------------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers the ONNX LSTM Operators to Krnl dialect. // //===------------------------------------...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "masternode-payments.h" #include "BlockDiskAccessor.h" #include <chain.h...
// Copyright (c) 2020 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <avalanche/avalanche.h> #include <avalanche/delegation.h> #include <avalanche/delegationbuilder.h> #include <avalanche/peerman...
#include "gtest/gtest.h" #include "../parser/LogFileUtility.h" //#include "../language/EnglishNA.h" #include "../modules/HuntingModule.h" #include "testLog/TemporaryLogFile.h" class HuntingModuleTest: public ::testing::Test{ protected: //MaxPeriodParser parser; //EnglishNA language; //PlayerIdentificationModul...
// cppimport #include <iostream> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fstream> #include <time.h> #include <math.h> #include "../../extern/pybind11/include/pybind11/pybind11.h" // <pybind11/pybind11.h> #include "../../extern/pybind11/include/pybind11/numpy.h" namespace py = pybi...
// This file is part of snark, a generic and flexible library for robotics research // Copyright (c) 2011 The University of Sydney // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistr...
/* ** Copyright 2015 Centreon ** ** 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 ...
/** * @cond ___LICENSE___ * * Copyright (c) 2016-2018 Zefiros Software. * * 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 ...
/* * Copyright (c) 2004, 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 <stdio.h> #include <stdlib.h> #include <assert.h> #include <stdarg.h> #include <string.h> #include <errno.h> #include <math.h> #include "Distribution.hh" #include "die.hh" const double E = 100.0; const double poisson = 0.3; const double HEIGHT = 0.085; const double thick_bl = HEIGHT/1; const double thick_br =...
#include "Escena3D.h" #include "Simulator.h" class Simulator; Escena3D::Escena3D(Simulator* simu){ this->init(simu); } void Escena3D::init(Simulator* simu){ this->sim = simu; /* at[0] = 0; at[1] = 0; at[2] = 10; */ eye[0] = 0; eye[1] = 0; eye[2] = 0; this->misilPos[0] = 0; this->misilPos[1] = 0; thi...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
/* * multinomialNBLDA.cpp * * Created on: Oct 26, 2013 * Author: Moy */ #include <iostream> #include <iomanip> #include <time.h> #include <fstream> #include <vector> #include <map> #include "../common/utils.h" #include "../common/Options.h" #include "../common/DataArchiver.h" #include "../ma...
/* * Copyright 2017-present Facebook, Inc. * * 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 you under the Apache Lic...
#include <iostream> // #include "DQMOffline/EGamma/plugins/PhotonOfflineClient.h" //#define TWOPI 6.283185308 // /** \class PhotonOfflineClient ** ** ** $Id: PhotonOfflineClient ** authors: ** <NAME>, U. of <NAME>, US ** <NAME>, U. of <NAME>, US ** ***/ using namespace std; using std::cout; PhotonOff...
#include "Application.h" #include "Mesh.h" #include "ShaderProgram.h" #include "Texture.h" #include "BoundingBox.h" #include <iostream> #include <sstream> #include <vector> #include <string> namespace std { std::ostream& operator <<(std::ostream& out, const glm::vec3& v) { return out << "vec3(" << v.x << ", " <...
// // Simu5G // // Authors: <NAME>, <NAME>, <NAME> (University of Pisa) // // This file is part of a software released under the license included in file // "license.pdf". Please read LICENSE and README files before using it. // The above files and the present reference are part of the software itself,...
#include "Game.h" #include "Thing.h" #include "Monster.h" #include "Player.h" #include "Qor/BasicPartitioner.h" #include "Qor/Input.h" #include "Qor/Qor.h" #include "Qor/Shader.h" #include "Persistence.h" #include <glm/glm.hpp> #include <cstdlib> #include <chrono> #include <thread> using namespace std; using namespace...
#include <nds.h> #include <dswifi9.h> #include "romfile.h" #include "nifi.h" #include "mmu.h" #include "main.h" #include "gameboy.h" #include "console.h" #include "inputhelper.h" #include "gbmanager.h" #include "menu.h" #include "soundengine.h" void nifiLinkTypeMenu(); void nifiHostMenu(); void nifiClientMenu(); inli...
#include <iostream> #include "llvm/Support/CommandLine.h" #include "clang/Basic/SourceManager.h" #include "clang/AST/RecordLayout.h" #include "clang/AST/ASTContext.h" #include "clang/AST/Comment.h" #include "clang/Sema/Sema.h" #include "FieldVisitor.hh" #include "FieldDescription.hh" #include "ClassValues.hh" #inclu...
//=---------------------------------------------------------------------= // // $Id$ $Name$ // // The contents of this file are subject to the AAF SDK Public Source // License Agreement Version 2.0 (the "License"); You may not use this // file except in compliance with the License. The License is available // in AAFSD...
//game.cpp //Fly By Knight - Chess Engine //Created by <NAME> 2011-2012. //Read the README for more. #include <stdlib.h> #include <string> #include <iostream> #include <vector> #include <ctime> #include <stack> #include<cmath> #include "main.hpp" #include "game.hpp" #include "board.hpp" #include "piece.hpp" #include "...
/* -------------------------------------------------------------------------- * * OpenMM * * -------------------------------------------------------------------------- * * This is part of the OpenMM molecular simulation toolkit originating from * ...
#include <conio.h> #include <deque> #include <fstream> #include <iostream> #include <iomanip> #include <apps/Common/aviwrapper.h> #include "../Common/exampleHelper.h" #include <mvDisplay/Include/mvIMPACT_acquire_display.h> #include <mvIMPACT_CPP/mvIMPACT_acquire_helper.h> using namespace std; using namespace mvIMPACT:...
/** GDevelop - Physics Behavior Extension Copyright (c) 2010-2016 <NAME> (<EMAIL>) This project is released under the MIT License. */ #include "PhysicsRuntimeBehavior.h" #include <string> #include "Box2D/Box2D.h" #include "GDCore/Tools/Localization.h" #include "GDCpp/Runtime/CommonTools.h" #include "GDCpp/Runtime/Pro...
#include "ASTNode.h" #include <iostream> #include <map> #include <vector> #include <set> #include <algorithm> using namespace std; struct MethodNode { MethodNode(){} MethodNode(string n){ name = n; } string name; string returns; string inherited_from; vector<string> formals; vector<string> vars; map<string...
/* Copyright (c) 2013, <NAME> <sibt.ul.hussain at gmail dot com> All rights reserved. Released under BSD License ------------------------- For license terms please see license.lic */ #include "includeHeaders.h" #include "processImage.h" #include <boost/program_options.hpp> namespace po = boost::program_options; UINT F...
#include <windows.h> #include "FalcLib.h" #include "F4Find.h" #include "ClassTbl.h" #include "CampLib.h" // ATM Inputs short IMMEDIATE_MIN_TIME; short IMMEDIATE_MAX_TIME; short LONGRANGE_MIN_TIME; short LONGRANGE_MAX_TIME; short ATM_ASSIGN_RATIO; short MAX_FLYMISSION_THREAT; short MAX_FLYMISSION_HIGHTHREAT; short MAX_...
// Copyright <NAME> #include "GHMathInclude.h" #include "GHMathDebugPrint.h" #include "GHTransform.h" #include "GHFloat.h" #include "GHMath.h" #include <stddef.h> #include <cmath> #include "GHPi.h" #include "GHQuaternion.h" GHTransform GHTransform::IDENTITY(1,0,0,0, 0,1,0,0, ...
/* graphB+ balancing algorithm for signed social network graphs Copyright (c) 2021, Texas State University 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 ...
#include "ProtoCCVisitor.h" #include "antlr4-runtime.h" #include <algorithm> #include <iostream> #include <numeric> #include <utility> #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/Function.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/Module.h" #include "mlir/IR/StandardTypes...
#include "reciprocity.h" #include "cstdlib" using namespace tpm; Reciprocity::Reciprocity(const std::vector<std::shared_ptr<Operator>> &ops) : equal_threshold_(0.7), num_valid_tensors_(0), num_total_tensors_(0), max_depth_(3), searchingGraph(new SubGraph()), max_num_elements_(1024 * 1024 * 1024), num_r...
// Copyright (c) 2017-2018 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "accumulators.h" #include "accumulatormap.h" #include "chainparams.h" #include "main.h" #include "txdb.h" #include "init.h" ...
//===-- ObjectFile.cpp ------------------------------------------*- C++ -*-===// // // 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 // //===---------------------------...
#include "RecoEgamma/ElectronIdentification/interface/CutBasedElectronID.h" #include "DataFormats/EgammaReco/interface/BasicCluster.h" #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" #include "DataFormats/BeamSpot/interface/BeamSpot.h" #include <algorithm> CutBasedElectronID::CutBasedElectronID(const edm::Pa...
// Copyright 2011 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...
/* * Test code. Very rough. Just throwing around an idea here. */ /* Some examples of the kind of word input we might expect to handle, using Editing of Buildings is the example subject. Selection of whole objects will be with mouse, not words, but sub-parts of buildings have their own selection. "Sele...
/* Copyright (c) 2010-2021, Intel 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 co...
// -*- C++ -*- // // Package: Test/HcalLutAnalyzer // Class: HcalLutAnalyzer // /**\class HcalLutAnalyzer HcalLutAnalyzer.cc Test/HcalLutAnalyzer/plugins/HcalLutAnalyzer.cc Description: [one line class summary] Implementation: [Notes on implementation] */ // // Original Author: <NAME> // Creat...
#include "RecoParticleFlow/PFProducer/interface/PFCandConnector.h" #include "DataFormats/ParticleFlowReco/interface/PFDisplacedVertex.h" #include "DataFormats/ParticleFlowReco/interface/PFBlock.h" #include "DataFormats/GsfTrackReco/interface/GsfTrack.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" using n...
int vQPP, PwG , HLe , fCo ,/*0yXna*/t , a , SAA, okcT9 , sW , l,Obkl , JeRv6t,iY//Ob ,ik8p , Cg, Z9L , kNn,Wb ,zjG , cW0, Bx , ut7//mH ,GrrO/*aPZ*/ ,S0 , El0H, A4BWb // , ero/*Nto*/, W9, va , ggq,fVJ , HnC , rde , hX ,kcV, xwC ,//FX /**/ iNw ,F4x ,i , lao ,Dw8 ; void f_f0 () { volatile int YE, ...
#include "solver_tasks.h" #include "node.h" #include "lapack_blas.h" #include "macros.h" using namespace LegionRuntime::Accessor; // for debugging purpose void save_matrix(double *A, int nRows, int nCols, int LD, std::string filename); namespace { class LUSolveTask : public TaskLauncher { public: LU...
/* 699. Falling Squares On an infinite number line (x-axis), we drop given squares in the order they are given. The i-th square dropped (positions[i] = (left, side_length)) is a square with the left-most point being positions[i][0] and sidelength positions[i][1]. The square is dropped with the bottom edge parallel ...
/* * $Id: sample.cpp,v 1.23 2006/11/01 23:33:56 nathanst Exp $ * * sample.cpp * hog * * Created by <NAME> on 5/31/05. * Copyright 2005 <NAME>, University of Alberta. All rights reserved. * * This file is part of HOG. * * HOG is free software; you can redistribute it and/or modify * it under the terms of...
/* This file is part of the regenie software package. Copyright (c) 2020-2021 <NAME>, <NAME> & <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, includi...
//===- AMDGPUBaseInfo.cpp - AMDGPU Base encoding information --------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
using namespace std; #include <cmath> #include <stdio.h> #include <fstream> #include <iostream> #include"galprop_classes.h" #include"galprop_internal.h" #define sign(a,b) (((b) > 0.) ? (a) : (-a)) double bessj(int, double); double hyp1F1(double, double, double); double fu(double); //double gamma(const double); double ...
//============================================================================== //The OpenSim Main header must be included in all files #include <OpenSim/OpenSim.h> // Set the namespace to shorten the declarations // Note: Several classes appear in both namespaces and require using the full name using namespace OpenSi...
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2020 <NAME> <<EMAIL>> * * @file network_graph.h * @date 19 Oct 2020 * @see https://github.com/nnstreamer/nntrainer * @author <NAME> <<EMAIL>> * @bug No known bugs except for NYI items * @brief This is Network Graph Class for Neural Netw...
// Copyright 2005 Google Inc. All Rights Reserved. #include <algorithm> using std::min; using std::max; using std::swap; using std::reverse; #include "s2edgeutil.h" #include "base/logging.h" bool S2EdgeUtil::SimpleCrossing(S2Point const& a, S2Point const& b, S2Point const& c, S2Point...
#include <cstring> #include <cassert> #include <sstream> #include <iostream> #include <fstream> #include "mrc.h" #include <QMetaType> MRC::MRC() :MRC("", false) { //Do Nothing } MRC::MRC(const std::string &fileName) : MRC(fileName, false) { open(fileName); } MRC::MRC(void * data, int width, int height, int slice,...
int M,VIfN , Jvq ,ZSYUO, VSv , IOGj, ytz ,DxD5 , jfMJ, rYf, wsEL ,d3k/*7*/ , E2 /*66A*/ , DzfA ,vRL , Lw ,P,Ig, h, //kn OQhxe ,vIUN , xukA,Nolp1, aMq,fZL ,//F v62 ,Nzo, b1q , S0 /**/,C , Th7w ,d3Cg5W //9DrC , GEG,SFg , cCwl ,z9 , Lpq, FMz6//l , UJ8w , nsP , wk ,NJ6Zp , TUG , xze, bWS ,qook , //U...