text stringlengths 54 60.6k |
|---|
<commit_before>/* Copyright (C) 2003 MySQL AB
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 d... |
<commit_before>// File: GameDQNBridge.cpp
// Description: Implement the bridge class between game and DQN
// Date: 2015-07-04
// License: Apache
// Feel free to contact me if there's any questions
//
#include "GameDQNBridge.h"
#include "defaults.h"
#include <string>
#include <qlearni... |
<commit_before>#include "engine/fs/file_system.h"
#include "engine/fs/memory_file_device.h"
#include "engine/iallocator.h"
#include "engine/math_utils.h"
#include "engine/string.h"
namespace Lumix
{
namespace FS
{
class LUMIX_ENGINE_API MemoryFile final : public IFile
{
public:
MemoryFile(IFile* file, Memo... |
<commit_before>#include "engine/config/precompiled.h"
#if (DEA_PLATFORM == DEA_PLATFORM_WINDOWS)
#include "engine/system/system.h"
#include <Windows.h>
DEA_START()
struct window_platform
{
HWND hwnd;
LPCWSTR name;
};
/* Translation unit locals */
namespace
{
void close_windows(pod_vector<window> &windows, pod_v... |
<commit_before>#include "util/funcs.h"
#include "util/bitmap.h"
#include "night_atmosphere.h"
#include "util/file-system.h"
#include "util/token.h"
#include "resource.h"
#include "util/sound.h"
#include "globals.h"
#include <vector>
using namespace std;
/*
static int screenX(){
return 320;
}
static int screenY(){
... |
<commit_before>/*
* This file is part of `et engine`
* Copyright 2009-2015 by Sergey Reznik
* Please, modify content only if you know what are you doing.
*
*/
#include <et/core/tools.h>
#if (ET_PLATFORM_WIN)
#include <et/platform/platformtools.h>
#include <et/core/filesystem.h>
#include <et/core/co... |
<commit_before>#include "Buttongrid.h"
Buttongrid::Buttongrid(){
if(text = (char *)malloc(DISPLAY_SIZE+1)) memset(text,0,DISPLAY_SIZE+1); //Had to add one more, to avoid some bug
}
Buttongrid::Buttongrid(unsigned char size){
if(text = (char *)malloc(DISPLAY_SIZE+1)) memset(text,0,DISPLAY_SIZE+1); //Had to add one m... |
<commit_before>#include "chimera/render/BSPTree.hpp"
#include <SDL2/SDL.h>
template <class T> void swapFace(T& a, T& b) {
T c = b;
b = a;
a = c;
}
glm::vec3 aprox(const glm::vec3& dado) {
return glm::vec3((fabs(dado.x) < EPSILON) ? 0.0f : dado.x, (fabs(dado.y) < EPSILON) ? 0.0f : dado.y,
... |
<commit_before><commit_msg>Reverse prefetch field trial defaults<commit_after><|endoftext|> |
<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/gtk/menu_gtk.h"
#include "app/gfx/gtk_util.h"
#include "app/l10n_util.h"
#include "base/logging.h"
#include "... |
<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/net/referrer.h"
#include "base/logging.h"
namespace chrome_browser_net {
void Referrer::SuggestHost(co... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/options_util.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/profile.h"
#include "chr... |
<commit_before>//
// Copyright (C) 2005-2007 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// Copyright (C) 2004-2006 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
// Licensed to SIPfoundry under a Contributo... |
<commit_before>//
// Created by malachi on 12/27/17.
//
#include <catch.hpp>
#include "../coap-dispatcher.h"
#include "../coap-uripath-dispatcher.h"
#include "test-data.h"
#include "test-observer.h"
using namespace moducom::coap;
using namespace moducom::coap::experimental;
using namespace moducom::pipeline;
exte... |
<commit_before>/*-----------------------------------------------------------------------------
Copyright 2017 Hopsan Group
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... |
<commit_before>#include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <map>
#include <list>
using namespace std;
// this function takes a line that may contain a name and/or email address,
// and returns just the name, while fixing the "bad cases".
std::string contribu... |
<commit_before><commit_msg>Removed empty file<commit_after><|endoftext|> |
<commit_before>/*
* Copyright 2020 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/GrGpuResourcePriv.h"
#include "src/gpu/d3d/GrD3DGpu.h"
#include "src/gpu/d3d/GrD3DTextureResource.h"
void GrD3DTextureResource::setResourceSta... |
<commit_before>/*-
* Copyright (c) 2012 Michael Marner <[email protected]>
*
* 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 abo... |
<commit_before>#ifndef STAN_MATH_PRIM_MAT_FUN_LOG_MIX_HPP
#define STAN_MATH_PRIM_MAT_FUN_LOG_MIX_HPP
#include <stan/math/prim/scal/meta/partials_return_type.hpp>
#include <stan/math/prim/scal/meta/operands_and_partials.hpp>
#include <stan/math/prim/scal/meta/scalar_seq_view.hpp>
#include <stan/math/prim/scal/meta/retu... |
<commit_before>/*************************************************************************
*
* $RCSfile: StorageNativeInputStream.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: vg $ $Date: 2005-03-23 09:41:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the... |
<commit_before><commit_msg>fix tree by commenting out histograms<commit_after><|endoftext|> |
<commit_before>
// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.
#include "Grappa.hpp"
#i... |
<commit_before>// Copyright (c) 2011 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 "base/file_util.h"
#include "base/path_service.h"
#include "base/test/test_timeouts.h"
#include "build/build_config.h"
#includ... |
<commit_before>//
// Copyright (C) 2013-2014 mogemimi.
//
// Distributed under the MIT License.
// See accompanying file LICENSE.md or copy at
// http://enginetrouble.net/pomdog/LICENSE.md for details.
//
#include "DebugNavigator.hpp"
#include "DrawingContext.hpp"
namespace Pomdog {
namespace UI {
//------------... |
<commit_before>//===-- lldb.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>/*
* (C) Copyright 2015 ETH Zurich Systems Group (http://www.systems.ethz.ch/) and others.
*
* 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/... |
<commit_before><commit_msg>No need to rotate U/V components returned by qengine<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dlgattr.cxx,v $
*
* $Revision: 1.10 $
*
* last change: $Author: rt $ $Date: 2007-04-26 07:59:28 $
*
* The Contents of this file are made ... |
<commit_before>//---------------------------------------------------------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2005 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
// to th... |
<commit_before>// -*- Mode:C++ -*-
/**************************************************************************************************/
/* */
/* Copyright (C) 2014 University of Hull ... |
<commit_before>/*
* BaseProbe.h
*
* Author: slundquist
*/
#ifndef BASEPROBE_HPP_
#define BASEPROBE_HPP_
#include <stdio.h>
#include <vector>
#include "../io/fileio.hpp"
namespace PV {
class HyPerCol;
class HyPerLayer;
//typedef enum {
// BufV,
// BufActivity
//} PVBufType;
/**
* An abstract base cla... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before><commit_msg>Обновление библиотек<commit_after><|endoftext|> |
<commit_before>// ==========================================================================
// NGS: Regions of Interest Analysis
// ==========================================================================
// Copyright (c) 2012-2013, Bernd Jagla, Institut Pasteur
// All rights reserved.
//
// Redist... |
<commit_before>#include <Poco/Exception.h>
#include <Poco/Data/Statement.h>
#include <Poco/Data/RecordSet.h>
#include <Poco/Data/Row.h>
#include <Poco/Data/RowIterator.h>
#include "di/Injectable.h"
#include "dao/poco/PocoSQLLocationDao.h"
#include "dao/poco/PocoDaoManager.h"
#include "transaction/TransactionManager.h"... |
<commit_before>/* Copyright 2007-2015 QReal Research Group
*
* 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>////////////////////////////////////////////////////////////////////////////////
/// @brief cap constraint
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2014 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: systemshell.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: rt $ $Date: 2005-09-07 19:56:46 $
*
* The Contents of this file are ma... |
<commit_before>#include <QtCore/QDebug>
#include <QtCore/QTimer>
#include <QtDBus/QtDBus>
#include <QtTest/QtTest>
#include <TelepathyQt4/ChannelFactory>
#include <TelepathyQt4/Connection>
#include <TelepathyQt4/ContactFactory>
#include <TelepathyQt4/ContactSearchChannel>
#include <TelepathyQt4/PendingReady>
#includ... |
<commit_before>/*
* Copyright (c) 2003 [NAMES_GO_HERE]
* Massachusetts Institute of Technology
*
* 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,... |
<commit_before><commit_msg>Unused return value warning fix<commit_after><|endoftext|> |
<commit_before><commit_msg>Allows receivers of nullptr from begin_data to output any quantity of data.<commit_after><|endoftext|> |
<commit_before>#include "WhistleControl.h"
using namespace naoth;
WhistleControl::WhistleControl():
onOffSwitch(0),
whistleListFile("whistles.lst"),
activeChannels("1010")
{}
void WhistleControl::print(std::ostream& stream) const
{
stream << "switch: " << (onOffSwitch == 1 ? "on" : "off") << std::endl;
st... |
<commit_before>#include <string>
#include "../include/Account.h"
using namespace std;
static const string Account::admin = "AA";
static const string Account::sell = "SS";
static const string Account::buy = "BS";
static const string Account::full = "FS";
static const double Account::maxPrice = 999999.99;
string ... |
<commit_before>#include "LogicController.h"
LogicController::LogicController() {
logicState = LOGIC_STATE_INTERRUPT;
processState = PROCCESS_STATE_SEARCHING;
prioritizedControllers = {
PrioritizedController{0, (Controller*)(&searchController)},
PrioritizedController{1, (Controller*)(&obsta... |
<commit_before>/* This file is part of the KDE project.
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
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 o... |
<commit_before>#include "opencv.hpp"
#include "utilities.hpp"
#include "AspectError.hpp"
#include <string>
#include <ctime>
struct HeaderData
{
timespec captureTime, captureTimeMono;
int cameraID;
float cameraTemperature;
int cpuTemperature;
int i2c_temperatures[8];
long frameCount;
int exp... |
<commit_before>//=============================================================================================================
/**
* @file realtimemultisamplearraydelegate.cpp
* @author Christoph Dinh <[email protected]>;
* Matti Hamalainen <[email protected]>
* @version 1.0
* @date ... |
<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
* "Li... |
<commit_before>/***************************************************************************
* Copyright (c) 2008 Werner Mayer <wmayer[at]users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before>// Copyright (C) 2015 Jérôme Leclercq
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Graphics/Formats/MeshLoader.hpp>
#include <Nazara/Core/ErrorFlags.hpp>
#include <Nazara/Graphics/Material.hpp... |
<commit_before>/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with ... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation ([email protected])
**
** This file is part of libmeegotouch.
**
** If you have questions regarding t... |
<commit_before>/*
* FileLogDestination.cpp
*
* Copyright (C) 2020 by RStudio, PBC
*
* 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 following terms:
*
* Permission is hereby gran... |
<commit_before>#include <iostream>
#include "RelativeDetector.h"
#include <list>
#include <opencv_workbench/utils/ColorMaps.h>
#include <opencv_workbench/wb/WB.h>
#include <opencv_workbench/wb/Cluster.h>
#include <opencv_workbench/wb/ClusterProcess.h>
#include <opencv_workbench/wb/NDT.h>
#include <opencv_workbench/ut... |
<commit_before>#include <iostream>
#include "RelativeDetector.h"
#include <list>
#include <opencv_workbench/utils/ColorMaps.h>
#include <opencv_workbench/wb/WB.h>
#include <opencv_workbench/wb/Cluster.h>
#include <opencv_workbench/wb/ClusterProcess.h>
#include <opencv_workbench/wb/NDT.h>
#include <opencv_workbench/ut... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2006 Artem Pavlenko, Jean-Francois Doyon
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU ... |
<commit_before>/** @copyright
* Copyright (c) 2017 Stuart W Baker
* 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 noti... |
<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 2017 Massachusetts Institute of Technology
#include <csignal>
#include <memory>
#include <utility>
#include <algorithm>
#include <ros/ros.h>
#include <pcl_ros/transforms.h>
#include <pcl/conversions.h>
#include <tf2_sensor_msgs/tf2_sensor_msgs.h>
#include <sensor_msgs/PointCloud2.h>
#inclu... |
<commit_before>// Print each number in the range specified by two integers.
#include <iostream>
using std::cout;
using std::cin;
void print_range(int lo, int hi)
{
if (lo > hi)
print_range(hi, lo);
for (int i = lo; i != hi; ++i)
cout << i << " ";
}
int main()
{
int low = 0, high = 0;
... |
<commit_before>#include <iostream>
#include "include/Sales_item.h"
int main()
{
Sales_item currItem, valItem;
if (std::cin >> currItem)
{
int cnt = 1;
while (std::cin >> valItem)
{
if (valItem.isbn() == currItem.isbn())
++cnt;
else
{
std::cout << currItem << " occur... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/bug_report_util.h"
#include "app/l10n_util.h"
#include "base/file_version_info.h"
#include "base/utf_string_c... |
<commit_before>#include "selfdrive/ui/replay/camera.h"
#include <cassert>
#include <iostream>
const int YUV_BUF_COUNT = 50;
CameraServer::CameraServer() {
camera_thread_ = std::thread(&CameraServer::thread, this);
}
CameraServer::~CameraServer() {
queue_.push({});
camera_thread_.join();
vipc_server_.reset(n... |
<commit_before>#pragma once
#include "beast.hpp"
#include "server_core.hpp"
namespace msrv {
class BeastConnectionContext;
class BeastListener : public std::enable_shared_from_this<BeastListener>
{
public:
BeastListener(
asio::io_context* ioContext,
BeastConnectionContext* connectionContext,
... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: brokenpackageint.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-07 16:46:10 $
*
* The Contents of this file a... |
<commit_before>//
// Set.h
// Set
//
// Created by Antonio Seprano on 10/08/14.
// Copyright (c) 2014 Antonio Seprano. All rights reserved.
//
#include <vector>
#include <functional>
#include <utility>
#include <algorithm>
#ifndef _SET_HPP
#define _SET_HPP
template<class _T, class _Allocator = std::allocator<_T>... |
<commit_before>#include <cli/Session.h>
#include <cli/CommandLine.h>
#include <cli/PosixStreams.h>
#include <cli/Tokenizer.h>
#include <mtp/make_function.h>
#include <stdio.h>
namespace cli
{
Session::Session(const mtp::DevicePtr &device):
_device(device),
_session(_device->OpenSession(1)),
_gdi(_session->Ge... |
<commit_before>#include "cmainwindow.h"
#include "ui_cmainwindow.h"
#include <QCameraInfo>
#include <QImageReader>
#include <QPainter>
#include <QTime>
#include <QTimer>
inline bool analyzeFrame(const QImage& frame, unsigned int threshold)
{
if (frame.depth() != 32)
return true;
const int w = frame... |
<commit_before>/*
Copyright <SWGEmu>
See file COPYING for copying conditions.*/
#include "engine/engine.h"
#include "server/zone/managers/resource/ResourceManager.h"
#include "ResourceShiftTask.h"
#include "resourcespawner/SampleTask.h"
#include "resourcespawner/SampleResultsTask.h"
#include "server/zone/manage... |
<commit_before>#include "specter/ViewResources.hpp"
namespace specter
{
static logvisor::Module Log("specter::ViewResources");
void ViewResources::init(boo::IGraphicsDataFactory* factory, FontCache* fcache,
const IThemeData* theme, float pf)
{
if (!factory || !fcache || !theme)
Lo... |
<commit_before>#include "chimera/visitor.h"
#include <algorithm>
#include <boost/algorithm/string/join.hpp>
#include <iostream>
#include <llvm/Support/raw_ostream.h>
#include <string>
using namespace chimera;
using namespace clang;
using boost::algorithm::join;
// TODO: Support template functions.
// TODO: Detect mi... |
<commit_before>// -*- mode: c++; c-indent-level: 4; c++-member-init-indent: 8; comment-column: 35; -*-
/* 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.
*
* This program is distrib... |
<commit_before>/*************************************************************************
*
* $RCSfile: appinit.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: mav $ $Date: 2002-09-10 11:01:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>// @(#)root/reflex:$Id$
// Author: Stefan Roiser 2006
// Copyright CERN, CH-1211 Geneva 23, 2004-2010, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, provided that this copyright and
// permissions notice appear ... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/base/encoder_vp8.h"
#include "base/logging.h"
#include "media/base/callback.h"
#include "remoting/base/capture_data... |
<commit_before>// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/logging.h"
#include "media/base/callback.h"
#include "media/base/media.h"
#include "remoting/base/capture_data.h"
#inclu... |
<commit_before>/*
Copyright (c) 2013, Ford Motor Company
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 condit... |
<commit_before>/*==================================================
Flexbar - flexible barcode and adapter removal
Version 3.0.2
uses SeqAn library release 2.2.0
and TBB library 4.0 or later
Developer: Johannes Roehr
Former contributors: Matthias Dodt
... |
<commit_before>/**
* \file
*
* \brief Implements a way to build and deal with a backend
*
* \copyright BSD License (see doc/COPYING or http://www.libelektra.org)
*
*/
#include <merging/threewaymerge.hpp>
using namespace std;
namespace kdb
{
namespace tools
{
namespace merging
{
/**
* @brief Determines if ... |
<commit_before>#ifndef ITER_ACCUMULATE_H_
#define ITER_ACCUMULATE_H_
#include "iterbase.hpp"
#include <utility>
#include <iterator>
#include <initializer_list>
#include <functional>
#include <type_traits>
namespace iter {
//Forward declarations of Accumulator and accumulate
template <typename Container, typ... |
<commit_before>#include "writer/CoutWriter.hpp"
#include "fmi/ValueInfo.hpp"
namespace Writer
{
CoutWriter::CoutWriter(const Initialization::WriterPlan & in)
: IWriter(in), _lineEndingSign('\n'), _separator(',')
{
LOGGER_WRITE("Using CoutWriter", Util::LC_LOADER, Util::LL_INFO);
}
... |
<commit_before>/*
Copyright 2013-present Barefoot Networks, 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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... |
<commit_before>//===-------- IncludeInserter.cpp - clang-tidy ----------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/**
* @author Ryan Huang <[email protected]>
* @organization University of California, San Diego
*
* Sample test of Tachyon C/C++ APIs
*
*/
#include "Tachyon.h"
#include "Util.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
using namespace tachyon;
const char * prog... |
<commit_before>#include "Common.h"
#include "Install.h"
#include "PathUtil.h"
// Maybe: not ideal, decouple this via SetAppDirName() instead of APP_DIR_NAME
#include "ve8.h"
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb773569(v=vs.85).aspx
// TODO: on win8 use PathCchCanonicalize or PathCchCanon... |
<commit_before><commit_msg>remove unused const<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* $RCSfile: unomodel.hxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: vg $ $Date: 2001-09-13 08:24:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>// Scintilla source code edit control
/** @file LexBaan.cxx
** Lexer for Baan.
** Based heavily on LexCPP.cxx
**/
// Copyright 2001- by Vamsi Potluru <[email protected]> & Praveen Ambekar <[email protected]>
// The License.txt file describes the conditions under which this software may be distribut... |
<commit_before>// Scintilla source code edit control
/** @file LexYAML.cxx
** Lexer for YAML.
**/
// Copyright 2003- by Sean O'Dell <[email protected]>
// Release under the same license as Scintilla/SciTE.
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include <stdarg.h>
#include "Pla... |
<commit_before>// Scintilla source code edit control
/** @file LexYAML.cxx
** Lexer for YAML.
**/
// Copyright 2003- by Sean O'Dell <[email protected]>
// Release under the same license as Scintilla/SciTE.
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include "PropSet.h"
#include "Ac... |
<commit_before>/*
* yosys -- Yosys Open SYnthesis Suite
*
* Copyright (C) 2012 Clifford Wolf <[email protected]>
* Copyright (C) 2020 The Symbiflow Authors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the abo... |
<commit_before>#include <pybind11/pybind11.h>
namespace MetaOpt {
namespace Python {
namespace py = pybind11;
void init_swarm(py::module &m);
void init_functions(py::module &m);
PYBIND11_PLUGIN(pymetaopt) {
py::module m("pymetaopt", "Meta optimization library");
init_swarm(m);
init_functions(m);
return m.p... |
<commit_before>#include "askpassphrasedialog.h"
#include "ui_askpassphrasedialog.h"
#include "guiconstants.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
AskPassphraseDialog::AskPassphraseDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::AskPassp... |
<commit_before>
// Copyright (c) 2008-2009, Regents of the University of Colorado.
// This work was supported by NASA contracts NNJ05HE10G, NNC06CB40C, and
// NNC07CB47C.
#include "node.h"
Node::Node(QString name, QWidget* parent) :
QWidget(parent)
{
this->name = name;
QRegExp streamRX(".*\\..*\\..*\\... |
<commit_before>#include "recvfileprogressdialog.h"
#include <QStringList>
#include <QMessageBox>
#include <QFileDialog>
#include <QTimer>
#include "constants.h"
/**
* Returns a list of requested files
*/
QList<RecvFileInfo> RecvFileProgressDialog::parsePayloadFileList(QByteArray payload)
{
QList<RecvFileInfo> ... |
<commit_before>/* This file is part of the KDE project
Copyright (C) 2006-2007 Matthias Kretz <[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
versio... |
<commit_before>#pragma once
#include "SuperComponent.hpp"
#include <glm\glm.hpp>
namespace Component {
/// %Component handling a camera lens.
class Lens : public SuperComponent {
public:
/// Create new lens.
/**
* @param entity Pointer to which entity this componen... |
<commit_before>/*
* Copyright (c) 2011-2014, Intel Corporation
* 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, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.