text stringlengths 54 60.6k |
|---|
<commit_before>#include "General.h"
#include <shellapi.h>
#include "../3RVX/LanguageTranslator.h"
#include "../3RVX/Logger.h"
#include "../3RVX/Settings.h"
#include "../3RVX/SkinInfo.h"
#include "resource.h"
const wchar_t General::REGKEY_NAME[] = L"3RVX";
const wchar_t General::REGKEY_RUN[]
= L"Software\\Micros... |
<commit_before>
#include "registerAddr.hpp"
#include "Gpu.hpp"
#include "OpenGLWindow.hpp"
#include "Memory.hpp"
Gpu Gpu::_gpuInstance = Gpu();
Gpu &Gpu::Instance()
{
return Gpu::_gpuInstance;
}
Gpu::Gpu() :
_clock(0),
_mode(OAM_READ),
_window(nullptr),
_memory(Memory::Instance())
{
_activeTile = 0; // TODO:... |
<commit_before>#include <fstream>
#include <iostream>
#include "Rom.hpp"
Rom Rom::_instance = Rom();
Rom::Rom(void)
{
this->_eram = NULL;
this->_rom = NULL;
}
Rom::~Rom(void)
{
if (this->_rom != NULL)
delete[] this->_rom;
if (this->_eram != NULL)
delete[] this->_eram;
}
Rom &Rom::Instance(void)
{
retur... |
<commit_before><commit_msg>new DnD implementations - now DnD tables/queries in the explorer pane / moved some implementations to dsbrowserDnD.cxx<commit_after><|endoftext|> |
<commit_before>#include "PowerUI.h"
#include "ui_PowerUI.h"
PowerUI::PowerUI(QWidget *parent) :
QWidget(parent),
ui(new Ui::PowerUI)
{
ui->setupUi(this);
}
PowerUI::~PowerUI()
{
delete ui;
}
QPushButton& PowerUI::connectButton()
{
return *ui->connectButton;
}
QLabel& PowerUI::setConnectionStatus()
{
r... |
<commit_before>#include "Character.h"
Character::Character(): m_spriteCharater(new sf::Sprite()),m_textureCharacter(new sf::Texture())
{
m_textureCharacter->loadFromFile("Build/Ressources/sprites/spooky/sprite.png");
m_spriteCharater->setTexture(*m_textureCharacter);
m_spriteCharater->setTextureRect(sf::IntRect(0,... |
<commit_before>#include "Character.h"
Character::Character():
m_spriteCharater(new sf::Sprite()),
m_textureCharacter(new sf::Texture())
{
m_textureCharacter->loadFromFile("Build/Ressources/sprites/spooky/sprite.png");
m_spriteCharater->setTexture(*m_textureCharacter);
m_spriteCharater->setTextureRect(sf::IntRec... |
<commit_before>/*
* qiaffine.cpp
*
* Copyright (c) 2015 Tobias Wood.
*
* 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 <iostream>
#include ... |
<commit_before>/*
* qikfilter.cpp
*
* Copyright (c) 2015 Tobias Wood.
*
* 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 <memory>
#include <g... |
<commit_before>/*
* qikfilter.cpp
*
* Copyright (c) 2015 Tobias Wood.
*
* 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 <memory>
#include <g... |
<commit_before>void MakeT0RecoParam(Int_t startRun = 0, Int_t endRun = AliCDBRunRange::Infinity(), AliRecoParam::EventSpecie_t defaultParam = AliRecoParam::kHighMult)
{
// Create T0 Calibration Object for Ideal calibration and
// write it on CDB
AliCDBManager *man = AliCDBManager::Instance();
man->SetDefaultSto... |
<commit_before>#include <map>
#include "Tests.h"
void veroRestApiTest() {
// rest authenticate
bool ret = restAuthenticate(KServerAddr, KPort, KUserName, KPassword);
if (!ret) {
report();
}
// rest projects
std::map<string, string> projectMap;
restListProjects(KServerAddr, KPort, KUserN... |
<commit_before>/////////////////////////////////////////////////////////////////////////
// $Id$
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
//
// MandrakeSoft S.A.
// 43, rue d'Aboukir
// 75002 Paris - France
// http://www.linux-man... |
<commit_before><commit_msg>12455 - Bars<commit_after><|endoftext|> |
<commit_before>#include "crypto.h"
#include <stdio.h>
#include <stdlib.h>
#include <cstdlib>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <iostream>
#include <fstream>
#include <string>
#include <cstring>
#include "sha256.h"
const int PACKET_DA... |
<commit_before>/*
* article.cpp
*
* Copyright (c) 2001, 2002, 2003, 2004 Frerich Raabe <raabe@kde.org>
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. For licensing and dist... |
<commit_before>/* Copyright (c) 2015 In Cheol, Kang
*
* 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,... |
<commit_before>/*
@ 0xCCCCCCCC
*/
#include "kbase/logging.h"
#include <cstdio>
#include <ctime>
#include <iomanip>
#include <thread>
#include <Windows.h>
#include "kbase/scoped_handle.h"
namespace {
using kbase::LogSeverity;
using kbase::LogItemOptions;
using kbase::LoggingDestination;
using kbase::OldFileDispos... |
<commit_before>/*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS.... |
<commit_before>/**************************************************************************
*
* Copyright 2011 Jose Fonseca
* 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 t... |
<commit_before>/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#inc... |
<commit_before>/*
* Copyright 2013 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 "SkPerlinNoiseShader.h"
namespace skiagm {
class PerlinNoiseGM : public GM {
public:
PerlinNoiseGM() {
this->setBGColor(0... |
<commit_before>#include "pe/FileHdrWrapper.h"
#include "pe/PEFile.h"
#include <time.h>
#include <QDateTime>
namespace util {
QString getDateString(const quint64 timestamp)
{
const time_t rawtime = (const time_t)timestamp;
QString format = "dddd, dd.MM.yyyy hh:mm:ss";
QDateTime date1(QD... |
<commit_before>/**
* Copyright (c) 2004 Carsten Burghardt <burghardt@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; version 2 of the License
*
* This program is distribute... |
<commit_before>#include "source_map.hpp"
#ifndef SASS_CONTEXT
#include "context.hpp"
#endif
#include <string>
#include <sstream>
#include <cstddef>
#include <iomanip>
namespace Sass {
using std::ptrdiff_t;
SourceMap::SourceMap(const string& file) : current_position(Position(1, 1)), file(file) { }
// taken fro... |
<commit_before>#include "photoeffects.hpp"
using namespace cv;
int warmify(cv::InputArray src, cv::OutputArray dst, uchar delta)
{
CV_Assert(src.type() == CV_8UC3);
Mat imgSrc = src.getMat();
CV_Assert(imgSrc.data);
dst.create(src.size(), CV_8UC3);
Mat imgDst = dst.getMat();
Vec3b intensity, i... |
<commit_before>/**
Copyright 2017 Daniel Garcia Vaglio degv364@gmail.com
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, ... |
<commit_before>#pragma once
//=====================================================================//
/*! @file
@brief RX programmer クラス
@author 平松邦仁 (hira@rvf-rc45.net)
@copyright Copyright (C) 2016, 2018 Kunihito Hiramatsu @n
Released under the MIT license @n
https://github.com/hirakuni45/RX/blob/master... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: optutil.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: ihi $ $Date: 2006-08-04 12:11:15 $
*
* The Contents of this file are made ... |
<commit_before>//--------------------------------------------------------------------*- C++ -*-
// CLING - the C++ LLVM-based InterpreterG :)
// author: Axel Naumann <axel@cern.ch>
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser G... |
<commit_before>/**
* Copyright (C) 2005-2007 Christoph Rupp (chris@crupp.de).
* All rights reserved. See file LICENSE for licence and copyright
* information.
*
* unit tests for endian.h
*
*/
#include <cppunit/extensions/HelperMacros.h>
#include <ham/hamsterdb.h>
#include "../src/os.h"
#if WIN32
# include <w... |
<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>#include "Camera.h"
#include "util.h"
#include <cassert>
using namespace nt;
Camera::Camera(Player* t) :
moveWithTarget(true),
rotateWithTarget(true),
rotateTarget(false),
zoomSpeed(5),
zSpeed(0.009),
xSpeed(0.007),
target(t),
targetDistance(100),
maxDistance(800)
{
setXRotation(0);
setYRota... |
<commit_before>//=============================================================================
// ■ CommandList.cpp
//-----------------------------------------------------------------------------
// VMDE中渲染指令列表。
//=============================================================================
#include "global.hpp"
st... |
<commit_before><commit_msg> o RooLinkedList<commit_after><|endoftext|> |
<commit_before>//
// Copyright (c) 2017 The nanoFramework project contributors
// Portions Copyright (c) Microsoft Corporation. All rights reserved.
// See LICENSE file in the project root for full license information.
//
#include "nf_rt_native.h"
static const CLR_RT_MethodHandler method_lookup[] =
{
Library_n... |
<commit_before>#include "GLUtil.h"
#include "ConsoleOutput.h"
#include "ImageFileUtils.h"
#include <fstream>
#include <sstream>
#include <vector>
namespace {
std::function<GLUtil::GLDebugMessageCallbackFunc> g_debugMessageCallback;
void GLAPIENTRY GLDebugMessageCallback(GLenum source, GLenum type, GLuint id, ... |
<commit_before>/*
* Copyright (c) 2015, 2016, Intel Corporation
*
* 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 lis... |
<commit_before>
#include "EntityData.hh"
#include "Core/Engine.hh"
#include "Components/Component.hh"
#include "Entity.hh"
#include <limits>
#include <Core/AScene.hh>
EntityData::EntityData(std::weak_ptr<AScene> scene) :
_scene(scene),
_flags(0),
_localTranslation(0),
_localRotation(0),
_localScale(0),
_globa... |
<commit_before>// binding.cc
#include <node.h>
#include "../deps/murmurhash.c/murmurhash.h"
namespace murmurhashlib {
using v8::FunctionCallbackInfo;
using v8::Isolate;
using v8::Value;
using v8::Object;
using v8::Local;
using v8::Exception;
using v8::String;
void Murmurhash(const FunctionCallbackInfo<Value>& a... |
<commit_before>/*
* GuildTerminalImplementation.cpp
*
* Created on: May 9, 2010
* Author: crush
*/
#include "server/zone/objects/tangible/terminal/guild/GuildTerminal.h"
#include "server/zone/ZoneServer.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/objects/player/PlayerO... |
<commit_before>#ifndef _SDD_ORDER_ORDER_HH_
#define _SDD_ORDER_ORDER_HH_
#include <initializer_list>
#include <memory>
#include <vector>
#include <boost/optional.hpp>
#include "sdd/conf/variable_traits.hh"
namespace sdd { namespace order {
/// @cond INTERNAL_DOC
/*-------------------------------------------------... |
<commit_before>#include "../search/search.hpp"
#include "../structs/binheap.hpp"
#include "../utils/pool.hpp"
#include <limits>
#include <vector>
#include <cmath>
void dfrowhdr(FILE *, const char *name, int ncols, ...);
void dfrow(FILE *, const char *name, const char *colfmt, ...);
void fatal(const char*, ...);
templ... |
<commit_before>/*
* Copyright (c) 2014-2022 Patrizio Bekerle -- <patrizio@bekerle.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; version 2 of the License.
*
* This program is dist... |
<commit_before>#include "geometry.h"
using namespace mathUtils;
bool Geometry::eq(QPointF const &point1, QPointF const &point2, qreal eps)
{
return Math::eq(point1.x(), point2.x(), eps) && Math::eq(point1.y(), point2.y(), eps);
}
qreal Geometry::scalarProduct(QVector2D const &vector1, QVector2D const &vector2)
{
r... |
<commit_before>#include <gtest/gtest.h>
using namespace testing;
TEST(MyTest, MyTest)
{
EXPECT_EQ(1,1);
}
int main(int argc, char **argv)
{
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}<commit_msg>Added line-end at the end of the file.<commit_after>#include <gtest/gtest.h>
using ... |
<commit_before><commit_msg>[sfm] default destructor<commit_after><|endoftext|> |
<commit_before><commit_msg>Major cleanup<commit_after><|endoftext|> |
<commit_before>#ifndef __elxKNNGraphAlphaMutualInformationMetric_HXX__
#define __elxKNNGraphAlphaMutualInformationMetric_HXX__
#include "elxKNNGraphAlphaMutualInformationMetric.h"
#include "itkImageFileReader.h"
#include "itkBSplineInterpolateImageFunction.h"
#include <string>
namespace elastix
{
using namespace i... |
<commit_before>#include <stdio.h>
#include <cmath>
#include <stdlib.h>
#include <stdbool.h>
#include <signal.h>
#include <unistd.h>
#include <assert.h>
#include <math.h>
#include <poll.h>
#include <sys/mman.h>
#include "common/util.h"
#include "common/swaglog.h"
#include "common/visionimg.h"
#include "common/utilpp.h"... |
<commit_before>/*
* Copyright © 2012 Intel Corporation
*
* 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 version.... |
<commit_before>#include <sstream>
#include "Partitioning.h"
using namespace std;
double RepairDocumentPartition::getScore(ostream& os)
{
double term;
double sum(0);
double totalFragSize(0);
for (unordered_map<string, FragInfo>::iterator it = uniqueFrags.begin(); it != uniqueFrags.end(); it++)
{
term = it->secon... |
<commit_before>#include <iostream>
#include <string>
#include <boost/program_options.hpp>
namespace po = boost::program_options;
using namespace std;
/*
Usage: hadoop fs [generic options]
[-appendToFile <localsrc> ... <dst>]
[-cat [-ignoreCrc] <src> ...]
[-checksum <src> ...]
[-chgrp ... |
<commit_before>/*************************************************************************
*
* $RCSfile: ScriptInfoImpl.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: dsherwin $ $Date: 2002-10-17 14:58:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the fol... |
<commit_before>#include "util/file_piece.hh"
#include "util/exception.hh"
#include "util/file.hh"
#include "util/mmap.hh"
#ifdef WIN32
#include <io.h>
#endif // WIN32
#include <iostream>
#include <string>
#include <limits>
#include <assert.h>
#include <ctype.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/ty... |
<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 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that... |
<commit_before>#include <QApplication>
#include <QTranslator>
#include <QLocale>
#include <QDebug>
#include <QTimer>
#include <QDir>
#include "qlcconfig.h"
#include "launcher.h"
void loadTranslation(const QString& locale, QApplication& app)
{
QString file(QString("launcher_%1").arg(locale));
QString path = QL... |
<commit_before>#include "argumentlist.h"
#include "epolleventdispatcher.h"
#include "itransceiverclient.h"
#include "localsocket.h"
#include "message.h"
#include "transceiver.h"
#include <iostream>
using namespace std;
void fillHelloMessage(Message *hello)
{
hello->setType(Message::MethodCallMessage);
hello... |
<commit_before>#include "engine.h"
#include "random.h"
#include "gameEntity.h"
#include "Updatable.h"
#include "collisionable.h"
#ifdef DEBUG
#include <typeinfo>
int DEBUG_PobjCount;
PObject* DEBUG_PobjListStart;
#endif
#ifdef ENABLE_CRASH_LOGGER
#ifdef __WIN32__
//Exception handler for mingw, from https://... |
<commit_before>#include <iostream>
#include "N-Queens.h"
#include "StringMatching.h"
int main(int _Argc, char ** _Argv)
{
NQueens queen(10);
std::string pattern, text;
std::cout << "Inserire stringa testo: ";
std::cin >> text;
std::cout << "Inserire stringa pattern: ";
std::cin >> pattern;
std::cout << "... |
<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>/*
* Copyright (C) 2015-present ScyllaDB
*/
/*
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include <boost/circular_buffer.hpp>
#include "latency.hh"
#include <cmath>
#include <seastar/core/timer.hh>
#include <iosfwd>
#include "seastarx.hh"
namespace utils {
/**
* An exponential... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/hwpf/fapi2/src/fapi2_utils.C $ ... |
<commit_before><commit_msg>mwg/std/tuple (rvalue_reference_wrapper): Add move assignment operator for vc2010.<commit_after><|endoftext|> |
<commit_before>#include <b9.hpp>
#include <b9/core.hpp>
#include <b9/hash.hpp>
#include <b9/jit.hpp>
#include <b9/loader.hpp>
#include "Jit.hpp"
#include <sys/time.h>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
namespace b9 {
v... |
<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 "Lice... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, 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 limitation the rights
to use, co... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, 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 limitation the rights
to use, co... |
<commit_before>/* Copyright (c) 2010-present Advanced Micro Devices, 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 limitation the rights
to use, c... |
<commit_before>/* Copyright (c) 2010 - 2021 Advanced Micro Devices, 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 limitation the rights
to use, co... |
<commit_before>/* Copyright (c) 2010-present Advanced Micro Devices, 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 limitation the rights
to use, c... |
<commit_before>/*
* Mnemonizer.cpp
* Object to convert random ipv4 and ipv6 to a mnemonic.
* The gist of the algorithm works like this:
* Checks if the ip is valid ipv4 or ipv6
* Adds a static salt to the string
* Hashes the ip and the salt with SHA1
* Splits the hash into 4 parts
* Get... |
<commit_before>//
// TestUtilities.cpp
// FxDSP
//
// Created by Hamilton Kibbe on 5/3/15.
// Copyright (c) 2015 Hamilton Kibbe. All rights reserved.
//
#include "Utilities.h"
#include <math.h>
#include <gtest/gtest.h>
#define EPSILON (0.00001)
TEST(Utilities, TestAmpDbConversion)
{
float amps[5] = {1.0, 0.... |
<commit_before>#include "leveldb_ext.h"
static void PyLevelDB_set_error(leveldb::Status& status)
{
extern PyObject* leveldb_exception;
PyErr_SetString(leveldb_exception, status.ToString().c_str());
}
const char leveldb_repair_db_doc[] =
"leveldb.RepairDB(db_dir)\n"
;
PyObject* leveldb_repair_db(PyObject* self, PyOb... |
<commit_before>#include "stdafx.hpp"
#include <float.h>
#include <CppUnitTest.h>
#include <functional>
#include "Geometry/Grassmann.hpp"
#include "Geometry/R3Element.hpp"
#include "Quantities/Astronomy.hpp"
#include "Quantities/BIPM.hpp"
#include "Quantities/Constants.hpp"
#include "Quantities/Dimensionless.hpp"
#i... |
<commit_before>/*
* Copyright 2015 Milian Wolff <mail@milianw.de>
*
* 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>#include "datarecorder.h"
#include <Framework/dataloghelper.h>
#include "robotmodule.h"
DataRecorder::DataRecorder(RobotModule& module)
: module(module)
{
logger = Log4Qt::Logger::logger("DataRecorder");
connect(&module, SIGNAL(dataChanged(RobotModule*)), this, SLOT(newDataReceived(RobotMod... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "playerinfoview.h"
#include "jcz/tilefactory.h"
#include <QActionGroup>
#include <QSettings>
#include "player/randomplayer.h"
#include "player/montecarloplayer.h"
#include "player/montecarloplayer2.h"
#include "player/mctsplayer.h"
MainWindow... |
<commit_before>/*
* ---------------------------------------------------------------------
* Numenta Platform for Intelligent Computing (NuPIC)
* Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
* Numenta, Inc. a separate commercial license for this software code, the
* following terms and conditio... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QMessageBox>
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow)
{}
void MainWindow::setIP(QHostAddress myIP, QHostAddress partnerIP)
{
ui->setupUi(this);
ui->ErrorLabel->setText("No error :)");
... |
<commit_before>/*-----------------------------------------------------------------------------
This source file is a part of Hopsan
Copyright (c) 2009 to present year, Hopsan Group
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pu... |
<commit_before>/***********************************************************************
KNotes support for OpenSync kdepim-sync plugin
Copyright (C) 2004 Conectiva S. A.
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 ... |
<commit_before>/*
* Copyright (c) 2015 <name of copyright holder>
* Author: Srijan R Shetty <srijan.shetty+code@gmail.com>
*
* 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>/*
* =====================================================================================
*
* Filename: encore.cpp
*
* Description: Encore - A computational framework for analysis of GWAS and other
* biological data
*
* Includes epistasis interaction analysis (re... |
<commit_before>#include "AlembicXform.h"
#include "MetaData.h"
#include <maya/MFnTransform.h>
namespace AbcA = ::Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS;
using namespace AbcA;
AlembicXform::AlembicXform(const MObject & in_Ref, AlembicWriteJob * in_Job)
: AlembicObject(in_Ref, in_Job)
{
MFnDependencyNode node... |
<commit_before>#include "AlembicXform.h"
#include <xsi_application.h>
#include <xsi_kinematics.h>
#include <xsi_kinematicstate.h>
#include <xsi_x3dobject.h>
#include <xsi_math.h>
#include <xsi_context.h>
#include <xsi_operatorcontext.h>
#include <xsi_customoperator.h>
#include <xsi_factory.h>
#include <xsi_parameter.h>... |
<commit_before>/* medMainWindow.cpp ---
*
* Author: Julien Wintz
* Copyright (C) 2008 - Julien Wintz, Inria.
* Created: Fri Sep 18 12:48:07 2009 (+0200)
* Version: $Id$
* Last-Updated: Tue Oct 20 09:57:15 2009 (+0200)
* By: Julien Wintz
* Update #: 114
*/
/* Commentary:
*
*/
/* Change log... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/pivx-config.h"
#endif
#... |
<commit_before>// Copyright 2014 the V8 project 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 "src/compiler/js-inlining.h"
#include "src/ast.h"
#include "src/ast-numbering.h"
#include "src/compiler/all-nodes.h"
#include "... |
<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>/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file datagram... |
<commit_before>#include "stdafx.h"
#include "texture_atlas.h"
#include "texture.h"
#include "utilities/utilities.h"
#include "utilities/cjson_utils.hpp"
using namespace std;
using namespace glm;
namespace asdf
{
using namespace util;
namespace data
{
texture_atlas_t::texture_atlas_t(std::string const& jso... |
<commit_before>#ifdef STAN_OPENCL
#include <stan/math/prim/mat.hpp>
#include <stan/math/prim/arr.hpp>
#include <gtest/gtest.h>
TEST(ErrorHandlingOpenCL, checkThrows) {
const char* function = "test_func";
const char* msg = "test";
EXPECT_THROW(stan::math::throw_openCL(function, msg), std::domain_error);
}
#else
T... |
<commit_before>/*************************************************************************
*
* $RCSfile: hfi_method.cxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2004-07-12 15:26:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lic... |
<commit_before>// Copyright (C) 2017 Elviss Strazdins
// This file is part of the Ouzel engine.
#include <cassert>
#include "TTFont.hpp"
#include "core/Engine.hpp"
#include "files/FileSystem.hpp"
#include "utils/Log.hpp"
#include "utils/Utils.hpp"
#define STB_TRUETYPE_IMPLEMENTATION
#include "../../external/stb/stb_t... |
<commit_before>//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "../InferenceTest.hpp"
#include "../ImagePreprocessor.hpp"
#include "armnnTfParser/ITfParser.hpp"
int main(int argc, char* argv[])
{
int retVal = EXIT_FAILURE;
try
{
// Coverity fix: The... |
<commit_before>void mkhtml (char *macro=0, Int_t force=0) {
// to run this macro, you must have the correct .rootrc file
// in your galice directory.
// The gAlice classes summary documentation go to directory html
// The gAlice classes source documentation go to directory html/src
// The example macros documentation ... |
<commit_before>/*
* Copyright (C) 2019 The Android Open Source Project
*
* 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 ... |
<commit_before>/*
* Copyright 2015 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/SkBitmap.h"
#include "include/core/SkMatrix.h"
#include "include/private/SkTemplates.h"
#include "src/core/SkArenaAlloc.h"
#include "src/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.