text
stringlengths
54
60.6k
<commit_before>#include <DuiApplicationWindow> #include <DuiApplication> #include <QDBusInterface> #include <QDebug> #include "lockscreenui.h" #include "lockscreenbusinesslogic.h" LockScreenBusinessLogic::LockScreenBusinessLogic(QObject* parent) : QObject(parent), display(NULL), lockUI(NULL) {...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2013-2014. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //=================================...
<commit_before>#if !defined( __CINT__) || defined(__MAKECINT__) #include <AliRun.h> #include <AliStack.h> #include <AliLoader.h> #include <AliRunLoader.h> #include "AliRICH.h" #include "AliRICHDisplFast.h" #endif //globals for easy manual manipulations AliRun *a; AliStack *s; AliRunLoader *al; AliRICH *r; AliL...
<commit_before>/* * Asynchronous local file access. * * author: Max Kellermann <mk@cm4all.com> */ #include "istream_file.hxx" #include "istream_buffer.hxx" #include "buffered_io.hxx" #include "system/fd_util.h" #include "gerrno.h" #include "pool.hxx" #include "fb_pool.hxx" #include "SliceFifoBuffer.hxx" #include "...
<commit_before>#include "memory.hpp" #include "memory/immix_collector.hpp" #include "memory/immix_marker.hpp" #include "capi/handles.hpp" #include "capi/tag.hpp" #include "object_watch.hpp" #include "configuration.hpp" #include "instruments/timing.hpp" #include "util/logger.hpp" #ifdef ENABLE_LLVM #include "llvm/s...
<commit_before>// // This file is part of the Marble Desktop Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2006-2007 Torsten Rahn <tackat@kde.org>" // Copyright 2007 Inge Wall...
<commit_before>#include "shape/sphere.h" namespace AT_NAME { static AT_DEVICE_API void getUV(real& u, real& v, const aten::vec3& p) { auto phi = aten::asin(p.y); auto theta = aten::atan(p.x / p.z); u = (theta + AT_MATH_PI_HALF) / AT_MATH_PI; v = (phi + AT_MATH_PI_HALF) / AT_MATH_PI; } sphere::sphere(cons...
<commit_before>#include <iostream> #include "SDL.h" #include "fxgl_controllerinput.h" SDL_GameController* controllers[10]; int num_controllers = 0; /* * Class: com_almasb_fxgl_controllerinput_impl_GameControllerImpl * Method: getBackendVersion * Signature: ()I */ JNIEXPORT jint JNICALL Java_com_almasb_fxg...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "config.h" #include "webkit/glue/image_decoder.h" #include "base/compiler_specific.h" #include "third_party/skia/include...
<commit_before>#ifndef VIENNAFVM_QUANTITY_HPP #define VIENNAFVM_QUANTITY_HPP /* ======================================================================= Copyright (c) 2011, Institute for Microelectronics, TU Wien http://www.iue.tuwien.ac.at ----------------- ViennaFVM - The...
<commit_before>#include "qmljslink.h" #include "parser/qmljsast_p.h" #include "qmljsdocument.h" #include "qmljsbind.h" #include <QtCore/QFileInfo> #include <QtCore/QDir> #include <QtCore/QDebug> using namespace QmlJS; using namespace QmlJS::Interpreter; using namespace QmlJS::AST; Link::Link(Context *context, Docum...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * 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 ...
<commit_before>/* * File: multi_unbounded_queue.hpp * Author: Barath Kannan * Vector of unbounded queues. Enqueue operations are assigned a subqueue, * which is used for all enqueue operations occuring from that thread. The dequeue * operation maintains a list of subqueues on which a "hit" has occured - pertaini...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#include "RTSPluginPCH.h" #include "RTSProductionComponent.h" #include "GameFramework/Actor.h" #include "GameFramework/Controller.h" #include "Engine/BlueprintGeneratedClass.h" #include "Engine/SCS_Node.h" #include "Kismet/GameplayStatics.h" #include "RTSGameMode.h" #include "RTSProductionCostComponent...
<commit_before>// // AudioListener.cpp // Created by Matt Kaufmann on 04/10/14. // #include "Vajra/Common/Messages/Message.h" #include "Vajra/Common/Objects/Object.h" #include "Vajra/Engine/AudioManager/AudioManager.h" #include "Vajra/Engine/Components/ComponentTypes/ComponentTypeIds.h" #include "Vajra/Engine/Componen...
<commit_before>// The MIT License (MIT) // Copyright (c) 2012-2013 Danny Y., Rapptz // 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 limitatio...
<commit_before>#include <iostream> #include <External/gl_core_3_3.hpp> #include <SDL2/SDL.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <Base/Filesystem/File.h> #include "messagebox.h" using namespace gl; int keyPressed[SDL_NUM_SCANCODES] = {0}; int WINDOW_WIDTH = 1280, WINDOW_HE...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: ImageRegistrationHistogramPlotter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights re...
<commit_before>#include <GarrysMod/Lua/Interface.h> #include <GarrysMod/Lua/LuaInterface.h> #include <SymbolFinder.hpp> #include <MologieDetours/detours.h> #include <stdexcept> #include <stdint.h> #include <stdio.h> #include <sha1.h> #if defined _WIN32 #define snprintf _snprintf #define FASTCALL __fastcall #define T...
<commit_before> #include <vector> #include "geometry/permutation.hpp" #include "geometry/orthogonal_map.hpp" #include "geometry/r3_element.hpp" #include "glog/logging.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "quantities/si.hpp" #include "testing_utilities/almost_equals.hpp" using principia::quant...
<commit_before>/* * Copyright (c) 2018 https://www.thecoderscorner.com (Nutricherry LTD). * This product is licensed under an Apache license, see the LICENSE file in the top-level directory. */ #include <inttypes.h> #include <Arduino.h> #include "TaskManager.h" TaskManager taskManager; TimerTask::TimerTask() { n...
<commit_before>/* Copyright (c) 2017-2020 Hans-Kristian Arntzen * * 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, c...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <RakPeer.h> #include <set> #include <thread> #include <map> #include <vector> #include <random> #include <algorithm> #undef REGISTERED #include "../Core/common.cpp" using namespace gameplay; #include "../Core/Message.h" using namespace std...
<commit_before>#include "global_cached_private.h" static void __complete_req(io_request *orig, thread_safe_page *p) { int page_off = orig->get_offset() - ROUND_PAGE(orig->get_offset()); p->lock(); if (orig->get_access_method() == WRITE) { unsigned long *l = (unsigned long *) ((char *) p->get_data() + page_of...
<commit_before>/* * Copyright 2018 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "gm/gm.h" #include "include/core/SkCanvas.h" #include "include/core/SkColor.h" #include "include/core/SkMatrix.h" #include "include/core/SkPaint.h" #in...
<commit_before>// KMail startup and initialize code // Author: Stefan Taferner <taferner@alpin.or.at> #ifdef HAVE_CONFIG_H #include <config.h> #endif #include <sys/types.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <kuniqueapplication.h> #include <klocale.h> #include <kgl...
<commit_before>/* Copyright 2015-2018 Egor Yusov * * 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 * * THE SOFTWARE IS PRO...
<commit_before>#include "TestRunner.h" #include <atomic> #include <future> #include <limits> #include <mutex> #include <random> #include <vector> #include "DefaultReporter.h" #include "Fact.h" #include "TestCollection.h" #include "TestDetails.h" #include "xUnitAssert.h" namespace { class ActiveTests ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #ifndef _Stroika_Foundation_Execution_Sleep_inl_ #define _Stroika_Foundation_Execution_Sleep_inl_ 1 /* ******************************************************************************** ***************************** Implement...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved */ #ifndef _Stroika_Foundation_Traversal_Range_inl_ #define _Stroika_Foundation_Traversal_Range_inl_ #include "../Debug/Assertions.h" #include "../Math/Overlap.h" namespace Stroika { namespace Foundation { ...
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_ASSEMLBER_LOCAL_CODIM1_MATRIX_HH #define DUNE_DETAILED_DISCRETIZATIONS_ASSEMLBER_LOCAL_CODIM1_MATRIX_HH // std includes #include <vector> // local includes //#include "vector.hh" namespace Dune { namespace Detailed { namespace Discretizations { namespace Assemb...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: macrodlg.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-07 20:06:02 $ * * The Contents of this file are made ...
<commit_before>#include <set> #include <vector> #include "entitysystem.h" #include "cmapclient.h" #include "cmapserver.h" #include "connection.h" #include "systems/chatsystem.h" #include "systems/inventorysystem.h" #include "systems/luasystem.h" #include "systems/mapsystem.h" #include "systems/movementsystem.h" #inclu...
<commit_before>#include "ReverbModule.h" #include "../Random.h" #include <algorithm> #include <cstdlib> #include <cstdio> #include "SDL.h" ReverbModule::ReverbModule(ModularSynth& synth) :SynthModule(synth, moduleId, 2, 1, 0), mHead(0), mBuffer(NULL) { Random rnd; rnd.seed(rand()); for (int i = 0 ; i < numTaps ; ...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Baozeng Ding <sploving1@gmail.com> // author: Vassil Vassilev <vasil.georgiev.vasilev@cern.ch> // // This file is dual-licensed: you can choose to license it under t...
<commit_before>#ifndef HTTP_CLIENT_HH #define HTTP_CLIENT_HH #include "http/http_message.hh" #include "shared_pool.hh" #include "buffer.hh" namespace ten { class http_client { private: std::shared_ptr<netsock> s; buffer buf; void ensure_connection() { if (s && s->valid()) return; s.reset...
<commit_before>/****************************************************************************** * $Id$ * * Project: libLAS - http://liblas.org - A BSD library for LAS format data. * Purpose: LAS Dimension implementation for C++ libLAS * Author: Howard Butler, hobu.inc@gmail.com * *****************************...
<commit_before>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <max_clique/tbmcsabin_max_clique.hh> #include <max_clique/colourise.hh> #include <max_clique/print_incumbent.hh> #include <threads/atomic_incumbent.hh> #include <threads/queue.hh> #include <graph/degree_sort.hh> #include <algorithm> #include <li...
<commit_before>/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* This library is free software; you can redistribute it and/or */ /* modify it under the terms of the GNU Lesser General Public */ /* License as published by the Free Software Foundation; either */ /* version 2.1 o...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved */ #include "../StroikaPreComp.h" #include <set> #include "StroikaConfig.h" #include "../Characters/Format.h" #include "../Characters/SDKString.h" #include "../Execution/Exceptions.h" #include "../Execution/Throw.h" #include ...
<commit_before>/* open source routing machine Copyright (C) Dennis Luxen, others 2010 This program is free software; you can redistribute it and/or modify it under the terms of the GNU AFFERO General Public License as published by the Free Software Foundation; either version 3 of the License, or any later vers...
<commit_before>/*========================================================================= * * Copyright Leiden University Medical Center, Erasmus University Medical * Center and contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2010 Shantanu Tushar <shaan7in@gmail.com> * Copyright (C) 2010 Laszlo Papp <lpapp@kde.org> * * This library is free software; you can redistribute it ...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>#include <iostream> #include <string> #include <soa.h> void print_soa_iis(const SoA<int, std::string, int> &soa_iis) { for (int i = 0; i < soa_iis.size(); ++i) { std::cout << "(" << i << "): " << soa_iis.get<0>(i) << ", \"" << soa_iis.get<1>(i) << "\", " << soa_iis.get...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/*========================================================================= * * Copyright David Doria 2012 daviddoria@gmail.com * * 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 L...
<commit_before>/* $Id$ */ // Script to create calibration parameters and store them into CDB // Two sets of calibration parameters can be created: // 1) equal parameters // 2) randomly distributed parameters for decalibrated detector silumations #if !defined(__CINT__) #include "TControlBar.h" #include "TString.h" #in...
<commit_before> void ProofEnableAliRoot(const char* location = "/usr/local/grid/AliRoot/v4-05-Release") { // enables a locally deployed AliRoot in a PROOF cluster printf("Load libraries: %s \n",location); gProof->Exec(Form("TString str(gSystem->ExpandPathName(\"%s\")); gSystem->Setenv(\"ALICE_ROOT\", str);", loc...
<commit_before>AliFourPion *AddTaskFourPion( Bool_t MCcase=kFALSE, Bool_t TabulatePairs=kFALSE, Int_t CentBinLowLimit=0, Int_t CentBinHighLimit=1, TString StWeightName="alien:///alice/cern.ch/user/d/dgangadh/WeightFile_FourPion.root", TString StMomResName="alien:///alice/cer...
<commit_before>/* * File: Scene.hpp * Author: Benedikt Vogler * * Created on 8. Juli 2014, 18:54 */ #ifndef SCENE_HPP #define SCENE_HPP #include "Material.hpp" #include "Camera.hpp" #include "LightPoint.hpp" #include "RenderObject.hpp" #include <map> struct Scene { std::map<std::string, Material> materia...
<commit_before>/** * This file is part of the CernVM File System. */ #include "swissknife_lease_curl.h" #include "cvmfs_config.h" size_t RecvCB(void* buffer, size_t size, size_t nmemb, void* userp) { CurlBuffer* my_buffer = static_cast<CurlBuffer*>(userp); if (size * nmemb < 1) { return 0; } my_buffe...
<commit_before>/* * Copyright 2016 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
<commit_before>#include "framework/trace.h" #include <fstream> #include <memory> #include <mutex> #include <sstream> #include <thread> namespace { using OpenApoc::UString; enum class EventType { Begin, End, }; class TraceEvent { public: EventType type; UString name; std::vector<std::pair<UString, UString>> a...
<commit_before>#include <iostream> using namespace std; class Solution { public: int myAtoi(string str) { int begin = 0; while (str[begin] == ' ') { begin++; } long max_int = INT_MAX; long min_int = INT_MIN; bool negative = false; if (...
<commit_before>#include "ray/gcs/redis_context.h" #include <unistd.h> #include <sstream> extern "C" { #include "hiredis/adapters/ae.h" #include "hiredis/async.h" #include "hiredis/hiredis.h" } // TODO(pcm): Integrate into the C++ tree. #include "state/ray_config.h" namespace { /// A helper function to call the ca...
<commit_before>/* * Copyright (C) 2004 Justin Karneges * Copyright (C) 2004 Brad Hards <bradh@frogmouth.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2....
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope...
<commit_before>/* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 Clifford Wolf <clifford@symbioticeda.com> * Copyright (C) 2018 David Shah <david@symbioticeda.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby gran...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkContourFilter.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. Redistr...
<commit_before>#include "script_system.h" #include <Windows.h> #include <cstdio> #include "core/crc32.h" #include "core/file_system.h" #include "core/ifile.h" #include "core/json_serializer.h" #include "core/log.h" #include "core/pod_array.h" #include "engine/engine.h" #include "universe/universe.h" #include...
<commit_before>AliAnalysisTaskNewJetSubstructure* AddTaskNewJetSubstructure(const char * njetsBase, const char * njetsUS, const char * njetsTrue, const char * njetsPartLevel, const Double_t R,...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // avail...
<commit_before>/* * Copyright 2013 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkBenchmark.h" #include "SkBlurMask.h" #include "SkBlurMaskFilter.h" #include "SkCanvas.h" #include "SkColorFilter.h" #include "SkLayerDrawLooper.h" #inclu...
<commit_before>/** * File : D.cpp * Author : Kazune Takahashi * Created : 2018-4-7 21:10:12 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // ...
<commit_before>/** * File : F.cpp * Author : Kazune Takahashi * Created : 2018-4-15 23:25:04 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> //...
<commit_before>/** * File : B.cpp * Author : Kazune Takahashi * Created : 2018-6-3 21:04:40 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> // ...
<commit_before>/** * File : C.cpp * Author : Kazune Takahashi * Created : 2018-8-25 20:45:21 * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #include <string> //...
<commit_before>#define DEBUG 1 /** * File : D.cpp * Author : Kazune Takahashi * Created : 3/9/2019, 9:11:28 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> // << fixed << setprecision(xxx) #include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ; #include <vector> #...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 11/18/2019, 8:58:07 PM * Powered by Visual Studio Code */ #include <iostream> #include <iomanip> #include <algorithm> #include <vector> #include <string> #include <complex> #include <tuple> #include <queue> #include <stac...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 4/23/2020, 7:08:47 PM * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <cmath> #include <complex> #include <cstdint> #include <cstdi...
<commit_before>#define DEBUG 1 /** * File : E.cpp * Author : Kazune Takahashi * Created : 2020/6/23 1:01:43 * Powered by Visual Studio Code */ #include <algorithm> #include <bitset> #include <cassert> #include <cctype> #include <chrono> #include <climits> #include <cmath> #include <complex> #include <cstdint> ...
<commit_before>//===--- Action.cpp - The LLVM Compiler Driver ------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open // Source License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// This file is part of the dune-stuff project: // https://users.dune-project.org/projects/dune-stuff // Copyright holders: Rene Milk, Felix Schindler // License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) // // Contributors: Sven Kaulmann #ifndef DUNE_STUFF_DISCRETEFUNCTION_PR...
<commit_before>#include "souper/Infer/DataflowPruning.h" namespace souper { namespace { using souper::dataflow::EvalValue; using souper::dataflow::ValueCache; EvalValue evaluateInstRecursive(souper::Inst* Inst, std::vector<EvalValue> args) { switch (Inst->K) { case souper::Inst::...
<commit_before>#include "HotkeyManager.h" #include "Logger.h" HotkeyManager *HotkeyManager::instance = NULL; HotkeyManager *HotkeyManager::Instance() { return instance; } HotkeyManager *HotkeyManager::Instance(HWND notifyWnd) { if (instance == NULL) { instance = new HotkeyManager(); instance-...
<commit_before>// Copyright (c) 2015, Matthew Malensek. // Distributed under the BSD 2-Clause License (see LICENSE.txt for details) #include "HotkeyManager.h" #include "Logger.h" #include "SyntheticKeyboard.h" HotkeyManager *HotkeyManager::instance = NULL; std::unordered_map<UINT, std::wstring> HotkeyManager::_vkSt...
<commit_before>#include "VolumeOSD.h" #include "..\SoundPlayer.h" #include <string> #include "..\HotkeyInfo.h" #include "..\MeterWnd\Meters\CallbackMeter.h" #include "..\Monitor.h" #include "..\Skin.h" #include "..\SkinManager.h" #include "..\Slider\VolumeSlider.h" #include "..\MeterWnd\LayeredWnd.h" #define MENU_S...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>/* -*-c++-*- * Copyright (C) 2009 Cedric Pinson <cedric.pinson@plopbyte.net> * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE ...
<commit_before>/* MIT License Copyright (c) 2017 Leonid Keselman 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, ...
<commit_before>/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Written (W) 2012 Michal Uricar * Copyright ...
<commit_before>// // Copyright (c) 2018-2020, University of Edinburgh, University of Oxford // 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 ...
<commit_before>/* 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 appl...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-443271. // // This file is part of the GLVis visualization tool and library. For more // informatio...
<commit_before>/* +---------------------------------------------------------------------------+ | The Mobile Robot Programming Toolkit (MRPT) | | | | http://www.mrpt.org/ ...
<commit_before>// // LookupTable takes PolyData as input // #ifndef __vlLookupTable_h #define __vlLookupTable_h #include "Object.hh" #include "RGBArray.hh" class vlLookupTable : public vlObject { public: vlLookupTable(); int Initialize(const int sz=256, const int ext=256); int GetTableSize(); void Build(); ...
<commit_before>/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <cassert> #include <cstdlib> #include <uavcan/global_data_type_registry.hpp> #include <uavcan/internal/debug.hpp> namespace uavcan { const GlobalDataTypeRegistry::List* GlobalDataTypeRegistry::selectList(DataTypeKind kind)...
<commit_before>/* * Copyright (c) 2014 Jake Horsfield * * 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, mod...
<commit_before><commit_msg>Extract the group token conversion loop out into a separate class.<commit_after><|endoftext|>
<commit_before><commit_msg>Planning: add weight_end_dx on piecewise_jerk_speed<commit_after><|endoftext|>
<commit_before><commit_msg>fix coverity#1187656<commit_after><|endoftext|>
<commit_before>//---------------------------------------------------------------------------// /* Copyright (c) 2012, Stuart R. Slattery All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *: Re...
<commit_before>#ifndef STAN__MATH__MATRIX__EXP_HPP #define STAN__MATH__MATRIX__EXP_HPP #include <stan/math/matrix/Eigen.hpp> namespace stan { namespace math { /** * Return the element-wise exponentiation of the matrix or vector. * * @param m The matrix or vector. * @return ret(i,j) = ex...
<commit_before>#ifndef STAN__MATH__MATRIX__EXP_HPP #define STAN__MATH__MATRIX__EXP_HPP #include <stan/math/matrix/Eigen.hpp> namespace stan { namespace math { /** * Return the element-wise exponentiation of the matrix or vector. * * @param m The matrix or vector. * @return ret(i,j) = ex...
<commit_before>#pragma once #include "common/Emotemap.hpp" #include "messages/Image.hpp" #include "messages/Link.hpp" #include "messages/MessageColor.hpp" #include "singletons/Fonts.hpp" #include <QRect> #include <QString> #include <QTime> #include <boost/noncopyable.hpp> #include <cstdint> #include <memory> namesp...