text
stringlengths
54
60.6k
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/cache/p9_hcd_l2_stopclocks....
<commit_before>/* This file is part of VROOM. Copyright (c) 2015-2017, Julien Coupey. All rights reserved (see LICENSE). */ #include "tsp.h" #include "../../structures/vroom/input/input.h" <<<<<<< HEAD tsp::tsp(const input& input, index_t vehicle_rank): vrp(input), _vehicle_rank(vehicle_rank), _matr...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/ddr4/zqcal....
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/pm/p9_pm_recovery_ffdc_occ....
<commit_before><commit_msg>Replace gmock's EXPECT_THAT by an explicit check when comparing proxy config in PrefProxyConfigServiceTest.Fallback. This should avoid having gtest print the objects, which results in uninitialized memory accesses.<commit_after><|endoftext|>
<commit_before>#include <string> #include <vector> #include "lms/argumenthandler.h" #include "lms/extra/os.h" #include "lms/extra/string.h" #include "tclap/CmdLine.h" namespace lms { bool runLevelByName(const std::string &str, RunLevel &runLevel) { if (str == "CONFIG" || str == "0") { runLevel = RunLeve...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (info@qt.nokia.com) ** ** GNU Lesser General Public License Usage ** ** This file may ...
<commit_before>/*************************************************************************/ /* multi_node_edit.cpp */ /*************************************************************************/ /* This file is part of: */ /...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>#include <plasp/Language.h> #include <boost/assign.hpp> #include <boost/bimap.hpp> namespace plasp { //////////////////////////////////////////////////////////////////////////////////////////////////// // // Language // //////////////////////////////////////////////////////////////////////////////////...
<commit_before>///////////////////////////////////////////////////////////// // // chemical equilibrium // // $Author$ // $Revision$ // $Date$ // // copyright California Institute of Technology 2002 // ///////////////////////////////////////////////////////////// // turn off warnings under Windows #ifdef WIN32 #p...
<commit_before> #if defined(DISC_UNION_TEST_MAIN) #include <stdio.h> #include <stdlib.h> #include "disc_union.h" #include "vector.h" #include "strings.h" struct MyClass{ char name[16]; int i; float f; Vector<int> it; }; struct MyOtherClass{ void* data; int g; float h; short header[6]; }; // Define a mac...
<commit_before>/* * Copyright (C) 2015 Cloudius Systems, Ltd. */ #pragma once #include "bytes.hh" #include "timestamp.hh" #include "tombstone.hh" #include "gc_clock.hh" #include "utils/managed_bytes.hh" #include "net/byteorder.hh" #include <cstdint> #include <iostream> template<typename T> static inline void set_f...
<commit_before>/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010-2011, Willow Garage, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
<commit_before>/// @file wlog_tools.cpp /// @brief Well Logs manipulation algorithms /// @author uentity /// @version 1.0 /// @date 27.02.2014 /// @copyright This source code is released under the terms of /// the BSD License. See LICENSE for more details. #ifndef WLOG_TOOLS_TMEEHO84 #define WLOG_TOOLS_TMEE...
<commit_before>#include "clay.hpp" // // callableOverloads // const vector<OverloadPtr> &callableOverloads(ObjectPtr x) { switch (x->objKind) { case TYPE : { Type *y = (Type *)x.ptr(); return y->overloads; } case RECORD : { Record *y = (Record *)x.ptr(); return y->ov...
<commit_before>// // Copyright (c) 2015 CNRS // // This file is part of Pinocchio // Pinocchio 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 License, or (at your option) a...
<commit_before>#include "factory.h" #include "except.h" #ifdef USE_OPENCV #include "opencv_video_source.h" #include "opencv_video_target.h" #endif // USE_OPENCV #ifdef USE_I420 #ifdef USE_EPIPHANSDK #include "epiphansdk_video_source.h" #endif #endif #ifdef USE_FFMPEG #include "ffmpeg_video_target.h" #endif #include <bo...
<commit_before>// @(#)root/tree:$Id$ // Author: Rene Brun 07/04/2001 /************************************************************************* * Copyright (C) 1995-2001, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/******************************************************************************\ * File: appl.cpp * Purpose: Implementation of classes for syncodbcquery * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 2008-2009, Anton van Wezenbeek * All rights are reserved. Re...
<commit_before>/******************************************************************************\ * File: appl.cpp * Purpose: Implementation of classes for syncodbcquery * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 2008-2009, Anton van Wezenbeek * All rights are reserved. Re...
<commit_before>/* -*- mode: c++; c-default-style: "google"; indent-tabs-mode: nil -*- */ /* ------------------------------------------------------------------------- ATS License: see $ATS_DIR/COPYRIGHT Author: Markus Berndt Interface for the Volumetric Deformation PK. <ParameterList name="volumetric ...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of Qt Creator. ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses...
<commit_before>/* * Copyright (C) 2006, 2007 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, thi...
<commit_before><commit_msg>GTK test shell valgrind, try 3. Null out the main window before initiating shutdown.<commit_after><|endoftext|>
<commit_before>/************************************************************************** ** ** This file is part of QMime ** ** Based on Qt Creator source code ** ** Qt Creator Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). ** ** ** GNU Lesser General Public License Usage ** ** This file may be use...
<commit_before>#include "aboutdialog.h" #include "ui_aboutdialog.h" #include "clientmodel.h" #include "clientversion.h" AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent), ui(new Ui::AboutDialog) { ui->setupUi(this); // Set current copyright year ui->copyrightLabel->setText(tr("Copyright...
<commit_before>// Copyright (c) 2011-2017 The Bitcoin developers // Copyright (c) 2015-2021 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "qt/rpcexecutor.h" #include "rpc/client.h" #ifdef ENA...
<commit_before>#ifdef HAVE_CONFIG_H #include "../../config.h" #endif #include "xplugin.h" #include "ltr_gui_prefs.h" #include "utils.h" #include <QMessageBox> #include <QFile> #include <QFileInfo> #include <QFileDialog> #include <QRegExp> static QMessageBox::StandardButton warningMessage(const QString &message) { l...
<commit_before>#include <stan/math/rev.hpp> #include <gtest/gtest.h> #include <stan/math/rev/functor/gradient.hpp> #include <iostream> #include <sstream> #include <vector> #include <stdexcept> #define TEST_CVODES_ADAMS 1 #define TEST_CVODES_BDF 2 using std::cos; using std::sin; double y1(double t, double omega, doub...
<commit_before>/* * perf-timer.cpp */ #if USE_PERF_TIMER #include "perf-timer.hpp" #include <cassert> #include <stdexcept> #include <string> #include <vector> #include <iostream> #include <cstdlib> #include <linux/perf_event.h> #include <sched.h> extern "C" { #include "pmu-tools/jevents/jevents.h" #include "pmu-...
<commit_before>/*! * This file is part of CameraPlus. * * Copyright (C) 2012-2014 Mohammed Sameer <msameer@foolab.org> * * 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 * v...
<commit_before>/*! @file @copyright Edouard Alligand and Joel Falcou 2015-2017 (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_BRIGAND_FUNCTIONS_ARITHMETIC_MIN_HPP #define BOOST_BRIGAND_FUNCTIONS_ARITHMETIC_MIN_HPP #include <brigand/types/integral_constant.hpp> namespac...
<commit_before>/* * Copyright (C) 2013 midnightBITS * * 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, * mod...
<commit_before>/* This file is part of libkdepim. Copyright (c) 2004 Tobias Koenig <tokoe@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 version 2 of...
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at // the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights // reserved. See file COPYRIGHT for details. // // This file is part of the MFEM library. For more information and source code // availability see http...
<commit_before>/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2015-2019 Baldur Karlsson * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software")...
<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/gpu_process_host.h" #include "app/app_switches.h" #include "base/command_line.h" #include "base/thread.h" #in...
<commit_before>#include <BALL/PLUGIN/pluginManager.h> #include <BALL/PLUGIN/BALLPlugin.h> #include <BALL/PLUGIN/pluginHandler.h> #include <QtCore/QPluginLoader> #include <QtCore/QDir> #include <QtCore/QReadLocker> #include <QtCore/QWriteLocker> #include <BALL/COMMON/logStream.h> #if defined(BALL_OS_WINDOWS) # define ...
<commit_before>// $Id: ShiftModel_test.C,v 1.4 2000/09/22 11:21:20 amoll Exp $ #include <BALL/CONCEPT/classTest.h> /////////////////////////// #include <BALL/NMR/shiftModel.h> /////////////////////////// START_TEST(ShiftModel, "$Id: ShiftModel_test.C,v 1.4 2000/09/22 11:21:20 amoll Exp $") ////////////////////////...
<commit_before>//===--------------------- LLDBAssert.cpp ------------------------*- C++-*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===------------...
<commit_before>// Copyright 2014 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 <stdint.h> #include <windows.h> #include <algorithm> #include <vector> #include "base/base_paths.h" #include "base/basictypes.h"...
<commit_before>#include "raptor_api.h" #include "type/pb_converter.h" #include "boost/date_time/posix_time/posix_time.hpp" namespace navitia { namespace routing { namespace raptor { std::string iso_string(const nt::Data & d, int date, int hour){ boost::posix_time::ptime date_time(d.meta.production_date.begin() + b...
<commit_before>#pragma once namespace { namespace bitnodeNS { template <typename A> class bitnode final { template<typename B> using conref = const B &; using byte = unsigned char; using bit = bool; template <typename B> static inline void killPtr(B* &a) noexcept { if (a != nullptr) { ...
<commit_before>#include <cstdlib> #include <iostream> #include <cmath> #include <tuple> #include <mpl/mpl.hpp> typedef std::tuple<double, double> double_2; template<std::size_t dim, typename T, typename A> void update_overlap(const mpl::cart_communicator &C, mpl::distributed_grid<dim, T, A> &G, int tag=0) { ...
<commit_before>/* * * Copyright 2015-2016 gRPC authors. * * 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>#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::unordered_map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8523e28fde6eed4eb749a84e28c9c7b56870c9cc" ) }, { 172718, bts::blockchain::...
<commit_before>#pragma once #include <bts/blockchain/types.hpp> namespace bts { namespace blockchain { static std::map<uint32_t, bts::blockchain::block_id_type> CHECKPOINT_BLOCKS { { 1, bts::blockchain::block_id_type( "8523e28fde6eed4eb749a84e28c9c7b56870c9cc" ) }, { 25001, bts::blockchain::block_id_t...
<commit_before>#include <memory> #include <type_traits> #include <gtest/gtest.h> #include <entt/core/hashed_string.hpp> #include <entt/meta/meta.hpp> #include <entt/meta/pointer.hpp> #include <entt/meta/resolve.hpp> template<typename Type> struct wrapped_shared_ptr { wrapped_shared_ptr(Type init): ptr{new Type {in...
<commit_before>/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF lice...
<commit_before>//===- SparcV9PreSelection.cpp - Specialize LLVM code for SparcV9 ---------===// // // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. // ...
<commit_before>/* Copyright 2022 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>/* * qlibxmlnodemodel - A QAbstractXmlNodeModel that uses libxml2 library * Copyright (C) 2012 Alexey Torkhov * Copyright (C) 2011 Jonas Gehring * Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * * Based on qhtmlnodemodel by Jonas Gehring and QT examples ...
<commit_before>// Copyright 2014 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/enhanced_bookmarks/android/enhanced_bookmarks_bridge.h" #include "base/android/jni_array.h" #include "base/androi...
<commit_before>#include "optionsdialog.h" #include "optionsmodel.h" #include "bitcoinamountfield.h" #include "monitoreddatamapper.h" #include "guiutil.h" #include "bitcoinunits.h" #include "qvaluecombobox.h" #include <QHBoxLayout> #include <QVBoxLayout> #include <QPushButton> #include <QListWidget> #include <QStackedW...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>#include <osg/Camera> #include <osg/Texture2D> #include <osgDB/ReadFile> #include <osgGA/TrackballManipulator> #include <osgViewer/Viewer> class FindTextureVisitor : public osg::NodeVisitor { public: FindTextureVisitor(osg::Texture* tex) : texture_(tex) { setTraversalMode(osg::No...
<commit_before>#include <ctrcommon/input.hpp> #include <ctrcommon/platform.hpp> #include <ctrcommon/ui.hpp> #include <stdio.h> #include <sstream> #include <iomanip> #include <sys/dirent.h> #include <3ds.h> #include <ctrcommon/app.hpp> typedef enum { INSTALL_CIA, DELETE_CIA, DELETE_TITLE,...
<commit_before>// Copyright 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/renderer/compositor_bindings/web_external_texture_layer_impl.h" #include "cc/layers/texture_layer.h" #include "cc/resourc...
<commit_before>//----------------------------------------------------------------------------- // Copyright (c) 2015, Jeff Hutchinson // 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><commit_msg>include config.h first otherwise bad things happen<commit_after><|endoftext|>
<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 "webkit/glue/webcursor.h" #include <gdk/gdk.h> #include <gtk/gtk.h> #include "base/logging.h" #include "third_party/WebKit/W...
<commit_before>// Copyright (c) 2016, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of hpp-core. // hpp-core 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...
<commit_before>/* * This file is part of the IAN project - https://github.com/Meoo/IAN * * 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/. */ // Generated file #prag...
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "proto_rpc_adapter.h" #include "searchapi.h" #include "docsumapi.h" #include "monitorapi.h" #include <vespa/fnet/frt/rpcrequest.h> #include <vespa/fnet/frt/supervisor.h> #include <vespa/vesp...
<commit_before>#include <algorithm> #include <iostream> #include <stdexcept> #include <chrono> #include "config.hpp" #include "requestHandler.hpp" #include "response.hpp" #include "torrent.hpp" #include "utility.hpp" #include "mysql.hpp" TorrentMap RequestHandler::torMap; UserMap RequestHandler::usrMap; Database* Requ...
<commit_before>// Copyright 2020 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 or...
<commit_before><commit_msg>`Species::render`: render only if `this->should_be_rendered`.<commit_after><|endoftext|>
<commit_before>#include <iostream> #include "Block.hpp" #include "Matrix4x4.hpp" #include "Matrix3x3.hpp" #include "vec.hpp" #include "PhongMaterial.hpp" using namespace rffalcon; // _element_indices are in the order of 3 sides: xmin, ymin, ymax GLuint Block::_element_indices[12] = { 1, 0, 7, 6, 0, 2, 6, 4, 1, 7, 3,...
<commit_before>/* * This file is part of the statismo library. * * Author: Marcel Luethi (marcel.luethi@unibas.ch) * * Copyright (c) 2011 University of Basel * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following c...
<commit_before>#include <limits> #include <stdexcept> //test #include <iostream> using namespace std; #include <fstream> #include <stdlib.h> #include "visual.h" #include "bvh_node.h" BVHNode::BVHNode() { this->left = NULL; this->right = NULL; } BVHNode::~BVHNode() { // TODO } void BVHNode::insert(Mesh const& ...
<commit_before>#include <limits> #include <stdexcept> #include <iostream> #include <fstream> #include <stdlib.h> #include "visual.h" #include "bvh_node.h" using namespace std; BVHNode::BVHNode() { this->left = NULL; this->right = NULL; } BVHNode::~BVHNode() { // TODO } void BVHNode::insert(Mesh const& mesh,...
<commit_before>/************************************************************************ Module: otherArrays.cxx Language: C++ Date: $Date$ Version: $Revision$ ************************************************************************/ // All tests need: // the following include // a Selector pro...
<commit_before>/// \file stream.cpp /// Utilities for handling streams. #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> #include "json.h" #include "stream.h" #include "procs.h" #include "config.h" #include "socket.h" #include "defines.h" std::string Util::getTmpFolder(){ std::st...
<commit_before>/***************************************************************************** * cmd_quit.cpp ***************************************************************************** * Copyright (C) 2003 the VideoLAN team * $Id$ * * Authors: Cyril Deguet <asmax@via.ecp.fr> * Olivier Teulière <ip...
<commit_before>/******************************************************************************\ * ___ __ * * /\_ \ __/\ \ * * \//\ \ /\_\ \ \____ ___ _____ _____ __ ...
<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, Doug Scott, and Dave Topper. Reworked for v2.3 by John Gibson. */ #i...
<commit_before>/** * Copyright 2016 Pivotal Software, 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 r...
<commit_before>/****************************************************************************** * Copyright 2017 The Apollo 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 ...
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2017. All rights reserved */ #include "../../../StroikaPreComp.h" #include "../../../Characters/FloatConversion.h" #include "../../../Characters/Format.h" #include "../../../Characters/String2Int.h" #include "../../../Characters/StringBuilder.h" #include...
<commit_before>/* * Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ob...
<commit_before>#include <node.h> #include <node_object_wrap.h> extern "C" { #include <unicode/usprep.h> #include <string.h> } #include <exception> using namespace v8; using namespace node; /*** Utility ***/ static Handle<Value> throwTypeError(const char *msg) { return ThrowException(Exception::TypeError(String::Ne...
<commit_before>// Scintilla source code edit control /** @file CallTip.cxx ** Code for displaying call tips. **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #includ...
<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 "Interval.h" #include "WTF/CurrentTime.h" namespace WebCore { const char* kIntervalExtensionName = "v8/Interval"; clas...
<commit_before>#include <b9.hpp> #include <b9/loader.hpp> #include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> /// B9run's usage string. Printed when run with -help. static const char* usage = "Usage: b9run [<option>...] [--] <module> [<main>]\n" " Or: b9run -help\n" "Options:\n" ...
<commit_before>// 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 writing, software // ...
<commit_before>#include "astutil.h" #include "expr.h" #include "passes.h" #include "stmt.h" #include "symbol.h" #include "type.h" #include "symscope.h" #include "stringutil.h" static void check_redefinition(Symbol* sym) { if (sym->isCompilerTemp) return; if (sym->parentScope == rootScope) return; if (sy...
<commit_before>#ifndef AFFINE_INVARIANT_FEATURES_FEATURE_PARAMETERS #define AFFINE_INVARIANT_FEATURES_FEATURE_PARAMETERS #include <string> #include <affine_invariant_features/cv_serializable.hpp> #include <opencv2/core.hpp> #include <opencv2/features2d.hpp> #include <opencv2/xfeatures2d.hpp> namespace affine_invari...
<commit_before>// Copyright (c) 2016 Pierre Fourgeaud // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "./core/fileaccess.h" #include <logger.h> namespace CodeHero { FileAccess::FileAccess() {} FileAccess::~FileAccess() { Close(); } Error FileAccess::...
<commit_before>/************************************************************************** * @licence app begin@ * * SPDX-License-Identifier: MPL-2.0 * * \brief Test program for GNSS+SNS logging * * * \author Helmut Schmidt <https://github.com/huirad> * * \copyright Copyright (C) 2015, Helmut Schmidt * * \license * Thi...
<commit_before>// Copyright (c) 2003 Daniel Wallin and Arvid Norberg // 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...
<commit_before>/* * Copyright (C) 2015 by Glenn Hickey (hickey@soe.ucsc.edu) * * Released under the MIT license, see LICENSE.txt */ #include "sgsql.h" using namespace std; using namespace hal; SGSQL::SGSQL() : _sgBuilder(0), _sg(0) { } SGSQL::~SGSQL() { } void SGSQL::writeDb(const SGBuilder* sgBuilder, const st...
<commit_before>#ifndef MIDDLEWARE_PARSLEY_HPP #define MIDDLEWARE_PARSLEY_HPP #include "json.hpp" #include "middleware.hpp" /** * @brief A vegan way to parse JSON Content in a response * @details TBC.. * */ class Parsley : public server::Middleware { public: virtual void process( server::Request_ptr req, ...
<commit_before>#ifndef BFC_SOURCELOC_HPP #define BFC_SOURCELOC_HPP #include <cstddef> #include <memory> #include <ostream> #include <string> namespace bfc { struct source_pos { off_t off; unsigned long row; unsigned long col; }; static std::ostream & operator<<(std::ostream &out, source_pos pos) { return ou...
<commit_before>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless requir...
<commit_before>/*********************************************************************** created: Wed May 21 2014 author: Timotei Dolean <timotei21@gmail.com> *************************************************************************/ /***********************************************************************...
<commit_before>/*********************************************************************** filename: CEGUISpinner.cpp created: 3/2/2005 author: Paul D Turner *************************************************************************/ /*************************************************************************** * Cop...
<commit_before>/** @file openssl_utils.cc - Interaction with openssl constructs @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright owners...
<commit_before>/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2012 Scientific Computing and Imaging Institute, University of Utah. License for the specific language governing rights and limitations under Permission is hereby granted, free of charge, to any person obta...
<commit_before>/* * Author: Vladimir Ivan * * Copyright (c) 2017, 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: * * * Redistributions of source code must r...