text stringlengths 54 60.6k |
|---|
<commit_before>/**************************************************************************
**
** This file is part of Qt Creator
**
** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
**
** Contact: Nokia Corporation (info@qt.nokia.com)
**
** No Commercial Usage
**
** This file contains pre-release cod... |
<commit_before>/**
* The Seeks proxy and plugin framework are part of the SEEKS project.
* Copyright (C) 2009, 2010
* sileht, theli48@gmail.com
* Emmanuel Benazera, juban@free.fr
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* ... |
<commit_before><commit_msg>Revert of Switch V8HiddenValue from hidden values to privates (patchset #7 id:120001 of https://codereview.chromium.org/1416053012/ )<commit_after><|endoftext|> |
<commit_before>/****************************************************************************
*
* (c) 2009-2016 QGROUNDCONTROL PROJECT <http://www.qgroundcontrol.org>
*
* QGroundControl is licensed according to the terms in the file
* COPYING.md in the root of the source code directory.
*
**********************... |
<commit_before>#ifndef MANIFOLDS_FUNCTIONS_DERIVATIVES_HH
#define MANIFOLDS_FUNCTIONS_DERIVATIVES_HH
#include "addition.hh"
#include "multiplication.hh"
#include "variables.hh"
#include "division.hh"
#include "polynomial.hh"
#include "trig.hh"
#include "operators.hh"
#include "matrix.hh"
namespace manifolds {
temp... |
<commit_before>/*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.... |
<commit_before>#include <babylon/states/depth_culling_state.h>
#include <babylon/babylon_stl_util.h>
#include <babylon/interfaces/igl_rendering_context.h>
namespace BABYLON {
DepthCullingState::DepthCullingState()
: isDirty{this, &DepthCullingState::get_isDirty}
, zOffset{this, &DepthCullingState::get_zOffse... |
<commit_before>// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/renderer_preferences.h"
namespace content {
RendererPreferences::RendererPreferences()
: can_acce... |
<commit_before>/***************************************************************************
* Copyright (c) 2011 Werner Mayer <wmayer@users.sourceforge.net> *
* *
* This file is part of the FreeCAD CAx development system. ... |
<commit_before><commit_msg>Sketcher: Fix lock constraint reference mode<commit_after><|endoftext|> |
<commit_before>#include "reFuncDefs.hpp"
#include "microservice.hpp"
#include "objInfo.hpp"
#include <glob.h>
#include <boost/unordered_map.hpp>
#include <boost/filesystem.hpp>
#include <boost/system/error_code.hpp>
namespace bfs = boost::filesystem;
namespace bs = boost::system;
namespace err = boost::system::errc;
... |
<commit_before>#include <vtkMultiBlockDataSet.h>
#include <vtkSphereSource.h>
#include <vtkNew.h>
#include <vtkCompositePolyDataMapper2.h>
#include <vtkCompositeDataDisplayAttributes.h>
#include <vtkActor.h>
#include <vtkRenderer.h>
#include <vtkRenderWindow.h>
#include <vtkRenderWindowInteractor.h>
int main( int argc... |
<commit_before>
#include "common_headers.h"
#include "circa.h"
#include "common.h"
namespace circa {
void test_simple()
{
Branch* branch = new Branch();
Term* print_term = quick_exec_function(branch,
"subroutine-create('print-term,list(string),void)");
Term* input_names = constant_list(branch, ... |
<commit_before>/*
* examples/omp_smithvalence.C
* Copyright (c) Linbox
* ========LICENCE========
* This file is part of the library LinBox.
*
* LinBox 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 Founda... |
<commit_before>/** \file add_subsystem_tags.cc
* \brief Add additional tags for interfaces to identitify subset views of
IxTheo like RelBib and Bibstudies
* \author Johannes Riedl
*/
/*
Copyright (C) 2018, Library of the University of Tübingen
This program is free software: you can red... |
<commit_before>#include <cpuid.h>
#include "cpuid.h"
namespace z
{
namespace system
{
void cpuid::det_vendor()
{
uint32_t eax, ebx, ecx, edx;
good = __get_cpuid(0, &eax, &ebx, &ecx, &edx);
/*asm volatile
(
"cpuid" :
"=a" (regs[0]), "=b" (regs[1]), "=c" (regs[2]), "=d" (regs[3]) :
"a" (cm... |
<commit_before>/*-------------------------------------------------------------------------
*
* database.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /n-store/src/storage/table.cpp
*
*-------------------------------------------------------------------------
*/
#include "backend/storage/database.h"
#i... |
<commit_before>#include "caffe2/core/common_cudnn.h"
#include "caffe2/core/context_gpu.h"
#include "caffe2/core/operator.h"
#include "caffe2/core/types.h"
namespace caffe2 {
namespace {
// Round up N to nearest multiple of A.
size_t roundUp(size_t n, size_t a) {
return n + ((-n % a) + a) % a;
}
constexpr size_t a... |
<commit_before>#include <cgreen/internal/cpp_assertions.h>
#include <cgreen/constraint.h>
#include <stdint.h>
#include <string.h>
#include <string>
namespace cgreen {
void assert_that_(const char *file, int line, const char *actual_string,
const std::string& actual, Constraint* constraint) {
// if they are using ... |
<commit_before>/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 1999 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistri... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<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>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General... |
<commit_before>#pragma once
#include "type.hpp"
#include "error.hpp"
#define BOOST_PP_VARIADICS 1
#include <boost/preprocessor.hpp>
namespace spn {
template <class... Ts>
struct ValueHolder {
template <class T2>
void ref(T2*) {}
template <class T2>
void cref(T2*) const {}
};
template <class T, class... Ts>... |
<commit_before>/****************************************************************************
*
* Copyright (C) 2021 PX4 Development Team. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
<commit_before>// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#include "caf/config.hpp"
// exclude this suite; seems to be too much to s... |
<commit_before>/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge,... |
<commit_before>/*
* Copyright (c) 2007-2010 Digital Bazaar, Inc. All rights reserved.
*/
#include "monarch/config/ConfigManager.h"
#include "monarch/data/json/JsonWriter.h"
#include "monarch/io/File.h"
#include "monarch/io/FileOutputStream.h"
#include "monarch/rt/Exception.h"
#include "monarch/test/Test.h"
#include "... |
<commit_before>/*
* Copyright (C) 2008-2014 The QXmpp developers
*
* Author:
* Jeremy Lainé
*
* Source:
* https://github.com/qxmpp-project/qxmpp
*
* This file is a part of QXmpp library.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General... |
<commit_before>/*
* diagonalize.cc
*/
#include "llvm/Pass.h"
#include "llvm/Function.h"
#include "llvm/Constants.h"
#include "llvm/Instructions.h"
#include "llvm/Analysis/LoopPass.h"
#include "llvm/ADT/ValueMap.h"
#include "llvm/Support/PatternMatch.h"
#include "llvm/Support/raw_ostream.h"
#include <Eigen/Core>
#in... |
<commit_before>// Copyright 2014 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 "ash/system/chromeos/virtual_keyboard/virtual_keyboard_tray.h"
#include "ash/shelf/shelf_constants.h"
#include "ash/shell.h"
#inc... |
<commit_before># ifndef CPPAD_CORE_ABS_NORMAL_HPP
# define CPPAD_CORE_ABS_NORMAL_HPP
/* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-17 Bradley M. Bell
CppAD is distributed under multiple licenses. This distribution is under
the t... |
<commit_before>/**
* @file ExecuteProcess.cpp
* ExecuteProcess class implementation
*
* 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 licens... |
<commit_before>/**********************************************************************
*
* GEOS - Geometry Engine Open Source
* http://geos.osgeo.org
*
* Copyright (C) 2011 Sandro Santilli <strk@kbt.io>
* Copyright (C) 2005 Refractions Research Inc.
* Copyright (C) 2001-2002 Vivid Solutions Inc.
*
* This is fr... |
<commit_before>#include <fstream>
#include <iostream>
#include <stdexcept>
#include <vector>
#include "napiconfig.h"
#include "binary/BinaryRetriever.hpp"
#include "string_util.h"
using std::invalid_argument;
using std::runtime_error;
using std::string;
using std::vector;
using std::cout;
using std::endl;
typedef uin... |
<commit_before>/* CUDA memory management functions
*
* Copyright (C) 2008 Peter Colberg
*
* 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 o... |
<commit_before>/* bzfls
* Copyright (c) 1993 - 2004 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>/*
Copyright (c) 2012, 2018 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:
* Redistributions of source code must retain the above copyright notice, this list of con... |
<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
* "... |
<commit_before>// Copyright (c) 2020 The Orbit 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 "CrashManager.h"
#include "OrbitBase/Logging.h"
#include "services.grpc.pb.h"
namespace {
class CrashManagerImpl final : publi... |
<commit_before>/*******************************************************************************
* pxgsettings - A helper binary to query gsettings
* Copyright (C) 2006 Nathaniel McCallum <nathaniel@natemccallum.com>
* Copyright (C) 2011 Dominique Leuenberger <dominique@leuenberger.net>
*
* This library is free sof... |
<commit_before>/* CUDA global device memory vector
*
* Copyright (C) 2007 Peter Colberg
*
* 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 o... |
<commit_before>//Sample provided by Thiago Massari Guedes
//August 2015
//http://www.simplycpp.com/
#include "example_main.h"
#include <iostream>
#include <map>
using namespace std;
struct Cash {
using Date = unsigned int;
Date date; //yyyymmdd
double value;
};
template<typename T>
struct CashRange {
using con... |
<commit_before>//
// MCIMAPCapabilityOperation.cpp
// mailcore2
//
// Created by DINH Viêt Hoà on 3/4/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#include "MCIMAPCapabilityOperation.h"
#include "MCIMAPSession.h"
#include "MCIMAPAsyncConnection.h"
using namespace mailcore;
IMAPCapabilityOperation... |
<commit_before>/**********************************************************************
* Copyright (c) 2014 Jason W. DeGraw
* All rights reserved.
*
* 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 ... |
<commit_before>/*
* Delegate helper pooling.
*
* author: Max Kellermann <mk@cm4all.com>
*/
#include "Stock.hxx"
#include "stock/MapStock.hxx"
#include "stock/Class.hxx"
#include "stock/Item.hxx"
#include "async.hxx"
#include "failure.hxx"
#include "system/fd_util.h"
#include "system/sigutil.h"
#include "event/Even... |
<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: canvasfont.hxx,v $
* $Revision: ... |
<commit_before>/*$Id$
*
* This source file is a part of the Fresco Project.
* Copyright (C) 1999 Stefan Seefeld <stefan@berlin-consortium.org>
* Copyright (C) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* Copyright (C) 2001 Bastian Blank <bastianb@gmx.de>
* Copyright (C) 2003 Tobias Hunger <tobias@fresco.org... |
<commit_before>/*
Copyright (c) 2009 Yahoo! Inc. All rights reserved. The copyrights
embodied in the content of this file are licensed under the BSD
(revised) open source license
*/
#include <stdio.h>
#include <float.h>
#include "cache.h"
#include "io.h"
#include "parse_regressor.h"
#include "parser.h"
#include "pa... |
<commit_before>#include <BinaryTree.hpp>
#include <catch.hpp>
SCENARIO ("init", "[init]")
{
BinaryTree<int> obj;
REQUIRE(obj.root_() == nullptr);
}
SCENARIO ("output to cout", "<<")
{
BinaryTree<int> tree;
tree.insert_node(3);
REQUIRE( std::cout << tree );
}
SCENARIO("find_node", "[find_node]")
{
Bin... |
<commit_before><commit_msg>Fix IBL in hellopbr.<commit_after><|endoftext|> |
<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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
<commit_before>#include <stack.hpp>
#include <catch.hpp>
#include <iostream>
using namespace std;
SCENARIO("count", "[count]"){
stack<int> s;
s.push(1);
REQUIRE(s.count()==1);
}
SCENARIO("push", "[push]"){
stack<int> s;
s.push(1);
REQUIRE(s.count()==1);
}
SCENARIO("pop", "[pop]"){
stack<int> s;
s.pus... |
<commit_before>#include "Fracao.h"
#include <iostream>
void operacoesAritmeticas( void );
int main( int argc, char const *argv[] ) {
operacoesAritmeticas();
return 0;
}
void operacoesAritmeticas( void ) {
Fracao a( 1, 2 );
Fracao b( 1, 3 );
Fracao c( 5, 2 );
int d = 10;
int e = 0;
s... |
<commit_before>#include "catch.hpp"
#include <iostream>
#include "Database_Creator.hpp"
#include "Database_Sorter.hpp"
person readPerson(std::string file_name, size_t index) {
person result;
std::ifstream file(file_name);
for (size_t i = 0; i < index + 1; i++) {
file >> result;
}
file.close();
return result;
... |
<commit_before>#include "catch.hpp"
#include <iostream>
#include "Database_Creator.hpp"
#include "Database_Sorter.hpp"
person readPerson(std::string file_name, size_t index) {
person result;
std::ifstream file(file_name);
for (size_t i = 0; i < index + 1; i++) {
file >> result;
}
file.close();
return result;
}... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>#define CATCH_CONFIG_RUNNER
#include <catch.hpp>
// #include <glm/glm.hpp>
// #include <glm/gtx/intersect.hpp>
#include "sphere.hpp"
#include "box.hpp"
#include "material.hpp"
#include "light.hpp"
#include "camera.hpp"
#include "sdfloader.hpp"
#include "renderer.hpp"
TEST_CASE("test material", "[test ma... |
<commit_before>#include "Fury/BufferManager.h"
namespace fury
{
void BufferManager::Remove(size_t id)
{
auto it = m_Buffers.find(id);
if (it != m_Buffers.end())
m_Buffers.erase(it);
}
void BufferManager::Release(size_t id)
{
auto it = m_Buffers.find(id);
if (it != m_Buffers.end())
{
... |
<commit_before>/* Copyright (c) 2018 PaddlePaddle Authors. 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.0
Unless required by ap... |
<commit_before>// Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#include "../core/Setup.h"
#include <algorithm>
#include <fstream>
#if defined(_WIN32)
# pragma push_macro("WIN32_LEAN_AND_MEAN")
# pragma push_macro("NOMINMAX")
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifn... |
<commit_before>#include "chainerx/float16.h"
#include <algorithm>
#include <cmath>
#include <limits>
#include <vector>
#include <gtest/gtest.h>
namespace chainerx {
namespace {
bool IsNan(Float16 x) {
uint16_t exp = x.data() & 0x7c00;
uint16_t frac = x.data() & 0x03ff;
return exp == 0x7c00 && frac != 0x... |
<commit_before><commit_msg>Add trace events for mouse capture logic in WebViewImpl<commit_after><|endoftext|> |
<commit_before>//
// Created by Vitali Kurlovich on 4/4/16.
//
#ifndef RMVECTORMATH_TQUATERNION_DEF_HPP
#define RMVECTORMATH_TQUATERNION_DEF_HPP
#include "../../common/common.hpp"
#include "vector/TVector3.hpp"
#include "vector/TVector4.hpp"
namespace rmmath {
namespace complex {
template<typename T... |
<commit_before>#ifndef RADIUM_TOPOLOGICALMESH_TESTS_HPP_
#define RADIUM_TOPOLOGICALMESH_TESTS_HPP_
#include <Core/Mesh/MeshPrimitives.hpp>
#include <Core/Mesh/TopologicalTriMesh/TopologicalMesh.hpp>
#include <Core/Mesh/TriangleMesh.hpp>
#include <Tests/Tests.hpp>
#include <OpenMesh/Tools/Subdivider/Uniform/CatmullCla... |
<commit_before>/* GG is a GUI for SDL and OpenGL.
Copyright (C) 2003-2011 T. Zachary Laine
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 ... |
<commit_before>/******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor ... |
<commit_before>/*
* Copyright (C) 2008 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* 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.
*
*... |
<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/child_process_host.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/file_... |
<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/chromeos/main_menu.h"
#include <string>
#include <vector>
#include "app/gfx/insets.h"
#include "app/resource... |
<commit_before>#pragma once
#include <bts/blockchain/chain_database.hpp>
#include <bts/wallet/wallet.hpp>
#include <bts/net/node.hpp>
#include <bts/rpc/rpc_client_api.hpp>
#include <bts/api/common_api.hpp>
#include <bts/rpc_stubs/common_api_client.hpp>
#include <fc/thread/thread.hpp>
#include <fc/log/logger_config.hpp>... |
<commit_before>#include "BasicPartitioner.h"
#include "Node.h"
#include "Camera.h"
#include <memory>
#include <algorithm>
using namespace std;
#define MIN_NODES 128
#define MIN_LIGHTS 32
BasicPartitioner :: BasicPartitioner()
{
m_Nodes.reserve(MIN_NODES);
m_Lights.reserve(MIN_LIGHTS);
}
void BasicPartitioner... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
//
// File: NekManager.hpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, I... |
<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 Francois Beaune
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of... |
<commit_before>/* This file is part of Strigi Desktop Search
*
* Copyright (C) 2006 Jos van den Oever <jos@vandenoever.info>
*
* This library 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; eithe... |
<commit_before>#include <yuni/yuni.h>
#include "type-check.h"
using namespace Yuni;
namespace Nany
{
namespace TypeCheck
{
namespace // anonymous
{
static Match isAtomSimilarTo(const ClassdefTable& table, const CTarget* target, const Atom& atom, const Atom& to)
{
if (&atom == &to) // identity
return... |
<commit_before>
#include "backend/bridge/dml/expr/pg_func_map.h"
namespace peloton {
namespace bridge {
/**
* @brief Mapping PG Function Id to Peloton Function Meta Info.
*/
std::unordered_map<Oid, const PltFuncMetaInfo> kPgFuncMap({
//====--------------------------------
// Relational comparison
//==... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>/*
main.cpp
This file is part of Kleopatra, the KDE keymanager
Copyright (c) 2001,2002,2004 Klarlvdalens Datakonsult AB
Kleopatra 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 Founda... |
<commit_before>#include "spectrum_display.hh"
#include <essentia/algorithmfactory.h>
#include <essentia/algorithm.h>
#include <QPainter>
#include <QDebug>
#include <algorithm>
namespace Decomposer {
static QColor BACKGROUND_COLOR("#33ffd6");
struct SpectrumDisplay::Private
{
std::vector<essentia::Real> input;
s... |
<commit_before>// MIT License
//
// Copyright (c) 2017 Artur Wyszyński, aljen at hitomi dot pl
//
// 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 lim... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: charsetlistbox.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: kz $ $Date: 2008-03-07 11:20:11 $
*
* The Contents of this file are... |
<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>// Copyright (c) 2016-2017 The Syscoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "test/test_syscoin_services.h"
#include "utiltime.h"
#include "util.h"
#include "rpc/server.h"
#inclu... |
<commit_before><commit_msg>WaE: unused variable 'aReferenceString' [loplugin]<commit_after><|endoftext|> |
<commit_before>// Copyright 2010-2012 RethinkDB, all rights reserved.
#include "concurrency/fifo_enforcer.hpp"
#include "arch/runtime/coroutines.hpp"
#include "concurrency/cond_var.hpp"
#include "concurrency/wait_any.hpp"
void fifo_enforcer_state_t::advance_by_read(DEBUG_VAR fifo_enforcer_read_token_t token) THROWS_N... |
<commit_before>
/*******************************************************************************
* Copyright (C) 2016 Advanced Micro Devices, Inc. All rights reserved.
******************************************************************************/
#include <unistd.h>
#include <gtest/gtest.h>
#include <math.h>
#inclu... |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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... |
<commit_before>#ifdef WIN32
# ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
# define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
# endif/*_WIN32_WINNT*/
# define WIN32_LEAN_AND_MEAN
# include <winsock2... |
<commit_before>/*************************************************************************
* Copyright (c) 2014 eProsima. All rights reserved.
*
* This copy of eProsima RTPS is licensed to you under the terms described in the
* fastrtps_LIBRARY_LICENSE file included in this distribution.
*
************************... |
<commit_before>/*
* SessionProfiler.cpp
*
* Copyright (C) 2009-12 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
* GNU Affero Gener... |
<commit_before>/*
* Copyright (c) 2007 MIPS Technologies, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met: redistributions of source code must retain the above copyright
* notice, thi... |
<commit_before>/*=========================================================================
Copyright (c) Kitware Inc.
All rights reserved.
=========================================================================*/
// .SECTION Description
// This program illustrates the use of various filters acting upon hyper
// tre... |
<commit_before>/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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... |
<commit_before><commit_msg>Fix for Qt event freeze problem on Windows <commit_after><|endoftext|> |
<commit_before>// Part of Arac Neural Network Composition Library.
// (c) 2008 by Justin S Bayer, <bayer.justin@googlemail.com>
#ifndef ARAC_MDRNN_C
#define ARAC_MDRNN_C
#include <iostream>
#include <cstring>
#include "mdrnn.h"
using arac::structure::Component;
using arac::structure::connections::FullConnection;... |
<commit_before>#ifndef __ZOMBYE_SCRIPTING_SYSTEM_HPP__
#define __ZOMBYE_SCRIPTING_SYSTEM_HPP__
#include <memory>
#include <angelscript.h>
#include <scriptbuilder/scriptbuilder.h>
namespace zombye {
class game;
}
namespace zombye {
class scripting_system {
private:
game& game_;
std::unique_ptr<asIScriptEngine... |
<commit_before>#include "package_manager/ostreemanager.h"
#include <stdio.h>
#include <unistd.h>
#include <fstream>
#include <gio/gio.h>
#include <json/json.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/filesys... |
<commit_before>//
// MCIndexSet.cpp
// mailcore2
//
// Created by DINH Viêt Hoà on 3/4/13.
// Copyright (c) 2013 MailCore. All rights reserved.
//
#include "MCIndexSet.h"
#include "MCString.h"
#include "MCAssert.h"
#include "MCRange.h"
#include "MCLog.h"
#include "MCArray.h"
#include "MCHashMap.h"
#include "MCUti... |
<commit_before>#include <iostream>
#include <vector>
#include <linbox/blackbox/toeplitz.h>
#ifdef __LINBOX_HAVE_NTL
#include <linbox/field/ntl-lzz_pX.h>
#include <linbox/field/ntl-lzz_p.h>
#endif
#include <linbox/solutions/det.h>
#include <linbox/blackbox/dense.h>
#include <linbox/randiter/random-prime.h>
#include <lin... |
<commit_before>//|||||||||||||||||||||||||||||||||||||||||||||||
#include "ValleyApp.hpp"
#include <OgreLight.h>
#include <OgreWindowEventUtilities.h>
#include <OgreStringConverter.h>
//|||||||||||||||||||||||||||||||||||||||||||||||
ValleyApp::ValleyApp()
{
m_pOgreHeadNode = 0;
m_pOgreHeadEntity = 0;
m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.