text stringlengths 54 60.6k |
|---|
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All rights reserved.
See MITKC... |
<commit_before>// The I/O APIC manages hardware interrupts for an SMP system.
// http://www.intel.com/design/chipsets/datashts/29056601.pdf
// See also picirq.c.
#include "types.h"
#include "traps.h"
#include "kernel.hh"
#include "apic.hh"
#include "irq.hh"
#include "cpu.hh"
#include "pci.hh"
#include "kstream.hh"
#in... |
<commit_before>// Copyright (c) 2016 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 "bench.h"
#include "chainparams.h"
#include "validation/validation.h"
namespace block_bench {
#include "... |
<commit_before>/*
* Copyright 2014 Open Connectome Project (http://openconnecto.me)
* Written by Da Zheng (zhengda1936@gmail.com)
*
* This file is part of FlashMatrix.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
<commit_before>//..............................................................................
//
// This file is part of the Jancy toolkit.
//
// Jancy is distributed under the MIT license.
// For details see accompanying license.txt file,
// the public copy of which is also available at:
// http://tibbo.com/dow... |
<commit_before>#ifndef STAN_MATH_PRIM_MAT_PROB_ORDERED_PROBIT_LOG_HPP
#define STAN_MATH_PRIM_MAT_PROB_ORDERED_PROBIT_LOG_HPP
#include <stan/math/prim/mat/prob/ordered_probit_lpmf.hpp>
#include <stan/math/prim/scal/meta/return_type.hpp>
namespace stan {
namespace math {
/**
* Returns the (natural) log pro... |
<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/ui/views/keyboard_overlay_delegate.h"
#include "base/memory/scoped_ptr.h"
#include "base/utf_string_conversio... |
<commit_before>// Test various levels of coverage
//
// FIXME: Port the environment variable logic below for the lit shell.
// REQUIRES: shell
//
// RUN: mkdir -p %T/coverage-levels
// RUN: %clangxx -fsanitize=shift -DGOOD_SHIFT=1 -O1 -fsanitize-coverage=func %s -o %t
// RUN: %env_ubsan_opts=cov... |
<commit_before>/*
Copyright (c) 2013-2016 Ubidots.
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, merge, publish... |
<commit_before>/* Copyright 2015 Google Inc. 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 applicable law o... |
<commit_before>/* Copyright (c) 2017-2020 Hans-Kristian Arntzen
*
* 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, c... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: corbaoptions.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-08 02:07:55 $
*
* The Contents of this file are m... |
<commit_before>/* BatchLearning.cpp
*
* Kubo Ryosuke
*/
#ifndef NLEARN
#include "BatchLearning.h"
#include "LearningConfig.h"
#include "LearningTemplates.h"
#include "config/Config.h"
#include "core/move/MoveGenerator.h"
#include "core/record/CsaReader.h"
#include "core/util/FileList.h"
#include <list>
#include <... |
<commit_before>/*
* Copyright 2014 Cloudius Systems
*/
#ifndef SSTRING_HH_
#define SSTRING_HH_
#include <stdint.h>
#include <algorithm>
#include <string>
#include <cstring>
#include <stdexcept>
#include <initializer_list>
#include <iostream>
#include <functional>
#include <cstdio>
#include <experimental/string_view... |
<commit_before>// Copyright (c) 2010-2021, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>/*************************************************************************
*
* $RCSfile: textconversionImpl.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2003-04-17 17:53:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the follo... |
<commit_before>/*
Copyright (c) 2022 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 rights
t... |
<commit_before>// -*- Mode:C++ -*-
/**************************************************************************************************/
/* */
/* Copyright (C) 2016 University of Hull ... |
<commit_before>#include <stdio.h>
#include <opencv2/calib3d/claib3d.hpp>
#include <iostream>
#include <vector>
#include <string>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/nonfree/features2d.hpp>
using namespace std;
using namespace cv;
int main(int argc,char **argv)
{
... |
<commit_before>//============================================================================
// Name : Application.cpp
// Author : Rian van Gijlswijk
// Description : Main application file.
//============================================================================
#include "Application.h"
#include <st... |
<commit_before>// The libMesh Finite Element Library.
// Copyright (C) 2002-2016 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>#include <cstdint>
#include "clockUtils/errors.h"
#include "clockUtils/argparser/ArgumentParser.h"
#include "gtest/gtest.h"
TEST(ArgumentParser, parseBool) {
REGISTER_VARIABLE(bool, b, false, "A test boolean");
REGISTER_VARIABLE(bool, d, false, "A test boolean");
REGISTER_VARIABLE(bool, foo, false,... |
<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.
// Most of this code is copied from various classes in
// src/chrome/browser/policy. In particular, look at
//
// configuration_polic... |
<commit_before>#ifndef VEXCL_DEVLIST_HPP
#define VEXCL_DEVLIST_HPP
/*
The MIT License
Copyright (c) 2012 Denis Demidov <ddemidov@ksu.ru>
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 r... |
<commit_before>#include "geometry/triangular_mesh.h"
#include "geometry/triangle3.h"
#include "geometry/bounding_box3.h"
#include "math/vector3.h"
#include "math/matrix3.h"
#include <memory>
#include <set>
#include <gtest/gtest.h>
using namespace hd;
using namespace std;
class TriangularMeshTest : public ::testing::T... |
<commit_before>/*------------------------------------------------------------------------------
Copyright (c) 2004 Media Development Loan Fund
This file is part of the LiveSupport project.
http://livesupport.campware.org/
To report bugs, send an e-mail to bugs@campware.org
LiveSupport is free s... |
<commit_before>// illarionserver - server for the game Illarion
// Copyright 2011 Illarion e.V.
//
// This file is part of illarionserver.
//
// illarionserver 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 Found... |
<commit_before>// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced
// at the Lawrence Livermore National Laboratory. All Rights reserved. See files
// LICENSE and NOTICE for details. LLNL-CODE-806117.
//
// This file is part of the MFEM library. For more information and source code
// availa... |
<commit_before>#include "Command.h"
#include <iostream>
#include <boost/tokenizer.hpp>
#include <sys/types.h>
#include <sys/wait.h>
using namespace std;
using namespace boost;
Command::Command()
{
commandString = "";
///pass = false;
}
Command::Command(string c)
{
commandString = c;
}
string Command::... |
<commit_before>#include "viewer.hpp"
#include "trac0r/utils.hpp"
#include <SDL_ttf.h>
#include <SDL_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/intersect.hpp>
#include <glm/gtc/random.hpp>
#include <glm/gtx/string_cast.hpp>
#include <glm/gtx/rotate_vector.hpp>
#include ... |
<commit_before>#include "Console.h"
#include <iostream>
#include <map>
#include <vector>
#include <sstream>
#include <llvm/ADT/OwningPtr.h>
#include <llvm/Support/MemoryBuffer.h>
#include <llvm/Linker.h>
#include <llvm/Module.h>
#include <llvm/ModuleProvider.h>
#include <llvm/DerivedTypes.h>
#include <llvm/ExecutionE... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hfi_tag.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: rt $ $Date: 2005-09-07 17:47:56 $
*
* The Contents of this file are made a... |
<commit_before>/*
*
* Copyright 2008-2012 NVIDIA 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: pe_param.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: hr $ $Date: 2007-11-02 16:56:30 $
*
* The Contents of this file are made... |
<commit_before>#include "common/std_headers.h"
#include "nodebase/jswrapbase.h"
#include "build.src/vec_jsWrap.h"
#include "build.src/ivec_jsWrap.h"
#include "build.src/mat_jsWrap.h"
#include "build.src/mat44_jsWrap.h"
#include "./solid_geometry_jswrap.h"
using namespace arma;
/* -------------------------------------... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: b2drange.hxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: obo $ $Date: 2007-07-18 11:04:01 $
*
* The Contents of this file are mad... |
<commit_before>void test()
{
gSystem->Load("libEG");
gSystem->Load("libdime");
gSystem->Load("libTDime");
TDime* dime = new TDime();
dime->SetEnergyCMS(7000.);
dime->Initialize();
TClonesArray* particles = new TClonesArray("TParticle", 100);
for (Int_t i = 0; i < 10; i++)
{
dime->Ge... |
<commit_before>/*
March22 Engine Prototype:
A C++ port of Snow Sakura
Code by Sam Lynch,
Amduat Games
Everything else is property of
D.O. and G-Collections
*/
#include "SDL.h" // Main SDL library
#include <SDL_image.h> // SDL Image library
#include <SDL_mixer.h> // SDL Image library
#include "M22Engine.h"... |
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <libtorrent/torrent_handle.hpp>
#include <boost/python.hpp>
#include <boost/py... |
<commit_before>
#include "DRV8711.h"
uint8_t _SlaveSelectPin;
DRV8711::DRV8711() {
DRV8711(SPI_SlaveSelect);
}
DRV8711::DRV8711(uint8_t SlaveSelectPin) {
_SlaveSelectPin = SlaveSelectPin;
}
void DRV8711::configureRegisters(){
uint16_t CTRL_REG = 0x0000;
uint16_t TORQUE_REG = 0x0000;
CTRL_REG = DTIME_850 + ISG... |
<commit_before>/// \file urbi/ustarter.hh
// This file is part of UObject Component Architecture
// Copyright (c) 2007 Gostai S.A.S.
//
// Permission to use, copy, modify, and redistribute this software for
// non-commercial use is hereby granted.
//
// This software is provided "as is" without warranty of any kind,
/... |
<commit_before>#ifndef MJOLNIR_CORE_SYSTEM_HPP
#define MJOLNIR_CORE_SYSTEM_HPP
#include <mjolnir/core/Unit.hpp>
#include <mjolnir/core/Particle.hpp>
#include <mjolnir/core/Topology.hpp>
#include <mjolnir/core/SimulatorTraits.hpp>
#include <mjolnir/core/BoundaryCondition.hpp>
#include <mjolnir/core/RandomNumberGenerator... |
<commit_before>// Copyright (c) 2010 Hewlett-Packard Development Company, L.P. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
extern "C" {
#include <mlt/framework/mlt_producer.h>
#include <mlt/framework/mlt_frame.h>
}
#include <webvf... |
<commit_before>#include "ctmatutils.h"
#include "clib/ct.h"
void checkNArgs(const int n, const int nrhs)
{
if (n != nrhs) {
mexErrMsgTxt("Wrong number of arguments.");
}
}
void kineticsmethods(int nlhs, mxArray* plhs[],
int nrhs, const mxArray* prhs[])
{
double vv = 0.0;
i... |
<commit_before>#include <Poco/Exception.h>
#include <Poco/Data/Statement.h>
#include <Poco/Data/RowIterator.h>
#include <Poco/Data/Row.h>
#include <Poco/Data/RecordSet.h>
#include "di/Injectable.h"
#include "dao/TransactionManager.h"
#include "dao/poco/PocoSQLRoleInGatewayDao.h"
#include "dao/poco/PocoSQLGatewayDao.h"... |
<commit_before>// -------------------------------------------------------------
// a simple Arduino Teensy3.1 CAN driver
// by teachop
//
#include "FlexCAN.h"
#include "kinetis_flexcan.h"
static const int txb = 8; // with default settings, all buffers before this are consumed by the FIFO
static const int txBuffers = 8... |
<commit_before>// Copyright 2014 MongoDB Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... |
<commit_before><commit_msg>Add columns to gtk task manager.<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <sstream>
#include <map>
//#include <queue>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
struct index_sort {
bool operator()(pair<string, unsigned int> const & a, pair<string, unsigned int> const & b) {
return a.second > b.second; // sort... |
<commit_before>#include "Manager.h"
#include <QDebug>
#include <QMenu>
#include <QApplication>
#include <QDesktopWidget>
#include <QScreen>
#include <QThread>
#include <QSettings>
#include <QClipboard>
#include <QMessageBox>
#include "Settings.h"
#include "SettingsEditor.h"
#include "SelectionDialog.h"
#include "Glob... |
<commit_before>#include "vector.h"
#include "MinIMU9.h"
#include "exceptions.h"
#include <stdio.h>
#include <iostream>
#include <fstream>
#include <wordexp.h>
MinIMU9::MinIMU9(const char * i2cDeviceName) :
compass(i2cDeviceName), gyro(i2cDeviceName)
{
}
void MinIMU9::checkConnection()
{
uint8_t result = compass... |
<commit_before>#include <cstdio>
#include <fstream>
#include <SDL2/SDL.h>
#include "PrjHndl.h"
#include "TxtRead.h"
#include "compression/KidDec.h"
#include "compression/ReadPlain.h"
#include "FW_KENSC/comper.h"
#include "FW_KENSC/enigma.h"
#include "FW_KENSC/kosinski.h"
#include "FW_KENSC/nemesis.h"
#include "FW_KE... |
<commit_before>#include <iostream>
#include <stdlib.h>
using namespace std;
///Please fix bugs if any DON'T THINK I'M GONNA DO IT FOR YOU GUYS...
int choice; ///Global Variable...cause i'm very Lazy :p
int siz;
void whatToDoSelector(int arr[]);
void menu(int arr[]);
void binarySearch(int arr[], int num... |
<commit_before>//инициализация библиотек
#include <windows.h>
#include <conio.h>
#include <iostream>
//устанавливаем пространство имён
using namespace std;
//класс Sokoban, в котором описана вся игра
class Sokoban
{
private:
//выбранный уровень
unsigned short int lvl;
unsigned short int boxNum;
uns... |
<commit_before>/*
* Copyright 2018 Google Inc.
*
* 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 conditions and the... |
<commit_before>/*
Copyright 2016 The Trustees of Princeton University
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>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2015 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated docume... |
<commit_before>/*===========================================================================*\
* *
* OpenMesh *
* Copyright (C) 2001-2011 by Computer Graphics Group, RWTH Aa... |
<commit_before>/*******************************************************************************
* tests/core/test_hash_table.cpp
*
* Part of Project c7a.
*
*
* This file has no license. Only Chuck Norris can compile it.
******************************************************************************/
#include <c7... |
<commit_before>#include <vector>
#include <libport/containers.hh>
using namespace libport;
static std::vector<unsigned> v;
static bool
odd(unsigned i)
{
return i % 2 == 0;
}
int main()
{
v.push_back(1);
v.push_back(2);
v.push_back(3);
v.push_back(4);
v.push_back(5);
assert(v.size() == 5);
erase_if(v... |
<commit_before>// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All right reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the ... |
<commit_before>#define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <iostream>
#include <vector>
#include "filters.h"
#include "yaml-cpp/yaml.h"
#include "sceneLoader.h"
using namespace Tangram;
using namespace YAML;
SceneLoader sceneLoader;
Context ctx;
Feature civic, bmw1, bike;
void init() {
civic.prop... |
<commit_before>#include "PWSfile.h"
#include "PWSfileV1V2.h"
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
PWSfile *PWSfile::MakePWSfile(const CMyString &a_filename, VERSION &version,
RWmode mode, int &status)
{
if (mode == Read && !FileExists(a_filename))... |
<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 "GLTestContext.h"
#include "GpuTimer.h"
#include "gl/GrGLUtil.h"
namespace {
class GLFenceSync : public sk_gpu_test::FenceSync {
public:
static ... |
<commit_before>//===-LTOCodeGenerator.cpp - LLVM Link Time Optimizer ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
... |
<commit_before>// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
... |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: testJointReactions.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>/* $Id$ */
#include <base/quadrature_lib.h>
#include <lac/vector.h>
#include <basic/data_out.h>
#include <grid/tria.h>
#include <grid/dof.h>
#include <grid/dof_accessor.h>
#include <grid/tria_iterator.h>
#include <fe/fe.h>
#include <fe/fe_values.h>
template <int dim>
DataOut_DoFData<dim>::DataEntry::... |
<commit_before>/*
* Copyright (C) 2016 Daniel Nicoletti <dantti12@gmail.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) 2017-2018 Matthias Fehring <kontakt@buschmann23.de>
*
* 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.1 of the License, or (at ... |
<commit_before>#include <mtp/metadata/Library.h>
#include <mtp/ptp/Session.h>
#include <mtp/log.h>
#include <unordered_map>
namespace mtp
{
namespace
{
const std::string UknownArtist ("UknownArtist");
const std::string UknownAlbum ("UknownAlbum");
const std::string VariousArtists ("VariousArtists");
}
Lib... |
<commit_before>#include <mtp/metadata/Library.h>
#include <mtp/ptp/Session.h>
#include <mtp/log.h>
#include <unordered_map>
namespace mtp
{
namespace
{
const std::string UknownArtist ("UknownArtist");
const std::string UknownAlbum ("UknownAlbum");
}
Library::NameToObjectIdMap Library::ListAssociations(ObjectI... |
<commit_before>// @(#)root/rint:$Name: $:$Id: TRint.cxx,v 1.4 2001/02/22 13:32:00 rdm Exp $
// Author: Rene Brun 17/02/95
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... |
<commit_before>/* Copyright 2019 Benjamin Worpitz
*
* This file is part of alpaka.
*
* 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 at http://mozilla.org/MPL/2.0/.
*/
#include "mysqrt.hpp"
#i... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 wit... |
<commit_before> /*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: filcmd.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-09 15:22:50 $
*
* The Contents of this file are made a... |
<commit_before>
#include "tablemodelpairsassigned.h"
#include "column.h"
#include <QMimeData>
#include <QTimer>
#include <QDebug>
using namespace std;
TableModelPairsAssigned::TableModelPairsAssigned(QObject *parent)
: TableModel(parent)
{
_boundTo = NULL;
_source = NULL;
_variableTypesAllowed = 0;
_variableTy... |
<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 t... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>// $Id$
//
// Calculation of rho from a collection of jets.
// If scale function is given the scaled rho will be exported
// with the name as "fOutRhoName".apppend("_Scaled").
//
// Authors: R.Reed, S.Aiola, M.Connors
#include "AliAnalysisTaskRhoSparse.h"
#include <TClonesArray.h>
#include <TMath.h>
#... |
<commit_before><commit_msg>process HelpId option entry<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2008-2013 NVIDIA 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
<commit_before>/*************************************************************************
*
* $RCSfile: salinst.cxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: kz $ $Date: 2003-08-25 13:55:53 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include "USRFindingAction.h"
#include "gtest/gtest.h"
#include "clang/Tooling/Tooling.h"
#include <stdio.h>
#include <set>
#include <map>
#include <vector>
namespace clang {
namespace rename {
namespace test {
// Determines if the symbol group invariants hold. To recap, those invariants
// are:
// (1... |
<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>/**************************************************************************
*
* Copyright 2014 Lunarg, 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 t... |
<commit_before>/*************************************************************************
*
* $RCSfile: EventOOoTContext.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2004-07-13 08:49:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>#include <v8.h>
#include <node.h>
#include <string.h>
#include <unistd.h>
#include <node_object_wrap.h>
#include <kstat.h>
#include <errno.h>
#include <string>
#include <vector>
#include <sys/varargs.h>
using namespace v8;
using std::string;
using std::vector;
class KStatReader : node::ObjectWrap {
pub... |
<commit_before>8fd04904-2d14-11e5-af21-0401358ea401<commit_msg>8fd04905-2d14-11e5-af21-0401358ea401<commit_after>8fd04905-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>2f53a998-5216-11e5-a24d-6c40088e03e4<commit_msg>2f5a39d4-5216-11e5-a19f-6c40088e03e4<commit_after>2f5a39d4-5216-11e5-a19f-6c40088e03e4<|endoftext|> |
<commit_before>#include "main.h"
Server1 server;
void setup() {
server.begin(115200);
}
void loop() {
char *cmd;
if ((cmd = server.getCmd()) != 0) {
switch(cmd[0]) {
case 'v':
server.sendMsg("v1.0 Duino");
break;
}
}
}
<commit_msg>Define VERSION_STR<commit_after>#include "main.h"... |
<commit_before>2642d845-2748-11e6-a7c8-e0f84713e7b8<commit_msg>Now it no longer crashes if X<commit_after>264d03dc-2748-11e6-9e6d-e0f84713e7b8<|endoftext|> |
<commit_before>/*
* =====================================================================================
*
* Filename: main.cpp
*
* Description:
*
* Version: 1.0
* Created: 09/26/2015 18:25:55
* Revision: none
* Compiler: gcc
*
* Author: Il Jae Lee (iljae), ... |
<commit_before>8e9fac46-2d14-11e5-af21-0401358ea401<commit_msg>8e9fac47-2d14-11e5-af21-0401358ea401<commit_after>8e9fac47-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>8e9fac04-2d14-11e5-af21-0401358ea401<commit_msg>8e9fac05-2d14-11e5-af21-0401358ea401<commit_after>8e9fac05-2d14-11e5-af21-0401358ea401<|endoftext|> |
<commit_before>44f86b1c-5216-11e5-a651-6c40088e03e4<commit_msg>45034078-5216-11e5-a256-6c40088e03e4<commit_after>45034078-5216-11e5-a256-6c40088e03e4<|endoftext|> |
<commit_before>9a5fcc0c-35ca-11e5-9366-6c40088e03e4<commit_msg>9a678348-35ca-11e5-8794-6c40088e03e4<commit_after>9a678348-35ca-11e5-8794-6c40088e03e4<|endoftext|> |
<commit_before>836b8bb0-2e4f-11e5-a25a-28cfe91dbc4b<commit_msg>8372592e-2e4f-11e5-97e7-28cfe91dbc4b<commit_after>8372592e-2e4f-11e5-97e7-28cfe91dbc4b<|endoftext|> |
<commit_before>c73aa268-35ca-11e5-a644-6c40088e03e4<commit_msg>c7413df0-35ca-11e5-bfa5-6c40088e03e4<commit_after>c7413df0-35ca-11e5-bfa5-6c40088e03e4<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.