text
stringlengths
3.08k
22k
#include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<algorithm> #include<queue> using namespace std; #define ll long long #define mem(Arr,x) memset(Arr,x,sizeof(Arr)) const int maxMap=2010; const int maxN=maxMap*5; const int maxM=maxN*10; const int inf=2147483647; class Edge { public: in...
/* Copyright 2021 The Silkworm Authors 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 ...
/***************************************************************** | | Neptune Utilities - Network Benchmark utility | | (c) 2001-2013 <NAME> | Author: <NAME> (<EMAIL>) | ****************************************************************/ /*----------------------------------------------------------------...
// Copyright (c) 2019, QuantStack and Mamba Contributors // // Distributed under the terms of the BSD 3-Clause License. // // The full license is in the file LICENSE, distributed with this software. #include "openssl/md5.h" #include "thirdparty/filesystem.hpp" #include "subdirdata.hpp" #include "output.hpp" #include ...
/* * The fireworks demo. * * Part of the Cyclone physics system. * * Copyright (c) Icosagon 2003. All Rights Reserved. * * This software is distributed under licence. Use of this software * implies agreement with all terms and conditions of the accompanying * software licence. */ #if defined(_MSC...
// // NameRecognizer.cpp // CardRecognizer // // Created by <NAME> on 08/02/16. // Copyright © 2016 <NAME>. All rights reserved. // #include "NameRecognizer.h" #include "IServiceContainer.h" #include "INeuralNetworkObjectFactory.h" #include "Utils.h" #include "IRecognitionCoreDelegate.h" #include <iomanip> //...
/// @file SimpleMonitorTask.cc /// /// @copyright (c) 2010 CSIRO /// Australia Telescope National Facility (ATNF) /// Commonwealth Scientific and Industrial Research Organisation (CSIRO) /// PO Box 76, Epping NSW 1710, Australia /// <EMAIL> /// /// This file is part of the ASKAP software distribution. /// /// The ASKAP...
#include "ast.h" #include "error.h" #include "generator.h" #include "token.h" #include "type.h" #include <cctype> #include <cstddef> #include <cstdint> #include <cstdlib> #include <cstring> using namespace std; // static const Type *infer_type_by_suffix(const char *end) { // if (*end == '\0') { // return &...
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "UI/LogWindowManager.h" #include "GenericPlatform/GenericApplication.h" #include "Widgets/DeclarativeSyntaxSupport.h" #include "Widgets/SWindow.h" #include "Framework/Application/SlateApplication.h" #include "UnitTestManager.h" #include "UI/SLogW...
 /* Copyright (c) 2009-present Maximus5 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
/* rio.c is a simple stream-oriented I/O abstraction that provides an interface * to write code that can consume/produce data using different concrete input * and output devices. For instance the same rdb.c code using the rio * abstraction can be used to read and write the RDB format using in-memory * buffers or fi...
#include "../includes.hpp" #include "interfaces/ibaseclientdll.hpp" #include "interfaces/interfaces.hpp" #include "netvars.hpp" #include <cstdint> #include <cstring> uintptr_t getOffset(RecvTable* table, const char* tableName, const char* netvarName) { for (int i = 0; i < table->m_nProps; i++) { RecvProp p...
// Sine Wave Gen #include "AmateurResearch.hpp" #include <iostream> struct Sign2 : Module { enum ParamIds { PITCH_PARAM,SLOPE_PARAM, NUM_PARAMS }; enum InputIds { GATE_INPUT, NUM_INPUTS }; enum OutputIds { SINE_OUTPUT, SQUARE_OUTPUT, TRIANGLE_OUTPUT, SAW_OUTPUT, NUM_OUTPUTS }; enum LightIds { BLI...
/* * Copyright (c) 2006-2007 <NAME> http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * in...
/* Copyright (c) 2013, <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 and the followi...
#include <limits.h> #include <algorithm> #include "string_shape.h" UTF_UCS FreetypeShaper::utf_converter = UTF_UCS(); std::vector<u_int32_t> FreetypeShaper::glyph_uc = {}; std::vector<unsigned int> FreetypeShaper::glyph_id = {}; std::vector<unsigned int> FreetypeShaper::string_id = {}; std::vector<long> FreetypeShaper...
/** * Copyright (c) 2006-2021 LOVE Development Team * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * ...
#include <string> #include <iostream> #include <cmath> #include <limits> #include <opencv2/opencv.hpp> #include "mandelbrot.h" using namespace std; // The following functions handle getting input from the user // for the mandelbrot image/animation parameters void getResolution(int resolution[]); void getCenter(double...
/* Source file for the map utilities */ //////////////////////////////////////////////////////////////////////// // Include files //////////////////////////////////////////////////////////////////////// #include "R3Graphics/R3Graphics.h" #include "R3Surfels/R3Surfels.h" #include "R3SurfelViewer.h" #include "map.h" ...
#include<windows.h> #include <GL/glut.h> #include<bits/stdc++.h> using namespace std; #define PI acos(-1.0) // 3.1415926535897932 int a = 0; int refreshMills = 1000; double pol[7][6][2]={ { {19.02,52.36},{18.13,51.35},{17.52,45.95},{18.24,44.96},{19.04,46},{19.66,51.28}}, { {18.12,4...
/**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by <NAME> & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License...
#include <array> #include <iostream> #include <cmath> #define _USE_MATH_DEFINES // #include "AdaptAbsReachNStay.hh" // #include "AdaptAbsSafe.hh" #include "AdaptAbsReach.hh" using namespace scots; /* dimensions */ #define dimX 3 #define dimU 1 /* data types for the ode solver */ typedef std::array<double, dimX> X_t...
#include "json.hpp" using namespace nlohmann; #include <iostream> #include <fstream> #include <algorithm> #include <string> #include <map> #include <bitset> #include <asio.hpp> #include <thread> #include <fmt/core.h> #include <fmt/color.h> #include <peglib.h> #include "pystring.h" #include <magic_enum.hpp> #include <...
/* * VGMTrans (c) 2002-2019 * Licensed under the zlib license, * refer to the included LICENSE.txt file */ #include "HudsonSnesInstr.h" #include "HudsonSnesSeq.h" BytePattern HudsonSnesScanner::ptnNoteLenTable("\xc0\x60\x30\x18\x0c\x06\x03\x01", "xxxxxxxx", 8); //; Super Bomberman 2 SPC // 0b30: f6 6b 0f mov ...
#include "Features.h" //#include <fmt.h> Singleton_CPP(LobbyMod); chatType Settings::Lobbychat::preset = chatType::Color_Standard; bool Settings::Lobbychat::LobbyChat_EndlineSpam = false; bool Settings::Lobbychat::LobbyChat_PrependName = false; float Settings::Lobbychat::LobbyChat_RepeatExponent = 0.0f; char Settings...
// This file was created by Filewrap 1.1 // Little endian mode // DO NOT EDIT #include "../PVRTMemoryFileSystem.h" // using 32 bit to guarantee alignment. #ifndef A32BIT #define A32BIT static const unsigned int #endif // ******** Start: SkinnedVertShader.vsh ******** // File data static const char _SkinnedVertShad...
#include "ecg.h" int padding_x = 20; int sampleFrequency = 500; double sampleResolution = 0.1; static HWND m_hWindow; static HeartSignal* m_heartSignal; static int m_currentPageNum = 0; void InitECG(HWND hWindow) { m_hWindow = hWindow; } // Name: GenerateSignal // Desc: Generate a simulated EC...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2021 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any pers...
/* PROJECT: 3Dmov AUTHORS: <NAME> COPYRIGHT: 2009 Haiku Inc DESCRIPTION: Haiku version of the famous BeInc demo 3Dmov Just drag'n'drop media files to the 3D objects */ #include <GL/gl.h> #include <string.h> #include "GLUtility.h" // Local definitions // Local functions // Local variables /* FUNCTION:...
//************************************************************************ // Copyright 2021 Massachusetts Institute of Technology // SPDX License Identifier: BSD-2-Clause // // File Name: cep_des3.cc/h // Program: Common Evaluation Platform (CEP) // Description: des3 test for CEP // Notes: //*...
// Copyright <NAME> 2020-2021. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) #pragma once #include "pipeline_SDF_texture_map.hpp" #include "pipeline_SDF_atlas_rect.hpp" #include "pipeline_SDF_specialization_con...
/************************************************************************* > File Name: frenet_optimal_trajectory.cpp > Author: <NAME> > Mail: <EMAIL> > Created Time: Wed Apr 3 09:52:17 2019 ************************************************************************/ #include<iostream> #include<limits> #include<vec...
#include "conex/kkt_solver.h" #include "conex/block_triangular_operations.h" #include "conex/supernodal_solver.h" using Eigen::MatrixXd; using Eigen::VectorXd; using std::vector; namespace { std::vector<int> ConcatFirstN(const std::vector<int>& a, int N, const std::vector<int>& b) { s...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the examples of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:BSD$ ** You may use this file under the terms of the BSD license a...
#include <ui.h> #include <graphic.h> #include <GameState.h> using namespace std; // Player State Definition GameState::PlayerState::PlayerState(): wins(0), loses(0), draws(0), isCurrentPlayer(false) {} void GameState::PlayerState::init(int x, int y, int h, int w, bool cur, int _color, char _chess, string _name) { ...
//===-- RISCVRegisterInfo.cpp - RISCV Register Information ------*- 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 // //===---------------------------...
/* * Argon2 source code package * * * Written by <NAME> and <NAME>, 2015 * * This work is licensed under a Creative Commons CC0 1.0 License/Waiver. * * You should have received a copy of the CC0 Public Domain Dedication along with * this software. If not, see <http://creativecommons.org/publicdomain/zero...
// ========================================================================== // sam2matrix // ========================================================================== // Copyright (c) 2006-2014, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in source and binary f...
// lammps includes #include <assert.h> #include <math.h> #include <mpi.h> #include <string.h> #include <utility> #include <map> #include "lammps.h" #include "input.h" #include "atom.h" #include "library.h" #define SIZE_ONE (5) //#include "utility.h" //#include "adios_adaptor.h" //#include "adios_helper.h" #include ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor */ // demarcate.cpp : 定义控制台应用程序的入口点。 // #include "demarcate.h" #include <stdio.h> void printf_mat(Mat & image) { Mat cramera = image.cl...
/* * libjingle * Copyright 2010, Google Inc. * * 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 f...
/* OneLoneCoder.com - Command Line Tetris "Put Your Money Where Your Mouth Is" - @Javidx9 License ~~~~~~~ Copyright (C) 2018 Javidx9 This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions; See license for details. Original work...
// // A utility for finding substring embeddings in patterns #include <stdio.h> #include <string.h> #include <stdlib.h> #define MAXPATHS (256*1024) // // static void die( const char*msg ) { fprintf(stderr,"%s\n",msg); exit(1); } // Finds the index of an entry, only used on xxx_key arrays ...
#include <sstream> #include <iostream> #include <stdio.h> #include "config.h" #include "paxos.h" #include "handle.h" #include "tprintf.h" #include "lang/verify.h" // The config module maintains views. As a node joins or leaves a // view, the next view will be the same as previous view, except with // the new node adde...
#include "sim.h" using namespace std; int X_size = 50; int Y_size = 50; int init_num_robots = 50; typedef std::vector< std::vector<Point*> > two_dim_vector; two_dim_vector map(X_size, std::vector<Point*>(Y_size)); vector<Robot*> rb; //base coordinates and other data const int base_x = 0; const int base_y = 0; int ba...
/* Copyright (c) 2018-2021 <NAME> and the wxCharts contributors. 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...
// Copyright (c) 2009-2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin 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 "pow.h" #include "chain.h" #include...
// __BEGIN_LICENSE__ // Copyright (c) 2009-2013, United States Government as represented by the // Administrator of the National Aeronautics and Space Administration. All // rights reserved. // // The NGT platform is licensed under the Apache License, Version 2.0 (the // "License"); you may not use this file excep...
// Copyright (c) 2019, Lawrence Livermore National Security, LLC. // See top-level LICENSE file for details. #include "caliper/caliper-config.h" #include <caliper/Caliper.h> #include <caliper/ChannelController.h> #include <caliper/ConfigManager.h> #include <caliper/reader/Aggregator.h> #include <caliper/reader/Calip...
/* * 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 License, Version 2.0 * (the "License"); you may ...
#include <ProToolkit.h> #include <ProAsmcomp.h> #include <ProAsmcomppath.h> #include <ProFeatType.h> #include <ProMdl.h> #include <ProSolid.h> #include <ProSelection.h> #include "UtilMath.h" #include "UtilMatrix.h" #include "UtilCollect.h" /*============================================================...
/* * Copyright (C) 2009-2011 Texas Instruments, 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 applicabl...
// @@@LICENSE // // Copyright (c) 2010-2013 LG Electronics, 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 require...
/* * Shell.cpp * * Created on: May 17, 2018 * Author: 13774 */ #include <user/Shell.h> #include <schedule/schedule_forward.h> #include <runtime_def.h> #include <interrupt/svc_call.h> #include <generic/cpu.h> #include <schedule/Process.h> Shell::Shell() :_exitCode(0), _exitRepl(false), _vp() {} void S...
/************************************************************************** *** *** Copyright (c) 1995-2000 Regents of the University of California, *** <NAME>, <NAME> and <NAME> *** Copyright (c) 2000-2007 Regents of the University of Michigan, *** <NAME>, <NAME>, <NAME> and *** ...
/* JDELAY - regenerating delay instrument, adapted from DELAY Compared with DELAY, JDELAY adds: - a simple low-pass filter - control over wet/dry mix - a DC blocking filter - switchable pre/post-fader delay Parameters: p0 = output start time p1 = input start time p2 =...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <openenclave/bits/defs.h> #include <openenclave/host.h> #include <openenclave/internal/tests.h> #include "../edltestutils.h" #include "all_u.h" void test_struct_edl_ecalls(oe_enclave_t* enclave) { const size_t...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid c...
#include <pthread.h> #include "node.h" #define INF 1000000 void Node::init(int numEdges, int weights[], Node* nodes[]) { this->numEdges = numEdges; this->edges = (edge *)malloc(sizeof(edge) * numEdges); for (int i = 0; i < numEdges; ++i) { this->edges[i].state = 0; this->edges[i].weight = weights[i]; ...
// // Created by joshua on 8/15/17. // #include <boost/program_options.hpp> #include <mps/planner/pushing/OraclePushPlanner.h> #include <mps/planner/util/yaml/OracleParsing.h> #include <planner_tests/box2d/widget/PushPlannerWidget.h> #include <sim_env/Box2DController.h> #include <sim_env/Box2DWorld.h> #include <sim_env...
/* Copyright (c) 2005-2017 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
#include <iostream> #include <algorithm> #include <time.h> using namespace std; string libros[39][3]; void cargarLibros() { // Arreglo con categoria y descripcion y autor libros[0][0] = "Algoritmos"; libros[0][1] = "Algoritmos y Programacion (Guia para docentes)";libros[0][2] = "<NAME>"; libros[1][0] = "Algori...
//Required include files #include <stdio.h> #include <string> #include <iostream> #include "pubSysCls.h" using namespace sFnd; #define CHANGE_NUMBER_SPACE 2000 //The change to the numberspace after homing (cnts) #define TIME_TILL_TIMEOUT 50000 //The timeout used for homing(ms) -- low from bottom #define ACC_LIM_RPM_P...
/* * Copyright (c) 2009 Jice * 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 conditions and the ...
//=--3CStandalone.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 // //===---------------------------...
/* * Copyright 2020 Xilinx 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 ...
// // Created by <NAME> on 2019-02-03. // #include <iostream> #include <cmath> #include <string> #include <memory> #include <vector> #include <map> #include <queue> #include <stack> #include <algorithm> #include <functional> using std::cout; using std::cin; using std::sqrt; using std::pow; using std::endl; using std...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2013, Rice University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cc/quads/draw_polygon.h" #include <stddef.h> #include <vector> #include "cc/output/bsp_compare_result.h" #include "cc/quads/draw_quad.h" nam...
/** * See header file for a description of this class. * * * \author <NAME> - INFN Torino, V.Palichik * \author porting <NAME> * */ #include "RecoMuon/MuonSeedGenerator/src/MuonDTSeedFromRecHits.h" #include "RecoMuon/MuonSeedGenerator/src/MuonSeedPtExtractor.h" #include "RecoMuon/TransientTrackingRecHit/inte...
#include "SimG4Core/Geometry/interface/DDG4ProductionCuts.h" #include "DetectorDescription/Core/interface/DDLogicalPart.h" #include "DetectorDescription/DDCMS/interface/Filter.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Utilities/interface/Exception.h" #include "G4ProductionCuts.hh" ...
#include "Cgw_Softbody.h" // // // 默认初始化函数 // // My_softbody_class::My_softbody_class() { // mesh sprintf_s(tetFileName, "%s.tet", fileName); sprintf_s(objFileName, "%s.obj", fileName); } /// 初始化 void My_softbody_class::InitNx() { // Initialize PhysicsSDK gPhysicsSDK = NxCreatePhysicsSDK(N...
/* Tool for computation automorphisms for various duplication-divergence models. Compile: make dd_automorphisms Syntax: ./dd_automorphisms <options> <options> are -action: real_graph: Find the logarithm of the number of symmetries in the given real_graph file real_seed: Find the expected logarithm of the number o...
// Copyright 2018 The Fuchsia 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 "firmware_blob.h" #include <lib/zx/vmar.h> #include <zircon/assert.h> #include <ddk/debug.h> #include "macros.h" FirmwareBlob::~FirmwareBlob()...
#include "Common.h" #include "PathFinding.h" #include "MapTools.h" namespace { auto & bwemMap = BWEM::Map::Instance(); } namespace { auto & bwebMap = BWEB::Map::Instance(); } using namespace UAlbertaBot; int PathFinding::GetGroundDistance(BWAPI::Position start, BWAPI::Position end, PathFindingOptions options) { ...
/* * KINOVA (R) KORTEX (TM) * * Copyright (c) 2018 Kinova inc. All rights reserved. * * This software may be modified and distributed under the * terms of the BSD 3-Clause license. * * Refer to the LICENSE file for details. * */ #include <Base.pb.h> #include <google/protobuf/util/json_util.h> namespace k_api = Kinov...
/*********************************************************************** * Source File: * UI INTERACT * Author: * <NAME> * Description: * Implement the interfaces specified in uiInterface.h. This handles * all the interfaces and events necessary to work with OpenGL. Your * program will int...
/* http://frotznet.googlecode.com/svn/trunk/utils/fdevent.c ** ** Copyright 2006, <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 License at ** ** http://www.apache.org/licenses...
// // CGLab06.cpp // OpenGL // // Created by <NAME> on 21/12/2015. // Copyright © 2015 <NAME>. All rights reserved. // #include "CGLab06.hpp" #include <GLUT/glut.h> using namespace CGLab06; void MyUmbrella::draw() { glDisable(GL_CULL_FACE); glBegin(GL_TRIANGLE_FAN); //umbrella top glColor3f(1....
/* * Copyright 2022 Institute of Parallel and Distributed Systems, Shanghai Jiao Tong University * * 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/license...
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * 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 ...
#include "ConeTool.h" #include <string> #include <engine/util/util.h> #include <glm/ext.hpp> #include <engine/util/file.h> #include <engine/rendering/debug/DebugRenderer.h> #include <fstream> #include <engine/rendering/Screen.h> #include <engine/input/Input.h> #include "engine/rendering/voxelConeTracing/Globals.h" std...
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author list) * See LICENSE for the license information * ------------...
// Copyright (c) 2016-2019 <NAME> <<EMAIL>> // Provided under the MIT License: https://mit-license.org #include "nfa.h" #include "x86_opcode.h" // For writing instrucions to an arena #define NextInstr() (*((instruction*)(Alloc(Arena, sizeof(instruction))))) #define PeekIdx() (Arena->Used / sizeof(instruction)) #defin...
#include "applib.hpp" #include "app.hpp" #include "configuration.hpp" #include "lua_uv_dnslookup.hpp" #include "lua_uv_filewatcher.hpp" #include "lua_uv_timer.hpp" #include "safecall.hpp" #include "uv.hpp" #include <myncurses.h> #include <ircmsg.hpp> #if HAS_GEOIP #include <mygeoip.h> #endif #include <mybase64.hpp> ...
#include "cavs/frontend/cxx/sym.h" #include "cavs/frontend/cxx/graphsupport.h" #include "cavs/frontend/cxx/session.h" #include "cavs/proto/opt.pb.h" #include "cavs/util/timing.h" #include <iostream> #include <fstream> #include <vector> using namespace std; DEFINE_int32 (batch, 20, "batch"); DEFINE_int32 ...
/******************************************************************************** * ReactPhysics3D physics library, http://www.reactphysics3d.com * * Copyright (c) 2010-2019 <NAME> * ********************************************************************************* ...
#include <string> #include <opencv4/opencv2/opencv.hpp> #include "autosweep/board.h" namespace { void CountNeighbor(const Board &board, int row, int col, int *unknown_count, int *flag_count) { if (row < 0 || row >= board.rows()) return; if (col < 0 || col >= board.cols()) return; Cel...
// ref: 0x10008164 void __cdecl MainMenu_cpp_init() { mainmenu_cpp_float = mainmenu_cpp_float_value; } // 1001F434: using guessed type int mainmenu_cpp_float_value; // 1002A0D4: using guessed type int mainmenu_cpp_float; // ref: 0x1000816F BOOL __stdcall UiMainMenuDialog(char *name, int *pdwResult, void (__stdcall *f...
/* * Project: GLAST * Package: rootUtil * File: $Id: CelFileAndTreeSet.cxx,v 1.2 2008/06/10 13:28:42 chamont Exp $ * Authors: * EC, <NAME>, SLAC <EMAIL> * * Copyright (c) 2007 * Regents of Stanford University. All rights reserved. * */ #include "rootUtil/CelFileAndTreeSet.h" #i...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <unordered_map> #include "hermes/BCGen/HBC/BytecodeDataProvider.h" #include "hermes/BCGen/HBC/BytecodeDisassembler.h" #in...
#include "Cappuccino/Application.h" #include "GameplayScene711.h" #include "MenuScene.h" #include "Cappuccino/SoundSystem.h" #include "Cappuccino/FrameBuffer.h" #include "Options.h" #include <ctime> using Application = Cappuccino::Application; using SoundSystem = Cappuccino::SoundSystem; using FontManager = Cappuccin...
//===- AST.cpp - Helper for printing out the Pinch AST ----------------------===// // // 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 // //===-------------------------...
/**** DIAMOND protein aligner Copyright (C) 2013-2017 <NAME> <<EMAIL>> This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
#include <cppunit/extensions/HelperMacros.h> #include "DetectorDescription/DDCMS/interface/DDFilteredView.h" #include "DetectorDescription/DDCMS/interface/DDDetector.h" #include "FWCore/ParameterSet/interface/FileInPath.h" #include "DD4hep/Detector.h" #include <string> #include <memory> #include "cppunit/TestAssert....
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : <NAME> Contributors : <NAME>, <NAME>. [1] <NAME>, <NAM...
// 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...
///////////////////////////////////////////////////////////////////////////// // // FILE NAME // BufferStore.cc // // AUTHORS // <NAME> // // CREATED // 07/01/2005 // // DESCRIPTION // BufferStore class - singleton to keep references // to integer, double, and char arrays that will be used in // para...
#include <Adafruit_Arcada.h> #if defined(__SAMD51__) #if !defined(FLASH_PAGE_SIZE) #define FLASH_PAGE_SIZE (8 << NVMCTRL->PARAM.bit.PSZ) #endif #define FLASH_NUM_PAGES NVMCTRL->PARAM.bit.NVMP #if !defined(FLASH_SIZE) #define FLASH_SIZE (FLASH_PAGE_SIZE * FLASH_NUM_PAGES) #endif #define FLASH_BLOCK_SIZE (FLASH...
/* * Copyright (c) The Shogun Machine Learning Toolbox * Written (w) 2014 <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 copyrig...