text stringlengths 54 60.6k |
|---|
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SlsPageEnumeration.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-09 06:21:11 $
*
* The Contents of this file... |
<commit_before>
#define BOOST_TEST_MODULE test_standard_license
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <licensecc/licensecc.h>
#include <licensecc_properties_test.h>
#include <licensecc_properties.h>
#include "../../src/library/ini/SimpleIni.h"
#include "generate-license.h"
#inc... |
<commit_before>
#include <stdlib.h>
#include <vector>
#include <set>
#include <functional>
#include <opengm/graphicalmodel/graphicalmodel.hxx>
#include <opengm/operations/adder.hxx>
#include <opengm/operations/multiplier.hxx>
#include <opengm/operations/minimizer.hxx>
#include <opengm/operations/maximizer.hxx>
#includ... |
<commit_before>/*
* Funambol is a mobile platform developed by Funambol, Inc.
* Copyright (C) 2003 - 2007 Funambol, Inc.
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License version 3 as published by
* the Free Software Founda... |
<commit_before>#include "accessibility.h"
#include <algorithm>
#include <cmath>
#include <utility>
#include "graphalg.h"
namespace MTC {
namespace accessibility {
using std::string;
using std::vector;
using std::pair;
using std::make_pair;
typedef std::pair<double, int> distance_node_pair;
bool distance_node_pair_co... |
<commit_before>/*=========================================================================
*
* Copyright 2011-2013 The University of North Carolina at Chapel Hill
* All rights reserved.
*
* Licensed under the MADAI Software License. You may obtain a copy of
* this license at
*
* https://madai-public... |
<commit_before>#include "BasicGameListView.h"
#include "../ViewController.h"
#include "../../Renderer.h"
#include "../../Window.h"
#include "../../ThemeData.h"
#include "../../SystemData.h"
#include "../../Settings.h"
BasicGameListView::BasicGameListView(Window* window, FileData* root)
: ISimpleGameListView(window, r... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: provprox.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-09 15:15:13 $
*
* The Contents of this file are made ... |
<commit_before>#include "store-api.hh"
#include "globals.hh"
#include "util.hh"
#include <climits>
namespace nix {
GCOptions::GCOptions()
{
action = gcDeleteDead;
ignoreLiveness = false;
maxFreed = ULLONG_MAX;
}
bool isInStore(const Path & path)
{
return isInDir(path, settings.nixStore);
}
bool... |
<commit_before>/*
* Copyright (C) 2013-2014 INRA
*
* 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>#include "console.h"
#include <iostream>
#include <string>
#include <vector>
#include "person.h"
#include <algorithm>
#include "data.h"
#include <cctype>
#include <ctype.h>
using namespace std;
Console::Console()
{
}
bool Console::validYear(string s)
{
for (unsigned int i = 0; i < s.size(); i++)
... |
<commit_before>#include "console.h"
#include <iostream>
#include <string>
using namespace std;
Console::Console()
{
}
void Console::getInfo()
{
string name;
char gender;
int birth;
int death;
cout << "Please enter name: ";
cin >> name;
cout << "Gender (f/m): ";
cin >> gender;
cout... |
<commit_before>#include "objectmemory.hpp"
#include "gc/immix.hpp"
#include "instruments/stats.hpp"
#include "capi/handles.hpp"
#include "capi/tag.hpp"
#include "object_watch.hpp"
#include "configuration.hpp"
#ifdef ENABLE_LLVM
#include "llvm/state.hpp"
#endif
namespace rubinius {
void ImmixGC::ObjectDescriber::... |
<commit_before>#include "jit.h"
#include "llvm/Analysis/Verifier.h"
#include "llvm/ExecutionEngine/JIT.h"
#include "llvm/Target/TargetSelect.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetData.h"
#include "llvm/PassManager.h"
// //#include "llvm/ModuleProvider.h"
#include "llvm/LinkAllPasses.h"
... |
<commit_before>/**
* Copyright (c) 2016 zScale Technology GmbH <legal@zscale.io>
* Authors:
* - Paul Asmuth <paul@zscale.io>
* - Laura Schlimmer <laura@zscale.io>
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License ("the licen... |
<commit_before>/**
*
* Copyright (c) 2020 Project CHIP Authors
* Copyright (c) 2018 Google LLC.
* Copyright (c) 2016-2017 Nest Labs, 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 ... |
<commit_before>/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* ... |
<commit_before><commit_msg>export showValue databar property<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may ob... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date: 2007-07-09 18:14:41 +0200 (Mo, 09 Jul 2007) $
Version: $Revision: 11185 $
Copyright (c) German Cancer Research Center, Div... |
<commit_before>AliAnalysisTask *AddTask_cbaumann_LMEEPbPb2011AODSemiCent(Bool_t runAll=kFALSE,Bool_t setMC=kFALSE,Bool_t getFromAlien=kFALSE, Bool_t PIDbaseline=kFALSE){
Bool_t bESDANA=kFALSE; //Autodetect via InputHandler
//get the current analysis manager
AliAnalysisManager *mgr = AliAnalysisManager::GetAnalys... |
<commit_before>
#include <string>
#include <iostream>
#include <openvoronoi/medial_axis_filter.hpp>
#include <openvoronoi/medial_axis_walk.hpp>
#include <openvoronoi/voronoidiagram.hpp>
#include <openvoronoi/polygon_interior_filter.hpp>
#include <openvoronoi/utility/vd2svg.hpp>
#include <openvoronoi/version.hpp>
// O... |
<commit_before><commit_msg>Explicit copy ctor avoiding copying singular iterators<commit_after><|endoftext|> |
<commit_before><commit_msg>Use OUString::startsWith where possible<commit_after><|endoftext|> |
<commit_before>// MachiavelliGame.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Socket.h"
#include <thread>
#include <memory>
#include <string>
using namespace std;
void connect_to_server()
{
int port = 1080;
ClientSocket client("localhost", port);
}
int _tmain(int ar... |
<commit_before>#include <iostream>
#include <ql/quantlib.hpp>
using namespace std;
using namespace QuantLib;
boost::shared_ptr<YieldTermStructure>
flatRate(const Date& today,
const boost::shared_ptr<Quote>& forward,
const DayCounter& dc) {
return boost::shared_ptr<YieldTermStructure>(
new FlatForw... |
<commit_before>
#include "AudioEffectFreqShift_FD_F32.h"
void AudioEffectFreqShift_FD_F32::update(void)
{
//get a pointer to the latest data
audio_block_f32_t *in_audio_block = AudioStream_F32::receiveReadOnly_f32();
if (!in_audio_block) return;
//simply return the audio if this class hasn't been enabled
if (!e... |
<commit_before>#include "HM_base.h"
namespace kai
{
HM_base::HM_base()
{
m_pCAN = NULL;
m_pCMD = NULL;
m_pGPS = NULL;
m_strCMD = "";
m_rpmL = 0;
m_rpmR = 0;
m_motorRpmW = 0;
m_bSpeaker = false;
m_bMute = false;
m_canAddrStation = 0x301;
m_maxRpmT = 65535;
m_maxRpmW = 2500;
m_ctrlB0 =... |
<commit_before>#ifndef STAN_MATH_PRIM_PROB_LOGLOGISTIC_LPDF_HPP
#define STAN_MATH_PRIM_PROB_LOGLOGISTIC_LPDF_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/err.hpp>
#include <stan/math/prim/fun/as_column_vector_or_scalar.hpp>
#include <stan/math/prim/fun/as_array_or_scalar.hpp>
#include <stan/math/pri... |
<commit_before>#ifndef STAN_MATH_PRIM_SCAL_FUN_INC_BETA_DERIVATIVES_HPP
#define STAN_MATH_PRIM_SCAL_FUN_INC_BETA_DERIVATIVES_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/scal/fun/lgamma.hpp>
#include <boost/math/special_functions/beta.hpp>
#include <cmath>
namespace stan {
namespace math {
/**
* ... |
<commit_before><commit_msg>Fix and resubmit 42959<commit_after><|endoftext|> |
<commit_before><commit_msg>DevTools: Style drive by<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/network_profile_bubble.h"
#include <windows.h>
#include <wtsapi32.h>
// Make sure we link the wtsapi lib ... |
<commit_before>// Copyright (c) 2010 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/common/service_process_util.h"
#include <signal.h>
#include <unistd.h>
#include "base/file_util.h"
#include "base/lo... |
<commit_before><commit_msg>Try to force plugins to use software rendering until we can support hardware acceleration on the Mac. BUG=25406, 25092 TEST=Flash should no longer crash immediately after loading on sites with complex Flash applications.<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2006-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/basictypes.h"
#include "base/command_line.h"
#include "base/file_path.h"
#include "base/path_service.h"
#include "b... |
<commit_before>// ========================================================================== //
// This file is part of DO-CV, a basic set of libraries in C++ for computer
// vision.
//
// Copyright (C) 2015 David Ok <david.ok8@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public
// Lice... |
<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 distribu... |
<commit_before>//@author A0097630B
#include "stdafx.h"
#include "You-NLP/parse_tree/task_priority.h"
#include "internal/query_executor.h"
#include "internal/query_executor_builder_visitor.h"
#include "exceptions/context_index_out_of_range_exception.h"
#include "../mocks/task_list.h"
#include "../mocks/query.h"
using ... |
<commit_before>#include "Genes/King_Confinement_Gene.h"
#include <cmath>
#include <array>
#include <memory>
#include <map>
#include "Genes/Gene.h"
#include "Game/Board.h"
#include "Game/Color.h"
#include "Game/Square.h"
#include "Game/Piece.h"
#include "Utility.h"
King_Confinement_Gene::King_Confinement_Gene() :
... |
<commit_before>/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 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 documentat... |
<commit_before>/*
* libjingle
* Copyright 2004--2005, 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 ... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2020 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================... |
<commit_before>//=======================================================================
// Copyright (c) 2013-2020 Baptiste Wicht.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================... |
<commit_before>//===--- SILPassPipelineDumper.cpp ----------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/dimm/kind.H $ ... |
<commit_before>#pragma once
u64 namehash(const strbuf<DIRSIZ>&);
class dirns : public rcu_freed
{
public:
dirns() : rcu_freed("dirns"), ns_(false) {}
bool remove(const strbuf<DIRSIZ>& name, const u32* vp = nullptr) {
return ns_.remove(name, vp);
}
int insert(const strbuf<DIRSIZ>& name, const u32& inum)... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_quad_power_off.C $ ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/pm/p9_quad_power_off.C $ ... |
<commit_before>/*
* Copyright (c) 2011, Willow Garage, Inc.
* (c) 2013, Mike Purvis
* 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 ... |
<commit_before>#pragma once
#include "kernel.hh"
#include "refcache.hh"
#include "chainhash.hh"
#include "radix_array.hh"
#include "page_info.hh"
#include "kalloc.hh"
#include "fs.h"
#include <limits.h>
class mdir;
class mfile;
class mdev;
class msock;
class mnode : public refcache::weak_referenced
{
private:
str... |
<commit_before>#pragma once
#include "util.hpp"
#include "math.hpp"
#include "asset.hpp"
#include "plugin.hpp"
#include "engine.hpp"
#include "gui.hpp"
#include "app.hpp"
#include "componentlibrary.hpp"
namespace rack {
////////////////////
// helpers
////////////////////
template <class TModuleWidget, typename.... |
<commit_before>#ifndef UTIL_HPP
#define UTIL_HPP
#include <functional>
#ifndef FWD
#define FWD(X,Y) std::forward<X>(Y)
#endif
#ifndef SELF
#define SELF(Y) std::forward<decltype(Y)>(Y)
#endif
namespace Util { // --> util/types.hpp
/// A type representing no type
struct undef_t {};
/// A type delimiting a type p... |
<commit_before>/**
* \file
*
* \brief Interactive merge strategy asking for user input at each step
*
* \copyright BSD License (see doc/COPYING or http://www.libelektra.org)
*
*/
#ifndef INTERACTIVEMERGESTRATEGY_HPP_
#define INTERACTIVEMERGESTRATEGY_HPP_
#include <merging/mergeconflictstrategy.hpp>
using name... |
<commit_before>#include "Offense.hpp"
using namespace std;
using namespace Geometry2d;
Gameplay::Plays::Offense::Offense(GameplayModule *gameplay):
Play(gameplay, 1),
_fullback1(gameplay),
_fullback2(gameplay),
_kicker1(gameplay),
_kicker2(gameplay)
{
}
bool Gameplay::Plays::Offense::applicable()
{
bool refApp... |
<commit_before>#include <sirius.h>
using namespace sirius;
mdarray<int, 1> f1()
{
mdarray<int, 1> aa;
aa = mdarray<int, 1>(4);
for (int i = 0; i < 4; i++) aa(i) = 200 + i;
return aa;
}
void f2()
{
mdarray<int, 1> a1(4);
for (int i = 0; i < 4; i++) a1(i) = 100 + i;
mdarray<int, 1> a2 = f1... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: edit.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 17:52:22 $
*
* The Contents of this file are made avai... |
<commit_before>/** @file
@brief Implementation of the "multiserver" plugin that offers the stock VRPN
devices.
@date 2014
@author
Ryan Pavlik
<ryan@sensics.com>
<http://sensics.com>
*/
// Copyright 2014 Sensics, Inc.
//
// All rights reserved.
//
// (Final version intended to be licensed u... |
<commit_before>#include <BALL/CONCEPT/classTest.h>
#include <BALLTestConfig.h>
///////////////////////////
#include <BALL/FORMAT/dockResultFile.h>
#include <BALL/DOCKING/COMMON/flexibleMolecule.h>
#include <BALL/DOCKING/COMMON/conformation.h>
#include <BALL/DOCKING/COMMON/result.h>
#include <BALL/FORMAT/SDFile.h>
#in... |
<commit_before>#include "ARVersion.h"
#if !defined(__CINT__) || defined(__MAKECINT__)
#include "TSystem.h"
#include "TROOT.h"
#include "TGeoManager.h"
#include "TObjString.h"
#include "TClonesArray.h"
#include "TError.h"
#include "AliGeomManager.h"
#include "AliCDBManager.h"
#include "AliCDBStorage.h"
#include "AliCDB... |
<commit_before>
#include "itkAdvancedBSplineDeformableTransform.h"
#include "itkGridScheduleComputer.h"
#include <ctime>
#include <iomanip>
//-------------------------------------------------------------------------------------
int main( int argc, char *argv[] )
{
/** Some basic type definitions.
* NOTE: don't ... |
<commit_before>/*************************************************************************
*
* $RCSfile: ToolPanel.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: kz $ $Date: 2005-07-14 10:23:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>#include "CanGateway.h"
//Output to a serial CAN adapter instead of directly to a CAN bus
#define SERIALTEST 0
#define DEBUG 0
/******************************************************************
* CanGateway()
* Constructor
*
* Initializes the queues and ports necessary for communication
* with ROS. ... |
<commit_before>#include <stan/math/prim.hpp>
#include <gtest/gtest.h>
#include <cmath>
#include <limits>
#include <type_traits>
#include <vector>
TEST(MathFunctions, value_of) {
using stan::math::value_of;
double x = 5.0;
EXPECT_FLOAT_EQ(5.0, value_of(x));
EXPECT_FLOAT_EQ(5.0, value_of(5));
}
TEST(MathFunctio... |
<commit_before>// Copyright (c) 2018 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
// We are making my contributions/submissions to this project solely in our
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
#include "gtest/gtest.h"
#include <hspp/Cards/Cards.hp... |
<commit_before>#include <osgDB/Registry>
USE_SERIALIZER_WRAPPER(osgAnimation_Action)
USE_SERIALIZER_WRAPPER(osgAnimation_ActionAnimation)
USE_SERIALIZER_WRAPPER(osgAnimation_ActionBlendIn)
USE_SERIALIZER_WRAPPER(osgAnimation_ActionBlendOut)
USE_SERIALIZER_WRAPPER(osgAnimation_ActionStripAnimation)
USE_SERIALIZER_WRAPP... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Commercial... |
<commit_before>/// @file
/// @author Boris Mikic
/// @version 2.62
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
#ifdef HAVE_WAV
#include <string.h>
#include <hltype... |
<commit_before>/*
* Copyright (c) The Shogun Machine Learning Toolbox
* Written (W) 2013 Heiko Strathmann
* Written (w) 2014 - 2016 Soumyajit De
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are m... |
<commit_before>#ifndef STAN_LANG_GENERATOR_GENERATE_FUNCTION_INSTANTIATION_HPP
#define STAN_LANG_GENERATOR_GENERATE_FUNCTION_INSTANTIATION_HPP
#include <stan/lang/ast.hpp>
#include <stan/lang/generator/constants.hpp>
#include <stan/lang/generator/generate_function_inline_return_type.hpp>
#include <stan/lang/generator/... |
<commit_before>// client.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include <codecvt>
#include <algorithm>
#include "git2.h"
#include "ConsoleLogger.h"
#include "RemoteLink.h"
#include <TlHelp32.h>
#include <WinBase.h>
#include <process.h>
void killProcessBy... |
<commit_before>//
// This file is part of the Marble Virtual Globe.
//
// This program is free software licensed under the GNU LGPL. You can
// find a copy of this license in LICENSE.txt in the top directory of
// the source code.
//
// Copyright 2011 Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com>
//
#incl... |
<commit_before>#pragma once
namespace blackhole {
namespace sink {
namespace files {
template<class Backend>
class flusher_t {
bool autoflush;
Backend& backend;
public:
flusher_t(bool autoflush, Backend& backend) :
autoflush(autoflush),
backend(backend)
{}
void flush() {
... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "arith_uint256.h"
#include "crypto/common.h"
#include "uint25... |
<commit_before>#include <v8.h>
#include <sys/stat.h>
#include <common.h>
v8::Handle<v8::Value> _file(const v8::Arguments& args) {
v8::HandleScope handle_scope;
if (args.Length() < 1 || args.This()->InternalFieldCount() == 0) {
return v8::ThrowException(v8::String::New("Invalid call format. Use 'new File(name)... |
<commit_before>/*
* Copyright 2015 WebAssembly Community Group participants
*
* 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
*
* Unl... |
<commit_before>// Copyright (c) 2016 The Zcash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "asyncrpcqueue.h"
static std::atomic<size_t> workerCounter(0);
/**
* Static method to return the shared/defaul... |
<commit_before>
#include "SMESHGUI_Selection.h"
#include "SMESHGUI_Utils.h"
#include "SMESHGUI_VTKUtils.h"
#include "SMESHGUI_MeshUtils.h"
#include "SMESHGUI_GEOMGenUtils.h"
#include "SMESH_Type.h"
#include "SMESH_Actor.h"
#include "SalomeApp_SelectionMgr.h"
#include "SalomeApp_Study.h"
#include "SalomeApp_VTKSelecto... |
<commit_before>/*-------------------------------------------------------------------------
*
* mapper_seq_scan.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/dml/mapper/mapper_seq_scan.cpp
*
*-------------------------------------------------------------------------
*/
#incl... |
<commit_before>// Copyright (c) 2006-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.
//
// The PasswordManagerAutocompleteTests in this file test only the
// PasswordAutocompleteListener class implementation (and not... |
<commit_before>/*
* Copyright 2006-2008 The FLWOR Foundation.
*
* 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 ap... |
<commit_before>/*************************************************************************
*
* $RCSfile: helpinterceptor.cxx,v $
*
* $Revision: 1.15 $
*
* last change: $Author: gt $ $Date: 2001-11-01 16:02:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the followi... |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* ADIOS1Reader.cpp
*
* Created on: Feb 27, 2017
* Author: Norbert Podhorszki pnorbert@ornl.gov
*/
#include "ADIOS1Reader.h"
#include "ADIOS1Reader.tcc"
#include <adio... |
<commit_before>// ***************************************************************************
// TcpSocket_p.cpp (c) 2011 Derek Barnett
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 5 January 2012 (DB)
// ------------... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Build Suite.
**
** Commercial License Usage
** Licensees holding valid commercial Qt ... |
<commit_before>/*
* Copyright 2016, Simula Research Laboratory
*
* 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/.
*/
#define png_infopp_NULL (png_infopp)NULL
#defin... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2008, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// SneezyMUD - All rights reserved, SneezyMUD Coding Team
//
//////////////////////////////////////////////////////////////////////////
#include "stdsneezy.h"
#include "statistics.h"
#include "database.h"
extern FILE *obj_f;... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2010, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>// Copyright (c) 2015, Tiaan Louw
//
// 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 in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE AU... |
<commit_before>//===-- sanitizer_common_test.cc ------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>// Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef CONTAINERS_DISK_BACKED_QUEUE_HPP_
#define CONTAINERS_DISK_BACKED_QUEUE_HPP_
#include <string>
#include <vector>
#include "concurrency/fifo_checker.hpp"
#include "concurrency/mutex.hpp"
#include "containers/buffer_group.hpp"
#include "contai... |
<commit_before>#ifndef CONTAINERS_DISK_BACKED_QUEUE_HPP_
#define CONTAINERS_DISK_BACKED_QUEUE_HPP_
#define MAX_REF_SIZE 251
#include <string>
#include <vector>
#include "arch/io/disk.hpp"
#include "buffer_cache/blob.hpp"
#include "buffer_cache/mirrored/mirrored.hpp"
#include "buffer_cache/semantic_checking.hpp"
#inc... |
<commit_before>/** dataset_context.cc
Jeremy Barnes, 24 February 2015
Copyright (c) 2015 Datacratic Inc. All rights reserved.
Context to bind a row expression to a dataset.
*/
#include "mldb/server/dataset_context.h"
#include "mldb/core/dataset.h"
#include "mldb/types/basic_value_descriptions.h"
#include... |
<commit_before>/** dataset_context.cc
Jeremy Barnes, 24 February 2015
Copyright (c) 2015 Datacratic Inc. All rights reserved.
Context to bind a row expression to a dataset.
*/
#include "mldb/server/dataset_context.h"
#include "mldb/core/dataset.h"
#include "mldb/types/basic_value_descriptions.h"
#include... |
<commit_before>/**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <eosio/chain/action.hpp>
#include <numeric>
namespace eosio { namespace chain {
/**
* The transaction header contains the fixed-sized data
* associated with each transaction. It is separated from
* the ... |
<commit_before>/*
* Quick wrapper for the OK light.
*
* Authors:
* Scott Linder
*/
#include "ok.hh"
auto OK::on() -> void {
regs_.write(kSelect1, 1 << 18);
regs_.write(kClear0, 1 << 16);
}
auto OK::off() -> void {
regs_.write(kSelect1, 1 << 18);
regs_.write(kSet0, 1 << 16);
}
<commit_msg>Moved... |
<commit_before>#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_ttf.h>
#include <SDL_mixer.h>
#include "JAM/Texture.h"
#include "JAM/StateManager.h"
#include "Game.h"
int main(int argc, char *argv[])
{
#ifdef _WIN32
/*Initialise SDL needed for desktop... |
<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. Redistr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.