text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>Adjusted the default support_points_minimal_distance to 1mm.<commit_after><|endoftext|> |
<commit_before>/// \file AddTaskEMCALTimeCalibration.C
/// \brief Configuration of task AliAnalysisTaskEMCALTimeCalib.
///
/// Configuration of task AliAnalysisTaskEMCALTimeCalib
///
/// The parameters for the analysis are:
/// \param outputFile: TString, output file name
/// \param geometryName: TString, geometry name... |
<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/browser/chromeos/clock_menu_button.h"
#include "app/gfx/canvas.h"
#include "app/gfx/font.h"
#include "app/l10n_util.h... |
<commit_before>#include "taichi/ir/ir.h"
#include "taichi/ir/transforms.h"
#include "taichi/ir/analysis.h"
#include "taichi/ir/pass.h"
#include "taichi/ir/visitors.h"
#include "taichi/program/compile_config.h"
#include "taichi/program/extension.h"
#include "taichi/program/function.h"
#include "taichi/program/kernel.h"
... |
<commit_before>//===----------- OrcCBindings.cpp - C bindings for the Orc APIs -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<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 "chrome/browser/history/in_memory_database.h"
#include "base/logging.h"
#include "base/string_util.h"
namespace history... |
<commit_before>#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
void handleCorrectGuess(int* streak, int playsLeft)
{
*streak = *streak + 1;
cout << "\n\nYou guessed correct! "<< playsLeft << " plays left, with a streak of " << *streak << "!";
}
void handleIncorrectGuess(int* streak... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationPreset.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 02:50:54 $
*
* The Contents of this f... |
<commit_before>#include <iostream>
#include <cstring>
#include <algorithm>
#include <limits>
#include <glm/glm.hpp>
#include <vtkType.h>
#include <vtkDataSetAttributes.h>
#include <vtkDataSet.h>
#include "glt/util.h"
#include "volume.h"
static const std::array<float, 42> CUBE_STRIP = {
1, 1, 0,
0, 1, 0,
1, 1, 1,
0... |
<commit_before>/* Copyright 2019 Istio Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requi... |
<commit_before><commit_msg>The Firefox3XImporter test was incorrectly deleting a ref counted object causing an ASSERT to fire resulting in this test to randomly fail on the Vista dbg builder.<commit_after><|endoftext|> |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>// This file is distributed under the MIT license.
// See the LICENSE file for details.
#include <cassert>
#include <iostream>
#include <limits>
#include <ostream>
#include <GL/glew.h>
#include <osg/MatrixTransform>
#include <osg/StateSet>
#include <osg/TriangleFunctor>
#include <cover/coVRPluginSup... |
<commit_before>/* Copyright 2015 Jonas Platte
*
* This file is part of Cyvasse Online.
*
* Cyvasse Online 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 yo... |
<commit_before>/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by appl... |
<commit_before>#include "contextproperty.h"
#include "propertylistener.h"
#include <QCoreApplication>
#include <QString>
#include <QStringList>
#include <QDebug>
int main(int argc, char **argv)
{
setenv("CONTEXT_PROVIDERS", ".", 0);
ContextProperty::setTypeCheck(true);
QCoreApplication app(argc, argv);
... |
<commit_before>/*
*
* Copyright 2016 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
<commit_before>//-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// Planet - An atmospheric code for planetary bodies, adapted to Titan
//
// Copyright (C) 2013 The PECOS Development Team
//
// This library is fre... |
<commit_before>//
// Created by Ivan Shynkarenka on 03.10.2016.
//
#include "catch.hpp"
#include "threads/condition_variable.h"
#include <thread>
using namespace CppCommon;
TEST_CASE("Condition variable notify one", "[CppCommon][Threads]")
{
int concurrency = 8;
int result1 = concurrency;
int result2 =... |
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to 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)
#include <libtorrent/alert.hpp>
#include <libtorrent/alert_types.hpp>
#include <boost/p... |
<commit_before>/**
* Copyright 2013 Truphone
*/
#include "include/cli.h"
#include <QCoreApplication>
#include <QDebug>
namespace truphone
{
namespace test
{
namespace cascades
{
namespace cli
{
const char * HarnessCli::STATE_NAMES[] =
{
"Waiting for Server",
"Waiting for Reply",
"Waiting for Recording t... |
<commit_before>// RUN: rm -rf %t
// Test that only forward declarations are emitted for types dfined in modules.
// Modules:
// RUN: %clang_cc1 -x objective-c++ -std=c++11 -g -dwarf-ext-refs -fmodules \
// RUN: -fmodule-format=obj -fimplicit-module-maps -DMODULES \
// RUN: -fmodules-cache-path=%t %s -I %S/Inpu... |
<commit_before><commit_msg>Fixed Windows compiler warning<commit_after><|endoftext|> |
<commit_before><commit_msg>fix: remove CR before comparing to the reference<commit_after><|endoftext|> |
<commit_before><commit_msg>Steam integration for MoF, SA, UFO<commit_after><|endoftext|> |
<commit_before>/*
kopetesockettimeoutwatcher.cpp - Kopete Socket Timeout Watcher
Copyright (c) 2009 Roman Jarosz <kedgedev@centrum.cz>
Kopete (c) 2009 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* ... |
<commit_before>/*
* Copyright (c) 2010 by Arduino LLC. All rights reserved.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of either the GNU General Public License version 2
* or the GNU Lesser General Public License version 2.1, both as
* published by the Free Software... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// @brief shutdown request handler
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, V... |
<commit_before>#include "ClassServer_wrap.h"
#include <boost/python/class.hpp>
//#include <boost/python/return_value_policy.hpp>
//#include <boost/python/reference_existing_object.hpp>
//#include <boost/python/overloads.hpp>
#include <opencog/atomspace/ClassServer.h>
using namespace opencog;
using namespace boost::pyt... |
<commit_before>#include "../base/SRC_FIRST.hpp"
#include "../base/mutex.hpp"
#include "../base/timer.hpp"
#include "../base/logging.hpp"
#include "../std/bind.hpp"
#include "../yg/internal/opengl.hpp"
#include "../yg/render_state.hpp"
#include "../yg/rendercontext.hpp"
#include "../yg/framebuffer.hpp"
#include "../yg... |
<commit_before>/*********************************************************************
*
* Copyright (C) 2007, Simon Kagstrom
*
* Filename: mips.hh
* Author: Simon Kagstrom <simon.kagstrom@gmail.com>
* Description: MIPS stuff
*
* $Id:$
*
**********************************************************... |
<commit_before>#include "controllers.h"
#include "ast/all.h"
using namespace Mugen;
StateParameterMap::StateParameterMap(){
}
StateParameterMap::StateParameterMap(const StateParameterMap & copy){
this->parameters = copy.parameters;
}
StateParameterMap::~StateParameterMap(){
}
const StateParameterMap & StatePa... |
<commit_before>/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
<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.
// This class is in interface to OmxCodec from the media playback
// pipeline. It interacts with OmxCodec and the VideoDecoderImpl
// i... |
<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 "ui/aura/root_window.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "ui/aura/event.h"
#includ... |
<commit_before>//
// yas_ui_collider.cpp
//
#include "yas_ui_collider.h"
#include "yas_observing.h"
#include "yas_property.h"
#include "yas_to_bool.h"
using namespace yas;
#pragma mark - shape
bool ui::anywhere_shape::hit_test(ui::point const &) const {
return true;
}
bool ui::circle_shape::hit_test(ui::point... |
<commit_before>// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2014-2015 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 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkColorSpaceXform.h"
#include "SkData.h"
#include "SkMakeUnique.h"
#include "skcms.h"
class SkColorSpaceXform_skcms : public SkColorSpaceXform {
publ... |
<commit_before>/*
* Skaffari - a mail account administration web interface based on Cutelyst
* Copyright (C) 2018 Matthias Fehring <mf@huessenbergnetz.de>
*
* This program 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 Fr... |
<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 ... |
<commit_before>/*
* test.cpp
*
* Created on: Jun 24, 2012
* Author: cryan
*/
#include "headings.h"
#include "libaps.h"
#include "test.h"
void test::programSquareWaves() {
int waveformLen = 1001;
int pulseLen = 500;
int cnt;
int ret;
short int * pulseMem = 0;
pulseMem = (short int *) buildPulseMe... |
<commit_before>/*
// $ g++ -O3 -o createdSortedJaccsFile createdSortedJaccsFile.cpp
// $ ./createdSortedJaccsFile network.jaccs sortedjaccs.csv
*/
#include <math.h>
#include <ctime>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <set>
#include <map>
#include <utility> // for pairs
#include <alg... |
<commit_before>//
// TapeUEF.cpp
// Clock Signal
//
// Created by Thomas Harte on 18/01/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#include "TapeUEF.hpp"
#include <string.h>
Storage::UEF::UEF(const char *file_name) :
_chunk_id(0), _chunk_length(0), _chunk_position(0),
_time_base(1200)
{
_f... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: resultsethelper.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: ihi $ $Date: 2007-06-05 14:56:40 $
*
* The Contents of this file a... |
<commit_before>/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2008, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
<commit_before>/*
* drakeUtil.cpp
*
* Created on: Jun 19, 2013
* Author: russt
*/
#include "drakeUtil.h"
#include <string.h>
#include <string>
#include <math.h>
#include <limits>
#include <Eigen/Dense>
using namespace std;
bool isa(const mxArray* mxa, const char* class_str)
// mxIsClass seems to not be ab... |
<commit_before>/***************************************************************************
main.cpp - description
-------------------
begin : Sat Nov 4 21:16:33 CST 2000
copyright : (C) 2000 by Jon S. Berndt
email ... |
<commit_before>/*******************************************************************************
The MIT License (MIT)
Copyright (c) 2013 JCube001
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 w... |
<commit_before>/* Copyright (c) 2010-present Advanced Micro Devices, Inc.
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, c... |
<commit_before>/* Copyright (c) 2010-present Advanced Micro Devices, Inc.
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, c... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, Inc.
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, co... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, Inc.
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, co... |
<commit_before>/*
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lic... |
<commit_before>/*
* Copyright 2011, 2012 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 applic... |
<commit_before>/*** repositionDefExpressions.cpp
***
*** This pass and function moves around the defPoints for variables to
*** where the first use is.
***
*** The algorithm: look at a function and collect all the variables. Push
*** all the variables down into a block if the variable isn't used at the
*** top l... |
<commit_before>//===- MCJITTest.cpp - Unit tests for the MCJIT ---------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#include <iostream>
/*This is a Program to interact with database*/
int main()
{
cout<<"Hello";
return 0;
}<commit_msg>Dev comment<commit_after>#include <iostream>
/*This is a Program to interact with database*/
int main()
{
cout<<"Hello";
return 0;
}
/* It is in Devlopemnent phase */<|endoftext... |
<commit_before>#include <math.h>
#include <functional>
#include <random>
#include <gauss_multi.h>
#include <gp.h>
using namespace std;
typedef unsigned int uint;
// Random engine to use throughout
default_random_engine gen;
// How many functions to sample at each step
int n_samp = 5;
int main()
{
// Create a new ... |
<commit_before>#include "Rendering/GBuffer.h"
#include "Rendering/RenderTargetDX11.h"
#include "Rendering/DepthStencilBufferDX11.h"
#include "Rendering/Texture2dDX11.h"
#include "Rendering/BlendState.h"
constexpr unsigned int GBUFFER_RENDER_TARGET_NUM = 5;
namespace Mile
{
GBuffer::GBuffer(RendererDX11* renderer) ... |
<commit_before>/*
This file is part of Akregator.
Copyright (C) 2004 Sashmit Bhaduri <smt@vfemail.net>
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
... |
<commit_before>//===-- SocketTest.cpp ------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*****************************************************************************
* Media Library
*****************************************************************************
* Copyright (C) 2015 Hugo Beauzée-Luyssen, Videolabs
*
* Authors: Hugo Beauzée-Luyssen<hugo@beauzee.fr>
*
* This program is f... |
<commit_before>#include <iostream>
#include "matmethods.hpp"
#include "h5objcpp.hpp"
using namespace std;
int main(int argc, char* argv[]){
char* h5file;
char* outputfile;
H5File file;
int chunkstart, chunknum,Achunksize,Bchunksize;
int totalAchunks,totalBchunks,totalchunks;
int kfold,bsi;
if(argc!=9... |
<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 QtQuick.Dialogs module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial Li... |
<commit_before>#include "AssetSyncOutputObject.h"
#include <maya/MGlobal.h>
#include <maya/MPlug.h>
#include <maya/MFnDependencyNode.h>
#include <maya/MFnDagNode.h>
#include "AssetNode.h"
#include "AssetSyncOutputGeoPart.h"
#include "AssetSyncOutputInstance.h"
AssetSyncOutputObject::AssetSyncOutputObject(
const MP... |
<commit_before><commit_msg>planning: fix obstacle_test compile warning.<commit_after><|endoftext|> |
<commit_before>#include "vtrc-channels.h"
#include "vtrc-protocol-layer-s.h"
#include "vtrc-common/vtrc-call-context.h"
#include "vtrc-common/vtrc-exception.h"
#include "vtrc-common/vtrc-closure-holder.h"
#include "protocol/vtrc-errors.pb.h"
#include "protocol/vtrc-rpc-lowlevel.pb.h"
//#include "vtrc-chrono.h"
#incl... |
<commit_before>#include "perf_precomp.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/opencv_modules.hpp"
#include "opencv2/flann.hpp"
namespace opencv_test
{
using namespace perf;
typedef TestBaseWithParam<size_t> FeaturesFinderVec;
typedef TestBaseWithParam<string> match;
typedef tuple<string, int> matchVec... |
<commit_before>#include <Game/cClientAdapter.h>
#include <Network/cUDPClientManager.h>
#include <Network/cDeliverManager.h>
#include <Network/cEventManager.h>
#include <Network/cRequestManager.h>
#include <Network/cResponseManager.h>
#include <Game/cGemManager.h>
#include <Game/cPlayerManager.h>
#include <Game/cStrat... |
<commit_before>#include "blackhole/detail/formatter/string/parser.hpp"
#include <unordered_map>
#include <boost/algorithm/string.hpp>
#include <boost/variant/get.hpp>
namespace blackhole {
namespace detail {
namespace formatter {
namespace string {
namespace {
template<typename Iterator, class Range>
static auto s... |
<commit_before>
#ifndef EQUELLE_COLLOFSCALAR_HEADER_INCLUDED
#define EQUELLE_COLLOFSCALAR_HEADER_INCLUDED
//#include <thrust/device_ptr.h>
//#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
//#include <cublas_v2.h>
#include <cuda.h>
#include <cuda_runtime.h>
#include <string>
#include <fstream>
#in... |
<commit_before>/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrPathRendererChain.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "src/gpu/GrCaps.h"
#inc... |
<commit_before>/***************************************************************************//**
* FILE : threejs_export.hpp
*
* File containing a class for exporting threejs vertices and script for rendering.
*/
/* OpenCMISS-Zinc Library
*
* This Source Code Form is subject to the terms of the Mozilla Public
* Lice... |
<commit_before>#include "onoff_gpio.h"
#include <QDebug>
OnOffMorse::OnOffMorse()
{
int pin = 30;
exportPin(pin);
setDirection(pin, "out");
QString path = QString("/sys/class/gpio/gpio%1/value").arg(pin);
m_file.setFileName(path);
if (!m_file.open(QIODevice::WriteOnly)) {
qDebug() << ... |
<commit_before>/*
*
* MIT License
*
* Copyright (c) 2016-2018 The Cats 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 ... |
<commit_before>/**
* @file follow_me.cpp
*
* @brief Example that demonstrates the usage of Follow Me plugin.
* The example registers with FakeLocationProvider for location updates
* and sends them to the Follow Me plugin which are sent to drone. You can observe
* drone following you. We print last location of the... |
<commit_before>/*
* Copyright (c) 2007-2008 Digital Bazaar, Inc. All rights reserved.
*/
#include "db/net/Connection.h"
#include "db/util/Math.h"
#include <cstring>
using namespace std;
using namespace db::io;
using namespace db::net;
using namespace db::rt;
using namespace db::util;
ConnectionInput... |
<commit_before>// easyxml.cpp - implementation of EasyXML interfaces.
#pragma warning( disable : 4786 )
#include <string.h> // strcmp()
#include <fstream>
using namespace std;
#include "easyxml.hpp"
#include "xmlparse.h"
#include "widestring.h"
//////////////////////////////////////////////////////////////////////... |
<commit_before>/*
* templatelistfiltermodel.cpp - proxy model class for lists of alarm templates
* Program: kalarm
* Copyright © 2007,2009 by David Jarvie <djarvie@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as pu... |
<commit_before>//===- LowerBitSets.cpp - Unit tests for bitset lowering ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- io.cpp ------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "allocator_ros.h"
#include <vector>
#include <limits>
#include <eigen_conversions/eigen_msg.h>
#include "vortex_msgs/ThrusterForces.h"
#include "uranus_dp/eigen_typedefs.h"
#include "uranus_dp/eigen_helper.h"
Allocator::Allocator(ros::NodeHandle nh) : nh(nh)
{
sub = nh.subscribe("rov_forces... |
<commit_before>/******************************************************************************
Copyright (c) Dmitri Dolzhenko
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, ... |
<commit_before>/*$Id$
*
* This source file is a part of the Berlin Project.
* Copyright (C) 1999, 2000 Stefan Seefeld <stefan@berlin-consortium.org>
* Copyright (C) 1999 Graydon Hoare <graydon@pobox.com>
* http://www.berlin-consortium.org
*
* This library is free software; you can redistribute it and/or
* mod... |
<commit_before>#include "hext/pattern/capture-pattern.h"
namespace hext {
capture_pattern::capture_pattern(
const std::string& result_name,
const std::string& regex
)
: name(result_name)
, rx(regex.empty() ? nullptr : make_unique<boost::regex>(regex))
{
}
capture_pattern::~capture_pattern()
{
}
std::string ca... |
<commit_before>#include "./mouse_wheel_transition.h"
#include <QDebug>
MouseWheelTransition::MouseWheelTransition(QObject *object, QState *sourceState)
: QEventTransition(object, QEvent::Scroll, sourceState)
{
}
MouseWheelTransition::~MouseWheelTransition()
{
}
bool MouseWheelTransition::eventTest(QEvent *event)
{... |
<commit_before>/**
* Copyright 2008 Matthew Graham
* 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>// Copyright (C) 2010 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The University
// of Manchester.
// All rights reserved.
// Copyright (C) 2008 - 2009 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., EML Research, gGmbH, Universi... |
<commit_before>// Copyright (C) 2014 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The University
// of Manchester.
// All rights reserved.
#include <math.h>
#include <string.h>
#include <algorithm>
#include "copasi/utilities/CUnit.h"
#include "copasi/utilities/... |
<commit_before>/*************************************************************************
*
* $RCSfile: JDriver.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: oj $ $Date: 2000-11-22 14:44:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/******************************************************************************
* This file is part of the Gluon Development Platform
* Copyright (c) 2010 Arjen Hiemstra <ahiemstra@heimr.nl>
* Copyright (C) 2011 Shantanu Tushar <jhahoneyk@gmail.com>
*
* This library is free software; you can redistr... |
<commit_before>/*
* constrained_ik_plugin.cpp
*
* Created on: Sep 15, 2013
* Author: dsolomon
*/
/*
* Software License Agreement (Apache License)
*
* Copyright (c) 2013, Southwest Research Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2014 Michael G. Brehm
//
// 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 wi... |
<commit_before>//
// Created by monty on 21/02/16.
//
#include <algorithm>
#include <glm/glm.hpp>
#include "Trig.h"
Trig::Trig() {
cachedVertexData = nullptr;
cachedUVData = nullptr;
}
const float* Trig::getUVData() {
if ( cachedUVData == nullptr ) {
cachedUVData = new float[ 3 * 2 ];
cach... |
<commit_before>//===-- RegisterScavenging.cpp - Machine register scavenging --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- DWARFCompileUnit.cpp ----------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===- GsymCreator.cpp ----------------------------------------------------===//
//
// 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>/** \file add_author_synonyms.cc
* \brief Adds author synonyms to each record.
* \author Oliver Obenland
*/
/*
Copyright (C) 2016-2018, Library of the University of Tübingen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.