text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salogl.cxx,v $ * * $Revision: 1.17 $ * * last change: $Author: hr $ $Date: 2006-08-11 17:51:50 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: salogl.cxx,v $ * * $Revision: 1.15 $ * * last change: $Author: rt $ $Date: 2005-09-09 13:08:05 $ * * The Contents of this file are made a...
<commit_before>/************************************************************************* * * $RCSfile: undoheaderfooter.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2004-08-23 08:23:02 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<commit_before>/* * Copyright 2011 Simon A. F. Lund <safl@safl.dk> * * This file is part of cphVB. * * cphVB 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 yo...
<commit_before>#include <config.h> #include <dune/stuff/common/parameter/configcontainer.hh> #include <dune/stuff/fem/functions/integrals.hh> #include <dune/stuff/common/profiler.hh> #include <sstream> #include "dune/multiscale/msfem/msfem_traits.hh" #include "coarse_scale_operator.hh" namespace Dune { namespace Mult...
<commit_before>/************************************************************************* * * $RCSfile: resourceprovider.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: rt $ $Date: 2003-10-06 15:58:12 $ * * The Contents of this file are made available subject to the terms of * either of the followi...
<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>#include "precompiled.h" // // Copyright (c) 2013 The ANGLE 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. // // BufferStorage11.cpp Defines the BufferStorage11 class. #include "libGLESv2/renderer/d3d11/Buffe...
<commit_before>/* * Copyright (C) 2008-2011, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <st...
<commit_before>#pragma once /* * Covariant Script Programming Language * * 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 * any later version. * * This program...
<commit_before>/* * Copyright 2014-2015 CyberVision, 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 a...
<commit_before>#include "clanghelper/arghelper.hpp" #include "clanghelper/declprocessor.hpp" #include "clanghelper/doxygen_utils.hpp" #include "clanghelper/stdhelper/containerhelper.hpp" #include <iostream> #include <json/json.h> #include <json/writer.h> namespace { const std::string PARAM_NAME_MAIN_ONLY = "--main-onl...
<commit_before>/* bzflag * Copyright (c) 1993-2012 Tim Riker * * This package is free software; you can redistribute it and/or * modify it under the terms of the license found in the file * named COPYING that should have accompanied this file. * * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR *...
<commit_before>// // Created by martin on 02/04/19. // #include <iostream> #include <string> #include <typeinfo> #include <gtest/gtest.h> #include <ros/package.h> #include "ros/ros.h" #include "std_msgs/String.h" #include "rosplan_knowledge_base/KnowledgeBase.h" #include "rosplan_knowledge_msgs/GetDomainNameService.h...
<commit_before>#include "AutonomousGroup2.h" AutonomousGroup2::AutonomousGroup2() { //Goal: Pick up both bins on step with moose, drive back while setting them down //Antlers move up, and fit in the auton zone somehow, either by turning or activating arms. m_cAntlerMoose1 = new AutonAntlerMoose(); m_cMooseLifter1 ...
<commit_before>#include "GraphicsService.hpp" #include "Global.hpp" #include "TimeService.hpp" #include "Render.hpp" #include "Texture2D.hpp" #include "TextureMappedFont.hpp" #include "Log.hpp" namespace Core { GraphicsService::GraphicsService() : mDisplay(EGL_NO_DISPLAY), mSurface(EG...
<commit_before>#include <netdb.h> #include <unistd.h> #include <sys/fcntl.h> #include "client.h" #include "duckchat.h" // Variables struct sockaddr_in client_addr; struct sockaddr_in server_addr; int client_socket; struct addrinfo *server_info; char *channel; // Prints an error message and exits the program. void E...
<commit_before>#pragma once #include "vm/code_segment.hpp" /// End of recursion (noop) void add_code( perseus::detail::code_segment& out_code ) { } /** @brief Add values to a code segment @param out_code[in,out] code to append onto @param head first value to append @param tail remaining values to append */ template<...
<commit_before>/*! * \copy * Copyright (c) 2009-2013, Cisco Systems * 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...
<commit_before>/** * @file storageHelperCreator.cc * @author Rafal Slota * @copyright (C) 2013 ACK CYFRONET AGH * @copyright This software is released under the MIT license cited in * 'LICENSE.txt' */ #include "helpers/storageHelperCreator.h" #include "buffering/bufferAgent.h" #include "posixHelper.h" #include ...
<commit_before>/*===========================================================================*\ * * * OpenMesh * * Copyright (C) 2001-2012 by Computer Graphics Group, RWTH Aa...
<commit_before>#ifndef RBX_VARIABLE_SCOPE_HPP #define RBX_VARIABLE_SCOPE_HPP #include "vm/object_utils.hpp" #include "builtin/object.hpp" #include "builtin/tuple.hpp" namespace rubinius { class CompiledMethod; class Module; struct CallFrame; /** * Variable information. */ class VariableScope : pub...
<commit_before>// Copyright © 2011, Université catholique de Louvain // 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 not...
<commit_before>#pragma once #include <bitset> #include <cstring> #include <iostream> namespace despairagus { namespace bitwise { using std::cout; using std::ostream; template <typename A> class binary final { template<typename B> using conref = const B &; constexpr static const size_t sz{sizeof(A)...
<commit_before>#pragma once #include <bitset> #include <cstring> template <typename A> class binary final { template <typename B> using conref = const B&; constexpr static size_t sz{sizeof(A)}; constexpr static auto szB{sz << 3}; using bitA = std::bitset<szB>; using byte = unsigned char; using bit = bool; p...
<commit_before>#include "ndis56common.h" #include "ParaNdis_GuestAnnounce.h" #include "ParaNdis6_Driver.h" #include "ethernetutils.h" CGratARPPacketHolder::~CGratARPPacketHolder() { PVOID buffer; PMDL mdl; if (m_NBL) { mdl = NET_BUFFER_CURRENT_MDL(NET_BUFFER_LIST_FIRST_NB(m_NBL)); buffe...
<commit_before>#include "core_digital.h" #include "Arduino.h" #include "Servo.hpp" /* * bt_hc06 * Take control of the board using JY-MCU/HC06 Bluetooth 2.0 module. * Remote control is operated from Android phone using simple opensource application: * https://play.google.com/store/apps/details?id=com.gundel.bluecon...
<commit_before>#include "app/impl/collider/simple_collider.h" #include <algorithm> #include <iterator> #include "core/types/null.h" #include "core/types/weak_ptr.h" #include "core/util/log.h" #include "graphics/base/rect.h" #include "graphics/base/render_object.h" #include "graphics/base/size.h" #include "graphics/b...
<commit_before>#include "batch.h" #include "../accumulator.h" #include "../sampler.h" #include "../util/logger.h" #include "../util/log_search.hpp" #include "../util/timer.h" #include "../thread/thread.h" #include "../minimize.h" namespace ncv { namespace detail { /// //...
<commit_before>// Copyright 2014 BVLC and contributors. #include <algorithm> #include <cmath> #include <cfloat> #include <vector> #include <string> #include <fstream> #include <iostream> #include <iomanip> #include "caffe/layer.hpp" #include "caffe/vision_layers.hpp" #include "caffe/util/math_functions.hpp" #include ...
<commit_before>/* * Copyright 2002-2010 Guillaume Cottenceau. * * This software may be freely redistributed under the terms * of the X11 license. * */ #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <stdarg.h> #define PNG_DEBUG 3 #include "png.h" void abort_(const char *...
<commit_before>/*ckwg +5 * Copyright 2012 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #include <viscl/core/manager.h> #include <iostream> #include <sstream> names...
<commit_before>#include "bitflags.h" namespace gcpp { constexpr byte bitflags::ALL_TRUE; constexpr byte bitflags::ALL_FALSE; } <commit_msg>Keeping it header-only<commit_after><|endoftext|>
<commit_before>#include <iostream> #include <c++/stdexcept> #include "queue_ui.h" using namespace std; /** * Конструктор. Принимает на вход экземпляр очереди, с которой предстоит производить манипуляции, * и сохраняет его во внутреннее свойство _queue. */ QueueUI::QueueUI(IQueue* queue) { _queue = queue; } /** *...
<commit_before>#ifndef _Hasher_H_ #define _Hasher_H_ #include "HashStrategy.hpp" #include "irods_error.hpp" #include <string> #include <boost/any.hpp> namespace irods { const std::string STRICT_HASH_POLICY( "strict" ); const std::string COMPATIBLE_HASH_POLICY( "compatible" ); class Hasher { public: error init...
<commit_before>#include "Rules/PossibleForwardDeclarationRule.h" #include "Common/Context.h" #include "Common/OutputPrinter.h" #include "Common/SourceLocationHelper.h" #include "Common/TagTypeMatchers.h" #include "Common/TagTypeNameHelper.h" #include <clang/AST/Decl.h> #include <boost/format.hpp> #include <algorith...
<commit_before><commit_msg>Hacky workaround for asymmetric fov issue<commit_after><|endoftext|>
<commit_before>#ifndef ALEPH_GEOMETRY_COVER_TREE_HH__ #define ALEPH_GEOMETRY_COVER_TREE_HH__ #include <iterator> #include <limits> #include <memory> #include <ostream> #include <queue> #include <stdexcept> #include <vector> // FIXME: remove after debugging #include <iostream> #include <cassert> #include <cmath> nam...
<commit_before><commit_msg>Create Fid_Base.cpp<commit_after><|endoftext|>
<commit_before>/* * simple_shell_parser.hpp - Parser designed to make simple shells * * Copyright 2010 Jesús Torres <jmtorres@ull.es> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before> // Copyright (c) 2014-2017 niXman (i dot nixman dog gmail dot com). All // rights reserved. // // This file is part of CONFIG-CTOR(https://github.com/niXman/config-ctor) project. // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://...
<commit_before>/* This file is part of Akregator. Copyright (C) 2004 Sashmit Bhaduri <smt@vfemail.net> 2005 Frank Osterfeld <osterfeld@kde.org> 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 ...
<commit_before>/* The MIT License (MIT) Copyright (c) 2017 Alexey Yegorov 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>//======================================================================= // Copyright (c) 2014-2015 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#include <qrkernel/version.h> #include "gtest/gtest.h" using namespace qReal; TEST(VersionTest, loadFromStringTest) { Version version = Version::fromString("3"); ASSERT_EQ(version, Version(3)); version = Version::fromString("3.14"); ASSERT_EQ(version, Version(3, 14)); version = Version::fromStr...
<commit_before>/* * Copyright (C) 2009-2011, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #include <li...
<commit_before>/* Copyright (c) 2010-2012, 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 ...
<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/test/test_timeouts.h" #include "base/command_line.h" #include "base/logging.h" #include "base/string_number_conversio...
<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 <string> #include "build/build_config.h" #include "chrome/test/ui/ui_test.h" #include "net/base/net_util.h" class GPUTest : ...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2011 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>/* Copyright (c) 2017 Genome Research Ltd. Author: Jouni Siren <jouni.siren@iki.fi> 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...
<commit_before>// Copyright (c) 2016-2019 Daniel Frey and Dr. Colin Hirsch // Please see LICENSE for license or visit https://github.com/taocpp/taopq/ #ifndef TAO_PQ_PARAMETER_TRAITS_HPP #define TAO_PQ_PARAMETER_TRAITS_HPP #include <cmath> #include <optional> #include <string> #include <tuple> #include <type_traits> ...
<commit_before>#include <iostream> #include <string> #include <algorithm> #include <numeric> #include <cstdlib> #include <boost/graph/adjacency_list.hpp> #include <boost/graph/strong_components.hpp> #include <boost/graph/graphviz.hpp> #include <boost/program_options.hpp> #include "datastructs/matrix.h" #include "poly...
<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 "webkit/media/audio_decoder.h" #include <vector> #include "base/basictypes.h" #include "base/string_util.h" #include "base/ti...
<commit_before>#include <cstdio> #include <cstdlib> #include <unistd.h> #include <string> #include <string.h> #include <csignal> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/wait.h> #include <dirent.h> #include <fcntl.h> #include <errno.h> #include <functional> #include <unorder...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <signal.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/wait.h> #include <dirent.h> #include <fcntl.h> #include <errno.h> #include <string> #include <functional> #include <unor...
<commit_before>/************************************************************************* * * $RCSfile: cmdmailsuppl.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2004-10-22 08:14:46 $ * * The Contents of this file are made available subject to the terms of * either of the following l...
<commit_before>#include <map> #include <vector> #include <thread> #include <mutex> #include <chrono> #include <assert.h> #include <string.h> #include <unistd.h> #include <netinet/tcp.h> #include <netdb.h> #include <fcntl.h> #include "crypto/sha2.h" #include "flaggedarrayset.h" #include "relayprocess.h" #include "util...
<commit_before>/* This file is part of the KDE project Copyright (C) 2004 Mark Bucciarelli <mark@hubcapconsulting.com> 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 ve...
<commit_before>/* * Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved. */ #include "db/io/MutatorInputStream.h" using namespace db::io; using namespace db::rt; MutatorInputStream::MutatorInputStream( InputStream* is, MutationAlgorithm* algorithm, bool cleanup) : FilterInputStream(is, cleanup),...
<commit_before>#include <stdio.h> #include <stdlib.h> #include <readline/readline.h> #include <readline/history.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../hubo-ach/hubo.h" // for ach #include <errno.h> #include <fcntl.h> #include <assert.h> #include <unistd.h> #include <pthread.h> #in...
<commit_before>////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2013, Image Engine Design Inc. All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // ...
<commit_before>// // Copyright (C) 2015 Clifford Wolf <clifford@clifford.at> // // Permission to use, copy, modify, and/or distribute this software for any // purpose with or without fee is hereby granted, provided that the above // copyright notice and this permission notice appear in all copies. // // THE SOFTW...
<commit_before>/*************************************************************************** * Copyright (c) Victor Titov (DeepSOIC) * * (vv.titov@gmail.com) 2015 * * ...
<commit_before>/* This file is part of Magnum. Copyright © 2010, 2011, 2012, 2013 Vladimír Vondruš <mosra@centrum.cz> 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 r...
<commit_before>#include "normalvirtualkeyboardscene.h" #include "virtualkeyitem.h" NormalVirtualKeyboardScene::NormalVirtualKeyboardScene(QObject *parent) : VirtualKeyboardScene(parent) { construct(); } void NormalVirtualKeyboardScene::construct() { const int unitWidth = 100; const int unitHeight = 130; int i = 0...
<commit_before>/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2013 Ben Vanik. All rights reserved. ...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2011 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
<commit_before>#include "PunchApplication.h" #include "Vis_Layers.h" int g_argc; char **g_argv; CMusicModule* CPunchApplication::m_pMusicModule = NULL; CLayerManager* CPunchApplication::m_pLayerManager = NULL; CPunchApplication::CPunchApplication() { } CPunchApplication::~CPunchApplication() { } void CPunchAppli...
<commit_before>#include <qheaderview.h> #include <qsplitter.h> #include <QHBoxLayout> #include <kapplication.h> #include <kmainwindow.h> #include <kcmdlineargs.h> #include <kaboutdata.h> #include <kurl.h> #include <ksystemtimezone.h> #include <QLineEdit> #include <akonadi/collection.h> #include <akonadi/collectionview...
<commit_before>/************************************************************************* * * $RCSfile: ScriptSecurityManager.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: dfoster $ $Date: 2003-01-28 17:09:26 $ * * The Contents of this file are made available subject to the terms of * either of t...
<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...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2012 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: http://www.qt-project.org/ ** ** ** GNU Lesser General Public License Usage ** ** This file may be used ...
<commit_before>#include "nuFATE.h" double nuFACE::readDoubleAttribute(hid_t object, std::string name){ double target; hid_t attribute_id = H5Aopen(object,name.c_str(),H5P_DEFAULT); herr_t status = H5Aread(attribute_id, H5T_NATIVE_DOUBLE, &target); if(status<0) thr...
<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 2011 Valery Kharitonov <kharvd@gmail.com> // // Self #include "Post...
<commit_before>#include <errno.h> #include <cstdint> #include "caffe2/core/db.h" #include "glog/logging.h" #include "zmq.h" namespace caffe2 { namespace db { typedef char ZmqCommand; typedef int ZmqMessageSize; const ZmqCommand kQueryMessageSize = 's'; const ZmqCommand kGet = 'g'; class ZmqDBCursor : public Cursor...
<commit_before>//=========================================== // Lumina-DE source code // Copyright (c) 2014, Ken Moore // Available under the 3-clause BSD license // See the LICENSE file for full details //=========================================== #ifdef __DragonFly__ #include "LuminaOS.h" #include <unistd.h> //...
<commit_before>/* * */ // #include <fcntl.h> // #include <linux/types.h> // #include <linux/spi/spidev.h> // #include <sys/ioctl.h> // #include <unistd.h> #include <thread> #include "unix/log.hpp" #include "mcu/constant.h" #include "device.hpp" #include "mcu-decode.hpp" #include "mcu-encode.hpp" #include "serial-...
<commit_before>// MS WARNINGS MACRO #define _SCL_SECURE_NO_WARNINGS // Macro: Program Settings #define ENABLE_NETWORK_IO 0 #include <iostream> #include <deque> #include <boost/noncopyable.hpp> #include "data_type.hpp" #include "pixel_sorter.hpp" #include "ppm_reader.hpp" #include "splitter.hpp" #include "algorithm.h...
<commit_before>/* Copyright 2016 Fixstars 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 http ://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
<commit_before>//===- Dominators.cpp - Dominator Calculation -----------------------------===// // // This file implements simple dominator construction algorithms for finding // forward dominators. Postdominators are available in libanalysis, but are not // included in libvmcore, because it's not needed. Forward dom...
<commit_before>/****************************************************************************** * ____ _ _____ * * / ___| / \ | ___| C++ * * | | / _ \ | |_ Actor ...
<commit_before>#include <thread> #include <condition_variable> #include <mutex> #include <sstream> #include <lcm/lcm-cpp.hpp> #include <ConciseArgs> #include <drc_utils/LcmWrapper.hpp> #include <drc_utils/BotWrapper.hpp> #include <bot_lcmgl_client/lcmgl.h> #include <lcmtypes/drc/map_scans_t.hpp> #include <lcmtypes/...
<commit_before>#include <tiffio.h> #include <FAST/Data/ImagePyramid.hpp> #include <FAST/Data/Image.hpp> #include <FAST/Algorithms/ImagePatch/PatchGenerator.hpp> #include <QFile> #include "TIFFImagePyramidExporter.hpp" namespace fast { void fast::TIFFImagePyramidExporter::loadAttributes() { FileExporter::loadAttr...
<commit_before>/* This file is part of libkcal. Copyright (c) 2004 Cornelius Schumacher <schumacher@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 ve...
<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++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before>#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <kms++.h> namespace py = pybind11; using namespace kms; using namespace std; void init_pykmsbase(py::module &m) { py::class_<Card>(m, "Card") .def(py::init<>()) .def_property_readonly("fd", &Card::fd) .def("get_first_connected...
<commit_before>/**************************************************************************** ** ** The MIT License (MIT) ** ** Copyright (c) 2016 The University of Sheffield (www.sheffield.ac.uk) ** ** Permission is hereby granted, free of charge, to any person obtaining a copy ** of this software and associated docume...
<commit_before>/* * This file is part of accounts-ui * * Copyright (C) 2009-2010 Nokia Corporation. * * Contact: Alberto Mardegan <alberto.mardegan@nokia.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
<commit_before>// Copyright 2015 Matt Heard // http://mattheard.net // matt@mattheard.net // @mattheard #include <opencv2/opencv.hpp> #include <iostream> #include <string> using cv::Mat; Mat buildLookUpTable(const int divideWith) { const int rows = 1; const int cols = 256; const int type = CV_8U; con...
<commit_before><commit_msg>Try another FileLock api for Linux<commit_after><|endoftext|>
<commit_before>#include "SecondLife.h" #include <stdio.h> int main() { //Packet* packet; bool success; SecondLife* client = new SecondLife(); if (client->loadKeywords("keywords.txt") == 0) { printf("Loaded keyword file\n"); } else { printf("Failed to load the keyword file\n"); delete client; ...
<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 <string> #include "chrome/browser/child_process_security_policy.h" #include "chrome/browser/chromeos/login/account_screen.h" ...
<commit_before>#ifndef STAN_SERVICES_SAMPLE_INIT_WINDOWED_ADAPT_HPP #define STAN_SERVICES_SAMPLE_INIT_WINDOWED_ADAPT_HPP #include <stan/interface_callbacks/writer/base_writer.hpp> #include <stan/mcmc/base_mcmc.hpp> #include <stan/services/arguments/categorical_argument.hpp> #include <stan/math/prim/mat/fun/Eigen.hpp> ...
<commit_before>#include <stdint.h> #include "receiver.h" Receiver::Receiver( uint8_t spiClockPin, uint8_t spiDataPin, uint8_t spiSelectPin ) { this->driver.init(spiClockPin, spiDataPin, spiSelectPin); } void Receiver::setFrequency(uint16_t frequency) { uint16_t flO = (frequency - 479) / 2; u...
<commit_before>#include "client.h" #include "duckchat.h" //#include <stdio.h> //#include <sys/socket.h> //#include <string.h> //#include <netinet/in.h> //#include <stdlib.h> #include <iostream> #include <string> #include <vector> #include <sstream> #include <netinet/in.h> //using namespace std; //enum Commands {EXI...
<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 "base/command_line.h" #include "base/message_loop.h" #include "chrome/browser/chromeos/login/account_screen.h" #include "chrom...
<commit_before><commit_msg>fix for multiple faces by sorting faces vector left to right and using vectors for labels/colors (#159)<commit_after><|endoftext|>
<commit_before>//===-- ARMTargetMachine.cpp - Define TargetMachine for ARM ---------------===// // // The LLVM Compiler Infrastructure // // This file was developed by the "Instituto Nokia de Tecnologia" and // is distributed under the University of Illinois Open Source // License. See LICENSE.TXT f...