text
stringlengths
5.71k
33.7k
/* ======================================== * Biquad2 - Biquad2.h * Copyright (c) 2016 airwindows, All rights reserved * ======================================== */ #include "Biquad2Processor.h" Biquad2Processor::Biquad2Processor() { paramBindings = { {TYPE, &A}, {FREQ, &B}, {Q, &C}, ...
/**************************************************************************** * * This is a part of CMS-TOTEM PPS offline software. * Authors: * <NAME> * <NAME> * <NAME> * ****************************************************************************/ #include "CondFormats/CTPPSReadoutObjects/interface/CTPPSRPAl...
// copyright (c) 2012 <NAME> // distributed under the mit software license, see the accompanying // file copying or http://www.opensource.org/licenses/mit-license.php. #include "addrman.h" #include "hash.h" #include "serialize.h" #include "streams.h" int caddrinfo::gettriedbucket(const uint256& nkey) const { ui...
/* * Copyright (C) 2010 Google 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
#include "DS1820.h" #include "mbed.h" // Global variables shared between all DS1820 objects bool DS1820_done_flag; int DS1820_last_descrepancy; char DS1820_search_ROM[8]; DS1820::DS1820 (PinName data_pin, PinName power_pin) : _datapin(data_pin), _parasitepin(power_pin) { int byte_counter; _parasite_power =...
/* ,', ,,,,,;;;;;;;;;;;;;;;;;;;;;,,,,, ,', ; ', ,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, , ', ; ; ,;;;;;; ;;; ;; ;;;;;;;;; ;; ;;; ;;;;, ; ; ; `, ,;;;;;; ; ; ;;;;;;; ; ; ;;;;, ,' ; , ',;; ; ; ...
/* * Copyright (c) 2021, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #include <AK/Format.h> #include <AK/HashMap.h> #include <AK/LexicalPath.h> #include <AK/String.h> #include <AK/StringBuilder.h> #include <AK/Utf8View.h> #include <AK/Vector.h> #include <LibCore/ArgsParser.h> #include <LibCore/Sy...
// Sample_WinCE.cpp : Defines the entry point for the console application. // #include <windows.h> #include <commctrl.h> #include "tm_reader.h" #ifndef WINCE #include <time.h> #else #include <time_ce.h> #endif #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <inttypes.h> #include...
#include <cmath> #include <vector> #include <fstream> #include <iterator> #include <thread> #include <unordered_map> #include <ctime> #include <algorithm> #include <random> #include <util/io_helper.hpp> // 2D matrix #include <structures/matrix.hpp> // prob utilities #include <prob/generator.hpp> #include <prob/probabi...
#include <gtest/gtest.h> #include "f3c/SquareCircuit.hpp" #include "f3c/TriangleCircuit.hpp" #include "qclab/qgates/RotationXX.hpp" #include "f3c/qgates/RotationXY.hpp" template <typename T> auto test_f3c_SquareCircuit_init( const int n ) { using XX = qclab::qgates::RotationXX< T > ; f3c::SquareCircuit< T , XX >...
/* * Copyright (C) 2020 Open Source Robotics Foundation * * 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 appl...
//===- CheckerRegistry.cpp - Maintains all available checkers -------------===// // // 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 // //===---------------------------...
#include <iostream> #include <vector> #include <Eigen/Eigen> #include <cmath> // #include <Python.h> // #include "matplotlibcpp.h" // namespace plt = matplotlibcpp; using namespace std; using namespace Eigen; void ucitajTacke(vector<pair<float, float>> &tacke, int duzina) { pair<float, float> tacka...
/* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ /* QM DSP Library Centre for Digital Music, Queen Mary, University of London. This file copyright 2008-2009 <NAME> and QMUL. This program is free software; you can redistribute it and/or modify it under the terms of th...
#include <tpos/tposutils.h> #include <wallet/wallet.h> #include <utilmoneystr.h> #include <policy/policy.h> #include <validation.h> #include <wallet/coincontrol.h> #include <tpos/merchantnode-sync.h> #include <tpos/merchantnodeman.h> #include <tpos/activemerchantnode.h> #include <consensus/validation.h> #include <mess...
#include <iostream> #include <fstream> #include <sstream> #include <vector> #include <string> #include <string.h> #include <dirent.h> #include <cstdlib> #include "ProductInfo.h" #include "HeaderAttribute.h" #include "func_prototype.h" using namespace std; /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
#include <algorithm> #include <cstdio> #include <cmath> #include <vector> using namespace std; #define INF 1e9 #define EPS 1e-9 #define PI acos(-1.0) // important constant; alternative #define PI (2.0 * acos(0.0)) double DEG_to_RAD(double d) { return d * PI / 180.0; } double RAD_to_DEG(double r) { return r * 180.0 /...
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
#include "PortalBody.h" #include "Portal.h" #include "PortalWorld.h" #include "glm/common.hpp" #define CIRCLE_POINTS 50 PortalBody::PortalBody(b2Body* bBody, PortalWorld* pWorld, b2Color bodyColor){ this->pWorld = pWorld; this->body = bBody; this->bodyMaps = new std::vector<bodyCollisionStatus*>(); b...
#include <array> #include <cstdint> #include <cstdlib> #include <cstring> #include <iostream> #include "AsmCopyGen.h" #include "AsmUtils.h" // A random message with a sequence of fields struct Message { uint8_t field_1; uint16_t field_2; uint32_t field_3; uint64_t field_4; int8_t field_5; int...
#include "ClusterDuck.h" U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8(/* clock=*/ 15, /* data=*/ 4, /* reset=*/ 16); IPAddress apIP(192, 168, 1, 1); AsyncWebServer webServer(80); SX1276 lora = new Module(18, 26, 14, 25); auto tymer = timer_create_default(); byte transmission[250]; int packetIndex = 0; String ssid = "";...
#if HAVE_CONFIG_H # include <config.h> #endif #include "HigherStat.h" #include "PowerSpectrum.h" #include "LinearPS.h" #include "Quadrature.h" #include "SpecialFunctions.h" #include "array.h" #include "Spline.h" #include <gsl/gsl_sf_bessel.h> #include <gsl/gsl_deriv.h> #include <cassert> #include <cmath> #include <cs...
// // VecAmalgam.cpp // BitCombiner // // Created by <NAME> on 26/11/2018. // Copyright © 2018 <NAME>. All rights reserved. // #include "VecAmalgam.hpp" VecAmalgam::VecAmalgam() { __zeros = _mm_set1_ps(0.f); __ones = _mm_set1_ps(1.f); __negOnes = _mm_set1_ps(-1.f); __halfs = _mm_set1_ps(0.5f); ...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <graphics.h> #include <bios.h> #include <conio.h> #include <ctype.h> #include <time.h> #include <dos.h> #define ESC 0x11b #define Up 0x4800 #define Down 0x5000 #define Left 0x4b00 #define Right 0x4d00 #define Ok 0x1c0d #define Max 1000 #define Max_ma...
/***************************************************************************** Copyright (c) 2020, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation....
#include "unpack.h" //#include "storm/pkware.h" #define min(a, b) (((a) < (b)) ? (a) : (b)) typedef struct replay_enc_s { byte *src; /* point32_ter to start of encoded section */ int32_t m04; /* */ byte *m08; /* buffer */...
/* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ //#define DEBUGTAG "Session" #include "Session.h" #include <syscall.h> #include <sys/prctl.h> #include <algorithm> #include "rr/rr.h" #include "AutoRemoteSyscalls.h" #include "EmuFs.h" #include "kernel_metadata.h" #include "log.h" #i...
// MFEM Example 3 - Parallel Version // // Compile with: make ex3p // // Sample runs: mpirun -np 4 ex3p -m ../data/star.mesh // mpirun -np 4 ex3p -m ../data/square-disc.mesh -o 2 // mpirun -np 4 ex3p -m ../data/beam-tet.mesh // mpirun -np 4 ex3p -m...
#include "Browser.h" #define CODEITEM "37138531426314131252341829483370" #define STRUCTITEM "37138531426314131252341829483380" #define BEGINSTYLE "05600065144404261032431302351956" #define ENDSTYLE "96390100711032703541132217272105" static const char styles[] = "[ $$0,0#00000000000000000000000000000000:...
#include "DirectXDevice.h" using namespace DX11Engine; DX11Engine::DirectXDevice::DirectXDevice(int width, int height, BOOL windowed, CCamera camera, D3DXCOLOR background) : Background(background), m_vs(VertexShader(L"VertexShader.hlsl", "main")), m_ps(PixelShader(L"StandardShader.hlsl", "main")), m_unlit(PixelSh...
#include "misc.h" #include "../anti-aim/antiaim.h" c_misc g_misc; void c_misc::bunnyhop( CUserCmd *cmd ) { if( !g_cl.m_local ) return; uint8_t move_type = g_cl.m_local->get_move_type( ); if( move_type == MOVETYPE_LADDER || move_type == MOVETYPE_NOCLIP ) return; static bool last_jumped = false, ...
// // tests.cpp // lpm // // Created by <NAME> on 2019-01-28. // #include "tests.hpp" #include <cassert> #include <cmath> #include <iostream> #include <sstream> #include <string> #include <unordered_map> #include <boost/filesystem.hpp> #include <gsl/gsl_cdf.h> #include <gsl/gsl_randist.h> #include <gsl/gsl_stati...
/* Copyright (C) 2010-2014 University of Houston. All Rights Reserved. */ /* Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free...
/***************************************************************************** * Short Title: object definitions for Biosphere Genetic Algorithm * * Comments: * * <license text> *****************************************************************************/ #include <sstream> #include <stdexcept> #include <boost/foreac...
/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2012, <NAME>, all rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * The software is provide...
// This file is part of comma, a generic and flexible library // Copyright (c) 2011 The University of Sydney // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // 1. Redistributions of source cod...
/** * Copyright by <NAME> * Research Group Applied Systems Biology - Head: Prof. Dr. <NAME> * https://www.leibniz-hki.de/en/applied-systems-biology.html * HKI-Center for Systems Biology of Infection * Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Insitute (HKI) * Adolf-Reichwei...
// Style: http://geosoft.no/development/cppstyle.html #include <cstdio> #include <ctime> #include <iostream> #include <string> #include <vector> #include <deque> #include <boost/filesystem.hpp> #include <GL/glew.h> #include <GLFW/glfw3.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gt...
/* Copyright (c) 2017 Mobile Robots Laboratory at Poznan University of Technology: -<NAME> name.surname [at] put.poznan.pl 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 witho...
/* * Copyright (c) 2009-2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, p...
#include "common/options.h" #include "ros/ros.h" #include "std_msgs/String.h" #include "std_msgs/Empty.h" #include <sstream> #include <iostream> #include <string> #include <boost/filesystem.hpp> #include <boost/format.hpp> #include <boost/regex.hpp> #include <but_velodyne/VelodynePointCloud.h> #include <pcl/common/...
#include "stdafx.h" #include "CreatePMTPacket.h" CCreatePMTPacket::CCreatePMTPacket(void) { this->needCaption = TRUE; this->needData = TRUE; this->lastPmtPID = 0xFFFF; this->lastPcrPID = 0xFFFF; this->lastPgNumber = 0xFFFF; this->lastVersion = 0xFF; this->createVer = 0; this->createCounter = 0...
// Copyright 2015 Google Inc. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
/* * Copyright (C) 2016 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
#define __STDC_FORMAT_MACROS 1 #include "gpuPostProcess.hpp" #include "Config.hpp" #include "buffer.h" #include "chimeMetadata.h" #include "errors.h" #include "output_formating.h" #include "util.h" #include "version.h" #include "fmt.hpp" #include <arpa/inet.h> #include <assert.h> #include <errno.h> #include <fcntl.h...
#include "window-extra-browsers.hpp" #include "window-dock-browser.hpp" #include "window-basic-main.hpp" #include "qt-wrappers.hpp" #include <QLineEdit> #include <QHBoxLayout> #include <QUuid> #include <json11.hpp> #include "ui_OBSExtraBrowsers.h" using namespace json11; #define OBJ_NAME_SUFFIX "_extraBrowser" en...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/app_list/app_list_bubble_border.h" #include "third_party/skia/include/core/SkPath.h" #include "third_party/skia/include/core/SkPaint.h" ...
#include "auv_navigation/test_node.hpp" namespace Eigen { template <typename X, typename BinOp> struct ScalarBinaryOpTraits<CppAD::AD<X>, X, BinOp> { typedef CppAD::AD<X> ReturnType; }; template <typename X, typename BinOp> struct ScalarBinaryOpTraits<X, CppAD::AD<X>, BinOp> { typedef CppAD::AD<X> ReturnType;...
#include "TrackerMenus.h" //#include <sys_apps/Tracker/Icons.h> #include <Entry.h> #include <Directory.h> #include <Path.h> #include <NodeInfo.h> #include <Bitmap.h> #include <Roster.h> #include <FindDirectory.h> #include <Volume.h> #include <VolumeRoster.h> #include <locale/Locale.h> #include "tracker_private.h" #...
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "build/build_config.h" #if defined(OS_WIN) #include <windows.h> #include <cryptuiapi.h> #pragma comment(lib, "cryptui.lib") #endif #include...
/* * Author: <NAME> * Copyright (c) 2017, Private Octopus, Inc. * All rights reserved. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THIS SOFTWARE ...
#include "cl_ext/cl_manager.h" #include "GLFW/glfw3.h" #include <iostream> #include <fstream> // some device setting code is from http://raytracey.blogspot.com/ void printErrorLog(const cl::Program& program, const cl::Device& device) { // Get the error log and print to console std::string buildlog = program...
// Copyright (c) 2018, <NAME>. All rights reserved. // Use of this source code is governed // by a MIT license that can be found in the LICENSE file. #include <iostream> #include <fstream> #include <assert.h> #include <vector> #include <algorithm> #include "include.hpp" #include <unistd.h> #include <map> #include <ss...
#pragma once #include "Engine/Core/DataUtils.hpp" #include "Engine/Core/Rgba.hpp" #include "Engine/Core/ThreadSafeQueue.hpp" #include "Engine/Core/TimeUtils.hpp" #include "Engine/Core/OrthographicCameraController.hpp" #include "Engine/Math/Vector2.hpp" #include "Engine/Renderer/Camera2D.hpp" #include "Gam...
#include "loadbalance/MPILoadBalancer.h" #include <mpi.h> // #define WORKTAG 1 // #define DIETAG 2 LoadBalancer :: LoadBalancer(int argc, char *argv[]) { numFiles = atoi(argv[1]); l1Folder = string(argv[2]); l2Folder = string(argv[3]); l1MBRFolder = string(argv[4]); l2MBRFolder = s...
/* * Copyright (c) 2020 <NAME> * 31515 Wunstorf (Hannover) Germany * Licensed under the Apache License, Version 2.0); */ #include "main.h" #ifdef FEATURE_NVPROPERTY #include <NVPropertyProviderInterface.h> #include "NVProperty.h" #endif #include "GenericPingPong.h" #include "RadioTest.h" #include "ProgramInterfac...
/* * Copyright (c) 2019 Trail of Bits, 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 o...
// This file is part of Notepad2. // See License.txt for details about distribution and modification. //! Lexer for Java, Android IDL, BeanShell. #include <cassert> #include <cstring> #include <string> #include <string_view> #include "ILexer.h" #include "Scintilla.h" #include "SciLexer.h" #include "WordList.h" #inc...
/* Copyright (c) <2003-2016> <<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 ...
#define USE_OPENGL2 #ifdef USE_OPENGL2 #include "OpenGLWindow/SimpleOpenGL2App.h" typedef SimpleOpenGL2App SimpleOpenGLApp ; #else #include "OpenGLWindow/SimpleOpenGL3App.h" typedef SimpleOpenGL3App SimpleOpenGLApp ; #endif //USE_OPENGL2 #include "Bullet3Common/b3Quaternion.h" #include "Bullet3Common/b3CommandLine...
#include "NDFileHDF5Dataset.h" #include <iostream> #include <stdlib.h> #include <osiSock.h> #include <hdf5_hl.h> #define htonll(x) ( ( (uint64_t)(htonl( (uint32_t)((x << 32) >> 32)))<< 32) | htonl( ((uint32_t)(x >> 32)) )) static const char *fileName = "NDFileHDF5Dataset"; /** Constructor. * \param[in] pAsynUser -...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
/* see copyright notice in squirrel.h */ #include "sqpcheader.h" #include "sqopcodes.h" #include "sqvm.h" #include "sqfuncproto.h" #include "sqclosure.h" #include "sqstring.h" #include "sqtable.h" #include "sqarray.h" #include "squserdata.h" #include "sqclass.h" SQObjectPtr _null_; SQObjectPtr _true_(true); SQObjectP...
/* * Copyright 2016 Bjango Pty Ltd. All rights reserved. * Copyright 2010 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain th...
#include "AsRigidAsPossibleWarping.h" ContentPreservingWarp::ContentPreservingWarp(int height, int width, double quadWidth, double quadHeight){ this->source = new Mesh(height, width, quadWidth, quadHeight); this->destin = new Mesh(height, width, quadWidth, quadHeight); this->imgHeight = height; this->imgWidth = w...
/* * Copyright 2015 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/gpu/GrBackendSurface.h" #include "include/gpu/GrContextOptions.h" #include "include/gpu/GrSurface.h" #include "include/private/GrTypesPriv.h" #include "src/g...
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // 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 restrictio...
/* Copyright (c) 2010-2016, <NAME> - IntRoLab - Universite de Sherbrooke 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 ...
/** * Monte Carlo studies for anode LCTs. * * <NAME> May 26, 2004. * Porting from ORCA by <NAME> in September 2006. * * */ #include "FWCore/Utilities/interface/Exception.h" #include "FWCore/MessageLogger/interface/MessageLogger.h" #include "Geometry/CSCGeometry/interface/CSCGeometry.h" #include "Geometry/CSCG...
#include <stdlib.h> #include "gbConfig.h" #include "gbGlobals.h" #include "instructions.h" #include "nes.h" #include "ppu.h" #include "backend.h" #include "apu.h" struct mapper { void (*reset)(); void (*access)(unsigned int address, unsigned char data); }; extern struct mapper *mapper; static unsigned char zero_fla...
// Copyright (c) 2019 PaddlePaddle 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...
/** * Non-metric Space Library * * Main developers: <NAME>, <NAME>, <NAME>, <NAME>, <NAME> * * For the complete list of contributors and further details see: * https://github.com/searchivarius/NonMetricSpaceLib * * Copyright (c) 2013-2018 * * This code is released under the * Apache License Version 2.0 http:...
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup() { ofSetBackgroundColor(ofColor::white); ofSetFrameRate(60); ofSetBackgroundAuto(false); preferences = preferences_init(); ui.preferences = &preferences; // Set the player volume to the user's preferred vo...
// VillageGen.cpp // Implements the cVillageGen class representing the village generator #include "Globals.h" #include "VillageGen.h" #include "Prefabs/AlchemistVillagePrefabs.h" #include "Prefabs/JapaneseVillagePrefabs.h" #include "Prefabs/PlainsVillagePrefabs.h" #include "Prefabs/SandVillagePrefabs.h" #include "Pr...
#include "eager_search.h" #include "evaluation_context.h" #include "g_evaluator.h" #include "globals.h" #include "heuristic.h" #include "option_parser.h" #include "plugin.h" #include "successor_generator.h" #include "sum_evaluator.h" #include <cassert> #include <cstdlib> #include <set> using namespace std; EagerSear...
/* * Copyright (C) 2021 <NAME>. All rights reserved. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception */ #include "lldb/API/SBBlock.h" #include "lldb/API/SBCompileUnit.h" #include "lldb/API/SBCommandReturnObject.h" #include "lldb/API/SBCommandInterpreter.h" #include "lldb/API/SBBreakpointLocation.h" #incl...
/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2017-2020, Waterplus http://www.6-robot.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
#include "RecoEcal/EgammaClusterAlgos/interface/SCEnergyCorrectorSemiParm.h" #include "FWCore/Utilities/interface/isFinite.h" #include "FWCore/Utilities/interface/Transition.h" #include "DataFormats/EcalDetId/interface/EcalSubdetector.h" #include "DataFormats/VertexReco/interface/Vertex.h" #include "DataFormats/Math/i...
/* The MIT License (MIT) Copyright (c) [2016] [BTC.COM] 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, me...
/* * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * 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 ...
/********************************************************************************* - Contact: <NAME> <EMAIL> - Link: http - Raw data test file : - Reference run number : - Run Type: PHYSICS - DA Type: MON - Number of events needed: >=500 - Input Files: argument list - Output Files: ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * 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. */ #include <algorithm> #include <chrono> #include <cmath> #include <iomanip> #include <iostream> #include <...
/* * GStreamer * Copyright (C) 2013 <NAME> <<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, modi...
/* Open source clone of <NAME>'s Wizmo utility (https://www.grc.com/wizmo/wizmo.htm). Written by <NAME> ----------------------------------------------------------------------------- * Copyright (c) <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * m...
/* Copyright (c) 2003, 2016, Oracle 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 as published by the Free Software Foundation; version 2 of the License. This program is distributed i...
#include<bits/stdc++.h> using namespace std; const int N = 3e5 + 9, mod = 998244353; struct base { double x, y; base() { x = y = 0; } base(double x, double y): x(x), y(y) { } }; inline base operator + (base a, base b) { return base(a.x + b.x, a.y + b.y); } inline base operator - (base a, base b) { return ...
/* * 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 "hermes/BCGen/Lowering.h" #include "hermes/IR/Analysis.h" #include "hermes/IR/CFG.h" #include "hermes/IR/IR.h" #include "he...
// // $Id: CombatNavMethod.cpp,v 1.46 2005/12/14 20:23:27 clamatius Exp $ // Copyright (c) 2003, WhichBot Project // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistribution...
#include <basic/camera.h> #include <basic/shader.h> #include <basic/program.h> #include <stb_image.h> #include <iostream> #include <memory> using namespace std; void OnFramebufferSize(GLFWwindow* window, int width, int height); void OnMouse(GLFWwindow* window, double xpos, double ypos); void OnScroll(GLFWwindow* win...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #include <exception> #include <iomanip> #include <gflags/gflags.h> #include <glog/logging.h> #include "flashlight/app/commo...
#include <vector> #include <iostream> #include <string> #include <tuple> #include <deque> #include <map> #include <set> #include <boost/program_options.hpp> namespace po = boost::program_options; #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <...
static const LabelId Labels0[] = {4,-1,73,} /* Punctuation;-;DEConj */ ; static const LabelId Labels1[] = {34,} /* DECon */ ; static const LabelId Labels2[] = {34,116,} /* DECon;DENegWord */ ; static const LabelId Labels3[] = {34,116,-1,35,37,} /* DECon;DENegWord;-;DEAdv;DEAdvDirection */ ; static const LabelId Labels4...
#include "gtest/gtest.h" #include <aliLuaCore.hpp> #include <aliLuaExt.hpp> #include <aliSystem.hpp> #include <aliLuaTest_util.hpp> #include <lua.hpp> namespace { const std::string name = "myObj"; char suffixChar = 'a'-1; struct MyObj { MyObj(int iVal_, int jVal_) : iVal(iVal_), jVal(jVal_) {} friend st...
// Copyright 2018-2020 <NAME> (Falcons) // SPDX-License-Identifier: Apache-2.0 // Copyright 2014-2019 <NAME> // SPDX-License-Identifier: Apache-2.0 // The goal of the Line Point Detection is to provide a line points to fieldLut / Solver // to determine the position of the robot on the soccer field. // The line points...
/* * (C) Copyright 1996-2016 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...
#include <string.h> #include <stdio.h> #include <errno.h> #include <unistd.h> #include <fcntl.h> #include <stdlib.h> #include <pthread.h> #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Text_Editor.H> #include <FL/Fl_Button.H> #include <string> // std::string #include <signal.h> // kill() #include <...
#include "evaluator.h" queue<pair<stmt_type, statement *> > stmt_queue; extern catalog_manager catm; extern string base_addr; extern RecordManager RecordManager; extern BufferManager BufferManager; extern IndexManager IndexManager; extern ifstream bat; extern int yyparse(); typedef struct yy_buffer_state *YY_BUFFER_S...
//////////////////////////////////////////////////////////////////////////// // Module : xrServer_Object_Base.cpp // Created : 19.09.2002 // Modified : 16.07.2004 // Author : <NAME>, <NAME>, <NAME> and <NAME> // Description : Server base object /////////////////////////////////////////////////////////////////////...
/*************************************************************************** * Copyright 1998-2018 by authors (see AUTHORS.txt) * * * * This file is part of LuxCoreRender. * * ...
#include "sim/GroundTrail3D.h" #include "util/PerlinNoise.h" #include "util/FileUtil.h" #include "util/PerlinNoise.h" #define MAKE_EASIER const double gTrailSegLen = 2; cGroundTrail3D::tTrailSeg::tTrailSeg() { mStart.setZero(); mEnd.setZero(); mWidth = 1; } void cGroundTrail3D::tTrailSeg::BuildAABB(tVector& out_...