text
stringlengths
54
60.6k
<commit_before><commit_msg>correct comment<commit_after><|endoftext|>
<commit_before>/* * This file is open source software, licensed to you under the terms * of the Apache License, Version 2.0 (the "License"). See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. You may not use this file except in compliance with the License....
<commit_before>// Copyright 2017 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 "shell/browser/extensions/electron_messaging_delegate.h" #include <memory> #include "base/callback.h" #include "base/logging.h" ...
<commit_before>#include "imagewidget.h" #include "renderers.h" #include <QResizeEvent> #include <QPainter> #include <QTime> ImageWidget::ImageWidget(QWidget *parent) : QWidget(parent), mode(AnglaphFull), zoom(0.0), swapLR(false), panButtons(Qt::LeftButton | Qt::MidButton), mouseTimer(this), hBar(Qt::Horizontal, th...
<commit_before><commit_msg>- Check for the return value of RegQueryValueEx (has to be ERROR_SUCCESS) (the registry was updated at each root.exe startup before)<commit_after><|endoftext|>
<commit_before>#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/user.h> // PAGE_SIZE #include "parseArgs/parseArgs.h" #include "logMsg/logMsg.h" #include "logMsg/traceLevels.h" #include "au/CommandLine.h" // au::CommandLine #inc...
<commit_before>#include <fstream> #include <math.h> #include <uWS/uWS.h> #include <chrono> #include <iostream> #include <thread> #include <vector> #include "Eigen-3.3/Eigen/Core" #include "Eigen-3.3/Eigen/QR" #include "json.hpp" using namespace std; // for convenience using json = nlohmann::json; // For converting b...
<commit_before>//======================================================================= // Copyright Baptiste Wicht 2011. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //======================================...
<commit_before>/// \file /// \ingroup tutorial_roofit /// \notebook -nodraw /// /// Extended maximum likelihood fit with alternate range definition /// for observed number of events. /// If multiple ranges are used, or only a part of the data is fitted, /// it is advisable to use a RooAddPdf to extend the model. Se...
<commit_before>// This file is part of OpenMVG, an Open Multiple View Geometry C++ library. // Copyright (c) 2016 cDc <cdc.seacave@gmail.com>, Pierre MOULON // 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 ob...
<commit_before>// Copyright 2019 The Pigweed 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applica...
<commit_before>/* * Copyright (C) 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, this list...
<commit_before>/* * #%L * Bio-Formats plugin for the Insight Toolkit. * %% * Copyright (C) 2010 - 2012 Insight Software Consortium, and Open Microscopy * Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * Redistribution and...
<commit_before>/* * Copyright (C) 2016 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>////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2007-2016 musikcube team // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: //...
<commit_before>/* cbr * ObjectHostConnectionManager.cpp * * Copyright (c) 2009, Ewen Cheslack-Postava * 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 sour...
<commit_before>#include <limits> #include "Tools/Display/bash_tools.h" #include "Tools/Math/utils.h" #include "Decoder_LDPC_BP_flooding.hpp" // constexpr int C_to_V_max = 15; // saturation value for the LLRs/extrinsics template <typename B, typename R> Decoder_LDPC_BP_flooding<B,R> ::Decoder_LDPC_BP_flooding(const ...
<commit_before>//===-- DWARFASTParserSwift.cpp ---------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>/* ============================================================================== This file was auto-generated! ============================================================================== */ #include "MainComponent.h" //==========================================================...
<commit_before>#ifndef __STAN__GM__ARGUMENTS__ARGUMENT__PARSER__HPP__ #define __STAN__GM__ARGUMENTS__ARGUMENT__PARSER__HPP__ #include <string> #include <vector> #include <fstream> #include <stan/gm/arguments/argument.hpp> #include <stan/gm/arguments/arg_method.hpp> namespace stan { namespace gm { class...
<commit_before>/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "SimplifyCFG.h" #include "ControlFlow.h" #include "DexClass.h" #include "IRCode.h" #include "Walkers.h" ...
<commit_before>/* The Next Great Finite Element Library. */ /* Copyright (C) 2003 Benjamin S. Kirk */ /* 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 o...
<commit_before>#include <cstdio> #include <iostream> #include <fcntl.h> #include <sys/stat.h> #include "server.h" #define FTP_SERVER "IGBT.local:2121" static const char* s_http_port = "8000"; static struct mg_serve_http_opts s_http_server_opts; static void ev_handler(struct mg_connection* nc, int ev, void* ev_dat...
<commit_before>#include "remote_access.h" #include "parameters.h" #include "slab_allocator.h" #include "disk_read_thread.h" #include "file_mapper.h" const int NUM_PROCESS_COMPLETED_REQS = 8; /** * The maximal number of pending IOs is decided by the maximal pending IOs * allowed on each I/O thread divided by the num...
<commit_before>/* Stress test for the sequence journal that randomly modifies a string and compares against modifications of the string. */ #undef SEQAN_ENABLE_DEBUG #define SEQAN_ENABLE_DEBUG 1 #include <cstdlib> #include <sstream> #include <string> #include <seqan/basic.h> #include <seqan/file.h> #include <seqa...
<commit_before>//===- MustExecute.cpp - Printer for isGuaranteedToExecute ----------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in // the main distribution directory for license terms and copyright or visit // https://github.com/actor-framework/actor-framework/blob/master/LICENSE. #pragma once // this header must be generated by the build system (may be ...
<commit_before>// Standard includes #include <iostream> #include <cstdlib> #include <unistd.h> #include <cmath> #include <string.h> #include <inttypes.h> #include <fstream> #include <sys/time.h> // Serial includes #include <stdio.h> /* Standard input/output definitions */ #include <string.h> /* String function defi...
<commit_before>//== RegionStore.cpp - Field-sensitive store model --------------*- C++ -*--==// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>#include <xcb/xcb.h> #include <string> #include <xgl.h> typedef HWND (*xcbConnectType)(); typedef void (*xcbCreateWindowType)(uint16_t width, uint16_t height); typedef void (*xcbDestroyWindowType)(); typedef int (*xcbGetMessageType)(MSG * msg); typedef BOOL (*xcbPeekMessageType)(MSG * msg); struct xc...
<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. */ /// \file ur...
<commit_before> // Copyright (c) 2015 Pierre MOULON. // 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/. #include "image_describer.hpp" #include "openMVG/features/imag...
<commit_before>/* * Copyright (C) 2009-2010, 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. */ /// \file li...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>/* * server.cpp * * Created on: Mar 29, 2017 * Author: patrick */ #include "Server.h" using namespace std; const string DIR_NAME = "server"; const string FILE_NAME = "test.txt"; Server::Server() { } void Server::connect(string* response) { *response = "ACK"; is_connected = true; return; } ...
<commit_before>#include "ANIMITEM.H" #include <LIBGTE.H> #include "GTEREG.H" void mmPushMatrix(int* fp)//81C0C(<) { mLoadMatrix((int*)fp[20]); } void mLoadMatrix(int* a0) { } void stash_the_info(int meshp/*a0*/, int* fp)//81750 { int* at; at = (int*)fp[17]; ((int*)at)[0] = meshp; at[1] = R11 | (R12 << 16);...
<commit_before>#include "gtest/gtest.h" #include "paxos/serialization.hpp" TEST(SerializationUnitTest, testDecreeIsSerializableAndDeserializable) { Decree expected(Replica("an_author_1"), 1, "the_decree_contents", DecreeType::UserDecree), actual; std::string string_obj = Serialize(expected); actual = De...
<commit_before>/* * EndEffectorTrajectory.hpp * * Created on: Mar 16, 2016 * Author: Péter Fankhauser * Institute: ETH Zurich, Autonomous Systems Lab */ #pragma once // Free Gait #include "free_gait_core/TypeDefs.hpp" #include "free_gait_core/leg_motion/EndEffectorMotionBase.hpp" // Curves #include <cu...
<commit_before>// Copyright 2018 The Flutter 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 "flutter/shell/platform/android/platform_message_response_android.h" #include "flutter/shell/platform/android/platform_view_androi...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/*========================================================================= Program: ORFEO Toolbox Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) Centre National d'Etudes Spatiales. All rights reserved. See OTBCopyright.txt for details. This software is distr...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: plugcon.hxx,v $ * * $Revision: 1.9 $ * * last change: $Author: obo $ $Date: 2006-01-20 12:58:34 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xsdvalidationhelper.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: vg $ $Date: 2006-03-14 11:35:02 $ * * The Contents of this fil...
<commit_before>#pragma once #include <eosio/chain/transaction.hpp> namespace eosio { namespace chain { struct pending_cycle_state : cycle_trace { set<scope_name> read_scopes; map<scope_name,uint32_t> write_scope_to_shard; /** * @return the shard number this transation goes in o...
<commit_before>/* $Id: middlewareSubscriptionTests.cpp,v 1.1.2.5 2012/12/17 15:46:04 matthewmulhern Exp $ * * OpenMAMA: The open middleware agnostic messaging API * Copyright (C) 2011 NYSE Technologies, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU L...
<commit_before>#include "source/extensions/filters/http/cache/cache_headers_utils.h" #include <array> #include <chrono> #include <string> #include "envoy/http/header_map.h" #include "source/common/http/header_map_impl.h" #include "source/common/http/header_utility.h" #include "source/extensions/filters/http/cache/ca...
<commit_before>// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All right reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: uielementfactorymanager.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: hr $ $Date: 2006-06-19 11:08:13 $ * * The Contents of this...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/usr/isteps/istep14/call_mss_memdiag.C $ ...
<commit_before>/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy...
<commit_before>#ifndef PLUGINS_HPP #define PLUGINS_HPP #include <plugin.hpp> #include <vector> #include <string> #include <kdb> class Plugins { protected: std::vector<Plugin *> plugins; kdb::KeySet ret; std::vector <std::string> alreadyProvided; int nrStoragePlugins; int nrResolverPlugins; public: Plugins ...
<commit_before>/****************************************************************************** * Copyright (c) 2013, Howard Butler (hobu.inc@gmail.com) * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions a...
<commit_before>#include "keytar.h" #include <gnome-keyring.h> namespace keytar { namespace { const GnomeKeyringPasswordSchema kGnomeSchema = { GNOME_KEYRING_ITEM_GENERIC_SECRET, { { "service", GNOME_KEYRING_ATTRIBUTE_TYPE_STRING }, { "account", GNOME_KEYRING_ATTRIBUTE_TYPE_STRING }, { NULL } } }; }...
<commit_before>//== MemRegion.cpp - Abstract memory regions for static analysis --*- C++ -*--// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* cis_splice_effects_identifier.cc -- 'cis-splice-effects identify' methods Copyright (c) 2015, The Griffith Lab Author: Avinash Ramu <aramu@genome.wustl.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the...
<commit_before>#include <QtCore/QCoreApplication> #include <QFile> #include <QtDebug> #include "qblowfish.h" // Random key generated at http://www.random.org/bytes/ #define KEY_HEX "ea462947a76af8a50dba0ad01455c8c3" int main(int argc, char *argv[]) { Q_UNUSED(argc); Q_UNUSED(argv); QBlowfish bf(QByteArra...
<commit_before>/* ----------------------------------------------------------------------------- Copyright 2017 Google 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/...
<commit_before>/* * High level FastCGI client. * * author: Max Kellermann <mk@cm4all.com> */ #include "fcgi_request.hxx" #include "fcgi_stock.hxx" #include "fcgi_client.hxx" #include "http_response.hxx" #include "lease.hxx" #include "tcp_stock.hxx" #include "stock.hxx" #include "ChildOptions.hxx" #include "istream...
<commit_before>#include <vector> #include <string> #include <iostream> #include <sstream> #include <fstream> #include <opencv2/opencv.hpp> // #include "opencv2/xfeatures2d.hpp" using std::string; using std::vector; // Make sure directory exists void mkdirp(string path) { system((std::string("mkdir -p ") + path).c...
<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 "media/base/video_frame.h" #include "remoting/client/decoder_verbatim.h" #include "remoting/client/mock_objects.h" #include "t...
<commit_before>/* * Copyright (c) 2013 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....
<commit_before>/* * Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved */ #ifndef _Stroika_Foundation_Traversal_Iterator_inl_ #define _Stroika_Foundation_Traversal_Iterator_inl_ #include "../Debug/Assertions.h" namespace Stroika::Foundation::Traversal { /* *******************************...
<commit_before>#include "TrackingData.h" #include <queue> #include "ScalingCoordinateMapper.h" #include <cmath> #include <opencv2/opencv.hpp> #define MAX_DEPTH 10000 namespace sensekit { namespace plugins { namespace hand { namespace segmentation { struct PointTTL { cv::Point m_point...
<commit_before>// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. #include "platform/globals.h" #if defined(HOST_OS_FUCHSIA) #include "bin/extensions.h" ...
<commit_before>#include "block.h" #include <QtCore/QDebug> #include "../robotsBlockParser.h" using namespace qReal; using namespace interpreters::robots::details; using namespace blocks; Block::Block() : mNextBlock(NULL) , mGraphicalModelApi(NULL) , mLogicalModelApi(NULL) , mBlocksTable(NULL) , mGraphicalId(Id(...
<commit_before>// Scintilla source code edit control /** @file LexHex.cxx ** Lexer for Motorola S-Record. ** ** Written by Markus Heidelberg **/ // Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org> // The License.txt file describes the conditions under which this software may be distributed. /* * Motorol...
<commit_before>/* Copyright (c) 2012 Stanford University * * Permission to use, copy, modify, and 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 SOFTWARE IS PROVIDED "AS IS" AND T...
<commit_before>// Scintilla source code edit control /** @file LexTCL.cxx ** Lexer for TCL language. **/ // Copyright 1998-2001 by Andre Arpin <arpin@kingston.net> // The License.txt file describes the conditions under which this software may be distributed. #include <stdlib.h> #include <string.h> #include <stdio.h>...
<commit_before><commit_msg>build<commit_after><|endoftext|>
<commit_before><commit_msg>Fix assertion failure.<commit_after><|endoftext|>
<commit_before>/************************************************************************* * * $RCSfile: b3dhommatrix.hxx,v $ * * $Revision: 1.6 $ * * last change: $Author: thb $ $Date: 2004-02-16 17:03:04 $ * * The Contents of this file are made available subject to the terms of * either of the following ...
<commit_before>AliAnalysisTaskHFE* ConfigHFECalstandard_PbPb(Bool_t useMC){ // // HFE standard task configuration // AliHFEcuts *hfecuts = new AliHFEcuts("hfeCuts","HFE Standard Cuts for EMCal"); hfecuts->CreateStandardCuts(); hfecuts->SetMinNClustersTPC(120); hfecuts->SetMinRatioTPCclusters(0.6); hfec...
<commit_before>/* bzflag * Copyright (c) 1993 - 2005 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>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/lib/phy/seq.C $ ...
<commit_before>/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* $Source: src/import/chips/p9/procedures/hwp/memory/p9_mss_freq.C $ ...
<commit_before>// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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; eit...
<commit_before>#ifndef MTL_STREAM_CALLER_MAPPER_CHANNEL_PROXY #define MTL_STREAM_CALLER_MAPPER_CHANNEL_PROXY #include "../stream_channel.hpp" #include <cassert> namespace mtl { template<typename Stream, typename FunctionID = std::string> class function_mapper_channel_proxy : public stream_channel<Stream> { pu...
<commit_before>// // The MIT License (MIT) // // Copyright (c) 2017 Tag Games Limited // // 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) 2008-2014 the Urho3D project. // // 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...
<commit_before>#include "sani/platform/graphics/graphics_precompiled.hpp" #include "sani/platform/graphics/graphics_device.hpp" #include "sani/graphics/renderables/renderable.hpp" #include "sani/graphics/setups/render_setups.hpp" #include "sani/resource/texture2d.hpp" #include "sani/graphics/renderer.hpp" namespace sa...
<commit_before>// Copyright (c) 2014-2020 The Gridcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparams.h" #include "main.h" #include "gridcoin/backup.h" #include "gridcoin/contract/contract.h...
<commit_before>// // $Id$ // #include "AVGOGLSurface.h" #include "AVGPlayer.h" #include "AVGLogger.h" #include "AVGException.h" #include "AVGPoint.h" #include "OGLHelper.h" #include <paintlib/plstdpch.h> #include <paintlib/plrect.h> #include <paintlib/planybmp.h> #include <paintlib/plsubbmp.h> #include <GL/gl.h> #in...
<commit_before>/* Copyright © 2010, 2011, 2012 Vladimír Vondruš <mosra@centrum.cz> This file is part of Magnum. Magnum is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 only, as published by the Free Software Foundation. ...
<commit_before>/* * AbstractState.cpp * * Created on: 21 Dec 2013 * Author: jowr */ #include "math.h" #include "AbstractState.h" #include "Backends/REFPROP/REFPROPBackend.h" #include "Backends/Helmholtz/HelmholtzEOSBackend.h" #include "Backends/Incompressible/IncompressibleBackend.h" #include "Backends/Helm...
<commit_before>//===- lib/Linker/LinkLibraries.cpp - Link LLVM libraries -----------------===// // // The LLVM Compiler Infrastructure // // This file was developed by Reid Spencerand is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. // //===----...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_HYPERGEOMETRIC_2F2_HPP #define STAN_MATH_PRIM_FUN_HYPERGEOMETRIC_2F2_HPP #include <stan/math/prim/meta.hpp> #include <stan/math/prim/fun/hypergeometric_pFq.hpp> namespace stan { namespace math { /** * Returns the generalised hypergeometric function applied to the * input a...
<commit_before>#include "Crown.h" #include <cstdlib> #include <iostream> #include <GL/glew.h> using namespace Crown; class WndCtrl: public KeyboardListener { public: WndCtrl() { GetDevice()->GetInputManager()->RegisterKeyboardListener(this); } virtual void KeyReleased(const KeyboardEvent& event) { if (even...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * Version: MPL 1.1 / GPLv3+ / LGPLv3+ * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License or as spec...
<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>// Copyright (c) 2017, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of hpp-pinocchio. // hpp-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 ...
<commit_before>#include <stdio.h> #include "Halide.h" #include <atomic> using namespace Halide; // Check that assertion failures free allocations appropriately std::atomic<int> malloc_count = 0; std::atomic<int> free_count = 0; void *my_malloc(void *user_context, size_t x) { malloc_count++; void *orig = malloc...
<commit_before>/************************************************************************* * * $RCSfile: drawsh2.cxx,v $ * * $Revision: 1.5 $ * * last change: $Author: nn $ $Date: 2002-05-16 13:09:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<commit_before>/************************************************************************* * * $RCSfile: spelldialog.cxx,v $ * * $Revision: 1.3 $ * * last change: $Author: vg $ $Date: 2005-02-21 13:54:08 $ * * The Contents of this file are made available subject to the terms of * either of the following li...
<commit_before>#include <iostream> // std::cout ... #include "logMsg.h" // lmInit, LM_* #include "coreTracelevels.h" // LMT_* #include "Message.h" // Message #include "Macros.h" // EXIT, ... #include "Packet.h" ...
<commit_before>#pragma once #ifndef NDK_COMPONENTS_CONSTRAINTCOMPONENT2D_HPP #define NDK_COMPONENTS_CONSTRAINTCOMPONENT2D_HPP #include <NDK/Component.hpp> #include <Nazara/Physics2D/Constraint2D.hpp> #include <Nazara/Math/Vector3.hpp> #include <vector> #include <memory> namespace Ndk { class NDK_API ConstraintCompo...
<commit_before>#include "ShaderMacro.h" using namespace Rendering::Shader; ShaderMacro::ShaderMacro() : _name(""), _definition("") { } ShaderMacro::ShaderMacro(const std::string& name, const std::string& definition) : _name(name), _definition(definition) { }<commit_msg>Delete ShaderMacro.cpp<commit_after><|endoftex...
<commit_before>// // C++ Implementation: conferencetask // // Description: // // // Author: SUSE AG (C) 2004 // // Copyright: See COPYING file that comes with this distribution // // #include "conferencetask.h" ConferenceTask::ConferenceTask( Task* parent ) : EventTask( parent ) { // register all the events that th...
<commit_before>/** Copyright (c) 2013, Philip Deegan. 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 conditions...
<commit_before>// // Copyright (c) 2013-2014 Christoph Malek // See LICENSE for more information. // #ifndef RJ_GAME_COMPONENTS_GRADIENT_RECT_HPP #define RJ_GAME_COMPONENTS_GRADIENT_RECT_HPP #include <rectojump/global/common.hpp> #include <mlk/graphics/graphics_utl.h> #include <SFML/Graphics.hpp> namespace rj { ...
<commit_before>// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "xwalk/runtime/browser/xwalk_browser_main_parts_tizen.h" #include "base/file_util.h" #include "base/files/file_path.h" #include ...