text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* $RCSfile: parser.hxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: np $ $Date: 2002-03-08 14:45:17 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>/*
* Copyright (C) 2015, Nils Moehrle
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#include <iostream>
#include <... |
<commit_before>#include <cstring>
#include <sstream>
#include "ksync/logging.h"
#include "ksync/comm_system_object.h"
namespace KSync {
namespace Comm {
CommObject::PackException::PackException(Type_t type) {
std::stringstream ss;
ss << "There was a problem packing an object of type (" << GetTypeName(type) <... |
<commit_before>#include "vtoolbox.h"
#include <QPushButton>
#include <QStackedLayout>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QVariant>
#include <QLabel>
#include "vnote.h"
#include "utils/vutils.h"
#include "utils/viconutils.h"
extern VNote *g_vnote;
VToolBox::VToolBox(QWidget *p_parent)
: QWid... |
<commit_before>/*
Copyright (c) 2009-2014, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef ELEM_SCHUR_QR_HPP
#... |
<commit_before>/*
** Author(s):
** - Cedric GESTES <gestes@aldebaran-robotics.com>
**
** Copyright (C) 2012 Cedric GESTES
*/
#include "remoteobject_p.hpp"
#include <qimessaging/message.hpp>
#include <qimessaging/transport_socket.hpp>
#include <qi/log.hpp>
#include <boost/thread/mutex.hpp>
namespace qi {
RemoteObjec... |
<commit_before><commit_msg>Add defensive code in pickle to preclude realloc of shared header_ memory.<commit_after><|endoftext|> |
<commit_before>#pragma once
#include <vector>
#include "nifty/math/math.hxx"
#include "nifty/histogram/histogram.hxx"
#include "nifty/cgp/geometry.hxx"
#include "nifty/cgp/bounds.hxx"
#include "nifty/marray/marray.hxx"
#include "nifty/filters/gaussian_curvature.hxx"
#include "nifty/features/accumulated_features.hxx"
... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File: testNekMatrix.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics... |
<commit_before>#include "Player.hpp"
using namespace ild;
Entity JumpyPlayer::Create(JumpyGameSystems *gameSystems)
{
auto entity = gameSystems->GetSystemManager().CreateEntity();
auto physicsComponent = gameSystems->GetPhysics().CreateComponent(entity);
physicsComponent->GetActions().SetAffectedByGravity... |
<commit_before>#include <iostream>
#include "drake/Path.h"
#include "drake/util/Polynomial.h"
#include "drake/systems/Simulation.h"
#include "drake/systems/plants/BotVisualizer.h"
#include "drake/systems/LCMSystem.h"
#include "drake/systems/cascade_system.h"
#include "drake/util/drakeAppUtil.h"
#include "drake/systems... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: basenode.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2006-07-26 07:35:12 $
*
* The Contents of this file are made ... |
<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>/**
* scoreboard.cpp
*
* The implementation of the scoreboard.h interface
*/
#include "scoreboard.h"
/**
* Sets the score for a given competition and a given period
*
* If the given competitor or period is negative, then no changes take effect
* If the given competitor or period is greater than... |
<commit_before>#ifndef DUNE_DETAILED_DISCRETIZATIONS_SPACE_LAGRANGE_CONTINUOUS_HH
#define DUNE_DETAILED_DISCRETIZATIONS_SPACE_LAGRANGE_CONTINUOUS_HH
#include <dune/localfunctions/lagrange/equidistantpoints.hh>
#include <dune/localfunctions/lagrange.hh>
#include <dune/fem_localfunctions/localfunctions/transformations.... |
<commit_before>/* Copyright (c) 2010-2017, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should h... |
<commit_before>/*
* Copyright 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 requ... |
<commit_before><commit_msg>Remove floating point suffix for glsl<commit_after><|endoftext|> |
<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)
#ifndef DUNE_HDD_EXAMPLES_LINEARELLIPTIC_THERMALBLOCK_BINDINGS_GENERATOR_HH
#define DUNE... |
<commit_before>//
// LemonScriptSymbolTable.cpp
// lemonscript
//
// Created by Donald Pinckney on 2/6/16.
// Copyright © 2016 Donald Pinckney. All rights reserved.
//
#include "LemonScriptSymbolTable.h"
#include <stdlib.h>
#include <iostream>
std::vector<void *> LemonScriptSymbolTable::variableAddressHeap;
voi... |
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved.
#include "extproc/extproc_job.hpp"
#include "extproc/extproc_pool.hpp"
#include "extproc/extproc_worker.hpp"
extproc_job_t::extproc_job_t(extproc_pool_t *_pool,
bool (*worker_fn) (read_stream_t *, write_stream_t *),
... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File FilterBenchmark.cpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautic... |
<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/component_updater_service.h"
#include <algorithm>
#include <string>
#include <vector>
#inc... |
<commit_before>#ifndef DUNE_RB_MODEL_STATIONARY_LINEAR_ELLIPTIC_INTERFACE_HH
#define DUNE_RB_MODEL_STATIONARY_LINEAR_ELLIPTIC_INTERFACE_HH
#ifdef HAVE_CMAKE_CONFIG
#include "cmake_config.h"
#elif defined (HAVE_CONFIG_H)
#include <config.h>
#endif // ifdef HAVE_CMAKE_CONFIG
#include <vector>
#include <dune/commo... |
<commit_before>/*
* Copyright (c) 2015-2016 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware impleme... |
<commit_before>/*************************************************************************
*
* $RCSfile: BrowseNodeFactoryImpl.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2004-10-22 14:06:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the fo... |
<commit_before>/*
* rngs
* ECE 541 Project 2
* Kashev Dalmia - dalmia3
* David Huang - huang157
*/
#include <iostream>
#include <signal.h>
#include "stl_rng.h"
#include "mt19937.h"
#include "randu.h"
using namespace std;
using namespace rng;
static RandomNumberGenerator* randgen_ptr = nullptr;
/*
* Functio... |
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved.
#include "extproc/http_runner.hpp"
#include "extproc/http_job.hpp"
#include "containers/archive/stl_types.hpp"
#include "arch/timing.hpp"
RDB_IMPL_ME_SERIALIZABLE_3(http_opts_t::http_auth_t, 0, type, username, password);
RDB_IMPL_ME_SERIALIZABLE_14... |
<commit_before>#include "stdafx.h"
#include "renderer.h"
Renderer::Renderer(bool useSwapChain)
{
_renderDeferred = false;
_isInitialized = false;
_useSwapChain = useSwapChain;
_rasterizerUseMultiSampling = true;
_bufferCount = 2;
_swapChainFlags = 0;
_renderTarget = DeferredTar... |
<commit_before>/*
* Copyright (c) 2012-2013 ARM Limited
* Copyright (c) 2013 Cornell University
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual p... |
<commit_before><commit_msg>INTEGRATION: CWS dba205c (1.4.10); FILE MERGED 2006/10/09 12:11:03 fs 1.4.10.2: no UTF-8 encoding for registry directory, use UCS2/Unicode directly Issue number: #i69327# Submitted by: rvojta@openoffice.org Reviewed by: fs@openoffice.org 2006/10/09 12:09:29 fs 1.4.10.1: moving changes fro... |
<commit_before>/*************************************************************************
*
* $RCSfile: XmlFilterAdaptor.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: aidan $ $Date: 2002-05-21 09:50:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the foll... |
<commit_before>#include <utils_export_client_library_python.h>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <websocketserver.h>
#include <employees.h>
#include <QtCore> // TODO remove
void UtilsExportClientLibraryPython::exportLib(){
std::string idt = " ";
QCoreApplication::applicat... |
<commit_before>//===-- DYLDRendezvous.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 "minimap.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "asdf_multiplat/main/asdf_multiplat.h"
#include "asdf_multiplat/data/gl_vertex_spec.h"
#include "asdf_multiplat/data/gl_state.h"
#include "ui/hex_map.h"
using namespace std;
using namespace glm;
namespace as... |
<commit_before>/**
* (c) 2019 by Mega Limited, Wellsford, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and comply with the the rules set forth in the Terms of Service.
*
* The MEGA SDK is distributed in the h... |
<commit_before>/*
* Copyright (c) 2018, Ford Motor Company
* 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>#include "inverseIndexStorageBloomierFilter.h"
InverseIndexStorageBloomierFilter::InverseIndexStorageBloomierFilter(size_t pSizeOfInverseIndex, size_t pMaxBinSize) {
mInverseIndex = new std::vector<BloomierFilter* > (pSizeOfInverseIndex);
mMaxBinSize = pMaxBinSize;
mKeys = new vvsize_t(pSizeOfInverse... |
<commit_before>//===--------------- PPCVSXFMAMutate.cpp - VSX FMA Mutation ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "catch.hpp"
#include <array>
#include <oroch/varint.h>
using varint32 = oroch::varint_codec<uint32_t>;
using varint64 = oroch::varint_codec<uint64_t>;
TEST_CASE("varint codec for single value", "[varint]") {
std::array<uint8_t, 10> bytes;
auto it = bytes.begin();
varint32::value_encode(i... |
<commit_before>/*************************************************************************
*
* $RCSfile: office_connect.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: hr $ $Date: 2003-06-30 15:43:45 $
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
*
* ... |
<commit_before>#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <google/dense_hash_set>
#include <locale>
#include <list>
#include <iostream>
#include <string>
#include <re2/re2.h>
#include "smart_git.h"
#include "timer.h"
using google::dense_hash_set;
using re2::RE2;
using re2::StringPiece;
usi... |
<commit_before>#include "Karabiner-VirtualHIDDevice/dist/include/karabiner_virtual_hid_device.hpp"
#include "hid_manager.hpp"
namespace {
class hid_set_report final {
public:
hid_set_report(const hid_set_report&) = delete;
hid_set_report(void) : hid_manager_({
std::make_pair(krbn::hid... |
<commit_before>#include <maya/MFnMesh.h>
#include <maya/MFnMeshData.h>
#include <maya/MEulerRotation.h>
#include <maya/MQuaternion.h>
#include <maya/MFnArrayAttrsData.h>
#include <maya/MArrayDataBuilder.h>
#include "Asset.h"
#include "AssetNode.h"
#include "OutputInstancerObject.h"
#include "util.h"
OutputInstancerOb... |
<commit_before>/*************************************************************************
*
* $RCSfile: uiconfigelementwrapperbase.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: kz $ $Date: 2004-02-25 17:34:40 $
*
* The Contents of this file are made available subject to the terms of
* either of t... |
<commit_before>//===-- X86SelectionDAGInfo.cpp - X86 SelectionDAG Info -------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//
// FileHolder.cpp
// Clock Signal
//
// Created by Thomas Harte on 21/11/2016.
// Copyright © 2016 Thomas Harte. All rights reserved.
//
#include "FileHolder.hpp"
#include <cstring>
using namespace Storage;
FileHolder::~FileHolder()
{
if(file_) fclose(file_);
}
FileHolder::FileHolder(const c... |
<commit_before>/*
* SessionEnvironment.cpp
*
* Copyright (C) 2009-12 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 Affero Ge... |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, 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>#define NOD_ATHENA 1
#include "DNAMP2.hpp"
#include "STRG.hpp"
#include "MLVL.hpp"
#include "CMDL.hpp"
#include "ANCS.hpp"
#include "CINF.hpp"
#include "MREA.hpp"
#include "MAPA.hpp"
#include "MAPU.hpp"
#include "PATH.hpp"
#include "AFSM.hpp"
#include "SAVW.hpp"
#include "AGSC.hpp"
#include "../DNAMP1/HI... |
<commit_before>#ifndef __CINT__
#include "TMath.h"
#include "AliCDBManager.h"
#include "AliTriggerScalers.h"
#include "AliTriggerRunScalers.h"
#include "AliTimeStamp.h"
#include "AliTriggerScalersRecord.h"
#include "AliTriggerConfiguration.h"
#include "AliLHCData.h"
#include "AliTriggerClass.h"
#include "AliTriggerBCMa... |
<commit_before>#include <iostream>
#include <string>
#include <set>
#include <vector>
#include <algorithm>
#include <functional>
#include <stack>
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
class MyStack
{
public:
void Push(int key);
int Pop();
int PeekMedian();
private:
... |
<commit_before>#include "Halide.h"
using namespace Halide;
#include <iostream>
#include <limits>
#include "benchmark.h"
#include "halide_image_io.h"
using namespace Halide::Tools;
using std::vector;
int main(int argc, char **argv) {
if (argc < 3) {
std::cerr << "Usage:\n\t./interpolate in.png out.png\... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use t... |
<commit_before>/*******************************************************************************
* Copyright 2009-2015 Juan Francisco Crespo Galán
*
* 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 ... |
<commit_before>#ifdef ENABLE_MPI
#include <stddef.h>
#include <sstream>
#include "Tools/Exception/exception.hpp"
#include "Monitor_BFER_reduction_mpi.hpp"
using namespace aff3ct;
using namespace aff3ct::module;
struct monitor_vals
{
unsigned long long n_be;
unsigned long long n_fe;
unsigned long long n_fra;
un... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/nest/p9_throttle_sync.H $ ... |
<commit_before>/**
* Touhou Community Reliant Automatic Patcher
* Main DLL
*
* ----
*
* Steam integration for games that are available through Steam, but don't
* come with Steam integration themselves. Requires Valve's `steam_api.dll`,
* which can be deleted to disable this feature.
*
* Initially, t... |
<commit_before>#include "iteration/updater/angular_fixed_updater.h"
#include "formulation/tests/angular_stamper_mock.h"
#include "quadrature/tests/quadrature_set_mock.h"
#include "test_helpers/gmock_wrapper.h"
namespace {
using namespace bart;
template <typename DimensionWrapper>
class IterationUpdaterAngularFixed... |
<commit_before>#include "JPetAnalysisModule.h"
ClassImp(JPetAnalysisModule);
JPetAnalysisModule::JPetAnalysisModule(const char* name, const char* title, TTree * shared_tree = NULL)
: TNamed(name, title)
, fSuperSharedTree( shared_tree )
{ }
JPetAnalysisModule::JPetAnalysisModule()
{ }
JPetAnalysisModule::~JPet... |
<commit_before>/*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2021 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
* permission notice appear ... |
<commit_before>/*
* Dataset_opencvTest.cpp
* Tests Dataset_opencv
*
Copyright 2017 Wojciech Wilgierz
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>#include "Layer/fully_connected_neural_network.hpp"
using namespace Convolutional;
using namespace Convolutional::Layer;
auto FullyConnectedNeuralNetwork::ProcessMultiMatrix(const MultiMatrix& multiMatrix) -> MultiMatrix {
const auto inputCount = multiMatrix.GetDimensionCount() * multiMatrix.GetElemen... |
<commit_before>/*
* Jamoma MatrixProcessingLib: Gain
* Copyright © 2011, Timothy Place
*
* License: This code is licensed under the terms of the "New BSD License"
* http://creativecommons.org/licenses/BSD/
*/
#include "TTMatrixGain.h"
TTErr TTMatrixGain::test(TTValue& returnedTestInfo)
{
int errorCount = ... |
<commit_before>//===- BlockProfiling.cpp - Insert counters for block profiling -----------===//
//
// 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><commit_msg>Sketcher: [skip ci] fix undo bug when directly changing a datum constraint in the property editor<commit_after><|endoftext|> |
<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>/*
* Copyright 2013 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/gl/GrGLContext.h"
#include "src/gpu/gl/GrGLGLSL.h"
#include "src/sksl/SkSLCompiler.h"
#ifdef SK_BUILD_FOR_ANDROID
#include <sys/system_proper... |
<commit_before><commit_msg>gui: ensure highlight dialog cancel is honored<commit_after><|endoftext|> |
<commit_before>#define DEBUG 1
/**
* File : C2.cpp
* Author : Kazune Takahashi
* Created : 6/22/2019, 11:48:13 PM
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <string>
#include <complex>
#include <tuple>
#include <queue>
#include <sta... |
<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>/* -*- 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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cclass_unicode.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: obo $ $Date: 2006-09-17 09:15:51 $
*
* The Contents of this file a... |
<commit_before>#include "application.h"
// This #include statement was automatically added by the Spark IDE.
#include "flipflop.h"
// This #include statement was automatically added by the Spark IDE.
#include "mag3110.h"
/*
MAG3110 Watermeter Reader
Author: Keith Baker
Email: kbaker at alumni dot ithaca ... |
<commit_before><commit_msg>remove test_bitcoin.cpp<commit_after><|endoftext|> |
<commit_before>// Copyright eeGeo Ltd (2012-2015), All Rights Reserved
#include "WorldPinsScaleController.h"
#include <limits>
#include "IWorldPinsService.h"
#include "ScreenProperties.h"
#include "RenderCamera.h"
#include "IWorldPinsRepository.h"
#include "WorldPinsVisibilityMessage.h"
namespace ExampleApp
{
n... |
<commit_before>/****************************************************************/
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* All contents are licensed under LGPL V2.1 */
/* See LICENSE for full r... |
<commit_before>// Copyright 2017 GeunYoung Lim <interruping4dev@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... |
<commit_before>/*
Copyright (c) 2014 Daniel Vrátil <dvratil@redhat.com>
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 the License, or (at your
option... |
<commit_before>/*******************************************************************************
* Copyright (c) 2015 Wojciech Migda
* All rights reserved
* Distributed under the terms of the GNU LGPL v3
*******************************************************************************
*
* Filename: linreg.hpp
*
* ... |
<commit_before>#include "Q1DTransferFunction.h"
#include <QtGui/QPainter>
#include <QtGui/QMouseEvent>
Q1DTransferFunction::Q1DTransferFunction(QWidget *parent) :
QWidget(parent),
m_iPaintmode(Q1DT_PAINT_NONE),
m_bBackdropCacheUptodate(false),
m_iCachedHeight(0),
m_iCachedWidth(0),
m_pBackdropCache(NUL... |
<commit_before>#include "socket.h"
#include "database.h"
#include "configuration.h"
#include "extern.h"
#include "enum.h"
#include <stdio.h>
extern "C" {
#include <unistd.h>
}
extern int run_the_game();
#ifndef LOWTOOLS
int main(int argc, char *argv[])
{
int a;
if (!Config::doConfiguration(argc, argv))
e... |
<commit_before><commit_msg>Revert of Return an accessible value for all HTML input elements. (patchset #2 id:20001 of https://codereview.chromium.org/739753002/)<commit_after><|endoftext|> |
<commit_before>/******************************************************************************
* Copyright (c) 2011, Michael P. Gerlek (mpg@flaxen.com)
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following
* conditions a... |
<commit_before>//===-- interception_linux_test.cc ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... |
<commit_before>// This file is part of MLDB. Copyright 2015 Datacratic. All rights reserved.
/** static_content_handler.cc
Jeremy Barnes, 5 March 2015
Copyright (c) 2015 Datacratic Inc. All rights reserved.
Handler for static content.
*/
#include <typeinfo>
#include "mldb/server/static_content_handler.h... |
<commit_before>#ifndef BIT_MEMORY_ALLOCATORS_DETAIL_BUMP_UP_ALLOCATOR_INL
#define BIT_MEMORY_ALLOCATORS_DETAIL_BUMP_UP_ALLOCATOR_INL
//============================================================================
// bump_up_allocator
//============================================================================
//----... |
<commit_before>/******************************************
Author: Tiago Britto Lobão
tiago.blobao@gmail.com
*/
/*
Purpose: Control an integrated circuit
Cirrus Logic - CS5490
Used to measure electrical quantities
MIT License
******************************************/
#include "CS5490.h"
/******* Init... |
<commit_before>#include "communique/Client.h"
#include <mutex>
#include <future>
#include "communique/impl/Exceptions.h"
#define _WEBSOCKETPP_CPP11_STL_ // Make sure websocketpp uses c++11 features in preference to boost ones
#include <websocketpp/client.hpp>
#include <websocketpp/config/asio.hpp>
#include "communiqu... |
<commit_before>#pragma once
#include "spinner/resmgr.hpp"
namespace boom {
//! 当たり判定属性マスク
using CMask = uint32_t;
using CTime = uint32_t;
using Int_OP = spn::Optional<int>;
/*! コリジョン情報を纏めた構造体
\tparam CMGR コリジョンマネージャ
\tparam HLMDL モデルハンドル(Locked)
\tparam BCID BroadCollisionクラスのオブジェクトを特定できるようなデータ型
\tparam ... |
<commit_before>#pragma once
#include <map>
#include <string>
#include <boost/any.hpp>
#include "blackhole/error.hpp"
#include "cast.hpp"
namespace blackhole {
namespace aux {
template<class T>
struct extractor {
boost::any source;
std::string name;
extractor(const boost::any& source, const std::strin... |
<commit_before>#include "StdAfx.h"
#include "ArwDecoder.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009 Klaus Post
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 Found... |
<commit_before>#include "StdAfx.h"
#include "NefDecoder.h"
#include "ByteStreamSwap.h"
#include "BitPumpMSB32.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009 Klaus Post
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Pub... |
<commit_before>#include <iostream>
#include <string>
#include <cstring>
#include "OpenCLHelper.h"
#include "stringhelper.h"
#include "Timer.h"
#include "test/TestArgsParser.h"
#include "test/SpeedTemplates.h"
using namespace std;
// for use in conjunction with http://www.cs.berkeley.edu/~volkov/volkov10-GTC.pdf
int ... |
<commit_before>//
// Type.c
// Emojicode
//
// Created by Theo Weidmann on 04.03.15.
// Copyright (c) 2015 Theo Weidmann. All rights reserved.
//
#include <cstring>
#include <vector>
#include "utf8.h"
#include "Class.hpp"
#include "Function.hpp"
#include "EmojicodeCompiler.hpp"
#include "Enum.hpp"
#include "Protoc... |
<commit_before>
/*
Copyright 1998-2006 FileMaker, Inc. All Rights Reserved.
*/
#include "Support/FMPluginGlobalDefines.h"
#if defined(FMX_WIN_TARGET)
#include "Windows.h"
#endif
#include "FMWrapper/FMXExtern.h"
#include "FMWrapper/FMXTypes.h"
#include "FMWrapper/FMXFixPt.h"
#include "FMWrapper/FMXText.h"
#i... |
<commit_before>// vim: set sts=2 sw=2 et:
// encoding: utf-8
//
// Copyleft 2012 RIME Developers
// License: GPLv3
//
// 2012-06-05 GONG Chen <chen.sst@gmail.com>
//
#include <boost/foreach.hpp>
#include <rime/common.h>
#include <rime/composition.h>
#include <rime/config.h>
#include <rime/context.h>
#inclu... |
<commit_before>//===----------------------------------------------------------------------===//
//
// Peloton
//
// bwtree_index.cpp
//
// Identification: src/backend/index/bwtree_index.cpp
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===---------------------------... |
<commit_before>/******************************************************************************\
* File: process.cpp
* Purpose: Implementation of class 'wxExProcess'
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are reserved. Reprod... |
<commit_before>/******************************************************************************\
* File: process.cpp
* Purpose: Implementation of class 'wxExProcessWithListView'
* Author: Anton van Wezenbeek
* RCS-ID: $Id$
*
* Copyright (c) 1998-2009 Anton van Wezenbeek
* All rights are rese... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.