text
stringlengths
8.71k
38.4k
#include "ForcesCalculator.h" ForcesCalculator::ForcesCalculator() : m(0), pbc(false), bending(false), dl(1, false) {} ForcesCalculator::ForcesCalculator(int m_, bool pbc_, bool bend) : m(m_), pbc(pbc_), bending(bend), dl(m_, pbc_) { } ForcesCalculator::ForcesCalculator(const ForcesCalculator& orig) : m(orig.m), pbc...
#include <omp.h> #include "Cloth.h" #include <ctime> #include <vector> #include <iostream> Cloth::Cloth(unsigned int nNodes, float nodeMass, float shearStretchK, float bendK, float timeStep) { this->nodeMass = nodeMass; this->timeStep = timeStep; snodeCount = nNodes; nodeCount = nNodes * nNod...
int Ej //KMR , lP, lD , //c8 bw,b2JSS, Jo , W , vy ,ZhjNT ,WTlD,J , //k d7,WY3 , ee , aEx , //2kr Oh/*sm8D*/, LMvR ,ut ,yW, Em, qbg ,//Zg /*VWd*/HH, gW/*HKq*/ , rH ,Un ,Ti , mW, hbQr , aY , Tp2 , mdt,Xs73,/*R*/ lU , sMZ ,hpVK , vOt, WaoD/**/ ,Pwp,Bg, Jh5V , ii, cL,/*z8*/ L5Ehd, YBm...
//===- unittests/support/test_utf.cpp -------------------------------------===// //* _ __ * //* _ _| |_ / _| * //* | | | | __| |_ * //* | |_| | |_| _| * //* \__,_|\__|_| * //* * //===----------------------------------------------------------------------===// // // Part of the pstore p...
#include "ncx_slab.h" #include <unistd.h> #include <pthread.h> #include <assert.h> #include <malloc.h> #include <stdlib.h> #include <execinfo.h> #define PTHREAD_MUTEXATTR_FLAG_PSHARED (0x80000000) // int #define NCX_SLAB_PAGE_MASK 3 #define NCX_SLAB_PAGE 0 #define NCX_SLAB_BIG 1 #define NCX_SLAB...
/* Operators Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: <NAME> (<EMAIL>) */ #include <cstdlib> #include <cmath> #inc...
/** @file A brief file description @section license License 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 und...
//===-- LanaiInstrInfo.cpp - Lanai Instruction 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 // //===---------------------------...
//---------------------------------------------------- // file: Texture.cpp //---------------------------------------------------- #include "Pch.h" #pragma hdrstop #include "Log.h" #include "Texture.h" #include "FileSystem.h" #include "ui_main.h" #include "ffileops.h" #include "d3dx.h" //----------------...
#include "LineSegmentation.hpp" LineSegmentation::LineSegmentation() { sieve(); }; void LineSegmentation::segment(Mat &input, vector<Mat> &output, int chunksNumber, int chunksProcess) { this->binaryImg = input.clone(); this->chunksNumber = chunksNumber; this->chunksToProcess = chunksProcess; getC...
#include "GBase.h" #include <stdarg.h> #include <ctype.h> #include <sys/stat.h> #ifndef S_ISDIR #define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) #endif #ifndef S_ISREG #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG) #endif /* #ifdef _DEFINE_WIN32_FSEEKO int fseeko(FILE *stream, off_t offset, int whence) ...
/** * @file sph-main-mpi.cpp * @date 10.04.2018 * @author seckler */ #include <mpi.h> #include <array> #include <cmath> #include <iostream> #include "autopas/AutoPas.h" #include "autopas/sph/autopassph.h" typedef autopas::AutoPas<autopas::sph::SPHParticle, autopas::FullParticleCell<autopas::sph::SPHParticle>> ...
/* Copyright 1994, 1995, 1996 by Abacus Research and * Development, Inc. All rights reserved. */ #include "x.h" #include <base/common.h> #include <QuickDraw.h> #include <ScrapMgr.h> #include <OSUtil.h> #include <vdriver/dirtyrect.h> #include <rsys/keyboard.h> #include <assert.h> #include <unistd.h> #include <std...
int JD1D ,eOD, o , F1O ,lo8h , yUaA , B , B2 ,ux ,AGb ,t1 , HIrJ , vo7DO,Nibd , re5,Gy , tig , jG, jML , Ran4PI , eeBY, X , r , Kb, xE , g, oAS8,xLE ,Hsn,ap ,E27SA /*Lo*/, ButL//luj , ykIux/*Gt*/ , EnA, Vsn, wpP,//uOQ SCf/*KmZ*/,llrY , mEp , OPv72 , /*f*/wxCt, fVsJ , FYt , //yHNR z7p...
//===- LoopSpecialization.cpp - scf.parallel/SCR.for specialization -------===// // // 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 // //===---------------------------...
//===--- CGStmtOpenMP.cpp - Emit LLVM Code from Statements ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* Copyright © 2014-2015 by The qTox Project Contributors This file is part of qTox, a Qt-based graphical interface for Tox. qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either versi...
// including standard math library #include <math.h> #include <limits> #include <stdexcept> // header include #include "alignment.h" extern "C" void cow_align(double* v, int v_len, int* v_segments, int v_segs_len, double* ref, int ref_len, int* ref_segments, int ref_segs_len, int slack, double* result) { std::vec...
#include "qtffmpeg.h" #define IsNull(item) (NULL==(item)) #define NotNull(item) (NULL!=(item)) #define nDropOut(Condition) if (Condition) return #define nKickOut(Condition,Result) if (Condition) return (Result) #define nGreater(A,B) ((A)>(B)) #define nLess(...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
#include <program/Program.h> #include <common/net/message/session/rw/WriteLocalFileRespMsg.h> #include <common/toolkit/MessagingTk.h> #include <common/toolkit/SessionTk.h> #include <common/toolkit/StorageTk.h> #include <net/msghelpers/MsgHelperIO.h> #include <storage/StorageTargets.h> #include <toolkit/StorageTkEx.h> #...
/** BSD-3-Clause Copyright 2019 Alliance for Sustainable Energy, LLC 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...
/*************************************************************************************************************************** * landpad_det.cpp * Author: Jario * Update Time: 2020.1.12 * * 说明: 降落目标识别程序,降落板的尺寸为60cmX60cm * 1. 【订阅】图像话题 (默认来自web_cam) * /prometheus/camera/rgb/image_raw * 2. 【发布】目标位置...
#include "../../include/Pass/convert_ssa.h" #include "../../include/Pass/ir_liveness_analysis.h" #include "../../include/ssa.h" #include "../../include/ssa_struct.h" #define ASSERT_ENABLE // enable assert for this file. #include <deque> #include "../../include/myassert.h" // #define DEBUG_CONVERT_SSA_PROC...
#include <stdlib.h> #include <stdio.h> #include <time.h> #include <math.h> #include <test_util.h> #include <dslash_util.h> #include <blas_reference.h> #include <staggered_dslash_reference.h> #include <quda.h> #include <string.h> #include <face_quda.h> #include "misc.h" #include <gauge_field.h> #include <blas_quda.h> ...
/* Nexus Copyright(C) 2012 - <NAME> ISTI - Italian National Research Council - Visual Computing Lab 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 Foundation; either version 2 of the License, or (at your optio...
// Copyright (c) 2019 London Trust Media Incorporated // // This file is part of the Private Internet Access Desktop Client. // // The Private Internet Access Desktop Client 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 Softwa...
int LqSGam7O ,oJV , k ,BD,Pm ,xk,VJACG , sN52, qCm , Fjj , ReUi , n6P/*y*/ ,Eb, rlI, ZmrVs , JxE ,VQq//f , Fj029M7, //D scfF ,kO, c85J ,YP7, laE , FmXy/*pDK*/ , Rp7uj //MS4 , Z3M, b4/*TS*/, iewe ,l5o , O8QJ , YJOK,FTCt//AMI ,Q9,/*b7u*/c7hY , FGcwlpk//KS , PYm ,z , Tsm , E, BJ , P...
/* Copyright (c) 2018 <NAME>. All Rights Reserved. * * You may use, distribute and modify the code in this file under the terms of the MIT Open Source license, however * if this file is included as part of a larger project, the project as a whole may be distributed under a different * license. * * MIT license: *...
#include "jatekrekord.h" #include "kijelzo.hpp" #include "tabla.hpp" #include "lua.hpp" #include <thread> static OBJ *tabla; static OBJ *kijelzo; int gethanyadikfromid(Rekord &rekord,int id) { for (int i = 0; i < rekord.palya.size(); ++i) { if (id==rekord.palya[i]->id) return i; } return -1; } bool szomszede(...
#include "litejit/LiteJIT.h" #include <algorithm> #include <functional> #include <utility> #include <vector> #include <assert.h> #include <dlfcn.h> #include <elf.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/types.h> #include <sys/wait.h> #include ...
#include "redactor/plugin_std/plugin_std.hpp" #include "abstract_widget.h" #include "utils.h" #include <cstdlib> #include <ctime> #include <cmath> #ifndef isnan #define isnan(x) !(x == x) #endif #include <functional> #include <vector> // ============================================================================ ...
// Local Headers #include "loglengine.hpp" #include "Shader.hpp" #include "Scene.h" #include "MatrixStack.h" #include "Noise/OpenSimplexNoise.hpp" #include "MarchingCubes.h" #include "Transvoxel.h" #include "Isovalues.h" // System Headers #include <glad/glad.h> #include <GLFW/glfw3.h> // Standard Headers #include <cs...
//////////////////////////////////////////////////////////////////////// // // File: LinePrinter.cpp // Function: Printing a bunch of lines to a printer // // _____ _ _ _ ______ _ // / ____| | | (_) | ____| ...
// -*-Mode: C++;-*- // * BeginRiceCopyright ***************************************************** // // $HeadURL$ // $Id$ // // -------------------------------------------------------------------------- // Part of HPCToolkit (hpctoolkit.org) // // Information about sources of support for research and development of //...
int// uEZP,iYG,CT9,/**/ xVQ,ncXT ,// W/*mY*/, P, FwU, V0T2 , /*Nzke*/CFr, J4 , eGH ,xaF ,OAb,wkX8 ,f ,j3,YIq , wMNrw, R9fwy,K8 ,// XZ , jrGw, qm , //cD jKF, Kt2X,/*tI*/FCKJ//xLWb , RNP, FJ ,zpF, gwy , s3ur , oBM5, OzMel//B ,tdp3 ,c5BZ , R, eQ4,T ,pkzl , jVJT ,Ot/*1*/ , b8m ,/*eQ*/ qA, lJKR...
/************* TabTbl C++ Program Source Code File (.CPP) **************/ /* PROGRAM NAME: TABTBL */ /* ------------- */ /* Version 1.8 */ /* ...
#include <Arduino.h> #include <LilyGoWatch.h> //#include "SIMPLE_BUTTON.c" TTGOClass *ttgo; // Pointeurs vers les ressources LVGL : images et fontes LV_IMG_DECLARE(bg1); LV_IMG_DECLARE(menu); LV_IMG_DECLARE(simple_button); LV_IMG_DECLARE(list_ico); LV_IMG_DECLARE(switch_ico); LV_IMG_DECLARE(spinbox_ico); LV_IMG_DECLAR...
/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
#include "toaplan.h" // Knuckle Bash static unsigned char DrvButton[8] = {0, 0, 0, 0, 0, 0, 0, 0}; static unsigned char DrvJoy1[8] = {0, 0, 0, 0, 0, 0, 0, 0}; static unsigned char DrvJoy2[8] = {0, 0, 0, 0, 0, 0, 0, 0}; static unsigned char DrvInput[6] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; static unsigned ch...
#include <obs-module.h> #include <media-io/video-scaler.h> #define WITH_CUDA #if defined(__APPLE__) #include <onnxruntime/core/session/onnxruntime_cxx_api.h> #include <onnxruntime/core/providers/cpu/cpu_provider_factory.h> #else #include <onnxruntime_cxx_api.h> #include <cpu_provider_factory.h> #endif #ifdef _WIN32 #if...
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid commerc...
// // author: <NAME> // #include <3esconnection.h> #include <3esconnectionmonitor.h> #include <3escoordinateframe.h> #include <3esfeature.h> #include <3esserver.h> #include <shapes/3esshapes.h> #define TES_ENABLE #include <3esservermacros.h> #include <3estimer.h> #include <3esvector3.h> #include <shapes/3espointclou...
#include "core.h" #include "mathcore.h" // (for Min() in array.h) #include "eldritchnav.h" #include "eldritchframework.h" #include "wbcomponentarrays.h" #include "Components/wbcompeldcollision.h" #include "Components/wbcompelddoor.h" #include "aabb.h" #include "mathcore.h" #include "segment.h" #include "collisioninfo....
// // Created by ZHI on 5/23/2018. // #include "ENERGY_FORCE.h" using namespace std; using ns = chrono::nanoseconds; using get_time = chrono::steady_clock ; CONSTANT EF_const; REFERENCE EF_Ref; void ENERGY_FORCE::GroupfromGraph(int groupSi[][4], int groupO[][2], long double Graph[][128]) { //g...
//Author: <NAME> <EMAIL> #include "Melopero_LSM9DS1.h" //Creates the object representing the device. To actually use the device //you have to call useSPI(gyropin, magpin) or useI2C() to set the communication //protocol that you want to use. Melopero_LSM9DS1::Melopero_LSM9DS1(){ this->gyroScale = GyroscopeRange::A...
/// \file BaseBoard.cpp /// \brief Code for the base chessboard CBaseBoard. // MIT License // // Copyright (c) 2019 <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 restr...
/******************************Module*Header***********************************\ * * ******************* * * GDI SAMPLE CODE * * ******************* * * Module Name: drvexts.cxx * * Contains all the driver debugger extension f...
/* * * * * * AzsSvrg.cpp * Copyright (C) 2013 <NAME> * * 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 Foundation, either version 3 of the License, or * (at your option) any later version. * ...
#include "TheTruth.h" #include "logger.h" #include "GW2.h" #include "imgui/imgui.h" #include "string_format.hpp" #include <algorithm> #include "api_key.h" #include "Widgets.h" std::unique_ptr<TheTruth> TheTruth::theTruth; bool TheTruth::crashed = false; TheTruth::TheTruth() { string key = GOOGLE_API_KEY; sheetsAP...
//===- Tokens.cpp - collect tokens from preprocessing ---------------------===// // // 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 // //===---------------------------...
#pragma once namespace detail { // Useful constants in vector registers const __m256d arb_m256d_zero = _mm256_set1_pd(0.0); const __m256d arb_m256d_one = _mm256_set1_pd(1.0); const __m256d arb_m256d_two = _mm256_set1_pd(2.0); const __m256d arb_m256d_nan = _mm256_set1_pd(std::numeric_limits<doubl...
#include "CalibTracker/SiStripCommon/interface/TkDetMap.h" #include "DQM/SiStripCommon/interface/SiStripFolderOrganizer.h" #include "DQM/SiStripCommon/interface/TkHistoMap.h" #include "DQM/SiStripMonitorClient/interface/SiStripUtility.h" #include "DQM/SiStripMonitorClient/interface/SiStripConfigParser.h" #include "DQMS...
/* recipes.cpp MagOD2 libary <NAME>, <NAME> Loads recipe from SD card, performs checks, translates to global variables Jan 2021 : Corrected for number sequences exceeding maximum. */ #include "recipes.h" #define MAXPARSTRINGS 10 // Size of array that holds parameter names #define MAX_LENGTH 80 //Construc...
/*************************************************************************** * NmapOps.cc -- The NmapOps class contains global options, mostly based * * on user-provided command-line settings. * * * **********...
#define PUT(x) std::cout << #x "=" << x << std::endl; #define CYBOZU_TEST_DISABLE_AUTO_RUN #include <cybozu/benchmark.hpp> cybozu::CpuClock clk; #include <cybozu/test.hpp> #include <mcl/bn256.hpp> #include <cybozu/option.hpp> #include <cybozu/xorshift.hpp> #if defined(__EMSCRIPTEN__) && !defined(MCL_AVOID_EXCEPTION_TE...
// // Created by bkg2k on 11/10/2019. // #include <Renderer.h> #include <utils/Strings.h> #include <input/InputCompactEvent.h> #include <help/Help.h> #include <utils/locale/LocaleHelper.h> #include "GuiArcadeVirtualKeyboard.h" #include "utils/Log.h" const wchar_t* const GuiArcadeVirtualKeyboard::sWheels[sWheelCount] ...
// TnzFarm includes #include "tfarmcontroller.h" // TnzLib includes #include "toonz/txshleveltypes.h" #include "toonz/tpalettehandle.h" #include "toonz/tscenehandle.h" #include "toonz/txshlevelhandle.h" #include "toonz/sceneproperties.h" #include "toonz/levelproperties.h" #include "toonz/levelupdater.h" #include "to...
#include "../dep/laynii_lib.h" int show_help(void){ printf( "LN_LAYER_SMOOTH : Layering algorithm based on iterative smoothing\n" "\n" " This program is designed to smooth data within layer or columns,\n" " In order to avoid smoothing across masks a crawler smoothed only across connected voxe...
// // AvatarMixerSlave.cpp // assignment-client/src/avatar // // Created by <NAME> on 2/14/2017. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "AvatarMixerSlave.h" ...
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBitmap.h" #include "SkRect.h" #include "SkTemplates.h" #include "Test.h" static const char* boolStr(bool value) { return value ? "true" : "false"; } // these...
#include "region_file.h" #include "../../streams/voxel_block_serializer.h" #include "../../util/macros.h" #include "../../util/profiling.h" #include "../file_utils.h" #include <core/os/file_access.h> #include <algorithm> namespace { const uint8_t FORMAT_VERSION = 3; // Version 2 is like 3, but does not include any fo...
// // 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 following disclaimer. // * Redistributions in bin...
// // fusiontree.cpp // Fusion Tree // // Created by <NAME> on 1/23/18. // #include "fusiontree.hpp" #include <algorithm> #include <cmath> #include <iostream> // environment constructor // also initializes the tricks of the environment environment::environment(int word_size_, int element_size_, int capacity_) ...
// Copyright (c) 2010-2012 CIYAM Pty. Ltd. ACN 093 704 539 // Copyright (c) 2012-2022 CIYAM Developers // // Distributed under the MIT/X11 software license, please refer to the file license.txt // in the root project directory or http://www.opensource.org/licenses/mit-license.php. #ifdef PRECOMPILE_H # include "preco...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <iterator> #include <memory> #include <string> #include <vector> #include <opencv2/opencv.hpp> #include <iostream> #include <inference_engine.hpp> using namespace InferenceEngine; /** * @brief Define names based depends ...
// Scintilla source code edit control /** @file LexBash.cxx ** Lexer for Bash. **/ // Copyright 2004-2005 by <NAME> <<EMAIL>> // Adapted from LexPerl by <NAME> <<EMAIL>> 2004 // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #includ...
/*------------------------------------------------------------------------------ CGMF-1.1 Copyright TRIAD/LANL/DOE - see file LICENSE For any questions about CGMF, please contact us at <EMAIL> -------------------------------------------------------------------------------*/ // // cgmf.cpp // #include <iostream...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "betting_abstraction.h" #include "betting_tree.h" #include "betting_tree_builder.h" #include "constants.h" #include "game.h" // #include "pool.h" #include "split.h" #if 0 // Produces the new possible pot sizes. Assumes any size bet...
// (C) Copyright 2006-2009 Hewlett-Packard Development Company, L.P. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR C...
// Copyright (c) 2009, Whispersoft s.r.l. // 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 cond...
/* Copyright (c) 2015-2018 <NAME> 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, including commercial applications, and ...
// Torsion TorqueScript IDE - Copyright (C) <NAME>, LLC // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. #include "PreCompiled.h" #include "AutoCompThread.h" #include "TorsionApp.h" #include "AutoComp.h" #include "AutoCompExports.h" #incl...
////////////////////////////////////////////////////////////////////////////// // // BrickBSE Demo - SeeBeex Soft 2008-2011 // // This very simple demo is a mini game, a clone of the classic Bricks/Arkanoid // It's not a complete game. The purpose is just to show some of the physics // capability ...
/** * Copyright (c) 2015, Akamai Technologies * 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 lis...
// Unit test of the class SPointArray. #include "LibCMatrix.hpp" void Test_Bipartition(const SPointArray &X, const INTEGER *start, const INTEGER *idx, const double *val, const char *FuncName, INTEGER istart, INTEGER n, const INTEGER *perm, const DPoint...
#include <algorithm> #include "edit_mask.h" #include "util.h" #include "animation_util.h" #include "drag_and_drop.h" #include "rendering/ui/widgets/util.h" #include "log.h" int Rendering::EditMask::instance_number = 0; void Rendering::EditMask::unload_mask() { if (mask_collection_ != nullptr) { BM_DE...
#include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/opencv.hpp> #include <string> #include <stdio.h> #include <thread> #include <chrono> #include <vector> #include <fstream> #include <sys/ioctl.h> #include <linux/videodev2.h> #include <unistd.h> #include <libv4l2.h> #include...
/* Copyright (c) 2016 Doobie (<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, merge, publish, dist...
/* Copyright 2014-2018 Rsyn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
#include "localmap.hpp" #include <OgreMaterialManager.h> #include <OgreHardwarePixelBuffer.h> #include <OgreSceneManager.h> #include <OgreSceneNode.h> #include <OgreCamera.h> #include <OgreTextureManager.h> #include <OgreRenderTexture.h> #include <OgreViewport.h> #include <components/esm/fogstate.hpp> #include "../m...
/*############################################################################ # Copyright (C) 2020 Intel Corporation # # SPDX-License-Identifier: MIT ############################################################################*/ #include "src/cpu_vpp.h" #include <algorithm> #include <string> #include <utility...
#define _LIBCPP_NO_EXPERIMENTAL_DEPRECATION_WARNING_FILESYSTEM #include <cstdint> #include <curl/curl.h> #include <experimental/filesystem> #include <iostream> #include <map> #include <stdexcept> #include <sys/stat.h> #include <sys/types.h> #include "../etymoncpp/include/curl.h" #include "addcolumns.h" #include "drop...
// Copyright (c) 2019 <NAME> <EMAIL> // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #ifdef TWO_MODULES module; #include <mikktspace.h> #include <infra/Cpp20.h> module TWO(geom); #else #...
/** * @file perception_interface.h * @brief Interface for sbpl perception * @author <NAME> * Carnegie Mellon University, 2014 */ #include <object_recognition_node/perception_interface.h> #include <eigen_conversions/eigen_msg.h> #include <perception_utils/perception_utils.h> #include <pcl/conversions.h> #includ...
//Assignment 3 : Vowel Recognition //Roll No: 214101011 #include<stdlib.h> #include<stdio.h> #include<ctype.h> #include<string.h> #include<math.h> #pragma warning(disable:4996) #define p 12 #define N 320 static double norm_data[50000]; int skip_line(FILE *fp) // function to skip lines, i.e move cursor t...
/* * Copyright 1993-2009 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. * * This software and the information contained herein is PROPRIETARY and * CONFIDENTIAL to NVIDIA and is being provided under ...
// Copyright (c) 2014 <NAME>. See License.txt regarding use. #include <oConcurrency/backoff.h> #include <oCore/filesystem.h> #include <oCore/reporting.h> #include <oString/string_source.h> #include <oGUI/msgbox.h> #include <oGUI/msgbox_reporting.h> #include <oGUI/Windows/win_gdi_bitmap.h> #include <oGUI/menu.h>...
#include "engine.hpp" #include <nlohmann/json.hpp> #include <utility> #include <imgui.h> #include "scene.hpp" #include "console.hpp" #include "log.hpp" #include "asset.hpp" #include "json_conversions.hpp" #include "app.hpp" #include "assertions.hpp" #include "renderer.hpp" #include "gfx.hpp" #include "imgui_backend.h...
#include "openflow.h" #include <arpa/inet.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <cstdio> #include <set> #include "beacon.h" #include "event.h" #include "god.h" #include "graph.h" std::map<uint64_t, Client *> client_table; enum ofp_type { OFPT_HELLO = 0, OFPT_ERROR = 1, OF...
///////////////////////////////////////////////////////////////////////////// // Purpose: Initialize NodeCreator class // Author: <NAME> // Copyright: Copyright (c) 2020-2021 KeyWorks Software (<NAME>) // License: Apache License -- see ../../LICENSE ///////////////////////////////////////////////////////////////...
int iFe6 , T, c, aOgj, cln , L0J , qKs, xSZH , /*Aa8*/nD6W//p ,w2yv2,//Y L , becK, WB /*HS*/,Z//68 ,/*Yj3*/ dLo , /*HV*/ Ik9, VlGhq, pp,//AN Mw ,MJ/*YoY*/ , hi , PB2 ,up,rMoD , R ,nY8jl , Dq,KLBU , b3 , HIVoW , Vrdq , ZD,TMN// , dG , nM , //SsS7 rMak , eDRR,Wc,WZ , chcI ; void f_f0 (){ {//h...
//////////////////////////////////////////////////////////////////////// // // Harvard University // CS175 : Computer Graphics // Professor <NAME> // //////////////////////////////////////////////////////////////////////// #include <vector> #include <string> #include <memory> #include <stdexcept> #if __GNUG__ # ...
#include "ide.h" #define KEYGROUPNAME "Ide" #define KEYNAMESPACE IdeKeys #define KEYFILE <ide/ide.key> #include <CtrlLib/key_source.h> using namespace IdeKeys; void Ide::PackageMenu(Bar& menu) { Project(menu); } void Ide::FileBookmark(Bar& menu) { int i; for(i = 0; i < 10; i++) { const Bookmar...
/* * Copyright <NAME> 2013. * * 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) */ vec2_t<value_type> xx() const { return { x, x }; } vec3_t<value_type> xxx() const { return { x, x, x }; } vec4_t xxxx() const...
/* see copyright notice in trex.h */ #include "stdafx.hpp" #include <string.h> #include <stdlib.h> #include <ctype.h> #include <setjmp.h> #include "trex.hpp" //#ifdef _UINCODE //#define scisprint iswprint //#define scstrlen wcslen //#define scprintf wprintf //#define _SC(x) L(x) //#else #define scisprint isprint #de...
extern "C" { #include <user_interface.h> } #include <painlessMesh.h> #include <cstdint> #include "../lib/structures.h" #include "../lib/sniffing.h" // Define these youself to customize the mesh mode operations uint16_t channel = 6; uint32_t meshCommInterval = 20000; //ms uint32_t sniffInterval = 9000; //ms uint32_t...
/* ==================================================================== * The Vovida Software License, Version 1.0 * * Copyright (c) 2000-2003 Vovida Networks, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
#include "DistanceTransforms.hpp" // THIS IS USED in DT function // for the z-dominant edge distance version, scan double f(int_type_t x, int_type_t i, double* g){ return pow((double(x) - double(i)), 2) + pow(g[i], 2); //return pow((double(x) - double(i)), 2) + pow(g[line[i]], 2); } // THIS is used in the DT fun...