text stringlengths 54 60.6k |
|---|
<commit_before>//
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2013 Project Chrono
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file at the top level of the distribution
// and at http://projectchrono.org/license-chrono.... |
<commit_before>
/*
* Note this contains experimental highlighting for J.
* Current implementation attempts to suppport:
* strings, numbers, primitive nouns, control words,
* comments, multiline Note.
* There is currently no context aware support (for example to show that control
* words are not valid outside an e... |
<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 _MARRAY_MARRAY_SLICE_HPP_
#define _MARRAY_MARRAY_SLICE_HPP_
#include "marray_base.hpp"
namespace MArray
{
namespace detail
{
template <typename It1, typename It2>
void get_slice_dims_helper(It1, It2) {}
template <typename It1, typename It2, typename... Dims>
void get_slice_dims_helper(It1 le... |
<commit_before>/**
* @file interactive_search.cpp
* @author Sean Massung
*/
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include "caching/all.h"
#include "corpus/document.h"
#include "index/inverted_index.h"
#include "index/ranker/all.h"
#include "analyzers/analyzer.h"
#include "ut... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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 ... |
<commit_before>/*************************************************************************
*
* $RCSfile: autofmt.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: dr $ $Date: 2001-11-19 13:31:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hdrcont.hxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2008-02-19 15:32:59 $
*
* The Contents of this file are made a... |
<commit_before>//
// WidgetDefProvider.cpp
// Chilli Source
// Created by Scott Downie on 25/07/2014.
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (t... |
<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 use, ... |
<commit_before>/*
* Copyright (C) 2010 Google 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
* notice, this l... |
<commit_before>#ifndef KISSFFT_CLASS_HH
#include <complex>
#include <vector>
namespace kissfft_utils {
template <typename T_scalar>
struct traits
{
typedef T_scalar scalar_type;
typedef std::complex<scalar_type> cpx_type;
void fill_twiddles( std::complex<T_scalar> * dst ,int nfft,bool inverse)
... |
<commit_before><commit_msg>gst/src: Allow opening device with only type defined<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2006, 2007 Apple Computer, Inc.
* Copyright (c) 2006, 2007, 2008, 2009, 2012 Google 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:
*
* * Redistr... |
<commit_before>#include "specializeParenOpExprs.h"
#include "expr.h"
#include "stmt.h"
#include "stringutil.h"
#include "symtab.h"
//#define NO_RESOLVE_CONSTRUCTOR
void SpecializeParenOpExprs::postProcessExpr(Expr* expr) {
Expr* paren_replacement = NULL;
if (ParenOpExpr* paren = dynamic_cast<ParenOpExpr*>(expr)) ... |
<commit_before>/**
* @file ThingSpeak.cpp
* @version 1.0
*
* @section License
* Copyright (C) 2014-2015, Mikael Patel
*
* 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>// Created by cschalk on 3/22/16.
// Challenge 12 : First non duplicate letter
#include <fstream>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main(int argc, char ** args) {
std::ifstream input {args[1]};
std::string line;
std::vector<char> foundDupli... |
<commit_before>// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "Lic... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: basicupdatemerger.cxx,v $
*
* $Revision: 1.9 $
*
* last change: $Author: obo $ $Date: 2006-09-16 15:02:26 $
*
* The Contents of this file... |
<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: HStorageMap.hxx,v $
* $Revision:... |
<commit_before>#ifndef RINF_CALLER_HXX_
#define RINF_CALLER_HXX_
#include <opengm/opengm.hxx>
#include <opengm/inference/reducedinference.hxx>
#ifdef WITH_CPLEX
#include <opengm/inference/lpcplex.hxx>
#include <opengm/inference/multicut.hxx>
#endif
#ifdef WITH_FASTPD
#include <opengm/inference/external/fastPD.hxx>
#... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: isofallback.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 14:29:59 $
*
* The Contents of this file are ma... |
<commit_before>#include "broadcast.hpp"
#include "bd_tool.hpp"
#include <iostream>
#include <netdb.h>
#include <sys/socket.h>
#ifndef SENDER
const int PORT = 7773;
#else
const int PORT = 7774;
#endif
void bd_so::BroadcastCenter::startSend(std::string msg) {
if(this->is_casting || !this->is_sender || this->is_receivin... |
<commit_before>/// HEADER
#include "import_ros.h"
/// COMPONENT
#include <csapex_ros/ros_handler.h>
#include <csapex_ros/ros_message_conversion.h>
/// PROJECT
#include <csapex/msg/input.h>
#include <csapex/msg/output.h>
#include <csapex/msg/message_factory.h>
#include <csapex/utility/stream_interceptor.h>
#include <c... |
<commit_before>#ifndef __bootstrap_stl_hpp
#define __bootstrap_stl_hpp__
#include "dispatchkit.hpp"
#include "register_function.hpp"
namespace dispatchkit
{
template<typename Container>
struct Input_Range
{
Input_Range(Container &c)
: m_begin(c.begin()), m_end(c.end())
{
}
... |
<commit_before>/*
* 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. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software dis... |
<commit_before><commit_msg>INTEGRATION: CWS changefileheader (1.3.170); FILE MERGED 2008/04/01 15:44:36 thb 1.3.170.3: #i85898# Stripping all external header guards 2008/04/01 12:43:16 thb 1.3.170.2: #i85898# Stripping all external header guards 2008/03/31 13:01:09 rt 1.3.170.1: #i87441# Change license header to LPGL v... |
<commit_before>/*************************************************************************
*
* $RCSfile: clipfmtitem.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: kz $ $Date: 2005-03-01 19:09:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following li... |
<commit_before>/*************************************************************************
*
* $RCSfile: lboxctrl.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: tl $ $Date: 2001-09-24 11:45:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<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>/*************************************************************************
*
* $RCSfile: tabcol.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2003-12-01 16:32:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>// $Id$
#include <iostream>
#include <iomanip>
#include <string>
#include <cstdio>
#include <cassert>
#include "Util.h"
#include "StaticData.h"
#include "ScoreIndexManager.h"
#include "ScoreProducer.h"
#include "ScoreComponentCollection.h" // debugging
namespace Moses
{
using namespace std;
void Score... |
<commit_before>/*
* Copyright (c) 2006, Mathieu Champlon
* 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 ... |
<commit_before>#include <gtest/gtest.h>
#include <uvw.hpp>
TEST(Pipe, ReadWrite) {
#ifdef _MSC_VER
const std::string sockname{"\\\\.\\pipe\\test.sock"};
#else
const std::string sockname = std::string{TARGET_PIPE_DIR} + std::string{"/test.sock"};
#endif
auto loop = uvw::Loop::getDefault();
auto server... |
<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 "config.h"
#include "base/compiler_specific.h"
MSVC_PUSH_WARNING_LEVEL(0);
#include "DOMWindow.h"
#include "FloatRect.h... |
<commit_before>//===--- FileDistance.cpp - File contents container -------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Pass -DGHEAP_CPP11 to compiler for gheap_cpp11.hpp tests,
// otherwise gheap_cpp03.hpp will be tested.
#include "gheap.hpp"
#include "galgorithm.hpp"
#include "gpriority_queue.hpp"
#include <algorithm> // for *_heap(), copy(), move()
#include <cstdlib> // for rand(), srand()
#include <ctime> ... |
<commit_before>/*
* Copyright (C) 2020-present 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... |
<commit_before><commit_msg>before cleaning up old commented lines<commit_after><|endoftext|> |
<commit_before>/* Copyright 2019 Google LLC. 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 applicable law o... |
<commit_before>/*
* lanczosSO.hpp
*
* Created on: Mar 3, 2015
* Author: hugo
*/
#ifndef ALGORITHM_LANCZOSSO_HPP_
#define ALGORITHM_LANCZOSSO_HPP_
#include <cmath>
#include <sstream>
#include <string>
#include "../core/eigenwrapper.hpp"
#include "../core/matrix.hpp"
#include "../core/primitivematrix.hpp"
#... |
<commit_before>/*************************************************************************
*
* $RCSfile: srchdlg.hxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: kz $ $Date: 2004-07-30 15:44:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/time.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <boost/lexical_cast.hpp>
#include "packet.h"
#define USAGE "Usage:\r\nc \r\n[tux machine number] \r\n[probability of packet... |
<commit_before>/*************************************************************************
*
* $RCSfile: FilteredContainer.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2004-10-22 09:00:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the follow... |
<commit_before>#include "laser.h"
#include <geometry.h>
#include <digitanks/units/digitank.h>
#include <digitanks/digitanksgame.h>
#include <digitanks/dt_renderer.h>
size_t CLaser::s_iBeam = 0;
REGISTER_ENTITY(CLaser);
NETVAR_TABLE_BEGIN(CLaser);
NETVAR_TABLE_END();
SAVEDATA_TABLE_BEGIN(CLaser);
S... |
<commit_before><commit_msg>Use FilterHeaders() instead of HttpUtil::StripHeaders().<commit_after><|endoftext|> |
<commit_before>#include <x0/DebugLogger.h>
#include <x0/Tokenizer.h>
#include <x0/Buffer.h>
#include <cstdlib>
#include <cstdarg>
namespace x0 {
DebugLogger::Instance::Instance(DebugLogger* logger, const std::string& tag) :
logger_(logger),
tag_(tag),
enabled_(false),
verbosity_(1),
codes_(),
pre_(),
post_()
{... |
<commit_before>/*
TidyEngine
Copyright (C) 2016 Jakob Sinclair
This program 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 3 of the License, or
(at your option) any later version.
This pro... |
<commit_before>// ------------------------------------------------------------------------
// eca-logger.cpp: A logging subsystem implemented as a singleton class
// Copyright (C) 2002 Kai Vehmanen (kai.vehmanen@wakkanet.fi)
//
// This program is free software; you can redistribute it and/or modify
// it under the term... |
<commit_before>#include <cstdio>
#include <algorithm>
#include "kms++.h"
#include "test.h"
#include "cmdoptions.h"
using namespace std;
using namespace kms;
static map<string, CmdOption> options = {
{ "m", HAS_PARAM("Set display mode, for example 1920x1080") },
};
int main(int argc, char **argv)
{
Card card;
Cm... |
<commit_before>#include "Suite.h"
#include <list>
#include <functional>
#include <iostream>
#include <string>
void Test::Suite::addTest(string description, function<void()> test)
{
Test::Case c;
c = test;
c.describe(description);
tests_.push_back(c);
}
void Test::Suite::addTest(function<void()> test)
{
Tes... |
<commit_before>/*
Highly Optimized Object-oriented Many-particle Dynamics -- Blue Edition
(HOOMD-blue) Open Source Software License Copyright 2008-2011 Ames Laboratory
Iowa State University and The Regents of the University of Michigan All rights
reserved.
HOOMD-blue may contain modifications ("Contributions") provide... |
<commit_before>/*
This file is part of libkcal.
Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
ve... |
<commit_before>/* Copyright 2011 Thomas McGuire <mcguire@kde.org>
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2 of the License or
( at your option ) version 3 o... |
<commit_before>#include <iostream>
#include <random>
#include <stdlib.h>
#define SIZEF 500
struct Position{
int x = 0;
int y = 0;
};
using namespace std;
int walk(Position *p,int board[SIZEF][SIZEF],int size){
//https://stackoverflow.com/questions/5008804/generating-random-integer-from-a-range
random_device ... |
<commit_before>/*
* Copyright 2010 Erik Gilling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
<commit_before>/**
* @file
*/
#pragma once
#include "libbirch/global.hpp"
#include "libbirch/Span.hpp"
#include "libbirch/Index.hpp"
#include "libbirch/Range.hpp"
#include "libbirch/View.hpp"
#include "libbirch/Eigen.hpp"
#include <cstddef>
namespace bi {
/**
* Empty frame.
*
* @ingroup libbirch
*
* @see None... |
<commit_before>// This file is part of the uSTL library, an STL implementation.
//
// Copyright (c) 2005 by Mike Sharov <msharov@users.sourceforge.net>
// This file is free software, distributed under the MIT License.
#include "stdtest.h"
template <typename T, size_t N>
void TestArray (const char* ctrType)
{
cout... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unopool.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2005-09-08 19:28:53 $
*
* The Contents of this file are made a... |
<commit_before>#include <osgUtil/TriStripVisitor>
#include "TriangleStripVisitor"
void TriangleStripVisitor::apply(osg::Geometry& geometry) {
osgUtil::TriStripVisitor tristrip;
tristrip.setCacheSize(_cacheSize);
tristrip.setMinStripSize(_minSize);
tristrip.stripify(geometry);
// merge stritrip to... |
<commit_before>/*************************************************************************
*
* $RCSfile: dbgoutsw.hxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: obo $ $Date: 2005-01-25 13:58:12 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>#include "globalhandler.h"
#include "ipmid-api.h"
#include <stdio.h>
#include <string.h>
#include <stdint.h>
const char *control_object_name = "/org/openbmc/control/bmc0";
const char *control_intf_name = "org.openbmc.control.Bmc";
const char *objectmapper_service_name = "org.openbmc.objectmap... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>/***************************************************************************
kmsystemtray.cpp - description
-------------------
begin : Fri Aug 31 22:38:44 EDT 2001
copyright : (C) 2001 by Ryan Breen
email ... |
<commit_before>
/*
Bubblehelp class Copyright (C) 1998 Marco Nelissen <marcone@xs4all.nl>
Freely usable in non-commercial applications, as long as proper credit
is given.
Usage:
- Add the file BubbleHelper.cpp to your project
- #include "BubbleHelper.h" in your files where needed
- Create a sing... |
<commit_before>/*
kopeteiface.cpp - Kopete DCOP Interface
Copyright (c) 2002 by Hendrik vom Lehn <hennevl@hennevl.de>
Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
*************************************************************************
* ... |
<commit_before>/*
*
* Copyright 2014, Google 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
* notice, thi... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) University College London (UCL).
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FO... |
<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 "BaseTextShadowNode.h"
#include <react/components/text/RawTextProps.h>
#include <react/components/text/Ra... |
<commit_before>#include "musicxmsongsuggestthread.h"
#include "musicdownloadxminterface.h"
#///QJson import
#include "qjson/parser.h"
MusicXMSongSuggestThread::MusicXMSongSuggestThread(QObject *parent)
: MusicDownLoadSongSuggestThread(parent)
{
}
void MusicXMSongSuggestThread::startToSearch(const QString &text)
... |
<commit_before>#include <osgProducer/Viewer>
#include <osg/Group>
#include <osg/Geode>
#include <osg/ShapeDrawable>
#include <osg/Texture2D>
#include <osg/PositionAttitudeTransform>
#include <osg/MatrixTransform>
#include <osgDB/ReadFile>
#include <osgText/Text>
#include <osgSim/SphereSegment>
#include <osgSim/Over... |
<commit_before>/*
* George Papanikolaou CEID 2014
* Shortest Augmenting Path Maximum Flow algorithm implementation
* aka "Edmonds–Karp algorithm"
*/
#include <cstdlib>
#include <ctime>
#include <vector>
#include <utility>
#include <algorithm>
#include "boost-types.h"
#include <boost/graph/visitors.hpp>
#include <b... |
<commit_before>/**
* Non-metric Space Library
*
* Authors: Bilegsaikhan Naidan (https://github.com/bileg), Leonid Boytsov (http://boytsov.info).
* With contributions from Lawrence Cayton (http://lcayton.com/) and others.
*
* For the complete list of contributors and further details see:
* https://github.com/sear... |
<commit_before>/*
* opencog/learning/moses/moses/local_moses.cc
*
* Copyright (C) 2002-2008 Novamente LLC
* All Rights Reserved
*
* Written by Moshe Looks
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License v3 as
* published by... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (directui@nokia.com)
**
** This file is part of mhome.
**
** If you have questions regarding the use o... |
<commit_before>
#include <gameplay/GameplayModule.hpp>
#include <gameplay/Behavior.hpp>
#include <gameplay/behaviors/positions/Goalie.hpp>
#include <gameplay/Play.hpp>
#include <Constants.hpp>
#include <protobuf/LogFrame.pb.h>
#include <Robot.hpp>
#include <stdio.h>
#include <iostream>
#include <boost/foreach.hpp>
#in... |
<commit_before>
// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.
enum NPBClass ... |
<commit_before>#include <BALL/VIEW/DIALOGS/pluginDialog.h>
#include <BALL/PLUGIN/pluginManager.h>
#include <BALL/PLUGIN/BALLPlugin.h>
#include <BALL/VIEW/PLUGIN/VIEWPlugin.h>
#include <BALL/COMMON/logStream.h>
#include <BALL/VIEW/WIDGETS/scene.h>
#include <BALL/VIEW/KERNEL/mainControl.h>
#include <BALL/VIEW/PLUGIN/inp... |
<commit_before>#ifndef ATTRIBUTE_HPP
#define ATTRIBUTE_HPP
#include <set>
#include <vector>
#include <chrono>
#include <memory>
#include <boost/optional.hpp>
#include <boost/date_time/gregorian/gregorian.hpp>
#include <boost/date_time/local_time/local_time.hpp>
/**
* @brief The VR enum defines the value representat... |
<commit_before>/*************************************************************************
*
* $RCSfile: b3dpolygontools.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2004-08-03 13:31:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>/**********************************************************************
* $Id$
*
* GEOS - Geometry Engine Open Source
* http://geos.refractions.net
*
* Copyright (C) 2006 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is free software; you can redistribute and/... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>/*************************************************************************
*
* $RCSfile: urp_dispatch.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: hr $ $Date: 2003-04-28 16:30:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following ... |
<commit_before>#ifndef __STAN__GM__PARSER__PROGRAM_GRAMMAR_DEF__HPP__
#define __STAN__GM__PARSER__PROGRAM_GRAMMAR_DEF__HPP__
#include <cstddef>
#include <iomanip>
#include <iostream>
#include <istream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include <std... |
<commit_before>/* ****************************************************************************
*
* FILE SamsonSupervisor.cpp
*
* AUTHOR Ken Zangelin
*
* CREATION DATE Dec 15 2010
*
*/
#include "logMsg.h" // LM_*
#include "traceLevels.h" // LMT_*
#incl... |
<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>/*=====================================================================
APM_PLANNER Open Source Ground Control Station
(c) 2013, Bill Bonney <billbonney@communistech.com>
This file is part of the APM_PLANNER project
APM_PLANNER is free software: you can redistribute it and/or modify
it under ... |
<commit_before><commit_msg>catch by reference<commit_after><|endoftext|> |
<commit_before>// Author: Wim Lavrijsen, February 2006
// Bindings
#include "PyROOT.h"
#include "TPyROOTApplication.h"
#include "Utility.h"
// ROOT
#include "TROOT.h"
#include "TInterpreter.h"
#include "TSystem.h"
#include "TBenchmark.h"
#include "TStyle.h"
#include "TError.h"
#include "Getline.h"
//#include "TVirtua... |
<commit_before>#include "StateSpace.h"
// NOTE: cannot initialise angle_bins or velocity_bins here as they are static. Also space is not a field of StateSpace and
// _angle_max and _velocity_max are not declared.
StateSpace::StateSpace(int _angle_bins, int _velocity_bins, const PriorityQueue<int,double>& queue ):
spa... |
<commit_before>
#include "std_incl.h"
#include "utils.h"
#include "tinydir.h"
typedef void (*process_image_cb)(ImageData *img, int bead, int frame);
std::string file_ext(const char *f){
int l=strlen(f)-1;
while (l > 0) {
if (f[l] == '.')
return &f[l+1];
l--;
}
return "";
}
struct BeadPos{ int x,y; };
std... |
<commit_before>
#include <map>
#include <set>
#include <ocelot/ir/interface/HammockGraph.h>
#include <ocelot/ir/interface/Instruction.h>
#include <hydrazine/implementation/string.h>
#include <hydrazine/implementation/debug.h>
#ifdef REPORT_BASE
#undef REPORT_BASE
#endif
#define REPORT_BASE 1
//////////////////////... |
<commit_before>/*
Copyright (C) 1998 by Jorrit Tyberghein
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 of the License, or (at your option) any later ve... |
<commit_before>/*
Dynamics/Kinematics modeling and simulation library.
Copyright (C) 1999 by Michael Alexander Ewert
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... |
<commit_before>/*
Copyright 2014-2015 Adam Grandquist
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... |
<commit_before>/*
* This file is a part of Xpiks - cross platform application for
* keywording and uploading images for microstocks
* Copyright (C) 2014-2017 Taras Kushnir <kushnirTV@gmail.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 ... |
<commit_before>#ifndef _SDD_MEM_CACHE_HH_
#define _SDD_MEM_CACHE_HH_
#include <algorithm> // count_if, for_each, nth_element
#include <cstdint> // uint32_t
#include <forward_list>
#include <numeric> // accumulate
#include <tuple>
#include <utility> // forward
#include <vector>
#include <boost/intrusive/unordere... |
<commit_before>#include "query.hpp"
#include "delimiters.hpp"
#include "keyword_matcher.hpp"
#include "string_match.hpp"
namespace search
{
namespace impl
{
uint32_t KeywordMatch(strings::UniChar const * sA, uint32_t sizeA,
strings::UniChar const * sB, uint32_t sizeB,
uint3... |
<commit_before>//===- InheritViz.cpp - Graphviz visualization for inheritance --*- 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 "PlatformEntity.h"
PlatformEntity::PlatformEntity(){}
PlatformEntity::~PlatformEntity()
{
this->Shutdown();
}
int PlatformEntity::Initialize(int entityID, PhysicsComponent * pComp, GraphicsComponent * gComp, AIComponent * aiComp)
{
int result = 0;
this->InitializeBase(entityID, pComp, gComp, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.