text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unocrsr.cxx,v $ * * $Revision: 1.11 $ * * last change: $Author: obo $ $Date: 2006-09-16 20:48:24 $ * * The Contents of this file are made...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: lineinfo.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-09 03:17:23 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: drawdoc.cxx,v $ * * $Revision: 1.14 $ * * last change: $Author: hr $ $Date: 2004-02-03 16:25:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/**************************************************************************** ** ** Copyright (C) 1992-$THISYEAR$ Trolltech AS. All rights reserved. ** ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. *...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: noteurl.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: hr $ $Date: 2007-06-26 13:47:07 $ * * The Contents of this file are made a...
<commit_before>#include "thcrap.h" #include "http_curl.h" CurlHandle::CurlHandle() : curl(curl_easy_init()) {} CurlHandle::CurlHandle(CurlHandle&& other) : curl(other.curl) { other.curl = nullptr; } CurlHandle::~CurlHandle() { if (this->curl) { curl_easy_cleanup(this->curl); } } size_t C...
<commit_before>/* This file is part of the Vc library. {{{ Copyright (C) 2013 Matthias Kretz <kretz@kde.org> Vc 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 3 of the...
<commit_before>/*- * Copyright 2003,2004 Colin Percival * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, t...
<commit_before>#include "ScriptWrapper.h" #include "MagnetiteCore.h" #include "WorldChunk.h" #include "Renderer.h" #include "TextureManager.h" #include "InputManager.h" #include "StoneBlock.h" #include "World.h" #include "Character.h" #include "BlockFactory.h" #include "BaseGame.h" #include "ScriptGame.h" #include "Bul...
<commit_before>/** * @file Statement.cpp * @ingroup SQLiteCpp * @brief A prepared SQLite Statement is a compiled SQL query ready to be executed, pointing to a row of result. * * Copyright (c) 2012-2015 Sebastien Rombauts (sebastien.rombauts@gmail.com) * * Distributed under the MIT License (MIT) (See accompa...
<commit_before><commit_msg>Drop unused variable<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: fontcfg.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: rt $ $Date: 2003-04-08 15:33:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>#include <catch.hpp> #include <zmq.hpp> #ifdef ZMQ_CPP11 #ifdef ZMQ_CPP17 static_assert(std::is_nothrow_swappable_v<zmq::socket_ref>); #endif static_assert(sizeof(zmq::socket_ref) == sizeof(void *), "size mismatch"); static_assert(alignof(zmq::socket_ref) == alignof(void *), "alignment mismatch"); stati...
<commit_before>/* * Copyright 2011, 2012 Esrille 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 applic...
<commit_before><commit_msg>coverity#983200 Resource leak<commit_after><|endoftext|>
<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>#include "TileLogic.hpp" #include <limits> #include <string> #include <array> using namespace jakway_antf; /** * returns whether this tile will be alive in the next generation * note that this function ONLY calculates whether THIS tile will live--does not give any information about neighboring tiles...
<commit_before>#define BOOST_TEST_MODULE test_fmath #define BOOST_TEST_DYN_LINK #include "test.hpp" #include "fmath.hpp" BOOST_AUTO_TEST_CASE(gcf00) { BOOST_TEST(gcf(0, 0) == 0); } BOOST_AUTO_TEST_CASE(gcf10) { BOOST_TEST(gcf(1, 0) == 1); } BOOST_AUTO_TEST_CASE(gcf01) { BOOST_TEST(gcf(0, 1) == 1); } BO...
<commit_before>// Copyright 2013 Mirus 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 required by applicable law or agreed...
<commit_before>/* * Copyright (c) 2014 ARM Limited * All rights reserved * * The license below extends only to copyright in the software and shall * not be construed as granting a license to any other intellectual * property including but not limited to intellectual property relating * to a hardware implementati...
<commit_before>#include "core/memory/temp_allocator.h" #include "core/strings/string_stream.h" namespace crown { static void console_send(TCPSocket& client, const char* json) { const u32 size = strlen32(json); client.write(&size, sizeof(u32)); client.write(json, size); } static void console_sanitize_json_string(St...
<commit_before>/* * fMBT, free Model Based Testing tool * Copyright (c) 2011, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Lesser General Public License, * version 2.1, as published by the Free Software Foundation. * *...
<commit_before>#include "Variant.h" #include "split.h" #include "cdflib.hpp" #include "pdflib.hpp" #include "var.hpp" #include <string> #include <iostream> #include <math.h> #include <cmath> #include <stdlib.h> #include <time.h> #include <stdio.h> #include <getopt.h> using namespace std; using namespace vcf; void ...
<commit_before>/* Copyright (c) 2009, Arvid Norberg 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 condi...
<commit_before><commit_msg>Fix --enable-kde4<commit_after><|endoftext|>
<commit_before>#include "domain.h" #include "data.h" #include <iostream> using namespace std; domain::domain() { } void domain::list() { data dat; vector<Person> persons; dat.read(persons); cout << "===== List =====" << endl; for(unsigned int i = 0; i < persons.size(); i++) { cout << per...
<commit_before><commit_msg>fixed erase issue<commit_after><|endoftext|>
<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) 2001-2006 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 libCellML Contributors 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 or agreed to in ...
<commit_before><commit_msg>Restore compatibility with VS2013<commit_after><|endoftext|>
<commit_before>/***************************************************************************** * common.hpp: Basic shared types & helpers ***************************************************************************** * Copyright © 2015 libvlcpp authors & VideoLAN * * Authors: Hugo Beauzée-Luyssen <hugo@beauzee.fr> ...
<commit_before>/** * \file MainFrame.cpp * \brief Main Windows Class */ #include "MainFrame.h" BEGIN_EVENT_TABLE(MainFrame,wxFrame) EVT_MENU(ID_EXIT, MainFrame::OnExit) EVT_MENU(ID_OPEN, MainFrame::OpenReplay) EVT_CLOSE(MainFrame::OnClose) EVT_COMBOBOX(ID_PLAYERSELECTION, MainFrame::SelectPlayer) ...
<commit_before>/******************************************************************************* Licensed to the OpenCOR team under one or more contributor license agreements. See the NOTICE.txt file distributed with this work for additional information regarding copyright ownership. The OpenCOR team licenses this file...
<commit_before>/* * VapourSynth D2V Plugin * * Copyright (c) 2012 Derek Buitenhuis * * This file is part of d2vsource. * * d2vsource 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 * ve...
<commit_before><commit_msg>fixed 2 memory leaks in SFTPClient::list()<commit_after><|endoftext|>
<commit_before>#include <iterator> template<class RandomIt, class Val> RandomIt binsearch(RandomIt fst, RandomIt lst, const Val& val) { if (fst == lst) return lst; auto lft = fst, rgt = std::prev(lst); while (lft <= rgt) { const auto mid = std::next(lft, std::distance(lft, rgt) / 2); if ...
<commit_before>/* Copyright (c) 2009, Arvid Norberg 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 condi...
<commit_before>#ifndef array_view_hh_INCLUDED #define array_view_hh_INCLUDED #include <vector> #include <initializer_list> #include <type_traits> namespace Kakoune { // An ArrayView provides a typed, non owning view of a memory // range with an interface similar to std::vector. template<typename T> class ArrayView {...
<commit_before>#include "src/block_sync.h" #include <utility> #include <vector> #include "src/util.h" namespace redsea { const unsigned kBitmask16 = 0x000FFFF; const unsigned kBitmask26 = 0x3FFFFFF; const unsigned kBitmask28 = 0xFFFFFFF; const eBlockNumber g_block_number_for_offset[5] = {BLOCK1, BLOCK2, BLOCK3...
<commit_before>/* Copyright (c) 2008-2009, Avian Contributors 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. There is NO WARRANTY for this s...
<commit_before><commit_msg>Added some functionality to uintqueue<commit_after><|endoftext|>
<commit_before>// timer.t.cpp #include <engine/utility/timer.h> #include <gtest/gtest.h> TEST( Timer, Construction ) { using namespace nge::util; Timer timer; Timer copy( timer ); timer = copy; } TEST( Timer, StartAndStop ) { using namespace nge::util; Timer timer; ASSERT_EQ( 0.0f, tim...
<commit_before>// Copyright 2013 Velodyne Acoustics, 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 app...
<commit_before>#include <simcode/net/NetLogger.h> #include <stdio.h> using namespace simcode; using namespace net; int NetLogLevel::LEVEL_DEBUG = 2; int NetLogLevel::LEVEL_INFO = 3; int NetLogLevel::LEVEL_WARN = 4; int NetLogLevel::LEVEL_ERROR = 5; int NetLogLevel::LEVEL_FATAL = 6; int NetLogger::level_ = NetLogLev...
<commit_before>#include "GeoCoordinate.hpp" #include "entities/Element.hpp" #include "entities/Node.hpp" #include "entities/Way.hpp" #include "entities/Area.hpp" #include "entities/Relation.hpp" #include "index/ElementStore.hpp" #include "mapcss/StyleProvider.hpp" #include "test_utils/ElementUtils.hpp" #include "test_u...
<commit_before>#include <boost/smart_ptr/shared_ptr.hpp> #include "locks.h" hLockTicket::hLockTicket(pmutexPtr lock, bool locked) { m_lock = lock; if (!locked) { pthread_mutex_lock(m_lock.get()); m_locked = 1; } } hLockTicket::hLockTicket(const hLockTicket &a) { m_locked = 1; m_lock = a.m_lock; } hLockTi...
<commit_before>#include "chainerx/cuda/memory_pool.h" #include <algorithm> #include <iterator> #include <mutex> #include <unordered_map> #include <vector> #include "chainerx/cuda/cuda_runtime.h" #include "chainerx/cuda/cuda_set_device_scope.h" #include "chainerx/macro.h" namespace chainerx { namespace cuda { Malloc...
<commit_before><commit_msg>Cleanup<commit_after><|endoftext|>
<commit_before><commit_msg>modif<commit_after><|endoftext|>
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/external_tab_container.h" #include "app/l10n_util.h" #include "app/win_util.h" #include "base/logging.h"...
<commit_before>// // Copyright (c) 2012, University of Erlangen-Nuremberg // Copyright (c) 2012, Siemens AG // 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 c...
<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/download_shelf_gtk.h" #include "app/l10n_util.h" #include "app/resource_bundle.h" #include "base/gfx/gtk_...
<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/gtk/translate_infobars.h" #include <string> #include <vector> #include "app/l10n_util.h" #include "base/utf_...
<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/platform_util.h" #include <gtk/gtk.h> #include "base/file_util.h" #include "base/process_util.h" #include "b...
<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/gtk/zoom_bubble_gtk.h" #include "base/utf_string_conversions.h" #include "chrome/browser/prefs/pref_servic...
<commit_before>// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/views/html_dialog_view.h" #include "chrome/browser/browser.h" #include "chrome/browser/tab_contents/tab_...
<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/renderer/notification_provider.h" #include "base/string_util.h" #include "base/task.h" #include "chrome/common/render...
<commit_before>#include <stdio.h> #include <stdlib.h> int suma(int desde) { if (desde == 0) return 0; return desde + suma(desde - 1); } int main(int argc, char *argv[]){ int n; if (argc < 2) return EXIT_FAILURE; n = atoi(argv[1]); printf("%i\n", suma(n)); return EXIT_SUCCESS; } <commi...
<commit_before>/* net.cc Mathieu Stefani, 12 August 2015 */ #include <stdexcept> #include <limits> #include <cstring> #include <netinet/in.h> #include <arpa/inet.h> #include <ifaddrs.h> #include <iostream> #include <pistache/net.h> #include <pistache/common.h> using namespace std; namespace Pistache { Port...
<commit_before>// This file is distributed under the MIT license. // See the LICENSE file for details. #include <cassert> #include "model.h" #include "sg.h" namespace visionaray { namespace sg { //------------------------------------------------------------------------------------------------- // node // std::vect...
<commit_before>/* * Copyright (C) 2014-2015 Pavel Dolgov * * See the LICENSE file for terms of use. */ #ifndef CONSTANTS_HPP_ #define CONSTANTS_HPP_ namespace Gui { /** The proportion of a number in a cell */ const double NUMBER_PROPORTION = 0.900000; /** Maximum size of the game board to resize content */ cons...
<commit_before>#include "ui_mainwindow.h" #include "converter.h" #include "utilities.h" #include "window.h" #include <QTime> Converter::Converter(QObject *parent) : QObject(parent) { } void Converter::start() { utils.addToLog("<b>Starting conversion.</b>"); utils.killProcesses(); utils.currentDuration = ...
<commit_before>/* Copyright (C) 2009-2010 Jack Poulson <jack.poulson@gmail.com> This file is part of Elemental. Elemental 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 Li...
<commit_before>/** This file is part of Deformable Shape Tracking (DEST). Copyright Christoph Heindl 2015 Deformable Shape Tracking 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 ...
<commit_before>// Copyright (c) 2009-2014 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 "core_io.h" #include "primitives/block.h" #include "primitives/transaction.h" #include "script/scrip...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: Petri M. Gerdt <petri.gerdt@jollamobile.com> ** ****************************************************************************/ /* This Source Code Form is subject to the terms of ...
<commit_before>/* Please refer to license.txt */ #include <sys/stat.h> #include <errno.h> #include <stdio.h> #include <iostream> #include <string.h> #include <dirent.h> #include "file.hpp" #include "../error/error.hpp" #include "../string/string.hpp" #include "../internal_header.hpp" namespace mfile { FileManage...
<commit_before>#include "functions.h" const double twopi = 2*datum::pi; const double sq_twopi = sqrt(twopi); const double loginvtwopi = log(1/twopi); const double loginvsqtwopi = log(1/sq_twopi); ///////////////////////////////////////////////////////////////////////////////////////////////// double logdF1(unsigned r...
<commit_before>#include "generator.h" #include "gameengine.h" #include "algorithm.h" #include <ctime> #include <cstdlib> #include <cstring> #include <iostream> #include <fstream> static unsigned int getDistance (unsigned int start, unsigned int end, void* customData); static unsigned int getPathCost (unsigned int inde...
<commit_before>/* * Copyright © 2008, 2009 Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, cop...
<commit_before><commit_msg>INTEGRATION: CWS pchfix02 (1.13.4); FILE MERGED 2006/09/01 17:35:34 kaib 1.13.4.1: #i68856# Added header markers and pch files<commit_after><|endoftext|>
<commit_before>// https://github.com/KubaO/stackoverflown/tree/master/questions/metaproxy-32612309 #include <QtCore> #include <QMetaProperty> #include <functional> #include <private/qmetaobjectbuilder_p.h> class ObjectA : public QObject { Q_OBJECT Q_PROPERTY(int a MEMBER m_a NOTIFY aChanged) Q_PROPERTY(QSt...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007, Industrial Light & Magic, a division of Lucas // Digital Ltd. LLC // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted prov...
<commit_before>/*========================================================================= Program: Visualization Toolkit Module: vtkImageAccumulate.cxx Language: C++ Date: $Date$ Version: $Revision$ Thanks: Thanks to C. Charles Law who developed this class. Copyright (c) 1993-2001 Ken Mar...
<commit_before><commit_msg>Remove extra string "///" before the image in method headers.<commit_after><|endoftext|>
<commit_before>/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the imp...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before><commit_msg>fixing warning<commit_after><|endoftext|>
<commit_before>#include <gtest/gtest.h> #include <algorithm> #include <iterator> #include <iv/ustring.h> #include <iv/stringpiece.h> #include <iv/conversions.h> #include "test_aero.h" namespace { template<typename T> bool ExpectEqual(T reg, const iv::core::StringPiece& expected) { const iv::core::US...
<commit_before>AliAnalysisTaskWeakDecayVertexer *AddTaskWeakDecayVertexer( TString lExtraOptions = "", const TString lMasterJobSessionFlag = "") { // Creates, configures and attaches to the train a cascades check task. // Get the pointer to the existing analysis manager via the static access method. //=====...
<commit_before>/**********************************************************\ This file is distributed under the MIT License. See https://github.com/morzhovets/momo/blob/master/LICENSE for details. tests/SimpleTreeTester.cpp \**********************************************************/ #include "pch....
<commit_before> #define LIBPYTHON_CPP #include "libpython.h" #ifndef _WIN32 #include <dlfcn.h> #else #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #endif #include <string> #include <iostream> #include <sstream> namespace libpython { namespace { void lastDLErrorMessage(std::string* pError) { #ifdef _WIN32 LP...
<commit_before>/**************************************************************************** This file is part of the QtMediaHub project on http://www.qtmediahub.com Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).* All rights reserved. Contact: Girish Ramakrishnan girish@forwardbias.in Contact: N...
<commit_before>#include <algorithm> #include <cmath> #include <functional> #include <iterator> #include <QCoreApplication> #include <QFile> #include <QHash> #include <QSet> #include <QSharedPointer> #include <QString> #include <QStringList> #include <QTextStream> #include <QVector> typedef QSet<int> IndexSet; typedef...
<commit_before>// // Copyright (c) 2014 Christoph Malek // See LICENSE for more information. // #ifndef TWSM_MAIN_WINDOW_HPP #define TWSM_MAIN_WINDOW_HPP #include "econ.hpp" #include "serverbrowser.hpp" #include "ui_main_window.h" #include <QMainWindow> #include <QTimer> #include <QDebug> namespace Ui {class main...
<commit_before>/* * Copyright (C) 2014 Pelagicore AB * All rights reserved. */ #include <fstream> #include <unistd.h> #include "container.h" #include "debug.h" #include <sys/mount.h> #include <sys/stat.h> #include <sys/types.h> #ifndef LXCTEMPLATE #error Must define LXCTEMPLATE as path to lxc-pelagicontain #e...
<commit_before>#include <gflags/gflags.h> #include <chrono> #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "ncode_common/src/common.h" #include "ncode_common/src/file.h" #include "ncode_common/src/logging.h" #include "ncode_common/src/lp/mc_flow.h" #include "ncode_co...
<commit_before>#ifndef VG_MINIMIZER_HPP_INCLUDED #define VG_MINIMIZER_HPP_INCLUDED /** \file * A minimizer index prototype with minimal VG dependencies. */ #include <cstdint> #include <iostream> #include <limits> #include <utility> #include <vector> #include "types.hpp" namespace vg { //------------------------...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010-2015 Belledonne Communications SARL, All rights reserved. This program 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 S...
<commit_before>#include "common.hpp" extern "C" void __serial_print1(const char*); template<typename R, typename ...Args> inline void stubtrace_print(const char* name, R ret, Args&&... args) { __serial_print1("<WARNING> Stubbed syscall: "); strace_print(name, ret, args...); } // Strace for stubbed syscalls. // c...
<commit_before>#include "ofxJamoma.h" #include "gorgone.h" void ofxJamoma::setup(void* parent, string name, string masterIp) { mParent = TTPtr(parent); mAppLocalName = name; mAppRemoteName = "master"; mAppRemoteName2 = "laser-1"; mAppRemoteIp = masterIp; setupJamomaApp(); registerJamomaParam(); } void o...
<commit_before>// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2004-2006 Sage Weil <sage@newdream.net> * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU ...
<commit_before>#include"all_defines.hpp" #include"processes.hpp" #include"mutexes.hpp" #include"executors.hpp" void MailBox::insert(ValueHolderRef & message) { AppLock l(mtx); messages.insert(message); } bool MailBox::recv(Object::ref & res) { AppLock l(mtx); ValueHolderRef ref; messages.remove(ref); if...
<commit_before>#ifndef UNICODE #define UNICODE #endif #ifndef _UNICODE #define _UNICODE #endif #define NOMINMAX #define WIN32_LEAN_AND_MEAN #define VC_EXTRALEAN #pragma comment(lib, "Shlwapi.lib") #include "unicodeText.h" #include <windows.h> #include <Shlwapi.h> #include <stdio.h> const wchar_t...
<commit_before>/* * This file is part of Poedit (https://poedit.net) * * Copyright (C) 2017 Vaclav Slavik * * 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, i...
<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 "build/build_config.h" #include "cc/layers/solid_color_layer.h" #include "cc/test/layer_tree_pixel_test.h" #include "cc/test/pixel...
<commit_before>/* qgpgmejob.cpp This file is part of libkleopatra, the KDE keymanagement library Copyright (c) 2004 Klarlvdalens Datakonsult AB Libkleopatra 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 Sof...