text
stringlengths
3.08k
22k
#include "core.h" #include "uimanagercommon.h" #include "uiscreen.h" #include "uiwidget.h" #include "uistack.h" #include "configmanager.h" #include "uifactory.h" #include "wbeventmanager.h" #include "Screens/uiscreen-okdialog.h" #include "Screens/uiscreen-waitdialog.h" #include "Screens/uiscreen-yesnodialog.h" #inclu...
/** * \file PnlWzemPrdDetail.cpp * job handler for job PnlWzemPrdDetail (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author <NAME> (auto-generation) * \date created: 1 Dec 2020 */ // IP header --- ABOVE #ifdef WZEMCMBD #include <Wzemcmbd.h> #else #include <Wzemd.h> #endif #include "Pn...
#include "precomp.h" #include "catalogue.h" #include "exception.h" #include "piping_xxhash.h" #include "piping_zstd.h" #include "stream.h" #include "buffer.h" #include "format.pb.h" static const uint current_version = 0; using namespace std; namespace fs = std::filesystem; static const char * cat_filename = "catalo...
// // Created by kannie on 11/04/19. // #include "Food.h" #include <GL/glew.h> #include <GL/freeglut.h> #include <fstream> #include <sstream> #include <string> #include <vector> #include <stdlib.h> #include <cmath> #include <iostream> std::vector<float> verticesVector; // Vector to read in vertex x, y and z values f...
//------------------------------------------------------------------------------ // // Name: vadd.c // // Purpose: Elementwise addition of two vectors (c = a + b) // // HISTORY: Written by <NAME>, December 2009 // Updated by <NAME> and <NAME>, October 2012 // Updat...
// ------------------------------------------------------------------------------------------------ // BostonKeyParty 2017 // qt crackme (Reversing 250) // // crack // ------------------------------------------------------------------------------------------------ #include "stdafx.h" #include <stdio.h> #include <string...
#include "stdafx.h" #include "core/job_system/thread.h" #include "core/job_system/fiber.h" #include "core/job_system/job.h" #include "core/job_system/work_stealing_queue.h" #include "core/container/queue.h" #include "core/container/array.h" #include <mutex> #include <thread> thread_local worker_handle worker; conste...
#include "arcsubmitcontroller.h" #include "arc-gui-config.h" #include <arc/UserConfig.h> #if ARC_VERSION_MAJOR >= 3 #include <arc/compute/Broker.h> #include <arc/compute/ComputingServiceRetriever.h> #include <arc/compute/ExecutionTarget.h> #include <arc/compute/Job.h> #include <arc/compute/JobDescription.h> #includ...
// // Map.cpp // path_planning // // Created by <NAME> on 18.06.21. // #include "Map.hpp" #include <vector> #include "HelperFunctions.hpp" #include <iostream> #include <sstream> #include <fstream> #include "config.hpp" void Map::ReadFile(std::string map_file_name) { std::ifstream in_map_(map_file_name.c_str(),...
#include <CL/sycl.hpp> #include <dpct/dpct.hpp> #include "../common.hpp" long long get_time() { struct timeval tv; gettimeofday(&tv, NULL); return (tv.tv_sec * 1000000) + tv.tv_usec; } void hotspotOpt1(float *p, float* tIn, float *tOut, float sdc, int nx, int ny, int nz, float ce, float cw, ...
// Copyright (c) 2017, University of Minnesota // // ADMM-Elastic Uses the BSD 2-Clause License (http://www.opensource.org/licenses/BSD-2-Clause) // Redistribution and use in source and binary forms, with or without modification, are // permitted provided that the following conditions are met: // 1. Redistributions of...
/*! * \file CSymmetricMatrix.cpp * \brief Implementation of dense symmetric matrix helper class (see hpp). * \author <NAME>, <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) * * Copyrigh...
#include "recognition.h" #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <algorithm> #include <iostream> #include <type_traits> /** * @function CannyThreshold * @brief Trackbar callback - Canny thresholds input with a ratio 1:3 */ void cannyThreshold(cv::Mat con...
// smallpt, a Path Tracer by <NAME>, 2008 // Make : g++ -O3 -fopenmp smallpt.cpp -o smallpt // Remove "-fopenmp" for g++ version < 4.2 // Usage: time ./smallpt 5000 && xv image.ppm #include "math/vec3.h" #include "image/image.h" #include <math.h> #include <stdlib.h> #include <stdio.h> using namespace bacchus;...
#include "booking.h" #include "ui_booking.h" #include "comboboxitemdelegate.h" #include "dateeditdelegate.h" Booking::Booking(QWidget *parent) : QDialog(parent), ui(new Ui::Booking) { ui->setupUi(this); db = QSqlDatabase::addDatabase("QSQLITE"); db.setHostName("Tours"); db.setDatabaseName("C:/...
// Copyright (c) 1997-2019 The CSE 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 "cnglob.h" #include "ancrec.h" #include "rccn.h" #include "exman.h" #include "cnguts.h" static const float kW_to_btuh = 3412.142f; // Not...
#include "ast_lambda_node.hpp" #include "ast_ref.hpp" #include "llvm_generator.hpp" #include "parsercontext.hpp" using namespace llvm; Value* gen_lambda( LlvmGenerationContext& context, GenScope* scope, Type* lambdaT, Value* funcV, Value* closureRefV ) { Value* lambdaV = UndefValue::get( lambdaT ); auto cas...
#include "GeneratorInterface/Pythia8Interface/plugins/Py8toJetInput.h" #include "SimDataFormats/GeneratorProducts/interface/LHECommonBlocks.h" #include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h" #include "GeneratorInterface/LHEInterface/interface/LHEEvent.h" const std::vector<fastjet::PseudoJet> Py8toJ...
#include <gui/main_screen/MainView.hpp> #include <message_types.h> #include <touchgfx/Color.hpp> static int color_index = 0; static int rev_limit = 9000; static int prev_rpm = 100; static int prev_map = 100; static int prev_clt = 110; static float prev_lambda = 0.77f; static float prev_lambda_targ = 0.81f; static i...
// Copyright (c) 2019 LG Electronics, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
#pragma once // This header is internal, not part of the API! ConsensusCore doesn't have a // good directory-level separation of internal-vs-API, but we can at least prevent // SWIG export #ifdef SWIG #error "PoaGraphImpl.hpp is not an API-facing header!" #endif // SWIG #include <ConsensusCore/Align/AlignConfig.hpp...
// // Created by <NAME> on 20/02/2017. // #include <jni.h> #include <string> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <android/log.h> #define TAG "tryfit-lib.cpp" //Logging utilities #define LOGD(TAG,...) __android_log_print(ANDROID_LOG_DEBUG , TAG,__VA_ARGS__) #define LOGE(T...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of Qbs. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this fil...
/* * Copyright (C) 2013- <NAME> <<EMAIL>> * */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <assert.h> #include "cint_const.hpp" #include "cint_bas.hpp" #include "misc.hpp" #include "g2e.hpp" void CINTg0_2e_lj2d4d_regular(double *g, struct _BC *bc, const CINTEnvVars *envs); void CINTg0_2e_gtg...
/** * This file is part of ORB-SLAM2. * * Copyright (C) 2014-2016 <NAME> <raulmur at unizar dot es> (University of Zaragoza) * For more information see <https://github.com/raulmur/ORB_SLAM2> * * ORB-SLAM2 is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as p...
// keep first! #include <GL/glew.h> #include "ConfigLoader.hpp" #include "Object.hpp" #include "SimulationView.hpp" #include "World.hpp" #include "essagui/EssaGUI.hpp" #include "pyssa/Object.hpp" #include "pyssa/TupleParser.hpp" #include <EssaGUI/util/SimulationClock.hpp> #include <EssaGUI/util/Vector3.hpp> #include ...
#include "EdgeDetector.h" #include "Kernel.h" #include "Converter.h" /* Hàm phát hiện biên cạnh của ảnh xám sourceImage: ảnh input destinationImage: ảnh output method: phương pháp detect kWidth, kHeight: kích thước kernel 1: Sobel 2: Prewitt 3: Laplace Hàm trả về 0: nếu detect thành công 1: nếu detect thất bại (...
/* * Includes */ #include <assimp/cimport.h> // C importer #include <assimp/scene.h> // Collects data #include <assimp/postprocess.h> // Various extra operations #include <GL/glew.h> #include <GL/freeglut.h> #include <iostream> #include <math.h> #include <mmsystem.h> #include <stdio.h> #include <vector> // STL d...
// Copyright (c) 2020 GeometryFactory Sarl (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL$ // $Id$ // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-Commercial // // Author(s): <NAME> <<EMAIL>> #include "GridGraphicsItem.h" #include <cmath> #include <limits> #inc...
// // 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...
/************************************************************************************ ** The MIT License (MIT) ** ** Copyright (c) 2021 3dEyes** ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated documentation files (the "Software"), to deal ** i...
#define QT_KEYPAD_NAVIGATION 1 #include <CQItemDelegate.h> #include <CQBaseModelTypes.h> #include <QAbstractItemView> #include <QLineEdit> #include <QLayout> #include <QPainter> #include <QEvent> #include <cassert> #include <svg/edit_item_svg.h> CQItemDelegate:: CQItemDelegate(QAbstractItemView *view) : view_(vie...
#include "Game.h" #include <windows.h> #include <conio.h> #include <string> #include <fstream> #include <sstream> #include <ctime> #include "readInt.h" #include "Vocation.h" #include "Room.h" #include "Enemy.h" #include "Event.h" using namespace std; #define SAVEFILE "profile.sav" #define VOCATION...
/* * Copyright (C) 2018-2020 HERE Europe B.V. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
#include "playingmode.h" #include "sokobanwidget.h" #include "message.h" #include <chthon2/log.h> #include <chthon2/format.h> #include <SDL2/SDL.h> #include <algorithm> #include <iostream> namespace { std::map<int, std::string> generateKeyToTextMap() { std::map<int, std::string> result; result[SDLK_0] = "0"...
#include <ncurses.h> #include <ctype.h> #include <iostream> #include <sstream> using namespace std; string itos(int n) { stringstream ss; ss << n; return ss.str(); } const int SIZE = 4; // The puzzle grid is SIZE x SIZE // initModel -- initialize the underlying model of puzzle void initModel(char mgrid[SI...
/* * Copyright 2012 <NAME>, CRACS & INESC-TEC, DCC/FCUP * * 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 <qtcomponents.h> N::FlipWidget:: FlipWidget( QRectF bounds , QWidget * frontWidget , QWidget * backWidget , bool useOpenGL , QWidget * parent , Plan ...
/*************************************************************************\ C O P Y R I G H T Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland. All Rights Reserved. Permission to use, copy, modify and distribute this software and its doc...
//+------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 1999. // // File: brview.hxx // // Contents: // // History: 15 Aug 1996 DLee Created // //-----------------------------------------------...
#include "./shader.hpp" #ifdef MM_OPENGL_3_GLES #include <GLES3/gl3.h> #else #include <glad/glad.h> #endif #include <string_view> #include <mm/services/filesystem.hpp> #include <mm/path_utils.hpp> #include <mm/string_view_split.hpp> #include <mm/logger.hpp> #define LOG_CRIT(...) __LOG_CRIT( "OpenGL", __VA_ARGS_...
// Gaze tracker validation system // Written by <NAME> <<EMAIL>> #include "Validator.h" #include "common.h" #include "TrackerConfig.h" #include "ValidatorConfig.h" #include "version.h" #include <iostream> #include <map> #include <stdexcept> #ifndef _WIN32 #include <getopt.h> #endif void printUsage(const char * co...
// // JVideoPlayer.cpp // // Created by <NAME> on 07-05-16. // // Edit: 15-01-2021: removed ofxOpenCv things to compile on Linux (trouble installing OpenCV there), and since it's not really needed here #include "JVideoPlayer.hpp" JVideoPlayer::JVideoPlayer(){ setType("VideoPlayer"); colors[0] = o...
#include <cstdio> #include <cctype> #include <stl/string> #include <stl/vector> #include <xtl/shared_ptr.h> #include <common/file.h> #include <common/strlib.h> /* Константы */ const char* WGLEXT_FILE_NAME = "../sources/shared/profile/gl/wglext.h"; //имя заголовочного файла WGL-расширений...
// // [du,dv]=sor_warping_flow(ix,iy,iz, ixx, ixy, iyy, ixz,... // iyz,psi_data, psi_smooth_east, psi_smooth_south, du, dv,u,v,alpha,gamma,sor_iter,w) # include "mex.h" # include "math.h" #define at_r(ptr, y, x, c) ( ((y)<0 || (y)>=raws || (x)<0 || (x)>=cols) ? 0.0 : (ptr)[(y) + ((x) + (c)*cols)*raws] ) #define lat_...
/****************************************************************************************/ /* Atacker.c */ /* */ /* Author: <NAME> ...
#include "visual_odom.h" using namespace cv; using namespace std; namespace robotic_vision { VisualOdom::VisualOdom() { //cout << "Constructor" << endl; // Set thresholds ransac_thresh_ = 2.5f; nn_match_ratio_ = 0.8f; // Create ORB detector and descriptor matcher orb_ = ORB::create(); matcher_ = Desc...
/****************************************************************************** ** Copyright (C) 1998 by CEA ******************************************************************************* ** ** UNIT ** ** Version: 1.2 ** ** Author: 09/20/99 ** ** Date: 01/03/02 ** ** File: wth_MC...
#include "mbed.h" #include "math.h" /** * All the following code is original, no libraries, other than what Mbed * provides, were used. */ I2C i2c(p9, p10); /* Byte reference: index: 7 6 5 4 | 3 2 1 0 value: 128 64 32 16 | 8 4 2 1 8 4 2 1 I2C reference: Addresses are shifted to the left ...
#pragma once #include "map/bookmark_manager.hpp" #include "map/routing_mark.hpp" #include "routing/route.hpp" #include "routing/routing_session.hpp" #include "storage/index.hpp" #include "drape/pointers.hpp" #include "tracking/reporter.hpp" #include "base/thread_checker.hpp" #include <functional> #include <memor...
// --- Custom header files --- #include "AliPP13QualityPhotonSelection.h" // --- AliRoot header files --- #include <AliPHOSGeometry.h> #include <iostream> using namespace std; ClassImp(AliPP13QualityPhotonSelection); //________________________________________________________________ void AliPP13QualityPhotonSelect...
/* * Copyright 2020-2021 Hewlett Packard Enterprise Development LP * Copyright 2004-2019 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with...
/* 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 not use this f...
/* * Copyright © 2009,2010 Red Hat, Inc. * Copyright © 2011,2012 Google, Inc. * * This is part of HarfBuzz, a text shaping library. * * Permission is hereby granted, without written agreement and without * license or royalty fees, to use, copy, modify, and distribute this * software and its documentation for...
/* configure the network */ /* neuron groups */ int EC_LI_II_Multipolar_Pyramidal=sim.createGroup("EC_LI_II_Multipolar_Pyramidal", p.EC_LI_II_Multipolar_Pyramidal_Count, EXCITATORY_NEURON, ANY, GPU_CORES); int MEC_LII_Stellate=sim.createGroup("MEC_LII_Stellate", p.MEC_LII_Stellate_Count, EXCITATORY_NEU...
#include <g3dxml/XMLLayerWriter.h> #include <geo3dml/StyleRuleEqualTo.h> #include <geo3dml/FeatureTypeStyle.h> using namespace g3dxml; XMLLayerWriter::XMLLayerWriter() { } XMLLayerWriter::~XMLLayerWriter() { } bool XMLLayerWriter::Write(geo3dml::Layer* layer, std::ostream& output, SchemaVersion v) { output << "<...
/* * Copyright 2022 HEAVY.AI, 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 ...
// Copyright 2009-2020 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2020, NTESS // All rights reserved. // // Portions are copyright of other developers: // See the file CONTRIBUTORS.TXT in the top level directory...
// Copyright (c) 2018 Baidu.com, 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 ...
/* Copyright 2015 The TensorFlow Authors. 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 or agre...
#include "gb-include.h" #include "Errno.h" // use our own errno so threads don't fuck with it int g_errno; char *mstrerror ( int errnum ) { return mstrerrno ( errnum ); } char *mstrerrno ( int errnum ) { switch ( errnum ) { case EDUMPFAILED : return "Tree dump failed"; case ETRYAGAIN : return "Try...
// Copyright (c) 2015-present, Qihoo, 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 "include/pika_bin...
//-------------------------------------------------------------------------- // Copyright (C) 2014-2018 Cisco and/or its affiliates. All rights reserved. // // 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 Fr...
// // Created by user on 19-4-11. // #include "CGIManager.h" #include "HTTPParse.h" char *RequestParams::filename = (char *) "SCRIPT_FILENAME"; char *RequestParams::method = (char *) "REQUEST_METHOD"; char *RequestParams::query = (char *) "QUERY_STRING"; char *RequestParams::referer = (char *) "HTTP_REFERER"; char *...
/* * Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/> * * Copyright (C) 2012 - 2012 FrenchCORE <http://www.frcore.com/> * * This program is free software; you c...
// -*- coding: utf-8 -*- #include <iostream> #include <fstream> #include <string> #include <vector> #include <map> #include <sys/stat.h> #include <cassert> #include <algorithm> #include <numeric> #include <ostream> #include "string_tree.hpp" using namespace STree; struct stat_vec { double avg; unsigned int median; ...
#include <ros/ros.h> #include "std_msgs/String.h" //#include "std_msgs/Float32.h" //#include "std_msgs/Int16.h" #include "sensor_msgs/JointState.h" #include <iostream> #include <signal.h> #include <termios.h> #include <stdio.h> #include <unistd.h> using namespace std; #define DOF_JOINTS 16 // http://nehe.gamedev....
/* * 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...
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2012, assimp team All rights reserved. Redistribution and use of this software in source and binary...
/* * This file is part of the MAVLink Router project * * Copyright (C) 2017 Intel Corporation. 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://ww...
/* This file is part of nSkinz by namazso, licensed under the MIT license: * * MIT License * * Copyright (c) namazso 2018 * * 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...
//----------------------------------------------------------------------------- // Copyright 2012 <NAME> // Author: mmorise [at] yamanashi.ac.jp (<NAME>) // Last update: 2017/02/01 // // Spectral envelope estimation on the basis of the idea of CheapTrick. //--------------------------------------------------------------...
#include <glm/gtc/type_precision.hpp> #include <glm/gtx/io.hpp> #include <iostream> #include <sstream> #include <typeinfo> namespace { template <typename CTy, typename CTr> std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>& os, glm::precision const& a) { typename std::basic_ostream<CT...
/* Conditional Random Fields for Object Localization * Master thesis source code * * Authors: * <NAME> (<EMAIL>) * <NAME> (<EMAIL>) * * Department of Computer Science * University of Copenhagen * Denmark * * Date: 27-08-2012 */ // main program for computing the pseudo marginal of a corner (that is two con...
// Force x86-64 because some of our heuristics are actually based // on integer sizes. // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s int test0(long a, unsigned long b) { enum EnumA {A}; enum EnumB {B}; enum EnumC {C = 0x10000}; return // (a,b) ...
/* * 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 "SkCanvas.h" #include "SkColorShader.h" #include "SkGradientShader.h" #include "SkShader.h" #include "SkTemplates.h" #include "Test.h" // https://code.google.com/p/c...
#include "framelesswidget.h" #include "qevent.h" #include "qdebug.h" FramelessWidget::FramelessWidget(QObject *parent) : QObject(parent) { padding = 8; moveEnable = true; resizeEnable = true; widget = 0; mousePressed = false; mousePoint = QPoint(0, 0); mouseRect = QRect(0, 0, 0, 0); ...
/* * Copyright (c) 2018 MariaDB Corporation Ab * * Use of this software is governed by the Business Source License included * in the LICENSE.TXT file and at www.mariadb.com/bsl11. * * Change Date: 2022-01-01 * * On the date above, in accordance with the Business Source License, use * of this software will be g...
// $Id$ //**************************************************************************** //* This file is property of and copyright by the ALICE HLT Project * //* ALICE Experiment at CERN, All rights reserved. * //* ...
//HEADER_GOES_HERE #include "../types.h" int encrypt_table[1280]; //----- (00415F43) -------------------------------------------------------- void __fastcall encrypt_decrypt_block(void *block, int size, int key) // DecryptMPQBlock { unsigned int v3; // edx int v4; // eax unsigned int v5; // edi unsig...
#include "EventFilter/CSCTFRawToDigi/interface/CSCTFAnalyzer.h" #include "DataFormats/Common/interface/Handle.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include <strings.h> #include <cerrno> #include <iostream> #include <iomanip> CSCTFAnalyzer::CSCTFAnalyzer(const edm::ParameterSet& conf) : edm::ED...
//===- LegalizeForLLVMExport.cpp - Prepare RVV for LLVM translation -------===// // // 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 // //...
/**************************************************************************/ /* */ /* WWIV Initialization Utility Version 5 */ /* Copyright (C)2014-2021, WWIV Software Services */ /* ...
// Copyright 2011 The LevelDB-Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This program adds N lines from infile to a leveldb table at outfile. // The h.txt infile was generated via: // cat hamlet-act-1.txt | tr '[:upper:]' ...
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: <EMAIL> // ///////////////////////////////////////...
// // frontend.c // JANUS // // Created by <NAME> on 17/12/2014. // // #include "janus_api.h" #include "hashtable.h" #include <string.h> #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <set> #include <map> #include <iostream> //#include "instructions.h" //globals #define HASH_KEY_WIDTH 8 #define...
#include <DB/Storages/MergeTree/DataPartsExchange.h> #include <DB/Storages/StorageReplicatedMergeTree.h> #include <DB/Common/CurrentMetrics.h> #include <DB/Common/NetException.h> namespace CurrentMetrics { extern const Metric ReplicatedSend; extern const Metric ReplicatedFetch; } namespace DB { namespace ErrorCod...
// // Base3DOverlay.cpp // interface/src/ui/overlays // // Copyright 2014 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 "Base3DOverlay.h" #include <RegisteredMetaTypes.h> #include <...
#include "pch.h" #include "Box2dScene.h" #include <DirectXMath.h> #include "Person.h" #pragma comment(lib, "d2d1") using namespace std; using D2D1::ColorF; using D2D1::Matrix3x2F; using namespace DirectX; CD2DPointF ToD2DPoint(const b2Vec2& v); Box2dScene::Box2dScene(int count, int itemId, const std::...
#include "defs.h" using namespace std; /* function returns size of edges block for current process */ static edge_id_t get_local_m(graph_t *G) { return G->local_n * G->avg_vertex_degree; } static unsigned long long my_next = 1; static double my_rand() { my_next = my_next * 1365781351523LL + 12345; retur...
#include <omp.h> #include "refcom.hpp" using namespace CommandLineProcessing; int parse_args(int argc, char* argv[], InputArgs& in_args){ ArgvParser cmd; const char* op_arg = "operation"; const char* rf_arg = "ref_file_name"; const char* f1_arg = "rd1_file_name"; const char* f2_arg = "rd2_file_name"; con...
/* * QCS.cc * * Created on: Feb 21, 2012 * Author: cferenba * * Copyright (c) 2012, Los Alamos National Security, LLC. * All rights reserved. * Use of this source code is governed by a BSD-style open-source * license; see top-level LICENSE file for full license text. */ #include "QCS.hh" #include <cma...
// 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...
/** @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...
/* Copyright 2018 The TensorFlow Authors. 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 or a...
/* Copyright 2016-2017 <NAME> * * Use of this software is governed by the MIT license * * Written by <NAME>, Weststrasse 47, CH-8003, Zurich */ #ifndef IS_TRUE #define IS_TRUE(b) (b) #endif #ifndef SIZE_VAL #define SIZE_VAL(s) (s) #endif /* Test the pointer interface for interaction between isl C and C++ types. ...
/** * sim_carAbst.cpp * * To simulate the vehicle example using abstraction-based control. * * Authors: <NAME>, <NAME>, <NAME> * Created: May 27, 2020 * * Hybrid Systems Group, University of Waterloo. */ #include <iostream> #include <fstream> #include <sstream> #include <cstdlib> #include <string> #inc...
#include <tracker/detector.h> extern "C" { #include "apriltags/apriltag.h" #include "apriltags/tags/tag16h6.h" #include "apriltags/tags/tag25h10.h" #include "apriltags/tags/tag36h11.h" #include "apriltags/common/getopt.h" #include "apriltags/apriltag_pose.h" } using namespace tracker; // TODO retry tag16h6 with a c...
#include "selfdrive/loggerd/loggerd.h" ExitHandler do_exit; // Handle initial encoder syncing by waiting for all encoders to reach the same frame id bool sync_encoders(LoggerdState *s, CameraType cam_type, uint32_t frame_id) { if (s->camera_synced[cam_type]) return true; if (s->max_waiting > 1 && s->encoders_rea...
/* * EDDL Library - European Distributed Deep Learning Library. * Version: 1.0 * copyright (c) 2021, Universitat Politècnica de València (UPV), PRHLT Research Centre * Date: November 2021 * Author: PRHLT Research Centre, UPV, (<EMAIL>), (<EMAIL>) * All rights reserved */ #include <cstdio> #include <cstdlib> #include ...