text stringlengths 54 60.6k |
|---|
<commit_before>/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* libwps
* Copyright (C) 2009, 2011 Alonso Laurent ([email protected])
* Copyright (C) 2006, 2007 Andrew Ziem
* Copyright (C) 2004-2006 Fridrich Strba ([email protected])
* Copyright (C) 2004 Marc Maurer ([email protected]... |
<commit_before>#include "types.hh"
#include <cstring>
#include <cstddef>
#include <cstdlib>
#include <unistd.h>
#include <signal.h>
namespace nix {
static void sigsegvHandler(int signo, siginfo_t * info, void * ctx)
{
/* Detect stack overflows by comparing the faulting address with
the stack pointer. U... |
<commit_before>/* ************************************************************************
* Copyright 2013 Advanced Micro Devices, 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
... |
<commit_before>/*
Copyright (C) 2017 Tadeusz Puźniakowski
This file is part of mhttp.
This program 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
... |
<commit_before>/*
* Copyright (c) [2017-2018] SUSE LLC
*
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as published
* by the Free Software Foundation.
*
* This program is distributed in the hop... |
<commit_before>/**
* \file Chebyshev1Filter.cpp
*/
#include <boost/math/special_functions/asinh.hpp>
#include "Chebyshev1Filter.h"
#include "IIRFilter.h"
namespace
{
template<typename DataType>
void create_chebyshev1_analog_coefficients(int order, DataType ripple, std::vector<std::complex<DataType> >& z, std::... |
<commit_before>#pragma once
#include <archive.h>
#include "../stream/stream.hh"
#include "../stream/buffer.hh"
#include "../non-copyable.hh"
#include "entry.hh"
namespace mimosa
{
namespace archive
{
class Reader : public stream::Stream
{
public:
MIMOSA_DEF_PTR(Reader);
inline Reader() :... |
<commit_before>/*
* Copyright 2017 The Imaging Source Europe GmbH
*
* 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 b... |
<commit_before>#include "boid.h"
/**
* @brief Create a new boid
*
* Creates a new QQmlComponent using the main QQmlApplicationEngine of the program and
* the Boid.qml file.
* After the component is created and ready, the QObject is created and parented to the
* canvas object.
* Lastly we set the position random... |
<commit_before>#include "aquila/source/generator/SineGenerator.h"
#include <SFML/System.hpp>
#include <SFML/Audio.hpp>
#include <algorithm>
#include <iostream>
void convertSourceToBuffer(const Aquila::SignalSource& source, sf::SoundBuffer& buffer)
{
sf::Int16* samples = new sf::Int16[source.getSamplesCou... |
<commit_before><commit_msg>Multipart cleanup of T3000 - 7<commit_after><|endoftext|> |
<commit_before>/**
* @file Vector.hpp
*
* Vector class.
*
* @author James Goppert <[email protected]>
*/
#pragma once
#include <Matrix.hpp>
namespace matrix
{
template <typename Type, size_t M, size_t N>
class Matrix;
template<typename Type, size_t M>
class Vector : public Matrix<Type, M, 1>
{
public:
... |
<commit_before>/*************************************************************************
*
* $RCSfile: taskmisc.cxx,v $
*
* $Revision: 1.1.1.1 $
*
* last change: $Author: hr $ $Date: 2000-09-18 16:58:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>/*
* This file is part of ALVAR, A Library for Virtual and Augmented Reality.
*
* Copyright 2007-2012 VTT Technical Research Centre of Finland
*
* Contact: VTT Augmented Reality Team <[email protected]>
* <http://www.vtt.fi/multimedia/alvar.html>
*
* ALVAR is free software; you can redis... |
<commit_before>#include "ConfigController.h"
#include "GameController.h"
#include <QAction>
#include <QMenu>
extern "C" {
#include "platform/commandline.h"
}
using namespace QGBA;
ConfigOption::ConfigOption(QObject* parent)
: QObject(parent)
{
}
void ConfigOption::connect(std::function<void(const QVariant&)> slo... |
<commit_before>#include "HaxeRuntime.h"
#if WITH_EDITOR
#include "uhx/DynamicClass.h"
#include "Misc/Paths.h"
#include "uhx/expose/HxcppRuntime.h"
#ifndef UHX_NO_UOBJECT
static int uhx_uniqueId = 0;
static TMap<FName, uint32> getCrcMapPvt() {
TMap<FName, uint32> map;
FString path = FPaths::ConvertRelativePathT... |
<commit_before>/* Copyright (c) 2013-2014 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "ConfigController.h"
#include "GameController.h... |
<commit_before>#include <iostream>
#include <stdexcept>
#include "Token.hpp"
#include "TokenStream.hpp"
#include "Calculator.hpp"
int main(int argc, char* argv[])
{
if(argc < 2)
{
std::cout << "There aren't any operations send to Calculator" << std::endl;
return 1;
}
std::cout << ... |
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation ([email protected])
**
**
** GNU Lesser General Public License Usage
**
** This file m... |
<commit_before>#include "pipeline.h"
#include <iostream>
int main()
{
using namespace pipeline;
auto for_each = [](auto&& rng){
return source([rng](auto&& sink){
for (auto const& x : rng) if (!sink(x)) return;
});
};
auto pipeline = []{
return filter ([](auto x){ return x>3... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved
*/
#ifndef _Stroika_Foundation_Execution_IntervalTimer_inl_
#define _Stroika_Foundation_Execution_IntervalTimer_inl_ 1
/*
********************************************************************************
***********************... |
<commit_before>
#include <arpa/inet.h>
#include <string>
#include "format.h"
#include "config.h"
#include "error.h"
#include "udp_socket.h"
#include "strutils.h"
////////////////////////////////////////
std::string pack_name( const std::string &name )
{
std::string ret;
size_t loc = 0;
ret.push_back( '\0' );
for... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2018. All rights reserved
*/
#ifndef _Stroika_Foundation_Memory_SmallStackBuffer_inl_
#define _Stroika_Foundation_Memory_SmallStackBuffer_inl_ 1
/*
********************************************************************************
***********************... |
<commit_before>#include "balance.h"
int count = 0;
BalanceState::BalanceState(Adafruit_BNO055* imu)
: imu(imu),
drive(&leftServo, &rightServo),
pid(&pidInput, &pidOutput, &pidTarget, 10, 1, 1, DIRECT) {}
void BalanceState::enter() {
Serial.println(F("\n\nEntering: Robot Balance State"));
if (!re... |
<commit_before>/* mbed Microcontroller Library
* Copyright (c) 2018 ARM Limited
*
* 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>/*
* Copyright (C) 2015 Dan Leinir Turthra Jensen <[email protected]>
*
* 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... |
<commit_before>#include <aleph/persistentHomology/Calculation.hh>
#include <aleph/topology/Simplex.hh>
#include <aleph/topology/SimplicialComplex.hh>
#include <aleph/topology/filtrations/Data.hh>
#include <aleph/topology/io/Matrix.hh>
#include <iostream>
#include <string>
#include <getopt.h>
using DataType ... |
<commit_before>#ifndef AMGCL_IO_MM_HPP
#define AMGCL_IO_MM_HPP
/*
The MIT License
Copyright (c) 2012-2018 Denis Demidov <[email protected]>
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>// This file may be redistributed and modified under the terms of the
// GNU Lesser General Public License (See COPYING for details).
// Copyright (C) 2000 Stefanus Du Toit
#include "../Stream/Codec.h"
#include "Utility.h"
using namespace std;
using namespace Atlas::Stream;
/** Packed ASCII codec
[t... |
<commit_before>#ifndef __ARRAYS_HPP__
#define __ARRAYS_HPP__
#include <string>
#include <type_traits>
#ifdef __CYGWIN__
#include <sstream>
namespace std {
inline std::string to_string(unsigned long val) { ostringstream os; os << val; return os.str(); }
}
#endif
namespace {
namespace __typedecl {
struct split_str... |
<commit_before>/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Module: FGRocket.cpp
Author: Jon S. Berndt
Date started: 09/12/2000
Purpose: This module models a rocket engine
------------- Copyright (C) 2000 Jon S. Berndt ([email protected]) --------------
This p... |
<commit_before>#include "scanner/api/kernel.h"
#include "scanner/api/op.h"
#include "scanner/util/memory.h"
namespace scanner {
class DiscardKernel : public BatchedKernel {
public:
DiscardKernel(const KernelConfig& config)
: BatchedKernel(config),
device_(config.devices[0]),
work_item_size_(config.... |
<commit_before>/*
Copyright (C) 2014 Alexandr Akulich <[email protected]>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SH... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: jvmargs.cxx,v $
*
* $Revision: 1.16 $
*
* last change: $Author: rt $ $Date: 2005-09-08 07:59:29 $
*
* The Contents of this file are made ... |
<commit_before>/***********************************************************************************************************************
**
** Copyright (c) 2011, 2014 ETH Zurich
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without modification, are permitted provided tha... |
<commit_before><commit_msg>CEQU - Crucial Equation.cpp<commit_after><|endoftext|> |
<commit_before>#include <vector>
#include "base/basictypes.h"
#include "base/logging.h"
#include "gfx/gl_lost_manager.h"
std::vector<GfxResourceHolder *> *holders;
static bool inLost;
void register_gl_resource_holder(GfxResourceHolder *holder) {
if (inLost) {
FLOG("BAD: Should not call register_gl_resource_holde... |
<commit_before>/******************************************************************************
*
* package: Log4Qt
* file: loggingevent.cpp
* created: September 2007
* author: Martin Heinrich
*
*
* Copyright 2007 Martin Heinrich
*
* Licensed under the Apache License, Version 2.0 (the "Li... |
<commit_before>/*************************************************************************
*
* $RCSfile: Edit.hxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: rt $ $Date: 2004-05-07 16:06:52 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses... |
<commit_before>/**
Copyright (c) 2017, Philip Deegan.
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 of conditions... |
<commit_before>/**
* @file DenseMatrix.cpp
*/
// Copyright 2001 California Institute of Technology
#ifdef WIN32
#pragma warning(disable:4786)
#pragma warning(disable:4503)
#endif
#include "ct_defs.h"
#include "ctlapack.h"
#include "utilities.h"
#include "DenseMatrix.h"
namespace Cantera {
/// assignmen... |
<commit_before>#include <sstream>
#include <zorba/item.h>
#include "runtime/core/arithmetic_impl.h"
#include "errors/error_factory.h"
#include "system/globalenv.h"
#include "types/root_typemanager.h"
#include "types/casting.h"
#include "util/Assert.h"
#include "runtime/numerics/NumericsImpl.h"
#include "runtime/dateTi... |
<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... |
<commit_before>/********************************************************************
* AUTHORS: Vijay Ganesh
*
* BEGIN DATE: November, 2005
*
* LICENSE: Please view LICENSE file in the home dir of this Program
********************************************************************/
// -*- c++ -*-
#include "../AST/A... |
<commit_before>#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <math.h>
// stochasticPerfectHash
// Uses stochastic remainder sampling to derive a Pearson mixing table for small sets of alphabetic keys
// [email protected]
// g++ -std=c++0x -O3 -lrt sph.cp... |
<commit_before>#ifndef __NODE_MAPNIK_FONTS_H__
#define __NODE_MAPNIK_FONTS_H__
// v8
#include <v8.h>
// node
#include <node.h>
// mapnik
#include <mapnik/font_engine_freetype.hpp>
// stl
#include <vector>
#include "utils.hpp"
using namespace v8;
using namespace node;
namespace node_mapnik {
static inline Handl... |
<commit_before>#include <karl/api/response_handler.hpp>
#include <supermarx/serialization/xml_serializer.hpp>
#include <supermarx/serialization/msgpack_serializer.hpp>
#include <supermarx/serialization/msgpack_compact_serializer.hpp>
#include <supermarx/serialization/json_serializer.hpp>
#include <supermarx/serializa... |
<commit_before>// Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
#include "bsestartup.hh"
#include "../config/config.h" // BST_VERSION
#include "bsemain.hh"
#include "bse/internal.hh"
#include <bse/bseapi_handles.hh>
#include <bse/bse.hh> // init_server_connection
namespace Bse {
/... |
<commit_before>#pragma once
#include "constants.hpp"
#include "file_monitor.hpp"
#include "filesystem.hpp"
#include "gcd_utility.hpp"
#include "logger.hpp"
#include <fstream>
namespace krbn {
class grabber_alerts_monitor final {
public:
typedef std::function<void(void)> callback;
grabber_alerts_monitor(const gra... |
<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>#include "HdmiDisplay.h"
HdmiDisplayIndications::HdmiDisplayIndications()
{
}
HdmiDisplayIndications::~HdmiDisplayIndications()
{
}
struct HdmiDisplayIndicationsvsyncMSG : public PortalMessage
{
//fix Adapter.bsv to unreverse these
unsigned long long v:64;
};
void HdmiDisplayIndications::hand... |
<commit_before>#include "library/sp.h"
#include "game/apocresources/loftemps.h"
#include "framework/logger.h"
#include "framework/data.h"
namespace OpenApoc
{
LOFTemps::LOFTemps(IFile &datFile, IFile &tabFile)
{
if (!tabFile)
{
LogError("Invalid TAB file");
return;
}
if (!datFile)
{
LogError("Invalid DAT ... |
<commit_before>/* Copyright (c) 2013 Fabian Schuiki */
#pragma once
#include "../math.hpp"
#include "../matrix.hpp"
#define GAMMA_HAS_TRANSFORM_PERSPECTIVE
namespace gamma {
namespace transform {
/** A perspective projection, as it would be generated by the gluPerspective
* OpenGL call. Note that the field-of-view i... |
<commit_before>#if defined(__linux__) || defined(__APPLE__)
#include <unistd.h>
#include <syslog.h>
#include "dobby_internal.h"
#include "Interceptor.h"
__attribute__((constructor)) static void ctor() {
DLOG(-1, "================================");
DLOG(-1, "Dobby");
DLOG(-1, "================================"... |
<commit_before>/*
Copyright (c) 2014, William Magato
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,
this list of condi... |
<commit_before>/* -*- Mode: C++; c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil -*-
*
* Quadra, an action puzzle game
* Copyright (C) 1998-2000 Ludus Design
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publi... |
<commit_before>/* BSD 3-Clause License:
* Copyright (c) 2018, bitsofcotton.
* 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 copyrigh... |
<commit_before>// The libMesh Finite Element Library.
// Copyright (C) 2002-2014 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; eit... |
<commit_before>////////////////////////////////////////////////////////////////////////////
//
// Copyright 2015 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>/*************************************************************************
*
* $RCSfile: xmlexchg.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: obo $ $Date: 2004-11-16 11:21:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before><commit_msg>Resolves: #i123181# Corrected mirroring of shear angle...<commit_after><|endoftext|> |
<commit_before><commit_msg>fixed the German translations<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: colmgr.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-16 23:01:20 $
*
* The Contents of this file are made a... |
<commit_before>/*************************************************************************
*
* $RCSfile: bookmark.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: os $ $Date: 2002-12-05 12:45:04 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*************************************************************************
*
* $RCSfile: tbxmgr.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2004-07-06 11:33:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: uiitems.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: hr $ $Date: 2007-09-27 12:49:33 $
*
* The Contents of this file are made ... |
<commit_before>/*************************************************************************
*
* $RCSfile: wrtundo.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: jp $ $Date: 2001-09-11 14:57:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before><commit_msg>add a TODO to exchange<commit_after><|endoftext|> |
<commit_before>#ifndef SDR_H_
#define SDR_H_
#include <vector>
#include <array>
#include <bitset>
#include <iostream>
#include <utility>
#include <algorithm>
#include <iostream>
#include <cmath>
#include <unordered_set>
namespace sdr
{
typedef std::size_t position_t;
typedef std::size_t width_t;
// this holds all ... |
<commit_before>/*
* =====================================================================================
*
* Filename: mpu9150_node.cpp
*
* Description: ROS package that launches a node and publishes
* the Invensense MPU-9150 in the format Imu.msgs and MagneticField.msgs to the topics
* /imu/data... |
<commit_before>/*
Persons Model Contact Item
Represents person's contact item in the model
Copyright (C) 2012 Martin Klapetek <[email protected]>
Copyright (C) 2012 Aleix Pol Gonzalez <[email protected]>
This library is free software; you can redistribute it and/or
modify it u... |
<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>/**
** \file object/object.cc
** \brief Implementation of object::Object.
*/
#include <algorithm>
#include <boost/foreach.hpp>
#include <boost/lexical_cast.hpp>
#include "libport/containers.hh"
#include "object/object.hh"
#include "object/atom.hh"
#include "object/urbi-exception.hh"
namespace obj... |
<commit_before>// Copyright (C) 2009, 2010 by Florent Lamiraux, Thomas Moulard, JRL.
//
// This file is part of the hpp-corbaserver.
//
// This software is provided "as is" without warranty of any kind,
// either expressed or implied, including but not limited to the
// implied warranties of fitness for a particular pu... |
<commit_before>/*
* Copyright (C) 2004-2008 See the AUTHORS file for details.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published
* by the Free Software Foundation.
*/
#include "User.h"
#include "znc.h"
// Forwar... |
<commit_before>#include <iostream>
#include <cstdlib>
const double FIRST_BRACKET_LENGTH = 18200;
const double SECOND_BRACKET_LENGTH = 18799;
const double THIRD_BRACKET_LENGTH = 42999;
const double FOURTH_BRACKET_LENGTH = 100000;
const double P_FIRST_BRACKET = 1;
const double P_SECOND_BRACKET = 0.81;
const double P... |
<commit_before>/******************************************************************************
* Copyright (c) 2014 Jamis Hoo
* Distributed under the MIT license
* (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
*
* Project:
* Filename: test.cc
* Version: 1.0
* Author:... |
<commit_before><commit_msg>planning: do not check traffic light color while creeping on right turn<commit_after><|endoftext|> |
<commit_before>
#include <locale>
#include <vector>
#include <stdlib.h>
#ifdef __APPLE__
#include <TargetConditionals.h>
#endif //
#include <lemon/fs/fs.hpp>
#include <lemon/strings.hpp>
#include <lemon/os/sysinfo.hpp>
namespace lemon { namespace os {
typedef std::wstring_convert<std::codecvt<wchar_t, char, std... |
<commit_before>//===-- Writer.cpp - Library for writing LLVM bytecode files --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//... |
<commit_before><commit_msg>better error message<commit_after><|endoftext|> |
<commit_before><commit_msg>Don't trim whitespace while parsing xml<commit_after><|endoftext|> |
<commit_before>/////////////////////////////////////////
//
// LieroX Game Script Compiler
//
// Copyright Auxiliary Software 2002
//
//
/////////////////////////////////////////
// OpenLieroX
// code under LGPL
// Main compiler
// Created 7/2/02
// Jason Boettcher
#include <cstdio>
... |
<commit_before><commit_msg>mention the -directory option if no fonts are found<commit_after><|endoftext|> |
<commit_before>//===-- PhiElimination.cpp - Eliminate PHI nodes by inserting copies ------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
... |
<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 distr... |
<commit_before>//===--- REPLCodeCompletion.cpp - Code completion for REPL ----------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>/* /////////////////////////////////////////////////////////////////////////
* File: example.cpp.main.1.cpp
*
* Purpose: Implementation file for the example.cpp.main.1 library.
*
* Created: 5th January 2011
* Updated: 9th February 2021
*
* Status: Wizard-generated
*
* Li... |
<commit_before>// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "paymentservertests.h"
#include "optionsmodel.h"
#include "paymentrequestdata.h"
#include "amount.h... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/*
* cf. M. Hjorth-Jensen, Computational Physics, University of Oslo (2015)
* http://www.mn.uio.no/fysikk/english/people/aca/mhjensen/
* Ernest Yeung (I typed it up and made modifications)
* [email protected]
* MIT License
* cf. Chapter 3 Numerical differentiation and interpolation
* 3.1 ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information ([email protected])
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Comm... |
<commit_before>/*
This file is part of cpp-ethereum.
cpp-ethereum 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 version.
cpp-ethereum is dis... |
<commit_before>/*
* Copyright 2014 Milian Wolff <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later... |
<commit_before>/*
* 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 version.
*
* Written (W) 2011 Heiko Strathmann
* Copyrig... |
<commit_before>//===-- Local.cpp - Functions to perform local transformations ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//... |
<commit_before>//===-- Local.cpp - Functions to perform local transformations ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
//
... |
<commit_before>/*
* face-cleaner.cpp
*
* Created on: Nov 15, 2014
* Author: Michael Williams
*/
#include "facerecogntion/face-cleaner.h"
#include <vector>
#include <stdio.h>
using namespace cv;
using namespace std;
namespace facerecogntion{
Mat clean_face(Mat face){
CascadeClassifier filter;
filter.loa... |
<commit_before>/*************************************************************************
*
* $RCSfile: lockfile.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2003-03-25 13:51:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>/*
Copyright(c) 2004 John J.Bolton
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify,
mer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.