text
stringlengths
54
60.6k
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>#include <iostream> #include <cstdio> #include <algorithm> #include <queue> #include <map> #include <set> #include <stack> #include <cstring> #include <string> #include <vector> #include <iomanip> #include <cmath> #include <list> #include <bitset> using namespace std; #define ll long long #define lson...
<commit_before>/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ==...
<commit_before>#include "keyboard-layout-manager.h" #include <X11/XKBlib.h> #include <X11/Xutil.h> #include <X11/extensions/XKBrules.h> #include <cwctype> void KeyboardLayoutManager::Init(v8::Handle<v8::Object> exports, v8::Handle<v8::Object> module) { Nan::HandleScope scope; v8::Local<v8::FunctionTemplate> newTe...
<commit_before>#include "graphicitemblock.h" #include <QBrush> #include <QColor> #include <QFontMetrics> #include <QDebug> #include <QAction> #include <parameterint.h> #include <input.h> #include <output.h> libblockdia::GraphicItemBlock::GraphicItemBlock(Block *block, QGraphicsItem *parent) : QGraphicsItem(parent) {...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/* * Copyright (C) 2014 Pavel Kirienko <pavel.kirienko@gmail.com> */ #include <uavcan/transport/frame.hpp> #include <uavcan/transport/can_io.hpp> #include <cassert> namespace uavcan { /** * Frame */ const uint8_t Frame::MaxIndexForService; const uint8_t Frame::MaxIndexForMessage; uint_fast8_t Fram...
<commit_before>#pragma once namespace perlin{ typedef float real; constexpr uint_fast8_t perm[512] = { 151, 160, 137, 91, 90, 15, 131, 13, 201, 95, 96, 53, 194, 233, 7, 225, 140, 36, 103, 30, 69, 142, 8, 99, 37, 240, 21, 10, 23, 190, 6, 148, 247, 120, 234, 75, 0, 26, 197, 62, 94, 252, 219, 203, 117, 35, 1...
<commit_before>/*========================================================================= Program: Insight Segmentation & Registration Toolkit Module: itkPolygonGroupSpatialObjectXMLFileTest.cxx Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Insight Software Consortium. All rights reserved...
<commit_before>#include <boost/thread.hpp> #include <ir/index_manager/index/IndexMergeManager.h> #include <ir/index_manager/index/GPartitionMerger.h> #include <ir/index_manager/index/DefaultMerger.h> #include <ir/index_manager/index/DBTMerger.h> #include <ir/index_manager/index/OfflineIndexMerger.h> #include <i...
<commit_before> #include "InverseKinematicsStudy.h" #include "OpenSenseUtilities.h" #include <OpenSim/Common/IO.h> #include <OpenSim/Common/TimeSeriesTable.h> #include <OpenSim/Common/TableSource.h> #include <OpenSim/Common/STOFileAdapter.h> #include <OpenSim/Common/TRCFileAdapter.h> #include <OpenSim/Common/Reporter.h...
<commit_before>#include <cstddef> #include <cstdlib> #include <tightdb.hpp> using namespace std; using namespace tightdb; // @@Example: ex_cpp_group_constructor_memory @@ TIGHTDB_TABLE_2(PeopleTable, name, String, age, Int) void func(const char* data, size_t size) { Group g(data, ...
<commit_before>#include <map> #include <vector> #include <thread> #include <chrono> #include <mutex> #include <set> #include <assert.h> #include <string.h> #include <unistd.h> #include <netdb.h> #include <fcntl.h> #include "mruset.h" #include "utils.h" #include "connection.h" #include "rpcclient.h" class MempoolCl...
<commit_before>#include "core/iallocator.h" #include "core/binary_array.h" #include "core/crc32.h" #include "core/fs/file_system.h" #include "core/fs/ifile.h" #include "core/json_serializer.h" #include "core/library.h" #include "core/log.h" #include "core/array.h" #include "editor/world_editor.h" #include "engine/engin...
<commit_before>#ifndef VECMATH_HPP #define VECMATH_HPP #include <SFML/System.hpp> #include <cmath> namespace vecmath { const float pi = 3.1415926535897; template<typename T> T norm(const sf::Vector2<T>& a) { return std::sqrt(a.x*a.x + a.y*a.y); } template<typename T> T dot(const sf::Vector2<T>& a, const sf::Vec...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>/* FOLLOWGATE - envelope follower controlling a gate FOLLOWGATE uses the amplitude envelope of the modulator to control the action of a gate applied to the carrier. The gate opens when the power of the modulator rises above a threshold and closes when the power falls below the threshold. T...
<commit_before>// Copyright (c) 2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <string> #include "version.h" // Name of client reported in the 'version' message. Report the same name //...
<commit_before>#include "table_builder.h" #include <unordered_map> #include "item_set.h" #include "rules.h" #include "item_set.h" #include "grammar.h" using namespace std; namespace tree_sitter { namespace lr { static int NOT_FOUND = -1; class ParseTableBuilder { const Grammar grammar...
<commit_before>/* nsjail ----------------------------------------- Copyright 2014 Google Inc. 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://ww...
<commit_before>/* * Copyright (c) 2011, Michael Lehn * * 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 ...
<commit_before> #include <log4cplus/consoleappender.h> #include <log4cplus/layout.h> #include <log4cplus/logger.h> #include <log4cplus/ndc.h> #include <log4cplus/helpers/loglog.h> #include <log4cplus/helpers/threads.h> #include <exception> #include <iostream> #include <sstream> #include <string> using namespace std; ...
<commit_before>/*------------------------------------------------------------------------- * drawElements Quality Program Tester Core * ---------------------------------------- * * Copyright 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>#include "gms/gossiper.hh" #include "gms/failure_detector.hh" namespace gms { gossiper::gossiper() : _scheduled_gossip_task([this] { run(); }) { // half of QUARATINE_DELAY, to ensure _just_removed_endpoints has enough leeway to prevent re-gossip fat_client_timeout = (int64_t) (QUARANTINE_DE...
<commit_before>#include "xchainer/shape.h" #include <gtest/gtest.h> #include "xchainer/dtype.h" #include "xchainer/strides.h" namespace xchainer { namespace { void CheckSpanEqual(std::initializer_list<int64_t> expect, gsl::span<const int64_t> actual) { EXPECT_EQ(gsl::make_span(expect.begin(), expect.end()), act...
<commit_before>#include "../include/FileReaderWriter.h" #include "../include/LogicEvent.h" #include "../include/FileState.h" #include <iostream> //See copyright notice in file Copyright in the root directory of this archive. using namespace std; FileReaderWriter::FileReaderWriter(string &filename,int numofgates, ...
<commit_before>// gogo-tree.cc -- convert Go frontend Gogo IR to gcc trees. // Copyright 2009 The Go 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 "go-system.h" #include "toplev.h" #include "tree.h" #include "stringpool....
<commit_before>#include <iostream> #include <sstream> #include <SFML/Graphics.hpp> #include <GL/gl.h> #include <DMUtils/maths.hpp> #include <DMUtils/sfml.hpp> #include <LightSystem/LightSystem.hpp> #include <LightSystem/SpotLight.hpp> #define WIDTH 640 #define HEIGHT 480 //font taken from http://www.fontspace.co...
<commit_before>#include <QVariant> #include <QList> #include <QStringList> #include <QDir> #include <QDebug> #include "qtcsv/variantdata.h" #include "qtcsv/reader.h" #include "qtcsv/writer.h" void WriteToFile(const QString& filePath); void ReadAndPrint(const QString& filePath); void ReadAndProcess(const QString& file...
<commit_before>/** @file SSLNextProtocolSet @section license License 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 t...
<commit_before>/****************************************************************************** * Copyright 2019 The Apollo 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 ...
<commit_before>// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availa...
<commit_before>#include <iostream> using namespace std; int main() { int a[100][100]; int d[100][100]; a = d; for (int k = 0; k < n; k++) { for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { d[i][j] = min(d[i][j], d[i][k] + d[k][j]); } } } }<commit_msg>Update Floyd wit...
<commit_before>#include "parse.h" bool is_number(const std::string& s) { std::string::const_iterator it = s.begin(); while (it != s.end() && std::isdigit(*it)) ++it; return !s.empty() && it == s.end(); } void host_graph::print_offset_array() { std::cout << "R = ["; for(auto i=R.begin(),e=R.end(); i!=e; ...
<commit_before>#include "mainboard.h" #include "ui_mainboard.h" #include <QTextStream> #include <QLabel> #include <QString> #include <QPushButton> #include <QIcon> #include <QSize> #include <QObject> #include <QSignalMapper> #include "chesslogic.h"; #include "QDebug"; MainBoard::MainBoard(QWidget *parent) : QMainW...
<commit_before>/** * @file Main.cpp */ #include "GLFWEW.h" #include "Texture.h" #include "Shader.h" #include "OffscreenBuffer.h" #include <glm/gtc/matrix_transform.hpp> #include <iostream> #include <vector> /// _f[^^. struct Vertex { glm::vec3 position; ///< W. glm::vec4 color; ///< F. glm::vec2 ...
<commit_before>/* Kate search plugin * * Copyright (C) 2013 by Kåre Särs <kare.sars@iki.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at y...
<commit_before>/*********************************************************************** filename: CEGUIOpenGLTexture.cpp created: Sun Jan 11 2009 author: Paul D Turner *************************************************************************/ /*******************************************************...
<commit_before>#include <sequence/Parser.hpp> #include <cstdio> #include <cstdlib> namespace sequence { inline static void printRegular(const Item& item) { const auto pFilename = item.filename.c_str(); switch (item.getType()) { case Item::SINGLE: printf("%s\n", pFilename); break; case Item::INVALID: printf(...
<commit_before>// Use with: // -Xclang -load -Xclang path/to/string-plugin.so -Xclang -add-plugin -Xclang format-plugin // and zero or more of // -Xclang -plugin-arg-format-plugin -Xclang -list=functions.txt #include <fstream> #include <string> #include <vector> #include <cstdlib> #define __STDC_LIMIT_MACROS 1 #defin...
<commit_before>#ifndef AL_FREENECT_HPP #define AL_FREENECT_HPP /* Allocore -- Multimedia / virtual environment application class library Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB. Copyright (C) 2012. The Regents of the University of California. All rights reserved. Redistribu...
<commit_before>/* Copyright (c) 2017, Vlad Meșco All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and th...
<commit_before>#include "box.hpp" Box::Box() : Shape{}, min_{glm::vec3{0.0, 0.0, 0.0}}, max_{glm::vec3{0.0, 0.0, 0.0}} { std::cout << "ctor box ()" << "\n"; } Box::Box(glm::vec3 const& min, glm::vec3 const& max) : Shape{}, min_{min}, max_{max} { std::cout << "ctor box (min, max)" << "\n"; } Box::B...
<commit_before>//This is a dual-purpose class for gene pools - it serves as a "base" //GA, and also as a gene pool for individuals in hierarchical GAs //Since these functions are, by and large, very similar, they can be //combined together into one class #include "HierarchicalGenePool.h" #include <sstream> #include <i...
<commit_before>/* * TexLogParser.cpp * * Copyright (C) 2009-11 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILI...
<commit_before> // ================================================================================================= // This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This // project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max- // wi...
<commit_before>#include <mos/render/environment_light.hpp> namespace mos { EnvironmentLight::EnvironmentLight(const glm::vec3 &position, const glm::vec3 &extent, const float strength, const glm::uvec2 resolution) ...
<commit_before>#pragma once #include "grid_base.hpp" #include <numeric> namespace gftools { template <bool Fermion> inline complex_type Matsubara(int n, real_type beta){return PI*I/beta*complex_type(2*n+Fermion);}; template <bool Fermion> inline int MatsubaraIndex(complex_type in, real_type beta){return std::round...
<commit_before>/* * PyDIP 3.0, Python bindings for DIPlib 3.0 * * (c)2017, Flagship Biosciences, Inc., written by Cris Luengo. * * 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) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke 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 c...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2011, Rice University * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
<commit_before>// @(#)root/gpad:$Name: $:$Id: TDialogCanvas.cxx,v 1.3 2000/11/21 20:21:18 brun Exp $ // Author: Rene Brun 03/07/96 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/** @file @brief Implementation @date 2015 @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, 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 ...
<commit_before><commit_msg>qt: Don't use QDateTime::toSecsSinceEpoch<commit_after><|endoftext|>
<commit_before>// Copyright 2015 Patrick Putnam // // 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 a...
<commit_before>/* * Copyright (c) 2019 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 "gpgpu/demos/ray_lut.hh" #include "gpgpu/import/load_kernel.hh" #include "gpgpu/interplatform/cl_liegroups.hh" #include "gpgpu/wrappers/create_context.hh" #include "gpgpu/wrappers/errors.hh" #include "gpgpu/wrappers/image_read_write.hh" #include "util/timing.hh" #include "viewer/interaction/ui...
<commit_before>#include "Mesh.hpp" #include "ShaderProgram.hpp" #include "ShaderBinding.hpp" Mesh::Mesh(Vertex::Format format, BufferType bufferType, bool indexed) : vertexFormat(format), vertexCount(0), indexCount(0), vertexBuffer(0), primitiveType(TRIANGLES), bufferType(bufferType), indexed(indexed) { glGenB...
<commit_before>/****************************************************************************** * This file is part of the Gluon Development Platform * Copyright (C) 2008 Sacha Schutz <istdasklar@free.fr> * Copyright (C) 2008 Olivier Gueudelot <gueudelotolive@gmail.com> * Copyright (C) 2008 Charles Huet <packadal@gm...
<commit_before>#include "graphicwindow.h" GraphicWindow::GraphicWindow(const bhs::SimCondition& simCondition) : m_lineShaders(new LineShaders) , m_particleShaders(new ParticleShaders(&m_threadAdmin)) , m_computeShaders(new ComputeShaders) , m_threadAdmin(this, m_computeShaders) , m_walkSpeed(0.1f) ...
<commit_before>/* * Copyright (C) 2015 midnightBITS * * 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 "Preference.h" #include <string.h> using namespace sqaod; const char *sqaod::algorithmToString(Algorithm algo) { switch (algo) { case algoNaive: return "naive"; case algoColoring: return "coloring"; case algoBruteForceSearch: return "brute_force_search";...
<commit_before> #include "tree_node.h" namespace gui { //////////////////////////////////////// void tree_node::compute_minimum( void ) { if ( _collapsed ) { _root->compute_minimum(); set_minimum( _root->minimum_height(), _root->minimum_width() ); } else container<tree_layout>::compute_minimum(); } //////...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: edtspell.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: hr $ $Date: 2007-06-27 16:31:54 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: svdtouch.hxx,v $ * * $Revision: 1.2 $ * * last change: $Author: pjunck $ $Date: 2004-11-03 10:24:59 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<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 "components/translate/language_detection/language_detection_util.h" #include "base/logging.h" #include "base/metrics/field_trial....
<commit_before>/* Copyright (c) 2014, Muzzley Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A...
<commit_before><commit_msg>[-] comment<commit_after><|endoftext|>
<commit_before>#include <BrewingStandTile.h> BeaconTile::BeaconTile(int id) : EntityTile(id, &Material::metal) { tex = getTextureUVCoordinateSet("glass", 0); secondary_tex = getTextureUVCoordinateSet("obsidian", 0); terciary_tex = getTextureUVCoordinateSet("beacon", 0); //fourth_tex = getTextureUVCoordinateSet("be...
<commit_before>//g++ gensecondarypair.cpp -lcrypto++ -o gensecondarypair #include <string> using namespace std; #include <crypto++/rsa.h> #include <crypto++/osrng.h> #include <crypto++/base64.h> #include <crypto++/files.h> #include <crypto++/aes.h> #include <crypto++/modes.h> #include <crypto++/ripemd.h> using namespa...
<commit_before>/* * Copyright (C) 2015 ScyllaDB */ /* * This file is part of Scylla. * * Scylla is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your op...
<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/chrome_browser_main_chromeos.h" #include "base/bind.h" #include "base/callback.h" #include "base/com...
<commit_before>#include <cstdarg> #include <cstdio> #include <exception> #include <iostream> #include <sstream> #include <string> #include "lisp_ptr.hh" #include "printer.hh" #include "procedure.hh" #include "rational.hh" #include "s_closure.hh" #include "zs_error.hh" #include "zs_memory.hh" static const size_t ERROR...
<commit_before>// Copyright (c) 2016 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/ColinH/PEGTL/ #include <iostream> #include <pegtl.hh> namespace csv1 { // Simple CSV-file format for an unknown-at-compile-time number of values per // line, the values are space/...
<commit_before>// Copyright (c) 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 <vector> #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/path_service.h...
<commit_before>/* Copyright (c) 2012 Carsten Burstedde, Donna Calhoun 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, t...
<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. c...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) */ /****************************************************************************************************/ #define A...
<commit_before>/* Copyright 2005-2007 Adobe Systems Incorporated Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt or a copy at http://stlab.adobe.com/licenses.html) */ /****************************************************************************************************/ // reveal...
<commit_before><commit_msg>No.63 : dp<commit_after><|endoftext|>
<commit_before><commit_msg>[msan] Enable SelectPartial test.<commit_after><|endoftext|>
<commit_before>#include "sitewindow.h" #include "ui_sitewindow.h" #include <QFile> #include <QPushButton> #include "models/profile.h" #include "models/site.h" #include "models/source.h" #include "models/source-guesser.h" #include "helpers.h" #include "functions.h" SiteWindow::SiteWindow(Profile *profile, QMap<QString...
<commit_before>/* This file is part of SWGANH. For more information, visit http://swganh.com Copyright (c) 2006 - 2012 The SWG:ANH Team 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 v...
<commit_before>#include "./constraint_updater.h" #include <Eigen/Geometry> #include <boost/geometry.hpp> #include <boost/geometry/geometries/point.hpp> #include <vector> #include "../graphics/vertex_array.h" #include "../graphics/render_data.h" namespace bg = boost::geometry; typedef bg::model::point<float, 2, bg::cs:...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 - 2013 Jolla Ltd. ** Contact: http://jolla.com/ ** ** This file is part of Qt Creator. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Le...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before>/// /// @file retdec/internal/service_impl.cpp /// @copyright (c) 2015-2016 by Petr Zemek (s3rvac@gmail.com) and contributors /// @license MIT, see the @c LICENSE file for more details /// @brief Implementation of the base class of private service /// implementations. /// #include ...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>/* * Copyright (c) 2008-2010 Appcelerator, Inc. 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 * ...
<commit_before>/**************************************************************************** ** ** Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Commer...
<commit_before> #include "parseArgs/parseArgs.h" #include "au/daemonize.h" #include "au/log/LogServer.h" #include "au/log/LogCommon.h" #define LOC "localhost" #define LS_PORT AU_LOG_SERVER_PORT #define LS_QUERY_PORT AU_LOG_SERVER_QUERY_PORT #define LS_LOG_DIR AU_LOG_SERVER_DIRECTORY bool fg; int ...
<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/browser/ui/webui/chromeos/mobile_setup_dialog.h" #include "base/bind.h" #include "base/memory/singleton.h" #include "...
<commit_before> /** * Copyright 2012 Washington University in St Louis * * 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 * * U...
<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 <vector> #include "base/ref_counted.h" #include "base/string16.h" #include "base/task.h" #include "base/utf_string_conversion...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: accessiblecomponenthelper.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 02:24:35 $ * * The Contents of th...
<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>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used ...
<commit_before>#include "App.h" #include "helpers.h" /* This function pushes data to the uSockets mock */ extern "C" void us_loop_read_mocked_data(struct us_loop *loop, char *data, unsigned int size); uWS::TemplatedApp<false> *app; us_listen_socket_t *listenSocket; extern "C" int LLVMFuzzerInitialize(int *argc, cha...