text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Copyright (c) 2005, Peter Sommerlad and IFS Institute for Software at HSR Rapperswil, Switzerland
* All rights reserved.
*
* This library/application is free software; you can redistribute and/or modify it under the terms of
* the license that is included with this library/application in the fi... |
<commit_before><commit_msg>`Holobiont`: `generic_master_module` -> `brain_master`.<commit_after><|endoftext|> |
<commit_before>// Copyright (c) 2006-2008 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/views/tabs/tab.h"
#include "app/gfx/canvas.h"
#include "app/gfx/font.h"
#include "app/gfx/path.h"
#inclu... |
<commit_before>#include "generator.h"
#include "opcodes.h"
#include "sections.h"
#include <iostream>
#include <iomanip>
namespace ceos {
std::stringstream &Generator::generate() {
generateProgram(m_ast);
emitOpcode(Opcode::exit);
m_output.seekg(0);
return m_output;
}
void Generator::generateNod... |
<commit_before>/* Copyright (C) 2013 Slawomir Cygan <slawomir.cygan@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
*
* ... |
<commit_before>#include <AlpinoCorpus/DbCorpusReader.hh>
#include <AlpinoCorpus/Error.hh>
#include <QString>
#include <sstream>
#include <stdexcept>
#include <string>
#include <typeinfo>
namespace db = DbXml;
namespace {
QString toQString(std::string const &s)
{
return QString::fromUtf8(s.c_str());
... |
<commit_before>// Copyright (c) 2017 ASMlover. 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 list o... |
<commit_before>//
// Multicopter mission test.
//
// Author: Julian Oes <julian@oes.ch>
#include <mavsdk/mavsdk.h>
#include <mavsdk/plugins/action/action.h>
#include <mavsdk/plugins/telemetry/telemetry.h>
#include <iostream>
#include <string>
#include "autopilot_tester.h"
TEST_CASE("Takeoff and land (Plane)", "[plan... |
<commit_before>////////////////////////////////////////////////////////////////////////////
//
// Copyright 2019 Realm 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://ww... |
<commit_before>/* **** **** **** **** **** **** **** **** *
*
* _/ _/ _/
* _/_/_/ _/_/_/ _/_/_/
* _/ _/ _/ _/ _/ _/
* _/ _/ _/ _/ _/ _/
* _/_/_/ _/_/_/ _/_/_/
*
* bit by bit
* bit_by_bit.hpp
*
* author: ISHII 2bit
* mail: 2bit@b... |
<commit_before>#pragma once
// bitset_helpers.hpp: definitions of bitset operators and helpers
//
// Copyright (C) 2017 Stillwater Supercomputing, Inc.
//
// This file is part of the universal numbers project, which is released under an MIT Open Source license.
// number representation is sign-magnitude, sign is msb
... |
<commit_before>
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkBBoxRecord.h"
void SkBBoxRecord::drawOval(const SkRect& rect, const SkPaint& paint) {
if (this->transformBounds(rect, &paint)) {
INHER... |
<commit_before>/*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/core/SkColorFilter.h"
#include "include/core/SkRSXform.h"
#include "src/core/SkBlendModePriv.h"
#include "src/core/SkColorSpacePriv.h"
#includ... |
<commit_before>/// \file
/// \ingroup tutorial_graphs
/// \notebook
/// Draw a graph with text attached to each point.
/// The text is drawn in a TExec function attached to the TGraph,
/// therefore if the text is
/// moved interactively, it will be automatically updated.
///
/// \macro_image
/// \macro_code
///
/// \a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: global.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: rt $ $Date: 2005-09-09 05:03:57 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>ENH: Added remove cache-directory in outdated dataset dialog.<commit_after><|endoftext|> |
<commit_before><commit_msg>ColorCubeGenerator: replace deprecated functions.<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: scopeguard.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: obo $ $Date: 2006-09-17 17:14:02 $
*
* The Contents of this file are ma... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: scopeguard.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: hr $ $Date: 2006-06-19 22:49:31 $
*
* The Contents of this file are mad... |
<commit_before>#include "CPU.h"
short CPU::opcode0x07() {
byte significantBit = AF.hi & 0x80;
AF.hi <<= 1;
if (checkFlag(Flag::CARRY_FLAG)) {
setBit(&AF.hi, 0);
}
else {
clearBit(&AF.hi, 0);
}
clearFlags();
if (significantBit != 0) {
raiseFlag(Flag::CARRY_FLAG);
}
return 4;
}
short CPU::opcode0x... |
<commit_before>//===--- SymbolCollector.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 "easypr/core/plate_detect.h"
#include "easypr/util/util.h"
namespace easypr {
CPlateDetect::CPlateDetect() {
m_plateLocate = new CPlateLocate();
m_maxPlates = 3;
m_type = 0;
m_showDetect = false;
}
CPlateDetect::~CPlateDetect() { SAFE_RELEASE(m_plateLocate); }
int C... |
<commit_before>#include "UmbralActor.h"
#include "string_format.h"
#include "StdStream.h"
#include "UmbralModel.h"
#include "UmbralMesh.h"
#include "../dataobjects/FileManager.h"
#include "WeaponVars.h"
CUmbralActor::CUmbralActor()
{
}
CUmbralActor::~CUmbralActor()
{
}
const CSphere& CUmbralActor... |
<commit_before>/*****************************************************************************
* ctrl_checkbox.cpp
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: ctrl_checkbox.cpp,v 1.3 2004/02/29 16:49:55 asmax Exp $
*
* Authors: Cyril Deguet ... |
<commit_before>/******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2016 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to ... |
<commit_before>//!
//! @file HydraulicTurbulentOrifice.hpp
//! @author Karl Pettersson
//! @date 2009-12-21
//!
//! @brief Contains a Hydraulic Turbulent Orifice
//! @ingroup HydraulicComponents
//!
#ifndef HYDRAULICTURBULENTORIFICE_HPP_INCLUDED
#define HYDRAULICTURBULENTORIFICE_HPP_INCLUDED
#include "../../Compon... |
<commit_before>/*
This file is part of kdepim.
Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org>
Copyright (c) 2004 Till Adam <adam@kde.org>
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... |
<commit_before>//===- InputFiles.cpp -----------------------------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>// Copyright 2014 eric schkufza
//
// 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... |
<commit_before>// Copyright (c) 2006, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this ... |
<commit_before>// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/eval/eval/tensor_function.h>
#include <vespa/eval/instruction/mixed_simple_join_function.h>
#include <vespa/eval/eval/test/eval_fi... |
<commit_before>/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
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 app... |
<commit_before>#include <boost/make_shared.hpp>
#include <ompl/base/ScopedState.h>
#include "OMPLConversions.h"
#include "OMPLSimplifer.h"
namespace or_ompl
{
OMPLSimplifier::OMPLSimplifier(OpenRAVE::EnvironmentBasePtr env)
: OpenRAVE::PlannerBase(env)
{
}
OMPLSimplifier::~OMPLSimplifier()
{
}
bool OMPLSimplifi... |
<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-CHROMIUM file.
#include "browser_client.h"
#include "browser_context.h"
#include "browser_main_parts.h"
#include "notification_presenter.h"
... |
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
/* --- automation setup editor --- */
#include "bstprocedure.hh"
static GParamSpec*
param_automation_pspec_midi_channel()
{
static GParamSpec *midi_channel_pspec =
g_param_spec_ref_sink (sfi_pspec_int ("midi_channel", _("M... |
<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>// Raster Library
// Copyright (c) 2019 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#include "raster/raster.h"
#include <benchmark/benchmark.h>
using namespace raster;
template<typename Color>
static void BM_RasterForEach(benc... |
<commit_before>#include <deferred_renderer.hpp>
#ifdef BUILD_DEFERRED_RENDERER
#include <limits>
extern "C" {
#include <rgbe/rgbe.h>
}
namespace harmont {
deferred_renderer::deferred_renderer(const render_parameters_t& render_parameters, const shadow_parameters_t& shadow_parameters, int width, int height) : poin... |
<commit_before>#include "RapidHistWriter.h"
#include "RapidParam.h"
#include "RapidParticle.h"
RapidHistWriter::~RapidHistWriter() {
if(tree_) {
tree_->AutoSave();
treeFile_->Close();
}
while(!histos_.empty()) {
delete histos_[histos_.size()-1];
histos_.pop_back();
}
}
void RapidHistWriter::setup(bool sa... |
<commit_before>#include "caffe2/core/net.h"
#include "caffe2/core/operator.h"
#include "caffe2/proto/caffe2.pb.h"
namespace caffe2 {
NetBase* CreateNet(const NetDef& net_def, Workspace* ws) {
if (!net_def.has_net_type() || net_def.net_type() == "simple") {
VLOG(1) << "Creating simple net.";
return new Simpl... |
<commit_before>// reimplementation of kerninhanlin in
// https://github.com/bjoern-andres/graph
#pragma once
#ifndef NIFTY_GRAPH_OPTIMIZATION_LIFTED_MULTICUT_LIFTED_MULTICUT_ANDRES_KERNIGHAN_LIN_HXX
#define NIFTY_GRAPH_OPTIMIZATION_LIFTED_MULTICUT_LIFTED_MULTICUT_ANDRES_KERNIGHAN_LIN_HXX
#include <iomanip>
#include... |
<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>/*
Library written for use with Common-Anode 7-Segment Display. For more information on how to use this library,
please refer to the github README.
Written by: Derek Duncan
Data: 2/4/2016
*/
#include "Arduino.h"
#include "SegmentDisplay.h"
int pins[8];
SegmentDisplay::SegmentDisplay(int pin1, int... |
<commit_before>/* mbino - basic mbed APIs for the Arduino platform
* Copyright (c) 2017 Thomas Kemmer
*
* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... |
<commit_before>/*
* ServalCommunication.cpp
*
* Created on: Apr 15, 2016
* Author: sni
*/
#include "ServalCommunication.h"
#include <chrono>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <ice/communication/messages/Message.h>
#include <serval_interface.h>... |
<commit_before>#include "SparkFunCCS811.hpp"
#include "cox.h"
CCS811Core::CCS811Core(TwoWire &W, uint8_t addr) : Wire(W), I2CAddress(addr) {
}
CCS811Core::status CCS811Core::readRegister(uint8_t offset, uint8_t* outputPointer){
//Return value
uint8_t result=0;
uint8_t numBytes = 1;
this->Wire.beginTransmission(I... |
<commit_before>#ifndef ecmdStructs_H
#define ecmdStructs_H
// Copyright **********************************************************
//
// File ecmdStructs.H
// ... |
<commit_before>//---------------------------- multiple_parameter_loop_01.cc ---------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2002, 2003, 2004, 2005, 2010 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license infor... |
<commit_before>/*
Hume Library
Copyright (C) 2015 Marshall Clyburn
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 your option) any later ... |
<commit_before>//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
#include "sys_dev_i2c_native_target.h"
// copied from esp-idf\components\driver\test\test_i2c.c because they aren't made available on a header
#define I2C_MASTER_TX_BUF_DISABLE ... |
<commit_before>#include "engpar.h"
#include <PCU.h>
#include "src/engpar_sides.h"
namespace engpar {
wgt_t getWeight(agi::Ngraph* g, int dimension, bool countGhosts) {
wgt_t w =0;
if (dimension==-1) {
//calculate the total weight of the vertices
agi::GraphVertex* vtx;
agi::VertexIter... |
<commit_before>// Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once
#include "../ForwardDeclarations.hpp"
#include "JsonNode.hpp"
namespace ArduinoJson {
namespace Internals {
class JsonNodeWrapper {
friend class JsonValue;
public:
... |
<commit_before>// Copyright 2017 Adam Smith
// 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 agree... |
<commit_before>// See the file in the main distribution directory for copyright.
#include <zeek/zeek-config.h>
#include "TestimonySource.h"
#include <zeek/iosource/Packet.h>
#include <zeek/iosource/BPF_Program.h>
#include <unistd.h>
#include <zeek/Event.h>
using namespace ZEEK_IOSOURCE_NS::testimony;
TestimonySo... |
<commit_before>/*
Copyright (C) 2010 Collabora Ltd. <info@collabora.co.uk>
@author George Kiagiadakis <george.kiagiadakis@collabora.co.uk>
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 Soft... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.t... |
<commit_before>/**
* @file llcapabilitylistener_test.cpp
* @author Nat Goodspeed
* @date 2008-12-31
* @brief Test for llcapabilitylistener.cpp.
*
* $LicenseInfo:firstyear=2008&license=viewergpl$
*
* Copyright (c) 2008-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in... |
<commit_before>/*
* Copyright (C) 2017 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>#include <aleph/persistentHomology/ConnectedComponents.hh>
#include <aleph/topology/filtrations/Data.hh>
#include <aleph/topology/io/SimplicialComplexReader.hh>
#include <aleph/topology/Simplex.hh>
#include <aleph/topology/SimplicialComplex.hh>
#include <iostream>
#include <map>
#include <string>
#in... |
<commit_before>/*
* Copyright 2009-2019 The VOTCA Development Team (http://www.votca.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 obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... |
<commit_before>/* Copyright (c) 2009, Simeon Bird <spb41@cam.ac.uk>
* Based on code (c) 2005 by J. Bolton
*
* 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... |
<commit_before>#define PWN_ENGINE_NO_AUTOLINK
#include "system_vfs.hpp"
#include "system.hpp"
#include <physfs.h>
#include <pwn/engine/game>
#include <pwn/assert>
#include <boost/filesystem.hpp>
#pragma comment (lib, "physfs.lib")
namespace pwn
{
namespace engine
{
namespace // local
{
... |
<commit_before>#pragma once
#include "Constants.hpp"
#include "Geometry2d/Point.hpp"
#include "time.hpp"
#include <cmath>
#include <deque>
#include <QString>
#include <stdexcept>
#include <stdint.h>
#include <sys/time.h>
#include <typeinfo>
#include <vector>
#include <QtWidgets>
const static bool THROW_DEBUG_EXCEPTI... |
<commit_before>#include <catch/catch.hpp>
#include <Transform/Referential.hpp>
using namespace obe::Transform;
using Axis = Referential::Axis;
TEST_CASE(
"Flipping Referentials should give correct results",
"[obe.Transform.Referential.flip]"
)
{
SECTION("Flipping both axis of known referentials")
{... |
<commit_before>/***************************Copyright-DO-NOT-REMOVE-THIS-LINE**
* CONDOR Copyright Notice
*
* See LICENSE.TXT for additional notices and disclaimers.
*
* Copyright (c)1990-1998 CONDOR Team, Computer Sciences Department,
* University of Wisconsin-Madison, Madison, WI. All Rights Reserved.
* No ... |
<commit_before>/*
OpenDeck MIDI platform firmware
Copyright (C) 2015-2018 Igor Petrovic
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unomain.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 03:38:02 $
*
* The Contents of this file are made a... |
<commit_before>//===- LoopVersioning.cpp - Utility to version a loop ---------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>#include "ram.h"
u8 Ram::read_byte(u16 adress, u32 cycles_passed)
{
if (adress >= 0xC000 && adress < 0xD000)
return memory[adress - 0xC000];
else if (adress >= 0xD000 && adress < 0xE000)
return memory[adress - 0xC000 + bank_num * 0x1000];
else if (adress >= 0xE000 && adress < 0xFE00) //TODO: pr... |
<commit_before>
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm.h"
#include "SkColorPriv.h"
#include "SkGeometry.h"
#include "SkShader.h"
#define WIRE_FRAME_WIDTH 1.1f
static void tesselate(const SkPath& s... |
<commit_before>/*
* Copyright (C) 2014-2015 Pavel Dolgov
*
* See the LICENSE file for terms of use.
*/
#include <iomanip>
#include <iostream>
#include <limits>
#include "ConsoleBotView.hpp"
static int numberOfDigits(int number) {
int digits = 0;
while (number) {
number /= 10;
digits++;
... |
<commit_before>#include "condor_common.h"
#include "condor_api.h"
#include "status_types.h"
#include "totals.h"
extern AdTypes type;
extern Mode mode;
extern ppOption ppStyle;
int matchPrefix (const char *, const char *);
char *
getPPStyleStr ()
{
switch (ppStyle)
{
case PP_NOTSET: return "<Not set>";
... |
<commit_before>#include "Common.h"
#include "Config.h"
#include "OpenGL.h"
#include "Window.h"
/****** Variables *******/
static GLFWwindow* g_Window = NULL;
static int g_WindowWidth = 0;
static int g_WindowHeight = 0;
static int g_FramebufferWidth = 0;
static int g_FramebufferHeight = 0;
static FramebufferResizeF... |
<commit_before>#include "master.hpp"
namespace factor
{
/* Simple wrappers for ANSI C I/O functions, used for bootstrapping.
Note the ugly loop logic in almost every function; we have to handle EINTR
and restart the operation if the system call was interrupted. Naive
applications don't do this, but then they quickly... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <vw/Cartography/Datum.h>
#include <vw/Math/Functions.h>
vw::cartography::Datum::Datu... |
<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>/**
* Copyright (c) 2017, Loic Blot <loic.blot@unix-experience.fr>
* 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 co... |
<commit_before>#pragma once
#include "blitz_typedefs.hpp"
#include "constants.hpp"
#include "error.hpp"
#include "global_config.hpp"
namespace mocc {
typedef std::array<int, 3> BC_Size_t;
typedef std::array<Boundary, 6> BC_Type_t;
/**
* This defines a general boundary condition container, which... |
<commit_before>#include "setupdialog.h"
#include "debug.h"
#include "utils.h"
#include <QDateTime>
#include <QDir>
#include <QFileDialog>
#include <QFileInfo>
#include <QHostInfo>
#include <QSettings>
#include <QStandardPaths>
SetupDialog::SetupDialog(QWidget *parent)
: QDialog(parent), _loadingAnimation(":/icons... |
<commit_before>/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2008 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.
**
** $TROLLTECH_DUAL_LICENSE$
**
******... |
<commit_before>#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <boost/filesystem.hpp>
#include <stdio.h>
using namespace cv;
using namespace std;
using namespace boost::filesystem;
struct params {
path in;
path out;
int notch;
float rotation;
int x, y;
int h,w,d;
};
params* parseI... |
<commit_before>/*
* DesktopMain.cpp
*
* Copyright (C) 2009-18 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 General P... |
<commit_before>#include <signal.h>
#include "gen/wsdd.nsmap"
#include "wsddapi.h"
const char* host = "239.255.255.250";
int port = 3702;
const int _metadataVersion = 1;
const char* _xaddr="http://localhost/service";
const char* _type="\"http://schemas.xmlsoap.org/ws/2006/02/devprof\":device";
const char* _endpoint="... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: HoughTransform2DLinesImageFilter.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights res... |
<commit_before>#pragma once
#include "MPLTypes.hpp"
#include "MPLUtility.hpp"
namespace Kvasir {
namespace Register{
template<typename TAddress, typename TClearBits, typename TSetBits>
struct Option {
using Type = Option<TAddress,TClearBits,TSetBits>;
};
template<int Address,int Clear, int Set>
using Op... |
<commit_before>/*
* This file is part of the Gluon project.
* Copyright (C) 2007 Laurent Gomila <laurent.gom@gmail.com>
* Copyright (C) 2009 Sacha Schutz <istdasklar@free.fr>
* Copyright (C) 2009 Guillaume Martres <smarter@ubuntu.com>
*
* This program is free software; you can redistribute it and/or
* modify it under t... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: license_dialog.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: ihi $ $Date: 2007-11-22 15:22:46 $
*
* The Contents of this file ar... |
<commit_before>/*
* MachUtilities.cpp
* MWorksCore
*
* Created by Christopher Stawarz on 5/13/11.
* Copyright 2011 MIT. All rights reserved.
*
*/
#include "MachUtilities.h"
#include <mach/mach.h>
#include "Utilities.h"
BEGIN_NAMESPACE_MW
mach_timebase_info_data_t MachTimebase::getTimebaseInfo() {
... |
<commit_before>/*
This file is part of KDE
Copyright (C) 1998-2000 Waldo Bastian (bastian@kde.org)
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 limita... |
<commit_before>/**
* << detailed description >>
*
* @file TestReactions.cpp
* @brief << brief description >>
* @author clonker
* @date 22.06.16
*/
#include <gtest/gtest.h>
#include <readdy/kernel/singlecpu/reactions/SingleCPUReactions.h>
#include <readdy/model/Kernel.h>
#include <boost/algorithm/string.hpp>
#in... |
<commit_before>/*
Copyright (c) 2009 Kevin Ottens <ervin@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later ve... |
<commit_before>// Copyright (c) 2021 ASMlover. All rights reserved.
//
// ______ __ ___
// /\__ _\ /\ \ /\_ \
// \/_/\ \/ __ \_\ \ _____ ___\//\ \ __
// \ \ \ /'__`\ /'_` \/\ '__`\ / __`\\ \ \ /'__`\
// \ \ \/\ \L\.\_/\ \L\ \ \ \L\ \/... |
<commit_before>// Copyright 2013 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 "ash/shell.h"
#include "ash/shell_window_ids.h"
#include "ash/test/ash_test_base.h"
#include "ash/test/test_shell_delegate.h"
#inc... |
<commit_before>/*************************************************************************
*
* $RCSfile: hfi_tag.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: vg $ $Date: 2003-06-10 11:34:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a ... |
<commit_before>// Author: Filimon Roukoutakis 02/08/2006
/******************************************************************************
MOOD - Monitor Of On-line Data and Detector Debugger for ALICE Experiment
******************************************************************************/
#include <RConfig.h>
#inc... |
<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>/**************************************************************************
** This file is part of LiteIDE
**
** Copyright (c) 2011-2014 LiteIDE Team. All rights reserved.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
**... |
<commit_before>/**************************************************************************
** This file is part of LiteIDE
**
** Copyright (c) 2011-2014 LiteIDE Team. All rights reserved.
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
**... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.