text
stringlengths
54
60.6k
<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/tools/convert_dict/dic_reader.h" #include <algorithm> #include <set> #include "base/file_util.h" #include "base...
<commit_before>#include "mainClass.h" #include "defs.h" #include "methodsTesterForQrxcAndQrmc.h" #include "methodsTesterForQrxcAndInterpreter.h" #include "methodsCheckerForTravis.h" #include "../../qrgui/pluginManager/interpreterEditorManager.h" #include "../../qrgui/pluginManager/editorManagerInterface.h" #include "....
<commit_before><commit_msg>[util] VectorAccessor to be useful<commit_after>#pragma once #include <vector> namespace nova::renderer { /*! * \brief Allows one to access a thing at a location in a vector, even after the vector has been reallocated * * How this isn't in the standard library, idk *...
<commit_before>#define FOVY 30.0 #define ZNEAR 0.0001 #define ZFAR 10.0 #define FPS_TIME_WINDOW 1 #define MAX_DEPTH 1.0 int g_numPasses = 4; GLuint g_quadDisplayList; float g_opacity = 0.6; unsigned g_numGeoPasses = 0; float g_white[3] = { 1.0, 1.0, 1.0 }; float *g_backgroundColor = g_white; GLSLProgramObject in...
<commit_before>#include "Player.h" #include <SFML/Graphics.hpp> #include <cstdint> #include "../Maths/General_Maths.h" #include "../World/Block/D_Blocks.h" #include "../World/Chunk/Chunk_Map.h" #include "../Util/Debug_Display.h" #include "../Util/Display.h" #include "../Input/Key_Binds.h" Player::Player() : m_p...
<commit_before>#include "testing/testing.hpp" #include "indexer/data_header.hpp" #include "indexer/index.hpp" #include "indexer/classificator_loader.hpp" #include "search/locality_finder.hpp" #include "platform/country_file.hpp" #include "platform/local_country_file.hpp" #include "platform/local_country_file_utils.h...
<commit_before>#include "testing/testing.hpp" #include "indexer/data_header.hpp" #include "indexer/index.hpp" #include "indexer/classificator_loader.hpp" #include "search/categories_cache.hpp" #include "search/locality_finder.hpp" #include "platform/country_file.hpp" #include "platform/local_country_file.hpp" #inclu...
<commit_before>/* * despot1hifi.cpp * * Created by Tobias Wood on 17/10/2011. * Copyright (c) 2011-2013 Tobias Wood. * * Based on code by Sean Deoni * * 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 ...
<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 2006-2007 Torsten Rahn <tackat@kde.org> // Copyright 2007 Inge Walli...
<commit_before>#include <common/buffer.h> #include <common/endian.h> #include <event/action.h> #include <event/callback.h> #include <event/event_system.h> #include <io/channel.h> #include <io/file_descriptor.h> #include <xcodec/xchash.h> #include <xcodec/xcodec.h> #include <xcodec/xcodec_decoder.h> #include <xcodec/...
<commit_before>#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <limits.h> #include "getopt.h" #include "bitio.h" #include "h264.h" #include "md5.h" #ifdef __RENESAS_VERSION__ #include <machine.h> extern "C" { #pragma section FILES #define O_RDONLY 1 #define O_WRONLY 2 #define...
<commit_before>// // test-jit.cc // #include <cstdio> #include <cstdlib> #include <cstring> #include <cassert> #include <cinttypes> #include <csignal> #include <csetjmp> #include <cerrno> #include <cmath> #include <cctype> #include <cwchar> #include <climits> #include <cfloat> #include <cfenv> #include <cstddef> #inc...
<commit_before>#include "application.hpp" #include <boost/log/attributes.hpp> #include <boost/log/core.hpp> #include <boost/log/expressions.hpp> #include <boost/log/support/date_time.hpp> #include <boost/log/trivial.hpp> #include <boost/log/utility/setup/common_attributes.hpp> #include <boost/log/utility/setup/console...
<commit_before>/* * Copyright (c) 2009 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 copyri...
<commit_before>#include "ast_printer.h" void ASTPrinter::append_line_to_output(std::ostringstream &line) { if (tab_level == 0) { node_output << line.str() << '\n'; } else { for (unsigned i = 0; i < tab_level; i++) node_output << '|' << " "; node_output << line.str() << '\n'...
<commit_before>#include "Configuration.h" #include <Groundfloor/Atoms/Defines.h> #define pi1hostname "pi1wifi" #ifdef GF_OS_WIN32 #define pi2hostname "testpc" #else #define pi2hostname "pi2wifi" #endif AudacityRover::Configuration DefaultInstance; AudacityRover::Configuration::Configuration() { CommandServerPor...
<commit_before>#include "Arduino.h" #include "LedManager.h" const uint8_t PROGMEM gammaCorrection[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3...
<commit_before>#include "astutil.h" #include "expr.h" #include "optimizations.h" #include "passes.h" #include "stmt.h" #include "stringutil.h" #include "symbol.h" #include "iterator.h" static void expandIteratorInline(CallExpr* call) { BlockStmt* body; Symbol* index = toSymExpr(call->get(1))->var; Symbol* ic = ...
<commit_before>#include "framework/logger.h" #include "framework/data.h" #include "game/apocresources/pck.h" #include "game/apocresources/apocpalette.h" #include "framework/palette.h" #include "framework/ignorecase.h" #include "library/strings.h" #include "framework/imageloader_interface.h" #include "framework/musiclo...
<commit_before>/* * Copyright (c) 2014, 2017, 2019 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 ...
<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 "net/proxy/proxy_resolver_mac.h" #include <CoreFoundation/CoreFoundation.h> #include <CoreServices/CoreServices.h> #include ...
<commit_before>// Copyright (c) 2017 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 <fstream> #include <boost/ref.hpp> #include <boost/python.hpp> #include <boost/python/make_constructor.hpp> #include <boost/python/raw_function.hpp> #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include <numpy/ndarrayobject.h> #include "picpac.h" #include "picpac-cv.h" using namespace boost...
<commit_before>/********************************************************************************************** * Arduino PID Library - Version 1.1.1 * by Brett Beauregard <br3ttb@gmail.com> brettbeauregard.com * * This Library is licensed under a GPLv3 License * * Modified by Romain Reignier * - use float instea...
<commit_before>// Copyright 2016, Dawid Kurek, <dawikur@gmail.com> #ifndef FIRMWARE_REPORT_POINTER_HPP_ #define FIRMWARE_REPORT_POINTER_HPP_ #include "report_base.hpp" namespace Crow { namespace Reports { union PointerRaw { PointerRaw() : _{0} {} struct { int8_t buttons; int8_t x; int8_t y; i...
<commit_before>// Copyright 2019 Google LLC // // 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 o...
<commit_before>#include "BasicPartitioner.h" #include "Node.h" #include "Camera.h" #include <memory> #include <algorithm> using namespace std; #define MIN_NODES 65536 #define MIN_LIGHTS 16 BasicPartitioner :: BasicPartitioner() { m_Nodes.resize(MIN_NODES); m_Lights.resize(MIN_LIGHTS); } void BasicPartitioner...
<commit_before>/*************************************************************************** Copyright (C) 2007 by Marco Gulino <marco@kmobiletools.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 the Free Softw...
<commit_before>/* * Created on: 19 Apr 2014 * Author: Vladimir Ivan * * Copyright (c) 2016, University Of Edinburgh * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Re...
<commit_before>#include "firestore/src/ios/firestore_ios.h" #include <utility> #include "app/src/include/firebase/future.h" #include "app/src/reference_counted_future_impl.h" #include "auth/src/include/firebase/auth.h" #include "firestore/src/include/firebase/firestore.h" #include "firestore/src/ios/converter_ios.h" ...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2013 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>//----------------------------------- // Copyright Pierric Gimmig 2013-2017 //----------------------------------- #include "TextRenderer.h" #include "App.h" #include "Core.h" #include "GlCanvas.h" #include "GlUtils.h" #include "Params.h" #include "freetype-gl/vertex-buffer.h" #include "shader.h" //---...
<commit_before>// Jubatus: Online machine learning framework for distributed environment // Copyright (C) 2013 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>// 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>// Scintilla source code edit control /** @file ContractionState.cxx ** Manages visibility of lines for folding and wrapping. **/ // Copyright 1998-2007 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <string...
<commit_before>/************************************************************************* * * $RCSfile: bootstrap.hxx,v $ * * $Revision: 1.7 $ * * last change: $Author: fs $ $Date: 2000-12-01 14:08:58 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: writersvc.cxx,v $ * * $Revision: 1.9 $ * * last change: $Author: rt $ $Date: 2005-09-08 04:43:30 $ * * The Contents of this file are made...
<commit_before>#include "cpluginproxy.h" #include "assert/advanced_assert.h" CPluginProxy::CPluginProxy() : _currentPanel(PluginUnknownPanel) { } void CPluginProxy::setToolMenuEntryCreatorImplementation(CPluginProxy::CreateToolMenuEntryImplementationType implementation) { _createToolMenuEntryImplementatio...
<commit_before>#include "curler.h" using namespace AhoViewer::Booru; #include "imagefetcher.h" // Used for looking closer at what libcurl is doing // set it to 1 with CXXFLAGS and prepare to be spammed #ifndef VERBOSE_LIBCURL #define VERBOSE_LIBCURL 0 #endif const char* Curler::UserAgent{ "Mozilla/5.0" }; size_t Cu...
<commit_before>/* systemtray.cpp - Kopete Tray Dock Icon Copyright (c) 2002 by Nick Betcher <nbetcher@kde.org> Copyright (c) 2002-2003 by Martijn Klingens <klingens@kde.org> Copyright (c) 2003-2004 by Olivier Goffart <ogoffart@kde.org> Kopete (c) 2002-2007 by the K...
<commit_before>/**************************************************************************** * * (c) 2009-2020 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org> * * QGroundControl is licensed according to the terms in the file * COPYING.md in the root of the source code directory. * ************************...
<commit_before> #include "net.h" #include "masternodeconfig.h" #include "util.h" #include "ui_interface.h" #include <base58.h> CMasternodeConfig masternodeConfig; void CMasternodeConfig::add(std::string alias, std::string ip, std::string privKey, std::string txHash, std::string outputIndex) { CMasternodeEntry cme...
<commit_before>#include "medButton.h" #include <QtGui> class medButtonPrivate { public: QLabel * icon; }; medButton::medButton( QWidget *parent, QString resourceLocation, QString toolTip ): QWidget(parent), d(new medButtonPrivate) { d->icon = new QLabel(this); d->icon->setPixmap(QPixm...
<commit_before>//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #ifn...
<commit_before>//================================================================================================= // Copyright (C) 2017 Olivier Mallet - All Rights Reserved //================================================================================================= #ifn...
<commit_before>// $Id$ // The libMesh Finite Element Library. // Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson // 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 ...
<commit_before>#ifdef CAN_EMULATOR #include "usbutil.h" #include "canread.h" #include "serialutil.h" #include "log.h" #include <stdlib.h> #define NUMERICAL_SIGNAL_COUNT 11 #define BOOLEAN_SIGNAL_COUNT 5 #define STATE_SIGNAL_COUNT 2 #define EVENT_SIGNAL_COUNT 1 extern SerialDevice SERIAL_DEVICE; extern UsbDevice USB_...
<commit_before>class CfgServerInfoMenu { addAction = 0; // Enable/disable action menu item | use 0 to disable | default: 1 (enabled) // antiHACK = "infiSTAR + BattlEye"; antiHACK = "BattlEye"; hostedBy = "Mgthost1"; ipPort = "189.1.169.221:2342"; openKey = "User7"; // https://community.bistudio.com/wik...
<commit_before>#include <StdAfx.h> #include <UI/ViewPane/ViewPane.h> #include <UI/UIFunctions.h> #include <core/utility/strings.h> #include <core/utility/output.h> namespace viewpane { // Draw our header, if needed. HDWP ViewPane::DeferWindowPos( _In_ HDWP hWinPosInfo, const _In_ int x, const _In_ int y, con...
<commit_before>/* * Copyright (C) 2015-2016 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 app...
<commit_before>// Copyright (c) 2013 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "atom/common/crash_reporter/crash_reporter_win.h" #include <string> #include "base/files/file_util.h" #include "base/logging.h" #include "base/memory/singleto...
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "assert.h" #include "chainparams.h" #include "core.h" #include...
<commit_before>/* Flexisip, a flexible SIP proxy server with media capabilities. Copyright (C) 2010 Belledonne Communications SARL. 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 Software Founda...
<commit_before>// Copyright (c) 2011-2013, Zeex // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // 1. Redistributions of source code must retain the above copyright notice, // this list ...
<commit_before>/* * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2...
<commit_before>//===-- FunctionLoweringInfo.cpp ------------------------------------------===// // // 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 "Jitter_Statement.h" using namespace Jitter; std::string Jitter::ConditionToString(CONDITION condition) { switch(condition) { case CONDITION_LT: return "LT"; break; case CONDITION_LE: return "LE"; break; case CONDITION_GT: return "GT"; break; case CONDITIO...
<commit_before>//===-- InstrProfiling.cpp - Frontend instrumentation based profiling -----===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <cstddef> // NULL #include <stdlib.h> #include <errno.h> #include <string.h> #include <cassert> #include "LnaReaderCircular.hh" LnaReaderCircular::LnaReaderCircular() : m_file(NULL), m_header_size(5), m_buffer_size(0), m_first_index(0), m_frames_read(0), m_log_prob_buffer...
<commit_before>// OptionTabLog.cpp : t@C // #include "stdafx.h" #include "MZ3.h" #include "util.h" #include "OptionTabLog.h" // COptionTabLog _CAO IMPLEMENT_DYNAMIC(COptionTabLog, CPropertyPage) COptionTabLog::COptionTabLog() : CPropertyPage(COptionTabLog::IDD) { } COptionTabLog::~COptionTabLog() { } void COpt...
<commit_before>#pragma once #include <ContinuousArtScroller.h> #include <MeshFactory.h> #include <MeshInterface.h> #include <Texture.h> #include <sstream> #include <MY_ResourceManager.h> ContinuousArtScroller::ContinuousArtScroller(std::string _fileDir, ComponentShaderBase * _shader) : ArtLayer(dynamic_cast<ShaderCo...
<commit_before>#include <iostream> #include <seqan/file.h> #include <seqan/modifier.h> using namespace std; using namespace seqan; struct MyFunctor : public unary_function<char,char> { inline char operator()(char x) const { if (('a' <= x) && (x <= 'z')) return (x + ('A' - 'a')); return x; } }; ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: restricteduiinteraction.cxx,v $ * * $Revision: 1.2 $ * * last change: $Author: rt $ $Date: 2005-09-09 01:34:24 $ * * The Contents of this...
<commit_before>#include <initializer_list> #include <tuple> namespace spatial { class kdtree { public: kdtree(std::initializer_list<double> &list) { } }; } int main() { }<commit_msg>Finished the constructors for the tree and nodes<commit_after>#include "closestpair.hpp" #include "node.hpp" #include <v...
<commit_before>#include "listworker.h" #include "datalayer.h" #include <iostream> #include <string> using namespace std; ListWorker::ListWorker() { data.readScientistsFromDatabase(persons); data.readComputersFromDatabase(com); data.readLinksFromDatabase(link); } void ListWorker::addNewScien...
<commit_before>/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * BP1Base.cpp * * Created on: Feb 7, 2017 * Author: William F Godoy godoywf@ornl.gov */ #include "BP1Base.h" #include "BP1Base.tcc" #include <iostream> #include "adi...
<commit_before>/** * \file * \brief MutexControlBlock class implementation * * \author Copyright (C) 2014-2015 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 no...
<commit_before>#include "MotionActuator.h" #include <math.h> MotionActuator::MotionActuator(std::string n, MovingSceneObject *s, float newDX, float newDY) : object(s), DX(newDX), DY(newDY), condition("both") { this->name = n; } MotionActuator::MotionActuator(std::string n, MovingSceneObject *s, float newAngle, floa...
<commit_before>// // Copyright (C) 2006-2007 SIPez LLC. // Licensed to SIPfoundry under a Contributor Agreement. // // Copyright (C) 2004-2007 SIPfoundry Inc. // Licensed by SIPfoundry under the LGPL license. // // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved. // Licensed to SIPfoundry under a Contrib...
<commit_before>#include "codecvt_specializations.h" #include "codecvt_utf8.h" #include <cxxabi.h> #include <cstring> #include <cassert> #include <algorithm> #include <memory> #include <limits> #include <typeinfo> struct multistring { multistring(const char * _ns, const wchar_t * _ws, const char16_t * _...
<commit_before>/* * Copyright (C) 2008-2010 The QXmpp developers * * Author: * Jeremy Lainé * * Source: * http://code.google.com/p/qxmpp * * This file is a part of QXmpp library. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public ...
<commit_before>#include "metatype_p.h" #include "metatype.h" #include <ostream> #include <mutex> #include <vector> #include <unordered_map> namespace rtti { namespace { #define DEFINE_TYPE_INFO(NAME, TYPEID) \ {CString{#NAME}, sizeof(NAME), MetaType_ID{TYPEID}, MetaType_ID{TYPEID}, type_flags<NAME>::value}, stati...
<commit_before>#include <Arduino.h> #include <EEPROM.h> #include "RF12.h" #include "RadioUtils.h" #include "SerialUtils.h" #include "Time.h" #include <../../common.h> #include <../scenarios.h> int counter = 1; // int msgCounter = 0; int led = HIGH; int nodeID = 0; RadioUtils ru = RadioUtils(); SerialUtils su = Seria...
<commit_before>/* libscratch - Multipurpose objective C++ library. Copyright (c) 2013 - 2016 Angelo Geels <spansjh@gmail.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 res...
<commit_before>/* * Copyright 2008 by Tommi Rantala <tommi.rantala@cs.helsinki.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 limitation the...
<commit_before>#include <QClipboard> #include <QDateTime> #include <QDebug> #include <QFile> #include <QFileDialog> #include <QKeyEvent> #include <QLineEdit> #include <QMessageBox> #include <QPoint> #include <QSettings> #include <QSize> #include <QTextStream> #include <algorithm> #include <stdexcept> #include <typeinf...
<commit_before>// Copyright 2013 Sean McKenna // // 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>#ifndef COBALT_COM_ERROR_HPP_INCLUDED #define COBALT_COM_ERROR_HPP_INCLUDED #pragma once #include <system_error> #include <cstdio> // Functions in this file: // get_last_error // set_last_error namespace cobalt { namespace com { enum class errc { success = 0, failure, no_such_interface, ...
<commit_before>//======================================================================= // Copyright (c) 2014-2017 Baptiste Wicht // Distributed under the terms of the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //===================================================...
<commit_before>#ifndef IZENELIB_IR_ZAMBEZI_UTILS_HPP #define IZENELIB_IR_ZAMBEZI_UTILS_HPP #include "Consts.hpp" #include <cmath> #include <cstdlib> NS_IZENELIB_IR_BEGIN namespace Zambezi { // Operators defined based on whether or not the postings are backwards #define LESS_THAN(X,Y,R) (R == 0 ? (X < Y) : (X > Y)...
<commit_before>/* Copyright (c) 2003, 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>/***************************************************************************** * * 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>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Guido Tack <guido.tack@monash.edu> */ /* 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>/* * xtensor-fftw * * Copyright 2017 Patrick Bos * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
<commit_before>/************************************************************************* * * 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>#include <errno.h> #include <string> #include <map> #include "rgw_access.h" #include "rgw_acl.h" #include "include/types.h" #include "rgw_user.h" using namespace std; static string ui_bucket = USER_INFO_BUCKET_NAME; static string ui_email_bucket = USER_INFO_EMAIL_BUCKET_NAME; static string ui_openst...
<commit_before>/* * Logging infrastructure that aims to support multi-threading, * and ansi colors. */ #include "rust_internal.h" #include "util/array_list.h" #include <stdarg.h> #include <stdlib.h> #include <string.h> static const char * _foreground_colors[] = { "[37m", ...
<commit_before>/* Copyright (c) 2012, STANISLAW ADASZEWSKI 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>#include "db.h" #include "walletdb.h" #include "net.h" #include "init.h" #include "util.h" #include "scanbalance.h" #include <boost/filesystem.hpp> #include <boost/filesystem/fstream.hpp> #include <boost/filesystem/convenience.hpp> #include <boost/interprocess/sync/file_lock.hpp> #ifndef WIN32 #include...
<commit_before>/* * Copyright 2017 deepstreamHub GmbH * * 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>/*=================================================================== 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 (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2016-2019 The PIVX developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "script/sign.h"...
<commit_before>/* * Recognizer.cc * * Copyright (C) 2015 Linas Vepstas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License v3 as * published by the Free Software Foundation and including the * exceptions * at http://opencog.org/...
<commit_before>#include "CONTROL_S.H" #include "SPECIFIC.H" void DrawBinoculars() { S_Warn("[DrawBinoculars] - Unimplemented!\n"); }<commit_msg>[Specific-PSXPC_N] Implement GetChange.<commit_after>#include "CONTROL_S.H" #include "DRAW.H" #include "SPECIFIC.H" void DrawBinoculars() { S_Warn("[DrawBinoculars] - Uni...
<commit_before>/* Copyright (c) 2014 Quanta Research Cambridge, Inc * * 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 us...
<commit_before>/* * Copyright (c) 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 copyri...
<commit_before>// // Copyright (c) 2011 Kim Walisch, <kim.walisch@gmail.com>. // All rights reserved. // // This file is part of primesieve. // Visit: http://primesieve.googlecode.com // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
<commit_before>// Copyright (c) 2007-2008 Facebook // // 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>#include <QtGui> #include <QtSql/QSqlDatabase> #include <QtSql/QSqlQuery> #include <QtSql/QSqlError> #include <QtSvg/QSvgGenerator> #include <QMessageBox> #include <QTcpSocket> #include "mainwindow.h" #include "qsqlconnectiondialog.h" #include "propertyeditorproxymodel.h" #include "realrepomodel.h" #i...
<commit_before>//--------------------------------------------------------- // Copyright 2017 Ontario Institute for Cancer Research // Written by Jared Simpson (jared.simpson@oicr.on.ca) // // nanopolish index - build an index from FASTA/FASTQ file // and the associated signal-level data // //---------------------------...