text stringlengths 54 60.6k |
|---|
<commit_before>//===- UnifyFunctionExitNodes.cpp - Make all functions have a single exit -===//
//
// 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) 2011-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include <config/bitcoin-config.h>
#endif
#include <qt/optionsdialog.h>
#include <... |
<commit_before>#include "nodes/NonOptimizingNode.hpp"
#include <sstream>
using namespace std;
NonOptimizingNode::NonOptimizingNode(
unsigned int populationSize,
vector<Locus*> loci,
vector<ObjectiveFunction*> objectives,
ToStringFunction * populationToString,
vector<EndCondition*> conditions,
string nodeName
) ... |
<commit_before>//
// ofxModernOscMessage.cpp
//
// Created by ISHII 2bit on 2016/03/20.
//
//
#include "ofxModernOscMessage.h"
#include "ofLog.h"
#define BEGIN_NAMESPACE_OFX_MODERN_OSC namespace ofx {\
namespace ModernOsc {
#define END_NAMESPACE_OFX_MODERN_OSC\
};\
};
BEGIN_NAMESPACE_OFX_MODERN_OSC
END_... |
<commit_before>/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Crytek
*
* 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>#include <osg/GL>
#include <osg/Matrix>
#include <osg/io_utils>
#include <osg/ComputeBoundsVisitor>
#include <osgGA/CameraManipulator>
#include <string.h>
using namespace osg;
using namespace osgGA;
CameraManipulator::CameraManipulator()
{
_intersectTraversalMask = 0xffffffff;
_autoComputeHome... |
<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>#define DEBUG 1
/**
* File : F2.cpp
* Author : Kazune Takahashi
* Created : 2019-6-2 00:47:04
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <stack>... |
<commit_before>/*
* File: main.cpp
* Author: tziegler
*
* Created on 5. November 2015, 12:24
*/
#include <cstdlib>
#include "GetFileDiff.h"
#include <unistd.h>
#include <X11/Xlib.h>
#include "MenuHandle.h"
#include "TermInfo.h"
#include "TermHandle.h"
#include "ScreenHandle.h"
using namespace std;
/*
*
*/
i... |
<commit_before>/**
* \file PancakeInstance.hpp
*
*
*
* \author eaburns
* \date 18-01-2010
*/
#if !defined(_PANCAKE_H_)
#define _PANCAKE_H_
#include <boost/array.hpp>
#include <boost/pool/pool.hpp>
#include <boost/utility.hpp>
#include "pancake/PancakeState.hpp"
#include "pancake/PancakeNode.hpp"
#include <io... |
<commit_before>#include "archive.h"
#include "debug.h"
#include <QThreadPool>
void ParseArchiveListingTask::run()
{
QVector<File> files;
QRegExp fileRx("^(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+\\s+\\S+\\s+\\S+)\\s+(.+)$");
foreach(QString line, _listing.split('\n', QString::SkipEmptyParts)... |
<commit_before>//
// Copyright (c) 2009, Markus Rickert
// 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... |
<commit_before>//* This file is part of the MOOSE framework
//* https://www.mooseframework.org
//*
//* All rights reserved, see COPYRIGHT for full restrictions
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
//*
//* Licensed under LGPL 2.1, please see LICENSE for details
//* https://www.gnu.org/licenses/lgp... |
<commit_before>#include <plasp/pddl/InitialState.h>
#include <plasp/pddl/Context.h>
#include <plasp/pddl/Identifier.h>
#include <plasp/pddl/IO.h>
#include <plasp/pddl/expressions/Predicate.h>
#include <plasp/utils/ParserException.h>
namespace plasp
{
namespace pddl
{
/////////////////////////////////////////////////... |
<commit_before>/*
* Copyright (c) 2014-2020 AscEmu Team <http://www.ascemu.org>
* Copyright (c) 2008-2019 Sun++ Team <http://www.sunplusplus.info/>
* Copyright (C) 2008-2012 ArcEmu Team <http://www.ArcEmu.org/>
* Copyright (C) 2008 WEmu Team
*
* This program is free software: you can redistribute it and/or modify... |
<commit_before><commit_msg>Delete file.<commit_after><|endoftext|> |
<commit_before>#include "set.h"
#include <limits>
#include <algorithm>
#include <sstream>
#include <iostream>
Deg::Runtime::Math::Set::Conjunction::Conjunction() {
return;
}
Deg::Runtime::Math::Set::Conjunction::Conjunction(unsigned int Field, int BottomEq, int TopNeq) {
Clauses[Field] = Interval<int>(BottomEq, Top... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 1999-2000 The Apache Software Foundation. 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. Redi... |
<commit_before>// Copyright 2014 Alessio Sclocco <a.sclocco@vu.nl>
//
// 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 requir... |
<commit_before>/*********************************************************************
*
* Authors: Vincenzo Ciaschini - Vincenzo.Ciaschini@cnaf.infn.it
*
* Copyright (c) Members of the EGEE Collaboration. 2004-2010.
* See http://www.eu-egee.org/partners/ for details on the copyright holders.
*
* Licensed under t... |
<commit_before>/* This file is part of Fabula.
Copyright (C) 2010 Mike McQuaid <mike@mikemcquaid.com>
Fabula 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 3 of the License, or
... |
<commit_before>#include "sdl_rpc_plugin/commands/mobile/set_cloudapp_properties_request.h"
namespace sdl_rpc_plugin {
using namespace application_manager;
namespace commands {
SetCloudAppPropertiesRequest::SetCloudAppPropertiesRequest(
const app_mngr::commands::MessageSharedPtr& message,
app_mngr::Applicatio... |
<commit_before>/**
* This file is part of Slideshow.
* Copyright (C) 2008-2010 David Sveningsson <ext@sidvind.com>
*
* Slideshow 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>/* All or part of this file was contributed by Intel under license:
* Copyright (C) 2017-2018 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#include "tensors/cpu/backend.h"
#include "tensors/tensor.h"
#include "tensors/tensor_allocator.h"
#if MKL_FOUND
#include <mkl.h>
#else
#if BLAS_FOUND... |
<commit_before>//
// Created by Miguel Rentes on 30/01/2017.
//
#include "STL.h"
void printKMax(int arr[], int n, int k) {
deque<int> mydeque;
int greatest = 0, value = 0, index = 0, iteration = 0;
/*
* pushing all the greatest values on each k-elements to the front of the deque
*/
for (int ... |
<commit_before>#include "Distribution.h"
// From:
// http://stackoverflow.com/questions/6142576/sample-from-multivariate-normal-gaussian-distribution-in-c
#include <iostream>
#include <chrono>
#include <functional>
#include <Eigen/Dense>
#include "ThreadVector.hpp"
#include "omp_util.h"
using namespace std;
usin... |
<commit_before>#include <tansa/trajectory.h>
double LightTrajectory::evaluate(double t) {
// Calculate percent intensities between start and end times
double totalIntensityChange = endIntensity - startIntensity;
double totalTimeChange = endTime - startTime;
double requestedTimeChange = t - startTime;
assert(req... |
<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/component_updater/flash_component_installer.h"
#include "base/bind.h"
#include "base/base_paths.h"
#include "... |
<commit_before><commit_msg>NProjectを使うようにした<commit_after><|endoftext|> |
<commit_before>#ifndef TYPES_H
#define TYPES_H
#include<stack>
#include<set>
#include<vector>
#include"heaps.hpp"
#include"hashes.hpp"
#include"variables.hpp"
#include"executors.hpp"
class Semispace;
void* operator new(size_t, Semispace&);
void operator delete(void*, Semispace&);
class ToPointerLock;
class Generic {... |
<commit_before>#include "TMC2130Stepper.h"
#include "TMC2130Stepper_MACROS.h"
// PWMCONF
uint32_t TMC2130Stepper::PWMCONF() { READ_REG(PWMCONF); }
void TMC2130Stepper::PWMCONF(uint32_t input) {
PWMCONF_sr = input;
WRITE_REG(PWMCONF);
}
void TMC2130Stepper::pwm_ampl( uint8_t B ) { MOD_REG(PWMCONF, PWM_AMPL); }
vo... |
<commit_before>#include "TrackingWorker.hpp"
#include <boost/chrono/duration.hpp>
#include <ros/console.h>
#include "../matlab/position.hpp"
TrackingWorker::TrackingWorker(IPositionReceiver *receiver)
{
assert(receiver != 0);
this->receiver = receiver;
stop = false;
thread = new boost::thread(boost::bind(&Tra... |
<commit_before>/*
This file is part of KMail.
Copyright (c) 2005 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
vers... |
<commit_before>/*
* This file is part of krss
*
* Copyright (C) 2009 Frank Osterfeld <osterfeld@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 t... |
<commit_before>#include "NdefRecord.h"
NdefRecord::NdefRecord()
{
//Serial.println("NdefRecord Constructor 1");
_tnf = 0;
_typeLength = 0;
_payloadLength = 0;
_idLength = 0;
_type = (byte *)NULL;
_payload = (byte *)NULL;
_id = (byte *)NULL;
}
NdefRecord::NdefRecord(const NdefRecord& rh... |
<commit_before>// =============================================================================
// File Name: DSDisplay.cpp
// Description: Receives IP address from remote host then sends HUD data there
// Author: FRC Team 3512, Spartatroniks
// ==========================================================================... |
<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/app/chrome_main.h"
#include <signal.h>
#include "base/global_descriptors_posix.h"
#include "base/logging.h"
#include... |
<commit_before>#include "ksp_plugin/pile_up.hpp"
#include "ksp_plugin/part.hpp"
#include "geometry/named_quantities.hpp"
#include "geometry/r3_element.hpp"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "quantities/si.hpp"
#include "testing_utilities/almost_equals.hpp"
#include "testing_utilities/component... |
<commit_before>//
// Created by Lennart Oymanns on 03.05.17.
//
#ifndef NumberRepr_hpp
#define NumberRepr_hpp
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include <string>
namespace Equation {
class NumberRepr {
public:
explicit NumberRepr();
explicit NumberRepr(const std::string ... |
<commit_before>// Copyright 2017 The Ray Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
<commit_before>// Copyright 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this li... |
<commit_before>//==- DeadStores.cpp - Check for stores to dead variables --------*- 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 "Logger.h"
#include "spectral/SpectrumDescriptor.h"
#include "spectral/RGBConverter.h"
#include <OpenImageIO/imageio.h>
#include <boost/filesystem.hpp>
#include <sstream>
OIIO_NAMESPACE_USING
using namespace PR;
namespace bf = boost::filesystem;
static void save_image(const std::string& path... |
<commit_before>#include <Kernel/GL/vjGlxWindow.h>
#include <vjConfig.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <GL/glx.h>
#include <Kernel/GL/vjGlWindow.h>
#include <Kernel/vjKernel.h>
#include <Kernel/vjDebug.h>
#include <Kernel/vjDisplay.h>
vjGlxWindow::vjGlxWindow() {
window_is_open = 0;
win... |
<commit_before>/* -*- mode:linux -*- */
/**
* \file tiles_state.cc
*
*
*
* \author Ethan Burns
* \date 2008-11-03
*/
#include <assert.h>
#include <math.h>
#include <vector>
#include <iostream>
#include "tiles.h"
#include "tiles_state.h"
using namespace std;
TilesState::TilesState(SearchDomain *d, const Stat... |
<commit_before>/****************************************************************************
* Copyright (C) 2013-2014 by Savoir-Faire Linux *
* Author : Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> *
* ... |
<commit_before>/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2011 Sergey Lisitsyn
* Copyrigh... |
<commit_before>/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 1999-2008 Gunnar Raetsch
* Writ... |
<commit_before>//===--- PrunedLiveness.cpp - Compute liveness from selected uses ---------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>//===--- PlaygroundTransform.cpp - Playground Transform -------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/*
* Copyright (C) 2017 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>#include "ImageStack.h"
#include "Func.h"
using namespace ImageStack;
using namespace ImageStack::Lazy;
#define work(X) ((X+X*X*X)/(sqrt(X)+X*X))
//#define work(X) (X)
#define X_TILE_SIZE 256
#define Y_TILE_SIZE 32
void blur_fast(Image in, Image out) {
__m256 one_third = _mm256_set1_... |
<commit_before>/*********************************************************************
*
* Copyright (c) 2017, Saurav Agarwal
* All rights reserved.
*
*********************************************************************/
#include "G2OSolver.h"
#include "g2o/core/block_solver.h"
#include "g2o/core/factory.h"... |
<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>#define _USE_MATH_DEFINES
#include <Windows.h>
#include "Game.h"
#include <gl\GL.h>
#include <gl\glut.h>
#include "RGBAColor.h"
#include "SpriteLayer.h"
#include "WallPlayer.h"
#include <math.h>
#include <iostream>
Game::Game() :
window(800, 600, "Foul Kicker"), level(0)
{
Layer* background = ... |
<commit_before>#include "GameScene.h"
GameScene::GameScene(Application& app) : Scene(app), mStonesNumber(0), active(true), active2(true)
{
//init Highscore
getApp().resetHighscore();
mHighscore.setFont(getApp().getFont());
mHighscore.setCharacterSize(20);
mHighscore.setColor(sf::Color(255, 255, 255));
mHighscor... |
<commit_before>#include "Geo.h"
#include <iostream>
#include <cmath>
//----------------------------- Cartesian element ------------------------------------
CartesianElement::CartesianElement() { X = Y = Z = 0; }
CartesianElement::CartesianElement(double x, double y, double z)
{
X = x;
Y = y;
Z = z;
}
CartesianEle... |
<commit_before>/*
* Copyright (c) [2014-2015] Novell, Inc.
* Copyright (c) 2016 SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* Thi... |
<commit_before>/**
* @file MetisFile.cpp
* @brief Class functions for reading and writing metis graph files.
* @author Dominique LaSalle <wildriver@domnet.org>
* Copyright 2015-2016
* @version 1
*
*/
#include <sstream>
#include "MetisFile.hpp"
namespace WildRiver
{
/***********************************... |
<commit_before>// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "performance_runner.h"
#include "TestCase.h"
#include <experimental/filesystem>
#ifdef _MSC_VER
#include <filesystem>
#endif
#include "core/graph/graph_viewer.h" //for onnxruntime::NodeArg
#include ... |
<commit_before>// Copyright 2009 the V8 project authors. 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... |
<commit_before>/*
* This File is part of Davix, The IO library for HTTP based protocols
* Copyright (C) CERN 2013
* Author: Adrien Devresse <adrien.devresse@cern.ch>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... |
<commit_before>#include "yj_field.h"
#include <vector>
namespace penciloid
{
namespace yajilin
{
Field::Field() : GridLoop<Field>(), cells_()
{
}
Field::Field(Y height, X width) : GridLoop<Field>(height - 1, width - 1), cells_(height, width, Cell())
{
}
Field::Field(Problem &problem) : GridLoop<Field>(p... |
<commit_before><commit_msg>typo<commit_after><|endoftext|> |
<commit_before><commit_msg>path must contain user name<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fixedhyper.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: ihi $ $Date: 2007-11-22 15:24:25 $
*
* The Contents of this file are ma... |
<commit_before>#include "algorithm.h"
#include <iostream>
Algorithm::Algorithm()
{
}
Algorithm::~Algorithm()
{
}
Solution Algorithm::solve(Problem& problem, bool printResult)
{
Solution bestSolution = concreteSolve(problem);
std::cout << bestSolution.numberOfObstrucatedStudent() << std::endl;
if (printR... |
<commit_before><commit_msg>Call RegisterURLRequestChromeJob on browser startup for Linux and Mac. Without this, ChromeURLDataManager::RemoveFileSource triggers a DCHECK for the "inspector" source since that's being called during shutdown lately.<commit_after><|endoftext|> |
<commit_before><commit_msg>Don't instantiate an ExtensionPrefStore.<commit_after><|endoftext|> |
<commit_before><commit_msg>Fixing the build I commited a patch with typo, this patch should fix it.<commit_after><|endoftext|> |
<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/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#includ... |
<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/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#includ... |
<commit_before>/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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 (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 "base/string_util.h"
#include "chrome/app/chrome_dll_resource.h"
#include "chrome/browser/worker_host/worker_service.h"
#inclu... |
<commit_before>// Copyright 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 "cc/layers/tiled_layer_impl.h"
#include "base/basictypes.h"
#include "base/strings/stringprintf.h"
#include "cc/base/math_util.h"... |
<commit_before>/***********************************************************************
filename: CEGUISpinner.cpp
created: 3/2/2005
author: Paul D Turner
*************************************************************************/
/***************************************************************************
* Cop... |
<commit_before>
// SelfTests.h
// Implements the cSelfTests class representing the singleton used for registering self-tests
// This class is only declared if SELF_TEST macro is defined.
#include "Globals.h"
#include "SelfTests.h"
#if SELF_TEST
cSelfTests::cSelfTests(void):
m_AllowRegistering(true)
{
}
... |
<commit_before>/* Copyright (c) 2009-2012 Stanford University
*
* 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" ... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved
*/
// TEST Foundation::Execution::Exceptions
#include "Stroika/Foundation/StroikaPreComp.h"
#include <iostream>
#include <sstream>
#if qPlatform_Windows
#include <Windows.h>
#include <winerror.h>
#include <wininet.h> // fo... |
<commit_before>// @(#)alimdc:$Name$:$Id$
// Author: Fons Rademakers 26/11/99
/**************************************************************************
* Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: Th... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, 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... |
<commit_before>//
// Created by Yury Rakhuba on 11/05/15.
//
#include "TriangleScene.hpp"
#include "DummyController.hpp"
#include "ogl/GLUtils.hpp"
#include "base/Platform.hpp"
#include "base/assert.hpp"
#include "base/math.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "glm/gtc/type_ptr.hpp"
TriangleScene:... |
<commit_before>#include "Private/CloseButton.h"
#include <QSvgWidget>
#include <QHBoxLayout>
namespace WRibbon {
namespace Private {
///////////////////////////////////////////////////////////////////////////////
// PUBLIC SECTION //
/////////////////////////... |
<commit_before>/** @file
Plugin to perform background fetches of certain content that would
otherwise not be cached. For example, Range: requests / responses.
@section license License
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTIC... |
<commit_before>#pragma once
#include <eosio/chain/trace.hpp>
#include <eosio/chain/types.hpp>
#include <eosio/chain/block.hpp>
#include <eosio/chain/block_state.hpp>
namespace eosio { namespace trace_api_plugin {
struct authorization_trace_v0 {
chain::name account;
chain::name permission;
};
st... |
<commit_before>// Copyright 2019 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>/*****************************************************************************
YASK: Yet Another Stencil Kernel
Copyright (c) 2014-2018, Intel Corporation
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... |
<commit_before>#include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/Capture.h"
#include "cinder/gl/Texture.h"
#include "cinder/gl/GlslProg.h"
#include "cinder/Log.h"
#include "cinder/gl/Fbo.h"
#include "GridTexture.h"
#include "Landscape.h"
#include "cinder/Motion... |
<commit_before>////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm 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://ww... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ximpstyl.hxx,v $
*
* $Revision: 1.13 $
*
* last change: $Author: hr $ $Date: 2007-06-27 15:12:42 $
*
* The Contents of this file are made... |
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_BASEFUNCTIONSET_FEM_LOCALFUNCTIONS_HH
#define DUNE_DETAILED_DISCRETIZATIONS_BASEFUNCTIONSET_FEM_LOCALFUNCTIONS_HH
#include <vector>
#include "interface.hh"
namespace Dune {
namespace Detailed {
namespace Discretizations {
// forward, to be used in the traits and... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtparai.hxx,v $
*
* $Revision: 1.12 $
*
* last change: $Author: hr $ $Date: 2007-07-31 17:36:04 $
*
* The Contents of this file are made... |
<commit_before>/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2011 Heiko Strathmann
* Copyrig... |
<commit_before>#pragma once
#include <array>
#include "MotionController.hpp"
#include "Pid.hpp"
#include "RobotModel.hpp"
/**
* Robot controller that runs a PID loop on each of the four wheels.
*/
class PidMotionController : public MotionController {
public:
PidMotionController() {
setPidValues(1, 0, 0)... |
<commit_before>#include <vector>
#include <cassert>
#include "cprocessing.hpp"
typedef bool boolean;
#ifndef CPROCESSING_ARRAYLIST_
#define CPROCESSING_ARRAYLIST_
using namespace cprocessing;
namespace cprocessing {
template <typename T>
class ArrayList {
public:
std::vector<T> self;
i... |
<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>// Copyright 2015 Patrick Putnam
//
// 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 a... |
<commit_before>/*
* Copyright (C) 2020 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>/*
* benchmark.cpp
*
* Created on: Jun 23, 2015
* Author: Fabian Tschopp
*/
#include "benchmark.hpp"
#include <vector>
#include <string>
#include <iostream>
#include <functional>
#include <chrono>
#include <cassert>
#include "../include/filesystem_utils.hpp"
namespace caffe_neural {
void Fi... |
<commit_before>#pragma once
#ifndef BENCHMARK_HPP_778YQPEJ
#define BENCHMARK_HPP_778YQPEJ
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/current_function.hpp>
#include <vector>
#include <string>
#define BENCHMARK(list,exp) { benchmark::timer t(list,#exp,__FILE__,__LINE__,BOOST_CURRENT_FUNCTION); ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.