text stringlengths 54 60.6k |
|---|
<commit_before>// Author: Don Sanders <sanders@kde.org>
// License GPL
#include <config.h>
#include "kmstartup.h"
#include "kmkernel.h" //control center
#include <klocale.h>
#include <ksimpleconfig.h>
#include <kstandarddirs.h>
#include <kmessagebox.h>
#include <dcopclient.h>
#include <kcrash.h>
#include <kglobal.... |
<commit_before>//===- SimplifyCFGPass.cpp - CFG Simplification Pass ----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===- InstructionNamer.cpp - Give anonymous instructions names -----------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2001 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. Red... |
<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 distributed WIT... |
<commit_before>//===========================================================================//
// This file is part of the DIP Solver Framework. //
// //
// DIP is distributed under the Eclipse Public License as part of... |
<commit_before>/*
* Recorder.cpp
*
* Created on: 24 Feb 2018
* Author: jeremy
*/
#include "Recorder.h"
#include "../../Util/Parsing.h"
#include "../../Util/Misc.h"
#include "../../Util/Xml.h"
#include "../../Util/Time.h"
#include "../../Util/Crypt.h"
#include "../../Util/ErrorHandling.h"
#include "../../So... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>#include <iostream>
#include "TwitterGraph.hpp"
#include <fstream>
#include <cstring>
using namespace std;
void printUsage(char** argv)
{
cerr << "Usage: " << argv[0] << " COMMAND" << endl << endl;
cerr << "Available commands:" << endl
<< "\tstats" << endl
<< "\tindegrees" << endl
<< "\toutdegr... |
<commit_before><commit_msg>Small fix in BGP edit tests<commit_after><|endoftext|> |
<commit_before>/*
* Copyright (c) 2006, Ondrej Danek (www.ondrej-danek.net)
* 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
*... |
<commit_before>/*
* FFissionCodec.cpp
* Copyright (c) 2006 David Conrad
*
* This file is part of Perian.
*
* 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... |
<commit_before>#include "messages_connector.h"
#include <pqxx/pqxx>
#include <boost/make_shared.hpp>
#include "utils/exception.h"
#include "utils/logger.h"
#include "type/data.h"
namespace ed{ namespace connectors{
namespace pt = boost::posix_time;
std::map<std::string, boost::shared_ptr<navitia::type::Message>> loa... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2019, The Regents of the University of California
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted pro... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include "StableHeaders.h"
#include "DebugOperatorNew.h"
#include "NaaliApplication.h"
#include "Framework.h"
#include "ConfigurationManager.h"
#include "CoreStringUtils.h"
#include <QDir>
#include <QGraphicsView>
#include ... |
<commit_before>#include <iostream>
#include <string>
#include <algorithm>
#include "mdalc.h"
using namespace std;
mdPattern::mdPattern() {
lineCommands = nullptr;
lineCmdVals = nullptr;
lineCmdStrVals = nullptr;
requestList = nullptr;
ptnLength = 0;
firstInSequence = false;
}
mdPattern::~mdPattern() {
... |
<commit_before>/*
* stack.hpp - Copyright (C) 2007 by Nathan Reed
* Type-dispatch functions for manipulating the Lua stack.
*/
/*
* These totally generic functions are unimplemented, causing a compiler
* error if they are called. We don't know how to send objects of arbitrary
* types to and from Lua. Following... |
<commit_before>
#include <gloperate/rendering/Color.h>
#include <cassert>
#include <sstream>
#include <iomanip>
#include <glm/glm.hpp>
#include <cppassist/string/regex.h>
namespace gloperate
{
Color::Color()
: m_v(0ul)
{
}
Color::Color(std::uint32_t bgra)
: m_v(bgra)
{
}
Color::Color(int red, int green, int bl... |
<commit_before>#include "zmq.h"
#include "AliHLTDirectHOMERManager.h"
#include "AliHLTHOMERBlockDesc.h"
#include <iostream>
#include "AliHLTDataTypes.h"
#include "AliHLTComponent.h"
#include <time.h>
int sendWithTopic(char bufferTopic[kAliHLTComponentDataTypeTopicSize], void* bufferPtr, size_t bufferSize, void* mainSo... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/shm.h>
#include <unistd.h>
#include <execinfo.h>
#include <sys/mman.h>
#include <linux/fb.h>
#include <errno.h>
#include <sys/stat.h>
extern int startHostMonitor(void** main_fbs, int main_c... |
<commit_before>////////////////////////////////////////////////////
// Class to manage the //
// ITS beam test conversion from rawdata //
// to digits. It executes the digitization for //
// SPD, SDD and SSD. //
// Origin: E. Crescio crescio@to.infn.... |
<commit_before>/* Sirikata Network Utilities
* AsioStrandIO.hpp
*
* Copyright (c) 2009, Ewen Cheslack-Postava
* 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... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkImageWeightedSum.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<commit_before>// The MIT License (MIT)
// Copyright (c) 2015 nabijaczleweli
// 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 righ... |
<commit_before>/*
* GLRenderingCaps.cpp
*
* This file is part of the "LLGL" project (Copyright (c) 2015-2017 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "GLRenderingCaps.h"
#include "Ext/GLExtensions.h"
#include "../GLCommon/GLExtensionRegistry.h"
#include "../GLCommon/GLTypes.h"
... |
<commit_before>#include <QtTest/QtTest>
#include <QDebug>
#include "Lexer.h"
#include "Parser.h"
#include "Interpreter.h"
class KLangUnitTest: public QObject
{
Q_OBJECT
private slots:
void example1() {
auto source = R"doc(
Начало
Синтез а, б, б1
а = 2.0 * 1.0 + 1.0
... |
<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>#include <argtable3/argtable3.h>
#include <babylon/babylon_version.h>
#include <babylon/core/delegates/delegate.h>
#include <babylon/core/logging.h>
#include <babylon/samples/sample_launcher.h>
#include <babylon/samples/samples_index.h>
struct ConsoleLogger {
using log_message_t = BABYLON::delegate_t... |
<commit_before>#include "jumptable.h"
#include "cppimplgenerator.h"
#include "reporthandler.h"
#include "fileout.h"
static QHash<QString, QString> shortNames;
static QHash<char, QString> expandNamesJNI;
static QHash<char, QString> expandNamesJava;
bool JumpTableGenerator::active = false;
static QString simplifyName... |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) 2018 Nathan Osman
*
* 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
*... |
<commit_before>/*-------------------------------------------------------------------------
*
* FILE
* pqxx/tablewriter.hxx
*
* DESCRIPTION
* definition of the pqxx::tablewriter class.
* pqxx::tablewriter enables optimized batch updates to a database table
* DO NOT INCLUDE THIS FILE DIRECTLY; includ... |
<commit_before>/*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
* 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. Any modified source or binaries are used only with the BitSha... |
<commit_before>#include "Array.h"
#include "Runtime.h"
#include "SnowString.h"
#include "Function.h"
#include <sstream>
#define DEFAULT_ARRAY_LENGTH 8
namespace snow {
GC_ROOTS_IMPL(Array) {
GC_SUPER(Object);
GC_ROOT(m_Data);
for (size_t i = 0; i < m_Length; ++i) {
GC_ROOT(m_Data[i]);
}
}
void Array... |
<commit_before>/***************************************************************************/
/**
** @file
** @brief unit test code for Tipper triangulator
*/
/***************************************************************************/
#include <math.h>
#if !defined(HAVE_NO_NAMESPACE)
# include <iostream>
# include ... |
<commit_before>//Copyright (c) 2021 Ultimaker B.V.
//CuraEngine is released under the terms of the AGPLv3 or higher.
#include "LightningTree.h"
#include "../utils/linearAlg2D.h"
using namespace cura;
coord_t LightningTreeNode::getWeightedDistance(const Point& unsupported_loc, const coord_t& supporting_radius) const... |
<commit_before>//
// PROJECT: Aspia
// FILE: ui/address_book/address_book_dialog.cc
// LICENSE: Mozilla Public License Version 2.0
// PROGRAMMERS: Dmitry Chapyshev (dmitry@aspia.ru)
//
#include "ui/address_book/address_book_dialog.h"
#include <atlctrls.h>
#include <atlmisc.h>
#include ... |
<commit_before><commit_msg>Address a review comment I forgot in my previous patch.<commit_after><|endoftext|> |
<commit_before>//
// libavg - Media Playback Engine.
// Copyright (C) 2003-2006 Ulrich von Zadow
//
// 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 of the Li... |
<commit_before>/*
* Copyright (c) 2012 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementati... |
<commit_before>// Copyright (c) 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 "chrome/browser/extensions/extension_function.h"
#include "chrome/browser/extensions/extension_function_dispatcher.h"
void E... |
<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.
// The tests in this file are chromeos only.
#include "chrome/browser/ui/webui/feedback_ui.h"
#include "base/file_util.h"
#include "b... |
<commit_before><commit_msg>Use TabSwitchPaintDuration in tab switching test.<commit_after><|endoftext|> |
<commit_before>#include <StdAfx.h>
#include <UI/ViewPane/SplitterPane.h>
namespace viewpane
{
SplitterPane* SplitterPane::CreateVerticalPane(int paneID)
{
const auto pane = CreateHorizontalPane(paneID);
pane->m_bVertical = true;
return pane;
}
SplitterPane* SplitterPane::CreateHorizontalPane(int paneID)
{... |
<commit_before>#pragma once
#include "constants.hpp"
#include "grabber_server.hpp"
#include "logger.hpp"
#include "notification_center.hpp"
#include "session.hpp"
class userspace_connection_manager final {
public:
userspace_connection_manager(void) : timer_(0), last_uid_(0) {
prepare_socket_directory(0);
gr... |
<commit_before>/*****************************************************************
*
* BSD LICENCE (http://www.opensource.org/licenses/bsd-license.php)
*
* Copyright (c) 2010, Cory Thomas
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... |
<commit_before>/* libCppGUI - A GUI library for C++11/14
Copyright 2016 Hans-Peter Gygax
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/LIC... |
<commit_before>// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "malloc_mmap_guard.h"
#include <vespa/vespalib/util/size_literals.h>
#include <malloc.h>
#include <limits>
#include <cassert>
namespace vespalib {
MallocMmapGuard::MallocMmapGuard(size_t mm... |
<commit_before>#include <zip.hpp>
#include "helpers.hpp"
#include <iterator>
#include <sstream>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
#include "catch.hpp"
using iter::zip;
using itertest::BasicIterable;
using itertest::SolidInt;
TEST_CASE("zip: Simple case, same length", "[zip]") ... |
<commit_before>
#pragma once
//Work around GCC's lack of a __has_attribute macro
#ifdef __GNUC__
#define __has_attribute(X) 1
#endif
#if __has_attribute(always_inline)
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define ALWAYS_INLINE
#endif
#if __has_attribute(warn_unused_result)
#define CHECKED _... |
<commit_before>#include "word-tag.hpp"
#include "fast-sprintf.hpp"
extern "C" {
#ifdef DEBUG
#include "dict-common/dict-utils.h" // prt_exp_mem()
#endif
#include "error.h"
#include "tokenize/tok-structures.h"
#include "utilities.h"
}
#define D_IC 8
void WordTag::insert_connectors(Exp* exp, int& dfs_position,
... |
<commit_before>#include "RedirectorStrategy.h"
#include "trace.h"
#include "RedirectorStrategy.tmh"
#include "FilterDevice.h"
#include "UsbDkNames.h"
#include "ControlDevice.h"
#include "WdfRequest.h"
#define MAX_DEVICE_ID_LEN (200)
#include "Public.h"
//----------------------------------------------------------------... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999-2001 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. Red... |
<commit_before>/* FasTC
* Copyright (c) 2012 University of North Carolina at Chapel Hill. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its documentation for educational,
* research, and non-profit purposes, without fee, and without a written agreement is hereby granted... |
<commit_before>/*
* Copyright (C) 2010 Toni Gundogdu <legatvs@gmail.com>
*
* 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 your option) any later versi... |
<commit_before>/*
* Run a CGI script.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "cgi_client.hxx"
#include "cgi_quark.h"
#include "cgi_parser.hxx"
#include "pool.hxx"
#include "istream/Pointer.hxx"
#include "istream/istream_null.hxx"
#include "async.hxx"
#include "header_parser.hxx"
#include "stopwatch... |
<commit_before>//
// This file is part of the Marble Desktop 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 2006-2007 Torsten Rahn <tackat@kde.org>"
// Copyright 2007 Inge Wall... |
<commit_before>#ifndef SILICIUM_ERROR_EXTRACTING_SOURCE_HPP
#define SILICIUM_ERROR_EXTRACTING_SOURCE_HPP
#include <silicium/source/source.hpp>
#include <silicium/error_or.hpp>
#include <boost/concept_check.hpp>
namespace Si
{
namespace detail
{
template <class ErrorOr>
struct get_error_parameters;
template <... |
<commit_before>//
// Copyright (C) 2008 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2008 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// $$
///////////////////////////////////////////////////////////////////////////////
// SYSTEM INCLUDES
// APPL... |
<commit_before>//
// Copyright (C) 2005-2008 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2004-2008 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// ... |
<commit_before>/*=====================================================================
QGroundControl Open Source Ground Control Station
(c) 2009 - 2015 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
This file is part of the QGROUNDCONTROL project
QGROUNDCONTROL is free software: you can redistribute it... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics.... |
<commit_before>// $Id: AnisotropyShiftProcessor_test.C,v 1.3 2000/09/24 13:27:44 oliver Exp $
#include <BALL/CONCEPT/classTest.h>
///////////////////////////
#include <BALL/NMR/anisotropyShiftProcessor.h>
#include <BALL/FORMAT/HINFile.h>
#include <BALL/FORMAT/PDBFile.h>
#include <BALL/STRUCTURE/defaultProcessors.h>
... |
<commit_before>#include <specs/util/argv_helper.h>
#include <specs/specs.h>
using namespace bandit::specs::util;
namespace bd = bandit::detail;
static void all_ok(const bd::options &opt) {
AssertThat(opt.parsed_ok(), IsTrue());
AssertThat(opt.has_further_arguments(), IsFalse());
AssertThat(opt.has_unknown_optio... |
<commit_before>#include "mainwindow.h"
#include <string>
#include <AnnotatorLib/Annotation.h>
#include <AnnotatorLib/Commands/CompressSession.h>
#include <AnnotatorLib/Commands/CleanSession.h>
#include <QApplication>
#include <QDebug>
#include <QFileDialog>
#include <QMessageBox>
#include <QSettings>
#include "aboutdia... |
<commit_before>//*****************************************************************************
//
// Copyright 2015 Microsoft 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
/... |
<commit_before>#include "qmljslink.h"
#include "parser/qmljsast_p.h"
#include "qmljsdocument.h"
#include "qmljsbind.h"
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <QtCore/QDebug>
using namespace QmlJS;
using namespace QmlJS::Interpreter;
using namespace QmlJS::AST;
static QString componentName(const... |
<commit_before>//
// Copyright 2013-2014, Bradley A. Grantham
//
// 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>#include <iostream>
#include "splay_tree.hpp"
#include <string>
struct Node {
Node* parent;
Node* left;
Node* right;
int key;
Node(int k): key(k){
left = right = nullptr;
parent = nullptr;
}
};
void rightRotate(Node* n) {
Node* new_root = n->left;
n->left = new_root->right... |
<commit_before>/*
* Copyright 2009-2018 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
*
*... |
<commit_before>/*=========================================================================
Program: Visualization Toolkit
Module: vtkContourWidget.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2017 ARM Limited
* SPDX-License-Identifier: Apache-2.0
*
* 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>///
/// @file pi_lmo_parallel4.cpp
/// @brief Parallel implementation of the Lagarias-Miller-Odlyzko
/// prime counting algorithm using OpenMP.
///
/// In this version the special leaves for c + 1 <= b < pi_sqrty
/// have been split up into 2 categories:
/// 1) The special... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
// FILE: CoherentObis.cpp
// PROJECT: Micro-Manager
// SUBSYSTEM: DeviceAdapters
//-----------------------------------------------------------------------------
// DESCRIPTION: CoherentObis controller ada... |
<commit_before>#include "Runtime/MP1/World/CBloodFlower.hpp"
#include <array>
#include "Runtime/CSimplePool.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/GameGlobalObjects.hpp"
#include "Runtime/Particle/CElementGen.hpp"
#include "Runtime/Particle/CGenDescription.hpp"
#include "Runtime/Weapon/CProjectil... |
<commit_before>#include "cinder/app/AppBasic.h"
#include "cinder/app/RendererGl.h"
#include "cinder/Arcball.h"
#include "cinder/Rand.h"
using namespace ci;
using namespace ci::app;
class ArcballDemoApp : public AppBasic {
public:
void setup();
void resize();
void mouseDown( MouseEvent event );
void mouseDrag( M... |
<commit_before>#include "face_normals.hpp"
#include "triangulation_enums.hpp"
#include "indexing.hpp"
// Include GLM
#ifndef __GLM_GLM_HPP_INCLUDED
#define __GLM_GLM_HPP_INCLUDED
#include <glm/glm.hpp> // glm
#endif
// Include standard headers
#include <stdint.h> // uint32_t etc.
#include <vector> // std::vector
n... |
<commit_before>// @(#)root/mathmore:$Id$
// Authors: L. Moneta, A. Zsenei 08/2005
/**********************************************************************
* *
* Copyright (c) 2004 moneta, CERN/PH-SFT *
* ... |
<commit_before>#include "asset_utils.h"
#include "platform/platform_asset_utils.h"
#include "platform/platform_log.h"
#include "texture.h"
#include <assert.h>
#include <stdlib.h>
#define TAG "Assets"
namespace Assets {
bool loadAssetInstance(Asset* asset){
switch(asset->getType()){
... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: ImageRegistration2.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Insight Consortium. All rights reserved.
See ITKCo... |
<commit_before>/*
* tkAppInit.c --
*
* Provides a default version of the Tcl_AppInit procedure for
* use in wish and similar Tk-based applications.
*
* Copyright (c) 1993 The Regents of the University of California.
* Copyright (c) 1994 Sun Microsystems, Inc.
*
* See the file "license.terms" for information o... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2015 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided that the... |
<commit_before>// Copyright (c) 2012 The Chromium Embedded Framework 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 "libcef/browser/menu_creator_runner_gtk.h"
#include "libcef/browser/browser_host_impl.h"
#include "content... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: accmgr.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: hr $ $Date: 2007-06-27 20:27:58 $
*
* The Contents of this file are made av... |
<commit_before>/*
ESP8266WiFi.cpp - WiFi library for esp8266
Copyright (c) 2014 Ivan Grokhotkov. All rights reserved.
This file is part of the esp8266 core for Arduino environment.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... |
<commit_before><commit_msg>tweak timer to affect layout-ed dialogs only<commit_after><|endoftext|> |
<commit_before>/// @provides look-up table (LUT) for CORDIC stuff.
/// @ref see H. Dawid, H. Meyr, "CORDIC Algorithms and Architectures"
#ifndef INC_CORE_CORDIC_LUT_HPP_
#define INC_CORE_CORDIC_LUT_HPP_
#include <boost/array.hpp>
#include <boost/foreach.hpp>
#include <boost/range/irange.hpp>
#include <cm... |
<commit_before>/*************************************************************************
*
* $RCSfile: FColumns.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: vg $ $Date: 2005-03-10 15:27:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: salvd.cxx,v $
*
* $Revision: 1.17 $
*
* last change: $Author: obo $ $Date: 2006-10-13 08:33:49 $
*
* The Contents of this file are made a... |
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one ... |
<commit_before>/* This file is part of VoltDB.
* Copyright (C) 2008-2013 VoltDB Inc.
*
* 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 limitatio... |
<commit_before>/*===- ShieldedCoulombForce.cpp - libSimulation -===============================
*
* DEMON
*
* This file is distributed under the BSD Open Source License. See LICENSE.TXT
* for details.
*
*===-----------------------------------------------------------------------===*/
... |
<commit_before>/*=========================================================================
Program: DICOM for VTK
Copyright (c) 2012-2015 David Gobbi
All rights reserved.
See Copyright.txt or http://dgobbi.github.io/bsd3.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
... |
<commit_before>#include "SelectHymnWindow.hpp"
#include <Engine/Resources.hpp>
#include <Close.png.hpp>
#include <ABeeZee.ttf.hpp>
using namespace GUI;
using namespace std;
SelectHymnWindow::SelectHymnWindow(Widget *parent) : Container(parent) {
rectangle = Resources().CreateRectangle();
hasClosedCallbac... |
<commit_before>#include "SoundManager.hpp"
#include <phonon.h>
#include <Utility/Log.hpp>
#include "../Entity/World.hpp"
#include "../Entity/Entity.hpp"
#include "../Component/Listener.hpp"
#include "../Component/SoundSource.hpp"
#include "../Audio/SoundBuffer.hpp"
#include "Managers.hpp"
#include "ResourceManager.hpp"... |
<commit_before>/*
* THE NEW CHRONOTEXT TOOLKIT: https://github.com/arielm/new-chronotext-toolkit
* COPYRIGHT (C) 2012, ARIEL MALKA ALL RIGHTS RESERVED.
*
* THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE:
* https://github.com/arielm/new-chronotext-toolkit/blob/master/LICENSE.md
*/
#includ... |
<commit_before>//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014, 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>// See LICENSE file for copyright and license details.
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <cassert>
#include <ctime>
#include "core/core.h"
Core::Core()
: mPathfinder(*this)
{
}
Core::~Core() {
}
const std::list<Player*>& Core::players() {
return mPlayers;
}
const Ev... |
<commit_before>//
// StateOfCar.hpp
// AStarSeed
//
// Created by Satya Prakash on 27/03/14.
// Copyright (c) 2014 Satya Prakash. All rights reserved.
//
#ifndef __AStarSeed__StateOfCar__
#define __AStarSeed__StateOfCar__
#include <iostream>
#include "State.hpp"
namespace navigation {
static cons... |
<commit_before>/*
* Copyright (c) 2013, Hernan Saez
* 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, t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.