text
stringlengths
54
60.6k
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/command_line.h" #include "base/file_path.h" #include "base/file_util.h" #include "base/ref_counted.h" #include "base/sco...
<commit_before><commit_msg>Resolves: #i120663# The SvXMLImportContext is always leaked<commit_after><|endoftext|>
<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 "chrome/browser/ui/views/notifications/balloon_view_host.h" #include "chrome/browser/notifications/balloon.h" #include "conte...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtQml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usag...
<commit_before>/* * Copyright (C) 2015 Dan Leinir Turthra Jensen <admin@leinir.dk> * * 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...
<commit_before><commit_msg>Increased the default stack size for the threads<commit_after><|endoftext|>
<commit_before>/* Copyright 2011 Brain Research Institute, Melbourne, Australia Written by Robert E. Smith, 2011. This file is part of MRtrix. MRtrix 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 ...
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "mlas.h" #include "bench_util.h" #include "core/util/thread_utils.h" #include <stdexcept> #include <memory> #include <numeric> #include <algorithm> static const std::vector<std::string> qgemm_arg_n...
<commit_before>/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: textcharacterproperties.cxx,v $ ...
<commit_before>/* * Copyright (C) 2017 Daniel Nicoletti <dantti12@gmail.com> * * 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 optio...
<commit_before>#ifndef ALEPH_COMPLEXES_FLANN_HH__ #define ALEPH_COMPLEXES_FLANN_HH__ #include <complexes/NearestNeighbours.hh> #include <flann/flann.hpp> namespace aleph { namespace complexes { template <class Container> class FLANN : public NearestNeighbours< FLANN<Container> > { public: using ElementType =...
<commit_before>#include "ruby.h" #include <osl/state/simpleState.h> #include <osl/handicap.h> #include <iostream> using namespace osl; void rb_SimpleState_free(state::SimpleState* ptr) { ptr->~SimpleState(); ruby_xfree(ptr); } static VALUE rb_SimpleState_allocate(VALUE self) { void* p = ruby_xmalloc(sizeof(sta...
<commit_before>/*! * \file static_resource.cpp * \brief file static_resource.cpp * * Copyright 2016 by Intel. * * Contact: kevin.rogovin@intel.com * * 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>#ifndef SOLAIRE_ISTREAM_HPP #define SOLAIRE_ISTREAM_HPP //Copyright 2015 Adam Smith // //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/LI...
<commit_before><commit_msg>Implement all remaining arithmetic operations.<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////////////////////////// // // // A brief class that handles reading input from a configuration text file // // based on root's TEnv format, i.e. key-value pairs, and sha...
<commit_before>/*****************************************************************\ __ / / / / __ __ / /______ _______ / / / / ________ __ __ / ______ \ /_____ \ / / / / / _____ | / / / / / / | / _______| / / / / / / /____/ / / / / /...
<commit_before>#include <iostream> #include "sash/sash.hpp" #include "sash/libedit_backend.hpp" // our backend #include "sash/variables_engine.hpp" using namespace std; int main() { using char_iter = string::const_iterator; using sash::command_result; sash::sash<sash::libedit_backend>::type cli; string line;...
<commit_before>#pragma once //=====================================================================// /*! @file @brief 12×12漢字フォント・クラス @author 平松邦仁 (hira@rvf-rc45.net) */ //=====================================================================// #include <cstdint> #include "ff12a/src/ff.h" // #include "comm...
<commit_before>#pragma once //=====================================================================// /*! @file @brief RX グループ・RSPI I/O 制御 @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2016, 2020 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/mast...
<commit_before>#pragma once //=====================================================================// /*! @file @brief ソフト制御 I2C テンプレートクラス @author 平松邦仁 (hira@rvf-rc45.net) @copyright Copyright (C) 2017 Kunihito Hiramatsu @n Released under the MIT license @n https://github.com/hirakuni45/RX/blob/master/LI...
<commit_before>#include "gl/impl/backend/vk2/hardware/queue.hpp" #if TZ_VULKAN #include "gl/impl/backend/vk2/descriptors.hpp" namespace tz::gl::vk2 { DescriptorLayoutBindlessFlagsInfo::NativeType DescriptorLayoutBindlessFlagsInfo::native() const { return { .sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BIND...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: i_ce.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hr $ $Date: 2007-11-02 15:05:28 $ * * The Contents of this file are made avai...
<commit_before> #include "integrators/explicit_embedded_runge_kutta_nyström_integrator.hpp" #include "base/macros.hpp" #include "glog/logging.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "quantities/si.hpp" #include "testing_utilities/integration.hpp" namespace principia { using quantities::Abs; us...
<commit_before>// $Id$ // -*-C++-*- // * BeginRiceCopyright ***************************************************** // // Copyright ((c)) 2002, Rice University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following con...
<commit_before>// $Id$ // -*-C++-*- // * BeginRiceCopyright ***************************************************** // // Copyright ((c)) 2002, Rice University // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following con...
<commit_before><commit_msg>Disabled mipmap generation and fixed memory allocation in constructor.<commit_after><|endoftext|>
<commit_before> #include <boost/test/unit_test.hpp> #include "SoftXMT.hpp" BOOST_AUTO_TEST_SUITE( Delegate_tests ); int64_t some_data = 1234; void user_main( thread * me, void * args ) { BOOST_MESSAGE( "Spawning user main thread " << (void *) current_thread << " " << me << " o...
<commit_before>// nonpareil_sampling - Part of the nonpareil package // @author Luis M. Rodriguez-R <lmrodriguezr at gmail dot com> // @license artistic 2.0 // @version 1.0 #define _MULTI_THREADED #include <iostream> #include <fstream> #include <unistd.h> #include <stdio.h> #include <math.h> #include <pthread.h> #incl...
<commit_before>// Source : https://oj.leetcode.com/problems/single-number-ii/ // Author : Hao Chen // Date : 2014-06-17 /********************************************************************************** * * Given an array of integers, every element appears three times except for one. Find that single one. * * No...
<commit_before>/* Copyright (C) 2008 Torsten Rahn <rahn@kde.org> This file is part of the KDE project 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 o...
<commit_before>#pragma once struct AlignmentLengths { uint32_t raLen; uint32_t qaLen; uint32_t sclip; uint32_t eclip; AlignmentLengths(char *cigar) : raLen(0) , qaLen(0) , sclip(0) , eclip(0) {} AlignmentLengths(uint32_t *cigar, uint32_t n_cigar) : ...
<commit_before>#include "precompiled.h" // // Copyright (c) 2002-2012 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // VertexBuffer.cpp: Defines the abstract VertexBuffer class and VertexBufferInterface // clas...
<commit_before>/* Copyright (c) 2016 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #include "kernel/instantiate.h" #include "kernel/abstract.h" #include "library/constants.h" #include "library/trace.h" #include "library/app_...
<commit_before>/* * LicenseVerifier.cpp * * Created on: Nov 17, 2019 * Author: GC */ #include <cmath> #include <algorithm> #include <licensecc_properties.h> #include "license_verifier.hpp" #include "../pc_identifier/pc_identifier_facade.hpp" #include "../base/StringUtils.h" #include "../os/signature_verifie...
<commit_before>#include <memory> #include <vector> #include "auto-wrap.h" #include "patch.h" #include <emscripten/bind.h> #include <emscripten/val.h> using std::vector; template <> inline Patch const *emscripten::val::as<Patch const *>(void) const { using namespace emscripten; using namespace internal; EM_DEST...
<commit_before>#include <iostream> #include <fstream> #include <string> #include <set> using namespace std; int main(int argc, char** argv) { ifstream file; file.open(argv[1]); string line; vector<vector <string> > source; set<string> dict; bool split = false; count i = 0; while(getline(file, lin...
<commit_before>#include "Math/Polynomial.h" #include "Math/Derivator.h" #include "Math/IFunction.h" #include "Math/Functor.h" #include "Math/WrappedFunction.h" #include "Math/WrappedParamFunction.h" #include <iostream> #include <vector> #include <cassert> #include <cmath> #ifdef HAVE_ROOTLIBS #include "TStopwatch.h" ...
<commit_before>#include "Lifter.h" #include "../RobotMap.h" #include "../Commands/ControlLifter.h" Lifter::Lifter() : Subsystem("Lifter") { m_cLiftMotorL = new Talon(LIFTERL); m_cLiftMotorR = new Talon(LIFTERR); m_cLimitSwitch = new DigitalInput(LIFTERSWITCH); m_cEncoderL = new Encoder(ENCODERL_A, ENCODERL_B, fal...
<commit_before>#include "WidgetContainer.h" #include "BasisManager.h" const std::string LogSection = "LayoutEditor"; INSTANCE_IMPLEMENT(EditorWidgets); void EditorWidgets::initialise() { global_counter = 0; } void EditorWidgets::shutdown() { for (std::vector<WidgetContainer*>::iterator iter = widget...
<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>/* * Copyright (C) 2018 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>/** * Copyright (c) 2015 - The CM Authors <legal@clickmatcher.com> * All Rights Reserved. * * This file is CONFIDENTIAL -- Distribution or duplication of this material or * the information contained herein is strictly forbidden unless prior written * permission is obtained. */ #include "stx/wall...
<commit_before>#ifndef STAN_MATH_PRIM_FUN_LUB_CONSTRAIN_HPP #define STAN_MATH_PRIM_FUN_LUB_CONSTRAIN_HPP #include <stan/math/prim/fun/Eigen.hpp> #include <stan/math/prim/meta.hpp> #include <stan/math/prim/err.hpp> #include <stan/math/prim/fun/add.hpp> #include <stan/math/prim/fun/exp.hpp> #include <stan/math/prim/fun/...
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_TO_MATRIX_HPP #define STAN_MATH_PRIM_MAT_FUN_TO_MATRIX_HPP #include <stan/math/prim/mat/fun/Eigen.hpp> #include <Eigen/Dense> #include <vector> namespace stan { namespace math { /** * Returns a matrix with dynamic dimensions constructed from * an Eigen mat...
<commit_before>// ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// // STL #include <iostream> #include <fstream> #include <string> // MPL #include <boost/mpl/push_back.hpp> #include <boost/mpl/vector.hpp> #...
<commit_before>#include "storage/diff_scheme/diff_manager.hpp" #include "storage/diff_scheme/diff_scheme_checker.hpp" #include "platform/platform.hpp" #include "coding/internal/file_data.hpp" #include "base/assert.hpp" #include "base/cancellable.hpp" #include <algorithm> #include "3party/Alohalytics/src/alohalytic...
<commit_before>server { listen 80; server_name youth.cc; charset utf-8; root /home/work/dev/app/youth/public; access_log logs/youth.app.access.log main; location / { index index.html index.htm index.php; } #error_page 404 /404.html; # redirect ser...
<commit_before>#include "moduleProcessing.h" #include <vector> using namespace std; moduleProcessing::moduleProcessing(){ E = 0.49f; F = 0.45f; Fsharp = 0.41f; G = 0.37f; Gsharp = 0.33f; A = 0.29f; Asharp = 0.25f; B = 0.21f; C = 0.17f; Csharp = 0.13f; D = 0.9f; Dsharp = 0.05f; ...
<commit_before>#include "util/ocl_helper.h" #include "util/x_error.h" #include <algorithm> #include <iostream> using x_engine::ocl_error; void show_platform_info(const cl::Platform &); void init_cl_devices(std::priority_queue<std::shared_ptr<device>> &); std::priority_queue<std::shared_ptr<device>> get_dev_queue() {...
<commit_before>// Copyright (c) 2011, Christian Rorvik // Distributed under the Simplified BSD License (See accompanying file LICENSE.txt) #ifndef CRUNCH_CONCURRENCY_WAITABLE_HPP #define CRUNCH_CONCURRENCY_WAITABLE_HPP #include "crunch/base/override.hpp" #include <utility> namespace Crunch { namespace Concurrency {...
<commit_before>#include "../ext/Draw/CDraw3DLine.h" #include "../ext/Draw/Draw3DLineShaders.h" using namespace irr; using namespace video; using namespace scene; using namespace ext; using namespace draw; CDraw3DLine* CDraw3DLine::create(IVideoDriver* _driver) { return new CDraw3DLine(_driver); } CDraw3DLine::CD...
<commit_before>#include "Test.h" #include "DataStore/MemoryDataStore.h" #include "DataStore/DataStoreWriteStream.h" #include "DataStore/DataStoreReadStream.h" #include <future> using namespace Flourish; class MemoryDataStoreTests : public ::testing::Test { protected: MemoryDataStore dataStore; void SetUp()...
<commit_before>/*========================================================================= * * Copyright Insight Software Consortium * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
<commit_before>/* * Copyright (c) 2015, 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>// @(#)root/eve7:$Id$ // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007, 2018 /************************************************************************* * Copyright (C) 1995-2019, Rene Brun and Fons Rademakers. * * All rights reserved. ...
<commit_before>/* OpenSceneGraph example, osgtext. * * 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, modify, m...
<commit_before>#include "mirants/core/tcp_client.h" #include "mirants/core/eventloop.h" #include "mirants/core/sockaddr.h" #include "mirants/core/tcp_connection.h" #include "mirants/core/callback.h" #include "mirants/core/buffer.h" #include "mirants/util/logging.h" #include "mirants/port/atomic_sequence_num.h" #include...
<commit_before>// Filename: INSProjectionBcCoef.C // Last modified: <09.Oct.2007 18:42:29 griffith@box221.cims.nyu.edu> // Created on 22 Feb 2007 by Boyce Griffith (boyce@trasnaform2.local) #include "INSProjectionBcCoef.h" /////////////////////////////// INCLUDES ///////////////////////////////////// #ifndef include...
<commit_before>/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial...
<commit_before>/* Copyright (c) 2009 Stephen John Bush 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, modify, merge, pub...
<commit_before>/* * Copyright (c) 2012, Willow Garage, 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: * * * Redistributions of source code must retain the above copyright * ...
<commit_before>/****************************************************************************** Ȩ (C), 2001-2011, IOT CopyRight ****************************************************************************** : Server.cc : : ChenZhen : 2017217 ޸ : : б : ޸ʷ ...
<commit_before>#include "NL_InputProcessor.h" #include "NL_InputEvents.h" #include <assert.h> namespace NLE { InputProcessor::InputProcessor() : _initialized(false) { } InputProcessor::~InputProcessor() { } bool InputProcessor::initialize(Core::IEngine& engine) { _procedure = [&](){ }; _initiali...
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt #include "StableHeaders.h" #include "Foundation.h" #include "Renderer.h" #include "OgreRenderingModule.h" #include "Ogre.h" using namespace Foundation; namespace OgreRenderer { class EventListener : public...
<commit_before>/* ------------------------------------------------------------------------- * * OpenSim: testPath.cpp * * -------------------------------------------------------------------------- * * The OpenSim API is a toolkit for musculoskeletal modeling and simu...
<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>/* This file is part of Strigi Desktop Search * * Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info> * * 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; eithe...
<commit_before>#pragma once #include <supermarx/util/cached_downloader.hpp> #include <supermarx/util/stubborn.hpp> #include <functional> #include <deque> namespace supermarx { class download_manager { public: typedef std::function<void(downloader::response)> f_t; typedef std::function<void()> error_f_t; struct ...
<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>#include "stdafx.h" #include <string> #include <map> #include <vector> #include "../Application.h" #include "../ModuleScripting.h" #include "../ModuleInput.h" #include "../ModuleWindow.h" #include "../ComponentTransform.h" #include "../ModuleGOManager.h" #include "../GameObject.h" #include "../Component...
<commit_before>#include "stdafx.h" #include "Unit.h" #include "Scheduler.h" #include "GameManager.h" #include "Player.h" #include "ClientSession.h" Unit::Unit() { static int makeId = 0; m_UnitID = ++makeId; m_Owner = nullptr; m_Hp = m_MaxHp = -1; m_Damage = 0; m_Speed = -1; m_Contacting =...
<commit_before>// // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC 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 limitatio...
<commit_before>// // Copyright (c) 2008-2019 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 use, ...
<commit_before>#include <string> #include <fstream> #include <errno.h> #include <math.h> #include <stdio.h> #include <string.h> #include <unistd.h> #ifdef DARWIN # include <sys/param.h> # include <sys/sysctl.h> #endif #include <sys/time.h> #include <sys/stat.h> #include <limits.h> #include <sstream> #include <stdlib.h>...
<commit_before>#include <chrono> #include <cstdint> #include <exception> #include <fstream> #include <iomanip> #include <iostream> #include <stdexcept> #include <string> #include <vector> #include <gflags/gflags.h> #include <glog/logging.h> #include <tudocomp/Compressor.hpp> #include <tudocomp/io.hpp> #include <tudoc...
<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>// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "dense_matmul_function.h" #include "dense_tensor_view.h" #include <vespa/vespalib/objects/objectvisitor.h> #include <vespa/eval/eval/value.h> #include <vespa/eval/eval/operation.h> #...
<commit_before>/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 L...
<commit_before>// // ban.hpp // ******** // // Copyright (c) 2020 Sharon Fox (sharon at xandium dot io) // // Distributed under the MIT License. (See accompanying file LICENSE) // #pragma once #include "aegis/config.hpp" #include "aegis/snowflake.hpp" #include "aegis/permission.hpp" #include "aegis/user...
<commit_before>#ifndef LIBBITCOIN_UTILITY_SUBSCRIBER_H #define LIBBITCOIN_UTILITY_SUBSCRIBER_H #include <stack> #include <bitcoin/types.hpp> #include <bitcoin/utility/assert.hpp> namespace libbitcoin { template <typename... Args> class subscriber : public std::enable_shared_from_this<subscriber<Args...>> { publ...
<commit_before>/* Copyright (c) <2014>, <BenHJ> 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 of conditions and t...
<commit_before>// Copyright (c) 2016, Joseph Mirabel // Authors: Joseph Mirabel (joseph.mirabel@laas.fr) // // This file is part of hpp-corbaserver. // hpp-corbaserver 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 Softw...
<commit_before>/****************************************************************************** * Copyright (c) 2012, 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 ar...
<commit_before>/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: options.hxx,v $ * * $Revision: 1.8 $ * * last change: $Author: hr $ $Date: 2006-06-20 02:22:39 $ * * The Contents of this file are made a...
<commit_before>// // Name: canvas.cpp // Purpose: Implements the canvas class for the Enviro wxWidgets application. // // Copyright (c) 2001-2006 Virtual Terrain Project // Free for all uses, see license.txt for details. // // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifndef...
<commit_before>#include <cppunit/BriefTestProgressListener.h> #include <cppunit/CompilerOutputter.h> #include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/TestResult.h> #include <cppunit/TestResultCollector.h> #include <cppunit/TestRunner.h> #include <cppunit/XmlOutputter.h> #include <OgrePlatform.h> ...
<commit_before>#include "ssdt.h" #include "undocumented.h" #include "pe.h" #include "log.h" #include "ntdll.h" //structures struct SSDTStruct { LONG* pServiceTable; PVOID pCounterTable; #ifdef _WIN64 ULONGLONG NumberOfServices; #else ULONG NumberOfServices; #endif PCHAR pArgumentTable; }; //Ba...
<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 "chrome/browser/ui/webui/task_manager_handler.h" #include <algorithm> #include <functional> #include "base/bind.h" #include ...
<commit_before>// Copyright 2013 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 "chromeos/network/network_device_handler_impl.h" #include "base/bind.h" #include "base/location.h" #include "base/values.h" #incl...
<commit_before>#include <mex.h> #include <cmath> #include <iostream> #include "drake/systems/plants/RigidBodyTree.h" #include "drake/util/drakeMexUtil.h" #include "drake/util/eigen_matrix_compare.h" #include "drake/util/testUtil.h" using namespace Eigen; using namespace std; using drake::util::MatrixCompareType; /* ...
<commit_before><commit_msg>show the control geometric propertis correctly (bnc#610921)<commit_after><|endoftext|>
<commit_before>//////////////////////////////////////////////////////////////////////////// // // Copyright 2015 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://ww...
<commit_before>/* Copyright 2013 Paulo Roberto Urio <paulourio@gmail.com> */ #include "./acs.h" namespace acs { ACSEdgeDetection::ACSEdgeDetection(cv::Mat input, GUIController controller) : input_(input), pheromone_(input.rows, input.cols, CV_8UC1), controller_( controller) { } ACSEdgeDetection::~ACSEdgeDetect...
<commit_before>/*- * Copyright (c) 2012, Achilleas Margaritis * Copyright (c) 2014, David T. Chisnall * 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 m...
<commit_before><commit_msg>passing by reference<commit_after><|endoftext|>
<commit_before>#include "config.h" #include <cstdlib> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <cstring> using namespace std; //// parameters // for bam file int min_flank_length = 5; int min_clip_length = 5; int32_t average_read_length = 100; int32_t min_bundle_gap = 50; ...
<commit_before>/** * Client Key Exchange Message * (C) 2004-2008 Jack Lloyd * * Released under the terms of the Botan license */ #include <botan/tls_messages.h> #include <botan/dh.h> #include <botan/rsa.h> #include <botan/rng.h> #include <botan/look_pk.h> #include <botan/loadstor.h> #include <memory> namespace Botan...
<commit_before>/* starfield.cpp Classic Invaders Copyright (c) 2013, Todd Steinackle, Simon Que 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 a...