text stringlengths 54 60.6k |
|---|
<commit_before>/*!
* \file arc_stroked_point.hpp
* \brief file arc_stroked_point.hpp
*
* Copyright 2018 by Intel.
*
* Contact: kevin.rogovin@intel.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 distributed with
* this file, You ca... |
<commit_before>#ifndef ARABICA_XSLT_EXECUTION_CONTEXT_HPP
#define ARABICA_XSLT_EXECUTION_CONTEXT_HPP
#include <ostream>
#include "xslt_sink.hpp"
#include "xslt_variable_stack.hpp"
namespace Arabica
{
namespace XSLT
{
template<class string_type, class string_adaptor> class CompiledStylesheet;
template<cl... |
<commit_before>// Copyright (C) 2010-2012 Joshua Boyce.
// See the file COPYING for copying permission.
#pragma once
#include "hadesmem/config.hpp"
namespace hadesmem
{
namespace detail
{
#ifndef HADESMEM_NO_VARIADIC_TEMPLATES
template <typename FuncT>
struct FuncArgs
{ };
template <typename ... |
<commit_before>// The Art of C++ / PostgreSQL
// Copyright (c) 2016-2018 Daniel Frey
#ifndef TAO_POSTGRES_RESULT_TRAITS_TUPLE_HPP
#define TAO_POSTGRES_RESULT_TRAITS_TUPLE_HPP
#include <tao/postgres/result_traits.hpp>
#include <tao/postgres/row.hpp>
#include <tuple>
#include <type_traits>
#include <utility>
namespac... |
<commit_before>/*
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2 as published by the Free Software Foundation.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; with... |
<commit_before>#include <Halide.h>
#include <tiramisu/tiramisu.h>
#include <iostream>
#include "generated_copy.o.h"
#include "benchmarks.h"
#include <tiramisu/utils.h>
int copy_ref(int n,
Halide::Buffer<float> a,
Halide::Buffer<float> x)
{
for (int i = 0; i < n; ++i)
a(i) = x(i... |
<commit_before><commit_msg>One more convertColor fix<commit_after><|endoftext|> |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2012, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the fo... |
<commit_before>//
// Copyright 2012 Josh Blum
//
// 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 p... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2008-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 Script Generator project on Qt Labs.
**
**... |
<commit_before>#include "RenderTexture.hpp"
namespace MPACK
{
namespace Graphics
{
RenderTexture::RenderTexture()
: m_fboId(0), m_depthTex(NULL), m_colorTex(NULL)
{
}
RenderTexture::~RenderTexture()
{
GL_CHECK( glDeleteFramebuffers(1,&m_fboId) );
if(m_colorTex)
{
delete m_col... |
<commit_before>/*
* Copyright (c) 2011-2013 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free ... |
<commit_before>#pragma once
#define BRYNET_VERSION 1011001
<commit_msg>Update Version.hpp<commit_after>#pragma once
#define BRYNET_VERSION 1011002
<|endoftext|> |
<commit_before>#ifndef __CALCULATE_NODE_HPP__
#define __CALCULATE_NODE_HPP__
#include <iterator>
#include <memory>
#include <ostream>
#include <stack>
#include <sstream>
#include "symbol.hpp"
#include "util.hpp"
namespace calculate {
template<typename Parser>
class Node {
public:
using Type = typename Parser::... |
<commit_before>/*
*
* Copyright 2013 Telefonica Investigacion y Desarrollo, S.A.U
*
* This file is part of Orion Context Broker.
*
* Orion Context Broker 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, ... |
<commit_before>/**********************************************************************/
/* Copyright 2014 RCF */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may no... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public... |
<commit_before>// Copyright (c) 2017 Sony Corporation. 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
//
// Unle... |
<commit_before>/******************************************************************************
* Copyright (c) 2014, Hobu Inc., hobu@hobu.co
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions are met:
*
*... |
<commit_before>#ifndef _PFASST__LOGGING_HPP_
#define _PFASST__LOGGING_HPP_
#include "pfasst/site_config.hpp"
#include <string>
using namespace std;
#include <boost/algorithm/string.hpp>
struct OUT
{
public:
static const string black;
static const string red;
static const string green;
static const... |
<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
* "Li... |
<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>/*******************************************************************************
* include/util/file_util.hpp
*
* Copyright (C) 2017 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
*************************************... |
<commit_before>//============================================================================
// include/vsmc/core/path.hpp
//----------------------------------------------------------------------------
//
// vSMC: Scalable Monte Carlo
//
// This file is distribured under the 2-clauses BSD Licen... |
<commit_before>#ifndef XSCALAR_HPP
#define XSCALAR_HPP
#include <utility>
#include "xexpression.hpp"
#include "xindex.hpp"
namespace qs
{
/*************************
* xscalar
*************************/
// xscalar is a cheap wrapper for a scalar value as an xexpression.
template <class T>
... |
<commit_before>#include "stdafx.h"
#include "J2534Connection.h"
#include "Timer.h"
J2534Connection::J2534Connection(
std::shared_ptr<PandaJ2534Device> panda_dev,
unsigned long ProtocolID,
unsigned long Flags,
unsigned long BaudRate
) : panda_dev(panda_dev), ProtocolID(ProtocolID), Flags(Flags), BaudRate(BaudRate),... |
<commit_before>/*
Copyright Eli Dupree and Isaac Dupree, 2011, 2012, 2013
This file is part of Lasercake.
Lasercake 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... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>/*! @file convolute.cc
* @brief Tests for src/primitives/convolute.cc.
* @author Markovtsev Vadim <v.markovtsev@samsung.com>
* @version 1.0
*
* @section Notes
* This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>.
... |
<commit_before>/*
* Copyright (c) 2003-2011 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php... |
<commit_before><commit_msg>Added a comment to the usage function.<commit_after><|endoftext|> |
<commit_before>/*
Copyright (c) 2012, William Magato
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 list of condi... |
<commit_before>#pragma once
#include "physics/forkable.hpp"
namespace principia {
namespace physics {
template<typename Tr4jectory>
void Forkable<Tr4jectory>::DeleteFork(not_null<Tr4jectory**> const trajectory) {
CHECK_NOTNULL(*trajectory);
std::experimental::optional<Instant> const fork_time =
(*trajector... |
<commit_before>#ifndef ATL_PRINT_HH
#define ATL_PRINT_HH
/**
* @file /home/ryan/programming/atl/print.hpp
* @author Ryan Domigan <ryan_domigan@sutdents@uml.edu>
* Created on Aug 10, 2013
*/
#include <functional>
#include <iostream>
#include <utility>
#include "./utility.hpp"
#include "./helpers.hpp"
namespace atl... |
<commit_before>//=- ClangDiagnosticsEmitter.cpp - Generate Clang diagnostics tables -*- 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 "physics/forkable.hpp"
#include "geometry/named_quantities.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/si.hpp"
namespace principia {
using geometry::Instant;
using si::Second;
using ::testing::ElementsAre;
namespace physics {
class FakeTrajectory;
template<>... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>/**
* @file llchatentry.cpp
* @brief LLChatEntry implementation
*
* $LicenseInfo:firstyear=2001&license=viewerlgpl$
* Second Life Viewer Source Code
* Copyright (C) 2012, Linden Research, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GN... |
<commit_before>/*
* Copyright (C) 2004-2013 ZNC, see the NOTICE file for details.
* Copyright (C) 2013 Rasmus Eskola <fruitiex@gmail.com>
* based on sample.cpp sample module code
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
<commit_before>/*
This file is part of KDE Kontact.
Copyright (C) 2003 Sven Lüppken <sven@kde.org>
Copyright (C) 2003 Tobias König <tokoe@kde.org>
Copyright (C) 2003 Daniel Molkentin <molkentin@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GN... |
<commit_before>
/* Include the SDL main definition header */
#include "SDL_main.h"
#ifdef main
#undef main
#endif
#ifdef QWS
#include <qpe/qpeapplication.h>
#endif
extern int SDL_main(int argc, char *argv[]);
int main(int argc, char *argv[])
{
#ifdef QWS
// This initializes the Qtopia application. It needs to be do... |
<commit_before>// The MIT License (MIT)
// Copyright (c) 2012-2013 Danny Y., Rapptz
// 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 limitatio... |
<commit_before>/*
*****************************************************************************
* ___ _ _ _ _
* / _ \ __ _| |_| |__(_) |_ ___
* | (_) / _` | / / '_ \ | _(_-<
* \___/\__,_|_\_\_.__/_|\__/__/
* ... |
<commit_before>// KTH DD2458 popuph14
// authors: magolsso@kth.se
// carlsven@kth.se
#pragma once
#include <vector>
#include <queue>
#include "graph.hpp"
// Comparator function which makes priority_queue smallest first
struct comp {
int operator() (const Node* n1,const Node* n2) {
return n1->val... |
<commit_before>#include "mesh_def.h"
#include <vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h>
#include <vcg/complex/algorithms/clustering.h>
using namespace vcg;
using namespace std;
typedef SimpleTempData<MyMesh::VertContainer, math::Quadric<double> > QuadricTemp;
class QHelper
{
... |
<commit_before>/**
@file cc_unique_ptr.hpp
@brief const-correct unique_ptr.
@author Tim Howard
@copyright 2013 Tim Howard under the MIT license;
see @ref index or the accompanying LICENSE file for full text.
*/
#ifndef HORD_CC_UNIQUE_PTR_HPP_
#define HORD_CC_UNIQUE_PTR_HPP_
#include <Hord/config.hpp>
#include <type_... |
<commit_before>#include "sqloxx_tests_common.hpp"
#include "derived_po.hpp"
#include "../database_connection.hpp"
#include "../detail/sql_statement_impl.hpp"
#include "../detail/sqlite_dbconn.hpp"
#include "../sql_statement.hpp"
#include <boost/filesystem.hpp>
#include <jewel/stopwatch.hpp>
#if WIN32 || __WIN32__ || ... |
<commit_before>/*
* $Id$
*
* Copyright (c) 2011 Surfnet
* Copyright (c) 2011 .SE (The Internet Infrastructure Foundation).
* Copyright (c) 2011 OpenDNSSEC AB (svb)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
<commit_before>#include <bits/stdc++.h>
#include "particles.hpp"
#include "eventQueue.hpp"
class boundingBox
{
private:
vector<Particle> particlesInBox;
eventQueue events;
public:
//Returns the event object in case of collision between particle
//and the box.
event getCollisionEventP2B(Particle partA){
int tim... |
<commit_before>/**
* \file
* Copyright 2014-2015 Benjamin Worpitz
*
* This file is part of alpaka.
*
* alpaka 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 yo... |
<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: monst.cxx,v $
* $Revision: 1.6 $... |
<commit_before>#include "properties/QuaternionProperty.h"
#include "i6engine/math/i6eVector.h"
#include "properties/Vec3Property.h"
#include "widgets/PropertyWindow.h"
#include <QLabel>
#include <QDoubleSpinBox>
namespace i6engine {
namespace particleEditor {
namespace properties {
QuaternionProperty::Quaternion... |
<commit_before>
#pragma once
#include "http_parser.hpp"
#include "response.hpp"
#include <boost/asio.hpp>
#include <boost/asio/spawn.hpp>
#include <memory>
#include <string>
#include <functional>
#include <iostream>
namespace cinatra
{
typedef std::function<bool(const Request&, Response&)> handler_t;... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2018 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
<commit_before>//===- ObjectTransformLayerTest.cpp - Unit tests for ObjectTransformLayer -===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright 2014-2021 CNRS INRIA
*/
#ifndef __eigenpy_quaternion_hpp__
#define __eigenpy_quaternion_hpp__
#include "eigenpy/eigenpy.hpp"
#include <Eigen/Core>
#include <Eigen/Geometry>
#include "eigenpy/exception.hpp"
namespace boost { namespace python { namespace converter {
/// \brief Temp... |
<commit_before>/*
* @file ellis/core/decoder.hpp
*
* @brief Ellis TBD C++ header.
*/
#pragma once
#ifndef ELLIS_CORE_DECODER_HPP_
#define ELLIS_CORE_DECODER_HPP_
#include <ellis/core/defs.hpp>
#include <ellis/core/disposition.hpp>
#include <ellis/core/err.hpp>
#include <ellis/core/node.hpp>
#include <memory>
nam... |
<commit_before>/*
* WhenFunctor.hpp
*
* Created on: Feb 14, 2014
* Author: eran
*/
#ifndef WHENFUNCTOR_HPP_
#define WHENFUNCTOR_HPP_
#include "fakeit/StubbingImpl.h"
#include "fakeit/Stubbing.h"
namespace fakeit {
class WhenFunctor {
public:
struct StubbingProgress {
friend class WhenFunctor;
vir... |
<commit_before>/*
* This is part of the FL library, a C++ Bayesian filtering library
* (https://github.com/filtering-library)
*
* Copyright (c) 2014 Jan Issac (jan.issac@gmail.com)
* Copyright (c) 2014 Manuel Wuthrich (manuel.wuthrich@gmail.com)
*
* This Source Code Form is subject to the terms of the MIT Licens... |
<commit_before>#ifndef INC_METTLE_LOG_SUMMARY_HPP
#define INC_METTLE_LOG_SUMMARY_HPP
#include <iomanip>
#include "core.hpp"
#include "indent.hpp"
#include "term.hpp"
namespace mettle {
namespace log {
class summary : public file_logger {
public:
summary(indenting_ostream &out, file_logger *log) : out_(out)... |
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit)
* Copyright (C) 2005 Artem Pavlenko
*
* Mapnik 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 an... |
<commit_before>#pragma once
#include <utility>
#include "reflection_info.hpp"
namespace shadow
{
////////////////////////////////////////////////////////////////////////////////
// user facing API types carrying information and functionality for the
// reflection system
class reflection_manager;
// holds one value... |
<commit_before>#pragma once
#include <utility>
#include <vector>
#include <algorithm>
#include "reflection_info.hpp"
namespace shadow
{
////////////////////////////////////////////////////////////////////////////////
// user facing API types carrying information and functionality for the
// reflection system
class ... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before><commit_msg>Typo: deprected->deprecated<commit_after><|endoftext|> |
<commit_before>#ifndef V_SMC_CORE_PARTICLE_HPP
#define V_SMC_CORE_PARTICLE_HPP
#include <vector>
#include <cmath>
#include <cstddef>
#include <Eigen/Dense>
#include <Random123/aes.h>
#include <Random123/ars.h>
#include <Random123/philox.h>
#include <Random123/threefry.h>
#include <Random123/conventional/Engine.hpp>
#i... |
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in Section and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#include <ctime>
#include ... |
<commit_before>#include <iostream>
#include "Env.hpp"
#include "deployment.hpp"
#include "Machine.hpp"
#include "User.hpp"
#include "associations.hpp"
#include "runtime/Action.hpp"
#include "EventStructures.hpp"
int main()
{
Env::initEnvironment();
UsedRuntimePtr rt = UsedRuntimeType::getRuntimeInstance();
Model... |
<commit_before>/*!
\copyright (c) RDO-Team, 2011
\file calc_base.cpp
\authors
\authors (rdo@rk9.bmstu.ru)
\authors (dluschan@rk9.bmstu.ru)
\date 16.05.2007
\brief
\indent 4T
*/
// ---------------------------------------------------------------------------- PCH
#include "si... |
<commit_before>#include "render/shaderattribute2d.h"
#include "core/assert.h"
#include "render/shader.h"
namespace attributes2d {
const ShaderAttribute& Texture() {
static ShaderAttribute attribute{"texture", 0, ShaderAttributeSize::VEC1};
return attribute;
}
const ShaderAttribute& Rgba() {
static ShaderAttr... |
<commit_before>//===-- LanaiSetflagAluCombiner.cpp - Pass to combine set flag & ALU ops --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- X86MCInstLower.cpp - Convert X86 MachineInstr to an MCInst --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/**
* @file VectorMath.hpp
* @brief The VectorMath class.
* @author Dominique LaSalle <dominique@solidlake.com>
* Copyright 2017-2018, Solid Lake LLC
* @version 1
* @date 2017-10-11
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated... |
<commit_before>#include <map>
#include <gtest/gtest.h>
#include "uint256_t.h"
static const std::map <uint32_t, std::string> tests = {
std::make_pair(2, "10000100000101011000010101101100"),
std::make_pair(3, "12201102210121112101"),
std::make_pair(4, "2010011120111230"),
std::make_pair(5, "1401424... |
<commit_before>// @(#)root/io:$Id$
// Author: Jakob Blomer
/*************************************************************************
* Copyright (C) 1995-2018, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#include <opencv2/features2d.hpp>
#include <opencv2/xfeatures2d.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/opencv.hpp>
#include <vector>
#include <iostream>
// If you find this code useful, please add a reference to the following paper in your work:
// Gil Levi and Tal Hassner, "LATCH: Lear... |
<commit_before>/*
* AttentionalFocusCB.cc
*
* Copyright (C) 2014 Misgana Bayetta
*
* Author: Misgana Bayetta <misgana.bayetta@gmail.com> July 2014
*
* 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 the Fre... |
<commit_before>/*
* AttentionalFocusCB.cc
*
* Copyright (C) 2014 Misgana Bayetta
*
* Author: Misgana Bayetta <misgana.bayetta@gmail.com> July 2014
*
* 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 the Fre... |
<commit_before><commit_msg>Modified method data handling and fix #57<commit_after><|endoftext|> |
<commit_before>#include <bits/stdc++.h>
using namespace std;
int findMinimum(int num, int digits){
vector<int> splitArr;
int pos = 0;
while(num>0){
splitArr.push_back(num % 10);
num /= 10;
pos++;
}
sort(splitArr.begin(), splitArr.end());
int resultLen = splitArr.size()-digits;
pos = 0; num = 0;
while(r... |
<commit_before>/***********************************************************************
filename: CEGUIOgreTextureTarget.cpp
created: Tue Feb 17 2009
author: Paul D Turner
*************************************************************************/
/***************************************************... |
<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/extensions/extension_apitest.h"
#include "base/stringprintf.h"
#include "chrome/browser/chromeos/extensions/i... |
<commit_before>// $Id: options.C,v 1.13 2000/07/26 14:38:14 amoll Exp $
#include <BALL/DATATYPE/options.h>
#include <stdlib.h>
#include <errno.h>
#include <stdio.h>
#include <math.h>
#include <fstream>
#include <list>
#include <algorithm>
using namespace std;
using std::ofstream;
using std::ios;
namespace BALL
{... |
<commit_before>#ifndef _ENTITY_KEYBIND_HPP_
#define _ENTITY_KEYBIND_HPP_
// ------------------------------------------------------------------------------------------------
#include "Entity.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
/* -... |
<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/extensions/extension_file_util.h"
#include "base/file_util.h"
#include "base/scoped_temp_dir.h"
#include "bas... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkSphereSource.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-2000 Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
Redistri... |
<commit_before>#pragma once
#include <list>
#include <cassert>
#include <unordered_map>
template <typename _Kty, typename _Ty>
class LRUCache
{
public:
using value_type = std::pair<const _Kty, _Ty>;
private:
int fixedCacheSize_;
std::list<value_type> values_;
public:
using value_iterator = decltype(... |
<commit_before>#ifndef DISPLAY_H
#include "mbed.h"
class Display {
public:
static Display *getInstance();
static const int height = 8;
static const int width = 16;
void set(int row, int col);
void clear(int row, int col);
void swapBuffer();
private:
Display();
~Display();
void resetBuffer(bool b... |
<commit_before>// SPDX-License-Identifier: MIT
/**
Copyright (c) 2021 - 2022 Beckhoff Automation GmbH & Co. KG
*/
#include "AdsLib.h"
#include "Log.h"
#include "wrap_endian.h"
#include <cstring>
namespace bhf
{
namespace ads
{
static bool PrependUdpLenTagId(Frame& frame, const uint16_t length, const uint16_t tagI... |
<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/safe_browsing/download_protection_service.h"
#include "base/bind.h"
#include "base/memory/scoped_ptr.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/browser/sync/notifier/listener/talk_mediator_impl.h"
#include "base/logging.h"
#include "base/singleton.h"
#include "... |
<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 "base/process_util.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/tabs/tab... |
<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/website_settings/permission_menu_model.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10... |
<commit_before>/****************************************************************************
*
* Copyright (c) 2016 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
<commit_before>/*=========================================================================
Program: NeuroLib (DTI command line tools)
Language: C++
Date: $Date: 2009/01/09 15:39:51 $
Version: $Revision: 1.3 $
Author: Casey Goodlett (gcasey@sci.utah.edu)
Copyright (c) Casey Goodlett. All righ... |
<commit_before>/*******************************************************************************
* thrill/mem/allocator_base.hpp
*
* Part of Project Thrill.
*
* Copyright (C) 2015 Timo Bingmann <tb@panthema.net>
*
* This file has no license. Only Chuck Norris can compile it.
*************************************... |
<commit_before>#ifndef SYMBOLS_H
#define SYMBOLS_H
#include"objects.hpp"
#include"heaps.hpp"
#include"mutexes.hpp"
#include<vector>
#include<string>
#include<map>
class SymbolsTable;
class Symbol {
ValueHolderRef value;
std::string printname; //utf-8
AppMutex m;
Symbol(); //disallowed
explicit Symbol(std::str... |
<commit_before>/*****************************************************************************
* Project: RooFit *
* Package: RooFitCore *
* @(#)root/roofitcore:$Id$
* Authors: ... |
<commit_before><commit_msg>Fixed another bug in iso engine, cells can now be emptied correctly.<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
//
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.