text
stringlengths
54
60.6k
<commit_before>/****************************************************************************** * Copyright (c) 2000-2016 Ericsson Telecom AB * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
<commit_before>#include <atma/string.hpp> #include <atma/intrusive_ptr.hpp> #include <atma/math/vector4f.hpp> #include <atma/algorithm.hpp> #include <atma/enable_if.hpp> #include <atma/math/intersection.hpp> #include <filesystem> namespace shelf { enum class path_type_t { dir, file, ...
<commit_before>// vim:ts=2:sw=2:expandtab:autoindent:filetype=cpp: /* The MIT License Copyright (c) 2008, 2009 Aristid Breitkreuz, Ash Berlin, Ruediger Sonderfeld Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
<commit_before>#include "tests-base.hpp" extern "C" { #include "../internal/database.h" #include "../internal/streaming.h" } #include "helpers-normalization.hpp" #include "helpers-strings.hpp" TEST(Streaming, Initialized) { const char* i = "loneliness"; size_t il = strlen(i); StreamState state; ...
<commit_before>/****************************************************************************** This source file is part of the tomviz project. Copyright Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software ...
<commit_before>#include <fastrtps/log/Log.h> #include <fastrtps/log/StdoutConsumer.h> #include <iostream> using namespace std; namespace eprosima { namespace fastrtps { struct Log::Resources Log::mResources; Log::Resources::Resources(): mDefaultConsumer(new StdoutConsumer), mLogging(false), mWork(false), ...
<commit_before>/* * Copyright (c) 2001-2005 The Regents of The University of Michigan * 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>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // author: Lukasz Janyst <ljanyst@cern.ch> // // This file is dual-licensed: you can choose to license it under the University // of Illinois Open Source License or the GNU Less...
<commit_before>// @(#)root/gl:$Id$ // Author: Olivier Couet 17/04/2007 /************************************************************************* * Copyright (C) 1995-2006, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/// HEADER #include <csapex/model/node.h> /// PROJECT #include <csapex/msg/io.h> #include <csapex/param/parameter_factory.h> #include <csapex/utility/register_apex_plugin.h> #include <csapex/model/node_modifier.h> #include <csapex/msg/generic_value_message.hpp> #include <csapex/msg/any_message.h> #inclu...
<commit_before>#include "Nav.hpp" namespace NAV { vector<Marker> FillMarkerList(std::vector<KeyDataPair> data) { vector<Marker> markers; geometry_msgs::Pose p; MarkerType t; std::string name; for (int i = 0; i < data.size(); i++) { if(data[i].key.compare(0,6,"Marker") == 0) { if(data[i].da...
<commit_before>/* Copyright 2017 Istio 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 requi...
<commit_before>/* * Copyright (C) 2008 Barracuda Networks, Inc. * * 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) any later...
<commit_before>/* * Copyright (C) 2008 Barracuda Networks, Inc. * * 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) any later...
<commit_before>/* This file is part of the KDE project. Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 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, eith...
<commit_before>#include "chunked_response_stream.h" const rs::httpserver::Stream::byte rs::httpserver::ChunkedResponseStream::endOfLine_[2] = { '\r', '\n' }; const rs::httpserver::Stream::byte rs::httpserver::ChunkedResponseStream::endOfBlocks[5] = { '0', '\r', '\n', '\r', '\n' }; int rs::httpserver::ChunkedResponseS...
<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...
<commit_before>// // libavg - Media Playback Engine. // Copyright (C) 2003-2008 Ulrich von Zadow // // 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 of the Li...
<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...
<commit_before>/************************************************************************** ** ** Copyright (C) 2013 BlackBerry Limited. All rights reserved. ** ** Contact: BlackBerry (qt@blackberry.com) ** Contact: KDAB (info@kdab.com) ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees h...
<commit_before>/* gdnet_peer.cpp */ #include "gdnet_peer.h" GDNetPeer::GDNetPeer(GDNetHost* host, ENetPeer* peer) : _host(host), _peer(peer) { _host->reference(); } GDNetPeer::~GDNetPeer() { _host->unreference(); } int GDNetPeer::get_peer_id() { ERR_FAIL_COND_V(_host->_host == NULL, -1); return (int)(_peer - _h...
<commit_before>// Copyright (c) 2012, Zeex // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, this // lis...
<commit_before>#include <iostream> #include <unistd.h> #include "opencv2/core/utility.hpp" #include "opencv2/imgproc.hpp" #include "opencv2/imgcodecs.hpp" #include "opencv2/highgui.hpp" #include "gk_utils.h" #include "gk_types.h" #include "gk_functions.h" #include "gk_operators.h" #include "gk_Worker.h" using std::c...
<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>/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #include <max_biclique/max_biclique_params.hh> #include <max_biclique/max_biclique_result.hh> #include <max_biclique/algorithms.hh> #include <graph/degree_sort.hh> #include <boost/program_options.hpp> #include <iostream> #include <iomanip> #include <ex...
<commit_before>/* * Copyright 2014 Matthew Harvey * * 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 applica...
<commit_before>// Copyright 2019 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless re...
<commit_before><commit_msg>small fix on ICP<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>/* * Copyright (c) 2004-2005 The Regents of The University of Michigan * 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>/* * Copyright (c) 2004-2005 The Regents of The University of Michigan * 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> #include <stdio.h> #include <string> #include <iostream> #include <fstream> #include <vector> #include "api/BamReader.h" #include "transrate-pileup.h" using namespace BamTools; using namespace std; struct ContigRecord { int bases_mapped; int p_seq_true; int bridges; int length; string name;...
<commit_before>/* * Copyright 2006-2008 The FLWOR Foundation. * * 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>#undef _WIN32_WINNT #define _WIN32_WINNT 0x0601 #undef WINVER #define WINVER 0x0601 #include "keyboard-layout-manager.h" #include <string> #include <cctype> #include <windows.h> using namespace v8; std::string ToUTF8(const std::wstring& string) { if (string.length() < 1) { return std::string()...
<commit_before>#include <test/unit/mcmc/hmc/mock_hmc.hpp> #include <stan/interface_callbacks/writer/stream_writer.hpp> #include <stan/mcmc/hmc/nuts/base_nuts.hpp> #include <stan/mcmc/hmc/integrators/expl_leapfrog.hpp> #include <boost/random/additive_combine.hpp> #include <gtest/gtest.h> typedef boost::ecuyer1988 rng_t...
<commit_before>#include "assets_browser.h" #include "halley/tools/project/project.h" #include "halley/core/resources/resource_locator.h" #include "halley/core/resources/standard_resources.h" #include "halley/ui/widgets/ui_label.h" #include "halley/ui/widgets/ui_list.h" #include "animation_editor.h" #include "asset_edit...
<commit_before>#define WIN32_LEAN_AND_MEAN #include <iostream> #include <map> #include <memory> #include <sstream> #include <string> #include <utility> #include <uv.h> #include <vector> #include <windows.h> #include "../../helper/windows/helper.h" #include "../../lock.h" #include "../../log.h" #include "../../message...
<commit_before>/* * #### #### * #### #### * #### #### ## * #### #### #### * #### ############ ############ #### ###...
<commit_before>#include <iostream> #include <cstdio> #include <vector> #include <algorithm> #include <boost/utility/string_ref.hpp> #include <llvm/IR/Module.h> #include <llvm/IR/LegacyPassManager.h> #include <llvm/Target/TargetMachine.h> #include <llvm/Support/TargetRegistry.h> #include <llvm/Support/TargetSelect.h> #i...
<commit_before>// // Created by jonas on 10.12.15. // #include <string.h> #include <fstream> #include <iostream> #include <cmath> #include "mesh.h" void get_line( ifstream& file, string& line ) { while ( !file.eof()) { getline( file, line ); if ( line.empty() || line.at( 0 ) == '#' || (line.find('\r') != ...
<commit_before>#include "make-content-addressed.hh" #include "references.hh" namespace nix { std::map<StorePath, StorePath> makeContentAddressed( Store & srcStore, Store & dstStore, const StorePathSet & storePaths) { // FIXME: use closure of storePaths. auto paths = srcStore.topoSortPaths(storePa...
<commit_before>/* Copyright 2009 SPARTA, Inc., dba Cobham Analytic Solutions * * This file is part of WATCHER. * * WATCHER 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 vers...
<commit_before>/******************************************************************************* Copyright (c) 2014, Jan Koester jan.koester@gmx.net All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * R...
<commit_before>/******************************************************************************* Copyright (c) 2014, Jan Koester jan.koester@gmx.net All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * R...
<commit_before>//===-- LineEditor.cpp - line editor --------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef EXTPROC_POOL_HPP_ #define EXTPROC_POOL_HPP_ #include <sys/types.h> // pid_t #include "errors.hpp" #include "concurrency/one_per_thread.hpp" #include "concurrency/semaphore.hpp" #include "concurrency/signal.hpp" #include "container...
<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>#ifndef ATL_HELPER_PATTERN_MATCH_HPP #define ATL_HELPER_PATTERN_MATCH_HPP #include <helpers/misc.hpp> #include <print.hpp> namespace atl { namespace pattern_match { using make_type::tt; struct Match; typedef std::function<bool (Match&, Any const&)> Matcher; struct Match { /* If we're ...
<commit_before>//===--- ArchetypeBuilder.cpp - Generic Requirement Builder -------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http:/...
<commit_before>// from lib/THC/THCTensorMasked.cu: #include "THClTensorMath.h" #include "THClGeneral.h" #include "THClBlas.h" #include "THClTensorCopy.h" //#include "THClTensorRandom.h" #include "THClApply.h" #include "THClReduce.h" // #include <thrust/device_ptr.h> // #include <thrust/fill.h> // #include <thrust/fun...
<commit_before>/* Copyright (c) 2007 Tobias Koenig <tokoe@kde.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any...
<commit_before>/*====================================================================== This file is part of the elastix software. Copyright (c) University Medical Center Utrecht. All rights reserved. See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for details. This software is distri...
<commit_before>// ========================================================================== // // This file is part of DO++, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2013 David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public // Lic...
<commit_before>// // Copyright (c) 2013 Bruno Jouhier <bruno.jouhier@sage.com> // MIT License // // Most of the code borrowed from v8's src/isolate.cc, hence the following copyright notice // Copyright 2012 the V8 project authors. All rights reserved. #define ENABLE_DEBUGGER_SUPPORT #include "api.h" #include "objects....
<commit_before>#ifndef PRESET_CHOOSER_HPP #define PRESET_CHOOSER_HPP #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #include <wx/panel.h> #include <wx/sizer.h> #include <wx/bmpcbox.h> #endif #include "Print.hpp" #include "misc_ui.hpp" #include "Preset.hpp" #include "GUI.hpp" #include "Se...
<commit_before>#include "Genes/Mutation_Rate_Gene.h" #include <string> #include <memory> #include <map> #include "Genes/Gene.h" #include "Game/Color.h" #include "Utility/Random.h" class Board; std::string Mutation_Rate_Gene::name() const noexcept { return "Mutation Rate Gene"; } int Mutation_Rate_Gene::mutati...
<commit_before>#include "common/network/listen_socket_impl.h" #include "common/network/utility.h" #include "test/mocks/network/mocks.h" #include "test/test_common/environment.h" #include "test/test_common/network_utility.h" #include "test/test_common/utility.h" #include "gtest/gtest.h" using testing::_; using testin...
<commit_before>/* * GAMS - General Algebraic Modeling System C++ API * * Copyright (c) 2017-2021 GAMS Software GmbH <support@gams.com> * Copyright (c) 2017-2021 GAMS Development Corp. <support@gams.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
<commit_before>/* * * Copyright 2016, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, thi...
<commit_before>#include "graph_widget.h" #include <cassert> #include <QHBoxLayout> #include "edge.h" GraphWidget::GraphWidget(QWidget* parent) : QWidget(parent) { m_scene = new QGraphicsScene(this); m_view = new QGraphicsView(m_scene, this); QHBoxLayout* layout = new QHBoxLayout(this); layout->setContentsMargi...
<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 * "Li...
<commit_before>/*************************************************************************** * algo/test_stable_ksort.cpp * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2003 Roman Dementiev <dementiev@mpi-sb.mpg.de> * * Distributed under the Boost Software License, Version 1.0. * ...
<commit_before>#include <htmlrenderer.h> #include <xmlpullparser.h> #include <utils.h> #include <sstream> #include <iostream> #include <stdexcept> #include <logger.h> using namespace newsbeuter; htmlrenderer::htmlrenderer(unsigned int width) : w(width) { } void htmlrenderer::render(const std::string& source, std::ve...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** ** GNU Lesser General Public License Usage ** ** This file m...
<commit_before>#include "hook_manager.hh" #include "containers.hh" #include "context.hh" #include "buffer_utils.hh" #include "display_buffer.hh" #include "face_registry.hh" #include "regex.hh" #include <chrono> namespace Kakoune { void HookManager::add_hook(StringView hook_name, String group, HookFunc hook) { a...
<commit_before><?hh /* * * ____ _ _ __ __ _ __ __ ____ * | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \ * | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) | * | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/ * |_...
<commit_before>// Copyright 2011 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
<commit_before>/* Copyright (C) 2010-present, Zhenkai Zhu <zhenkai@cs.ucla.edu> 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 cop...
<commit_before>/**@file hdfsdumper.cpp * @brief CLI utility that wraps hdfsdumpreader code into a CLI program. * */ #include "hdfscpp.h" #include "hdfsdumpreader.h" #include <iostream> void ShowUsage() { std::cerr << "Usage: hdfsdumper <path> " << std::endl; } void ProcessFile(tmacam::hdfs::FileSystem* fs, co...
<commit_before>#include <iostream> #include <cmath> /* * # Calculate Force * F = (GmM)/d^2 ((Gravitational Constant * Mass-1 * Mass-2) / Distance^2) * # Resolve Vectors * Fx = FcosA * Fy = FsinA * # Calcualate Acceleration * a = F/m (Acceleration = Force / Mass) * # Calcualate Change in Velocity * ...
<commit_before>#include "strutil.h" // TODO This header is from the offical protobuf source, but it is not normally installed #include <map> #include <string> #include <algorithm> #include <google/protobuf/descriptor.h> #include <google/protobuf/compiler/plugin.h> #include <google/protobuf/compiler/code_generator.h>...
<commit_before>/* * Copyright 2016-2017 gtalent2@gmail.com * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #pragma once #include <QJsonArray> #include <QJso...
<commit_before>#include "QQuickLightOutputPreview.h" #include <QOpenGLFramebufferObject> #include <QOpenGLContext> #include <QOpenGLFunctions> #include <QOpenGLShaderProgram> #include <QtDebug> #include <QQuickWindow> #include "LightOutputNode.h" // Renderer class QQuickLightOutputPreview; class LightOutputRenderer ...
<commit_before>#include <iostream> #include <vector> #include <boost/function.hpp> #include <libport/assert.hh> #include <libport/foreach.hh> #include <libport/markup-ostream.hh> namespace libport { class MarkupStreamBuffer: public libport::StreamBuffer { public: MarkupStreamBuffer(std::ostream& output) ...
<commit_before>// Copyright (c) 2015 cpichard. // // 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/. #if HAVE_ALEMBIC #include "AlembicImporter.hpp" #include <Alembic...
<commit_before>/* * ArcScripts for ArcEmu MMORPG Server * Copyright (C) 2009 ArcEmu Team <http://www.arcemu.org/> * Copyright (C) 2008-2009 Sun++ Team <http://www.sunscripting.com/> * Copyright (C) 2008 WEmu Team * * This program is free software: you can redistribute it and/or modify * it under the terms of the...
<commit_before>/* * Copyright (c) 2014, peelo.net * 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...
<commit_before>#include "particle_emitter.h" static const char kVertexShader[] = "attribute vec4 vertex;\n" "attribute vec4 incolor;\n" "uniform mat4 mvp;\n" "varying vec4 v_color;\n" "void main() {\n" " gl_PointSize = 16.0;\n" " gl_Position = mvp*vertex;\n" " v_color = incolor;\n" ...
<commit_before>#include "vector.hpp" #include <viennacl/ocl/context.hpp> #include <viennacl/ocl/device.hpp> #include <viennacl/ocl/platform.hpp> std::vector<vcl::ocl::device> get_platform_devices(vcl::ocl::platform& p) { return p.devices(); } std::string get_device_info(vcl::ocl::device& d) { return d.info(); } ...
<commit_before>/* * Copyright (C) 2008-2013 The Communi Project * * 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 your option) any later version. * * Th...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>#include <plugins/symboliclog/PluginSymbolicLog.h> namespace beliefstate { namespace plugins { PluginSymbolicLog::PluginSymbolicLog() { m_ndActive = NULL; } PluginSymbolicLog::~PluginSymbolicLog() { for(list<Node*>::iterator itNode = m_lstNodes.begin(); itNode != m_lst...
<commit_before>#include "kvazzupcore.h" #include "statisticsinterface.h" #include "globalsdpstate.h" #include <QHostAddress> KvazzupCore::KvazzupCore(): media_(), sip_(), window_(nullptr) {} void KvazzupCore::init() { window_.init(this); window_.show(); sip_.init(this); QSettings settings("k...
<commit_before>// Copyright (c) 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/browser/ui/views/message_center/web_notification_tray_win.h" #include "base/i18n/number_formatting.h" #include "base/...
<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>/* Title: Multi-Threaded Garbage Collector - Update phase Copyright (c) 2010 David C. J. Matthews Based on the original garbage collector code Copyright 2000-2008 Cambridge University Technical Services Limited This library is free software; you can redistribute it...
<commit_before>/* * 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 later version. * * Written (W) 2012 Heiko Strathmann * Copyrig...
<commit_before>/** * @file ILI9341.cpp * @version 1.0 * * @section License * Copyright (C) 2015, Mikael Patel * * 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 ...
<commit_before>#ifndef RDB_PROTOCOL_CONFIGURED_LIMITS_HPP_ #define RDB_PROTOCOL_CONFIGURED_LIMITS_HPP_ #include <map> #include <string> namespace ql { class wire_func_t; class configured_limits_t { public: configured_limits_t() : _array_size_limit(100000) {} explicit configured_limits_t(const size_t limit) ...
<commit_before>/* -------------------------------------------------------------------------- */ /* Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) */ /* */ /* Licensed under the Apache License, Version 2.0 (the "Licens...
<commit_before>// This file is part of the AliceVision project and is made available under // the terms of the MPL2 license (see the COPYING.md file). #include <aliceVision/feature/imageDescriberCommon.hpp> #include <aliceVision/sfm/sfm.hpp> #include <aliceVision/sfm/pipeline/regionsIO.hpp> #include <aliceVision/syste...
<commit_before>/* * Restructuring Shogun's statistical hypothesis testing framework. * Copyright (C) 2016 Soumyajit De * * 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 o...
<commit_before>#include "purchasemodel.h" #include <QtSql> #include "dbmanager.h" using namespace std; const QString path = "/sqlite3/rest.db"; purchaseModel::purchaseModel() { this->vector_size=0; } QHash<int, QByteArray> purchaseModel::roleNames() const{ QHash<int, QByteArray> roles; roles[CategoryRole] ...
<commit_before>#include <memory> #include <string> #include <utility> #include <vector> #include "../base_test.hpp" #include "gtest/gtest.h" #include "../../lib/operators/abstract_read_only_operator.hpp" #include "../../lib/operators/get_table.hpp" #include "../../lib/operators/print.hpp" #include "../../lib/operator...
<commit_before> #include "Filter.h" // Own interface namespace samson{ namespace system{ SamsonTokenizer::SamsonTokenizer() { addSingleCharTokens("()[]{}<> ;&|?:,+-*/'|"); addToken(":["); addToken("<="); addToken(">="); addToke...
<commit_before>// Copyright (c) 2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test.hpp> #include <consensus/validation.h> #include <primitives/block.h> #include <sched...
<commit_before>/*------------------------------------------------------------------------- * * database.cpp * file description * * Copyright(c) 2015, CMU * * /n-store/src/storage/table.cpp * *------------------------------------------------------------------------- */ #include "backend/storage/database.h" #i...
<commit_before>/* -*- Mode: C; indent-tabs-mode: s; c-basic-offset: 4; tab-width: 4 -*- */ /* vim:set et ai sw=4 ts=4 sts=4: tw=80 cino="(0,W2s,i2s,t0,l1,:0" */ #include "themebusinesslogic.h" #include "themedescriptor.h" #include <QDir> #include <QFile> #include <QString> #include <QStringList> #include <MTheme> #in...
<commit_before>/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
<commit_before>#include "error.hh" #include <iostream> #include <optional> #include "serialise.hh" #include <sstream> namespace nix { const std::string nativeSystem = SYSTEM; BaseError & BaseError::addPrefix(const FormatOrString & fs) { prefix_ = fs.s + prefix_; return *this; } const string& BaseError::c...