text
stringlengths
54
60.6k
<commit_before>#include "utp_uv.h" #include "nan.h" #include <stdio.h> #include <stdlib.h> #ifndef _WIN32 #include <unistd.h> #endif #if (NODE_MODULE_VERSION <= NODE_0_10_MODULE_VERSION) #define UV_LEGACY #endif #define UTP_UV_TIMEOUT_INTERVAL 500 #define IP_STRING(ip) (const char *) (ip == NULL ? "127.0.0.1" : ip) ...
<commit_before>#include "window.hh" #include "assert.hh" #include "filters.hh" #include <algorithm> #include <sstream> namespace Kakoune { BufferIterator Selection::begin() const { return std::min(m_first, m_last); } BufferIterator Selection::end() const { return std::max(m_first, m_last) + 1; } void Sele...
<commit_before>#ifndef STAN_MATH_HPP #define STAN_MATH_HPP /** * \defgroup prob_dists Probability Distributions */ /** * \ingroup prob_dists * \defgroup multivar_dists Multivariate Distributions * Distributions with Matrix inputs */ /** * \ingroup prob_dists * \defgroup univar_dists Univariate Distributions ...
<commit_before>//======================================================================= // Copyright (c) 2013-2016 Baptiste Wicht. // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //==================================================...
<commit_before><commit_msg>went back to original slow glue ema<commit_after><|endoftext|>
<commit_before>#ifndef DUNE_STUFF_MATH_HH #define DUNE_STUFF_MATH_HH #include <vector> #include <limits> #include <algorithm> #include <cstring> #include <iostream> #include <dune/common/static_assert.hh> #include <boost/static_assert.hpp> #include <boost/fusion/include/void.hpp> #include <boost/format.hpp> #include <...
<commit_before>/** * \file stuff.hh * \brief contains some stuff **/ #ifndef STUFF_MISC_HH_INCLUDED #define STUFF_MISC_HH_INCLUDED #include <cstring> #include <map> #include <assert.h> #include <algorithm> #include <dune/common/fixedarray.hh> #include "static_assert.hh" #include <cstddef> #include <fstream> #i...
<commit_before>#include <boost/interprocess/containers/deque.hpp> #include <boost/interprocess/containers/string.hpp> #include <boost/interprocess/managed_shared_memory.hpp> #include <boost/interprocess/managed_mapped_file.hpp> #include <boost/interprocess/shared_memory_object.hpp> #include <boost/interprocess/interpro...
<commit_before>#ifndef ITER_TAKEWHILE_H_ #define ITER_TAKEWHILE_H_ #include "iterbase.hpp" #include <utility> #include <iterator> #include <initializer_list> namespace iter { //Forward declarations of TakeWhile and takewhile template <typename FilterFunc, typename Container> class TakeWhile; templa...
<commit_before>#include "CollectionInterval.hpp" #include "MainLoop.hpp" #include "NotifyStatusInfo.hpp" #include "common/PlayerRuntimeError.hpp" #include "common/dt/DateTime.hpp" #include "common/dt/Timer.hpp" #include "common/fs/FileSystem.hpp" #include "common/fs/StorageUsageInfo.hpp" #include "common/logger/Loggi...
<commit_before>#ifndef CLOTHO_BIT_WALKER_HPP_ #define CLOTHO_BIT_WALKER_HPP_ #include "clotho/utility/set_bit_node.h" namespace clotho { namespace utility { template < unsigned int B > class bit_block_walker; template < > class bit_block_walker< 8 > : public set_bit_node_array { public: typedef unsigned char bl...
<commit_before>//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>/** * @file icomponent_base.hpp * @brief Component(Shared Library) base interface * @author Byunghun Hwang<bhhwang@nsynapse.com> * @date 2015. 6. 21 * @details Component base interface class */ #ifndef _COSSB_ICOMPONENT_BASE_HPP_ #define _COSSB_ICOMPONENT_BASE_HPP_ #endif /* _COSSB_ICOMPON...
<commit_before>/* Copyright (c) 2003, Arvid Norberg 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 condi...
<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) 2012, Howard Butler, hobu.inc@gmail.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions ar...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GAME_DEBUG_INFO_HPP #define RJ_GAME_DEBUG_INFO_HPP #include <rectojump/core/render.hpp> #include <rectojump/global/common.hpp> #include <rectojump/shared/debug_text.hpp> #include <mlk/tools/stl_string_utl...
<commit_before>#include <cstdlib> #include <memory> #include <vector> #include "libs/catch/catch.hpp" #include "libs/exceptionpp/exception.h" #include "src/simpleconcurrentcache.h" #include "src/simpleserialcache.h" #include "src/simpleline.h" TEST_CASE("cachepp|concurrentcache-multithread") { std::shared_ptr<cache...
<commit_before>#include "stress-application.h" #include "protocol/vtrc-rpc-lowlevel.pb.h" #include "vtrc-common/vtrc-pool-pair.h" #include "vtrc-common/vtrc-rpc-service-wrapper.h" #include "vtrc-common/vtrc-connection-iface.h" #include "vtrc-common/vtrc-delayed-call.h" #include "vtrc-server/vtrc-application.h" #incl...
<commit_before>/* __ _____ _____ _____ __| | __| | | | JSON for Modern C++ (fuzz test support) | | |__ | | | | | | version 2.0.0 |_____|_____|_____|_|___| https://github.com/nlohmann/json Run "make fuzz_testing" and follow the instructions. Licensed under the MIT License <http://opensource.org/...
<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 "extensions/common/update_manifest.h" #include "libxml/globals.h" #include "testing/gtest/include/gtest/gtest.h" static cons...
<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 "chrome/browser/chromeos/login/webui_login_view.h" #include "base/bind.h" #include "base/callback.h" #include "base/i18n/rtl....
<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 "chrome/browser/prerender/prerender_field_trial.h" #include "base/command_line.h" #include "base/logging.h" #include "base/me...
<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 "chrome/common/nacl_debug_exception_handler_win.h" #include "base/bind.h" #include "base/process_util.h" #include "base/threa...
<commit_before>#include "ezOptionParser_clean.hpp" #include "xiosim/libsim.h" #include "xiosim/memory.h" #include "xiosim/sim.h" #include "xiosim/slices.h" #include "xiosim/synchronization.h" #include "xiosim/zesto-structs.h" #include "BufferManagerConsumer.h" #include "allocators_impl.h" #include "ipc_queues.h" #inc...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2011, Alexandru-Eugen Ichim * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modi...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2013-2016. // 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> #include "LightApp_ShowHideOp.h" #include "LightApp_Application.h" #include "LightApp_DataOwner.h" #include "LightApp_Module.h" #include "LightApp_Study.h" #include "LightApp_Displayer.h" #include "CAM_Study.h" #include "LightApp_SelectionMgr.h" #include "LightApp_Selection.h" #include <SALOME_ListIO....
<commit_before>/*************************************************************************** * Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net> * * * * This file is part of the FreeCAD CAx development system. ...
<commit_before> #ifdef HAVE_CONFIG_H #include <config.h> #endif #include "kmmimeparttree.h" #include "kmreaderwin.h" #include "partNode.h" #include "kmmsgpart.h" #include "kmkernel.h" #include "objecttreeparser.h" using KMail::ObjectTreeParser; #include <kdebug.h> #include <klocale.h> #include <kfiledialog.h> #inclu...
<commit_before>/**************************************************************************** * * Copyright (c) 2016 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>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>#include <cstring> #include <iostream> #include <UnitTest++.h> #include <TestReporter.h> // Part of UnitTest++ #include <tightdb.hpp> #include <tightdb/column.hpp> #include <tightdb/utilities.hpp> #include <tightdb/query_engine.hpp> #include <assert.h> #define USE_VLD #if defined(_MSC_VER...
<commit_before>#include <algorithm> #include <vector> #include <string> #include <memory> #include <map> #include <limits.h> #include <stdlib.h> #include <stdio.h> #include "producer.h" std::string queue_path; std::map<std::string, std::unique_ptr<Producer> > producers; extern "C" { #include <ngx_config.h> #includ...
<commit_before>/* Copyright (c) 2006, NIF File Format Library and Tools All rights reserved. Please see niflib.h for license. */ //-----------------------------------NOTICE----------------------------------// // Some of this file is automatically filled in by a Python script. Only // // add custom code in the des...
<commit_before>#include "musicplayer.h" #include "musicplaylist.h" #include "musicsettingmanager.h" #include "musicconnectionpool.h" #include <QMediaPlayer> MusicPlayer::MusicPlayer(QObject *parent) : QObject(parent), m_audition(NULL) { m_playlist = NULL; m_music = NULL; m_state = StoppedState; m_...
<commit_before>#include <cassert> #include "../src/game.h" void test1(void); void test2(void); int main(void) { test1(); test2(); return 0; } void test1(void) { int n = 10; assert(10 == n); std::cout << " ✔ : test1 complete" << std::endl; } void test2(void) { Game *game = new Game(); int const **mz ...
<commit_before>#include "Genes/Opponent_Pieces_Targeted_Gene.h" #include <array> #include <memory> #include "Game/Board.h" #include "Pieces/Piece.h" #include "Moves/Move.h" #include "Utility.h" #include "Genes/Gene.h" #include "Genes/Piece_Strength_Gene.h" Opponent_Pieces_Targeted_Gene::Opponent_Pieces_Targeted_Gene...
<commit_before> #define BOOST_TEST_MODULE A429_test_module #include <boost/test/included/unit_test.hpp> #include <a429/a429base.hpp> #include <a429/a429dis.hpp> #include <a429/a429bcd.hpp> #include <a429/a429bnr.hpp> #include <a429/a429hyb.hpp> BOOST_AUTO_TEST_SUITE( a429base_suite ) BOOST_AUTO_TEST_CASE...
<commit_before>#include "no_min_max.h" #ifndef IUTEST_USE_MAIN #define IUTEST_USE_MAIN #endif #include "../3rd_party/iutest/include/iutest.hpp" #include "SigmoidTable.h" #include "RSigmoidTable.h" #include "analyzer.hpp" #include "../SigColorFastAviUtl/SigmoidTable.hpp" #include "../SigColorFastAviUtl/RSigmoidTable.hp...
<commit_before>#include "medViewerConfigurationDiffusion.h" #include <dtkCore/dtkAbstractData.h> #include <dtkCore/dtkAbstractViewFactory.h> #include <dtkCore/dtkAbstractView.h> #include <dtkCore/dtkAbstractViewInteractor.h> #include <medDataManager.h> #include "medToolBoxDiffusionTensorView.h" #include "medToolBoxD...
<commit_before>#include <iostream> #include <vector> #include "Minesweeper.hpp" int main() { CErrorInfo errorInfo; std::vector<char> errorMessage(100U, 0); errorInfo.errorMessage = errorMessage.data(); GameHandle gameHandle{}; minesweeper_new_game(&gameHandle, GameLevel::Expert, &errorInfo); std::cout << ...
<commit_before>#define CATCH_CONFIG_MAIN #include "catch.hpp" #include "erpiko/cmp.h" #include "erpiko/utils.h" #include "erpiko/data-source.h" #include "erpiko/rsakey.h" #include "erpiko/certificate.h" namespace Erpiko { SCENARIO("CMP ir request") { GIVEN("A ca cert, a key and a subject") { DataSource* src = ...
<commit_before>#include "client/client.h" #include <arpa/inet.h> #include <glog/logging.h> #include <netdb.h> #include <netinet/in.h> #include <stddef.h> #include <stdint.h> #include <sys/socket.h> #include <unistd.h> #ifdef __MACH__ // does not exist on MacOS #define MSG_NOSIGNAL 0 #endif using std::string; Client...
<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 "deletabledetector.h" #include "interfaces/isyncitem.h" #include "interfaces/imod.h" #include "afisync.h" #include "afisynclogger.h" QStringList AfiSync::activeModNames(const QList<IRepository*>& repositories) { QStringList retVal; for (const IRepository* repository : repositories) ...
<commit_before>#include <Python.h> #include "Quantuccia/ql/time/calendar.hpp" #include "Quantuccia/ql/time/date.hpp" #include "Quantuccia/ql/time/calendars/unitedkingdom.hpp" static PyObject* united_kingdom_is_business_day(PyObject *self, PyObject *args) { int year; int month; int day; if (!PyArg_ParseTuple(arg...
<commit_before>// Copyright (C) 2012 Jérôme Leclercq // This file is part of the "Nazara Engine - Core module" // For conditions of distribution and use, see copyright notice in Config.hpp #include <Nazara/Core/Debug/MemoryLeakTracker.hpp> #include <cstdio> #include <cstdlib> #include <ctime> #include <stdexcept> #if...
<commit_before>/* * Copyright 2011 Matthias Fuchs * * 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 l...
<commit_before>// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE // // 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 of the License, or (at your option) a...
<commit_before>/******************************************************* * Copyright (c) 2015, 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>#include "rapid_pbd/action_executor.h" #include <string> #include "actionlib/client/simple_action_client.h" #include "actionlib/server/simple_action_server.h" #include "control_msgs/GripperCommandAction.h" #include "control_msgs/FollowJointTrajectoryAction.h" #include "ros/ros.h" #include "rapid_pbd/a...
<commit_before>/* BSD 3-Clause License Copyright (c) 2016, Bluecadet 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, th...
<commit_before>// Copyright 2013 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/app/chrome_crash_reporter_client.h" #include "base/atomicops.h" #include "base/command_line.h" #include "base/environment...
<commit_before>#pragma once #include "apple_hid_usage_tables.hpp" #include "constants.hpp" #include "event_manipulator.hpp" #include "human_interface_device.hpp" #include "iokit_utility.hpp" #include "iopm_client.hpp" #include "logger.hpp" #include "manipulator.hpp" #include "types.hpp" #include <IOKit/hid/IOHIDManage...
<commit_before>#include "FlipScrollWheel.hpp" #include "EventOutputQueue.hpp" namespace org_pqrs_KeyRemap4MacBook { namespace RemapFunc { FlipScrollWheel::FlipScrollWheel(void) : flipHorizontalScroll_(false), flipVerticalScroll_(false) {} FlipScrollWheel::~FlipScrollWheel(void) {} void Flip...
<commit_before>// Copyright (C) 2013 DNAnexus, Inc. // // This file is part of dx-toolkit (DNAnexus platform client libraries). // // 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 pi_deleglise_rivat3.cpp /// @brief Implementation of the Lagarias-Miller-Odlyzko prime counting /// algorithm with the improvements of Deleglise and Rivat. /// This version uses compression (see FactorTable & PiTable) /// to reduce the memory usage. /// /// Copyright (...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2011-2014 Paul Asmuth, Google Inc. * * 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 ...
<commit_before>#include <cstdio> #define ELEMENT_COUNT 100000 using namespace std; int n, d[ELEMENT_COUNT]; int pow10[] = { 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000 }; void radix_sort() { static int c[10], t[11], _d[ELEMENT_COUNT]; for (int k = 0; k < 8; k++) { for (int i = 0; i < 10; i++) { c[i...
<commit_before>/* large prime sample for 64-bit arch make CFLAGS_USER="-DMCL_MAX_OP_BIT_SIZE=768" */ #include <mcl/fp.hpp> #include <cybozu/benchmark.hpp> typedef mcl::FpT<> Fp; void test(mcl::fp::Mode mode) { printf("test %s\n", mcl::fp::ModeToStr(mode)); std::string pStr = "7762590461503544675744897442312512776...
<commit_before>/* The MIT License (MIT) Copyright (c) 2013 QuantumCD 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>#include "sample_dynamic.h" #include "simconf.h" #include "element.h" #include <iostream> #include <cmath> using namespace MyTRIM_NS; sampleDynamic::sampleDynamic(simconfType * simconf_, double x, double y, double z): sampleLayers(x, y, z), simconf(simconf_) { bc[0] = CUT; bc[1] = PBC; bc...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ChartWindow.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: vg $ $Date: 2007-05-22 18:05:34 $ * * The Contents of this file are ma...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * 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>#include "browser/inspectable_web_contents.h" #include "browser/inspectable_web_contents_impl.h" #include "content/public/browser/web_contents_view.h" namespace brightray { InspectableWebContents* InspectableWebContents::Create(const content::WebContents::CreateParams& create_params) { auto content...
<commit_before>#include "RosalilaSound.h" Sound::Sound() { music=NULL; writeLogLine("Initializing SLD sound engine."); int channels=10; if( Mix_OpenAudio( 44100, AUDIO_S16SYS/*MIX_DEFAULT_FORMAT*/, 2, 4096 ) == -1 ) { writeLogLine("Failed initializing sound engine. :("); return; ...
<commit_before>// Copyright (c) 2019 Cloudflare, Inc. and contributors // Licensed under the MIT License: // // 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 ...
<commit_before>#include "test.h" #include <RobustWiFiServer.h> void prepareState(ServerState state, RobustWiFiServer& rs) { WiFiClient& c = rs._getClient(); WiFiServer& s = rs._getServer(); switch(state){ case DISCONNECTED: WiFi.setStatus(WL_DISCONNECTED); s.setAvailable(false); s.setListening(...
<commit_before>//////////////////////////////////////////////////////////////////////////// // // Copyright 2017 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>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQuick module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Us...
<commit_before>// This file is part of BlueSky // // BlueSky is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public License // as published by the Free Software Foundation; either version 3 // of the License, or (at your option) any later version. // // BlueSky ...
<commit_before>/****************************************************************************** * Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>/* This file is part of KOrganizer. Copyright (c) 2001,2002,2003 Cornelius Schumacher <schumacher@kde.org> Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General P...
<commit_before>#include "glyph_object_creation.hpp" #include "vector_font.hpp" #include "text3D.hpp" #include "object.hpp" // Include standard headers #include <stdint.h> // uint32_t etc. #include <string> // std::string namespace ontology { void create_glyph_objects(const std::string& text_string, ontology::Te...
<commit_before>#include <common/buffer.h> #include <config/config_class.h> #include <config/config_object.h> #include <config/config_value.h> #include <event/event_callback.h> #include <event/event_system.h> #include <io/socket/socket_types.h> #include "proxy_listener.h" #include "ssh_proxy_listener.h" #include "wa...
<commit_before>// // Copyright(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // // // spdlog usage example // // #define SPDLOG_TRACE_ON #define SPDLOG_DEBUG_ON #include "spdlog/async.h" #include "spdlog/spdlog.h" #include <iostream> #include <memory> void async_exam...
<commit_before>//=========================================== // Lumina-DE source code // Copyright (c) 2016, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #include "session.h" #include <QObject> #include <QProcess> #incl...
<commit_before>/** @file palettetoolbox.cpp * @brief Класс палитры элементов * */ #include <QtGui> #include "palettetoolbox.h" #include "realrepoinfo.h" #include <QMessageBox> PaletteToolbox::DraggableElement::DraggableElement(TypeIdType const &classid, QWidget *parent) : QWidget(parent) { RealRepoInfo info; m...
<commit_before>// // Copyright(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // // // spdlog usage example // // #define SPDLOG_TRACE_ON #define SPDLOG_DEBUG_ON #include "spdlog/sinks/daily_file_sink.h" #include "spdlog/sinks/rotating_file_sink.h" #include "spdlog/sink...
<commit_before>#include "ScriptRepo.hpp" #include "ClientRepo.hpp" #include "RemoteRepo.hpp" #include "EntityManager.hpp" #include "Action.hpp" #include "../inanity/script/np/State.hpp" #include "../inanity/script/np/Any.hpp" #include "../inanity/FileInputStream.hpp" #include "../inanity/MemoryStream.hpp" #include "../...
<commit_before>/*************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of mhome. ** ** If you have questions regarding the use o...
<commit_before>// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "bin/eventhandler.h" #include <errno.h> #include <pthread.h> #include <stdio.h...
<commit_before>#ifndef SEGMENTATOR_HH #define SEGMENTATOR_HH /** Structure for representing states and their probabilities */ struct StateProbPair { int state_num; double prob; }; /** Virtual base class for generating or reading segmentations of * training utterances. */ class Segmentator { public: /** Prec...
<commit_before>/** * @doc Vector NIF module - provides a C++ implementation of the `vector` Erlang module * * @copyright 2012-2013 David H. Bronke and Christopher S. Case * Licensed under the MIT license; see the LICENSE file for details. */ #include <string.h> #include "nif_helpers.h" #include "vector_nif.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 <set> #include <vector> #include "base/bind.h" #include "base/command_line.h" #include "base/files/file_path.h" #include "base/ma...
<commit_before>/* Copyright 2017 Stanford University, NVIDIA Corporation * * 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>//===-- llvm/Target/TargetSchedule.cpp - Sched Machine Model ----*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* <x0/plugins/status.cpp> * * This file is part of the x0 web server project and is released under LGPL-3. * http://www.xzero.ws/ * * (c) 2009-2010 Christian Parpart <trapni@gentoo.org> */ #include <x0/http/HttpPlugin.h> #include <x0/http/HttpServer.h> #include <x0/http/HttpRequest.h> #include <x...
<commit_before>// 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 "chrome/views/controls/button/native_button.h" #include "base/logging.h" #include "chrome/common/l10n_util.h" namespace view...
<commit_before>#define DEBUG_TYPE "dyn-aa" #include <cstdio> #include "llvm/Pass.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/raw_ostream.h" #include "rcs/IDAssigner.h" #include "dyn-aa/DynamicAliasAnalysis.h" #include "dyn-aa/Utils.h" using namespace std; using n...
<commit_before>/*********************************************************************** filename: CEGUIOgreRenderer.cpp created: Tue Feb 17 2009 author: Paul D Turner *************************************************************************/ /********************************************************...
<commit_before>/* $Id$ * * 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 (th...
<commit_before>//===- DivRemPairs.cpp - Hoist/[dr]ecompose division and remainder --------===// // // 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 // //===------------...
<commit_before>#include "Core/Context.h" #include "Core/Engine.h" #include "Core/Logger.h" #include "GameFramework/World.h" #include "GameFramework/Entity.h" #include "Component/CameraComponent.h" #include "Component/MeshRenderComponent.h" #include "Component/LightComponent.h" #include "Resource/ResourceManager.h" #inc...
<commit_before>// ThreadTest.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <thread> #include <chrono> #include <set> #include <vector> #include <shared_mutex> #include <atomic> int egis = 0; class AsmLock { public: void Lock() { __asm { mov eax, 1; ...
<commit_before>// Copyright (c) 2010 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/chromeos/compact_location_bar_view.h" #include <gtk/gtk.h> #include <algorithm> #include "app/l10n_util.h" #...
<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 "content/browser/download/download_file_manager.h" #include "base/file_util.h" #include "base/logging.h" #include "base/stl_u...
<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 "chrome/browser/chromeos/system_key_event_listener.h" // TODO(saintlou): should we handle this define in gyp even if only use...