text stringlengths 54 60.6k |
|---|
<commit_before>/* cuda_wrapper/cuda_wrapper.hpp
*
* Copyright (C) 2013 Felix Höfling
* Copyright (C) 2007 Peter Colberg
*
* This file is part of HALMD.
*
* HALMD 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 Fo... |
<commit_before><commit_msg>CID#1103727 the intent is surely to compare nPos, nStart cannot be -1<commit_after><|endoftext|> |
<commit_before>// A full shader uniform block. This is to get away from the machinery that uses boost::variant and some of the crazy namespacing that comes up far too often when writing client-side code.
#pragma once
namespace noob
{
struct uniform_block
{
};
}
<commit_msg>Add smartass comments<commit_after>// ... |
<commit_before>/*
* Copyright (c) 2012-2015 Daniele Bartolini and individual contributors.
* License: https://github.com/taylor001/crown/blob/master/LICENSE
*/
#include "config.h"
#include "dynamic_string.h"
#include "filesystem.h"
#include "log.h"
#include "lua_resource.h"
#include "os.h"
#include "temp_allocator.... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: ResampleImageFilter3.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.
See ITK... |
<commit_before>#include "UserCode/diall/interface/anaPuppiProducer.h"
#include "UserCode/diall/interface/lwJet.h"
#include "UserCode/diall/interface/pfParticle.h"
#include "Math/QuantFuncMathCore.h"
#include "Math/SpecFuncMathCore.h"
#include "Math/ProbFunc.h"
#include "TClass.h"
#include "TMath.h"
ClassImp(anaPuppi... |
<commit_before>
/** \copyright
* Copyright (c) 2013, Balazs Racz
* 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 notic... |
<commit_before>/**
* L I N E A R A L G E B R A O P C O D E S F O R C S O U N D
* Michael Gogins
*
* These opcodes implement many linear algebra operations
* from BLAS and LAPACK, up to and including eigenvalue decompositions.
* They are designed to facilitate MATLAB-style signal processing,
* and of cou... |
<commit_before>// libmesh includes
#include <libmesh/elem.h>
#include <libmesh/enum_elem_type.h>
#include <libmesh/mesh_generation.h>
#include <libmesh/mesh.h>
// unit test includes
#include "test_comm.h"
#include "libmesh_cppunit.h"
using namespace libMesh;
class VolumeTest : public CppUnit::TestCase
{
public:
C... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use t... |
<commit_before>//===- lib/MC/MCStreamer.cpp - Streaming Machine Code Output --------------===//
//
// 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) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
<commit_before>/****************************************
* Include Libraries
****************************************/
#include "Ubidots.h"
/****************************************
* Define Instances and Constants
****************************************/
#ifndef UBIDOTS_TOKEN
#define UBIDOTS_TOKEN "..." // Pu... |
<commit_before><commit_msg>coverity#736301 the 2nd arg is a gpointer<commit_after><|endoftext|> |
<commit_before>/* Copyright (c) 2008-2017 the MRtrix3 contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
*
* MRtrix is distributed in the hope that it ... |
<commit_before>/*=========================================================================
Library: TubeTK/VTree3D
Authors: Stephen Aylward, Julien Jomier, and Elizabeth Bullitt
Original implementation:
Copyright University of North Carolina, Chapel Hill, NC, USA.
Revised implementation:
Copyright Kitware Inc., C... |
<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 "webkit/tools/test_shell/webwidget_host.h"
#include <cairo/cairo.h>
#include <gtk/gtk.h>
#include "base/logging.h"
#inc... |
<commit_before>#include "PlainPrinter.h"
#include "ASTExprTraits.h"
#include <clang/Lex/Lexer.h>
PlainPrinterAction::PlainPrinterAction(const llvm::StringRef &filename) :
ASTAction<PlainPrinterAction>(),
OutputFile(std::make_shared<std::fstream>()) {
OutputFile->open(filename, std::fstream::out);
}
PlainPrinte... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated docume... |
<commit_before>/******************************************************************************
* Copyright 2018 The Apollo 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 ... |
<commit_before>#include "chasky/core/framework/function_def_builder.h"
#include "chasky/core/framework/argument_def_builder.h"
#include "chasky/core/framework/attr_value_util.h"
using namespace std;
namespace chasky {
// Set default width for each output
FunctionDef FunctionDefBuilder::Finalize() {
size_t default_w... |
<commit_before>#include "TBackgroundVuMeter.h"
//using namespace bgslibrary::algorithms::vumeter;
namespace bgslibrary
{
namespace algorithms
{
namespace vumeter
{
const int PROCESS_PAR_COUNT = 3;
TBackgroundVuMeter::TBackgroundVuMeter(void)
: m_pHist(NULL)
, m_nBinCount(0)
... |
<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/gtk/edit_keyword_controller.h"
#include <gtk/gtk.h>
#include "app/l10n_util.h"
#include "app/resource_bundle... |
<commit_before>/*
* Copyright (c) 2018-2020 Morwenn
* SPDX-License-Identifier: MIT
*/
#include <type_traits>
#include <catch2/catch.hpp>
#include <tight_pair.h>
#include "archetypes.h"
TEST_CASE( "default noexcept" )
{
using NonThrowingDefault = NonThrowingTypes::DefaultOnly;
#ifdef __clang__
using Throwing... |
<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/browser_dialogs.h"
#include "content/public/browser/color_chooser.h"
#include "content/public/browser/web_c... |
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2007 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* inc... |
<commit_before>#if !defined(__CINT__) || defined(__MAKECINT__)
#include <Riostream.h>
#include "TSystem.h"
#include "TFile.h"
#include "TTree.h"
#include "TCanvas.h"
#include "TH1.h"
#include "TFile.h"
#include "TObject.h"
#include "TStyle.h"
#include "TROOT.h"
#include "AliAODEvent.h"
#include "AliAODHeader.h"
#incl... |
<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/user_script_idle_scheduler.h"
#include "base/message_loop.h"
#include "chrome/renderer/render_view.h"
names... |
<commit_before><commit_msg>Replace deprecated OUString::valueOf -> OUString::number<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: uunxapi.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: vg $ $Date: 2006-04-07 08:07:15 $
*
* The Contents of this file are made a... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2014 Ben Vanik. All rights reserved. ... |
<commit_before>#include "ast.hpp"
#include "context.hpp"
#include "parser.hpp"
#include "to_string.hpp"
#include <string>
using namespace Sass;
Context ctx = Context(Context::Data());
To_String to_string;
Compound_Selector* compound_selector(string src, Context& ctx)
{ return Parser::from_c_str(src.c_str(), ctx, "",... |
<commit_before><commit_msg>ragdoll is serialized relative to entity - fixes #930<commit_after><|endoftext|> |
<commit_before>// Copyright (C) 2016 Elviss Strazdins
// This file is part of the Ouzel engine.
#include "Application.h"
#include <cmath>
using namespace std;
using namespace ouzel;
Application::~Application()
{
sharedEngine->getEventDispatcher()->removeEventHandler(eventHandler);
}
void Application::begin()
{
... |
<commit_before>/*************************************************************************
*
* $RCSfile: DTables.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: oj $ $Date: 2000-10-24 16:14:04 $
*
* 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 Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>// Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
// the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
// reserved. See file COPYRIGHT for details.
//
// This file is part of the MFEM library. For more information and source code
// availability see http... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses... |
<commit_before>/******************************************************************************
**
** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>
** All rights reserved.
**
** This file is a part of the chemkit project. For more information
** see <http://www.chemkit.org>.
**
** Redistribution and use in s... |
<commit_before>// ffmpeg_acoustid.cpp
// part of MusicPlayer, https://github.com/albertz/music-player
// Copyright (c) 2012, Albert Zeyer, www.az2000.de
// All rights reserved.
// This code is under the 2-clause BSD license, see License.txt in the root directory of this project.
#include "ffmpeg.h"
#include <chromapri... |
<commit_before>//
// This file is a part of pomerol - a scientific ED code for obtaining
// properties of a Hubbard model on a finite-size lattice
//
// Copyright (C) 2010-2012 Andrey Antipov <Andrey.E.Antipov@gmail.com>
// Copyright (C) 2010-2012 Igor Krivenko <Igor.S.Krivenko@gmail.com>
//
// pomerol is free softwa... |
<commit_before>/* Copyright 2006-2008, 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
**
** Unles... |
<commit_before>///
/// @file ParallelPrimeSieve.cpp
/// @brief Sieve primes in parallel using OpenMP.
///
/// Copyright (C) 2016 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include <primesieve/config.hpp>
#inc... |
<commit_before>/*
* Copyright (C) 2019 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>// ------------------------------------------------------------------------
// Pion is a development platform for building Reactors that process Events
// ------------------------------------------------------------------------
// Copyright (C) 2007-2009 Atomic Labs, Inc. (http://www.atomiclabs.com)
//
... |
<commit_before>// RhoLaunch.cpp : Defines the entry point for the application.
//
#include "windows.h"
#include "RhoLaunch.h"
#define MAX_LOADSTRING 100
#define PB_WINDOW_RESTORE WM_USER + 10
// Global Functions:
int LaunchProcess( LPTSTR pFilePath, LPTSTR pCmdLine);
int WINAPI WinMain(HINSTANCE hInstance,
... |
<commit_before>#include "myofferwhitelisttablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "wallet/wallet.h"
#include "base58.h"
#include <QFont>
using namespace std;
struct MyOfferWhitelistTableEntry
{
QString offer;
QString alias;
QString expires;
QString discount;
MyOfferWhitelist... |
<commit_before>//Code from KGPG
/***************************************************************************
listkeys.cpp - description
-------------------
begin : Thu Jul 4 2002
copyright : (C) 2002 by y0k0
email ... |
<commit_before>// Copyright (c) 2009 - Mozy, Inc.
#include "mordor/pch.h"
#include "http.h"
#include "mordor/http/client.h"
#include "null.h"
#include "transfer.h"
using namespace Mordor::HTTP;
namespace Mordor {
HTTPStream::HTTPStream(const URI &uri, RequestBroker::ptr requestBroker,
boost::function<bool (si... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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... |
<commit_before>/*
* Copyright 2008 The Native Client 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 "native_client/src/trusted/plugin/service_runtime.h"
#include <map>
#include <vector>
#include "native_client/src/in... |
<commit_before>// @(#)root/oracle:$Id$
// Author: Yan Liu and Shaowen Wang 23/11/04
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#pragma once
#include "probing_hash_utils.hh"
#include "huffmanish.hh"
#include "hash.hh" //Includes line splitter
#include <sys/stat.h> //For finding size of file
#include "helpers/vocabid.hh"
char * read_binary_file(char * filename);
class QueryEngine {
unsigned char * binary_mmaped; //The binari ... |
<commit_before>/*************************************************************************
*
* $RCSfile: imgdef.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: hr $ $Date: 2003-04-04 17:21:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following license... |
<commit_before>//============================================================================
// vSMC/example/rng/include/rng_test.hpp
//----------------------------------------------------------------------------
// vSMC: Scalable Monte Carlo
//--------------------------------------------------... |
<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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: interceptionhelper.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2006-05-08 14:43:35 $
*
* The Contents of this file... |
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved.
#include "rdb_protocol/lazy_json.hpp"
#include "containers/archive/buffer_group_stream.hpp"
#include "containers/archive/versioned.hpp"
#include "rdb_protocol/blob_wrapper.hpp"
counted_t<const ql::datum_t> get_data(const rdb_value_t *value, buf_par... |
<commit_before>#include <iostream>
#include <string>
#include <vector>
using namespace std;
//util classes
struct Input {
int r, c, l, h;
vector<vector<bool>> tomatoes;
};
struct Slice {
int r1, c1, r2, c2;
};
struct Output {
vector<Slice> slices;
};
bool checkSliceHorizontal(Input &input, Slice &s)
{
bool t... |
<commit_before>#include "logging.hpp"
#include <android/log.h>
#include <cassert>
#include "../../../../../base/assert.hpp"
#include "../../../../../base/logging.hpp"
#include "../../../../../base/exception.hpp"
namespace jni
{
using namespace my;
void AndroidLogMessage(LogLevel l, SrcPoint const & src, string co... |
<commit_before>/**
* Appcelerator Titanium Mobile
* Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#include <jni.h>
#include <stdio.h>
#include <string.h>
#include <v8.h>
... |
<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.
#if defined(ENABLE_GPU)
#include "content/common/gpu/image_transport_surface.h"
#include "base/bind.h"
#include "base/bind_helpers.h"... |
<commit_before>#ifndef __ARCH_IO_NETWORK_HPP__
#define __ARCH_IO_NETWORK_HPP__
#include <vector>
#include "utils.hpp"
#include <boost/scoped_ptr.hpp>
#include "arch/runtime/event_queue.hpp"
#include "arch/io/io_utils.hpp"
#include "arch/address.hpp"
#include "concurrency/cond_var.hpp"
#include "concurrency/queue/unli... |
<commit_before>// Copyright 2015 Nikita Chudinov
#include "argument_parser.h"
#include <cstring>
#include <getopt.h>
#include <unistd.h>
#include <iostream>
#include <string>
ArgumentParser::ArgumentParser(int argc, char *argv[]) {
HELP_MESSAGE =
R"(General options:
-h, --help produce this help messa... |
<commit_before>//
// Copyright(c) 2015 Gabi Melman.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
//
// spdlog usage example
//
//
#define SPDLOG_TRACE_ON
#define SPDLOG_DEBUG_ON
#include "spdlog/sinks/daily_file_sink.h"
#include "spdlog/sinks/stdout_color_sinks.h"
#include <iostream>... |
<commit_before>// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the... |
<commit_before>/*************************************************************************/
/* spdlog - an extremely fast and easy to use c++11 logging library. */
/* Copyright (c) 2014 Gabi Melman. */
/* */
/... |
<commit_before>// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
// SPDX-License-Identifier: MIT
// Copyright (c) 2019 Daniil Goncharov <neargye@gmail.com>.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files ... |
<commit_before>#include "config.h"
#include "vm.hpp"
#include "immix_marker.hpp"
#include "builtin/class.hpp"
#include "builtin/thread.hpp"
#include "configuration.hpp"
#include "gc/gc.hpp"
#include "gc/immix.hpp"
#include "ontology.hpp"
#include "dtrace/dtrace.h"
#include "instruments/timing.hpp"
namespace rubinius... |
<commit_before>#include <cstdlib>
#include <fstream>
#include <iostream>
#include <string>
#include <typeinfo>
#include <cxxabi.h>
#include <boost/scoped_array.hpp>
#include <concrete/context.hpp>
#include <concrete/exception.hpp>
#include <concrete/execute.hpp>
#include <concrete/objects/code.hpp>
using namespace ... |
<commit_before>//
// Copyright (c) 2014 Alexander Shafranov <shafranov@gmail.com>
//
// 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>/*
* Copyright (c) 2008-2016 the MRtrix3 contributors
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/
*
* MRtrix is distributed in the hope that... |
<commit_before>/*
* Copyright (C) 2006 Zack Rusin <zack@kde.org>
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
*
* 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. R... |
<commit_before>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@gmail.com>
*
* 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
*
* ... |
<commit_before>#include<stdio.h>
#include<conio.h>
#include<graphics.h>
#include<stdlib.h>
int DeltaS =10; //ͼϸ̶ 1Ϊһһ 2Ϊһ0.5
#define RXlong 20
#define RYlong 20
IMAGE Rimg;
int checklock=0;
//ͼеÿһС
typedef struct Position {
int no;
int x;
int y;
int Used;
}Position;
typedef Position* Map;
//ͼλ
Map TestMap;... |
<commit_before>#include "main.h"
#include "../ciphers/Eigen/Dense"
using namespace Eigen;
/* example constructor, sets some options */
HillAtt::HillAtt()
{
// declare options, keep options as uppercase
vector<string> temp;
temp.push_back("INPUTFILE");
temp.push_back("OUTPUTFILE");
temp.push_back("PLAI... |
<commit_before>// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
* Copyright (C) 2004-2009 Sage Weil <sage@newdream.net>
*
* This is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free S... |
<commit_before>/*
* This code was taken directly from the OpenSceneGraph
*/
//#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ossim/base/ossimNotifyContext.h>
#include <ossim/base/ossimTimer.h>
ossimTimer* ossimTimer::m_instance = 0;
// follows are the constructors of the Timer class, once ver... |
<commit_before>/*
* Copyright 2009 Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Ankur Sethi (get.me.ankur@gmail.com)
*/
#include "Indexer.h"
#include "support.h"
#include <Directory.h>
#include <Entry.h>
#include <FindDirectory.h>
#include <NodeInfo.h>
#include <NodeMonitor.h>
#... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2005 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>#ifndef VISION_EDGEPOINT_HPP_
#define VISION_EDGEPOINT_HPP_
#include <cctag/geometry/Point.hpp>
#include <cctag/utils/Defines.hpp>
#include <cstddef>
#include <sys/types.h>
#include <cmath>
#include <iosfwd>
namespace cctag
{
class Label;
class EdgePoint : public cctag::Point2d<Eigen::Vector3i>
{
pu... |
<commit_before>#include "cnn/dglstm.h"
#include <string>
#include <cassert>
#include <vector>
#include <iostream>
#include "cnn/nodes.h"
using namespace std;
using namespace cnn::expr;
namespace cnn {
enum { X2I, H2I, C2I, BI, X2F, H2F, C2F, BF, X2O, H2O, C2O, BO, X2C, H2C, BC, X2K, C2K, Q2K, BK, STAB, X2K0 };... |
<commit_before>/* This file is part of qjson
*
* Copyright (C) 2009 Till Adam <adam@kde.org>
* Copyright (C) 2009 Flavio Castelli <flavio@castelli.name>
* Copyright (C) 2013 BMW Car IT GmbH
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library Gen... |
<commit_before>#ifndef __CALLBACK_PARAMETER_HPP_INCLUDED
#define __CALLBACK_PARAMETER_HPP_INCLUDED
#include "cpp/ylikuutio/common/any_value.hpp"
#include "callback_object.hpp"
// Include standard headers
#include <string> // std::string
namespace model
{
class World;
}
namespace callback_system
{
cla... |
<commit_before>// Copyright 2016 Tom Barthel-Steer
// http://www.tomsteer.net
//
// 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
//
// Unles... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: implbitmapcanvas.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: rt $ $Date: 2005-09-08 08:25:37 $
*
* The Contents of this file a... |
<commit_before>// Copyright (c) 2012, Steinwurf ApS
// 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
// notic... |
<commit_before> /*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: accembedded.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: obo $ $Date: 2006-09-16 20:34:38 $
*
* The Contents of this file are ... |
<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 "net/base/ip_endpoint.h"
#include "base/logging.h"
#if defined(OS_WIN)
#include <winsock2.h>
#elif defined(OS_POSIX)
#include... |
<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 "net/test/test_server.h"
#include <algorithm>
#include <string>
#include <vector>
#include "build/build_config.h"
#if defin... |
<commit_before>#include <elevator/sessionmanager.h>
#include <elevator/serialization.h>
#include <elevator/restartwrapper.h>
namespace elevator {
using namespace serialization;
const udp::Address commSend{ udp::IPv4Address::any, udp::Port{ 64032 } };
const udp::Address commRcv{ udp::IPv4Address::any, udp::Port{ 6403... |
<commit_before>// Copyright (C) 2014 David Helkowski
// License GNU AGPLv3
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<unistd.h>
#include<libgen.h>
// Text to print before every hexidecimal byte representation
#define HEX_PREFIX '~'
// Characters to show normally instead of in hex
#define OK_CHA... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All right... |
<commit_before>#include "EventMapper.h"
//XML Event
//##ModelId=3E788FC000E5
const std::string mitk::EventMapper::STYLE = "STYLE";
//##ModelId=3E788FC0025C
const std::string mitk::EventMapper::NAME = "NAME";
//##ModelId=3E788FC002AA
const std::string mitk::EventMapper::ID = "ID";
//##ModelId=3E77572901E9
const std:... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: frmselimpl.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: ihi $ $Date: 2007-06-06 14:07:34 $
*
* The Contents of this file are ma... |
<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: beziersh.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 17:14:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*************************************************************************
*
* $RCSfile: bookmark.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2004-08-12 13:03:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>//=============================================================================
//File Name: RollingAverage.cpp
//Description: Creates queue of values and returns the average of the latest
// values added to it
//Author: FRC Team 3512, Spartatroniks
//=========================================... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.