text stringlengths 54 60.6k |
|---|
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/include/usr/isteps/istep06list.H $ ... |
<commit_before>/* Contains code taken from libuv and node.js */
/* Copyright Joyent, Inc. and other Node contributors. 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... |
<commit_before>/**
* \file
* \brief SignalInformationQueue class implementation
*
* \author Copyright (C) 2015 Kamil Szczygiel http://www.distortec.com http://www.freddiechopin.info
*
* \par License
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was no... |
<commit_before>/*
Copyright 2014 DataStax
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 w... |
<commit_before>/*
* sim900_Suli.cpp
* A library for SeeedStudio seeeduino GPRS shield
*
* Copyright (c) 2014 seeed technology inc.
* Website : www.seeed.cc
* Author : lawliet zou
* Create Time: April 2015
* Change Log :
*
* The MIT License (MIT)
*
* Permission is hereby granted, free of charge, to... |
<commit_before>/* -*- mode: c++; c-basic-offset:4 -*-
crypto/task.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2007 Klarälvdalens Datakonsult AB
Kleopatra is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... |
<commit_before>#include <stdexcept>
#include "FractalGenerator.h"
#include "math_utils.h"
/*
* Public member functions
*/
FractalGenerator::FractalGenerator(fractalId id, v8::Isolate *isolate,
void (*doneCallback)(v8::Isolate *isolate,
v8::Local<v8::Object> nodeBuffer, bool halted,
void *doneCallbackData)... |
<commit_before>#include "main.h"
#include "config.h"
#include "mainframe_impl.h"
#include "aboutdlg_impl.h"
#include "serverdlg_impl.h"
#include "updatingdlg_impl.h"
#include "listserverhandler.h"
#include "serverping.h"
static int SortHelper(int res, bool reverse=false) {
if(res==0) return res;
if(reverse) return... |
<commit_before><commit_msg>Gui: [skip ci] automatically save & load settings of PrefFontBox widgets<commit_after><|endoftext|> |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008, Image Engine Design 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:... |
<commit_before>#include "InlineReductions.h"
#include "Func.h"
#include "Scope.h"
#include "IRPrinter.h"
#include "IROperator.h"
namespace Halide {
using std::string;
using std::vector;
using std::ostringstream;
namespace Internal {
class FindFreeVars : public IRVisitor {
public:
vector<Var> free_vars;
RDom... |
<commit_before>#include "GeometryObject.h"
#include <cassert>
#include "../lib/EasyBMP_1.06/EasyBMP.h"
GeometryObject::GeometryObject() {
}
GeometryObject::GeometryObject(const Material & material, const std::vector<Point3D>& vertices, const std::vector<RGBColor>& colors, const std::vector<Vector2D>& texture_coords,... |
<commit_before>/*
Copyright (c) 2006, Arvid Norberg & Daniel Wallin
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, th... |
<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
// "Lic... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Qt Software Information (qt-info@nokia.com)
**
** Commercial Usage
**
** Licensees holding valid Qt Com... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TX... |
<commit_before>#include "shepards.h"
using std::cout;
using std::endl;
namespace scenarios {
shepards::shepards(const boost::property_tree::ptree& config) : scenario<shepards>(config) {
assert(config.get<std::string>("type") == "shepards");
for(auto& point : config.get_child("curve.points")) {
std::vector<float... |
<commit_before>/*
* Copyright (C) 2015 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... |
<commit_before>/**
** \file scheduler/scheduler.cc
** \brief Implementation of scheduler::Scheduler.
*/
//#define ENABLE_DEBUG_TRACES
#include <cassert>
#include <cstdlib>
#include <libport/compiler.hh>
#include <libport/containers.hh>
#include <libport/foreach.hh>
#include "kernel/userver.hh"
#include "object/... |
<commit_before>#include <sys/types.h>
#include <signal.h>
#include <QThread>
#include "debug.h"
#include <QModelIndex>
#include <QFile>
#include <QDir>
#include <QSet>
#include <QTimer>
#include "global.h"
#include "rootitem.h"
#include "repository.h"
#include "jsonreader.h"
#include "settingsmodel.h"
//TODO: Should i... |
<commit_before>/*
Copyright (c) 2016 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "library/trace.h"
#include "library/vm/vm_list.h"
#include "library/tactic/tactic_state.h"
namespace lean {
expr revert(environment... |
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_GP_EXP_QUAD_COV_HPP
#define STAN_MATH_PRIM_MAT_FUN_GP_EXP_QUAD_COV_HPP
#include <stan/math/prim/mat/fun/Eigen.hpp>
#include <stan/math/prim/mat/fun/divide.hpp>
#include <stan/math/prim/mat/fun/divide_columns.hpp>
#include <stan/math/prim/mat/fun/squared_distance.hpp>
#incl... |
<commit_before>#ifndef OPTIMIZER_HPP
#define OPTIMIZER_HPP
#include <utility>
#include <tuple>
#include <array>
#include <cmath>
#include <functional>
#include <limits>
#include <cassert>
namespace Slic3r { namespace opt {
// A type to hold the complete result of the optimization.
template<size_t N> struct Result {
... |
<commit_before>/*
This file is part of the Rendering library.
Copyright (C) 2014 Sascha Brandt <myeti@mail.upb.de>
This library is subject to the terms of the Mozilla Public License, v. 2.0.
You should have received a copy of the MPL along with this library; see the
file LICENSE. If not, you can obtain one at htt... |
<commit_before>#include "dsa_common.h"
#include "variant.h"
#include <msgpack.h>
namespace dsa {
struct MsgpackMemPool {
msgpack_zone zone;
MsgpackMemPool() { msgpack_zone_init(&zone, 2048); }
~MsgpackMemPool() { msgpack_zone_destroy(&zone); }
};
thread_local msgpack_packer pk;
struct MsgpackSbuffer : publ... |
<commit_before>// Check that we can turn a function id to a function address, and also get the
// maximum function id for the current binary.
//
// RUN: %clangxx_xray -std=c++11 %s -o %t
// RUN: XRAY_OPTIONS="patch_premain=false xray_naive_log=false" %run %t
// FIXME: When we know why this fails in ppc, un-xfail it.
//... |
<commit_before>/*
*
* Copyright 2018 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
<commit_before>// $Id$
// The libMesh Finite Element Library.
// Copyright (C) 2002-2008 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 Foun... |
<commit_before>#include "sevensegment.h"
#include <ostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iterator>
#include <stdexcept>
namespace sevensegment {
using digit = std::vector<std::string>;
using digit_vector = std::vector<digit>;
const digit_vector digits {
{ " - ",
"| |",
... |
<commit_before>#include <cstring>
#include "message.hpp"
#include "identity_message.hpp"
#include "ping_pong_message.hpp"
#include "suspect_message.hpp"
/**
* A message header has 4 fields:
* - type (1 byte)
* - flags (1 byte)
* - id (8 bytes)
* - length (4 bytes)
* Total: 14 bytes
*/
#define MSG_HEADER_SIZE 1... |
<commit_before>#include <boost/test/unit_test.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/ini_parser.hpp>
#include <iostream>
#include <hdf5.h>
#include <hdf5_hl.h>
namespace FrameSimulatorTest {
class HDF5FrameTest {
public:
HDF5FrameTest() {
const int m... |
<commit_before>#include "arrowhead/config.h"
#include <boost/asio.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/bind.hpp>
#include "coap/coap.h"
#include "arrowhead/coap.hpp"
/* Ugly global state because of libcoap limitations (no opaque pointer in base
* coap context struct) */
int coun... |
<commit_before>/***************************************************************************
** **
** Copyright (C) 2010 Nokia Corporation. **
** ... |
<commit_before>#include "command.hh"
#include "store-api.hh"
#include "progress-bar.hh"
#include "fs-accessor.hh"
#include <queue>
using namespace nix;
static std::string hilite(const std::string & s, size_t pos, size_t len,
const std::string & colour = ANSI_RED)
{
return
std::string(s, 0, pos)
... |
<commit_before>#include <common/list.h>
#include <common/log.h>
#include <user_cmd/pertypes.h>
#include <user_cmd/per.lex.h>
#include <user_cmd/per.tab.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
/* macros */
/**
* \brief remove leadin... |
<commit_before><commit_msg>Using istream and ostream headers in preference to iostream<commit_after><|endoftext|> |
<commit_before><commit_msg>Blackberry: Use the rotation matrix as the compass source<commit_after><|endoftext|> |
<commit_before>/*
* (C) Copyright 2014 Kurento (http://kurento.org/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org... |
<commit_before>#include "value.h"
#include "row.h"
#include "schema.h"
#include "table.h"
namespace mdb {
Row::~Row() {
delete[] fixed_part_;
if (schema_->var_size_cols_ > 0) {
if (kind_ == DENSE) {
delete[] dense_var_part_;
delete[] dense_var_idx_;
} else {
... |
<commit_before>// This file is part of Poseidon.
// Copyleft 2020, LH_Mouse. All wrongs reserved.
#ifndef POSEIDON_NETWORK_ABSTRACT_SOCKET_HPP_
#define POSEIDON_NETWORK_ABSTRACT_SOCKET_HPP_
#include "../fwd.hpp"
#include "enums.hpp"
namespace poseidon {
class Abstract_Socket
: public virtual ::asteria::Rcbase
{... |
<commit_before>#include <LD30/PlayState.hpp>
#include <LD30/ResourceManager.hpp>
#include <LD30/Engine.hpp>
#include <LD30/Menu/BaseMenu.hpp>
#include <SFML/Graphics/Texture.hpp>
#include <SFML/Window.hpp>
ld::PlayState::PlayState(sf::RenderWindow& window)
: GameState(window),
m_player(window)
{
}
ld::PlayState:... |
<commit_before>#include "logger.h"
#include "manager.h"
#include <fstream>
#include <sstream>
#include <map>
namespace nano
{
void opencl_manager_t::init()
{
const cl_int ret = cl::Platform::get(&m_platforms);
if (m_platforms.empty() || ret != CL_SUCCESS)
... |
<commit_before>/*++
Copyright (c) 2013 Microsoft Corporation
Module Name:
opt_solver.cpp
Abstract:
Wraps smt::kernel as a solver for optimization
Author:
Anh-Dung Phan (t-anphan) 2013-10-16
Notes:
Based directly on smt_solver.
--*/
#include"reg_decl_plugins.h"
#include"opt_solver.h"
#include... |
<commit_before>#include <algorithm> // random_shuffle, transform
#include <cassert>
#include <deque>
#include <chrono>
#include <random>
#include <utility> // pair
#include <sdd/order/order.hh>
#include <sdd/order/strategies/force.hh>
#include "mc/classic/dump.hh"
#include "mc/classic/make_order.hh"
namespace pnmc ... |
<commit_before>/**
Copyright 2015 Joachim Wolff
Master Thesis
Tutors: Milad Miladi, Fabrizio Costa
Winter semester 2015/2016
Chair of Bioinformatics
Department of Computer Science
Faculty of Engineering
Albert-Ludwig-University Freiburg im Breisgau
**/
#include <algorithm>
#include <iostream>
#include <iterat... |
<commit_before>// This file is part of the dune-gdt project:
// http://users.dune-project.org/projects/dune-gdt
// Copyright holders: Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_GDT_LOCALOPERATOR_INTERFACE_HH
#define DUNE_GDT_LOCALOPERATOR_INTERFACE_HH
... |
<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.
// Illustrates how to use worker threads that issue completion callbacks
#include "base/logging.h"
#include "base/message_loop.h"
#inc... |
<commit_before>/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
*... |
<commit_before>#ifndef LOCALMATRIX_PROXY_HH
#define LOCALMATRIX_PROXY_HH
#include <vector>
#include <assert.h>
#include <dune/stuff/common/math.hh>
namespace Dune {
namespace Stuff {
namespace Fem {
//! a small proxy object that automagically prevents near-0 value fill-in
template< class MatrixPointerType >
class Lo... |
<commit_before>// This file is part of the dune-stuff project:
// https://users.dune-project.org/projects/dune-stuff
// Copyright holders: Rene Milk, Felix Schindler
// License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
#ifndef DUNE_STUFF_GRID_PROVIDER_DEFAULT_HH
#define DUNE_STUFF_GRID_PROV... |
<commit_before>/***************************************************************************
* Copyright (C) 2003 by Wilfried Huss *
* Wilfried.Huss@gmx.at *
* ... |
<commit_before><commit_msg>Change a FAILS_ to DISABLED_, since FAILS_ doesnt help when the test crashes.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.o... |
<commit_before>/* -*- indent-tabs-mode: nil -*- */
/*
ODBCConnection.cpp
Qore ODBC module
Copyright (C) 2016 Ondrej Musil
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 rest... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2011.
// Distributed under 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)
//======================================... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the $MODULE$ of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commerc... |
<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) 2015 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any... |
<commit_before>/*
Copyright (c) 2013 Daniele Bartolini, Michele Rossi
Copyright (c) 2012 Daniele Bartolini, Simone Boscaratto
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, i... |
<commit_before>/** \copyright
* Copyright (c) 2013, Balazs Racz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice... |
<commit_before>/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "TkoTracker.h"
#include <cassert>
#include <functional>
#include <unordered_map>
#include <folly/MapUtil.... |
<commit_before>inline void Potential::init()
{
if (ctx_.esm_type() == electronic_structure_method_t::full_potential_lapwlo) {
/* compute values of spherical Bessel functions at MT boundary */
sbessel_mt_ = mdarray<double, 3>(lmax_ + pseudo_density_order + 2, unit_cell_.num_atom_types(),
... |
<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 require... |
<commit_before>/*
*
* Copyright 2013 Mario Alviano, Carmine Dodaro, and Francesco Ricca.
*
* 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/LICE... |
<commit_before>///
/// @file S2LoadBalancer.cpp
/// @brief The S2LoadBalancer evenly distributes the work load between
/// the threads in the computation of the special leaves.
///
/// Simply parallelizing the computation of the special leaves in the
/// Lagarias-Miller-Odlyzko and Deleglise-Rivat algorithms by... |
<commit_before>///
/// @file S2LoadBalancer.cpp
/// @brief The S2LoadBalancer evenly distributes the work load between
/// the threads in the computation of the special leaves.
///
/// Simply parallelizing the computation of the special leaves in the
/// Lagarias-Miller-Odlyzko and Deleglise-Rivat algorithms by... |
<commit_before>//
// ScrollingLabel.cpp
// Kepler
//
// Created by Tom Carden on 5/25/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#include "ScrollingLabel.h"
#include "cinder/app/AppCocoaTouch.h" // app::getElapsedSeconds()
#include "cinder/gl/gl.h"
#include "cinder/Text.h"
using namespace st... |
<commit_before>#include "CameraBase.h"
using namespace MathLib;
#ifdef MEMORY_INFO
#define new new(__FILE__, __LINE__)
#endif // MEMORY_INFO
CCameraBase::CCameraBase(): CPlayer(PLAYER_SPECTATOR)
{
m_nFlush = 0;
m_vPosition = Vec3_zero;
m_fPhiAngle = 0.0f;
m_fThetaAngle = 0.0f;
m_pLastPlayer = ... |
<commit_before>/**
* @file
*
* @brief This file contains a basic YAML to `KeySet` converter function.
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
// -- Imports ------------------------------------------------------------------------------------------------------------------------... |
<commit_before>// @(#)root/pyroot:$Id$
// Author: Wim Lavrijsen, Jan 2005
// Bindings
#include "PyROOT.h"
#include "PyStrings.h"
#include "ObjectProxy.h"
#include "Utility.h"
// ROOT
#include "TObject.h"
#include "TBufferFile.h" // for pickling
//- data _________________________________________________________... |
<commit_before>/*
* Copyright 2015 Cloudius Systems
*/
#pragma once
#include <boost/test/unit_test.hpp>
#include "mutation_reader.hh"
#include "mutation_assertions.hh"
// Intended to be called in a seastar thread
class reader_assertions {
mutation_reader _reader;
public:
reader_assertions(mutation_reader r... |
<commit_before>/* Copyright (c) 2009-2015 Stanford University
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" ... |
<commit_before>//==================================================
// Copyright (c) 2015 Deividas Kazlauskas
//
// See the file license.txt for copying permission.
//==================================================
/*
* =====================================================================================
*
* ... |
<commit_before>#include "TaskbarNotificationAreaIcon.h"
#include "Res.h"
#include <cstdio>
#include <cwchar>
#include <iostream>
#include <windows.h>
#ifdef OBSOLETE_WWINMAIN
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR, int nCmdShow)
{
LPWSTR lpCmdLine=GetCommandLineW();
#else
int WINAPI wW... |
<commit_before>/*
* Copyright 2011-2012 Gregory Banks
*
* 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 applic... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2018 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>//===-- StringRef.cpp - Lightweight String References ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/***************************************************************************
* Copyright (C) 2006 by Till Adam <adam@kde.org> *
* *
* This program is free software; you can redistribute it and/or modify ... |
<commit_before>#ifndef b_Tuple_hxx_
#define b_Tuple_hxx_
#include "b/If.hxx"
#include "b/forward.hxx"
#include "b/move.hxx"
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wpadded"
namespace b {
/*
* A small tuple implementation.
*/
template <typename...>
struct Tuple;
//------------------------... |
<commit_before>/**
* This file is part of Slideshow.
* Copyright (C) 2008-2010 David Sveningsson <ext@sidvind.com>
*
* Slideshow is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of... |
<commit_before>#include "adddossierdialog.h"
#include "ui_adddossierdialog.h"
#include "src/formation.hpp"
#include "src/dossier.hpp"
#include "addsemestredialog.h"
#include <QMessageBox>
#define FM FormationManager::getInstance()
#define DM DossierManager::getInstance()
//! Ouverture du Pop up création de dossier
... |
<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>// -------------------------------------------------------------------------
// @FileName : NFCLogicClassModule.h
// @Author : LvSheng.Huang
// @Date : 2012-12-15
// @Module : NFCLogicClassModule
//
// ------------------------------------... |
<commit_before>/*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to a... |
<commit_before>//-----------------------------------------------------------------------bl-
//--------------------------------------------------------------------------
//
// GRINS - General Reacting Incompressible Navier-Stokes
//
// Copyright (C) 2014-2015 Paul T. Bauman, Roy H. Stogner
// Copyright (C) 2010-2013 The... |
<commit_before>#include "notificator.h"
#include <QMetaType>
#include <QVariant>
#include <QIcon>
#include <QApplication>
#include <QStyle>
#include <QByteArray>
#include <QSystemTrayIcon>
#include <QMessageBox>
#include <QTemporaryFile>
#include <QImageWriter>
#ifdef USE_DBUS
#include <QtDBus/QtDBus>
#include <stdin... |
<commit_before>// Copyright 2010-2013 RethinkDB, all rights reserved.
#include "rdb_protocol/op.hpp"
#include "rdb_protocol/func.hpp"
#include "rdb_protocol/minidriver.hpp"
#include "debug.hpp"
namespace ql {
argspec_t::argspec_t(int n) : min(n), max(n), eval_flags(NO_FLAGS) { }
argspec_t::argspec_t(int _min, int _m... |
<commit_before>/*************************************************************************
*
* $RCSfile: imagemgr.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: mba $ $Date: 2001-09-13 11:49:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>#ifndef SLICE_HPP
#define SLICE_HPP
#include "iterbase.hpp"
#include <iterator>
#include <type_traits>
#include <initializer_list>
namespace iter {
//Forward declarations of Slice and slice
//template <typename Container, typename DifferenceType>
//class Slice;
//template <typename ... |
<commit_before>/*************************************************************************
*
* $RCSfile: objmnctl.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:52:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>#ifndef MJOLNIR_POTENTIAL_GLOBAL_INVERSE_POWER_POTENTIAL_HPP
#define MJOLNIR_POTENTIAL_GLOBAL_INVERSE_POWER_POTENTIAL_HPP
#include <mjolnir/core/ExclusionList.hpp>
#include <mjolnir/core/System.hpp>
#include <algorithm>
#include <numeric>
#include <memory>
#include <cmath>
namespace mjolnir
{
// invers... |
<commit_before>AliAnalysisVertexingHF* ConfigVertexingHF() {
printf("Call to AliAnalysisVertexingHF parameters setting :\n");
vHF = new AliAnalysisVertexingHF();
//--- switch-off candidates finding (default: all on)
//vHF->SetD0toKpiOff();
vHF->SetJPSItoEleOff();
//vHF->Set3ProngOff();
//vHF->SetLikeSi... |
<commit_before>//-----------------------------------------------------------------------------
// Copyright (c) 2015, Jeff Hutchinson
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Re... |
<commit_before>//
// Created by john on 9/12/15.
//
#include <argos3/core/simulator/simulator.h>
#include <argos3/core/simulator/loop_functions.h>
#include <source/ga/BasicGA.h>
#include <source/ga/ChromosomeFactory.h>
#include "iAnt_controller.h"
#include "iAnt_loop_functions.h"
#include "iAnt_pheromone.h"
/********... |
<commit_before><commit_msg>Changed the pseudorapidity interval to +/-0.6<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2021 The Orbit 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 "MoveFilesToDocuments/MoveFilesToDocuments.h"
#include <QObject>
#include <QString>
#include <thread>
#include "MoveFilesDialog... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 RC 1 *
* (c) 2006-2011 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>#include <Game/Field/UnderGround/cBlock.h>
#include <cinder/gl/gl.h>
using namespace ci;
namespace Game
{
namespace Field
{
namespace UnderGround
{
vec3 vertex0[] = {
vec3(-0.50000, -0.50000, 0.50000),
vec3(-0.50000, 0.50000, 0.50000),
vec3(0.50000, 0.50000, 0.50000),
vec3(0.50000,... |
<commit_before>#include <atlas/math/Coordinates.hpp>
#include <atlas/core/Float.hpp>
#include <catch2/catch.hpp>
using atlas::core::areEqual;
TEST_CASE("Checking Coordinate Functions", "[math]")
{
using namespace atlas::math;
Point p1{ 1, 0, 0 };
Point p2{ 1, 1, 0 };
auto s1 = cartesianToSpherical... |
<commit_before>//
// Created by eele on 8-6-2015.
//
#include <iostream>
#include <functional>
#include "Controller.h"
Controller::Controller() {
state = State::MENU;
lastState = State::GAP; //Dit doen we om de init aan te roepen bij het opstarten
bool isRunning = true;
SensorData sensorData;
Mon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.