text
stringlengths
54
60.6k
<commit_before>#include "skp_local_application.h" #include "skpLog.h" #include "gmock/gmock.h" //#include <gperftools/profiler.h> //#include <gperftools/heap-profiler.h> SkpLog *g_log = skp_null; int main(int argc, char *argv[]) { //ProfilerStart(NULL); //HeapProfilerStart(NULL); g_log = new SkpLog("", "...
<commit_before>/** * Copyright 2013 Truphone */ #include "SpyCommand.h" #include <QString> #include <QList> #include <QObject> #include <QSignalSpy> #include "Utils.h" #include "Connection.h" namespace truphone { namespace test { namespace cascades { /*! * \brief The Spy class is a wrapper for the Signal ...
<commit_before>#include <stan/math/prim.hpp> #include <gtest/gtest.h> #include <vector> TEST(MathFunctionsPoissonBinomialLogProbs, check_scalar_y) { using stan::math::poisson_binomial_log_probs; using vec = Eigen::Matrix<double, Eigen::Dynamic, 1>; vec p(3, 1); p << 0.5, 0.2, 0.7; std::vector<double> vals{-...
<commit_before>/* * Copyright (c) 2020 - 2021 Advanced Micro Devices, Inc. All rights reserved. * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitati...
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // File: ProcessVorticity.cpp // // For more information, please see: http://www.nektar.info/ // // The MIT License // // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA), // Department of A...
<commit_before>// Copyright (c) 2006-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 <windows.h> #include <commctrl.h> #include "base/command_line.h" #include "base/event_recorder.h" #include "base/gfx/nati...
<commit_before>// Copyright 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 #include "GLFWOSPRayWindow.h" #include "example_common.h" using namespace ospray; using rkcommon::make_unique; int main(int argc, const char *argv[]) { bool denoiser = ospLoadModule("denoiser") == OSP_NO_ERROR; initia...
<commit_before>/* * This source file is part of ArkGameFrame * For the latest info, see https://github.com/ArkGame * * Copyright (c) 2013-2018 ArkGame 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 o...
<commit_before>// ---------------------------------------------------------------------------- // PSP Player Emulation Suite // Copyright (C) 2006 Ben Vanik (noxa) // Licensed under the LGPL - see License.txt in the project root for details // ------------------------------------------------------------------------...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2013 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2009 Torus Knot Software Ltd Permission is hereby granted, free of charge,...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>#include "choiceview.h" #include <QKeyEvent> #include <QPaintEvent> #include <QPainter> Choice::Choice(const QString &title, const QString &id, const QStringList &params) : _id(id), _title(title), _params(params) { } const QString &Choice::id() const { return _id; } const QString &Choice::title...
<commit_before>// -*- c-basic-offset: 2; related-file-name: "aggwrap.h" -*- /* * @(#)$Id$ * * This file is distributed under the terms in the attached INTEL-LICENSE file. * If you do not find these files, copies can be found by writing to: * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, * Berkeley, ...
<commit_before>#include <cstdlib> #include <cmath> #include <fstream> #include <sstream> #include <iostream> #include <iomanip> #include <string> #include <vector> #include <algorithm> #include <exception> #include <sys/time.h> #include "modules/htmTree.h" #include "modules/kdTree...
<commit_before>#include <cassert> #include <iostream> #include "Workspace/Application/LanguageUtils/streamqstring.h" #include "Workspace/DataExecution/DataObjects/typedobject.h" #include "Workspace/DataExecution/InputOutput/inputscalar.h" #include "Workspace/DataExecution/InputOutput/inputarray.h" #include "Workspace/...
<commit_before>#include <fstream> #include <iostream> #include <math.h> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <opencv2/imgproc/imgproc.hpp> using namespace cv; using namespace std; const double PI = 3.1415926536; const int angle2step = 120; typedef struct angles { float...
<commit_before>#include "tcpserver.h" #include <algorithm> #include <errno.h> #include <sys/types.h> #include <sys/wait.h> #include <signal.h> #include <assert.h> #include <time.h> #include "address.h" #include "sockutil.h" #include "log.h" #include "acceptor.h" #include "connection.h" #include "ioloop.h" #include "s...
<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>#include <asiocurl/easy.hpp> #include <asiocurl/exception.hpp> #include <asiocurl/io_service.hpp> #include <asiocurl/optional.hpp> #include <boost/asio.hpp> #include <curl/curl.h> #include <thread> #include <catch.hpp> namespace { class fixture { protected: boost::asio::io_service ios; ...
<commit_before>#ifndef TOPAZ_GL2_OUTPUT_HPP #define TOPAZ_GL2_OUTPUT_HPP #include "core/window.hpp" #include "gl/api/output.hpp" #include "gl/component.hpp" namespace tz::gl { struct ImageOutputInfo { tz::BasicList<IComponent*> colours; IComponent* depth = nullptr; }; class ImageOutput final : public IOutput ...
<commit_before>#include <node.h> #include <node_buffer.h> #include "gn_encoder.h" #include "gn_playlist.h" #include "gn_playlist_item.h" using namespace v8; GNEncoder::GNEncoder() {}; GNEncoder::~GNEncoder() { groove_encoder_destroy(encoder); }; Persistent<Function> GNEncoder::constructor; template <typename ta...
<commit_before>/* * Copyright (C) 2015 The Android Open Source 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 ...
<commit_before>/* This file is part of KXForms. Copyright (c) 2006 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>#include "twsClient.h" #include "twsUtil.h" #include "debug.h" // from global installed ibtws #include "ibtws/Contract.h" #include "ibtws/Order.h" #include "ibtws/OrderState.h" #include "ibtws/Execution.h" #include "ibtws/TwsSocketClientErrors.h" #include "ibtws/EWrapper.h" #include "ibtws/EPosixClientS...
<commit_before>#include <spdlog/spdlog.h> #include <src/pugixml.hpp> #include <nanogui/layout.h> #include <nanogui/opengl.h> #include "glshadersource.hpp" #include "glshaderobject.hpp" #include "clickablelabel.hpp" #include "directpopup.hpp" #include "sink.hpp" #include "source.hpp" #include "graphnodelink.hpp" #includ...
<commit_before>#include "buffer.hh" #include "assert.hh" #include "editor.hh" #include "selectors.hh" using namespace Kakoune; void test_buffer() { Buffer buffer("test", Buffer::Type::Scratch, "allo ?\nmais que fais la police\n hein ?\n youpi\n"); assert(buffer.line_count() == 4); BufferIterator i = buff...
<commit_before>/* $Id$ */ /* * Copyright (c) 2013 Roland van Rijswijk-Deij * 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 copy...
<commit_before>#include <mysql_priv.h> #include <mysql/plugin.h> #include <groonga.h> #include "ha_groonga.h" grn_ctx *mrn_ctx_sys; const char *mrn_log_name="groonga.log"; static FILE *mrn_log_file = NULL; void mrn_logger_func(int level, const char *time, const char *title, const char *msg, const char *locatio...
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include <config/bitcoin-config.h> #end...
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <string> #include <...
<commit_before>/** * This file is part of the "FnordMetric" project * Copyright (c) 2014 Paul Asmuth, Google Inc. * * FnordMetric is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License v3.0. You should have received a * copy of the GNU General Public Licen...
<commit_before>/* See LICENSE file for copyright and license details. */ #include <QPoint> #include <utility> #include <algorithm> #include <QPainter> #include <QGraphicsSceneMouseEvent> #include <QGraphicsDropShadowEffect> #include <iostream> #include <QMetaProperty> #include <QDebug> #include "scene.hpp" #include "...
<commit_before>/* * Copyright 2007-2017 Content Management AG * All rights reserved. * * author: Max Kellermann <mk@cm4all.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source...
<commit_before>#include <cstring> #include <string> #include <map> #include <set> #include <unistd.h> #include <fcntl.h> #include <sys/socket.h> #include <netinet/in.h> #include "webserver.h" #include "global.h" #include "judge.h" #include "scoreboard.h" using namespace std; struct Request { string line; map<s...
<commit_before>#include <inventory.h> #include <entities.h> #include <ui.h> #define ITEM_COUNT 5 // Total number of items that actually exist extern Player *player; extern GLuint invUI; static const Item item[ITEM_COUNT]= { #include "../config/items.h" }; static GLuint itemtex[ITEM_COUNT]; void itemDraw(Player *p...
<commit_before>/* =========================================================================== Daemon BSD Source Code Copyright (c) 2013-2016, Daemon Developers 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 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>#define BOOST_SPIRIT_NO_PREDEFINED_TERMINALS // #define BOOST_SPIRIT_QI_DEBUG #include <boost/algorithm/string.hpp> #include <boost/foreach.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/xml_parser.hpp> #include <boost/spirit/include/phoenix_function.hpp> #include <boost/spi...
<commit_before>#ifndef OBJECT_BUFFER_HPP #define OBJECT_BUFFER_HPP #include "errors.hpp" template <class T> class object_buffer_t { public: // TODO: this object makes no guarantees that its parent still exists when it is destroyed // is that ok? class destruction_sentinel_t { public: explici...
<commit_before>/* * Copyright (c) 2019, The OpenThread Authors. * 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 * ...
<commit_before>/* * DesktopUtils.cpp * * Copyright (C) 2009-18 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General ...
<commit_before>/* * ServerPAMAuth.cpp * * Copyright (C) 2009-12 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General...
<commit_before>/* * Illarionserver - server for the game Illarion * Copyright 2011 Illarion e.V. * * This file is part of Illarionserver. * * Illarionserver 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 * Softw...
<commit_before>#include <common.h> // ======================================================================== // ===================== Critical Macrodefinitions ======================== // ======================================================================== /* * FOSC = 1MHz is confugured via Flash Fuses C...
<commit_before> /* pbrt source code Copyright(c) 1998-2010 Matt Pharr and Greg Humphreys. This file is part of pbrt. pbrt is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of t...
<commit_before>#include "io.h" #include "multiclass.h" #include "Snap.h" #include <vector> int main() { MNM_Dlink *_link; MNM_Dlink_Multiclass *_link_m; printf("BEGIN multiclass test!\n"); // On ubuntu (PC) std::string folder = "/home/alanpi/Desktop/MAC-POSTS/data/input_files_MckeesRocks_SPC"; // std::string ...
<commit_before>#include <errno.h> #include <stdlib.h> #include <getopt.h> #include <string> #include <boost/asio.hpp> #include <boost/lexical_cast.hpp> #include "logger.h" #include <libwatcher/client.h> #include <libwatcher/labelMessage.h> #include "sendMessageHandler.h" using namespace std; using namespace watcher; ...
<commit_before>// 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 licenses this file // to you under the Apache License, Version 2.0 (the // "Lic...
<commit_before>/*************************************************************** * * Copyright (C) 2009-2011 Red Hat, 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:...
<commit_before>/* * NotebookPlots.cpp * * Copyright (C) 2009-16 by RStudio, Inc. * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General...
<commit_before>/* * (C) 2009 Nikhil Marathe <nsm.nikhil@gmail.com> * Licensed under the GNU General Public License. * See LICENSE for details */ #include <QSettings> #include <QNetworkInterface> #include <QMessageBox> #include "messenger.h" Member member_me("", QHostInfo::localHostName(), QHostAddress(QHostAddres...
<commit_before>#ifndef MUDI_JSON_HPP #define MUDI_JSON_HPP #include <unordered_map> #include <vector> #include <string> #include <utility> // make_pair #include <memory> // share_ptr #include <exception> #define MUDI_NS_BEGIN namespace mundi { #define MUDI_NS_END } #define MUDI_N_NS_BEGIN namespace mundi { nam...
<commit_before>#include "command.hh" #include "globals.hh" #include "eval.hh" #include "eval-inline.hh" #include "names.hh" #include "get-drvs.hh" #include "common-args.hh" #include "json.hh" #include "shared.hh" #include "eval-cache.hh" #include "attr-path.hh" #include <regex> #include <fstream> using namespace nix;...
<commit_before>#include "json_v8_renderer.hpp" // v8 #include <nan.h> // OSRM #include <osrm/json_container.hpp> #include <osrm/libosrm_config.hpp> #include <osrm/osrm.hpp> #include <osrm/route_parameters.hpp> // STL #include <iostream> #include <memory> namespace node_osrm { typedef std::unique_ptr<OSRM> osrm_ptr...
<commit_before>// Copyright (c) 2018 alex v // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "init.h" #include "ntpclient.h" #include "random.h" #include "timedata.h" #include "util.h" #include <sstream> #include <ioman...
<commit_before>/* * jsreader.cpp * glia * * Created by Deniz Kural on 8/1/12. * Copyright 2012 __MyCompanyName__. All rights reserved. * */ #include "jsreader.h" using namespace std; int json_example(vector<sn*> &nlist) { map<string, sn*> node_lookup; //node_lookup["n1"] = *sn; //cout << "Startin...
<commit_before>#pragma once //=====================================================================// /*! @file @brief ルネサス RX ペリフェラル/デバイス選択 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2022 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/...
<commit_before>/*************************************************************************** * common/verbose.cpp * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2009 Andreas Beckmann <beckmann@cs.uni-frankfurt.de> * * Distributed under the Boost Software License, Version 1.0. * (S...
<commit_before>#include "k/context.h" #include "etl/array_count.h" #include "etl/armv7m/mpu.h" #include "etl/armv7m/types.h" #include "common/abi_sizes.h" #include "common/message.h" #include "common/descriptor.h" #include "k/memory.h" #include "k/context_layout.h" #include "k/object_table.h" #include "k/registers.h...
<commit_before><commit_msg>correct reading datum error<commit_after><|endoftext|>
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 beta 4 * * (c) 2006-2009 MGH, INRIA, USTL, UJF, CNRS * * ...
<commit_before>#include "dbreader.h" #define DEBUG if (0) qDebug() << __PRETTY_FUNCTION__ DbReader::DbReader(QObject *parent) : QObject(parent), m_stop(false) { qRegisterMetaType<QList<QSqlRecord> >(); qRegisterMetaType<QSqlDatabase>(); qRegisterMetaType<QSqlQuery>(); qRegisterMetaType<DbReader *>...
<commit_before><commit_msg>Set port for floodechos subrequests<commit_after><|endoftext|>
<commit_before>/******************************************************************************\ * File: process.cpp * Purpose: Implementation of class 'wxExProcess' * Author: Anton van Wezenbeek * RCS-ID: $Id$ * * Copyright (c) 1998-2009 Anton van Wezenbeek * All rights are reserved. Reprod...
<commit_before>/* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2010 Ariya Hidayat <ariya.hidayat@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source...
<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 "ui/views/examples/tree_view_example.h" #include "base/utf_string_conversions.h" #include "ui/views/controls/menu/menu_model_...
<commit_before><commit_msg>修正解析obj纹理坐标的一个BUG<commit_after><|endoftext|>
<commit_before>#include <stdio.h> #ifdef WIN32 #include <winsock2.h> #else #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> #include <netinet/in.h> #include <arpa/inet.h> #endif #include "socket.h" #ifdef WIN32 bool wsaStartupDone = false; #endif ClientSocket::ClientSocket() { ...
<commit_before>//===- Cloning.cpp - Unit tests for the Cloner ----------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before><commit_msg>Blacklist the QPointerBase class.<commit_after><|endoftext|>
<commit_before><commit_msg>Added a place holder test for mobilab signal<commit_after><|endoftext|>
<commit_before><commit_msg>fixed assert<commit_after><|endoftext|>
<commit_before><commit_msg>INTEGRATION: CWS changefileheader (1.5.72); FILE MERGED 2008/04/01 16:02:19 thb 1.5.72.3: #i85898# Stripping all external header guards 2008/04/01 12:58:12 thb 1.5.72.2: #i85898# Stripping all external header guards 2008/03/31 15:30:22 rt 1.5.72.1: #i87441# Change license header to LPGL v3.<c...
<commit_before>#include "QDisplayDataWidget.h" #include "ModifyObject.h" #include "QMonitorTableWidget.h" #ifdef SOFA_QT4 #include <QHBoxLayout> #include <QVBoxLayout> #include <Q3GroupBox> #include <QLabel> #include <QValidator> #else #include <qlayout.h> #include <qlabel.h> #include <qgroupbox.h> #include <qvalidat...
<commit_before>/* Copyright (C) 2012 Lasath Fernando <kde@lasath.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 version 2.1 of the License, or (at your option...
<commit_before>#include "filename/filename-execution-visitor.h" #include <QDateTime> #include <QJSEngine> #include <QJSValue> #include <QSet> #include <QSettings> #include <QSharedPointer> #include <QStringList> #include <QTimeZone> #include <QVariant> #include <algorithm> #include "filename/ast/filename-node-condition...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LG...
<commit_before><commit_msg>Cleaned up implementation<commit_after><|endoftext|>
<commit_before><commit_msg>Rename MRegisterInfo to TargetRegisterInfo.<commit_after><|endoftext|>
<commit_before>/* * Copyright 2008 Free Software Foundation, Inc. * * * This software is distributed under the terms of the GNU Affero Public License. * See the COPYING file in the main directory for details. * * This use of this software may be subject to additional restrictions. * See the LEGAL file in the main direc...
<commit_before>/* * * Copyright 2017 Asylo 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 applicab...
<commit_before>/* auto_encoder_stack.cc -*- C++ -*- Jeremy Barnes, 11 November 2009 Copyright (c) 2009 Jeremy Barnes. All rights reserved. Implementation of a stack of auto-encoders. */ #include "auto_encoder_stack.h" #include "boosting/registry.h" #include "layer_s...
<commit_before><commit_msg>fdo#52204 add more diacritics for Arabic<commit_after><|endoftext|>
<commit_before>/* --------------------------------------------------------------------- * Numenta Platform for Intelligent Computing (NuPIC) * Copyright (C) 2013, Numenta, Inc. Unless you have an agreement * with Numenta, Inc., for a separate license for this software code, the * following terms and conditions app...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: i_nnfinder.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2007-11-02 15:45:59 $ * * The Contents of this file are mad...
<commit_before>/************************************************************************* * * $RCSfile: cross_refs.hxx,v $ * * $Revision: 1.1 $ * * last change: $Author: np $ $Date: 2002-11-01 17:13:40 $ * * The Contents of this file are made available subject to the terms of * either of the following lic...
<commit_before>#include "PageBuilder.h" PageBuilder::PageBuilder(const std::set<PageInfo> &Pages) { pages = Pages; } int PageBuilder::build(const PageInfo &PageToBuild) { pageToBuild = PageToBuild; std::cout << std::endl; //ensures content and template files exist if(!std::ifstream(pageToBuild.c...
<commit_before>/* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * ...
<commit_before>/* * Copyright 2004 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. Al...
<commit_before>#include <osg/LightSource> #include <osgDB/ReadFile> #if defined(_MSC_VER) #pragma warning( disable : 4505 ) #pragma warning( default : 4996 ) #endif #include <fbxsdk.h> #include "fbxReader.h" osgDB::ReaderWriter::ReadResult OsgFbxReader::readFbxLight(FbxNode* pNode, int& nLightCount) { const Fbx...
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file *...
<commit_before>// This file is part of Parsito <http://github.com/ufal/parsito/>. // // Copyright 2015 Institute of Formal and Applied Linguistics, Faculty of // Mathematics and Physics, Charles University in Prague, Czech Republic. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v...
<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. // This file contains the default suppressions for ThreadSanitizer. // You can also pass additional suppressions via TSAN_OPTIONS: // TSAN_...
<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. // This file contains the default suppressions for ThreadSanitizer. // You can also pass additional suppressions via TSAN_OPTIONS: // TSAN_...
<commit_before>#include <algorithm> #include <string> #include <gtest/gtest.h> #include "prefix_function.hpp" namespace gt = testing; namespace pk { namespace testing { struct prefix_function_tester : public gt::Test { static const int MAX_TEXT_SIZE = 100; // tested class: prefix_function<MAX_TEXT_...
<commit_before>#include "tests/Base.hh" #include "topology/MaximalCliques.hh" #include "topology/Simplex.hh" #include "topology/SimplicialComplex.hh" #include <algorithm> #include <vector> using namespace aleph::topology; using namespace aleph; template <class Data, class Vertex> void triangles() { ALEPH_TEST_BE...
<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 Dennis Nienhüser <earthwings@gentoo.org> // #include "OsmDatab...
<commit_before>/* * Moon++ Scripts for Ascent MMORPG Server * Copyright (C) 2005-2007 Ascent Team <http://www.ascentemu.com/> * Copyright (C) 2007-2008 Moon++ Team <http://www.moonplusplus.info/> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Publi...
<commit_before>#include <gtest/gtest.h> #include <stan/optimization/bfgs_linesearch.hpp> #include <stan/math/matrix/Eigen.hpp> TEST(OptimizationBfgsLinesearch, CubicInterp) { using stan::optimization::CubicInterp; static const unsigned int nVals = 5; static const double xVals[5] = { -2.0, -1.0, 0.0, 1.0, 2.0 }; ...