text
stringlengths
54
60.6k
<commit_before> /**************************************************************************** * * Copyright (C) 2014 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) 2016 Elviss Strazdins // This file is part of the Ouzel engine. #define NOMINMAX #include <windows.h> #include "WindowWin.h" #include "core/Engine.h" #include "utils/Utils.h" void ouzelMain(const std::vector<std::string>& args); int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hP...
<commit_before>/* * Copyright (C) 2012 * Alessio Sclocco <a.sclocco@vu.nl> * * 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 lat...
<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>/* * The MIT License (MIT) * * Copyright (c) 2014 Pavel Strakhov * * 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 ...
<commit_before>#include "Utility/Configuration.h" #include <iostream> #include <fstream> #include <string> #include <map> #include <vector> #include <stdexcept> #include <algorithm> #include "Utility/String.h" Configuration::Configuration(const std::string& file_name) { std::ifstream ifs(file_name); if( ! if...
<commit_before>// A try to port libgit2 status.c example to libqgit2 #include <QCoreApplication> #include <QTimer> #include <iostream> #include <bitset> #include "qgitrepository.h" #include "qgitstatuslist.h" #include "qgitstatusentry.h" #include "qgitstatus.h" #include "qgitstatusoptions.h" #include "QStatus.h" u...
<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>/* * Copyright 2014 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrGLSLFragmentShaderBuilder.h" #include "GrRenderTarget.h" #include "glsl/GrGLSL.h" #include "glsl/GrGLSLCaps.h" #include "glsl/GrGLSLProgramBuilder.h...
<commit_before>//$Id: Srch2Server.cpp 3456 2013-06-14 02:11:13Z jiaying $ #include <syslog.h> #include "Srch2Server.h" #include "util/RecordSerializerUtil.h" namespace srch2 { namespace httpwrapper { const char *HTTPServerEndpoints::index_search_url = "/srch2/search"; const char *HTTPServerEndpoints::index_info_url =...
<commit_before>/** * Copyright (C) Mellanox Technologies Ltd. 2001-2014. ALL RIGHTS RESERVED. * Copyright (C) UT-Battelle, LLC. 2014. ALL RIGHTS RESERVED. * See file LICENSE for terms. */ extern "C" { #include <uct/api/uct.h> #include <ucs/time/time.h> } #include <common/test.h> #include "uct_test.h" class test_uct_...
<commit_before>#include "shared-application.h" #include <QtGlobal> #ifdef Q_OS_WIN32 #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif #ifndef __MSVCRT__ #define __MSVCRT__ #endif #include <process.h> #else #include <pthread.h> #endif #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) #inclu...
<commit_before>#include "../stactive_record.h" using namespace stactiverecord; Sar_Dbi * Sar_Dbi::dbi = Sar_Dbi::makeStorage("sqlite://./sqlitedb.db"); void assert(bool v, string msg) { if(v) return; throw Sar_AssertionFailedException("Failed when testing " + msg); } int main() { debug("Testing sqlite..."); ...
<commit_before>#include <string> #include <queue> #include <iostream> #include "tpunit++.hpp" #include "fakeit.h" #include "fakeit/FakeitExceptions.h" using namespace fakeit; using namespace std; struct DemoTests // : tpunit::TestFixture { DemoTests() // : // tpunit::TestFixture( // //TEST(DemoTests:...
<commit_before>#include <x0/source.hpp> #include <x0/file_source.hpp> #include <x0/sink.hpp> #include <x0/file_sink.hpp> #include <x0/filter.hpp> #include <x0/null_filter.hpp> #include <x0/uppercase_filter.hpp> #include <x0/compress_filter.hpp> #include <x0/chain_filter.hpp> #include <x0/pump.hpp> #include <iostream> #...
<commit_before>#include <iostream> #include <algorithm> #include <fstream> #include "catch.h" #include "../include/NeuralNet.h" #include "../include/Pruner.h" #include "../include/Backpropagation.h" // Constants set for testing, could be anything const static double ERROR_ALLOWANCE = 0.1; const static int HIDDEN_LAYER...
<commit_before>#define BOOST_TEST_MODULE StencilConvolution #include <boost/test/unit_test.hpp> #include "context_setup.hpp" BOOST_AUTO_TEST_CASE(stencil_convolution) { const int n = 1024; std::vector<double> s = random_vector<double>(rand() % 64 + 1); int center = rand() % s.size(); vex::stencil<do...
<commit_before>/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * 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...
<commit_before>#include "testhelper.hpp" #include "../src/Xml/XmlParser.hpp" #include "../src/Xsl/Xsl.hpp" void testXslTransform() { // xml std::string xmlContent (xml_code( <root> rethdghg <cd> <title>Title A</title> </cd> <cd> ...
<commit_before>// This is free and unencumbered software released into the public domain. // For more information, please refer to <http://unlicense.org/> #include "span_analyzer_frame.h" #include "wx/aboutdlg.h" #include "wx/xrc/xmlres.h" #include "cable_file_manager_dialog.h" #include "cable_unit_converter.h" #inc...
<commit_before>#ifdef HAVE_CVS_IDENT #ident "$Id: vvp_vpi.cc,v 1.7 2003/01/09 04:09:44 steve Exp $" #endif #include <stdarg.h> #include "vpi_user.h" #include "vpithunk.h" vpi_thunk vvpt; void vvp_vpi_init() { vvpt.magic = VPI_THUNK_MAGIC; vvpt.vpi_register_systf = vpi_register_systf; vvpt.vpi_vprintf = vpi_vpr...
<commit_before>/* * Copyright (c) 2008-2016 the MRtrix3 contributors * * 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/MPL/2.0/ * * MRtrix is distributed in the hope that...
<commit_before>#pragma once #include <boost/preprocessor/seq/for_each.hpp> #include "all_type_variant.hpp" #include "storage/base_value_column.hpp" #include "storage/chunk.hpp" #include "storage/column_iterables/base_column_iterators.hpp" namespace opossum { // We need a boolean data type in the JitOperator, but do...
<commit_before>#include "ipuptanesecondary.h" #include "asn1/asn1_message.h" #include "der_encoder.h" #include "logging/logging.h" #include <memory> namespace Uptane { PublicKey IpUptaneSecondary::getPublicKey() { LOG_INFO << "Getting the public key of a secondary"; Asn1Message::Ptr req(Asn1Message::Empty()); ...
<commit_before>#include <lug/Window/Android/WindowImplAndroid.hpp> #include <mutex> namespace lug { namespace Window { namespace priv { std::mutex WindowImpl::androidMutex; std::condition_variable WindowImpl::cv; std::queue<lug::Window::Event> WindowImpl::events; AInputQueue* WindowImpl::inputQueue = nullptr; ANative...
<commit_before>/* Luwra * Minimal-overhead Lua wrapper for C++ * * Copyright (C) 2015, Ole Krüger <ole@vprsm.de> */ #ifndef LUWRA_USERTYPES_H_ #define LUWRA_USERTYPES_H_ #include "common.hpp" #include "types.hpp" #include "stack.hpp" #include <map> #include <string> LUWRA_NS_BEGIN namespace internal { templat...
<commit_before>/*************************************************************************/ /* image_loader.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/************************************************************************ * * Copyright (C) 2017 by Peter Harrison. www.micromouseonline.com * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal i...
<commit_before>/** * Copyright (c) 2015 Eugene Lazin <4lazin@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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>/** * @cond ___LICENSE___ * * Copyright (c) 2016 Koen Visscher, Paul Visscher and individual contributors. * * 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 rest...
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>// Copyright (c) 2019 ASMlover. 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 o...
<commit_before>#include "TestRegistry.h" #include "Test.h" using namespace std; using namespace CppUnit; std::vector<std::string> s_registry_names; std::vector<Test*> s_registry_tests; static TestRegistry* s_registry; static bool instanciated=false; TestRegistry& TestRegistry::getRegistry () { if(!instanciated) ...
<commit_before>#include "ifnet.h" #include "connection.h" #include "net.h" #include "connectionmgr.h" FxSession::FxSession() { m_poConnection = NULL; //m_pDataHeader = NULL; } FxSession::~FxSession() { if (m_poConnection) { m_poConnection->SetSession(NULL); FxConnectionMgr::Instance()->Releas...
<commit_before>#include "Hotkeys.h" #include <CommCtrl.h> #include "../3RVX/HotkeyInfo.h" #include "../3RVX/HotkeyManager.h" #include "../3RVX/Logger.h" #include "../3RVX/Settings.h" #include "../3RVX/SkinInfo.h" #include "resource.h" void Hotkeys::Initialize() { using std::placeholders::_1; INIT_CONTROL(L...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** Contact: Qt Software Information (qt-info@nokia.com) ** ** This file is part of the QtDeclarative module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
<commit_before>#include "stdafx.h" #include "TDB_API.h" #include "TDB_API_helper.h" #include "kdb+.util/util.h" #include "kdb+.util/K_ptr.h" TDB_API K K_DECL TDB_codeTable(K h, K market) { ::THANDLE tdb = NULL; std::string mkt; try { TDB::parseTdbHandle(h, tdb); mkt = q::q2String(market); } catch (std::stri...
<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 cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>/* Copyright 2012-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" #include <getopt.h> using namespace watchman; #define IS_REQUIRED(x) (x) == REQ_STRING /* One does not simply use getopt_long() */ void usage(struct watchman_getopt* opts, FILE* where)...
<commit_before>/* Implements linear-time construction of (generalized) suffix tree Sample input: "abcd$xyz#", where $ and # are delimeters Delimeters determined by isDelim Primary methods: occurrences(pattern): returns how many times pattern occurred across all input strings longestRepeat(vector of s...
<commit_before>/* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing authors * Copyright 2020 Axel Waggershauser * * 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.o...
<commit_before>/** \brief MARC grep the Next Generation. * \author Dr. Johannes Ruscheinski (johannes.ruscheinski@uni-tuebingen.de) * * \copyright 2019 Universitätsbibliothek Tübingen. All rights reserved. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GN...
<commit_before>/************************************************************************* * * $RCSfile: xmllib_import.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: obo $ $Date: 2003-09-04 09:20:09 $ * * 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: tp_PointGeometry.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: vg $ $Date: 2007-05-22 17:47:10 $ * * The Contents of this file a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: _serviceregistration_view.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2007-07-25 09:06:55 $ * * The Contents of th...
<commit_before>/* Copyright 2019 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) 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 <vector> #include "base/file_path.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "chrome/...
<commit_before>#include <omp.h> #include <stdio.h> #include <opencv2/opencv.hpp> #include <fstream> #include <iostream> #include <armadillo> #include <iomanip> #include <vector> #include <hdf5.h> #include "omp.h" using namespace std; using namespace arma; // #include "aux-functions-def.hpp" // #include "aux-functi...
<commit_before>#include "geometria/CurvaBSpline.h" #include <iostream> CurvaBSpline::CurvaBSpline() : ObjetoGeometrico() { this->pontosParametricosRedefinidos = false; } CurvaBSpline::CurvaBSpline(const CurvaBSpline& curva) : ObjetoGeometrico(curva) { for (int i = 0; i < curva.pontos.size(); i++) this->pontos....
<commit_before>/* This file is part of cpp-ethereum. cpp-ethereum 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. cpp-ethereum is dis...
<commit_before>/* Copyright (c) 2019, Michael Fisher <mfisher@kushview.net> 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 SOFTWAR...
<commit_before>#include "cpuMLFQ.h" void MLFQ::start() { init(); do { /*thread docpu(&MLFQ::do_CPU, this); thread doio(&MLFQ::do_IO, this); doio.join(); docpu.join();*/ if (!IO->empty()) do_IO(); do_CPU(); } while (!queue1->empty() || !queue2->empty() || !fcfs->empty() || !IO->empty()); } voi...
<commit_before>#include "stdafx.h" #include "EasyServer.h" #include "Config.h" #include "PacketType.h" #include "Exception.h" #include "ClientSession.h" #include "ClientManager.h" #include "DatabaseJobManager.h" #include "DbHelper.h" #pragma comment(lib,"ws2_32.lib") SOCKET g_AcceptedSocket = NULL ; __declspec(t...
<commit_before>// Regression test for // https://code.google.com/p/address-sanitizer/issues/detail?id=183 // RUN: %clangxx_asan -O2 %s -o %t // RUN: not %run %t 12 2>&1 | FileCheck %s // RUN: not %run %t 100 2>&1 | FileCheck %s // RUN: not %run %t 10000 2>&1 | FileCheck %s #include <stdlib.h> #include <string.h> int...
<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 // "Lic...
<commit_before>#ifndef KDEINETLAYER_HXX_ #define KDEINETLAYER_HXX_ #ifndef KDEBACKEND_HXX_ #include "kdebackend.hxx" #endif #ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_ #include <com/sun/star/uno/XComponentContext.hpp> #endif #ifndef _COM_SUN_STAR_CONFIGURATION_BACKEND_XLAYER_HPP_ #include <com/sun/star/configur...
<commit_before>#define NULL ((void*)0) typedef unsigned long size_t; namespace std { enum class align_val_t : size_t {}; } class exception {}; void cleanFunction(); void* operator new(size_t, float); void* operator new[](size_t, float); void* operator new(size_t, std::align_val_t, float); void* operator new[](size...
<commit_before>#include "perf_precomp.hpp" using namespace std; using namespace cv; using namespace perf; using std::tr1::make_tuple; using std::tr1::get; typedef std::tr1::tuple<Size, MatType, MatType, int, double> Size_DepthSrc_DepthDst_Channels_alpha_t; typedef perf::TestBaseWithParam<Size_DepthSrc_DepthD...
<commit_before>/************************************************************************* * * $RCSfile: breakiterator_cjk.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: khong $ $Date: 2002-12-05 19:12:14 $ * * The Contents of this file are made available subject to the terms of * either of the fol...
<commit_before>/* * Copyright © 2010 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, mod...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2017 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>/* -*- 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><commit_msg>remove UB from cyber base object pool test<commit_after><|endoftext|>
<commit_before>#include "MatrixTransform.hpp" #include "misc.hpp" #include <cmath> namespace yks { mat3 rotate(const vec3& axis, float angle) { // Taken from Graphics Gems I (Section IX.6) const float s = std::sin(angle); const float c = std::cos(angle); const float t = 1.f - c; const float x = axis[0];...
<commit_before>/////////////////////////////////////////////////////////////////////////////// // Mat::const_row_col_iterator implementation // /////////////////////////////////////////////////////////////////////////////// template<typename eT> inline Mat<eT>::const_row_col_iterator::c...
<commit_before> #include <stddef.h> // Чтобы определить NULL ///////// Включения основного модуля module.h #include "Module.h" #include "Function_module.h" #include <math.h> #include <iostream> #include <time.h> // для Рандомайзера using namespace std; // Опишу функцию вне класса чтобы можно было применять cout ...
<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>/**************************************************************************** ** ** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the test suite of the Qt Toolkit. ** ** $QT_BEGIN_LICE...
<commit_before> #include <random> #include <ncurses.h> #include <string.h> #include <vector> #include "maze.h" #include "menu.h" #include "windows.h" using namespace std; // forward declarations void get_new_dims(int& nrows, int& ncols, int count); game_state game_ui(WINDOW *menu_win, game_state state); game_state ga...
<commit_before>/* * Copyright (C) 2010-2014 Jeremy Lainé * Contact: https://github.com/jlaine/qdjango * * This file is part of the QDjango Library. * * 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 So...
<commit_before>// ======================================================================== // // Copyright 2009-2017 Intel Corporation // // // // Licensed under the Apache License, Version 2.0 (the "License"); ...
<commit_before>#include <QString> #include <QUrl> #include <QFileInfo> #include <QSqlQuery> #include <QSqlRecord> #include "identity.h" #include "kernel.h" #include "ilwisdata.h" #include "resource.h" #include "connectorinterface.h" #include "catalogconnector.h" #include "factory.h" #include "abstractfactory.h" #includ...
<commit_before>/** * Appcelerator Titanium - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved. */ #include "async_copy.h" #include "filesystem_binding.h" #ifndef OS_WIN32 #include <unistd.h> #include ...
<commit_before>/* Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved. 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 t...
<commit_before>/* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard <http://drobilla.net> * * Ingen 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 y...
<commit_before>/* * The Apache Software License, Version 1.1 * * * Copyright (c) 1999 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. Redistri...
<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 <string> #include "base/logging.h" #include "base/mime_util.h" #include "net/base/platform_mime_util.h" namespace net {...
<commit_before>/* Copyright (C) 2013 Martin Klapetek <mklapetek@kde.org> Copyright (C) 2014 David Edmundson <davidedmundson@kde.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 ...
<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 "net/base/transport_security_state.h" #include "base/base64.h" #include "base/json/json_reader.h" #include "base/json/json_wr...
<commit_before>#include "FFmpegDecoderVideo.hpp" #include <osg/Notify> #include <osg/Timer> #include <stdexcept> #include <string.h> namespace osgFFmpeg { FFmpegDecoderVideo::FFmpegDecoderVideo(PacketQueue & packets, FFmpegClocks & clocks) : m_packets(packets), m_clocks(clocks), m_stream(0), m_cont...
<commit_before>//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===-------------------------...
<commit_before>/* * Copyright 2008-2013 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 require...
<commit_before>//============================================================================== // Enhanced tree view widget //============================================================================== #include "treeviewwidget.h" //============================================================================== #i...
<commit_before>/* * Copyright 2008-2009 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 require...
<commit_before> #include <Onsang/utility.hpp> #include <Onsang/Log.hpp> #include <Onsang/asio.hpp> #include <Onsang/serialization.hpp> #include <Onsang/Net/CmdStreamer.hpp> #include <Hord/Error.hpp> #include <Hord/ErrorCode.hpp> #include <duct/IO/arithmetic.hpp> #include <cassert> #include <limits> #include <mutex> ...
<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>extern "C" { #include "bin/src/halide_hexagon_remote.h" #include <memory.h> #include <stdlib.h> #include <stdio.h> #include <dlfcn.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include "HAP_farf.h" #include "HAP_power.h" } #include <HalideRuntime.h> #include <qurt.h> #include ...
<commit_before>//===-- sanitizer_printf_test.cc ------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before> #include <v8.h> #include "JSSystemStruct.hpp" #include "JSContextStruct.hpp" #include "../JSObjects/JSFields.hpp" #include "../JSEntityCreateInfo.hpp" #include "JSPositionListener.hpp" #include "JSPresenceStruct.hpp" #include "../JSLogging.hpp" #include "../JSObjectScript.hpp" namespace Sirikata{ nam...
<commit_before>/* * AUTOGENERATED CODE, DO NOT EDIT * * * Copyright (C) 2012 Aldebaran Robotics */ #pragma once #ifndef _QIMESSAGING_DETAILS_BOOSTFUNCTOR_HXX_ #define _QIMESSAGING_DETAILS_BOOSTFUNCTOR_HXX_ #include <boost/mpl/at.hpp> # include <qimessaging/functor.hpp> # include <boost/function_types/function_arit...
<commit_before>#ifndef VAST_CONCEPT_PRINTABLE_NUMERIC_INTEGRAL_HPP #define VAST_CONCEPT_PRINTABLE_NUMERIC_INTEGRAL_HPP #include <cstdint> #include <type_traits> #include "vast/concept/printable/detail/print_numeric.hpp" #include "vast/concept/printable/core/printer.hpp" namespace vast { template <typename T> struct...
<commit_before>/*------------------------------------------------------------------------------ Copyright (c) 2004 Media Development Loan Fund This file is part of the LiveSupport project. http://livesupport.campware.org/ To report bugs, send an e-mail to bugs@campware.org LiveSupport is free s...
<commit_before>#include "Thread/Unix/ThreadImpl.hh" #include "Thread/ThreadException.hh" namespace LilWrapper { ThreadImpl::ThreadImpl(Thread *thread) { this->_isActive = pthread_create(&this->_thread, NULL, &ThreadImpl::entryPoint, thread) == 0; if (!this->_isActive) throw ThreadException("Thread E...
<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>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2020 musikcube 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) 2016-present, 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 2004-present Facebook. All Rights Reserved. #include "TcpConnectionAcceptor.h" #include <folly/ThreadName.h> #include <folly/io/async/ScopedEventBaseThread.h> #include "src/framing/FramedDuplexConnection.h" #include "src/transports/tcp/TcpDuplexConnection.h" namespace rsocket { class Tc...
<commit_before>/* * This file is a part of Xpiks - cross platform application for * keywording and uploading images for microstocks * Copyright (C) 2014-2016 Taras Kushnir <kushnirTV@gmail.com> * * Xpiks is distributed under the GNU General Public License, version 3.0 * * This program is free software: you can r...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...