text
stringlengths
54
60.6k
<commit_before>//======================================================================= // Copyright (c) 2014-2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>{ // display the various 2-d drawing options //Author: Rene Brun gROOT->Reset(); gStyle->SetOptStat(0); gStyle->SetPalette(1); gStyle->SetCanvasColor(33); gStyle->SetFrameFillColor(18); TF2 *f2 = new TF2("f2","xygaus + xygaus(5) + xylandau(10)",-4,4,-4,4); Double_t params[]...
<commit_before>#include "GameScene.h" #include "NNApplication.h" #include "PacketType.h" #include "NNNetworkSystem.h" #include "PacketHandler.h" CGameScene::CGameScene(void):m_NowGameKeyStates(),m_Angle(0),m_LastAngleChangedTime(timeGetTime()) { m_LoginHandler = new LoginHandler(); m_LoginBroadcastHandler =...
<commit_before>#include <stdlib.h> #include <iostream> #include "gc/baker.hpp" #include "objectmemory.hpp" #include "object_utils.hpp" #include "builtin/tuple.hpp" #include "builtin/class.hpp" #include "builtin/io.hpp" #include "call_frame.hpp" #include "gc/gc.hpp" #include "capi/handles.hpp" #include "capi/tag.hp...
<commit_before>/* * This program uses PGAPack to do its GA stuff. * ftp://ftp.mcs.anl.gov/pub/pgapack/pgapack.tar.Z * I used this one instead of galib because it uses MPI * to spread load around. It also seems like the API is a little * cleaner. */ #include <pgapack.h> #include "tmp/scores.h" #include "tm...
<commit_before>#include <stdio.h> #include <string.h> #include "xbyak/xbyak.h" #define NUM_OF_ARRAY(x) (sizeof(x) / sizeof(x[0])) using namespace Xbyak; struct TestJmp : public CodeGenerator { void putNop(int n) { for (int i = 0; i < n; i++) { nop(); } } /* 4 X0: 5...
<commit_before>/** * @file SquareMatrix.hpp * * A square matrix * * @author James Goppert <james.goppert@gmail.com> */ #pragma once #include <stdio.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "Matrix.hpp" namespace matrix { template <typename Type, size_t M, size...
<commit_before>#include <Bull/Graphics/Light/AbstractLight.hpp> namespace Bull { String AbstractLight::compose(const String& base, const String& member) { return base + "." + member; } LightType AbstractLight::getType() const { return m_type; } void AbstractLight::setAmbie...
<commit_before>// @(#)root/meta:$ // Author: Axel Naumann 2014-05-02 /************************************************************************* * Copyright (C) 1995-2014, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before><commit_msg>Control : add revser_speed logic<commit_after><|endoftext|>
<commit_before>/* * PlaylistManager.cpp ***************************************************************************** * Copyright © 2010 - 2011 Klagenfurt University * 2015 VideoLAN and VLC Authors * * This program is free software; you can redistribute it and/or modify it * under the terms of the GN...
<commit_before>/* * DOMParser.cpp ***************************************************************************** * Copyright (C) 2010 - 2011 Klagenfurt University * * Created on: Aug 10, 2010 * Authors: Christopher Mueller <christopher.mueller@itec.uni-klu.ac.at> * Christian Timmerer <christian.timmerer...
<commit_before>/*============================================================================*/ /* Copyright (C) 2008 by Vinnie Falco, this file is part of VFLib. See the file GNU_GPL_v2.txt for full licensing terms. This program is free software; you can redistribute it and/or modify it under the terms of the...
<commit_before>#pragma once #include "Structure.h" class SerialComs { public: struct ReadResult { bool status; enum class TypeOfPacket { HandShakePacket, VesselData } typeOfPacket; union { HandShakePacket handShakePacket; VesselData ...
<commit_before>/* * Sparsifiers.cpp * * Created on: 24.07.2014 * Author: Gerd Lindner */ #include "Sparsifiers.h" #include "../edgescores/ChibaNishizekiTriangleEdgeScore.h" #include "../edgescores/PrefixJaccardScore.h" #include "SimmelianOverlapScore.h" #include "MultiscaleScore.h" #include "LocalSimilarity...
<commit_before>/* * Copyright (C) 2013-2015 Daniel Nicoletti <dantti12@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your o...
<commit_before>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #pragma once #if !defined(RXCPP_OPERATORS_RX_OBSERVE_ON_HPP) #define RXCPP_OPERATORS_RX_OBSERVE_ON_HPP #include "../rx-includes.hpp" namespace rxcpp { namespace operat...
<commit_before>// 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 "android_webview/lib/main/aw_main_delegate.h" #include "android_webview/browser/aw_content_browser_client.h" #include "androi...
<commit_before>// Copyright (c) 2016, Dmitry Koplyarov <koplyarov.da@gmail.com> // // Permission to use, copy, modify, and/or 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. // // THE SOFTWARE IS...
<commit_before>/* Copyright (C) 2015 Andreas Hartmetz <ahartmetz@gmail.com> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option)...
<commit_before>// Example of the usage of the TRolke class #include "TROOT.h" #include "TSystem.h" #include "TRolke.h" #include "Riostream.h" void Rolke() { ////////////////////////////////////////////////////////// // // The TRolke class computes the profile likelihood // confidence limits for 7 different mode...
<commit_before>#include <time.h> timeonaxis() { // This macro illustrates the use of the time mode on the axis // with different time intervals and time formats. It's result can // be seen begin_html <a href="gif/timeonaxis.gif">here</a> end_html // Through all this script, the time is expressed in UTC. some // inform...
<commit_before> #include <Hord/aux.hpp> #include <Hord/utility.hpp> #include <Hord/Log.hpp> #include <Hord/Data/Defs.hpp> #include <Hord/Data/Metadata.hpp> #include <Hord/IO/Defs.hpp> #include <Hord/IO/Prop.hpp> #include <Hord/Object/Defs.hpp> #include <Hord/Cmd/Data.hpp> #include <Hord/System/Driver.hpp> #include <Hor...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2010, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: datasourceconnector.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:12:48 $ * * The Contents of this fil...
<commit_before>#include "encode_jpeg.h" #include "common_jpeg.h" namespace vision { namespace image { #if !JPEG_FOUND torch::Tensor encode_jpeg(const torch::Tensor& data, int64_t quality) { TORCH_CHECK( false, "encode_jpeg: torchvision not compiled with libjpeg support"); } #else // For libjpeg version <= ...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999-2003 The Apache Software Foundation. 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. Red...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: hierarchycontent.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: ihi $ $Date: 2007-06-05 18:05:47 $ * * The Contents of this file...
<commit_before>// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2014 Benoit Steiner <benoit.steiner.goog@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a copy of the MPL was not distributed // with th...
<commit_before>#include <stdio.h> #include <string> #include "native.h" #include "file.h" #include "../general.h" using namespace std; inline string getStringVal(Ink_Object *str) { if (str->type == INK_STRING) { return as<Ink_String>(str)->value; } return ""; } Ink_Object *InkNative_File_Exist(Ink_ContextChain ...
<commit_before><commit_msg>gtk3: if we have GTK_STATE_FLAG_CHECKED use only that bit<commit_after><|endoftext|>
<commit_before>/* * mcsignal_main.cpp * * Created by Tobias Wood on 12/11/2012. * Copyright (c) 2013 Tobias Wood. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/M...
<commit_before>// // Copyright 2016 Google 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 la...
<commit_before>/** * 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 * ...
<commit_before>#include "wayland.h" #include <../x/x_keycodes.h> #include <iostream> #include <algorithm> #include <unistd.h> #include <sys/types.h> #include <sys/mman.h> #include <linux/input-event-codes.h> #include <QuickDraw.h> using namespace wayland; using namespace Executor; constexpr int16_t rgnStop = 32767...
<commit_before>/* The following has been auto-generated by makedll.pl */ #ifndef ecmdDllCapi_H #define ecmdDllCapi_H #include <inttypes.h> #include <vector> #include <string> #include <ecmdStructs.H> #include <ecmdReturnCodes.H> #include <ecmdDataBuffer.H> extern "C" { /* Dll Common load function - verifies version...
<commit_before>/* * REnvironmentPosix.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANT...
<commit_before>#include <vector> #include <cstdint> #include <functional> #include <iostream> #include <openssl/bio.h> #include <openssl/evp.h> #include <openssl/hmac.h> #include <openssl/buffer.h> #include <openssl/pem.h> #include "jwt.hpp" using namespace std; using namespace nlohmann; namespace j...
<commit_before>/*************************************************************************** * Copyright (C) 2009 by Jeroen Broekhuizen * * jengine.sse@live.nl * * ...
<commit_before>/** * A class which describes the properties and actions of a device session. * * @date July 7, 2014 * @author Joeri HERMANS * @version 0.1 * * Copyright 2013 Joeri HERMANS * * Licensed under the Apache License, Version 2.0 (the "License")...
<commit_before>#include <cmath> #include "ingameelements/weapons/peacemaker.h" #include "renderer.h" #include "ingameelements/projectiles/peacemakerbullet.h" #include "ingameelements/heroes/mccree.h" #include "ingameelements/explosion.h" #include "engine.h" Peacemaker::Peacemaker(uint64_t id_, Gamestate *state, Entit...
<commit_before> /* * Gather entropy by running various system commands in the hopes that * some of the output cannot be guessed by a remote attacker. * * (C) 1999-2009,2013 Jack Lloyd * 2012 Markus Wanner * * Botan is released under the Simplified BSD License (see license.txt) */ #include <botan/internal/unix_proc...
<commit_before>#pragma once #include <linal/linear_equation.hpp> namespace Linal { template <typename T> class LinearSystem { public: LinearSystem(std::initializer_list<LinearEquation<T>> l) : eqs(l.size()) { /* Currently there's no way to move from initializer_list, so we're actually copyin...
<commit_before>/* * 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 "Lice...
<commit_before>/* * TTBlue Limiter Object * Copyright © 2008, Timothy Place * * License: This code is licensed under the terms of the GNU LGPL * http://www.gnu.org/licenses/lgpl.html */ #include "TTLimiter.h" #define thisTTClass TTLimiter #define thisTTClassName "limiter" #define thisTTClassTags "audio, ...
<commit_before>/** * \file SD1OverdriveFilter.cpp */ #include "SD1OverdriveFilter.h" #include <boost/math/special_functions/sign.hpp> #include "../Tools/exp.h" #include "../Tools/ScalarNewtonRaphson.h" namespace ATK { template<typename DataType_> class SD1OverdriveFunction { public: typedef DataType_ ...
<commit_before>#include "ui_calcbmi.h" CalcBMI::CalcBMI(QWidget *parent) : QDialog(parent), ui(new Ui::CalcBMI) { ui->setupUi(this); } CalcBMI::~CalcBMI() { delete ui; } void CalcBMI::UpdateMethod() { } void CalcBMI::on_closeButton_clicked() { CloseWindow(this); } <commit_msg>fixed build<commit_afte...
<commit_before>// Copyright (c) 2010-2021, 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 // availa...
<commit_before>#include "istream/istream_catch.hxx" #include "istream/istream_string.hxx" #include "istream/istream.hxx" #include <glib.h> #include <stdio.h> #define EXPECTED_RESULT "foo" static struct istream * create_input(struct pool *pool) { return istream_string_new(pool, "foo"); } static GError * catch_c...
<commit_before>#include "rasterizer.h" #include "transform_controller.hpp" #include "object_utilities.h" using namespace rasterizer; Application* app; void MainLoop(); int main(int argc, char *argv[]) { app = Application::GetInstance(); app->CreateApplication("plane", 800, 600); app->SetRunLoop(MainLoop); app->R...
<commit_before><commit_msg>AES and DES are working, there's still something wrong with variable-key-length ciphers suchs as RC2 and RC4 as well as both triple DES variants<commit_after><|endoftext|>
<commit_before>#ifndef MANIFOLDS_FUNCTIONS_MULTI_MATRIX_REDUCTION_HH #define MANIFOLDS_FUNCTIONS_MULTI_MATRIX_REDUCTION_HH #include "multi_matrix.hh" #include "function.hh" #include <boost/mpl/find.hpp> #include <boost/type_traits/is_same.hpp> #include <boost/mpl/end.hpp> #include <utility> namespace manifolds { t...
<commit_before>/* Copyright Eli Dupree and Isaac Dupree, 2011, 2012, 2013 This file is part of Lasercake. Lasercake 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...
<commit_before>// MFEM Example 1 - Parallel NURBS Version // // Compile with: make nurbs_ex1p // // Sample runs: mpirun -np 4 nurbs_ex1p -m ../../data/square-disc.mesh // mpirun -np 4 nurbs_ex1p -m ../../data/star.mesh // mpirun -np 4 nurbs_ex1p -m ../../data/escher.mesh...
<commit_before>// In many works of James and John Whitney trigonomic equations are used to generate animation // This sketch shows a simple Lissajous curve animation to explain the principle // ToDo: hmm... why no workin' ? [[pPhase]] [[plissajouRatioX]] [[plissajouRatioY]] [[pDensity]] <commit_msg>ExampleCode for L...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: btndlg.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: vg $ $Date: 2007-04-11 17:48:34 $ * * The Contents of this file are made av...
<commit_before>/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkRefCnt.h" #include "include/core/SkTypes.h" #include "src/core/SkArenaAlloc.h" #include "tests/Test.h" #include <memory> #include <new...
<commit_before>/** * kunittest.cpp * * Copyright (C) 2004 Zack Rusin <zack@kde.org> * * 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 * ...
<commit_before>#include "MarginManager.h" #include <algorithm> NotifyCategoryDef(MarginManager, ""); TypeHandle MarginManager::_type_handle; MarginManager* MarginManager::_global_ptr = nullptr; MarginManager::MarginManager() : PandaNode("mrmanager") { MarginManager_cat.debug() << "__init__()" << std::endl; } M...
<commit_before>/* Resembla https://github.com/tuem/resembla Copyright 2017 Takashi Uemura 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 req...
<commit_before>#include "kwm.h" const std::string KwmCurrentVersion = "Kwm Version 1.0.5"; const std::string PlistFile = "com.koekeishiya.kwm.plist"; CFMachPortRef EventTap; kwm_path KWMPath = {}; kwm_code KWMCode = {}; kwm_screen KWMScreen = {}; kwm_toggles KWMToggles = {}; kwm_prefix KWMPrefix = {}; kwm_focus KWMFo...
<commit_before>// Brian Goldman // Example of how to use Lambda functions // Compiled using: g++ -std=c++11 lambdas.cpp #include <iostream> #include <algorithm> using namespace std; // Example of the old way to get reverse sorting bool reverse_order(const int& first, const int& second) { return first > second; } //...
<commit_before>/* -*- mode: C++; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ // vim:sts=8:sw=8:ts=8:noet:sr:cino=>s,f0,{0,g0,(0,\:0,t0,+0,=s /* fflas/fflas_pftrsm.inl * Copyright (C) 2013 Ziad Sultan * * Written by Ziad Sultan < Ziad.Sultan@imag.fr > * Time-stamp: <04 Sep 14 14:49:03 Jean-Guillaum...
<commit_before>/* * Copyright (C) 2021 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 ...
<commit_before>#ifndef MJOLNIR_MATH_MATRIX #define MJOLNIR_MATH_MATRIX #include <mjolnir/util/is_all.hpp> #include <array> namespace mjolnir { template<typename realT, std::size_t Row, std::size_t Col> class Matrix { public: using real_type = realT; using scalar_type = real_type; constexpr static std::s...
<commit_before>#include "vm.hpp" #include "builtin/bytearray.hpp" #include "builtin/string.hpp" #include "primitives.hpp" #include <cxxtest/TestSuite.h> using namespace rubinius; class TestByteArray : public CxxTest::TestSuite { public: VM * state; void setUp() { state = new VM(); } void tearDown() ...
<commit_before>// Copyright © 2011, Université catholique de Louvain // 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 not...
<commit_before>const char* esd_geom_file_name = "http://root.cern.ch/files/alice_ESDgeometry.root"; void projection_test() { TFile::SetCacheFileDir("."); TEveManager::Create(); // camera TEveScene* s = gEve->SpawnNewScene("Projected Event"); gEve->GetDefViewer()->AddScene(s); TGLViewer* v = (TGLView...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dp_gui_system.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2007-09-06 13:52:24 $ * * The Contents of this file are ...
<commit_before>/* * Copyright (c) 2014, 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. * ...
<commit_before>// Copyright (c) 2011 - 2015, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or 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. // THE SOFTWARE IS PRO...
<commit_before>/** * This file is part of the "libfnord" project * Copyright (c) 2015 Paul Asmuth * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public License along with th...
<commit_before> #include "EClass.hpp" #include "EAnnotation.hpp" #include "EcoreFactory.hpp" #include "EcorePackage.hpp" #include "EClassifier.hpp" #include "impl/EcorePackageImpl.hpp" #include "EStructuralFeature.hpp" #include "EReference.hpp" #include "EStringToStringMapEntry.hpp" #include "impl/EcoreFactoryImpl.hpp...
<commit_before>/* * * Copyright (c) 2020-2021 Project CHIP Authors * * 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 *...
<commit_before>/***************************************************************************** * Licensed to Qualys, Inc. (QUALYS) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * QUALYS licenses this fil...
<commit_before>// Silly program just to test the natvis file for Visual Studio // ------------------------------------------------------------ #include <string> #include "parallel_hashmap/phmap.h" template<class Set, class F> void test_set(F &f) { Set s; typename Set::iterator it; for (int i=0; i<100; ++i)...
<commit_before>#ifndef VIENNAGRID_ELEMENT_HPP #define VIENNAGRID_ELEMENT_HPP /* ======================================================================= Copyright (c) 2011-2012, Institute for Microelectronics, Institute for Analysis and Scientific Computing, TU...
<commit_before> /* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla 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 * (at your o...
<commit_before>/* * Copyright (c) 2014 Samsung Electronics 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 require...
<commit_before>// Copyright 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 "chrome/browser/extensions/api/input/input.h" #include "ash/root_window_controller.h" #include "base/command_line.h" #include "ba...
<commit_before><commit_msg>Remove erroneous assert, pointers to references cannot be null.<commit_after><|endoftext|>
<commit_before># include <Siv3D.hpp> // OpenSiv3D v0.4.2 void Main() { Window::Resize(1280, 720); Scene::SetBackground(ColorF(0.4, 0.5, 0.6)); constexpr Vec2 pos(0, 0); const String text = U"OpenSiv3D\nあいうえお\nアイエウオ"; ///////////////////// // // 生成後はコメントアウト { String s; for (auto i : Range(32, 126)) { ...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
<commit_before><commit_msg>INTEGRATION: CWS dba23c (1.45.18); FILE MERGED 2007/07/20 21:02:54 fs 1.45.18.1: #i79731# remove ROW_HEIGHT, it is already present as ROWHEIGHT<commit_after><|endoftext|>
<commit_before>#include "JsonConfigParser.h" #include "Poco/RegularExpression.h" bool JsonConfigParser::_parse(const ofJson &config, const string &name, bool& val){ if (config.find(name) != config.end()) { ofJson content = config[name]; if(content.is_boolean()){ val = content; return true; }else { ofL...
<commit_before>/* Copyright 2020 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><commit_msg>typedef for reducing code clutter and text alignment<commit_after><|endoftext|>
<commit_before>/* Copyright (c) 2017, CNRS-LAAS All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and t...
<commit_before>#include "coverageobject.h" #include <QTest> #include <QMetaObject> #include <QDir> #include <QString> #include <QDebug> #include <QtDebug> #include <QLibrary> #include <QtCore/QBuffer> #include <Cutelyst/context.h> #include "cutelyst_paths.h" using namespace Cutelyst; void CoverageObject::init() { ...
<commit_before> #include "PipelineManager.h" #include "tis_logging.h" #include <ctime> #include <cstring> #include <algorithm> #include <tis_utils.h> using namespace tis_imaging; PipelineManager::PipelineManager () : status(PIPELINE_UNDEFINED), filter_loader(), frame_count(0) { filter_loader.index_possible_...
<commit_before>#include "BacktraceTest.h" #include "TestSuite.h" REGISTER_TEST_CLASS(BacktraceTest) #include "BackTrace.h" #include "StackAddressLoader.h" #include "DebugSymbolLoader.h" #include <iostream> using namespace std; static const int STACK_DEPTH = 20; #ifdef __GNUC__ // O asm é bom para esse teste porque i...
<commit_before>//===- llvm/unittest/ADT/StringMapMap.cpp - StringMap unit tests ----------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/*========================================================================= Library: AnatomicAugmentedRealityProjector Author: Maeliss Jallais Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "Lic...
<commit_before>// This file is distributed under the MIT license. // See the LICENSE file for details. #include <visionaray/config.h> #include <cassert> #include <utility> #include <GL/glew.h> #include <visionaray/cpu_buffer_rt.h> #if VSNRAY_HAVE_CUDA #include <visionaray/gpu_buffer_rt.h> #include <visionaray/pixe...
<commit_before>#include "musicuserwindow.h" #include "musicuiobject.h" #include "ui_musicuserwindow.h" #include "musicuserdialog.h" #include "musicusermodel.h" #include "musicusermanager.h" #include "musicmessagebox.h" #include <QTimer> MusicUserWindow::MusicUserWindow(QWidget *parent) : QStackedWidget(parent), ui...
<commit_before>/// HEADER #include "import_ros.h" /// COMPONENT #include <csapex_ros/ros_handler.h> #include <csapex_ros/ros_message_conversion.h> /// PROJECT #include <csapex/msg/input.h> #include <csapex/msg/output.h> #include <csapex/msg/message_factory.h> #include <csapex/utility/stream_interceptor.h> #include <c...
<commit_before>/* * transition_qtblend.cpp -- Qt composite transition * Copyright (c) 2016 Jean-Baptiste Mardelle <jb@kdenlive.org> * * 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;...
<commit_before>#include "TextInputWidget.hpp" #include <iostream> gsf::TextInputWidget::TextInputWidget(float width, float height, sf::Font &font) : ChildWidget{ width, height } //, m_text{ "", font, 12, sf::Color::Black } , m_text{ nullptr } , m_cursor{ "|", font, 12 } , m_scrollable{ nullptr } , m_isFocused{ false }...
<commit_before>// Copyright 2010-2011 Google // 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...
<commit_before>#include "Chimera_Win.h" #include <boost/algorithm/string/replace.hpp> #include <QtCore/qglobal.h> #include <QtPlugin> #include <QQmlContext.h> #include <QtQml/QQml.h> #include <QtEndian> #include <QAbstractNativeEventFilter> #include <QScreen> #include "QmlVlc/QmlVlcSurfacePlayerProxy.h" #ifdef QT_S...