text stringlengths 54 60.6k |
|---|
<commit_before>/*
*
* Copyright 2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, thi... |
<commit_before>/*
* A c++ version of (significant pieces of) the QPController.m mimoOutput method.
*
* Todo:
* switch to spatial accelerations in motion constraints
* use fixed-size matrices (or at least pre-allocated)
* for instance: #define nq
* set MaxRowsAtCompileTime (http://eigen.... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2011 Francois Beaune
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2015 Francois Beaune, The appleseedhq O... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2014 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>#include "contextpanetextwidget.h"
#include "contextpanewidget.h"
#include "ui_contextpanetext.h"
#include <qmljs/qmljspropertyreader.h>
#include <QTimerEvent>
namespace QmlDesigner {
ContextPaneTextWidget::ContextPaneTextWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ContextPaneTextWidg... |
<commit_before>#include "contextpanetextwidget.h"
#include "contextpanewidget.h"
#include "ui_contextpanetext.h"
#include <qmljs/qmljspropertyreader.h>
#include <QTimerEvent>
namespace QmlDesigner {
ContextPaneTextWidget::ContextPaneTextWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ContextPaneTextWidg... |
<commit_before>#ifndef __STAN__PROB__DISTRIBUTIONS__UNIVARIATE__CONTINUOUS__SCALED_INV_CHI_SQUARE_HPP__
#define __STAN__PROB__DISTRIBUTIONS__UNIVARIATE__CONTINUOUS__SCALED_INV_CHI_SQUARE_HPP__
#include <stan/agrad.hpp>
#include <stan/math/error_handling.hpp>
#include <stan/math/special_functions.hpp>
#include <s... |
<commit_before>/*
* NotebookAlternateEngines.cpp
*
* Copyright (C) 2009-16 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Aff... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: chips/p9/procedures/hwp/memory/lib/mcbist/address.H $ ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/lib/p9_common_poweronoff.H ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_cpu_special_wakeup.C ... |
<commit_before>#include "sub_thruster_library/t200_thruster.h"
//#include "sub_thruster_library/seabotix_thruster.h"
#include "sub_thruster_library/generic_thruster.h"
#include <json/json.h>
#include <ros/ros.h>
#include <diagnostic_msgs/DiagnosticStatus.h>
#include <diagnostic_msgs/SelfTest.h>
#include <iostream>
#... |
<commit_before>#include "ElectricFieldReaderInitModule.hpp"
#include <fstream>
#include <limits>
#include <memory>
#include <new>
#include <stdexcept>
#include <string>
#include <utility>
#include <Math/Vector3D.h>
#include <TH2F.h>
#include "core/config/exceptions.h"
#include "core/geometry/PixelDetectorModel.hpp"
... |
<commit_before>/**
* @author Koen Wolters <koen.wolters@cern.ch>
*/
#include "DetectorHistogrammerModule.hpp"
#include <memory>
#include <string>
#include <utility>
#include <TApplication.h>
#include <TFile.h>
#include "core/geometry/PixelDetectorModel.hpp"
#include "core/messenger/Messenger.hpp"
#include "core/u... |
<commit_before>/* Copyright 2019 The TensorFlow 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 appl... |
<commit_before>#pragma once
#include "core_configuration/core_configuration.hpp"
#include "counter_chunk_value.hpp"
#include "counter_direction.hpp"
#include "counter_entry.hpp"
#include "options.hpp"
#include "types/absolute_time_duration.hpp"
#include "types/pointing_motion.hpp"
#include <algorithm>
#include <deque>... |
<commit_before>#define _LOG_PROB_ poisson_log_log
#include <stan/prob/distributions/univariate/discrete/poisson.hpp>
#include <test/agrad/distributions/distribution_test_fixture.hpp>
#include <test/agrad/distributions/distribution_tests_1_discrete_1_param.hpp>
using std::vector;
using std::numeric_limits;
using stan:... |
<commit_before>/*
* Copyright 2004-present Facebook, 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 appl... |
<commit_before>/*=========================================================================
Library: TubeTK
Copyright 2010 Kitware Inc. 28 Corporate Drive,
Clifton Park, NY, 12065, USA.
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in complian... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2015. All rights reserved
*/
#include "../../StroikaPreComp.h"
#if qPlatform_Windows
#include <windows.h>
#include <shellapi.h>
#include <shlobj.h>
#elif qPlatform_POSIX
#include <unistd.h>
#endif
#include "../../Characters/Strin... |
<commit_before>/* Copyright (c) 2010-2012 Delft University of Technology.
*
* This software is protected by national and international copyright.
* Any unauthorized use, reproduction or modification is unlawful and
* will be prosecuted. Commercial and non-private application of the
* software in any... |
<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>//
// Copyright (c) articy Software GmbH & Co. KG. All rights reserved.
//
#include "Slate/GV/SArticyGlobalVariables.h"
#include "ArticyEditorStyle.h"
#include "ArticyPluginSettings.h"
#include "Widgets/Input/SNumericEntryBox.h"
#include "Widgets/Input/SSearchBox.h"
#include "Widgets/Input/SCheckBox... |
<commit_before>/*
This file is part of the PhantomJS project from Ofi Labs.
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2011 Ivan De Marino <ivan.de.marino@gmail.com>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the... |
<commit_before>/**************************************************************************
*
* Copyright 2011 Jose Fonseca
* 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
* in t... |
<commit_before>#include "opencv2/opencv.hpp"
#include <iostream>
using namespace cv;
using namespace std;
// From wikipedia:
//
// def RL_deconvolution(observed, psf, iterations):
// # initial estimate is arbitrary - uniform 50% grey works fine
// latent_est = 0.5*np.ones(observed.shape)
// # create an in... |
<commit_before>#include "rltk.hpp"
#include <SFML/Graphics.hpp>
namespace rltk {
void run(std::function<void(double)> on_tick, const int window_width, const int window_height, const std::string window_title) {
sf::RenderWindow window(sf::VideoMode(window_width, window_height, sf::Style::Titlebar | sf::Style::Resi... |
<commit_before>//===----------------------------------------------------------------------===//
//
// Peloton
//
// aggregate_plan.cpp
//
// Identification: src/planner/aggregate_plan.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===-----------------------------... |
<commit_before>/*
kopetecommand.cpp - Command
Copyright (c) 2003 by Jason Keirstead <jason@keirstead.org>
Copyright (c) 2005 by Michel Hermier <michel.hermier@wanadoo.fr>
Kopete (c) 2002-2005 by the Kopete developers <kopete-devel@kde.org>
*********************************************... |
<commit_before>#include "memstorage.h"
#include "utils.h"
#include "compression.h"
#include <limits>
#include <algorithm>
#include <map>
using namespace memseries;
using namespace memseries::compression;
using namespace memseries::storage;
using memseries::utils::Range;
struct Chunk
{
uint8_t *_buffer;
Rang... |
<commit_before>// Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2010, 2011, 2012 Google Inc. All rights reserved.
// http://code.google.com/p/ceres-solver/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... |
<commit_before>#include "post_process/adminizer.hpp"
#include <mapnik/params.hpp>
#include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp>
#include <mapnik/featureset.hpp>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>
#include ... |
<commit_before>#pragma once
#include "includes.hpp"
#define TAGLIB_STATIC
#include <taglib/fileref.h>
#include <taglib/tag.h>
#include <taglib/tpropertymap.h>
class playlist : public Component, public FileDragAndDropTarget {
struct playlistModel : public TableListBoxModel {
base::string paths;
std::vector<siz... |
<commit_before>//!
//! @file SignalSecondOrderFilter.hpp
//! @author Björn Eriksson <bjorn.eriksson@liu.se>
//! @date 2010-01-22
//!
//! @brief Contains a Signal Second Order Filter Component using CoreUtilities
//!
//$Id$
#ifndef SIGNALSECONORDERFILTER_HPP_INCLUDED
#define SIGNALSECONORDERFILTER_HPP_INCLUDED
#in... |
<commit_before>/*****************************************************************************
idr.cpp
(c) 2014 - Nikhil R Podduturi
J. Michael Cherry Lab, Department of Genetics, Stanford University School of Medicine
Licensed under the GNU General Public License 2.0 license.
*********************************... |
<commit_before>/*
* Copyright 2009 The Android Open Source Project
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBitmapProcState_opts_SSE2.h"
#include "SkBitmapProcState_opts_SSSE3.h"
#include "SkBlitMask.h"
#include "SkBlitRow.h"
#include "... |
<commit_before>/*
EEPROM.cpp - esp8266 EEPROM emulation
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License... |
<commit_before>/*
* Copyright (c) 2015 Nathan Osman
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify... |
<commit_before>/*
* W.J. van der Laan 2011-2012
*/
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
#include "ui_interface.h"
#include "qtipcserver.h"
#include <QApplication>
#include <QMessageBox>
#i... |
<commit_before>// @(#)root/io:$Id$
// Author: Elvin Sindrilaru 19/05/2011
/*************************************************************************
* Copyright (C) 1995-2011, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>/*
* AudioGraph Audio Graph Layer for Jamoma DSP
* Creates a wrapper for TTAudioObjects that can be used to build an audio processing graph.
* Copyright © 2008, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/... |
<commit_before>/*
* Jamoma Asynchronous Object Graph Layer
* Creates a wrapper for TTObjects that can be used to build a control graph for asynchronous message passing.
* Copyright © 2010, Timothy Place
*
* License: This code is licensed under the terms of the GNU LGPL
* http://www.gnu.org/licenses/lgpl.html
... |
<commit_before>// Copyright (c) 2006, 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 ... |
<commit_before>/*
* PKCS #8
* (C) 1999-2008 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/pkcs8.h>
#include <botan/get_pbe.h>
#include <botan/der_enc.h>
#include <botan/ber_dec.h>
#include <botan/asn1_obj.h>
#include <botan/oids.h>
#include <botan/pem.h>
#include <botan/internal/pk... |
<commit_before>/***************************************************************************
main.cpp - description
-------------------
begin : Wed Aug 2 11:23:04 CEST 2000
copyright : (C) 2000 by Hans Dijkema
email ... |
<commit_before>/* Kernel modules can handle sub-microsecond interrupts: http://raspberrypi.stackexchange.com/questions/8586/arm-timer-in-kernel-module-with-precision-less-than-microsecond
cat /proc/timer_list indicates that high-res timer (hrtimer) resolution is actually 1 ns
hrtimer is available to userspace programs.... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: TestQuadRotationalExtrusionMultiBlock.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.... |
<commit_before>/*******************************************************************************
* ALMA - Atacama Large Millimiter Array
* (c) Associated Universities Inc., 2002 *
* (c) European Southern Observatory, 2002
* Copyright by ESO (in the framework of the ALMA collaboration)
* and Cosylab 2002, ... |
<commit_before>// Copyright (c) 2016-2018 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/test_syscoin_services.h>
#include <util/time.h>
#include <rpc/server.h>
#include <services/asse... |
<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>//============================================================================
// Name : ImageProcessingController.cpp
// Author : ITM13
// Version : 1.0
// Copyright : Copyright (c) 2014 Swank Rat, MIT License (MIT)
// Description :
//==================================================... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#include "../../StroikaPreComp.h"
#if qHasFeature_OpenSSL
#include <openssl/evp.h>
#include <openssl/md5.h>
#endif
#include "../../Characters/StringBuilder.h"
#include "../../Characters/ToString.h"
#include "../../Containers... |
<commit_before>// Copyright Tenzir GmbH. All rights reserved.
#define SUITE type_registry
#include "vast/system/type_registry.hpp"
#include "vast/test/fixtures/actor_system_and_events.hpp"
#include "vast/test/test.hpp"
#include "vast/default_table_slice_builder.hpp"
#include "vast/detail/notifying_stream_manager.hp... |
<commit_before>#include "queue_model_windowed_mg1.h"
#include "simulator.h"
#include "config.hpp"
#include "log.h"
QueueModelWindowedMG1::QueueModelWindowedMG1(String name, UInt32 id)
: m_window_size(SubsecondTime::NS(Sim()->getCfg()->getInt("queue_model/windowed_mg1/window_size")))
{}
QueueModelWindowedMG1::~Queu... |
<commit_before>#include "ist/InnerSphereTree.h"
#include <iostream>
#include <math.h>
#include <limits>
using namespace std;
namespace chai3d {
/*
Constructor of an inner sphere tree.
*/
InnerSphereTree::InnerSphereTree() {
}
/*
Destructor of the inner sphere tree.
*/
InnerSphereTree::~InnerSphereTree... |
<commit_before>// -*- C++ -*-
//
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Charles A. Williams
// Rensselaer Polytechnic Institute
// (C) 2004 All Rights Reserved
//
// Copyright 2004 Renssel... |
<commit_before>/*=========================================================================
Program: ORFEO Toolbox
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
See OTBCopyright.txt for details.
This software is distributed WIT... |
<commit_before>#include "addressbookpage.h"
#include "ui_addressbookpage.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "bitcoingui.h"
#include "editaddressdialog.h"
#include "csvmodelwriter.h"
#include "guiutil.h"
#include <QSortFilterProxyModel>
#include <QClipboard>
#include <QMessageBox>
#in... |
<commit_before>#include "aliastablemodel.h"
#include "guiutil.h"
#include "walletmodel.h"
#include "wallet.h"
#include "base58.h"
#include <QFont>
using namespace std;
const QString AliasTableModel::Alias = "A";
const QString AliasTableModel::DataAlias = "D";
class CAliasDB;
extern CAliasDB *paliasdb;
int GetAl... |
<commit_before>#include "stdafx.h"
#include "common/RhoPort.h"
#include "common/StringConverter.h"
#include "ruby/ext/rho/rhoruby.h"
#include "MainWindow.h"
#ifdef OS_WINCE__
#include <tapi.h>
#include <tsp.h>
//#include <sms.h>
#endif
using namespace rho;
using namespace rho::common;
extern "C" HWND getMainWnd();
... |
<commit_before><commit_msg>[test.elliptic-cg-discretization] updated test<commit_after><|endoftext|> |
<commit_before>/*
* MapKey.h
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "MapKey.h"
#include <map>
#include <X11/Xutil.h>
namespace LLGL
{
#define KEYPAIR(KEYSYM, KEY) { KEYSYM, Key::KEY }
static std::map<KeySym,... |
<commit_before>/*
* MapKey.cpp (Win32)
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "MapKey.h"
namespace LLGL
{
#define KEY(c) Key::c
#define DUMMY KEY(Pause) // <-- any key, a dummy will never be used
static Key ... |
<commit_before>/*
* This file is part of telepathy-accounts-kcm
*
* Copyright (C) 2011 Florian Reinhard <florian.reinhard@googlemail.com>
*
* 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 Foun... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
* Copyright (c) 2001 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. Redistributi... |
<commit_before>// AMX profiler for SA-MP server: http://sa-mp.com
//
// Copyright (C) 2011 Sergey Zolotarev
//
// 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.ap... |
<commit_before>/*
* Copyright © 2012 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#i... |
<commit_before>// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "rpc/client.h"
#include "rpc/protocol.h"
#include "util.h"
#i... |
<commit_before>/* -------------------------------------------------------------------------- */
/* Copyright 2002-2018, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before>/**************************************************************************
**
** Copyright (C) 2012, 2013 BlackBerry Limited. All rights reserved
**
** Contact: BlackBerry (qt@blackberry.com)
** Contact: KDAB (info@kdab.com)
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licens... |
<commit_before><commit_msg>remove debug output<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: dsitems.hxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: fs $ $Date: 2001-02-05 13:57:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/**
* @file
*
* @brief Read key sets using yaml-cpp
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#include "read.hpp"
#include "yaml-cpp/yaml.h"
#include <kdb.hpp>
#include <kdblogger.h>
#include <kdbplugin.h>
#include <sstream>
using namespace std;
using namespac... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: DExport.hxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: rt $ $Date: 2006-05-04 08:42:41 $
*
* The Contents of this file are made ... |
<commit_before>//---------------------------------------------------------------------------
// $Id$
// Version: $Name$
// Author: Toby D. Young, Polish Academy of Sciences, 2008, 2009
//
// Copyright (C) 2009 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// with... |
<commit_before>/* symtable.cc
* Hash table representing the symbol table.
* the symbol table.
* UIdaho CS445 120++ Compiler
* author: Chris Waltrip <walt2178@vandals.uidaho.edu>
*/
#include <iostream>
#include <sstream>
#include <string>
#include "symtable.hh"
#include "exception.hh"
/*
AbstractSymbol::AbstractS... |
<commit_before>// @(#)root/hist:$Id$
// Author: Christophe.Delaere@cern.ch 21/08/2002
///////////////////////////////////////////////////////////////////////////
//
// TLimitDataSource
//
// This class serves as interface to feed data into the TLimit routines
//
//////////////////////////////////////////////////////... |
<commit_before>/*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrSurfaceProxy.h"
#include "src/gpu/GrSurfaceProxyPriv.h"
#include "include/gpu/GrContext.h"
#include "include/private/GrRecordingContext.h"
... |
<commit_before>#include <QCoreApplication>
#include <QtDebug>
#include <iostream>
#include <fstream>
//#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <cerrno>
#include <cmath>
#include <thread>
#include <mutex>
#define OUTPUT_FILE "./trials.csv"
#define NUMBER_THREADS 1
#define USE_MULTIPLE_THREAD... |
<commit_before>extern "C" {
#include "postgres.h"
#include "fmgr.h"
#include "catalog/pg_type.h"
#include "utils/uuid.h"
#include "executor/spi.h"
#include "provsql_shmem.h"
#include "provsql_utils.h"
PG_FUNCTION_INFO_V1(probability_evaluate);
}
#include <set>
#include <cmath>
#include <csignal>
#include "Boolea... |
<commit_before>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2011 Ulrich von Zadow
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2 of the Li... |
<commit_before>#include "renderer.h"
#include "player.h"
#include "coord.h"
#include <SFML/Graphics.hpp>
GLuint Texture = 0;
Renderer::Renderer(Terrain initterrain) : terrain(initterrain) {
// Set color and depth clear value
glClearDepth(1.f);
glClearColor(0.f, 0.f, 0.f, 1.f); // black
// Enable Z-bu... |
<commit_before>#include <SFML/Graphics.hpp>
#include <iostream>
#include <fstream>
#include <string>
#include <stdio.h>
#include "renderer.h"
#include "player.h"
#include "coord.h"
GLuint Texture = 0;
GLdouble vertices[96] = {
-1, 1, -1,
1, 1, -1,
1, -1, -1,
-1, -1, -1,
1, -1, -1,
1, ... |
<commit_before>/*
Copyright (c) 2015-2016 Advanced Micro Devices, 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
in the Software without restriction, including without limitation the ri... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkMinMaxCurvatureFlowImageFilterTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights re... |
<commit_before>/***
* Copyright (c) 2013, Dan Hasting
* 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, ... |
<commit_before>/**
* Render Pipeline C++
*
* Copyright (c) 2014-2016 tobspr <tobias.springer1@gmail.com>
* Copyright (c) 2016-2017 Center of Human-centered Interaction for Coexistence.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
* and associated documentation... |
<commit_before>//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Axel Naumann <axel@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser G... |
<commit_before><commit_msg>Fix type printing of array template args Apply patch to interpreter/llvm/src/tools/clang/lib/AST/TemplateBase.cpp as suggested here: https://reviews.llvm.org/D36368<commit_after><|endoftext|> |
<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>/**
* @file SyncedWait.cpp
* @brief SyncedWait class implementation.
* @author zer0
* @date 2019-09-11
*/
#include <libtbag/time/SyncedWait.hpp>
#include <libtbag/time/Time.hpp>
#include <cassert>
#include <chrono>
// -------------------
NAMESPACE_LIBTBAG_OPEN
// -------------------
namespa... |
<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 plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE... |
<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... |
<commit_before>#include "config.h"
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>
#ifdef RBX_WINDOWS
#include <winsock2.h>
#else
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netdb.h>
#endif
#include <sys/stat.h>
#include <errno.h>
#include <time.h>
#include <math.h>
#i... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c+mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Le... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c+mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Le... |
<commit_before>#ifndef BLUETOE_BITS_HPP
#define BLUETOE_BITS_HPP
#include <cstdint>
#include <bluetoe/codes.hpp>
namespace bluetoe {
namespace details {
inline std::uint16_t read_handle( const std::uint8_t* h )
{
return *h + ( *( h + 1 ) << 8 );
}
inline std::uint16_t read_16bit_uuid( const ... |
<commit_before>/*
* Copyright (c) 2016 Luke San Antonio
* All rights reserved.
*
* This file provides the implementation for the engine's C interface,
* specifically tailored for LuaJIT's FFI facilities.
*
* General engine stuff
*/
#include "redcrane.hpp"
#include "../common/version.h"
#include "../assets/lo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.