text
stringlengths
54
60.6k
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fieldmappingpage.cxx,v $ * * $Revision: 1.7 $ * * last change: $Author: rt $ $Date: 2005-09-08 19:07:52 $ * * The Contents of this file a...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: propertyeditor.hxx,v $ * * $Revision: 1.16 $ * * last change: $Author: kz $ $Date: 2008-03-05 17:14:09 $ * * The Contents of this file ar...
<commit_before>// Copyright (c) 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 "chrome/renderer/renderer_main_platform_delegate.h" #include "base/debug_util.h" extern "C" { #include <sandbox.h> } #inclu...
<commit_before>#ifndef DD_BUNDLE_CALLER_HXX_ #define DD_BUNDLE_CALLER_HXX_ #include <opengm/inference/dualdecomposition/dualdecomposition_bundle.hxx> #include <opengm/inference/dynamicprogramming.hxx> #include <opengm/inference/messagepassing/messagepassing.hxx> #ifdef WITH_CPLEX #include <opengm/inference/lpcplex.hxx...
<commit_before>// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #if defined(HAVE_CONFIG_H) #include "config/pivx-config.h" #endif #include "optionsdialog.h" #include "ui_opti...
<commit_before>#include <qt/splitutxopage.h> #include <qt/forms/ui_splitutxopage.h> #include <qt/bitcoinunits.h> #include <qt/execrpccommand.h> #include <qt/guiutil.h> #include <qt/optionsmodel.h> #include <qt/sendcoinsdialog.h> #include <qt/walletmodel.h> #include <validation.h> namespace SplitUTXO_NS { ...
<commit_before> #include <functional> #include <string> #include "google/protobuf/stubs/common.h" #include "glog/logging.h" #include "gtest/gtest.h" #include "quantities/astronomy.hpp" #include "quantities/bipm.hpp" #include "quantities/constants.hpp" #include "quantities/elementary_functions.hpp" #include "quantitie...
<commit_before>#include "core/FS/file_system.h" #include "core/FS/ifile.h" #include "core/blob.h" #include "core/crc32.h" #include "debug/debug.h" #include "core/log.h" #include "core/path_utils.h" #include "core/profiler.h" #include "core/resource_manager.h" #include "core/resource_manager_base.h" #include "editor/giz...
<commit_before>#include "OpenGLContext.hpp" #include <glbinding-aux/ContextInfo.h> #include <glbinding-aux/types_to_string.h> #include <glbinding/Binding.h> // Do not import namespace to prevent glbinding/QTOpenGL collision #include <glbinding/gl/gl.h> #include <globjects/globjects.h> #include <GLFW/glfw3.h> #incl...
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2017 Couchbase, 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 ...
<commit_before>/* * (C) Copyright 2010 * Steve Chang * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any later version. * * This...
<commit_before>#ifndef _FILSTR_HXX_ #include "filstr.hxx" #endif #ifndef _SHELL_HXX_ #include "shell.hxx" #endif #ifndef _PROV_HXX_ #include "prov.hxx" #endif using namespace fileaccess; using namespace com::sun::star; using namespace com::sun::star::ucb; /**********************************************************...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: stream.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: hr $ $Date: 2006-06-20 05:28:09 $ * * The Contents of this file are made av...
<commit_before>/** * @file configuration.cpp * * @date Nov 26, 2012 * @author partio */ #include "configuration.h" #include "logger_factory.h" using namespace himan; configuration::configuration() { Init(); itsLogger = std::unique_ptr<logger> (logger_factory::Instance()->GetLog("configuration")); } configu...
<commit_before>/* * Copyright (c) 2007, P.F.Peterson <petersonpf@ornl.gov> * Spallation Neutron Source at Oak Ridge National Laboratory * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal i...
<commit_before>/* * Copyright 2011 Esrille 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 required by applicable l...
<commit_before>/* * InteractionVote.cpp * Render * * Created by Todd Vanderlin on 3/6/11. * Copyright 2011 Interactive Design. All rights reserved. * */ #include "InteractionVote.h" #include "testApp.h" #include "InteractionPerformance.h" #include "QuestionData.h" void InteractionVote::setup() { voteBubbl...
<commit_before> // // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2018 Esteban Tovagliari, The appleseedhq Organization // // Permission is hereby granted, free of charge, to...
<commit_before>//===--- CommentBriefParser.cpp - Dumb comment parser ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 * * (c) 2006-2011 INRIA, USTL, UJF, CNRS, MGH * * ...
<commit_before>//===--- RequirementMachine.cpp - Generics with term rewriting --*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2021 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swi...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: propertysethelper.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: obo $ $Date: 2006-09-16 13:48:38 $ * * The Contents of this file...
<commit_before>/************************************************************************* * * $RCSfile: registerservices.cxx,v $ * * $Revision: 1.29 $ * * last change: $Author: rt $ $Date: 2005-02-02 13:54:34 $ * * The Contents of this file are made available subject to the terms of * either of the follow...
<commit_before>//===-- RegAllocSimple.cpp - A simple generic register allocator --- ------===// // // This file implements a simple register allocator. *Very* simple. // //===----------------------------------------------------------------------===// #include "llvm/Function.h" #include "llvm/iTerminators.h" #include "...
<commit_before>//===--- REPLCodeCompletion.cpp - Code completion for REPL ----------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http...
<commit_before>#include "TrainSession.h" #include <fstream> #include <string> #include <iomanip> #include <SmurffCpp/Utils/omp_util.h> #include <SmurffCpp/Utils/Distribution.h> #include <SmurffCpp/Utils/MatrixUtils.h> #include <SmurffCpp/Utils/counters.h> #include <SmurffCpp/Utils/Error.h> #include <SmurffCpp/Utils/...
<commit_before> /* * nextpnr -- Next Generation Place and Route * * Copyright (C) 2018 Miodrag Milanovic <miodrag@symbioticeda.com> * Copyright (C) 2018 Serge Bazanski <q3k@symbioticeda.com> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereb...
<commit_before>#include "chatwindow.h" #include "ui_chatwindow.h" #include "QString" #include "QColor" #include "gui.h" // ChatWindow::ChatWindow(Gui* guiPointer) : QMainWindow(nullptr), ui(new Ui::ChatWindow) { ui->setupUi(this); chatGui = guiPointer; } void ChatWindow::receiveMessage(const QString f...
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a ...
<commit_before><commit_msg>Obey no transfer queue flag on Vulkan<commit_after><|endoftext|>
<commit_before>//===-- ARMFastISel.cpp - ARM FastISel implementation ---------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- Inliner.cpp - Code common to all inliners --------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>/* * detector_helpers.cc * * Copyright (C) 2013 Diamond Light Source * * Author: James Parkhurst * * This code is distributed under the BSD license, a copy of which is * included in the root directory of this package. */ #include <boost/python.hpp> #include <boost/python/def.hpp> #include <b...
<commit_before>/***************************************************************************************** * * * OpenSpace * * ...
<commit_before>#include "xchainer/numeric.h" #include <cmath> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include <nonstd/optional.hpp> #include "xchainer/array.h" #include "xchainer/context.h" #include "xchainer/error.h" #include "xchainer/scalar.h" #include "xchainer/shape.h" #i...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: unoDirectSql.hxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-08 16:52:50 $ * * The Contents of this file are m...
<commit_before>#include "augs/window_framework/platform_utils.h" #include "augs/string/string_templates.h" #include "augs/filesystem/file.h" #include "augs/window_framework/shell.h" #include "augs/window_framework/exec.h" namespace augs { bool is_character_newline(const unsigned i) { return (i == 0x000A || i == 0x...
<commit_before>#include <igvc/SerialPort.h> #include <igvc_msgs/velocity_pair.h> #include <std_msgs/Bool.h> #include <ros/publisher.h> #include <ros/ros.h> #include <ros/subscriber.h> #include <std_msgs/Float64.h> #include <string> #include <vector> #include <igvc/StringUtils.hpp> #include <iomanip> #include <sstream> ...
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved. #ifndef CLUSTERING_ADMINISTRATION_MAIN_SERVE_HPP_ #define CLUSTERING_ADMINISTRATION_MAIN_SERVE_HPP_ #include <set> #include <string> #include "clustering/administration/metadata.hpp" #include "clustering/administration/persist.hpp" #include "extpro...
<commit_before>// http://algospot.com/judge/problem/read/PREFIX #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> using namespace std; int N, M; string in[3000]; class Tree { public: Tree(Tree* p = 0) : parent(p), depth(0), count(0), size(0) { memset(child, 0, sizeof(Tree*) * 26); ...
<commit_before>#include <fstream> #include <functional> #include <sstream> #include <string> #include <vector> struct Color { unsigned char b, g, r, a; }; struct Vector2 { float u, v; }; struct Vector3 { float x, y, z; }; struct Index { int pos, uv, normal; }; struct Index3 { Index index[3]; }; struct Vertex { Vector3...
<commit_before>#include <algorithm> #include <glog/logging.h> #include "simple_allocator.hpp" using std::max; using std::sort; using namespace nexus; using namespace nexus::internal; using namespace nexus::internal::master; void SimpleAllocator::frameworkAdded(Framework* framework) { LOG(INFO) << "Added " << f...
<commit_before><commit_msg>Planning: disaable stop_over_line test for now<commit_after><|endoftext|>
<commit_before>//======================================================================= // Copyright 2014-2015 David Simmons-Duffin. // Distributed under the MIT License. // (See accompanying file LICENSE or copy at // http://opensource.org/licenses/MIT) //=============================================================...
<commit_before>/* * Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin * * 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...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: current.cxx,v $ * * $Revision: 1.13 $ * * last change: $Author: rt $ $Date: 2005-09-08 08:45:15 $ * * The Contents of this file are made ...
<commit_before>/* * Copyright 2004-2014 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is 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...
<commit_before>// @(#)root/g3d:$Id$ // Author: Rene Brun 14/09/95 /************************************************************************* * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * * All rights reserved. * * ...
<commit_before>/** * @file */ #pragma once #include "libbirch/type.hpp" #include "libbirch/Nil.hpp" namespace libbirch { /** * Optional. * * @ingroup libbirch * * @tparam T Type type. */ template<class T, class Enable = void> class Optional { template<class U, class Enable1> friend class Optional; public: ...
<commit_before>/* * Copyright (C) 2018 Red Hat, Inc. * * Licensed under the GNU Lesser General Public License Version 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either ...
<commit_before>// 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 "remoting/host/disconnect_window.h" #include <gtk/gtk.h> #include "base/compiler_specific.h" #include "base/logging.h" #incl...
<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) 2009-2010, Image Engine Design 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...
<commit_before>#include "net/Socket.h" #include "base/Exception.h" #include "net/InetAddress.h" NAMESPACE_ZL_NET_START const static int MAX_RECV_SIZE = 64; /********* recv read write send 函数的返回值说明: < 0 :出错; = 0 :连接关闭; > 0 : 接收/发送数据大小 除此之外,非阻塞模式下返回值 < 0 并且 (errno == EINTR || errno == EWOULDBLOCK || errn...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: pe_tydef.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: rt $ $Date: 2005-09-07 18:29:24 $ * * The Contents of this file are made ...
<commit_before>inline grass_points::grass_points( const std::string in_path, const std::string in_actionNames, const int in_scale_factor, const int in_shift, const int in_scene, //only for kth const int in_segment_length, const int in_p ) :path(in_path), actionNames(in_actio...
<commit_before>/****************************************************************************** * _ _____ __________ * * | | / / _ | / __/_ __/ Visibility * * | |/ / __ |_\ \ / / Across ...
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fnet/frt/supervisor.h> #include <vespa/fnet/frt/target.h> #include <vespa/config/config.h> #include <vespa/config/frt/frtconfigrequestfactory.h> #include <vespa/config/frt/frtconnecti...
<commit_before>/************************************************************************* * * $RCSfile: b3ituple.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: hjs $ $Date: 2004-06-25 17:17:26 $ * * The Contents of this file are made available subject to the terms of * either of the following lice...
<commit_before>/* This file is part of Magnum. Original authors — credit is appreciated but not required: 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 — Vladimír Vondruš <mosra@centrum.cz> This is free and unencumbered software released into the public doma...
<commit_before> #ifdef CPU_TIME #include "timing_functions.h" #include "io.h" #include <iostream> #include <fstream> #include <string> using namespace std; #ifdef MPI_CHOLLA #include "mpi_routines.h" #endif Time::Time( void ){} void Time::Initialize(){ n_steps = 0; time_hydro_all = 0; time_bound_all = ...
<commit_before>// *************************************************************************** // bamtools.cpp (c) 2010 Derek Barnett, Erik Garrison // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 12 October 2012 (DB) //...
<commit_before>//// lXDR.cc // // Simple XDR class, see header // // WGL, 24 May 2002 // //// #include "UTIL/lXDR.hh" #include <stdio.h> #include <stdlib.h> #include <string.h> #if defined(__APPLE_CC__) #include "/usr/include/sys/types.h" #endif #if defined(__linux) || defined(__CYGWIN__) || defined(__APPLE_CC__) #in...
<commit_before>/* * Copyright (c) 2004-2005 The Regents of The University of Michigan * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: redistributions of source code must retain the above c...
<commit_before>/*========================================================================= Library: TubeTK Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complian...
<commit_before><commit_msg>Fix *_component_getFactory function type<commit_after><|endoftext|>
<commit_before>/** * \file * \brief SignalAction class header * * \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info * * \par License * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not * distributed w...
<commit_before>#pragma once #include <gunrock/algorithms/algorithms.hxx> using vertex_t = int; using edge_t = int; using weight_t = float; namespace gunrock { namespace mst { template <typename vertex_t> struct param_t { // No parameters for this algorithm }; template <typename vertex_t, typename weight_t> struc...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ResultSetMetaData.hxx,v $ * * $Revision: 1.5 $ * * last change: $Author: ihi $ $Date: 2007-11-27 12:04:25 $ * * The Contents of this file...
<commit_before>/***************************************************************************** * * This file is part of Mapnik (c++ mapping toolkit) * * Copyright (C) 2011 Artem Pavlenko * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public...
<commit_before>#ifndef INC_METTLE_DRIVER_LOG_TERM_HPP #define INC_METTLE_DRIVER_LOG_TERM_HPP #include <cstdint> #include <sstream> #include <string> #include <type_traits> namespace term { namespace detail { inline int stream_flag() { static int flag = std::ios_base::xalloc(); return flag; } template<...
<commit_before>#pragma once #include "ImplicitParam.h" #include "GenerationParams.h" #include "Traits.h" #include "rapidcheck/Generator.h" template<typename T> void doShow(const T &value, std::ostream &os) { using namespace rc; show(value, os); } namespace rc { namespace detail { template<typename T> T Rose...
<commit_before>namespace libcozmo { namespace statespace { // Custom Hash function for a discretized state class StateHasher { public: std::size_t operator()(const Eigen::Vector3i& state) const { using boost::hash_value; using boost::hash_combine; std::size_t seed = 0; hash_combin...
<commit_before>#include "stdafx.h" #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include <string> #include <shlwapi.h> #pragma comment(lib, "Shlwapi.lib") #include "FileSystem.h" bool filesystem::exists(const std::string& path) { return PathFileExistsA(path.c_str()) != 0; } bool filesystem::is_directory(const...
<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 "sandbox/src/win2k_threadpool.h" #include "base/logging.h" #include "sandbox/src/win_utils.h" namespace sandbox { bool...
<commit_before>//===- IteratorTest.cpp - Unit tests for iterator utilities ---------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------...
<commit_before>//===- unittests/Analysis/CFGTest.cpp - CFG tests -------------------------===// // // 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><commit_msg>Used constants if possible.<commit_after><|endoftext|>
<commit_before>#pragma once #include <cstddef> // Return ceil(log2(x)). static inline std::size_t ceil_log2(std::size_t x) { auto bits = sizeof(long long) * 8 - __builtin_clzll(x); if (x == (std::size_t)1 << (bits - 1)) return bits - 1; return bits; } // Return ceil(log2(x)). This is slow, but can be eval...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: exp_op.hxx,v $ * * $Revision: 1.12 $ * * last change: $Author: obo $ $Date: 2006-03-22 12:07:02 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xeroot.hxx,v $ * * $Revision: 1.19 $ * * last change: $Author: obo $ $Date: 2006-07-10 13:55:52 $ * * The Contents of this file are made ...
<commit_before>/************************************************************************* * * $RCSfile: tbinsert.cxx,v $ * * $Revision: 1.4 $ * * last change: $Author: nn $ $Date: 2002-05-29 18:10:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licen...
<commit_before>/************************************************************************* * * $RCSfile: pszctrl.hxx,v $ * * $Revision: 1.3 $ * * last change: $Author: kz $ $Date: 2005-01-21 15:10:18 $ * * The Contents of this file are made available subject to the terms of * either of the following licens...
<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>// // File: overlap_integral.cc // Author: James L // calculates overlap integrals for molecular orbitals using libmoo // usage: // overlap_integral --coord1 <coordinate file for mol1> // --coord2 <coordinate file for mol2> // --listcrg <xml file containing the definiti...
<commit_before>/**************************************************************************** * * Copyright (C) 2015 Mark Charlebois. All rights reserved. * Author: @author Mark Charlebois <charlebm#gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
<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 2012 Utku Aydın <utkuaydin34@gmail.com> // #include "FoursquareModel.h" ...
<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 2008 Torsten Rahn <tackat@kde.org> // #include "MapScaleFloatItem.h" #i...
<commit_before>/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtSensors module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License ...
<commit_before>#include <iostream> #include <fstream> #include <cmath> #include "TH1.h" #include "TH2.h" #include "TH3.h" #include "TCanvas.h" #include "TRandom3.h" #include "TVector2.h" #include "TVector3.h" #include "TLorentzVector.h" /* Simulated experiment is a K_L->PiPi decay (CP violating)*/ const double K_ene...
<commit_before>#include "stan/math/functions/log_sum_exp.hpp" #include <gtest/gtest.h> void test_log_sum_exp(double a, double b) { using std::log; using std::exp; using stan::math::log_sum_exp; EXPECT_FLOAT_EQ(log(exp(a) + exp(b)), log_sum_exp(a,b)); } void test_log_sum_exp(const ...
<commit_before>/* * Copyright (C) 2015 Fondazione Istituto Italiano di Tecnologia * Authors: Silvio Traversaro * CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT * */ #include <iDynTree/Core/TestUtils.h> #include <iDynTree/Model/Model.h> #include <iDynTree/Model/Traversal.h> #include...
<commit_before><commit_msg>get rid of unecessary loop and change comment<commit_after><|endoftext|>
<commit_before>/*********************************************************************** created: Sun Mar 13 2005 author: Paul D Turner *************************************************************************/ /*************************************************************************** * Copyright (C)...
<commit_before>/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: FilteredContainer.cxx,v $ * * $Revision: 1.6 $ * * last change: $Author: rt $ $Date: 2005-09-08 09:57:48 $ * * The Contents of this file ...
<commit_before>#include "jni_helper.hpp" #include "logging.hpp" #include "../../../../../base/assert.hpp" static JavaVM * g_jvm = 0; // @TODO remove after refactoring. Needed for NVidia code void InitNVEvent(JavaVM * jvm); extern "C" { JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM * jvm, void *) { g_jvm = jvm;...
<commit_before>/* Copyright (c) 2010-2011 Sune Vuorela <sune@vuorela.dk> 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 r...
<commit_before>#include "ebc/BitcodeRetriever.h" #include "ebc/BitcodeArchive.h" #include "ebc/BitcodeContainer.h" #include "ebc/BitcodeMetadata.h" #include "ebc/EbcError.h" #include "ebc/util/Xar.h" #include "llvm/ADT/Triple.h" #include "llvm/Object/ELFObjectFile.h" #include "llvm/Object/MachO.h" #include "llvm/Obj...
<commit_before>/** * @file */ #pragma once #include "libbirch/Any.hpp" #include "libbirch/Atomic.hpp" #include "libbirch/type.hpp" #include "libbirch/memory.hpp" namespace libbirch { /** * Shared object. * * @ingroup libbirch * * @tparam T Type, must derive from Any. * * Supports reference counted garbage 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 "chrome/browser/chromeos/login/user_image_view.h" #include <algorithm> #include "app/l10n_util.h" #include "app/resource_bun...