text
stringlengths
5.71k
33.7k
#include "GridGraphBuilder.h" #include "db/Database.h" void GridGraphBuilder::run() { // 1. Give each grid point an index for (auto &gridBox : localNet.gridRouteGuides) { int begin = intervals.empty() ? 0 : intervals.back().second; int end = begin + (gridBox.trackRange.range() + 1) * (gridBox.c...
/* * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
#include "filter.h" #include <x86intrin.h> #include "timer.h" #include <iostream> inline __m128 _mm_sel_ps(const __m128& a, const __m128& b, const __m128& mask) { // (((b ^ a) & mask)^a) return _mm_xor_ps( a, _mm_and_ps( mask, _mm_xor_ps( b, a ) ) ); } #define _MM_TRANSPOSE8_PS(row0, row1, row2, row3, row4, r...
#include "mps_voxels/SensorHistorian.h" #include "mps_voxels/segmentation_utils.h" #include "mps_voxels/Ultrametric.h" #include "mps_voxels/SceneCut.h" #include "mps_voxels/MCMCTreeCut.h" #include "mps_voxels/SegmentationTreeSampler.h" #include "mps_voxels/JaccardMatch.h" #include "mps_voxels/ValueTree_impl.hpp" #inclu...
////////////////////////////////////////////////////////////////////////////////////// // BallTreeClass -- class definitions for a BallTree (actually KD-tree) // object, primarily for use in matlab MEX files. // // See BallTree.h for the class definition. // /////////////////////////////////...
#include <cfloat> #include <iostream> #include <sstream> #include <chrono> #include <math.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <time.h> #include <omp.h> using namespace std; #ifdef SINGLE_PRECISION #define T float #define EPISON 1e-4 #else #define T double #define EPISON 1e-6 #end...
/* * Copyright (c) 2017-2021, Alibaba Group Holding Limited * 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 applica...
/* * tinyTest.cpp * BEAGLE * * Created by <NAME> on 20/03/2009. * */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <iostream> #ifdef _WIN32 #include <vector> #endif #include "libhmsbeagle/beagle.h" char *human = (char*)"AGAAATATGTCTGATAAAAGAGTTACTTTGATAGAGTAAATAATAGGAGCTTAAACCCCCTTATT...
// SPDX-License-Identifier: BSD-3-Clause #include <cstdlib> #include <string> #include <iostream> #include <ios> #include <iomanip> #include <array> #include <vector> #include <stdexcept> #include <getopt.h> #include "logging.h" #include "util.h" #include "common.h" #include "p18/client.h" #include "p18/types.h" #inc...
/* * alsz-ot-ext-snd.cpp * * Created on: Mar 23, 2015 * Author: mzohner */ #include "alsz-ot-ext-snd.h" BOOL ALSZOTExtSnd::sender_routine(uint32_t id, uint64_t myNumOTs) { uint64_t myStartPos = id * myNumOTs; uint64_t wd_size_bits = m_nBlockSizeBits; uint64_t processedOTBlocks = min((uint64_t) NUMOTBLO...
/* * 게임명: 퍼즐게임 * 작성자: 중앙대학교 수학과 20153797 성명현 * 작성일: 2020-09-18~2020-09-20 * 업데이트 현황: version1.0 : 한 개의 퍼즐에 관한 게임 * -추후 버젼을 2.0으로 업데이트 하기 위한 준비 코드 주석처리 * -2.0 버젼에서는 3개의 퍼즐 모양 제공 */ #include <bangtal.h> #include <iostream> #include <ctime> #include <Windows.h> using namespace bangtal; typedef struct puzzlnfo...
/** * 3mm.c: This file is part of the PolyBench/GPU 1.0 test suite. * * * Contact: <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU */ #include <cassert> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/time.h> #include <math....
/* * The purpose of this program is to run inference on several model. The * inference is done N number of times (provided as argument). Each time, cpu * load is analyzed and a model with best accuracy-runtime characteristics * is selected. The selected model serves as best runtime use-case.This program * spawn a...
/* * H.26L/H.264/AVC/JVT/14496-10/... parser * Copyright (c) 2003 <NAME> <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg 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 2...
/**************************************************************************** * Authors: * <NAME> (<EMAIL>) ****************************************************************************/ #include "FWCore/Framework/interface/stream/EDProducer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Parameter...
/** * @file gpio_te.cc * @copyright (c) 2018, natersoz. Distributed under the Apache 2.0 license. */ #include "gpio_te.h" #include "logger.h" #include "nrf_cmsis.h" #include "arm_utilities.h" #include "project_assert.h" #include <iterator> #include <cstddef> enum gpio_te_mode_t { gpio_to_mode_disable =...
// 3D intersection tests. // We want to check that no division is performed for interface macro Do_intersect_3_RT #define CGAL_NO_MPZF_DIVISION_OPERATOR // Plane_3_X with X < Plane (lexicographically) are tested in other files #include <CGAL/Intersections_3/Plane_3_Plane_3.h> #include <CGAL/Intersections_3/Plane_3_P...
/*! * \file nonlinear_models.cpp * \brief Definition of nonlinear constitutive models. * \author <NAME> * \version 7.0.6 "Blackbird" * * SU2 Project Website: https://su2code.github.io * * The SU2 Project is maintained by the SU2 Foundation * (http://su2foundation.org) * * Copyright 2012-2020, SU2 Contributor...
// mod_complex_mul.cpp: test suite runner for arbitrary configuration fixed-point complex multiplication // // Copyright (C) 2017-2021 Stillwater Supercomputing, Inc. // // This file is part of the universal numbers project, which is released under an MIT Open Source license. #include <universal/utility/directives.hpp>...
/* This file is part of eRCaGuy_hello_world: https://github.com/ElectricRCAircraftGuy/eRCaGuy_hello_world <NAME> 26 Sept. 2020 template_func.cpp - See the readme in this folder for a description. - See also: my code here: [function_overloading_on_input_param_array_size](https://onlinegdb.com/Sk3bw8aHD) To compile...
#include "codegen_tbb.hpp" #include <iostream> #include "assert.h" using namespace std; using namespace pluto_codegen_cxx; void CodeGenTbb::pprint_for_loop_preamble( struct clast_for* f, int indent ) { if ((f->parallel & CLAST_PARALLEL_OMP) && !(f->parallel & CLAST_PARALLEL_MPI)) { if ( f->reduction_vars )...
//misaka will carry me to master #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #include <utility> #include <cassert> #include <algorithm> #include <vector> #include <functional> #include <numeric> #include <set> #include <map> #define ll long long #define lb long double #define sz(vec) ((i...
/* * SiS 190/191 NIC Driver. * Copyright (c) 2009 S.Zharski <<EMAIL>> * Distributed under the terms of the MIT license. * */ #include "MIIBus.h" #include <net/if_media.h> #include "Driver.h" #include "Settings.h" #include "Device.h" #include "Registers.h" #define MII_OUI(id) ((id >> 10) & 0xffff) #define MI...
#include "CogGaze.h" #include "VisMatrix.h" #define Matrix CVisDMatrix #define Vector CVisDVector #ifndef M_PI #define M_PI 3.1415927 #endif class HeadState { public: double yaw, pitch, roll; double tilt, left_pan, right_pan; double neck_tilt, neck_roll, neck_lean, neck_pan; void SetEyes(double n_tilt, doub...
/* Intermediate connection between python front-end and CUDA back-end Use this file mostly for forward declaration ands calling CUDA functions. The pybind11 linker is at the bottom of the file. For full documentation: https://pytorch.org/tutorials/advanced/cpp_frontend.html */ #include <iostream> #include <assert...
#include <iostream> #include <string> #include <cstring> #include <sstream> #include <algorithm> #include "types.h" #include "position.h" #include "movegen.h" #include "attack.h" #include "evaluate.h" // value_of using namespace std; const string PieceToChar(" PNBRQKpnbrqk"); Square sq120_to_64[120]; Square sq64_to...
// ScreenSpy.cpp: implementation of the CScreenSpy class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "until.h" #include "ScreenSpy.h" //#include "until.h" //RGB转灰度的算法之一 #define RGB2GRAY(r,g,b) (((b)*117 + (g)*601 + (r)*306) >> 10) #define DEF_STEP 19 #defi...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #define FP16_LIMB_SIZE 16 #define FP16_TYPE uint16_t #define SIGN_MASK 0x8000 #define FLOAT_SIGN_MASK 0x80000000 #define FLOAT_SIGN_RESET_MASK 0x7FFFFFFF #define SECOND_BIT_MASK 0x4000 #define POSIT_INF 0x0000 #define POSIT_LIMB_ALL_BITS_SET 0xffff #define S...
#include "main.h" #include "ball.h" #include "platform.h" #include "wall.h" #include "coin.h" #include "magnet.h" #include "fireline.h" #include "firebeam.h" #include "powerup.h" #include "water.h" #include "boomerang.h" #include "ring.h" #include "health.h" #include "viserion.h" #include "ice.h" // Include any new com...
/* * utils.cpp * * Created on: Apr 22, 2011 * Author: james */ #include <cassert> #include <cstdlib> #include <cstring> #include "defs.h" #include "globals.h" color_t opposite_player(color_t player) { return player == WHITE ? BLACK : WHITE; } square_t str_to_sq(const char *str_sq) { if (strlen(str...
#include "Drawing.h" #include <QPainter> #include <Core/DualGraph.h> #include <Core/TileGraph.h> #include <Core/Simulation.h> #include <Core/DualAnalysis.h> #include <unordered_set> namespace { void drawTextCentered( QPainter& painter, const QPointF& p, const std::string& str ) { painter.drawText( QRec...
/****************************************************************************** ** Copyright (C) 1997 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.0 ** ** Author: <NAME> ** ** Date: 97/09/03 ** ** File: mr_comb_...
/*<html><pre> -<a href="qh-qhull.htm" >-------------------------------</a><a name="TOP">-</a> qhalf.c compute the intersection of halfspaces about a point see unix.c for full interface copyright (c) 1993-2003, The Geometry Center */ #include <stdio.h> #include <stdlib.h>...
#include <iostream> #include <cmath> #include <cstring> #include "stdlib.h" #include "string.h" #define DEBUG false #define DEBUG_SPACING 100000 #define DELTAF false #define LASTX false #define ITERX true #define DELTAF_PRECISION 0.000000001 #define PRECISION 0.00001 #define MAX_ITERATIONS 100000 using namespace std...
#include "ofApp.h" //-------------------------------------------------------------- FaceMeasures ofApp::measureFace(ofxFaceTracker2 &tracker) { auto lmks = tracker.getInstances()[0].getLandmarks(); auto leyf = lmks.getImageFeature(ofxFaceTracker2Landmarks::LEFT_EYE); auto reyf = lmks.getImageFeature(ofxFa...
#include "copyright.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <termios.h> #include <iomanip> #include "PIano.h" #include "duration.h" const int Reverb::comb_m[REVERB_COMB_COUNT] = { 1557, 1617, 1491, 1422, 1277, 1356, 1188, 1116 }; const int Reverb::ap_m[REVERB_...
//===-- ExecutionState.cpp ------------------------------------------------===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------------------------...
//----------------------------------------------------------------------------- // This is free and unencumbered software released into the public domain. // For the full text of the Unlicense, see the file "docs/unlicense.html". // Additional Unlicense information may be found at http://unlicense.org. //--------------...
#include <iostream> #include <string> #include <cstring> #include <cstdint> #include <fstream> #include <memory> #include <vector> #include <unordered_set> #include <unordered_map> #include <set> #include <algorithm> #include <iomanip> #include <exception> #include <zlib.h> using namespace std; struct glf_cursor { ...
/* * * select3obj.cpp With a calibration chessboard on a table, mark an object in a 3D box and * track that object in all subsequent frames as long as the camera can see * the chessboard. Also segments the object using the box projection. This * program is useful for co...
/* * desyevjmex.cpp Stub for calculating the eigenvectors and eigenvalues from directional derivatives (reshaped into arrays). Jacobi Kopp2008. * * Created by <NAME> on 02/04/14. * Copyright 2014 Universidad Almeria / Max Planck Insititute of Biochemistry. All rights reserved. * */ #include "tsmtv_helpe...
#include "MidiExport.hpp" #include "app/Config.hpp" bool midiExportLog = false; #include <QDebug> using namespace aurals; std::unique_ptr<MidiFile> aurals::exportMidi(Tab* tab, size_t shiftTheCursor) { auto output = std::make_unique<MidiFile>(); //time line track { auto timeLineTrack = MidiTra...
// Distributed under the MIT License. // See LICENSE.txt for details. #pragma once #include <array> #include "ApparentHorizons/Tags.hpp" #include "DataStructures/Tensor/TypeAliases.hpp" /// \cond class DataVector; class YlmSpherepack; template <typename X, typename Symm, typename IndexList> class Tensor; /// \endco...
// 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 2018 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #include "fpdfsdk/cpdfsdk_helpers.h" #include "build/build_config.h" #include...
#define EZC3D_API_EXPORTS /// /// \file Parameter.cpp /// \brief Implementation of Parameter class /// \author Pariterre /// \version 1.0 /// \date October 17th, 2018 /// #include "ezc3d/Parameter.h" #include "ezc3d/ezc3d.h" #include "ezc3d/Parameters.h" #include "ezc3d/DataStartInfo.h" #include <iostream> #include <s...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2018 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
#include <iostream> #include <sstream> #include <fstream> #include <algorithm> #include <sys/resource.h> #include "OptionParser.h" #include "config.h" #ifdef CONFIG_PARALLEL #include "tbb/task_scheduler_init.h" #endif #include "problem.hpp" #include "uni/space.hpp" #include "global/space.hpp" #include "io.hpp" #...
/* * Copyright (C) 2012 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 "SmithWatermanGotoh.h" const float CSmithWatermanGotoh::FLOAT_NEGATIVE_INFINITY = (float)-1e+30; const char CSmithWatermanGotoh::Directions_STOP = 0; const char CSmithWatermanGotoh::Directions_LEFT = 1; const char CSmithWatermanGotoh::Directions_DIAGONAL = 2; const char CSmithWatermanGotoh::Direction...
/* * LEGAL NOTICE * This computer software was prepared by Battelle Memorial Institute, * hereinafter the Contractor, under Contract No. DE-AC05-76RL0 1830 * with the Department of Energy (DOE). NEITHER THE GOVERNMENT NOR THE * CONTRACTOR MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY * LIABILITY FOR THE USE OF...
#include "detector.h" #include "KConnectedComponentLabeler.h" Detector::Detector() { } void Detector::ProcessFrame(const Camera &camera_origin, const Matrix<double> &depth_map, const PointCloud &point_cloud, const Matrix<double> &upper_body_template, Vector<Vector<double> > &detected_boun...
/* MIT License Copyright (c) 2018 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
#include <fstream> #include <ros/package.h> #include <ros/ros.h> #include <tf/tf.h> #include <std_srvs/Empty.h> #include <aeplanner/Node.h> #include <aeplanner/aeplannerAction.h> #include <rrtplanner/rrtAction.h> #include <geometry_msgs/PoseStamped.h> #include <nav_msgs/Path.h> #include <tf2/utils.h> #include <act...
// Copyright (c) 2012, Yahoo! Inc. All rights reserved. // Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. #include <workers/gearbox/WorkerGearbox.h> #define LOGCAT "gearbox.worker.gearbox" #include <gearbox/core/logger.h> #include <gearbox/store/dbconn.h> #include <gearb...
/*! @file */ /* Copyright (C) 2008, kobake Copyright (C) 2018-2021, Sakura Editor Organization This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use th...
//===--- ConcreteTypeWitness.cpp - Nested types of concrete conformances --===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE....
/* * (c) Copyright 2020 Xilinx, 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 ap...
#include "L1Trigger/L1TCalorimeter/plugins/L1TPhysicalEtAdder.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "CondFormats/L1TObjects/interface/L1CaloEtScale.h" #include "CondFormats/DataRecord/interface/L1JetEtScaleRcd.h" #include "CondFormats/DataRecord/interface/L1HtMissScaleRcd.h" #include "C...
/* * 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 "GlobalTypeAnalyzer.h" #include "ConcurrentContainers.h" #include "MethodOverrideGraph.h" #include "Resolver.h" #include ...
#include "MyRigidBody.h" using namespace Simplex; //Allocation void MyRigidBody::Init(void) { m_pMeshMngr = MeshManager::GetInstance(); m_bVisibleBS = false; m_bVisibleOBB = true; m_bVisibleARBB = false; m_fRadius = 0.0f; m_v3ColorColliding = C_RED; m_v3ColorNotColliding = C_WHITE; m_v3Center = ZERO_V3; m_v...
#include <string.h> #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <time.h> #include <stdbool.h> #include <string> #include <vector> #include <kernel/fs_driver.h> #define FAT12_EOF 0xFF8 #define FAT16_EOF 0xFFF8 #define FAT32_EOF 0x0FFFFFF8 #define exFAT_EOF 0xFFFFFFF8 #define DEFAULT_SECTOR_SIZ...
/* * Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/** 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...
/** * ©2020-2022 ALPhANOV (https://www.alphanov.com/) All Rights Reserved * Author: <NAME> */ #pragma once struct MvpPerLayer { uint32_t maxAngles; std::vector<std::vector<std::vector<uint16_t>>> mvp_indexes; //For each SIT, for each layer, the list of valid mvp index std::vector<std::vector<std::vecto...
//===- BypassSlowDivision.cpp - Bypass slow division ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#if !defined(_WIN32) && !defined(_WIN64) #include <unistd.h> #include <sys/wait.h> #endif #pragma once #include <boost/asio.hpp> #include <glog/logging.h> #include <gflags/gflags.h> #include <google/protobuf/util/message_differencer.h> #include "str_utils.h" #include "mcts_engine.h" #include "eval_routine.h" #include...
/** * \file src/core/test/tensor.cpp * MegEngine is Licensed under the Apache License, Version 2.0 (the "License") * * Copyright (c) 2014-2020 Megvii Inc. All rights reserved. * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" B...
/*******************************************************************\ Module: analyses variable-sensitivity variable-sensitivity-dependence-graph Author: Diffblue Ltd. \*******************************************************************/ #include "variable_sensitivity_dependence_graph.h" #include "data_dependency...
#include "rosvmap.h" #include "ogmap.h" #include "shape.h" #include "impact.h" #include <iostream> using namespace std; using namespace mia; /* * constructor: */ RosVmap :: RosVmap(): a_min_scan_distance(0.01), a_max_scan_distance(100) { setEpsilon( 0.1 ); } RosVmap :: ~RosVmap() { } /* * setter: */ int ...
// // MIT License // // Copyright (c) 2016 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, m...
//===- xray-account.h - XRay Function Call Accounting ---------------------===// // // 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 // //===---------------------------...
/* * (c) Copyright 2016 Hewlett Packard Enterprise Development LP * * 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 requir...
#include <sstream> #include <fstream> #include <iostream> #include <map> #include "clang/AST/ASTConsumer.h" #include "clang/AST/RecursiveASTVisitor.h" #include "clang/Frontend/CompilerInstance.h" #include "clang/Frontend/FrontendAction.h" #include "clang/Frontend/FrontendActions.h" #include "clang/Tooling/Tooling.h" #...
/********************* */ /*! \file inst_strategy_cbqi.cpp ** \verbatim ** Original author: <NAME> ** Major contributors: <NAME> ** Minor contributors (to current version): <NAME> ** This file is part of the CVC4 project. ** Copyright (c) 2009-2013 New York ...
#ifdef N1AMR_MULTIPLE_FILES #include <bits/stdc++.h> using namespace std; #include "BigInt.h" #include "BigIntHelpers.h" #endif //N1AMR_MULTIPLE_FILES BigInt::BigInt() : cells(CELLS_CONTAINER_T {0}) {} BigInt::BigInt(const CELLS_CONTAINER_T &init, SIGN_T sign) : cells(CELLS_CONTAINER_T {init}), sign(sign) {}...
#include "Dialogs.h" #include <windowsx.h> #include <commctrl.h> #include <shellapi.h> #include <scintilla.h> #include <scilexer.h> #include <cassert> #include "FireFly.h" extern HMODULE g_Instance; INT_PTR DlgMain::dlg_proc(UINT message, WPARAM wParam, LPARAM lParam) { static int margin_size = 0; static bool show_...
/* Copyright (c) 2016 - 2020 Regents of the University of Minnesota and Bolder Flight Systems Inc. MIT License; See LICENSE.md for complete details Adapted for RAPTRS: <NAME> and <NAME> Adapted from prior versions Copyright 2011 Regents of the University of Minnesota. All rights reserved. Original Author: <NAME>, <NAM...
/**************************************************** * RoseBin :: Binary Analysis for ROSE * Author : tps * Date : 7Sep07 * Decription : Dataflow analysis ****************************************************/ // tps (01/14/2010) : Switching from rose.h to sage3 #include "sage3basic.h" #include "RoseBin_DataFlowAn...
// Copyright 2014 <NAME>. 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 law...
/*ckwg +29 * Copyright 2017-2018 by Kitware, Inc. * 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 li...
/** * Copyright (c) 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #include "game.h"...
// _ __ _ // ____ (_) /_ ____ ____ ____ ____ ______(_) // / __ \/ / __ \/ __ \/ __ \/ __ \/ __ `/ ___/ / // / / / / / / / / /_/ / / / / /_/ / /_/ / / / / // /_/ /_/_/_/ /_/\____/_/ /_/\____/\__,_/_/ /_/ // #include <ctime> #include <iomanip> #include <iostrea...
// Level_Bullet_Manager.cpp: для обеспечения полета пули по траектории // все пули и осколки передаются сюда ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Level.h" #include "Level_Bullet_Manager.h" #include "game_cl_base.h" #include "Actor.h" #include "game...
#include <ros/ros.h> #include <dynamic_reconfigure/server.h> #include <visualization_msgs/Marker.h> #include <ddd_plane_extr/multi_planes_paramConfig.h> // Include opencv2 #include <opencv2/core.hpp> #include <opencv2/imgcodecs.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include <cv_bridge/cv_...
/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2014 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation; * * This program is distrib...
// // MIT License // // © ESI Group, 2015 // // 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, pu...
/* The following routines implement all of the fitting formulae in Eisenstein \& Hu (1997) */ /* There are two sets of routines here. The first set, TFfit_hmpc(), TFset_parameters(), and TFfit_onek(), calculate the transfer function for an arbitrary CDM+baryon universe using the fitting formula in Section 3 of th...
#include "itkImage.h" #include "itkImageFileReader.h" #include "itkImageFileWriter.h" #include "itkBinaryThresholdImageFilter.h" #include "TriMesh.h" #include "meshFIM.h" #include "math.h" #include "tinyxml.h" #include <iostream> #include <algorithm> #include <sstream> #include <string> #include <climits> #include "...
//////////////////////////////////////////////////////////////////////////// // Created : 20.10.2008 // Author : <NAME> // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #include "pch.h" using xray::math::float4x4; using xray::math::float3; ...
//===- SVFGStat.cpp -- SVFG statistics---------------------------------------// // // SVF: Static Value-Flow Analysis // // Copyright (C) <2013-2017> <<NAME>> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publ...
/* * ConfigMode class declaration * Controls config mode * * File: config_menu.cpp * Author: b4fThrive * Copyright (c) 2020 <EMAIL> * * This software is released under the MIT License. * https://opensource.org/licenses/MIT * */ #include "config_menu.h" #include "Sensors.h" #include "menu.h" #include ...
#include "llvm/Transforms/Scalar.h" #include "llvm/IR/DerivedTypes.h" #include "llvm/IR/Function.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/LLVMContext.h" #include "llvm/Pass.h" #include "llvm/IR/Constants.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Support/Debug.h" #include "llvm/IR/InstIterator....
#include "pch.h" #include "matrices.h" mat4::mat4(float value0, float value1, float value2, float value3, float value4, float value5, float value6, float value7, float value8, float value9, float value10, float value11, float value12, float value13, float value14, float value15) { values[0][0] = value...
#include <iostream> #include <fstream> #include <type_traits> #include "clCscGemm.hpp" #define DEVICE_NUMBER CPU // (512, 512, 512) // No 64bit Atomic #define GPU 0 // (1024, 1, 1) #define CPU 1 struct clCscMatrix{ cl_long rows; cl_long cols; cl_long nnz; cl_mem colPtr; cl_mem rowIdx; cl_mem v...
// ----------------------------------------------------------------------------- // Hypercube Quicksort to sort a list of integers distributed across processors // MPI-based implementation // #include <cmath> #include <cstdlib> #include <cstdio> #include <new> #include <mpi.h> #define MAX_LIST_SIZE_PER_PROC 268435456 ...
//---------------------------------------------------------------------------------- // File: NvAppBase\gl/NvSampleAppGL.cpp // SDK Version: v3.00 // Email: <EMAIL> // Site: http://developer.nvidia.com/ // // Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. // // Redistribution and...
// SPDX-License-Identifier: Apache-2.0 /** * Copyright (C) 2021 <NAME> <<EMAIL>> * * @file models_test_utils.cpp * @date 15 Oct 2020 * @brief Models test utils * @see https://github.com/nnstreamer/nntrainer * @author <NAME> <<EMAIL>> * @bug No known bugs except for NYI items * */ #include <gtest/gt...
/* * Tests for feature tracking functionalities * test_featuretracker.cpp * * Copyright (c) 2019-2020 <NAME>, * Robotics and Perception Group, University of Zurich * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
#include "pipepp/gui/debug_data_panel.hpp" #include <cassert> #include <format> #include <iterator> #include <variant> #include "nana/basic_types.hpp" #include "nana/gui/drawing.hpp" #include "nana/gui/place.hpp" #include "nana/gui/widgets/button.hpp" #include "nana/gui/widgets/label.hpp" #include "nana/gui/widgets/sc...