text
stringlengths
54
60.6k
<commit_before>//RUN: make -C %testexecdir/../../clang/ test TESTSUITE=Sema CLANG=%p/clangTestUnloader.sh <commit_msg>XFAIL clang's testsuite for now.<commit_after>//RUN: make -C %testexecdir/../../clang/ test TESTSUITE=Sema CLANG=%p/clangTestUnloader.sh //XFAIL: * <|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: tdcomp.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2004-06-04 02:33:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>#include <phypp.hpp> int phypp_main(int argc, char* argv[]) { if (argc < 2) { print("usage: median_sub <directory> <mask_catalog>"); return 0; } std::string dir = file::directorize(argv[1]); vec1s files = dir+file::list_files(dir+"sci_reconstructed*-sci.fits"); if (f...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000-2002 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>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000-2002 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>/* 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>/** * \file timestamp.cxx * Provides a class for managing a timestamp (seconds & milliseconds.) */ // Written by Curtis Olson, started December 1998. // // Copyright (C) 1998 Curtis L. Olson - curt@flightgear.org // // This program is free software; you can redistribute it and/or // modify it under...
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2022 INRIA. * * 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>// VectorInt.cpp // Implementation of our Vector of ints class #include "VectorInt.h" // constructor VectorInt::VectorInt() { capacity = INITIAL_CAPACITY; count = 0; elements = new int[capacity]; } // destructor VectorInt::~VectorInt() { delete [] elements; } // appen...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #include "clustering/administration/reactor_driver.tcc" #include "memcached/protocol.hpp" #include "serializer/serializer.hpp" #include "serializer/translator.hpp" template class reactor_driver_t<memcached_protocol_t>; <commit_msg>Removed reactor_dr...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/eff_config/plug_...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_eff_config_th...
<commit_before>#include <mimelib/boyermor.h> #include <mimelib/string.h> #include <iostream> using std::cerr; using std::cout; using std::endl; static const char * _haystack = "haystackNeedleHaystackneedlehaYstackneeDlehaystack"; int main( int argc, char * argv[] ) { if ( argc == 3 ) { // manual test DwStri...
<commit_before>#include "BoundaryConditions.h" namespace Halide { namespace BoundaryConditions { Func repeat_edge(const Func &source, const std::vector<std::pair<Expr, Expr> > &bounds) { std::vector<Var> args(source.args()); user_assert(args.size() >= bounds.size()) << "repeat_edge c...
<commit_before>/************************************************************************ filename: CEGUIWindowManager.cpp created: 21/2/2004 author: Paul D Turner purpose: Implements the WindowManager class *************************************************************************/ /*****************************...
<commit_before>#include "OutputPrinter.h" OutputPrinter::OutputPrinter(const std::string& outputFileName) : m_outputFileName(outputFileName) { TiXmlDeclaration* decl = new TiXmlDeclaration("1.0", "", ""); m_document.LinkEndChild(decl); m_resultsElement = new TiXmlElement("results"); } void OutputPrin...
<commit_before>/* mbed Microcontroller Library * Copyright (c) 2017 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * *...
<commit_before>//===- InstrInfoEmitter.cpp - Generate a Instruction Set Desc. ------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2013. All rights reserved */ #include "../StroikaPreComp.h" #include "../Characters/Format.h" #include "../Time/Date.h" #include "../Time/DateTime.h" #include "ObjectVariantMapper.h" using namespace Stroika::Foundation; using name...
<commit_before>/** * For conditions of distribution and use, see copyright notice in license.txt * * @file UiService.cpp * @brief Light-weight UI service. Implements UiServiceInterface and provides * means of embedding Qt widgets to the same scene/canvas as the 3D in-world * view. Uses on...
<commit_before>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl> // // 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...
<commit_before>/******************************* Copyright (C) 2013-2015 gregoire ANGERAND 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 late...
<commit_before>#include "Plater/Plate2D.hpp" // libslic3r includes #include "Geometry.hpp" #include "Log.hpp" // wx includes #include <wx/colour.h> #include <wx/dcbuffer.h> namespace Slic3r { namespace GUI { Plate2D::Plate2D(wxWindow* parent, const wxSize& size, std::vector<Plater2DObject>& _objects, std::shared_pt...
<commit_before>#ifndef INC_MUSPELHEIM_HPP #define INC_MUSPELHEIM_HPP #include <iostream> #include <functional> #include <random> #include <vector> #include <boost/gil/extension/io/png_dynamic_io.hpp> #include <boost/gil/image.hpp> #include <boost/gil/typedefs.hpp> // Make sure that multiplying points by floating-po...
<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>/* Copyright (c) 2010-2019, Delft University of Technology * All rigths reserved * * This file is part of the Tudat. Redistribution and use in source and * binary forms, with or without modification, are permitted exclusively * under the terms of the Modified BSD license. You should h...
<commit_before>/* @Copyright Barrett Adair 2015-2017 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_CLBL_TRTS_REMOVE_MEMBER_CV_HPP #define BOOST_CLBL_TRTS_REMOVE_MEMBER_CV_HPP #include <boost/callable_traits...
<commit_before>/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS....
<commit_before>#include <gecode/driver.hh> #include <gecode/int.hh> #include <gecode/minimodel.hh> #include <gecode/gist.hh> #include <gecode/search.hh> #include "dep_selector_to_gecode.h" #include <limits> #include <iostream> #include <vector> #define DEBUG using namespace Gecode; const int VersionProblem::UNRESOL...
<commit_before>#include <SDL.h> #include <iostream> #include <math.h> #include <vector> #include <map> #include <functional> #include <algorithm> #include <lua.hpp> #include <LuaBridge.h> #include "types.h" #include "wrappers.h" #include "auxiliary.h" #include "entity.h" #include "commands.h" #include "player.h" using...
<commit_before>// Copyright (c) 2011 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 "base/stringprintf.h" #include "chrome/browser/sync/profile_sync_service_harness.h" #include "chrome/browser/sync/test/integra...
<commit_before>#include "gc.hh" #include "atomic.hh" #include "radix.hh" #include "cpputil.hh" #include "hwvm.hh" #include "uwq.hh" #include "distref.hh" #include "bit_spinlock.hh" #include "radix_array.hh" #include "kalloc.hh" #include "page_info.hh" struct padded_length; using std::atomic; // A virtual memory desc...
<commit_before>#include "stdafx.h" #include "LogQueryImpl.h" #include "LogItem.h" #include "LogQueryResult.h" #include "FilterParser.h" #include "PatternServiceImpl.h" using namespace mrl::utility; LogQueryImpl::LogQueryImpl() : taskWnd(new SimpleTaskMessageWindow()) , monitorThread(NULL) , monitoring(false) { } ...
<commit_before>/* * Copyright 2016 Adam Chyła, adam@chyla.org * All rights reserved. Distributed under the terms of the MIT License. */ #include "network_trainer.h" #include <patlms/util/run_partially.h> #include <algorithm> #include <vector> #include <fstream> #include <boost/log/trivial.hpp> #include "src/bash...
<commit_before>#pragma once #include "wrd-deps.hpp" // World는 객체 안에서 다른 객체에 접근하는 접근자함수들에 경우에는 DelayingNullCorruption으로 인해 객체가 Null이라고 해도 Null을 반환할뿐 프로그램이 죽지는 않는다. // 접근자 아닌 경우에는 "속도문제" 로 인해 수행하지 않는다. // 또한 반환형이 객체에 대한 레퍼런스나 포인터가 아닌경우에도 정상적인 반환값과 겹칠 수있기 때문에 체크하지 않는다. #define WRD_IS_NULL_2(VALUE, RET) \ if((VALUE.isNu...
<commit_before>#pragma once #include <xyz/openbmc_project/Sensor/Value/server.hpp> #include <xyz/openbmc_project/Sensor/Threshold/Warning/server.hpp> #include <xyz/openbmc_project/Sensor/Threshold/Critical/server.hpp> #include <sdbusplus/server.hpp> template <typename T> using ServerObject = typename sdbusplus::serve...
<commit_before>/* * CommunityDetectionBenchmark.h * * Created on: 16.05.2014 * Author: Klara Reichard (klara.reichard@gmail.com), Marvin Ritter (marvin.ritter@gmail.com) */ #ifndef NOGTEST #include <map> #include "CommunityDetectionBenchmark.h" #include "../PLP.h" #include "../PLM.h" #include "../Modulari...
<commit_before>/************************************************************************* * * $RCSfile: testshl_test.cxx,v $ * * $Revision: 1.1 $ * * last change: $Author: lla $ $Date: 2003-01-09 11:06:19 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: helpagentdispatcher.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:19:38 $ * * The Contents of this fil...
<commit_before>#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp" #include "Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.hpp" #include "cpputil/math_utils.hpp" #include "cpputil/Ptr.hpp" ...
<commit_before>#include "GameNetworkWorker.h" #include "easylogging++.h" #include "src/common/net/EventId.h" #include "src/common/net/Deserializer.h" #include <cassert> namespace net { GameNetworkWorker::GameNetworkWorker(quint16 port, std::shared_ptr<GameTimer> game_timer, std::weak_ptr<World> world, std::vector<Cli...
<commit_before>/**************************************************************************** * * Copyright (c) 2017 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: *...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved */ #include "../../StroikaPreComp.h" #include "../../Characters/CString/Utilities.h" #include "../../Characters/String.h" #include "../../Characters/StringBuilder.h" #include "../../Characters/String_Constant.h" #include "../../...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved */ #include "../../StroikaPreComp.h" #if qPlatform_Linux #include <poll.h> #elif qPlatform_Windows #include <Windows.h> #include <winioctl.h> #endif #include "../../Characters/CString/Utilities.h" #include "../../Characters/For...
<commit_before>/* * LootManagerImplementation.cpp * * Created on: Jun 20, 2011 * Author: Kyle */ #include "engine/engine.h" #include "LootManager.h" #include "server/zone/objects/scene/SceneObject.h" #include "server/zone/objects/creature/CreatureObject.h" #include "server/zone/objects/creature/AiAgent.h" ...
<commit_before>// Copyright 2014 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/notification_provider/notification_provider_api.h" #include "chrome/browser/extensions/chrome_exten...
<commit_before>//////////////////////////////////////////////////////////////////////////// // // Copyright 2016 Realm 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://ww...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: networkdomain.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2006-09-16 13:57:53 $ * * The Contents of this file are...
<commit_before>/**************************************************************************** * * (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * **********************...
<commit_before>#include <string.h> #if defined(__SSE2__) #include <emmintrin.h> #endif #if defined(__SSE4_1__) #include <smmintrin.h> #endif #include "m_half.h" #include "m_const.h" namespace m { static struct halfData { halfData(); // 1536 bytes uint32_t baseTable[512]; uint8_t shiftTable[512]; } g...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: list.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: rt $ $Date: 2005-09-09 11:57:10 $ * * The Contents of this file are made avai...
<commit_before> #include "jsonfile.h" #include "b64/encode.h" #include <cstdlib> namespace base { JsonWriterFile::JsonWriterFile(FILE* fp, char* buffer, std::size_t length): m_fileStream(fp, buffer, length), m_writer(m_fileStream), m_fp(fp) { } JsonWriterFile::~JsonWriterFile()...
<commit_before>#include <dlfcn.h> #include <errno.h> #include <fcntl.h> #include <inttypes.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> void init() __attribute__((constructor)); void fini() __att...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: txtparai.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-09 15:31:48 $ * * The Contents of this file are made ...
<commit_before>/* * copyright: (c) RDO-Team, 2011 * filename : main.cpp * author : , Evgeny Proydakov * date : 07.07.2009 * bref : * indent : 4T */ // ====================================================================== PCH // =========================================================...
<commit_before>#ifndef DISSENT_CONNECTIONS_CONNECTION_TABLE_H_GUARD #define DISSENT_CONNECTIONS_CONNECTION_TABLE_H_GUARD #include <QDebug> #include <QHash> #include "Id.hpp" namespace Dissent { namespace Transports { class Edge; } namespace Connections { class Connection; /** * Contains mappings for remot...
<commit_before>#include "zcm/transport.h" #include "zcm/transport_registrar.h" #include "zcm/transport_register.hpp" #include "zcm/util/debug.h" #include "generic_serial_transport.h" #include "util/TimeUtil.hpp" #include <unistd.h> #include <string.h> #include <iostream> #include <limits> #include <cstdio> #include ...
<commit_before>/***************************************************************************** * Copyright (C) 2011-2016 Michael Ira Krufky * * Author: Michael Ira Krufky <mkrufky@linuxtv.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Pu...
<commit_before>/* * Copyright (C) 2011 Josh A. Beam * 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, t...
<commit_before>// // File: EventBus.hpp // Class: EventBus // Author: Jesper Persson and Sebastian Odbjer // All code is our own except where credited to others. // // Copyright (c) 2012 by Catch22. All Rights Reserved. // Date: 02/10-2012 // // License: The following code is licensed ...
<commit_before>//============================================================================== // CellMLTools plugin //============================================================================== #include "cellmlfilemanager.h" #include "cellmlsupportplugin.h" #include "cellmltoolsplugin.h" #include "coreutils.h" /...
<commit_before>#include "LinearRegression.h" #include <armadillo> #include <iostream> LinearRegression::LinearRegression(arma::mat *x, arma::vec *y, arma::uword m) : y{y}, m{m}, trained{false} { //Create Bias Layer and append at the end of x arma::mat bias = ones<arma::mat>(m,2); this->x = x->in...
<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>// Copyright 2013 Sean McKenna // // 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 ...
<commit_before>// // Vector/instance_method_mula.hpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2014 Rick Yang (rick68 at gmail dot 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 this file, You can obtain one...
<commit_before>// Copyright (c) 2012-2013, the scalloc Project Authors. All rights reserved. // Please see the AUTHORS file for details. Use of this source code is governed // by a BSD license that can be found in the LICENSE file. #include "slab_sc_allocator.h" #include "allocators/page_heap.h" #include "log.h" #i...
<commit_before>#pragma once #include <agency/detail/config.hpp> #include <agency/detail/unique_ptr.hpp> #include <memory> namespace agency { namespace detail { template<class T, class Alloc = std::allocator<T>> class boxed_value { public: using allocator_type = typename std::allocator_traits<Alloc>::template ...
<commit_before>#include "VCardParser.h" #include <assert.h> #include <QIODevice> #include <QByteArray> #include <QDebug> #include "Exceptions.h" #include "Contact.h" /** Provides the actual parsing implementation. */ class VCardParserImpl { public: /** Creates a new parser instance and binds it to the specified d...
<commit_before>//============================================================================= // ■ VMDE/global.hpp //----------------------------------------------------------------------------- // 在VMDE的内部,包容一切的头。 // 关于只有一个头: // 我完全无法理解为什么C要采用有头文件的设计。当然这很可能是历史遗留问题, // 但这导致了C程序员总是需要花费大量时间整理头文件,且这时间花得莫名其妙。 // ...
<commit_before>// // GEORenderer.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 11/30/12. // // #ifndef __G3MiOSSDK__GEORenderer__ #define __G3MiOSSDK__GEORenderer__ #include "LeafRenderer.hpp" #include <vector> class GEOObject; class GEORenderer : public LeafRenderer { private: const G3MContext* ...
<commit_before>/** * \file dcs/testbed/system_identification.hpp * * \brief Performs system identification experiments. * * \author Marco Guazzone (marco.guazzone@gmail.com) * * <hr/> * * Copyright (C) 2012 Marco Guazzone * [Distributed Computing System (DCS) Group, * ...
<commit_before>/***************************************************************************************** * * * GHOUL * * General Helpful Open Utility ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2015 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>// // Copyright (c) 2013-2017 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GAME_ENTITY_HANDLER_HPP #define RJ_GAME_ENTITY_HANDLER_HPP #include "collision.hpp" #include "components/player.hpp" #include "entity.hpp" #include "particle_manager.hpp" #include <mlk/containers/container...
<commit_before>// The Art of C++ / Sequences // Copyright (c) 2015 Daniel Frey #ifndef TAOCPP_SEQUENCES_INCLUDE_MAKE_INTEGER_SEQUENCE_HPP #define TAOCPP_SEQUENCES_INCLUDE_MAKE_INTEGER_SEQUENCE_HPP #include <cstddef> #include <utility> #include <type_traits> #include "integer_sequence.hpp" namespace tao { namespac...
<commit_before>/** * @file llfloatertestinspectors.cpp * * $LicenseInfo:firstyear=2009&license=viewergpl$ * * Copyright (c) 2009, Linden Research, Inc. * * Second Life Viewer Source Code * The source code in this file ("Source Code") is provided by Linden Lab * to you under the terms of the GNU General Public Licens...
<commit_before>/** * @file llviewercontrollistener.cpp * @author Nat Goodspeed * @date 2009-06-30 * @brief Implementation for llviewercontrollistener. * * $LicenseInfo:firstyear=2009&license=viewergpl$ * Copyright (c) 2009, Linden Research, Inc. * $/LicenseInfo$ */ #include "llviewerprecompiledheaders.h...
<commit_before>/* Copyright 2021 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>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: simplecontinuousactivitybase.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-07 20:37:59 $ * * The Contents of...
<commit_before>#include "boxml.h" #include <algorithm> #include <ctime> #include <sst/sumi_api.h> using namespace std; using namespace sstmac; namespace lblxml { int boxml::count_events () { int ret = g_rank_to_comps[rank_].size() + g_rank_to_sends[rank_].size() + g_rank_to_recvs[rank_].size() ...
<commit_before>#include "../../../shared/SystemImplBase.h" #include "common/RhoConf.h" #include "logging/RhoLog.h" #include "../../platform/shared/qt/rhodes/impl/MainWindowImpl.h" #include "../../platform/shared/qt/rhodes/RhoSimulator.h" #undef null #include <qwebkitglobal.h> #include <QLocale> #include <QDesktopServ...
<commit_before>/** * \file * \brief FpuSignalTestCase class implementation for ARMv7-M (Cortex-M3 / Cortex-M4) * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2...
<commit_before>// -*- Mode: c++-mode; c-basic-offset: 2; indent-tabs-mode: t; tab-width: 2; -*- // // Copyright (C) 2003 Grzegorz Jaskiewicz <gj at pointblue.com.pl> // // gadueditcontact.cpp // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public Lice...
<commit_before>#include "rasterizer.h" #include <stdlib.h> #include <string.h> #include <assert.h> // Fine raster works on blocks of 2x2 pixels, since NEON can fine rasterize a block in parallel using SIMD-4. // Coarse raster works on 2x2 blocks of fine blocks, since 4 fine blocks are processed in parallel. Therefore...
<commit_before>/* kopetecontactlist.cpp - Kopete's Contact List backend Copyright (c) 2005-2007 by Michael Larouche <larouche@kde.org> Copyright (c) 2002-2003 by Martijn Klingens <klingens@kde.org> Copyright (c) 2002-2004 by Olivier Goffart <ogoffart@kde.org> Copyright (c) 2002 ...
<commit_before>// -*- Mode: C++; tab-width: 2; -*- // vi: set ts=2: // #include <BALL/FORMAT/bruker1DFile.h> namespace BALL { Bruker1DFile::Bruker1DFile() : File(), min_(0), max_(1), pars_() { } Bruker1DFile::Bruker1DFile(const String& name, OpenMode open_mode) : File(name + FileSystem::PATH...
<commit_before>//===-- source/Host/freebsd/Host.cpp ------------------------------*- C++ //-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===------------------------------------...
<commit_before>/* * Copyright (c) 2016 Zubax, zubax.com * Distributed under the MIT License, available in the file LICENSE. * Author: Pavel Kirienko <pavel.kirienko@zubax.com> */ /* * Collection of heap-less containers and functions. */ #pragma once #include <type_traits> #include <algorithm> #include <cassert...
<commit_before>/* * teleop_pr2 * Copyright (c) 2009, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copy...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regar...
<commit_before>// Time: O(nlogw) // Space: O(w) class Solution { public: vector<double> medianSlidingWindow(vector<int>& nums, int k) { multiset<int, less<int>> min_bst; multiset<int, greater<int>> max_bst; vector<double> result; for (int i = 0; i < nums.size(); ++i) { if ...
<commit_before>/******************************************************* * Copyright (c) 2016, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *******************************...
<commit_before>// Copyright 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 "base/logging.h" #include <stdio.h> #include <stdlib.h> #include <iomanip> #if defined(OS_POSIX) #include <paths.h> #inclu...
<commit_before>/*! * \file hyo_utilities_tests.cpp * \author Robert 'Bob' Caddy (rvc@pitt.edu), Helena Richie (helenarichie@pitt.edu) * \brief Tests for the contents of hydro_utilities.h and hydro_utilities.cpp * */ // STL Includes #include <vector> #include <string> #include <iostream> // External Includes #inc...
<commit_before>/* This file is part of Akregator. Copyright (C) 2005 Frank Osterfeld <frank.osterfeld@kdemail.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 Foundation; either version ...
<commit_before><commit_msg>Base: Active RenderContext in Surface extraction to be able to download GL representations (closes #348)<commit_after><|endoftext|>
<commit_before>// // Copyright(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // // // bench.cpp : spdlog benchmarks // #include "spdlog/spdlog.h" #include "spdlog/async.h" #include "spdlog/sinks/basic_file_sink.h" #include "spdlog/sinks/daily_file_sink.h" #include "spdl...
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>#if defined(_QT_GUI_USED_) #include <QPainter> #include <QDebug> #endif #include <math.h> #include "zcircle.h" #include "tz_math.h" #include "zintpoint.h" const ZCircle::TVisualEffect ZCircle::VE_NONE = 0; const ZCircle::TVisualEffect ZCircle::VE_DASH_PATTERN = 1; const ZCircle::TVisualEffect ZCircle:...
<commit_before>// Copyright 2019 The SwiftShader 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 // // Un...