text stringlengths 54 60.6k |
|---|
<commit_before>#include "XMLDataParser.h"
#include "utils/ConstValues.h"
#include "core/DragonBones.h"
#include "utils/DBDataUtil.h"
#include <stdexcept>
namespace dragonBones
{
TextureAtlasData* XMLDataParser::parseTextureAtlasData(const dragonBones::XMLElement *rootElement, Number scale)
{
Textur... |
<commit_before>// Copyright (c) 2018 Sony Corporation. All Rights Reserved.
//
// 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
// Unless re... |
<commit_before>/**
* @file
* @author Jason Lingle
* @date 2012.02.11
* @brief Implements the network testing functions
*/
#include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <SDL.h>
#include <asio.hpp>
#include "antenna.hxx"
#include "tuner.hxx"
#include "netwo... |
<commit_before>#include "nw_screen_api.h"
#include "base/lazy_instance.h"
#include "base/values.h"
#include "content/nw/src/api/nw_screen.h"
#include "extensions/browser/extensions_browser_client.h"
#include "ui/display/display_observer.h"
#include "ui/display/display.h"
#include "ui/display/screen.h"
// For desktop ... |
<commit_before>// Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "Differentiator.h"
#include <better/map.h>
#include <react/core/LayoutableShadowNode.h>
#include <react/debug/Systr... |
<commit_before>
/*============================================================================
^XNǗ(?)
==============================================================================*/
#include <cassert>
#include <algorithm>
#include <typeinfo>
#include "task.h"
namespace GTF
{
using namespac... |
<commit_before>/*
Jabra Browser Integration
https://github.com/gnaudio/jabra-browser-integration
MIT License
Copyright (c) 2017 GN Audio A/S (Jabra)
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 Softwa... |
<commit_before>#include <QUrl>
#include <QDateTime>
#include <QFileInfo>
#include <QSqlRecord>
#include <QSqlField>
#include "ilwis.h"
#include "kernel.h"
#include "issuelogger.h"
#include "connectorinterface.h"
#include "factory.h"
#include "abstractfactory.h"
#include "connectorfactory.h"
#include "ilwisobjectfactory... |
<commit_before>
#include "Session.hpp"
#include "../Mirror.hpp"
#include <onions-common/Common.hpp>
#include <onions-common/containers/Cache.hpp>
#include <onions-common/Log.hpp>
#include <onions-common/Utils.hpp>
#include <onions-common/tcp/MemAllocator.hpp>
#include <botan/sha2_64.h>
#include <botan/base64.h>
#includ... |
<commit_before>// Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>
#include "vio/timegrabber.h"
#include "vio/eigen_utils.h"
#include <sstream>
using namespace std;
namespace vio{
TimeGrabber::TimeGrabber():
last_line_index(-1), last_line_time(-1){
}
TimeGrabber::TimeGrabber(const string time_file_name, int headerLines):time_file(time_file_name),
... |
<commit_before>/*
Copyright (c) 2015, Andreas Fett. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
*/
#include <errno.h>
#include <cstdlib>
#include <cstring>
#include <ostream>
#include <stdexcept>
#include "auto-locale.h"
#include "to... |
<commit_before>#include "constant_buffer.h"
#include <malloc.h>
#include <memory>
#include <d3d11.h>
#include <wrl.h>
#include <dxfw/dxfw.h>
#include "core/resource_array.h"
#include "core/handle_cache.h"
namespace Rendering {
namespace ConstantBuffer {
struct ConstantBufferGpuBufferTag {};
using GpuBufferHandle... |
<commit_before>/**
* A Node.js (and io.js and NW.js) binding for Csound. This interface should
* mirror the Csound JavaScript interface for the Chromium Embedded Framework
* and Android. In JavaScript environments, Csound has already been
* instantiated and initialized, and is named "csound" in the default
* JavaS... |
<commit_before>/*
* Copyright (c) 2013 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>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: aqua_clipboard.hxx,v $
* $Revisi... |
<commit_before>#include <config.h>
#include <assert.h>
#include <boost/assert.hpp>
#include <dune/common/exceptions.hh>
#include <dune/common/timer.hh>
#include <dune/multiscale/common/righthandside_assembler.hh>
#include <dune/multiscale/msfem/elliptic_msfem_matrix_assembler.hh>
#include <dune/multiscale/msfem/msfem_g... |
<commit_before>#include "msfem_solver.hh"
#include <unordered_set>
#include <dune/multiscale/common/righthandside_assembler.hh>
#include <dune/multiscale/msfem/localproblems/subgrid-list.hh>
#include <dune/multiscale/msfem/elliptic_msfem_matrix_assembler.hh>
#include <dune/multiscale/tools/misc/linear-lagrange-interp... |
<commit_before>#include "audio.h"
#include <core/path.h>
#include <text/text.h>
#include <dirent.h>
#include <stdio.h>
#include <string.h>
#include <taglib/mpegfile.h>
#include <taglib/taglib.h>
#include <taglib/vorbisfile.h>
#include <taglib/mp4file.h>
#include <taglib/opusfile.h>
#include <unistd.h>
std::string Aud... |
<commit_before>// Include standard headers
#include <stdio.h>
#include <stdlib.h>
#include "cleanup.h"
// Include GLEW
#ifdef __APPLE_CC__
#include <OpenGL/gl3.h>
#define GLFW_INCLUDE_GLCOREARB
#else
#include "GL/glew.h"
#endif
#include "SDL.h"
#undef main
// Include GLM
#include "glm/glm.hpp"
#include <iostream>
... |
<commit_before>// Copyright (C) 2017 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/ForwardFramePipeline.hpp>
#include <Nazara/Graphics/AbstractViewer.hpp>
#include <Nazara/Graphics/Fr... |
<commit_before>#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const int maxn = 110;
const int MOD = (long long) 1e9 + 7L;
typedef long long int64;
int64 n, m;
int64 dp[maxn][maxn][maxn];
inline
int64 gcd(int64 a, int64 b) {
if (a < b) a ^= b ^= a ^= b;
return b == 0 ? a : gcd(b, a%b);
}
inline
int64... |
<commit_before>#include <ir/index_manager/index/RTPostingWriter.h>
#include <ir/index_manager/index/OutputDescriptor.h>
#include <ir/index_manager/index/InputDescriptor.h>
#include <ir/index_manager/index/SkipListWriter.h>
#include <ir/index_manager/index/SkipListReader.h>
#include <ir/index_manager/store/IndexOut... |
<commit_before>#include <kernel.hpp>
#include <os.hpp>
#include <kernel/memory.hpp>
#include <kprint>
#define HIGHMEM_LOCATION (1ull << 45)
#define LIVEUPDATE_AREA_SIZE 25
static_assert(LIVEUPDATE_AREA_SIZE > 0 && LIVEUPDATE_AREA_SIZE < 50,
"LIVEUPDATE_AREA_SIZE must be a value between 1 and 50");
stat... |
<commit_before>#include <boost/program_options.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/exceptions.hpp>
#include <boost/utility/typed_in_place_factory.hpp>
#include <boost/format.hpp>
#include <fstream>
#include <stdexcept>
#include <map... |
<commit_before>/*
* this file is part of the oxygen gtk engine
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo@oxygen-icons.org>
* Copyright (c) 2010 Ruslan Kabatsayev <b7.10110111@gmail.com>
*
* Hook-setup code provided by Ruslan
*
* This library is free software; you can redistribute it and/or
* modify it under ... |
<commit_before>#pragma once
#include "pre_header.hpp"
namespace tdc {
namespace lz78u {
template<typename string_coder_t>
class BufferingStrategy: public Algorithm {
public:
using Algorithm::Algorithm;
inline static Meta meta() {
Meta m("lz78u_strategy", "buffering");
m.option("string_coder"... |
<commit_before>/*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
*******************************... |
<commit_before>/*************************************************************************
*
* $RCSfile: javatype.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2004-03-30 16:53:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licen... |
<commit_before>#include <reflectionzeug/AbstractProperty.h>
#include <utility>
#include <reflectionzeug/AbstractValueProperty.h>
#include <reflectionzeug/AbstractPropertyCollection.h>
#include <reflectionzeug/PropertyGroup.h>
#include <reflectionzeug/util.h>
namespace reflectionzeug
{
const std::string ... |
<commit_before>#include "vast/program.h"
#include <cstdlib>
#include <iostream>
#include <boost/exception/diagnostic_information.hpp>
#include "vast/exception.h"
#include "vast/fs/path.h"
#include "vast/fs/operations.h"
#include "vast/meta/taxonomy.h"
#include "vast/util/logger.h"
#include "vast/util/make_unique.h"
#... |
<commit_before>#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "pybind11_glm.hpp"
#include <VFRendering/View.hxx>
#include <VFRendering/Geometry.hxx>
#include <VFRendering/RendererBase.hxx>
#include <VFRendering/ArrowRenderer.hxx>
#include <VFRendering/BoundingBoxRenderer.hxx>
#include <VFRendering/C... |
<commit_before>/*
* $Id$
*
* Copyright(C) 1998-2003 Satoshi Nakamura
* All rights reserved.
*
*/
#include <qmapplication.h>
#include <qmmessage.h>
#include <qsconv.h>
#include <qsnew.h>
#include <qsosutil.h>
#include <qsstream.h>
#include "externaleditor.h"
#pragma warning(disable:4786)
u... |
<commit_before>#include "sqlite_blocking.h"
#include <sqlite3.h>
#include <unistd.h>
#include "qdebug.h"
#include "qthread.h"
QString debugString()
{
return QString( "[QSQLITE3: " + QString::number( (quint64)( QThread::currentThreadId() ) ) + "] " );
}
int sqlite3_blocking_step( sqlite3_stmt *pStmt )
{
// NOTE:... |
<commit_before>#include <iostream>
#include <cmath>
#include <string>
#include <sstream>
// GSL includes
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>
// Boost includes
#include <boost/math/constants/constants.hpp>
#include <mpi.h>
// LibMesh includes
#include <libmesh/libmesh.h>
#include <libmesh/mesh.h>
#... |
<commit_before>//===- Option.cpp - Abstract Driver Options -------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... |
<commit_before>/* Copyright (c) 2013 Quanta Research Cambridge, 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 us... |
<commit_before>
/** Copyright (C) 2016, 2017 European Spallation Source ERIC */
#include <cinttypes>
#include <common/Detector.h>
#include <common/EFUArgs.h>
#include <common/FBSerializer.h>
#include <common/Producer.h>
#include <common/RingBuffer.h>
#include <common/Trace.h>
#include <cstring>
#include <fcntl.h>
#inc... |
<commit_before>//===--- ParseAST.cpp - Provide the clang::ParseAST method ----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2011. All rights reserved
*/
#include "../../StroikaPreComp.h"
#include "../../Execution/OperationNotSupportedException.h"
#include "BinaryInputStreamFromIStreamAdapter.h"
using namespace Stroika::Foundation;
using namespace Stroika::Foundation::Str... |
<commit_before>#include "config.h"
#include "cpptoml/include/cpptoml.h"
#include "xenia/base/cvar.h"
#include "xenia/base/filesystem.h"
#include "xenia/base/logging.h"
#include "xenia/base/string.h"
CmdVar(config, "", "Specifies the target config to load.");
namespace config {
std::wstring config_name = L"xenia.config... |
<commit_before>//===- Main.cpp - Top-Level TableGen implementation -----------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>//===-- Module.cpp - Implement the Module class ---------------------------===//
//
// 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>/***************************************************************************
begin : Wed Jun 16 2004
copyright : (C) 2004 by Richard Dale
email : Richard_Dale@tipitina.demon.co.uk
***********************************************************************... |
<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
// "Lic... |
<commit_before>//
// yas_delaying_caller.cpp
//
#include "yas_delaying_caller.h"
using namespace yas;
delaying_caller::delaying_caller() : _handler(std::nullopt), _push_count(0) {
}
void delaying_caller::request(handler_f handler) {
if (!handler) {
throw "argument is null.";
}
if (this->_push_... |
<commit_before>/*************************************************************************
*
* $RCSfile: stdidlclass.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: dbo $ $Date: 2002-06-14 13:20:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following l... |
<commit_before>
#include "PointSetTopology.h"
#include "PointSetTopology.inl"
#include "Sofa/Components/Common/Vec3Types.h"
#include "Sofa/Components/Common/ObjectFactory.h"
namespace Sofa
{
namespace Components
{
using namespace Common;
SOFA_DECL_CLASS(PointSetTopology)
template class PointSetTopology<Vec3dType... |
<commit_before>/* Blink Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <st... |
<commit_before>#include <iostream>
#include <iomanip>
#include <sstream>
#include <ios>
#include <rang.hpp>
#include "Tools/Exception/exception.hpp"
#include "Tools/Noise/noise_utils.h"
#include "Terminal_BFER.hpp"
using namespace aff3ct;
using namespace aff3ct::tools;
template <typename B, typename R>
Terminal_BFE... |
<commit_before>#pragma once
#include <string>
#include <unordered_map>
#include <Utility/Timer/Include/Measure/MeasureInfo.hpp>
namespace Utility
{
namespace Timer
{
class MeasureTimer
{
public:
/**
Gets an instance of this object, if no instance exists,... |
<commit_before>/* Copyright (c) 2015 Diego Ongaro
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTH... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2012-2013 Esteban Tovagliari, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any... |
<commit_before>
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2011 Francois Beaune
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
... |
<commit_before>#include "chrono_parallel/solver/ChSolverParallel.h"
#include <blaze/math/SparseRow.h>
#include <blaze/math/CompressedVector.h>
using namespace chrono;
uint ChSolverParallelGS::Solve(ChShurProduct& ShurProduct,
ChProjectConstraints& Project,
const uint max_iter,
const uint size,
const DynamicVector<... |
<commit_before>#include "WMSTimeDimension.h"
#include <boost/algorithm/string/join.hpp>
#include <macgyver/StringConversion.h>
#include <macgyver/TimeParser.h>
namespace SmartMet
{
namespace Plugin
{
namespace WMS
{
namespace
{
boost::posix_time::ptime parse_time(const std::string& time_string)
{
if (time_string == ... |
<commit_before>#include"myWindow.h"
#include <glm/gtc/matrix_transform.hpp>
#include<iostream>
#define MOUSE_MOVE_HORIZON_ANGLE 90.0f
#define MOUSE_MOVE_VERTICAL_ANGLE 60.0f
#define KEY_MOVE_PACE 0.1f
#define MOUSEWHEEL_MOVE_PACE 0.1f
LRESULT CALLBACK defaultCallback(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) ... |
<commit_before>/// HEADER
#include "rqt_evaluation.h"
/// PROJECT
#include <csapex/manager/connection_type_manager.h>
#include <csapex/view/designer.h>
#include <csapex/model/graph.h>
#include <csapex/core/graphio.h>
#include <csapex/view/designer_view.h>
#include <csapex/view/designer.h>
#include <csapex/core/setting... |
<commit_before>// ----------------------------------------------------------------------------
// Copyright (C) 2002-2005 Marcin Kalicinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For mo... |
<commit_before>/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Guido Tack <tack@gecode.org>
*
* Copyright:
* Guido Tack, 2004
*
* Last modified:
* $Date$ by $Author$
* $Revision$
*
* This file is part of Gecode, the generic constraint
* development... |
<commit_before>/* bzflag
* Copyright (c) 1993 - 2003 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
... |
<commit_before>/******************************************************************************\
This file is part of the C! library. A.K.A the cbang library.
Copyright (c) 2003-2019, Cauldron Development LLC
Copyright (c) 2003-2017, Stanford University
... |
<commit_before>/// @file mobile.cpp
/// @brief Implements mobile methods.
/// @author Enrico Fraccaroli
/// @date Aug 23 2014
/// @copyright
/// Copyright (c) 2016 Enrico Fraccaroli <enrico.fraccaroli@gmail.com>
/// Permission is hereby granted, free of charge, to any person obtaining a
/// copy of this software a... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: main.cxx,v $
*
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:14:46 $
*
* The Contents of this file are made ava... |
<commit_before>/* <x0/mod_sendfile.cpp>
*
* This file is part of the x0 web server project and is released under LGPL-3.
*
* (c) 2009 Chrisitan Parpart <trapni@gentoo.org>
*/
#include <x0/server.hpp>
#include <x0/request.hpp>
#include <x0/response.hpp>
#include <x0/range_def.hpp>
#include <x0/strutils.hpp>
#inclu... |
<commit_before>#include "consts.h"
#include "circuits/element.h"
#include "matrix/matrix.h"
#include <sstream>
#include <cstdlib>
#include <set>
#include <math.h>
//TODO: not to use cout inside Element class
#include <iostream>
//
Element::Element()
{
}
Element::Element(string netlistLine,
int &numN... |
<commit_before>#include "AbstractRenderer.h"
#include "util.h"
AbstractRenderer::AbstractRenderer(ty::WorldContext *_ctx, ty::User* _user)
: ctx(_ctx), user(_user)
{
XnMapOutputMode outputMode;
ctx->imageGenerator()->GetMapOutputMode(outputMode);
camera = ::cvCreateImage(cvSize(outputMode.nXRes, output... |
<commit_before>#pragma once
#include <unordered_map>
#include <mutex>
#include "base/common_util.hpp"
#include "base/table/threadsafe_unordered_map.hpp"
#include "client_base.hpp"
using namespace czrpc::base::table;
namespace czrpc
{
namespace client
{
class async_rpc_client : public client_base
{
public:
async_... |
<commit_before>/* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2010 NorthScale, 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... |
<commit_before>#include <string>
#include <iostream>
#include <iomanip>
#include <sstream>
#include <cassert>
#include <msgpack_fwd.hpp>
// declarations
class my_class;
namespace msgpack {
MSGPACK_API_VERSION_NAMESPACE(MSGPACK_DEFAULT_API_NS) {
object const& operator>> (msgpack::object const& o, my_class& v);
te... |
<commit_before>/*
* DesktopPosixApplicationLaunch.cpp
*
* Copyright (C) 2009-18 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GN... |
<commit_before>/*
* SessionCompilePdf.cpp
*
* Copyright (C) 2009-11 by RStudio, Inc.
*
* This program is licensed to you under the terms of version 3 of the
* GNU Affero General Public License. This program is distributed WITHOUT
* ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
* MERCHANT... |
<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 "content/gpu/gpu_info_collector.h"
#include <dlfcn.h>
#include <vector>
#include "app/gfx/gl/gl_bindings.h"
#include "app/gf... |
<commit_before>////////////////////////////////////////////////////////////////////////////////
// taskwarrior - a command line task list manager.
//
// Copyright 2006-2012, Paul Beckingham, Federico Hernandez.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and as... |
<commit_before>// Copyright 2008 the V8 project authors. 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... |
<commit_before>// @(#)root/gpad:$Id$
// Author: Rene Brun 08/01/2000
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#include "vtkActor.h"
#include "vtkPolyData.h"
#include "vtkUnstructuredGrid.h"
#include "vtkRenderWindow.h"
#include "vtkRenderer.h"
#include "vtkPointPicker.h"
#include "vtkRenderWindowInteractor.h"
#include "vtkPolyDataMapper.h"
#include "vtkSphereSource.h"
#include "vtkPolyDataReader.h"
#include "vtk... |
<commit_before>/*
* strings.cpp
*
* Created on: 20.11.2014 г.
* Author: trifon
*/
#include <iostream>
#include <cstring>
using namespace std;
const int MAX = 100;
void palindrome() {
char s[MAX];
cin.getline(s, MAX);
int n = strlen(s);
int i = 0;
while (i < n / 2 && s[i] == s[n - i - 1])
i++;
//... |
<commit_before>/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: SlsFontProvider.cxx,v $
* $Revis... |
<commit_before>/* BEGIN_COMMON_COPYRIGHT_HEADER
* (c)LGPL2+
*
* LXDE-Qt - a lightweight, Qt based, desktop toolset
*
* Authors:
* Christian Surlykke <christian@surlykke.dk>
*
* This program or library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser General Publi... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// 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 "primitives/block.h"
#include "hash.h"
#include "tinyfor... |
<commit_before>/*************************************************************************
* * Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
* * *
* * Author: The ALICE Off-line Project. ... |
<commit_before>#include "stdafx.h"
#include "TeardownNotifierTest.h"
#include "Autowired.h"
class SimpleMember:
public ContextMember
{
};
TEST_F(TeardownNotifierTest, VerifySingleNotification) {
bool hit;
{
AutoCreateContext ctxt;
CurrentContextPusher pshr(ctxt);
AutoRequired<SimpleMember> member;
... |
<commit_before>/* Message object used by text channel client-side proxy
*
* Copyright (C) 2009 Collabora Ltd. <http://www.collabora.co.uk/>
* Copyright (C) 2009 Nokia Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QLabel>
#include <QPushButton>
#include <QComboBox>
#include <QCloseEvent>
#include <QTimer>
#include <QSignalMapper>
#include <QGridLayout>
#include <SDL_haptic.h>
const int kHapticLength = 500;
const int kSafeTimeout = 50;
static const ch... |
<commit_before>/* Copyright 2013 - 2016 Yurii Litvinov, Anastasiia Kornilova and CyberTech Labs Ltd.
*
* 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/licens... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
qDebug() << "hello";
}
MainWindow::~MainWindow()
{
delete ui;
}
<commit_msg>something<commit_after>#includ... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "defaults.h"
#include "caller.h"
#include "informerdialog.h"
#include "websocketmanager.h"
#include <QSystemTrayIcon>
#include <QMenu>
#include <QMessageBox>
#include <QDesktopWidget>
#include <QSettings>
#include <QDesktopServi... |
<commit_before>#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <random>
#include <iostream>
namespace virtualBartender
{
MainWindow::MainWindow( QWidget *parent )
: QWidget{ parent }
, ui_{ new Ui::MainWindow{} }
{
if (ui_) {
ui_->setupUi( this );
}
ui_->order_b->setEnabled( true ... |
<commit_before>// DT PS Tree
//
// Douglas Thrift
//
// $Id$
#include <climits>
#include <cstdio>
#include <iostream>
#include <map>
#include <set>
#include <sstream>
#include <string>
#include <err.h>
#include <fcntl.h>
#include <kvm.h>
#include <libgen.h>
#include <paths.h>
#include <popt.h>
#include <pwd.h>
#inclu... |
<commit_before>/* -*- c-basic-offset: 2 -*- */
/* Copyright(C) 2011 Brazil
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License version 2.1 as published by the Free Software Foundation.
This library is distributed in the hope that it ... |
<commit_before>#pragma once
#include <c/EXIT_FAILURE.h>
#include <c/_Exit.h>
#if defined(__unix__)
# include <c/strlen.h>
# include <os/write.hxx>
# define _write(string) ::os::write(2, string, strlen(string))
#else
# error
#endif
__attribute__((__noreturn__, __nothrow__))
static inline
void
__debug_error(const ... |
<commit_before>/*
* Copyright (C) 2006-2016 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia 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 (FSF),... |
<commit_before>/*
** Copyright 2009 MERETHIS
** This file is part of CentreonBroker.
**
** CentreonBroker 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 opt... |
<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.
// Provides wifi scan API binding for suitable for typical linux distributions.
// Currently, only the NetworkManager API is used, acce... |
<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_path.h"
#include "chrome/browser/browser_list.h"
#include "chrome/browser/defaults.h"
#include "chrome/browser/prof... |
<commit_before>#ifndef __ZOMBYE_RENDERING_SYSTEM_HPP__
#define __ZOMBYE_RENDERING_SYSTEM_HPP__
#include <memory>
#include <unordered_map>
#include <vector>
#include <GL/glew.h>
#include <SDL2/SDL.h>
#include <zombye/rendering/buffer.hpp>
#include <zombye/rendering/mesh_manager.hpp>
#include <zombye/rendering/shader.... |
<commit_before>/*
** Author(s):
** - Pierre Roullon <proullon@aldebaran-robotics.com>
**
** Copyright (C) 2012 Aldebaran Robotics
*/
#include <qimessaging/c/api_c.h>
#include <qimessaging/c/qi_c.h>
#include <qi/os.hpp>
#include <gtest/gtest.h>
#include <qimessaging/service_directory.hpp>
#include <string>
#include <i... |
<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/automation/ui_controls.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "base/gfx/rect.h"
#inclu... |
<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/automation/ui_controls.h"
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "base/gfx/rect.h"
#inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.