text stringlengths 54 60.6k |
|---|
<commit_before>// Code partially copyright Edd Dawson 2007
//
// Boost Software License - Version 1.0 - August 17th, 2003
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the software and accompanying documentation covered by
// this license (the "Software") to us... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: CustomAnimationDialog.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 03:34:12 $
*
* The Contents of this f... |
<commit_before>#ifndef __PROCESS_PROTOBUF_HPP__
#define __PROCESS_PROTOBUF_HPP__
#include <glog/logging.h>
#include <google/protobuf/message.h>
#include <google/protobuf/repeated_field.h>
#include <vector>
#include <tr1/unordered_map>
#include <process/process.hpp>
// Provides a "protocol buffer process", which ... |
<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/views/extensions/browser_action_overflow_menu_controller.h"
#include "app/gfx/canvas.h"
#include "base/utf_st... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Assistant of the Qt Toolkit.
**
** $QT_BEGIN_LI... |
<commit_before>#include "NexusFileReader.h"
#include <iostream>
using namespace H5;
/**
* Create a object to read the specified file
*
* @param filename - the full path of the NeXus file
* @return - an object with which to read information from the file
*/
NexusFileReader::NexusFileReader(const std::string &file... |
<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>/******************************************************************************
* 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>/**************************************************************************
*
* Copyright 2009-2011 VMware, Inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal... |
<commit_before>/*
* DefaultPatternMatchCB.cc
*
* Copyright (C) 2008,2009,2014 Linas Vepstas
*
* Author: Linas Vepstas <linasvepstas@gmail.com> February 2008
*
* 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 ... |
<commit_before>#ifndef SLA_SUPPORTPOINTGENERATOR_HPP
#define SLA_SUPPORTPOINTGENERATOR_HPP
#include <random>
#include <libslic3r/SLA/SupportPoint.hpp>
#include <libslic3r/SLA/IndexedMesh.hpp>
#include <libslic3r/BoundingBox.hpp>
#include <libslic3r/ClipperUtils.hpp>
#include <libslic3r/Point.hpp>
#include <boost/co... |
<commit_before>/* cclive
* Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com>
*
* This file is part of cclive <http://cclive.sourceforge.net/>.
*
* 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 Free... |
<commit_before>//===-- X86AsmPrinter.cpp - Convert X86 LLVM IR to X86 assembly -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
... |
<commit_before>/* Copyright (c) 2016 PaddlePaddle 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 ap... |
<commit_before>// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/message_center/views/message_popup_collection.h"
#include <set>
#include "base/bind.h"
#include "base/memory/weak_ptr.h"... |
<commit_before>//===-- AssemblerTest.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>#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <map>
#include <math.h>
#include <cstdlib>
#include "AsciiWriter.h"
#include "../intField.h"
#include "../doubleField.h"
#include "../progressBar.h"
AsciiWriter::AsciiWriter(){}
AsciiWriter::~AsciiWriter(){}
void Asci... |
<commit_before>/*************************************************************************
*
* $RCSfile: ManifestImport.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: mtg $ $Date: 2001-05-08 13:56:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the followin... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#include <cassert>
#include <iostream>
#include <utility>
#include <sysexits.h>
#include <getopt.h>
#include <stats.hh>
#include <kvstore.hh>
#include <item.hh>
#include <callbacks.hh>
using namespace std;
static KVStore... |
<commit_before>/*
* Copyright 2010, 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 applic... |
<commit_before>/*
* Copyright (C) 2020 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 your... |
<commit_before>#if __FreeBSD__ >= 10
#include "/usr/local/include/leptonica/allheaders.h"
#include "/usr/local/include/tesseract/baseapi.h"
#else
#include <leptonica/allheaders.h>
#include <tesseract/baseapi.h>
#endif
#include <stdio.h>
#include <unistd.h>
#include "tessbridge.h"
TessBaseAPI Create() {
tesseract:... |
<commit_before>// @(#)root/meta:$Id$
// Author: Bianca-Cristina Cristescu 10/07/13
/*************************************************************************
* Copyright (C) 1995-2013, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*
* Process.cpp
* OpenLieroX
*
* Created by Albert Zeyer on 10.02.09.
* code under LGPL
*
*/
#include <cassert>
#include "Process.h"
#include "Debug.h"
#include "FindFile.h"
#if ( ! defined(HAVE_BOOST) && defined(WIN32) ) || ( defined(_MSC_VER) && (_MSC_VER <= 1200) )
#include <windows.h>
... |
<commit_before>/********************************** SIGNATURE *********************************\
| ,, |
| db `7MM |
| ;MM: MM ... |
<commit_before>/********************************** SIGNATURE *********************************\
| ,, |
| db `7MM |
| ;MM: MM ... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2017 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>#include <iostream>
#include <iomanip>
#include <string>
#include <vector>
#include <bitset>
/*
class Crypto {
protected:
int value;
std::string ClearText;
std::string CypherText;
const std::string Pad = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
const std... |
<commit_before>#ifndef AL_FREENECT_HPP
#define AL_FREENECT_HPP
/* Allocore --
Multimedia / virtual environment application class library
Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB.
Copyright (C) 2012. The Regents of the University of California.
All rights reserved.
Redistribu... |
<commit_before>// This file is part of the dune-hdd project:
// http://users.dune-project.org/projects/dune-hdd
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#define DUNE_STUFF_FUNCTIONS_DISABLE_CHECKS 1
#define DUNE_HDD_LINEARELLIPTIC_TESTCASES_... |
<commit_before>// Copyright 2016 Cloudera 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 law or ... |
<commit_before>#ifndef FIXED_VECTOR_HPP
#define FIXED_VECTOR_HPP
#include<algorithm>
#include<type_traits>
#include<utility>
namespace nContainer
{
template<class T,auto N>
class Fixed_vector
{
public:
using value_type=T;
using size_type=std::remove_cv_t<decltype(N)>;
using pointer=T*;
using const_pointer=... |
<commit_before>#ifndef FIXED_VECTOR_HPP
#define FIXED_VECTOR_HPP
#include<algorithm>
#include<type_traits>
#include<utility>
namespace nContainer
{
template<class T,auto N>
class Fixed_vector
{
public:
using value_type=T;
using size_type=std::remove_cv_t<decltype(N)>;
using pointer=T*;
using const_pointer=... |
<commit_before>#include "gtest/gtest.h"
#include "IFile.h"
#include "IMediaLibrary.h"
#include "IShow.h"
#include "IShowEpisode.h"
class Shows : public testing::Test
{
public:
static IMediaLibrary* ml;
protected:
virtual void SetUp()
{
ml = MediaLibraryFactory::create();
... |
<commit_before>#include <client/clone.hpp>
#include <silicium/for_each.hpp>
#include <silicium/coroutine.hpp>
#include <silicium/ready_future.hpp>
#include <boost/test/unit_test.hpp>
#include <boost/unordered_map.hpp>
namespace Si
{
template <class T>
struct is_optional : std::false_type
{
};
template <class T>
... |
<commit_before>#include <ctime>
#include <iostream>
#include <cstdlib>
#include <iterator>
#include <timedb.h>
#include <ctime>
#include <limits>
#include <cmath>
int main(int argc, char *argv[]) {
auto test_buffer_size=1024*1024*100;
uint8_t *buffer=new uint8_t[test_buffer_size];
//delta compression
... |
<commit_before>/*
* Copyright 2017 deepstreamHub GmbH
*
* 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>// Copyright (C) 2012 - 2016 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelberg, and The University
// of Manchester.
// All rights reserved.
#include <QtCore/QString>
#include "CQTabWidget.h"
#include "CQMessageBox.h"
#include "qtUtilities.h"
#include "CQNotes.h... |
<commit_before>// Begin CVS Header
// $Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/scan/CScanTask.cpp,v $
// $Revision: 1.76 $
// $Name: $
// $Author: shoops $
// $Date: 2009/02/23 16:20:18 $
// End CVS Header
// Copyright (C) 2008 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc.... |
<commit_before>/*
* Author: Henry Bruce <henry.bruce@intel.com>
* Copyright (c) 2015 Intel Corporation.
*
* 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
... |
<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 "base/waitable_event_watcher.h"
#include "base/condition_variable.h"
#include "base/lock.h"
#include "base/message_loop.... |
<commit_before>/*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>#include "IO.hpp"
#include <stdexcept>
#include <fstream>
#include <iostream>
#include <boost/filesystem.hpp>
#define TINYOBJLOADER_IMPLEMENTATION
#include "tiny_obj_loader.h"
namespace Slic3r { namespace IO {
bool
STL::read(std::string input_file, TriangleMesh* mesh)
{
// TODO: encode file name
... |
<commit_before>// $Id$
/** \file csvtool.cc
* File containing another example application:
* A CSV Parser, Filter and Sorter using the Expression Parser
* See the doxygen documentation for a short specification.
*/
// Enhanced CSV Parser and Filter using the Expression Parser
#include "ExpressionParser.h"
#inclu... |
<commit_before>// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/dom_ui/dom_ui_browsertest.h"
#include "chrome/browser/dom_ui/options/core_options_handler.h"
#include "chrome/... |
<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/google_apis/operations_base.h"
#include "base/json/json_reader.h"
#include "base/metrics/histogram.h"
#includ... |
<commit_before>/* The Halfling Project - A Graphics Engine and Projects
*
* The Halfling Project is the legal property of Adrian Astley
* Copyright Adrian Astley 2013
*/
#include "lighting_demo/game_state_manager.h"
#include "common/math.h"
#include "common/camera.h"
#include "common/d3d_util.h"
namespace Light... |
<commit_before>#ifndef INCLUDE_AL_GRAPHICS_STEREOGRAPHIC_HPP
#define INCLUDE_AL_GRAPHICS_STEREOGRAPHIC_HPP
/*
* A collection of functions and classes related to application mainloops
* AlloSphere Research Group / Media Arts & Technology, UCSB, 2009
*/
/*
Copyright (C) 2006-2008. The Regents of the University of... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkBasicFiltersTests3.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
Se... |
<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 <string>
#include <vector>
#include "base/message_loop.h"
#include "base/process.h"
#include "base/process_util.h"
#incl... |
<commit_before>#pragma once
#include <vector>
#include "base/helpers.hpp"
#include "maths.hpp"
struct maximal_element_search_tag {};
struct prime_modulo_calculations_tag {};
template<typename T>
class Matrix {
public:
using RowStorage = std::vector<T>;
using DataStorage = std::vector<RowStorage>;
... |
<commit_before>#include <set>
#include <fstream>
#include <queue>
#include <functional>
namespace cpr
{
namespace huffman
{
template<typename Freq>
struct Node
{
Node()
: character_{ 0 }, freq_{ 0 }, left_{ nullptr }, right_{ nullptr }
{ }
Node(Node<Freq> const& other)
: character_{ other.ch... |
<commit_before>/*************************************************************************
> File Name: ruleOfFive.cpp
> Author: Chan-Ho Chris Ohk
> E-mail: utilForever@gmail.com, utilForever@kaist.ac.kr
> Created Time: 2015/4/26
> Personal Blog: https://github.com/utilForever
*******************************************... |
<commit_before>#include "ITSModule.h"
#include <AliITSdigitSPD.h>
#include <AliITSdigitSDD.h>
#include <AliITSdigitSSD.h>
#include <TStyle.h>
using namespace Reve;
using namespace Alieve;
using namespace std;
Short_t ITSModule::fgSDDThreshold = 5;
Short_t ITSModule::fgSDDMaxVal = 80;
Short_t ITSModule::fgSSDTh... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// ... |
<commit_before>// Time: O(n)
// Space: O(c), c is unique count of pattern and words
class Solution {
public:
bool wordPattern(string pattern, string str) {
int word_cnt = str.empty() ? 0 : 1;
for (const auto& c : str) {
if (c == ' ') {
++word_cnt;
}
... |
<commit_before>//
// ServiceRegistryWrapper.cpp
//
// $Id: //poco/1.4/OSP/JS/src/ServiceRegistryWrapper.cpp#4 $
//
// Copyright (c) 2013-2014, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: Apache-2.0
//
#include "Poco/OSP/JS/ServiceRegistryWrapper.h"
#include "Poco... |
<commit_before>#include <VBE/graphics/MeshBatched.hpp>
#include <algorithm>
#include <VBE/system/Log.hpp>
#include "ShaderBinding.hpp"
bool MeshBatched::batching = false;
MeshBatched::Buffer* MeshBatched::batchingBuffer = nullptr;
const ShaderProgram* MeshBatched::batchingProgram = nullptr;
MeshBase::PrimitiveType Mes... |
<commit_before>#pragma once
#ifndef NIFTY_GRAPH_SHORTEST_PATH_DIJKSTRA_HXX
#define NIFTY_GRAPH_SHORTEST_PATH_DIJKSTRA_HXX
#include "nifty/graph/subgraph_mask.hxx"
#include "vigra/priority_queue.hxx"
namespace nifty{
namespace graph{
template<class GRAPH, class WEIGHT_TYPE>
class ShortestPathDijkstra{
pu... |
<commit_before>// Copyright 2015-2018 Elviss Strazdins. All rights reserved.
#include "MouseDeviceWin.hpp"
#include "core/Engine.hpp"
#include "core/windows/NativeWindowWin.hpp"
#include "utils/Errors.hpp"
namespace ouzel
{
namespace input
{
void MouseDeviceWin::setPosition(const Vector2& position)
... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkObject.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyri... |
<commit_before>#ifndef INCLUDE_ACKWARD_QUEUE_EXCEPTIONS_HPP
#define INCLUDE_ACKWARD_QUEUE_EXCEPTIONS_HPP
#include <ackward/core/Exceptions.hpp>
namespace ackward {
namespace queue {
/**
\\rst
Exception raised when non-blocking ``get()`` (or ``get_nowait()``) is called on a ``Queue`` object which is empty.
See `<... |
<commit_before>//
// Copyright (c) 2013-2014 Christoph Malek
// See LICENSE for more information.
//
#ifndef RJ_CORE_MAIN_MENU_MAIN_MENU_HPP
#define RJ_CORE_MAIN_MENU_MAIN_MENU_HPP
#include "component_manager.hpp"
#include "items.hpp"
#include "menu_levels.hpp"
#include "menu_start.hpp"
#include "title.hpp"
#includ... |
<commit_before>#include <jni.h>
#include <errno.h>
#include <EGL/egl.h>
#include <GLES/gl.h>
#include <android_native_app_glue.h>
#include <squirrel.h>
#include <sqstdio.h>
#include <sqstdaux.h>
#include <main.h>
#include <sqfunc.h>
/* global pointer to application engine */
struct engine *g_engine;
/*
* extern ... |
<commit_before>#include "DHASLogging.h"
#include "IOBoard.h"
REGISTER_NODE_NAME(IOBoard,"EDISON IO CONTROLLER");
IOBoard::IOBoard()
{
mPgms = 0;
mPgmCount = 0;
}
IOBoard::~IOBoard()
{
}
bool IOBoard::processData(char* buf, size_t size, Dumais::JSON::JSON& json)
{
std::string st(buf,size);
Dumais::JS... |
<commit_before>#include "GUI_Neutron.h"
#include <DM/DM_RenderTable.h>
#include <GEO/GEO_PrimPolySoup.h>
#include <GR/GR_DisplayOption.h>
#include <GR/GR_GeoRender.h>
#include <GR/GR_OptionTable.h>
#include <GR/GR_UserOption.h>
#include <GR/GR_Utils.h>
#include <GT/GT_GEOPrimitive.h>
#include <RE/RE_Geometry.h>
#includ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>/*
* Copyright (c) 2010 Eduard Burtescu
*
* 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 IS PROVIDED "AS IS" AND TH... |
<commit_before>#include <cstring>
#include <cassert>
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>
#include <string>
#include <atomic>
#include "HTTPProxy.h"
#include "util.h"
#include "Identity.h"
#include "Streaming.h"
#include "Destination.h"
#include "ClientContext.h"
#include "I2PEndian.h"
#include ... |
<commit_before>#include "StorageLogSegment.h"
#include "System/FileSystem.h"
#include "System/IO/IOProcessor.h"
#include "System/Stopwatch.h"
#include "StorageEnvironment.h"
#include "StorageFileDeleter.h"
StorageLogSegment::StorageLogSegment()
{
prev = next = this;
trackID = 0;
logSegmentID = 0;
fd = ... |
<commit_before>///
/// anax
/// An open source C++ entity system.
///
/// Copyright (C) 2013 Miguel Martin (miguel.martin7.5@hotmail.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 Soft... |
<commit_before>#include "InfoLayer.h"
USING_NS_CC;
USING_NS_CC_DEN;
cocos2d::Scene * Info::createScene() {
auto scene = Scene::create();
auto layer = Info::create();
scene->addChild(layer);
return scene;
}
bool Info::init() {
if (!Layer::init()) {
return false;
}
... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.o... |
<commit_before>///
/// @file S2_hard_mpi_msg.cpp
/// @brief MPI utility functions and classes.
///
/// 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 <primecount-internal.hpp>
#include ... |
<commit_before><commit_msg>Disable BookmarkBarViewTest15.MenuStaysVisibleAfterDelete on Chromium OS.<commit_after><|endoftext|> |
<commit_before>//*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// 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 2009-2011,2014-2015 Merethis
**
** This file is part of Centreon Broker.
**
** Centreon Broker is free software: you can redistribute it and/or
** modify it under the terms of the GNU General Public License version 2
** as published by the Free Software Foundation.
**
** Centreon Broker i... |
<commit_before>#include "pubsub_man.h"
#include "event_loop.h"
#include "log_macros.h"
#include "WampTypes.h"
#include "SessionMan.h"
#include "kernel.h"
#include "wamp_utils.h"
#include <list>
#include <iostream>
namespace XXX {
/*
TODO: what locking is needed around this?
- as subs are added, they will READ. ne... |
<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>// ------------------------------------------------------------------------
// Pion is a development platform for building Reactors that process Events
// ------------------------------------------------------------------------
// Copyright (C) 2007-2008 Atomic Labs, Inc. (http://www.atomiclabs.com)
//
... |
<commit_before>/*
* http://github.com/dusty-nv/jetson-inference
*/
// #include "gstCamera.h"
#include <ros/ros.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#incl... |
<commit_before>/*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
#include <fstream>
#i... |
<commit_before>// Copyright GHI Electronics, LLC
//
// 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>#include "IEntryEnumerator.h"
#include <string>
#include <cstring>
#ifdef FS_OS_Linux
#include <glob.h>
#include <sys/stat.h>
#elif defined FS_OS_Windows
#include <windows.h>
#else
#endif
#include <iostream>
using namespace std;
using namespace FS;
// * 2006-08-30 YRD - Portability note : using ... |
<commit_before>/** \file json_grep.cc
* \brief A simple tool for performing single lookups in a JSON file.
* \author Dr. Johannes Ruscheinski
*
* \copyright (C) 2017,2018,2020 Library of the University of Tübingen
*
* This program is free software: you can redistribute it and/or modify
* it under the ... |
<commit_before>#ifndef UTENSOR_MATRIX_OPS
#define UTENSOR_MATRIX_OPS
#include <limits>
//Useful links
//http://www.plantation-productions.com/Webster/www.artofasm.com/Linux/HTML/Arraysa2.html
//Assume Tensor index order: rows, columns | the first 2 dimensions
typedef Tensor<unsigned char> Mat
void printMat(Mat mat... |
<commit_before>// Copyright (c) 2006-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 <windows.h>
#include <commctrl.h>
#include "base/command_line.h"
#include "base/event_recorder.h"
#include "base/gfx/nati... |
<commit_before>// Jubatus: Online machine learning framework for distributed environment
// Copyright (C) 2011 Preferred Infrastructure and Nippon Telegraph and Telephone Corporation.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Lic... |
<commit_before>#include "Vajra/Common/Messages/Message.h"
#include "Vajra/Engine/Components/DerivedComponents/Lights/DirectionalLight/DirectionalLight.h"
#include "Vajra/Engine/Components/DerivedComponents/Transform/Transform.h"
#include "Vajra/Engine/GameObject/GameObject.h"
#include "Vajra/Framework/Core/Framework.h"... |
<commit_before><commit_msg>Create 1.2.cpp<commit_after><|endoftext|> |
<commit_before>#ifndef ANIMPLUGIN_SKELETON_UTILS_HPP_
#define ANIMPLUGIN_SKELETON_UTILS_HPP_
#include <Core/Animation/Pose/Pose.hpp>
#include <Core/Animation/Handle/Skeleton.hpp>
namespace Ra {
namespace Core {
namespace Animation
{
namespace SkeletonUtils
{
/// Returns the start and end point of a bo... |
<commit_before>// Copyright 2014 Open Source Robotics Foundation, 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 re... |
<commit_before>#include <nanyc/library.h>
#include <nanyc/program.h>
#include <yuni/yuni.h>
#include <yuni/core/getopt.h>
#include <yuni/core/string.h>
#include <yuni/io/filename-manipulation.h>
#include <yuni/datetime/timestamp.h>
#include <yuni/core/system/console/console.h>
#include <yuni/core/process/program.h>
#in... |
<commit_before>#include <QApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <stdlib.h>
#include <QtGlobal>
#include <QtWidgets>
#ifndef Q_OS_DARWIN
#include <QtSingleApplication>
#endif
int main(int argc, char *argv[])
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QCoreApplication::... |
<commit_before>#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <Python.h>
#include "numpy/arrayobject.h"
#include "part_int.h"
#include <set>
/*Wraps the flux_extractor into a python module called spectra_priv. Don't call this directly, call the python wrapper.*/
/*Check whether the passed array has type ... |
<commit_before>/******************************************************
* This is the main file for the mips1 ArchC model *
* This file is automatically generated by ArchC *
* WITHOUT WARRANTY OF ANY KIND, either express *
* or implied. *
* For more information o... |
<commit_before>/***************************************************************************
* Copyright (c) 2015 Stefan Tröger <stefantroeger@gmx.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>#include <ecl/thread/thread.hpp>
#include <CppUTest/TestHarness.h>
#include <CppUTest/CommandLineTestRunner.h>
#include <cstring>
#include <thread>
// Error code helper
// TODO: move it to 'utils' headers and protect with check of
// current test state (enabled or disabled)
static SimpleString StringF... |
<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>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.