text
stringlengths
5.71k
33.7k
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, ...
/***************************************************************************** * * MiniOSC * * Autor: <NAME> 2015-2016 * ***************************************************************************** * * Biblioteka display - operacje na obszarze "wyswietlacza", wykresy * ***************************************...
/* Copyright (c) The Grit Game Engine authors 2016 * * 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, ...
/*++ Module Name: ReadWriter.cpp Abstract: General file writer. Environment: User mode service. Not thread safe. --*/ #include "stdafx.h" #include "BigAlloc.h" #include "Compat.h" #include "Read.h" #include "SAM.h" #include "Tables.h" #include "RangeSplitter.h" #include "ParallelTask.h" #includ...
// This file is distributed under the BSD 3-Clause License. See LICENSE for details. #include <queue> #include <string> #include "pass_submatch.hpp" #include "annotate.hpp" #include "lbench.hpp" #include "lgedgeiter.hpp" #include "lgraph.hpp" #include "node.hpp" #include "node_pin.hpp" #include "waterhash.hpp" #inc...
// // kern_prov.cpp // VirtualSMC // // Copyright © 2017 vit9696. All rights reserved. // #include <Headers/kern_util.hpp> #include <Headers/kern_patcher.hpp> #include <Headers/kern_api.hpp> #include <Headers/kern_efi.hpp> #include <Headers/kern_crypto.hpp> #include <Headers/kern_nvram.hpp> #include <Headers/plugin...
/* SjASMPlus Z80 Cross Compiler Copyright (c) 2004-2008 Aprisobal 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, inclu...
#include <assert.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <twz/name.h> #include <twz/obj.h> #include <twz/objctl.h> #include <twz/queue.h> #include <twz/sys.h> #include <twz/thread.h> #include <twz/debug.h> #include <twz/driver/device.h> #include <twz/driver/pcie.h> #i...
// 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...
/* * * Copyright (c) 2016-2017 Nest Labs, 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...
/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ******************************...
/* * SAP-Announcement Support for XBMC * Copyright (c) 2008 elupus (<NAME>) * Copyright (C) 2008-2013 Team XBMC * http://xbmc.org * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software...
// Copyright 2009 Google Inc. All Rights Reserved. // <EMAIL> (<NAME>) // Implementation of class S2EdgeIndex, a fast lookup structure for edges in S2. // // An object of this class contains a set S of edges called the test edges. // For a query edge q, you want to compute a superset of all test edges th...
/*** Include ***/ /* for general */ #include <cstdint> #include <cstdlib> #include <cmath> #include <cstring> #include <string> #include <vector> #include <array> #include <algorithm> #include <chrono> #include <fstream> /* for OpenCV */ #include <opencv2/opencv.hpp> /* for My modules */ #include "co...
#include <iostream> #include "Memoria.h" Memoria::Memoria() { // Calcula los indices iniciales de cada espacio de memoria y su tamano total // GLOBAL start indexes globalStart = 0; globalInt = globalStart; globalFloat = globalInt + globalTypeSize; globalChar = globalFloat + globalTypeSize; ...
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build/build_config.h" #include "app/app_paths.h" #include "app/l10n_util.h" #if !defined(OS_MACOSX) #include "app/test/data/resource.h...
// Copyright (c) 2010 <NAME> // Copyright (c) 2009-2014 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "consensus/consensus.h" #include "merkleblock.h" #include "tin...
/******************************************************************************* Name: <NAME>, <NAME>, and <NAME> Date Created: 11-25-2015 Filename: bank.cpp Description: Bank server that services requests from the ATM. Compile using the following command: g++ -std=c++11 bank.cpp -lboost_system ...
/* * * Copyright (c) 2020 Project CHIP Authors * Copyright (c) 2019 Google LLC. * 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 * * h...
// // #include "DQM/TrackerCommon/interface/TriggerHelper.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "FWCore/Framework/interface/ESHandle.h" #include "CondFormats/HLTObjects/interface/AlCaRecoTriggerBits.h" #include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h" #include <strin...
/* \file EcalDCCTB07UnpackingModule.h * * \author <NAME> * \author <NAME> * \author <NAME> */ #include <EventFilter/EcalTBRawToDigi/interface/EcalDCC07UnpackingModule.h> #include <EventFilter/EcalTBRawToDigi/src/EcalTB07DaqFormatter.h> #include <EventFilter/EcalTBRawToDigi/src/EcalSupervisorDataFormatter.h> #i...
// Generated // -------------------------------------- names ---------------------------------------- extern const std::string FixBeginStringValue; constexpr const char * const FixBeginStringInsertableTag = "8=" "FIX.4.4"; constexpr const unsigned FixBeginStringInsertableTagLength = 9; extern const char * const Fi...
// 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 use,...
// // File: JStatus.cc // Created: Wed Dec 27 18:08:16 EST 2017 // Creator: davidl (on <NAME> 15.6.0 i386) // // ------ Last repository commit info ----- // [ Date ] // [ Author ] // [ Source ] // [ Revision ] // //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // ...
#include "DataFormats/GeometryVector/interface/GlobalPoint.h" #include "MagneticField/Engine/interface/MagneticField.h" #include "RecoPixelVertexing/PixelLowPtUtilities/interface/ThirdHitPrediction.h" #include "RecoPixelVertexing/PixelTrackFitting/interface/CircleFromThreePoints.h" #include "RecoTracker/TkMSParametriza...
/* -------------------------------------------------------------------------- * * File Ch3_SavingDataSQLite.cpp * Ported By <NAME> * Contact <EMAIL> * * Created By <NAME> * Contact <EMAIL> * * -----------------------------------------------------...
/** * wWidgets - Lightweight UI Toolkit. * Copyright (C) 2009-2011 <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * This code is distributed under the MIT License: * http://www.opensource.org/licenses/MIT */ #include "stdafx.h" #include "PropertyDrawContext.h" #inclu...
// Author(s): <NAME> // Copyright: see the accompanying file COPYING or copy at // https://github.com/mCRL2org/mCRL2/blob/master/COPYING // // 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) // /// \file pbessolvesy...
/****************************************************************************** * Copyright (c) 2015 <NAME> * * This code is based on the randomColor project, which is * Copyright (c) 2014 <NAME> * * This software is provided "AS IS", WITHOUT ANY WARRANTY, express or implied. ************************************...
/* * Copyright 2019 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...
#define _CRTDBG_MAP_ALLOC #include <stdio.h> #include <stdlib.h> #include <stack> #include <vector> #define CODE(code) #code #include "Project.h" #include "Compiler.h" #include "Expressions.h" #include <iostream> #include <string> #include <fstream> #include <streambuf> #include <math.h> #include <functional> #in...
/* ----------------------------------------------------------------------------- Software License for The Fraunhofer FDK AAC Codec Library for Android © Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. All rights reserved. 1. INTRODUCTION The Fraunhofer FDK AAC Codec Lib...
/* ---------------------------------------------------------------------------- * 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 * -----------...
#ifdef CH_LANG_CC /* * _______ __ * / ___/ / ___ __ _ / / ___ * / /__/ _ \/ _ \/ V \/ _ \/ _ \ * \___/_//_/\___/_/_/_/_.__/\___/ * Please refer to Copyright.txt, in Chombo's root directory. */ #endif // dtgraves fri aug 17, 2001 #include "EBPWLFineInterp.H" #include "EBInterp...
// Copyright 2018 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
#include "types.h" /* * --INFO-- * Address: ........ * Size: 00009C */ void _Error(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: ........ * Size: 0000F4 */ void _Print(char*, ...) { // UNUSED FUNCTION } /* * --INFO-- * Address: 801A1E10 * Size: 00009C */ void zen::bBoardColourAnimData::se...
// Copyright (c) 2018-2019 VMware, Inc. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // // Tests of the transaction signing and address recovery functions. #include "gtest/gtest.h" #include "utils/concord_eth_hash.hpp" #include "utils/concord_eth_sign.hpp" #include "utils/concord_utils.hpp" #include "ut...
#include <algorithm> #include <cstdint> #include <iostream> #include <memory> #include <system_error> #include <utility> #include <zimg++.hpp> #include "aligned_malloc.h" #include "argparse.h" #include "win32_bitmap.h" namespace { struct Arguments { const char *inpath; const char *outpath; unsigned out_w; unsig...
// RUN: llvm-avrlit %s %p/add.ll %p/and.ll %p/xor.ll %p/call.ll %p/div.ll %p/rem.ll #include <avrlit.h> using namespace avrlit; AVRLIT_TEST_SUITE(); //=== add.ll ================================================================== extern "C" { i8 add8_reg_reg(i8, i8); i8 add8_reg_imm(i8); i8 add8_reg_increme...
/* * GStreamer * Copyright (C) 2008-2009 <NAME> <<EMAIL>> * Copyright (C) 2014-2015 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the L...
/*********************************************************************** Moses - factored phrase-based language decoder Copyright (C) 2009 University of Edinburgh This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by t...
// // rare // // study rare variation // // Copyright 2017 <NAME> @ CSHL // #include <algorithm> #include <deque> #include <exception> #include <iostream> #include <queue> #include <set> #include <sstream> #include <string> #include <utility> #include <vector> #include "bridges.h" #include "error.h" #include "files.h...
// Copyright 2018 <NAME> #include <mpi.h> #include <vector> #include <string> #include <iostream> #include <random> #include <ctime> #include <algorithm> #include <utility> #include "../../../modules/task_2/chernyh_d_gaussian_method_tape_vertical/method_gauss.h" std::vector<double> getRandomMat(int count_row, int coun...
/* Copyright (c) 2002-2009 Tampere University. This file is part of TTA-Based Codesign Environment (TCE). 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, ...
/* * Test4_Anim.cpp * * This file is part of the "GeometronLib" project (Copyright (c) 2015 by <NAME>) * See "LICENSE.txt" for license information. */ #ifdef _WIN32 #define NOMINMAX #endif #include "TestHelper.h" #include <memory> #include <vector> #include <algorithm> // ----- MACROS ----- //#define ORTHO_PR...
/* Copyright (c) 2009-2010 <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: * Redistributions of source code must retain the above copyright notice, this list of conditions and the...
/*! \file * \brief Common operations on fields */ #pragma once #include <algorithm> #include <cmath> #include <optional> #include <string> #include <tuple> #include <type_traits> namespace reactions { /*! \brief Small structure to define fields without explicitely knowing its * type * * This class serve...
// -------------------------------------------------------------------------------- /// <summary> /// _7_cPlusPlusStandardLibrary.h /// </summary> /// <created>ʆϒʅ,07.07.2019</created> /// <changed>ʆϒʅ,13.10.2019</changed> // -------------------------------------------------------------------------------- #include "C...
#include <sys/stat.h> #include <termios.h> #include <time.h> #include <stdio.h> #include <getopt.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/time.h> #include <sys/types.h> #include <fcntl.h> #include <inttypes.h> #include <string> #include <errno.h> #include "node-comm.hh" #include "crc...
/* Copyright (c) 2008, <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: * Redistributions of source code must retain the above copyright notice, this list of conditions and the followin...
#include <iostream> #include <sys/time.h> #include <sys/types.h> #include <stdlib.h> #include <ncurses.h> #include <unistd.h> using namespace std; void swap(int &a, int &b){ int t=a; a = b; b = t; //swap(a, b); } int getrand(int min, int max) { return(min+rand()%(max-min+1)); } WINDOW *create_newwin(int height,...
/* ------------------------------------------------------------------------------- Copyright (C) 1999-2007 id Software, Inc. and contributors. For a list of contributors, see the accompanying CONTRIBUTORS file. This file is part of GtkRadiant. GtkRadiant is free software; you can redistribute it and/or m...
#include "lib.h" static uint32 jenkins_hash(uint32 a, uint32 b, uint32 c) { a = a - b; a = a - c; a = a ^ (c >> 13); b = b - c; b = b - a; b = b ^ (a << 8); c = c - a; c = c - b; c = c ^ (b >> 13); a = a - b; a = a - c; a = a ^ (c >> 12); b = b - c; b = b - a; b = b ^ (a << 16); c = c - a; c =...
#include "shape/polar_bezier.h" #include "common/common.h" PolarBezier2d::PolarBezier2d(const bool flip) : flip_(flip) {} const real PolarBezier2d::ComputeSignedDistanceAndGradients(const std::array<real, 2>& point, std::vector<real>& grad) const { // Determine the curve that covers point. const real ...
// // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
#include <cassert> #include <cmath> #include <cstdint> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <bitset> #include <complex> #include <deque> #include <functional> #include <iostream> #include <map> #include <numeric> #include <queue> #include <set> #include <sstream> #includ...
// // LevelSelectController.cpp // PlatformerDemo // // This is the most important class in this demo. This class manages the gameplay // for this demo. It also handles collision detection. There is not much to do for // collisions; our WorldController class takes care of all of that for us. This // controller...
/* OpenVR for PyMOL Copyright Notice ===================================== The OpenVR for PyMOL source code is copyrighted, but you can freely use and copy it as long as you don't change or remove any of the Copyright notices. OpenVR for PyMOL is made available under the following open-source license terms: ---------...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
// Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and // other Axom Project Developers. See the top-level LICENSE file for details. // // SPDX-License-Identifier: (BSD-3-Clause) #include "gtest/gtest.h" // _quest_allnear_include_start #include "axom/quest/AllNearestNeighbors.hpp" // _quest_allnear...
// jhcAliaCore.cpp : top-level coordinator of components in ALIA system // // Written by <NAME>, <EMAIL> // /////////////////////////////////////////////////////////////////////////// // // Copyright 2017-2020 IBM Corporation // Copyright 2020-2021 Etaoin Systems // // Licensed under the Apache License, Version 2.0 (th...
#include <algorithm> #include <array> #include <chrono> #include <iomanip> #include <functional> #include <numeric> #include <queue> #include <random> #include <string> #include <type_traits> #include <utility> #include <CL/sycl.hpp> #include <sycl/ext/intel/fpga_extensions.hpp> // dpc_common.hpp can be found in the ...
class AddItemModel : public Model { public: const string& slashing(string& str) { int g = 0; int l = str.size(); while(g < l) { if(str[g] == '\'') { str.replace(g, 1, "&#39;"); ...
#include <GL/glew.h> #ifdef __APPLE__ #include <OpenCL/cl.h> #include <OpenCL/cl_ext.h> #include <OpenCL/cl_gl.h> #include <OpenCL/cl_gl_ext.h> #include <OpenCL/opencl.h> #include <OpenGL/CGLContext.h> #include <OpenGL/OpenGL.h> #else #include <CL/cl.h> #include <CL/cl_gl.h> #include <CL/cl_gl_ext.h> #ifdef _WIN32 #in...
#include "ofApp.h" #include "vmCamera.h" #include "vmPlayer.h" #include "vmPicture.h" #include "vmChat.h" #include "vmAudio.h" //int preview::previewID = 65; //-------------------------------------------------------------- void ofApp::setup(){ ofSetFrameRate(60); ofSetEscapeQuitsApp(false); ofSetWindowTitle("V...
/****************************************************************************** * mis_log.cpp * * Copyright (C) 2015-2017 <NAME> <<EMAIL>> * Copyright (C) 2019 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files...
/** * Copyright (C) 2018-present MongoDB, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the Server Side Public License, version 1, * as published by MongoDB, Inc. * * This program is distributed in the hope that it will be useful, * but ...
/* Copyright (c) 2020, <NAME>, www.romanshuvalov.com 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...
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of th...
/** * Tencent is pleased to support the open source community by making DCache available. * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the BSD 3-Clause License (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of t...
#define _USE_MATH_DEFINES #include "bitmap_manager.hpp" using namespace std; #define PREWITT 0 #define SOBEL 1 #define T_UPPER 150 #define T_LOWER 50 /** * 画素値に対する角度を管理するクラス。Arctan周辺の処理で用いる */ class Angle{ int width; int height; int *data; public: /** * @fn 画像のサイズを保存し、画素に対応する領域を確保する * @...
//#include <torch/extension.h> #include <torch/torch.h> #include <vector> #include "meshing_occupancy_shared.h" static const float vertice_offsets[8][3] { {-0.5,-0.5,-0.5}, {-0.5,-0.5,0.5}, {-0.5,0.5,-0.5}, {-0.5,0.5,0.5}, {0.5,-0.5,-0.5}, {0.5,-0.5,0.5}, {0.5,0....
/*** Copyright 2014-2015 <NAME> Copyright 2014-2015 Surevine Ltd 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,...
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // Name : // Author : Avi // Revision : $Revision: #31 $ // // Copyright 2009- ECMWF. // This software is licensed under the terms of the Apache Licence version 2.0 // which can be obtained at http://www.apache.org/license...
/* * Copyright 2013 Google Inc. All Rights Reserved. * Copyright 2019 n-Track S.r.l. 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/l...
#include "gen_exp_ph.h" #include "gen_rg_base.h" #include "../ExprLib/startup.h" #include "../ExprLib/mod_vars.h" // Formalisms and such #include "../Formlsms/phase_hlm.h" #include "../Formlsms/rss_expl.h" #include "../Formlsms/proc_mclib.h" // Modules #include "../Modules/expl_states.h" // External libs #include "...
/****************************************************************************** * QUANTA - A toolkit for High Performance Data Sharing * Copyright (C) 2003 Electronic Visualization Laboratory, * University of Illinois at Chicago * * All rights reserved. * * Redistribution and use in source and binary forms, w...
/* * Simple parser/codegen for x86 semantics */ #include <algorithm> #include <array> #include <cctype> #include <cstdint> #include <memory> #include <string> #include <variant> #include <vector> #include <gsl.hpp> constexpr static std::array KEYWORDS = { "as", "il", "fn", "let", "return", "imp...
#include <iostream> #include <iomanip> #include <algorithm> #include <cmath> #include <fstream> #include <vector> #include <string> #include <massociate/associator.hpp> #include <massociate/associatorParameters.hpp> #include <massociate/mesh/spherical/points3d.hpp> #include <massociate/waveformIdentifier.hpp> #include ...
/* * Copyright (c) 2019-2020, University of Southampton and Contributors. * All rights reserved. * * SPDX-License-Identifier: Apache-2.0 */ #include "include/cm0-fused.h" #include "libs/make_unique.hpp" #include "mcu/Cm0Microcontroller.hpp" #include "mcu/cortex-m0/CortexM0Cpu.hpp" #include "ps/ConstantCurrentStat...
#define EPSILON_CLOSE_WITH_FWPDS 1 /*! * @author <NAME> */ #include "wali/Common.hpp" #include "wali/DefaultWorklist.hpp" #include "wali/wfa/WFA.hpp" #include "wali/wfa/State.hpp" #include "wali/wfa/TransFunctor.hpp" #include "wali/wfa/Trans.hpp" #include "wali/wfa/WeightMaker.hpp" #include "wali/regex/AllRegex.hpp...
/* * json_tests.cpp * sutils_tests * * Created by <NAME> on 2008/05/30. * Copyright 2015 <NAME>. All rights reserved. * * quick reference: * * TEST_ASSERT( condition ) * Assertions that a condition is true. * * TEST_ASSERT_EQUAL( expected, actual ) * Asserts that two values...
/*************************************************************************** QgsAbstractMetadataBase.cpp -------------------- begin : March 2018 copyright : (C) 2018 by <NAME> email : <EMAIL> ****************...
// Libraries #include<SFML/Graphics.hpp> #include<SFML/Audio.hpp> #include<iostream> #include<sstream> // Constants #define WIDTH 1366 #define HEIGHT 768 #define TITLE "Timber!!!" // Abreviations using namespace std; using namespace sf; // Functions void updateBranches(int seed); const int NUM_BRANCHES = 6; Sprite ...
// pyIdlak/vocoder/python-vocode-mlpg.cc // Copyright 2018 CereProc Ltd. (Authors: <NAME>) // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2...
//CSCI 5611 OpenGL Animation Tutorial //A 1D bouncing ball //Modified by <NAME> into a particle-based interactive water simulation //Running on Mac OSX // Download the SDL2 Framework from here: https://www.libsdl.org/download-2.0.php // Open the .dmg and move the file SDL2.Framework into the directory /Librar...
/* * Copyright 2011 <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 conditio...
#include "blockdevices.h" // POSIX #include <unistd.h> #include <arpa/inet.h> // STL #include <list> // PUT #include <put/cxxutils/posix_helpers.h> #include <put/specialized/osdetect.h> #include <put/specialized/mountpoints.h> #include <put/specialized/blockinfo.h> uint64_t device_read(posix::fd_t fd, posix::off_t...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <vector> #include <math.h> #include <SDL2/SDL.h> #include <SDL2/SDL_opengl.h> #include "Draw3D.h" #include "Solids.h" #include "fastmath.h" #include "Vec3.h" #include "Mat3.h" #include "quaternion.h" #include "raytrace.h" //#include "Body.h" #inclu...
#pragma once #include "Dragon.h" Dragon::Dragon(string rutaObj, Shader* shader, float xInit, float yInit, float zInit, float yRotInit) : MarioCraftModel() { /* cuerpo = this; cabeza = new MarioCraftModel(rutaObj + "/cabeza.obj", shader); colaParte1 = new MarioCraftModel(rutaObj + "/cola.obj", shader); ...
#include <cmath> #include <cstdio> #include <string> #include <../Quaternion.hpp> using namespace libQuaternion; inline bool test(const Quaternion & i_cQuat, float i_fW, float i_fX, float i_fY, float i_fZ) { const float fEpsilon = 1.0e-7; return std::fabs(i_cQuat.w() - i_fW) < fEpsilon && std::fabs(i_cQuat.x() - i...
/* Copyright (c) 2015 Convey Computer Corporation * * This file is part of the OpenHT memcached application. * * Use and distribution licensed under the BSD 3-clause license. * See the LICENSE file for the complete license text. */ #include "Ht.h" #include "PersCtl.h" void CPersCtl::PersCtl() { if (!RecvMsg...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include <array> #include <iostream> #include <map> #include <vector> #include <k4a/k4a.h> #include <k4abt.h> #include <BodyTrackingHelpers.h> #include <Utilities.h> #include <Window3dWrapper.h> void PrintUsage() { p...
#include "SceneTitle.h" #include "Input.h" #include "Render.h" #include "Textures.h" #include "Window.h" #include "SceneManager.h" #include "Font.h" #include "App.h" #include "SDL/include/SDL.h" #include "SDL_mixer/include/SDL_mixer.h" SceneTitle::SceneTitle(Window* win, SceneManager* sceneManager, AudioManager* aud...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <vector> #include <wayland-client.h> #include <wayland-server.h> #include <wayland-client-protocol.h> #include <wayland-egl.h> #include <EGL/egl.h> #include <GLES2/gl2.h> #include <qt5/QtWaylandClient/5.4.0/QtWaylandClient/private/wayland-windowmanager...
#include "Window.h" #include "GLFW/glfw3.h" #include <iostream> #include "Rendering/Renderer.h" #include "Game.h" #include <imgui/imgui.h> #include "Artwork/Camera.h" #include <imgui/imgui_impl_opengl3.h> #include <imgui/imgui_impl_glfw.h> #include "Rendering/Texture.h" #include <imgui/TextEditor.h> #include "Input/In...
// // IRGen+Decl.cpp // yo // // Created by <NAME> on 2020-03-06. // Copyright © 2019 <NAME>. All rights reserved. // #include "IRGen.h" #include "Mangling.h" #include "lex/Diagnostics.h" #include "util_llvm.h" #include "util/VectorUtils.h" #include "util/MapUtils.h" #include "util/llvm_casting.h" using namespac...
// Modified from // https://github.com/facebookresearch/detectron2/tree/master/detectron2/layers/csrc/ROIAlign // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved #include <ATen/ATen.h> #include <ATen/TensorUtils.h> #include "pytorch_cpp_helper.hpp" #include "pytorch_device_registry.hpp" // implem...
//===------ UnixToolChains.cpp - Job invocations (non-Darwin Unix) --------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
// ======================================================================== // // Copyright 2021 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/lic...