text
stringlengths
54
60.6k
<commit_before>/**************************************************************************** ** Copyright (C) 2001-2006 Klarälvdalens Datakonsult AB. All rights reserved. ** ** This file is part of the KD Gantt library. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Publ...
<commit_before>#include "mytablemodel.h" int MyTableModel::rowCount(const QModelIndex &parent) const { return m_data.size(); } int MyTableModel::columnCount(const QModelIndex &parent) const { return 2; } QVariant MyTableModel::data(const QModelIndex &index, int role) const { Record const& dataElem = m_da...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
<commit_before>#ifndef GUARD_checked_arithmetic_hpp_7987160937854629 #define GUARD_checked_arithmetic_hpp_7987160937854629 /** \file checked_arithmetic.hpp * * \author Matthew Harvey * \date 2012-06-09 * * Copyright (c) 2012, Matthew Harvey. All rights reserved. * * \brief Provides functions that check the saf...
<commit_before>/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* * This file is part of the libetonyek 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 a...
<commit_before>#include <possumwood_sdk/node_implementation.h> #define EIGEN_STACK_ALLOCATION_LIMIT 0 #include <actions/traits.h> #include <tbb/task_group.h> #include <Eigen/Sparse> #include <mutex> #include <opencv2/opencv.hpp> #include "frame.h" namespace { class Triplets; class Row { public: Row() = defaul...
<commit_before>// // This file is part of the Marble Virtual Globe. // // This program is free software licensed under the GNU LGPL. You can // find a copy of this license in LICENSE.txt in the top directory of // the source code. // // Copyright 2012 Dennis Nienhüser <earthwings@gentoo.org> // #include "MapQuest...
<commit_before>/* Testing out: Immediate Mode GUI approach */ #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <SDL2/SDL_image.h> #include "../MasterHeader.h" struct ui_state { //the id of the widget the mouse cursor is over on int hoveredID; //the id of the widget the mouse cursor has pres...
<commit_before>void lb_populate_function_pass_manager(LLVMPassManagerRef fpm, bool ignore_memcpy_pass, i32 optimization_level) { // NOTE(bill): Treat -opt:3 as if it was -opt:2 // TODO(bill): Determine which opt definitions should exist in the first place optimization_level = gb_clamp(optimization_level, 0, 2); if...
<commit_before><commit_msg>Need moon to rotate other way<commit_after><|endoftext|>
<commit_before>#include <iostream> #include "Cutie.hpp" //#include "Main.hpp" enum Move {ROCK, PAPER, SCISSORS}; void getPlayerTurn(enum Move & temp) { int choice = 1; std::cout << "Please enter your move!" << std::endl; std::cout << "1: ROCK" << std::endl; std::cout << "2: PAPER" << std::endl; std::cout <<...
<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/chromeos/network_message_observer.h" #include "ash/shell.h" #include "ash/shell_delegate.h" #include "ash/sys...
<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/status/clock_menu_button.h" #include "base/i18n/time_formatting.h" #include "base/string_util.h" #in...
<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/extensions/extension_apitest.h" #include "chrome/browser/prefs/pref_service.h" #include "chrome/browser/profi...
<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/extensions/extension_apitest.h" #include "chrome/browser/browser.h" #include "chrome/browser/prefs/pref_servi...
<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/extensions/page_action_controller.h" #include "chrome/browser/extensions/browser_event_router.h" #include "ch...
<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/browser/gtk/options/advanced_contents_gtk.h" #include "app/l10n_util.h" #include "base/basictypes.h" #include "chrome...
<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/startup/session_crashed_prompt.h" #include "chrome/browser/infobars/infobar_tab_helper.h" #include "chrome...
<commit_before>// Copyright 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/views/frame/contents_container.h" #include "content/public/browser/notification_service.h" #include "content/p...
<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_ui.h" #include <algorithm> #include <map> #include <string> #include "base/bi...
<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/browser/ui/webui/ntp/ntp_user_data_logger.h" #include "base/metrics/histogram.h" #include "base/strings/stringprintf.h" #...
<commit_before>/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Southwest Research Institute * * 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.ap...
<commit_before>// Copyright 2020 The IREE Authors // // Licensed 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 #include "iree/compiler/Dialect/HAL/Target/LLVM/LLVMTargetOptions.h" #include "ll...
<commit_before><commit_msg>Output time of ICC creation<commit_after><|endoftext|>
<commit_before>// coding: utf-8 /* Copyright (c) 2014, Roboterclub Aachen e. V. * All Rights Reserved. * * The file is part of the xpcc library and is released under the 3-clause BSD * license. See the file `LICENSE` for the full license governing this code. */ // --------------------------------------------------...
<commit_before>/* * Copyright 2007-2020 CM4all GmbH * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * 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...
<commit_before>//***************************************************************************** // Copyright 2017-2020 Intel 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 // ...
<commit_before>/* * This file is part of Maliit framework * * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * * Contact: maliit-discuss@lists.maliit.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
<commit_before>/* * Copyright (C) 2018 Nagisa Sekiguchi * * 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 applicab...
<commit_before>// Copyright NVIDIA Corporation 2007 -- Ignacio Castano <icastano@nvidia.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 in the Software without // restriction, including with...
<commit_before>#include "facepreprocessor.h" #include <vector> #include <algorithm> #include <limits> #include <cstdint> #include <cmath> #include <opencv2/imgproc/imgproc.hpp> #include <QDebug> static const double PI = std::atan(1.0) * 4; using namespace cv; static const bool MARK_FOUND_FEATURES = false; FacePr...
<commit_before>/** \copyright * Copyright (c) 2017, Balazs Racz * 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,...
<commit_before><commit_msg>170. Two Sum III - Data structure design<commit_after><|endoftext|>
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * inc...
<commit_before>//===- lib/Tooling/AllTUsExecution.cpp - Execute actions on all TUs. ------===// // // 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>/* -*- Mode: c++; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* vim:set softtabstop=2 shiftwidth=2 tabstop=2 expandtab: */ /* * Software License Agreement (BSD License) * * Copyright (c) 2011, Dirk Holz <dirk.holz _at_ ieee.org> * All rights reserved. * * Redistribution and us...
<commit_before>#include "process.h" #include <stdlib.h> #include <algorithm> #include <boost/predef.h> #include <boost/filesystem.hpp> #include <boost/assert.hpp> #if( BOOST_OS_WINDOWS ) #define WIN32_LEAN_AND_MEAN #include <windows.h> #else #include <unistd.h> #endif namespace platform { namespace process { #if( BOOS...
<commit_before><commit_msg>ppl: check if there is enough positions for constraints<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2017 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 <primitives/block.h> #include <globaltoken/hardfork.h> #...
<commit_before>/* This file is part of VROOM. Copyright (c) 2015-2021, Julien Coupey. All rights reserved (see LICENSE). */ #include "problems/tsp/tsp.h" #include "problems/tsp/heuristics/christofides.h" #include "problems/tsp/heuristics/local_search.h" #include "utils/helpers.h" namespace vroom { TSP::TSP(const ...
<commit_before>#include <GL/glut.h> #include <cstdlib> GLubyte space[] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; GLubyte letters[][13] = { {0x00, 0x00, 0xc3, 0xc3, 0xc3, 0xc3, 0xff, 0xc3, 0xc3, 0xc3, 0x66, 0x3c, 0x18}, //A {0x00, 0x00, 0xfe, 0xc7, 0xc3, 0xc3, 0xc7, 0xfe...
<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 Mapnik (c++ mapping toolkit) * * Copyright (C) 2006 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>/** * pretty_print_msg.cpp * * @author Nathan Campos */ #include <cstdio> #include <cstdlib> #include <cstdlib> #include <sstream> #include "channels.h" #include "color.h" #include "irc_reply_codes.h" #include "message.h" #include "pretty_print_msg.h" using namespace std; /** * Constructor for ...
<commit_before>// Copyright (c) 2009-2017 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 <qt/test/uritests.h> #include <qt/guiutil.h> #include <qt/walletmodel.h> #include <QUrl> void URIT...
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved. #ifndef RDB_PROTOCOL_ENV_HPP_ #define RDB_PROTOCOL_ENV_HPP_ #include <map> #include <stack> #include <string> #include <utility> #include <vector> #include "concurrency/one_per_thread.hpp" #include "containers/counted.hpp" #include "extproc/js_runn...
<commit_before>// Copyright (c) 2015-2017 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 <qt/platformstyle.h> #include <qt/guiconstants.h> #include <QApplication> #include <QColor> #includ...
<commit_before>/* -*- mode: C++ ; c-file-style: "stroustrup" -*- ***************************** * Qwt Widget Library * Copyright (C) 1997 Josef Wilgen * Copyright (C) 2002 Uwe Rathmann * * This library is free software; you can redistribute it and/or * modify it under the terms of the Qwt License, Version 1.0 ...
<commit_before>/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #include <boost/lexical_cast.hpp> #include <boost/algorithm/string.hpp> #include "core/posix.hh" #include "core/vla.hh" #include "core/reactor.hh" #include "core/future-util.hh" #include "core/stream.hh" #include "core/circular_buffer.hh" #include "cor...
<commit_before>#include "schema_functions.h" #include <algorithm> template <typename T> struct name_is { const string &name; name_is(const string &name): name(name) {} bool operator()(const T& obj) const { return (obj.name == name); } }; void report_schema_mismatch(const string &error) { // FUTURE: can we imp...
<commit_before>#ifndef RIAK_RIAK_HPP_ #define RIAK_RIAK_HPP_ #include "errors.hpp" #include <boost/tokenizer.hpp> // #include <boost/fusion/include/adapt_struct.hpp> // #include <boost/fusion/include/io.hpp> #include "http/http.hpp" #include "riak/riak_interface.hpp" #include "riak/store_manager.hpp" #include "spirit...
<commit_before>#include "gtest/gtest.h" #include "world/ComponentManager.h" #include "world/system_setup.h" #include "config/Config.h" #include "iocontroller/IOController.h" class ConfigTest : public ::testing::Test { protected: Susi::IOController io; virtual void SetUp() override { io.makeDir("./configtest/"); }...
<commit_before> /* * MIT License * * Copyright (c) 2017 Susanow * Copyright (c) 2017 Hiroki SHIROKURA * * 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>/* Copyright (c) 2010 Aldo J. Nunez Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #include "Common.h" #include "Config.h" #include "MagoNatDE_i.h" #include "../MagoNatEE/Common.h" #define MAGO_SUBKEY L"SOFTWARE\\MagoDebugge...
<commit_before>#include <iostream> #include <vector> // -------------------- OpenMesh #include <OpenMesh/Core/IO/MeshIO.hh> #include <OpenMesh/Core/Mesh/TriMesh_ArrayKernelT.hh> #ifndef DOXY_IGNORE_THIS struct MyTraits : public OpenMesh::DefaultTraits { // store barycenter of neighbors in this member VertexTrait...
<commit_before>#include "selectformaction.h" #include <cassert> #include <sstream> #include "config.h" #include "fmtstrformatter.h" #include "listformatter.h" #include "strprintf.h" #include "utils.h" #include "view.h" namespace newsboat { /* * The SelectFormAction is used both for the "select tag" dialog * and t...
<commit_before> #include "EthStratumClient.h" #include <libdevcore/Log.h> using boost::asio::ip::tcp; EthStratumClient::EthStratumClient(GenericFarm<EthashProofOfWork> * f, MinerType m, string const & host, string const & port, string const & user, string const & pass, int const & retries, int const & worktimeout, bo...
<commit_before>/************************************************************************* * * $RCSfile: lngsvcmgr.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: tl $ $Date: 2001-06-29 13:50:15 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>#pragma once #include "boost_defs.hpp" #include <array> #include <boost/optional.hpp> #include <climits> #include <fstream> #include <string> #include <sys/stat.h> namespace krbn { class filesystem final { public: static bool exists(const std::string& path) { struct stat s; return (stat(path...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443271. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the GLVis visualization tool and library. For more // information and source co...
<commit_before>/** * @file * Lists and hashes * */ #include "angort.h" #include "hash.h" #include "opcodes.h" using namespace angort; namespace angort { struct RevStdComparator : public ArrayListComparator<Value> { Angort *ang; RevStdComparator(Angort *a){ ang = a; } virtual int compare(...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXQt - a lightweight, Qt based, desktop toolset * http://razor-qt.org, http://lxde.org/ * * Copyright: 2010-2011 LXQt team * Authors: * Petr Vanek <petr@scribus.info> * Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This program or library is...
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXQt - a lightweight, Qt based, desktop toolset * https://lxqt.org/ * * Copyright: 2010-2011 LXQt team * Authors: * Petr Vanek <petr@scribus.info> * Hong Jen Yee (PCMan) <pcman.tw@gmail.com> * * This program or library is free software; you ...
<commit_before>/* * Copyright 2014 Open Connectome Project (http://openconnecto.me) * Written by Da Zheng (zhengda1936@gmail.com) * * This file is part of FlashMatrix. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may...
<commit_before><commit_msg>Landing patch from Thiago Farina:<commit_after><|endoftext|>
<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/browser/views/options/passwords_page_view.h" #include "app/l10n_util.h" #include "base/string_util.h" #include "chrom...
<commit_before><commit_msg>Fix include path for header file to fix sync build. I'll hold off committing until Idan lets me know I didn't butcher anything else, too :) Review URL: http://codereview.chromium.org/165004<commit_after><|endoftext|>
<commit_before><commit_msg>Ajokki: use elevation map for Helsinki east downtown `Scene`.<commit_after><|endoftext|>
<commit_before>//----------------------------------------------------------------------------- // File: CTime.cpp // // class: CTime // methods: // void CTime::setCurrentTime() // // //----------------------------------------------------------------------------- #include "CTime.h" namespace NP_DATETIME { void CTime::...
<commit_before>/* -------------------------------------------------------------------------- * * Simbody(tm) * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating fr...
<commit_before>#include "vm.h" #include "opcodes.h" #include <cassert> #include <iostream> static void print(ceos::VM &vm, int argv) { while (argv--) { std::cout << vm.stack_pop() << "\n"; } } namespace ceos { void VM::registerBuiltins() { m_functionTable["print"] = print; } void VM::stack_push(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 "views/focus/accelerator_handler.h" #include <bitset> #include <gtk/gtk.h> #if defined(HAVE_XINPUT2) #include <X11/extensions...
<commit_before>// Copyright 2017 0lento. All Rights Reserved. #include "FixedTimestepDemo.h" #include "PhysicsPublic.h" #include "PhysicsPawn.h" APhysicsPawn::APhysicsPawn() { PrimaryActorTick.bCanEverTick = true; PrimaryActorTick.TickGroup = ETickingGroup::TG_PrePhysics; PrimaryActorTick.bStartWithTickEnabled = ...
<commit_before> #include "../Flare.h" #include "FlareSpacecraftPawn.h" #include "FlareRCS.h" #include "../Player/FlarePlayerController.h" #include "../Game/FlareGame.h" /*---------------------------------------------------- Constructor ----------------------------------------------------*/ AFlareSpacecraftPawn::AFl...
<commit_before><commit_msg>Fix potential startup crash with some window positions<commit_after><|endoftext|>
<commit_before>// // ColourUtils.cpp // Chilli Source // Created by Scott Downie on 03/04/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "So...
<commit_before>// Copyright (c) 2016 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 "vortex_controller/controller_ros.h" #include "vortex/eigen_helper.h" #include <tf/transform_datatypes.h> #include <eigen_conversions/eigen_msg.h> #include "std_msgs/String.h" #include <math.h> #include <map> #include <string> #include <vector> Controller::Controller(ros::NodeHandle nh) : nh...
<commit_before> #ifndef _WIN32 #include <boost/asio.hpp> #include <boost/asio/local/stream_protocol.hpp> #include <sstream> #include <deque> #include <algorithm> #include "vtrc-endpoint-iface.h" #include "vtrc-application.h" #include "vtrc-connection-iface.h" #include "vtrc-connection-list.h" #include "protocol/vt...
<commit_before>/* Copyright Eli Dupree and Isaac Dupree, 2011, 2012 This file is part of Lasercake. Lasercake 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,...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<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 libmeegotouch. ** ** If you have questions regarding t...
<commit_before>TEveRGBAPalette *g_zdc_palette = 0; Float_t g_zdc_scale = 0.1; Float_t g_zdc_dist = 11695; Float_t g_zdc_cross = 20; TEveGeoShape* zdc_make_shape(const Text_t* name, const Text_t* title_base, Double_t signal, const Text_t* path) { if ( ! gGeoManager->cd(pat...
<commit_before>#include "TcpServer.h" #include <iostream> #include <string> #include "StaticCommand.h" void callback(Object&,EventArgs) { std::cerr << "Read Timed Out [Intentional]" << std::endl; } int main() { Impact::TcpServer server(25565); std::cout << "- SERVER STARTED -" << std::end...
<commit_before>// Copyright AudioKit. All Rights Reserved. Revision History at http://github.com/AudioKit/AudioKit/ // Utility class to manage DSP parameters which can change value smoothly (be ramped) while rendering, without introducing clicks or other distortion into the signal. // // Originally based on Apple samp...
<commit_before>// file : cli/runtime-source.cxx // author : Boris Kolpackov <boris@codesynthesis.com> // copyright : Copyright (c) 2009 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file #include "runtime-source.hxx" using namespace std; void generate_runtime_source (context& ctx) { ...
<commit_before>// Copyright 2011 Branan Purvine-Riley and Adam Johnson // // 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 Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* 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 o...
<commit_before>#include "../../include/states/MainState.hpp" #include "../../include/observers/StreamObserver.hpp" #include "../../include/observers/StationsObserver.hpp" #include "../../include/observers/StatusObserver.hpp" #include "../../include/Constants.hpp" #include "../../include/Utilities.hpp" #include <nana/gu...
<commit_before>/************************************************************************* * * $RCSfile: View.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2004-07-13 14:14:32 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses ...
<commit_before>#include <algorithm> #include <functional> #include <string> #include <tuple> #include <vector> namespace K3 { using namespace std; template <typename Elem> class ListDS : public StlDS<Elem, std::list> { typedef StlDS<Elem, std::list> super; public: // Constructors ListDS(Eng...
<commit_before>#include "ClientAuthOperation.hpp" #include "AccountStorage.hpp" #include "CAppInformation.hpp" #include "ClientBackend.hpp" #include "ClientConnection.hpp" #include "ClientRpcLayer.hpp" #include "ClientRpcAuthLayer.hpp" #include "ClientRpcAccountLayer.hpp" #include "PendingRpcOperation.hpp" #include "U...
<commit_before>/* * Copyright (c) 2011 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>#ifndef MJOLNIR_UTIL_GET_TOML_VALUE #define MJOLNIR_UTIL_GET_TOML_VALUE #include <extlib/toml/toml.hpp> #include <mjolnir/util/type_traits.hpp> #include <mjolnir/util/throw_exception.hpp> #include <string> #include <stdexcept> namespace mjolnir { inline toml::value const& toml_value_at(const toml::Tabl...
<commit_before>//============================================================================================================= /** * @file calcmetric.cpp * @author Louis Eichhorst <louis.eichhorst@tu-ilmenau.de>; * Matti Hamalainen <msh@nmr.mgh.harvard.edu> * @version 1.0 * @date January, 2017 * * ...
<commit_before>/********************************************************************* * Software License Agreement (BSD License) * * Copyright (c) 2012, Willow Garage, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the f...
<commit_before>#include <Windows.h> #define WINDOW_LISTBOX 101 #define APPLY_BUTTON 102 #define DESKTOP_COMBOBOX 103 // TODO: Convert to LISTVIEW //#define IDC_MAIN_LISTVIEW LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); BOOL CALLBACK PopulateWindowsEnumProc(HWND, LPARAM); BOOL CALLBACK PopulateDesktops...
<commit_before> #include <iostream> #include <libxml/parser.h> #include <libxml/xmlerror.h> #include <mathmlconfig.h> void structuredErrorCallback(void *userData, xmlErrorPtr error) { std::string errorString = std::string(error->message); // Swap libxml2 carriage return for a period. if (errorStrin...
<commit_before><commit_msg>Ajokki: bind `mini_console` to `my_font_2d`.<commit_after><|endoftext|>
<commit_before>/** * This file is part of the "FnordStream" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * Licensed under the MIT license (see LICENSE). */ #include <stdlib.h> #include <stdio.h> #include <assert.h> #include <sys/fcntl.h> #include <unistd.h> #include "database.h" #include "pagemanager....