text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * Copyright 2016 Realm Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www....
<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 QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LI...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>// // Created by monty on 2015/02/06 // #include <GLES2/gl2.h> #include "glm/glm.hpp" #include "glm/gtc/matrix_transform.hpp" #include <memory> #include <vector> #include <random> #include <android/log.h> #include "Trig.h" #include "GLES2Lesson.h" #include "NdkGlue.h" namespace odb { GLuint uploa...
<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>/* -*- mode: C++; c-basic-offset: 8; indent-tabs-mode: t; -*- */ /* * Copyright (c) 2013, Georgia Tech Research Corporation * All rights reserved. * * Author(s): Heni Ben Amor * * This file is provided under the following "BSD-style" License: * * * Redistribution and use in source and binary ...
<commit_before> /* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkMovie.h" #include "SkColor.h" #include "SkColorPriv.h" #include "SkStream.h" #include "SkTemplates.h" #include "SkUtils.h" #i...
<commit_before>#ifndef H_ORDER #define H_ORDER #include <Wt/Dbo/Dbo> namespace dbo = Wt::Dbo; class Order; #include "../user/User.hpp" #include "Item.hpp" enum OrderStatus { Ordered, Sent, Received }; class Order { public: dbo::ptr<User> user; dbo::collection<dbo::ptr<Item> > items; template<class Action> ...
<commit_before>//===--- LoopUnrolling.cpp - Unroll loops -----------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include "askpassphrasepage.h" #include "ui_askpassphrasepage.h" #include "init.h" #include "util.h" #include "guiutil.h" #include "guiconstants.h" #include "walletmodel.h" #include "bitcoingui.h" #include <QPushButton> #include <QKeyEvent> using namespace GUIUtil; AskPassphrasePage::AskPassphrasePage...
<commit_before> #include "loop.h" #include <glib.h> #include <uv.h> /* Integration for the GLib main loop and UV's main loop */ namespace GNodeJS { struct uv_loop_source { GSource source; uv_loop_t *loop; }; static gboolean uv_loop_source_prepare (GSource *base, int *timeout) { struct uv_loop_source *s...
<commit_before> /* We would like to have a tool that extracts translations for given authority data The german term is found in Field 150 Currently there are two different kinds of translations: TxTheo-Translations with the following definitions: 710: Körperschaft - fremdsprachige Äquivalenz ...
<commit_before>//===- AArch64MacroFusion.cpp - AArch64 Macro Fusion ----------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <iostream> #include <boost/program_options/errors.hpp> #include <sdd/order/order_error.hh> #include "conf/fill_configuration.hh" #include "mc/mc.hh" #include "parsers/parse.hh" #include "parsers/parse_error.hh" #include "pn/tina.hh" #include "util/export_to_tina.hh" #include "util/select_input...
<commit_before>/* ------------------------------------------------------------------------ */ /* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); y...
<commit_before> /* * @(#)$Id$ * * Copyright (c) 2004 Intel Corporation. All rights reserved. * * This file is distributed under the terms in the attached INTEL-LICENSE file. * If you do not find these files, copies can be found by writing to: * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, * Berkel...
<commit_before>// =-=-=-=-=-=-=- #include "irods_error.hpp" // =-=-=-=-=-=-=- // irods includes #include "rodsLog.hpp" // =-=-=-=-=-=-=- // boost includes #include <boost/lexical_cast.hpp> // =-=-=-=-=-=-=- // stl includes #include <iostream> namespace irods { // =-=-=-=-=-=-=- // private - helper fcn to build the ...
<commit_before>#define BOOST_TEST_MODULE Bitcoin Test Suite #include <boost/test/unit_test.hpp> #include "main.h" #include "wallet.h" CWallet* pwalletMain; CClientUIInterface uiInterface; extern bool fPrintToConsole; extern void noui_connect(); struct TestingSetup { TestingSetup() { fPrintToConsole = tr...
<commit_before>#include "assert.hh" #include "buffer.hh" #include "buffer_manager.hh" #include "client_manager.hh" #include "color_registry.hh" #include "command_manager.hh" #include "commands.hh" #include "context.hh" #include "debug.hh" #include "event_manager.hh" #include "file.hh" #include "highlighters.hh" #includ...
<commit_before>#include "openmc/distribution.h" #include <algorithm> // for copy #include <cmath> // for sqrt, floor, max #include <iterator> // for back_inserter #include <numeric> // for accumulate #include <stdexcept> // for runtime_error #include <string> // for string, stod #include "openmc/error.h" #i...
<commit_before>/* * The Apache Software License, Version 1.1 * * Copyright (c) 1999-2000 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. Redi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: treefragment.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: kz $ $Date: 2006-11-06 14:49:00 $ * * The Contents of this file are m...
<commit_before>#include <cstdio> int main() { puts("ohai"); } <commit_msg>main: create .wavs from example<commit_after>#include <cmath> #include <fstream> #include <iostream> using namespace std; template <typename T> std::ostream& write_word(std::ostream &stream, T value , unsigned size = sizeof(T)) { for (...
<commit_before>/* ** Copyright 2015 Robert Fratto. See the LICENSE.txt file at the top-level ** directory of this distribution. ** ** Licensed under the MIT license <http://opensource.org/licenses/MIT>. This file ** may not be copied, modified, or distributed except according to those terms. */ #include <iostream> #inc...
<commit_before>// The MIT License (MIT) // // Copyright (c) 2015 Niek J. Bouman // // 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 r...
<commit_before>#include <ncurses.h> #include "window.hh" #include "buffer.hh" #include "file.hh" #include "regex_selector.hh" #include <unordered_map> #include <cassert> using namespace Kakoune; void draw_window(Window& window) { window.update_display_buffer(); int max_x,max_y; getmaxyx(stdscr, max_y, m...
<commit_before>/* * Copyright (c) 2016 Dariusz Stojaczyk. All Rights Reserved. * The following source code is released under an MIT-style license, * that can be found in the LICENSE file. */ /** * NOTE: This class requires heavy exception handling. * If something goes wrong it would be a real hell to debug */ ...
<commit_before> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <unistd.h> #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> #include <sys/types.h> #include <signal.h> #include <errno.h> #include "utils.hpp" #include "worker_pool.hpp" #include "async_io.hpp" #include "blackhole_all...
<commit_before>/* RTcmix - Copyright (C) 2000 The RTcmix Development Team See ``AUTHORS'' for a list of contributors. See ``LICENSE'' for the license to this software and for a DISCLAIMER OF ALL WARRANTIES. */ /* Originally by Brad Garton and Doug Scott (SGI code) and Dave Topper (Linux code). Reworked for ...
<commit_before>/* * SSL and TLS filter. * * author: Max Kellermann <mk@cm4all.com> */ #include "ssl_filter.hxx" #include "ssl_factory.hxx" #include "ssl_config.hxx" #include "ssl_quark.hxx" #include "thread_socket_filter.hxx" #include "pool.hxx" #include "gerrno.h" #include "fb_pool.hxx" #include "SliceFifoBuffer....
<commit_before>/********************************************************************* * * Software License Agreement (BSD License) * * Copyright (c) 2012, Worcester Polytechnic Institute * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
<commit_before>/* Copyright 2017 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) 2014 Yule Fox. All rights reserved. * http://www.yulefox.com/ */ #include <elf/elf.h> #include <elf/net/http.h> #include <elf/thread.h> #include <curl/curl.h> #include <string> namespace elf { struct http_req_t { std::string json; std::string url; http_response cb; ...
<commit_before>/* This file is part of Groho, a simulator for inter-planetary travel and warfare. Copyright (c) 2017-2018 by Kaushik Ghose. Some rights reserved, see LICENSE This file contains some common functions used in parsing scenario files */ #pragma once #include <iterator> #include <optional> #include <sstrea...
<commit_before>#include <stdlib.h> #include <stdio.h> #include <string.h> #if !defined(_WIN32) && !defined(NDEBUG) #include <execinfo.h> #include <signal.h> #endif #ifdef ANDROID #include <android/log.h> #define LOG(...) __android_log_print(ANDROID_LOG_INFO, "ruberoid", __VA_ARGS__) #else #define LOG(...) fprintf(stder...
<commit_before>/*The MIT License (MIT) Copyright (c) 2016 Jens Malmborg 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, ...
<commit_before>#include "epa_pll_util.hpp" #include <unordered_map> #include <algorithm> #include "pll_util.hpp" using namespace std; /* Returns the range of a sequence outside of which there are ONLY indel characters. * Range starts at the first valid position and ends with the first non-valid position * Exam...
<commit_before>#include <xcb/xcb.h> #include <SFML/Graphics.hpp> #include <curlpp/cURLpp.hpp> #include <iostream> using namespace std; int main() { cout << "If this compiled, then the dependencies work" << endl; return 0; } <commit_msg>Removed test_build duplicate<commit_after><|endoftext|>
<commit_before>/* * Copyright (C) 2015 deipi.com LLC and contributors. 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 limit...
<commit_before>/* Authors: Don Sanders <sanders@kde.org> Copyright (C) 2000 Don Sanders <sanders@kde.org> Includes KMLittleProgressDlg which is based on KIOLittleProgressDlg by Matt Koss <koss@miesto.sk> License GPL */ #include "kmbroadcaststatus.h" #include "kmbroadcaststatus.moc" #include "ssllabel.h"...
<commit_before>/************************************************************************* * * $RCSfile: scmod.hxx,v $ * * $Revision: 1.13 $ * * last change: $Author: rt $ $Date: 2003-09-19 08:20:57 $ * * The Contents of this file are made available subject to the terms of * either of the following license...
<commit_before>#include <string> #include <vector> #include <boost/optional.hpp> #include "prompt.hh" #include "configuration.hh" #include "to_str.hh" #include "move.hh" #include "show_message.hh" #include "visual.hh" void mvline(contents& contents, boost::optional<int> line) { if(line) { contents.x = 0; ...
<commit_before>/* Copyright (c) 2015, AOYAMA Kazuharu * All rights reserved. * * This software may be used and distributed according to the terms of * the New BSD License, which is incorporated herein by reference. */ #include <QMutex> #include <QDataStream> #include <QLocalSocket> #include <QTimer> #include <TWe...
<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>#include "twsWrapper.h" #include "twsUtil.h" #include "debug.h" // from global installed ibapi #include "ibtws/Contract.h" #include "ibtws/Order.h" #include "ibtws/OrderState.h" #include <QtCore/QString> #include <QtCore/QDateTime> DebugTwsWrapper::~DebugTwsWrapper() { } void DebugTwsWrapper::ti...
<commit_before>#pragma once #include <algorithm> #include <functional> #include <memory> #include <string> #include <utility> #include <vector> #include "abstract_operator.hpp" #include "storage/reference_column.hpp" namespace opossum { template <typename T> class SortImpl; class Sort : public AbstractOperator { ...
<commit_before>// -*- Mode:C++ -*- /**************************************************************************************************/ /* */ /* Copyright (C) 2014 University of Hull ...
<commit_before>#pragma once #include <type_traits> #include <algorithm> #include <stdexcept> #include <cstddef> #include <utility> #include <string> #include <vector> #include <array> #include <uv.h> namespace uvw { namespace details { enum class UVHandleType: std::underlying_type_t<uv_handle_type> { UNKNOW...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: acceptor.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2006-05-02 17:13:21 $ * * The Contents of this file are made ...
<commit_before> #include "helper.h" #include <iostream> #include "ops.h" #include "vector.h" #include "face.h" #include "solid.h" #include <TopAbs_ShapeEnum.hxx> #include <BRepPrimAPI_MakePrism.hxx> #include <TColgp_Array1OfPnt2d.hxx> #include <Geom2dAPI_PointsToBSpline.hxx> #include <Geom2d_BSplineCurve.hxx> #includ...
<commit_before>// Copyright 2010 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>#ifndef UTIL_HPP #define UTIL_HPP #include <string> #include <sstream> #include <iostream> #include <vector> #include <set> #include <memory> #include <typeinfo> #include <functional> #include <cxxabi.h> #include "suppressWarnings.hpp" #define abs(x) (x < 0 ? -x : x) #define UNUSED(expr) (void)(expr) ...
<commit_before>/* This file is part of Akregator. Copyright (C) 2004 Stanislav Karchebny <Stanislav.Karchebny@kdemail.net> 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 ...
<commit_before>/* * Software License Agreement (BSD License) * * Copyright (c) 2010, Willow Garage, 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...
<commit_before>// ========================================================================== // // This file is part of Sara, a basic set of libraries in C++ for computer // vision. // // Copyright (C) 2013-present David Ok <david.ok8@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public ...
<commit_before>/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2017 Grégory Van den Borre * * More infos available: https://www.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
<commit_before>//------------------------------------------------------------------------------ // CLING - the C++ LLVM-based InterpreterG :) // version: $Id$ // author: Axel Naumann <axel@cern.ch> //------------------------------------------------------------------------------ #include "cling/UserInterface/UserInter...
<commit_before>/* DepSpawn: Data Dependent Spawn library Copyright (C) 2012-2016 Carlos H. Gonzalez, Basilio B. Fraguela. Universidade da Coruna This file is part of DepSpawn. DepSpawn is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
<commit_before>#include <system/System.h> #ifdef HX_MACOS #include <CoreFoundation/CoreFoundation.h> #endif #include <SDL_rwops.h> #include <SDL_timer.h> namespace lime { double System::GetTimer () { return SDL_GetTicks (); } FILE* FILE_HANDLE::getFile () { if (((SDL_RWops*)handle)->type == ...
<commit_before>#ifndef PAINTER_BRUSH_HPP #define PAINTER_BRUSH_HPP #include <algorithm> #include <bitset> #include <utility> #include <vector> #include <optional/optional.hpp> #include <cppurses/painter/attribute.hpp> #include <cppurses/painter/color.hpp> namespace cppurses { class Brush { public: template <...
<commit_before>#include <stan/math/rev/mat.hpp> #include <gtest/gtest.h> #include <stan/math/prim/scal/fun/value_of.hpp> #include <chrono> using stan::math::var; using Eigen::Dynamic; using Eigen::Matrix; typedef std::chrono::high_resolution_clock::time_point TimeVar; #define duration(a) std::chrono::duration_cast<st...
<commit_before>/** * \file * \brief StaticThread class header * * \author Copyright (C) 2014 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * 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 w...
<commit_before>#pragma once #define PY_SSIZE_T_CLEAN #include <Python.h> #include <structmember.h> #define _mgl_str(x) #x #define _mgl_xstr(x) _mgl_str(x) #define mgl_mod _mgl_xstr(MODERNGL_MODULE) #define mgl_ext mgl_mod ".mgl" /* Wrapper classes for internal objects are defined in python. They must have __slots__ d...
<commit_before>// ===== ---- ofp/sys/tcp_connection.ipp ------------------*- C++ -*- ===== // // // Copyright (c) 2013 William W. Fisher // // 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...
<commit_before>/************************************************************************************* ** * @copyright (c) 2013-2100, ChengDu Duyer Technology Co., LTD. All Right Reserved. * *************************************************************************************/ /** * @file g_socket.cpp * @version ...
<commit_before>/* MEGA SDK POSIX filesystem/directory access/notification (c) 2013 by Mega Limited, Wellsford, New Zealand Author: mo Applications using the MEGA API must present a valid application key and comply with the the rules set forth in the Terms of Service. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRA...
<commit_before>#ifndef PQXX_H_CALLGATE #define PQXX_H_CALLGATE namespace pqxx { namespace internal { template<typename HOME> class PQXX_PRIVATE callgate { protected: typedef callgate<HOME> super; typedef HOME &reference; callgate(reference x) : m_home(x) {} const reference home() const throw () { return m_hom...
<commit_before>#include "blas.hpp" #include "lapack_wrap.hpp" #include "linalg.hpp" #include "mkl.h" #include "strassen.hpp" #include "timing.hpp" #include <stdexcept> #include <vector> template <typename Scalar> void QR(Matrix<Scalar>& A, std::vector<Scalar>& tau, int pos=0) { int m = A.m(); int n = A.n(); in...
<commit_before>// Copyright (c) 2014-2018 Dr. Colin Hirsch and Daniel Frey // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #ifndef TAO_PEGTL_MEMORY_INPUT_HPP #define TAO_PEGTL_MEMORY_INPUT_HPP #include <cstddef> #include <cstring> #include <string> #include <type_traits> #include <utility>...
<commit_before>#include <sys/types.h> #include <sys/errno.h> #include <fcntl.h> #include <limits.h> #include <stdio.h> #include <unistd.h> #include <map> #include <vector> #include <common/buffer.h> #include <common/endian.h> #include <common/limits.h> #include <common/timer/timer.h> #include <xcodec/xcodec.h> #incl...
<commit_before>#ifndef ITER_POWERSET_HPP_ #define ITER_POWERSET_HPP_ #include "iterbase.hpp" #include "combinations.hpp" #include <cassert> #include <memory> #include <initializer_list> #include <utility> #include <iterator> #include <type_traits> namespace iter { template <typename Container> class Powerset...
<commit_before>#include "Interceptor.h" #include "hookzz_internal.h" #include "InterceptRouting.h" PUBLIC RetStatus ZzWrap(void *function_address, PRECALL pre_call, POSTCALL post_call) { DLOG("[*] Initialize 'ZzWrap' hook at %p\n", function_address); Interceptor *intercepter = Interceptor::SharedInstance(); H...
<commit_before>#include "vast/search.h" #include "vast/exception.h" #include "vast/optional.h" #include "vast/query.h" #include "vast/util/make_unique.h" namespace vast { namespace { // Extracts all (leaf) predicates from an AST. class predicator : public expr::default_const_visitor { public: predicator(std::vect...
<commit_before>/*************************************************************************** * Copyright (c) 2016, Johan Mabille and Sylvain Corlay * * * * Distributed under the terms of the BSD 3-Clause License. ...
<commit_before>#include <iostream> #include <string> #include <vector> #include <Sequence/SimData.hpp> #include <Sequence/PolySIM.hpp> #include <Sequence/FST.hpp> int main() { std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cerr.tie(nullptr); std::cout.setf(std::ios::fixed); std::cou...
<commit_before>#include <benchmark/benchmark.h> #include <blackhole/attributes.hpp> #include <blackhole/cpp17/string_view.hpp> #include <blackhole/extensions/writer.hpp> #include <blackhole/formatter/string.hpp> #include <blackhole/record.hpp> namespace blackhole { namespace benchmark { static void format_literal(::...
<commit_before>// $Id$ /// /// @file downloadCDB.C /// @brief Download a snapshot of the CDB to another folder /// /// <pre> /// Usage: aliroot -b -q -l \ /// downloadCDB.C'(runno, "from", "to", "path")' /// /// Examples: /// downloadCDB.C'(144991, "alien://folder=/alice/data/2011/OCDB", "local:///tmp/144991/OC...
<commit_before>#include "webresponse.h" using namespace v8; Persistent<FunctionTemplate> WebResponse::constructor; WebResponse::WebResponse() {} WebResponse::~WebResponse() { if (response != NULL) g_object_unref(response); g_object_unref(resource); delete dataCallback; } void WebResponse::init(WebKitWebReso...
<commit_before>/* * Copyright 2013-2014 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/. */ #include "_etc.hpp" #include "zone.hpp" namespace...
<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) 2007 Sebastian Sauer <mail@dipe.org> * * This file is part of SuperKaramba. * * SuperKaramba 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 Lic...
<commit_before>#include <boost/bind.hpp> #include "serializer/serializer.hpp" #include "arch/coroutines.hpp" serializer_t::index_write_op_t::index_write_op_t( block_id_t block_id, boost::optional<boost::shared_ptr<block_token_t> > token, boost::optional<repli_timestamp_t> recency, boos...
<commit_before>/* * Copyright (c) 2014 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>/* * This File is part of Davix, The IO library for HTTP based protocols * Copyright (C) CERN 2017 * Author: Georgios Bitzes <georgios.bitzes@cern.ch> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as publish...
<commit_before>#include "GenericIO.h" #include <memory> #include "MatrixIO.h" #include "TensorIO.h" #include "DataWriter.h" #include <SmurffCpp/Utils/Error.h> using namespace smurff; std::shared_ptr<TensorConfig> generic_io::read_data_config(const std::string& filename, bool isScarce) { try { if(matri...
<commit_before> #include "swganh/simulation/scene.h" #include <algorithm> #include "swganh/object/object.h" using namespace std; using namespace swganh::object; using namespace swganh::simulation; class Scene::SceneImpl { public: SceneImpl(SceneDescription description) : description_(move(description)) ...
<commit_before>/* * VelocitySystem.cpp * * Created on: 11/07/2014 * Author: vitor */ #include "VelocitySystem.h" VelocitySystem::VelocitySystem() : System() { add_aspect(new AllOfAspect<PositionComponent, VelocityComponent>()); } VelocitySystem::~VelocitySystem() { } void VelocitySystem::process_entit...
<commit_before>/*++ Copyright (c) 2012 Microsoft Corporation Module Name: qffpa_tactic.cpp Abstract: Tactic for QF_FP benchmarks. Author: Christoph (cwinter) 2012-01-16 Notes: --*/ #include"tactical.h" #include"simplify_tactic.h" #include"bit_blaster_tactic.h" #include"sat_tactic.h" #include"fpa2bv_...
<commit_before>#include "Groups.h" UserGroup::UserGroup(int id,unsigned char def) { this->id = id; this->defaultPerm = def; } <commit_msg>lorde<commit_after>#include "Groups.h" UserGroup::UserGroup(int id,unsigned char def) { this->id = id; this->defaultPerm = def; } void UserGroup::AddRule(PermRule n...
<commit_before>#include "tmfs.hh" static std::string _get_real_path(const std::string & str) { const auto clean_path = fs::path(str); fs::path real_path(tmfs::instance().hfs_root()); real_path /= "Backups.backupdb"; // ${hfs_root}/Backups.backupdb/ // ok let's copy the 4 first part of the virtual path // (...
<commit_before>// Copyright (c) 2014-2022 The Gridcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or https://opensource.org/licenses/mit-license.php. #include "amount.h" #include "key.h" #include "main.h" #include "gridcoin/mrc.h" #include "gridcoin/account.h" #i...
<commit_before>#include "hext/matcher.h" namespace hext { matcher::match_error::match_error(const char * msg) : std::runtime_error(msg) { } matcher::matcher(const char * path) : g_outp(nullptr), buffer() { assert(path != nullptr); { std::ifstream file; // force exception on error file.exception...
<commit_before>/* * hq_sound.c * * Created on: 05.01.2009 * Author: gerstrong */ #include <SDL.h> #include "../hqp/hq_sound.h" #include "../keen.h" #include "../sdl/CVideoDriver.h" #include "../include/vorbis/oggsupport.h" #include "../CLogFile.h" short HQSndDrv_Load(SDL_AudioSpec *AudioSpec, stHQSound *pso...
<commit_before>// Copyright (c) 2011, Cornell University // 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> //===----------------------------------------------------------------------===// // // Peloton // // bwtree.cpp // // Identification: src/index/bwtree.cpp // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===----------------------------------------------...
<commit_before>// Best-first Utility-Guided Search Yes! From: // "Best-first Utility-Guided Search," Wheeler Ruml and Minh B. Do, // Proceedings of the Twentieth International Joint Conference on // Artificial Intelligence (IJCAI-07), 2007 #include "../search/search.hpp" #include "../structs/binheap.hpp" #include "../...
<commit_before>#include "query.hpp" #include "delimiters.hpp" #include "keyword_matcher.hpp" #include "string_match.hpp" namespace search { namespace impl { uint32_t KeywordMatch(strings::UniChar const * sA, uint32_t sizeA, strings::UniChar const * sB, uint32_t sizeB, uint3...
<commit_before>#include "inoreaderapi.h" #include <cstring> #include <curl/curl.h> #include <json.h> #include <vector> #include "config.h" #include "strprintf.h" #include "utils.h" #define INOREADER_LOGIN "https://inoreader.com/accounts/ClientLogin" #define INOREADER_API_PREFIX "https://inoreader.com/reader/api/0/" ...
<commit_before>#include "inputhandler.h" #include "effects.h" #include "slog/slog.h" #include "sdl.h" #include <utility> #include "userinput.h" extern UserInput* user_input; InputHandler::InputHandler(std::unique_ptr<Image> image) : curr_effect_(NULL), image_(image.release()) { this->RegisterKey(SDLK_q); ...