text stringlengths 54 60.6k |
|---|
<commit_before>/*
* Copyright 2007-2021 CM4all GmbH
* All rights reserved.
*
* author: Max Kellermann <mk@cm4all.com>
*
* 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... |
<commit_before>/*******************************************************************************
* Copyright (c) 2013 Wojciech Migda
* All rights reserved
* Distributed under the terms of the GNU LGPL v3
*******************************************************************************
*
* Filename: test_foo.hpp
*
... |
<commit_before>#ifndef STRUCTURES_H
#define STRUCTURES_H 1
#include <QString>
#include "manager.hpp"
#include "singleton.hpp"
//! Structure représentant un semestre temporel
struct SemestreT {
//! Constructeur, prend en argument une QString ex: "A12"
SemestreT(const QString& s) {
representation = s;
... |
<commit_before>/*****************************************************************************************
* *
* OpenSpace *
* ... |
<commit_before>/*! \file
* \brief Main include.
*
* This is the only file you have to include in order to use the
* complete threadpool library.
*
* Copyright (c) 2005-2007 Philipp Henkel
*
* Use, modification, and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENS... |
<commit_before>#include <gflags/gflags.h>
#include <stddef.h>
#include <chrono>
#include <cmath>
#include <cstdint>
#include <memory>
#include <random>
#include <string>
#include <utility>
#include <vector>
#include "ncode_common/src/common.h"
#include "ncode_common/src/file.h"
#include "ncode_common/src/logging.h"
#i... |
<commit_before>/* Copyright 2017 Stanford University, NVIDIA Corporation
*
* 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>/*=========================================================================
Program: Visualization Toolkit
Module: vtkSpline.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 1993-1998 Ken Martin, Will Schroeder, Bill Lorensen.
This software is copyrighted by Ken... |
<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>// Time: O(n)
// Space: O(h)
/**
* Definition of TreeNode:
* class TreeNode {
* public:
* int val;
* TreeNode *left, *right;
* TreeNode(int val) {
* this->val = val;
* this->left = this->right = NULL;
* }
* }
*/
class Solution {
public:
/**
* @param r... |
<commit_before>/*
* This file is part of ATLAS. It is subject to the license terms in
* the LICENSE file found in the top-level directory of this distribution.
* (Also avialable at http://www.apache.org/licenses/LICENSE-2.0.txt)
* You may not use this file except in compliance with the License.
*/
#include "ColladaRec... |
<commit_before>/*-----------------------------------------------------------------------------
Copyright 2017 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 published by
the Free Software Foundation, either version... |
<commit_before>// tests.hpp
// Copyright (C) 2007 by Nathan Reed. All rights and priveleges reserved.
// A set of tests of different types' communication with Lua
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <lua.hpp>
#include <string>
#include <vector>
#include "../include/luabridge.hpp"
using ... |
<commit_before><commit_msg>Fix build: remove DCHECK on TestTaskRunner<commit_after><|endoftext|> |
<commit_before>/** \copyright
* Copyright (c) 2014, Balazs Racz
* 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>/* Begin CVS Header
$Source: /Volumes/Home/Users/shoops/cvs/copasi_dev/copasi/utilities/CopasiTime.cpp,v $
$Revision: 1.4 $
$Name: $
$Author: shoops $
$Date: 2005/01/24 18:39:26 $
End CVS Header */
#include <sstream>
#include "CopasiTime.h"
#include "utility.h"
CopasiTimePoint::Cop... |
<commit_before>/*
* Copyright (C) 2013
* Alessio Sclocco <a.sclocco@vu.nl>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any lat... |
<commit_before>/*************************************************************************
*
* $RCSfile: d_token.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2004-07-12 15:13:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licens... |
<commit_before>/******************************************************************************
* Copyright 2017 The Apollo 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 ... |
<commit_before><commit_msg>`Node::~Node`: call `Graph::unbind_node` for unbinding.<commit_after><|endoftext|> |
<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 <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "base/command_line.h"
#include "base/eintr_wrapper.h"
#includ... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing
**
** This file is part of the Qt Build Suite.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this fi... |
<commit_before>// vim:set ts=4 sw=4 ai:
/*
* Copyright (c) 2010-2013 BitTorrent, 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... |
<commit_before>/*
* Copyright 2004-2014 Cray Inc.
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is 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 L... |
<commit_before>/*
*
* Copyright (c) 2020 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
<commit_before><commit_msg>Babi: read the question before answering, you silly<commit_after><|endoftext|> |
<commit_before>#ifndef INCLUDED_SROOK_CXX17_MPL_RUN_LENGTH_HPP
#define INCLUDED_SROOK_CXX17_MPL_RUN_LENGTH_HPP
#include<srook/cxx17/mpl/any_pack.hpp>
namespace srook{
inline namespace mpl{
inline namespace v1{
namespace detail{
template<std::size_t,auto,class> struct search_length;
template<std::size_t counter,auto ... |
<commit_before>#ifndef STAN_MATH_PRIM_FUN_LOG_SUM_EXP_SIGNED_HPP
#define STAN_MATH_PRIM_FUN_LOG_SUM_EXP_SIGNED_HPP
#include <stan/math/prim/meta.hpp>
#include <stan/math/prim/fun/constants.hpp>
#include <stan/math/prim/fun/Eigen.hpp>
#include <stan/math/prim/fun/log1p_exp.hpp>
#include <cmath>
#include <vector>
names... |
<commit_before>//
// AppsFlyerBridge.hpp
// ee_x_mobile_apps_flyer
//
// Created by eps on 6/26/18.
//
#ifndef EE_X_APPS_FLYER_BRIDGE_HPP
#define EE_X_APPS_FLYER_BRIDGE_HPP
#include "ee/CoreFwd.hpp"
#include "ee/appsflyer/IAppsFlyerBridge.hpp"
namespace ee {
namespace appsflyer {
class Bridge : public IBridge {
p... |
<commit_before>#include "controller_node.h"
#include <std_srvs/Empty.h>
#include <iostream>
Controller::Controller() :
speedX_(0.05f), speedY_(0.05f), speedZ_(0.05f), speedYaw_(0.01f), goal_reached_(true),
stick_to_plane_(false), sticking_distance_(1.0f) {
std::cout << "Controller node started..." << std:... |
<commit_before>/**
* Copyright (c) 2011-2018 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... |
<commit_before>/**
* Copyright (c) 2011-2015 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* libbitcoin is free software: you can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License with
* additional permissions to the one published by the Free... |
<commit_before>/*
** Copyright 2009-2012 Merethis
**
** This file is part of Centreon Broker.
**
** Centreon Broker 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.
**
** Centreon Broker is distribu... |
<commit_before>#ifndef __AJOKKI_CALLBACKS_HPP_INCLUDED
#define __AJOKKI_CALLBACKS_HPP_INCLUDED
#include "cpp/ylikuutio/common/any_value.hpp"
#include "cpp/ylikuutio/callback_system/callback_parameter.hpp"
#include "cpp/ylikuutio/callback_system/callback_object.hpp"
#include "cpp/ylikuutio/callback_system/callback_engi... |
<commit_before>// Vsevolod Ivanov
#include <string>
#include <iostream>
#include <opendht.h>
#include <opendht/dht_proxy_client.h>
int main(int argc, char * argv[])
{
auto hash = dht::InfoHash::get(argv[1]);
dht::DhtProxyClient client {[](){}, "127.0.0.1:8080", "client_id"};
auto &io_context = client.htt... |
<commit_before>#include "dacloud.hpp"
#include <iostream>
#include <sstream>
#include <thread>
using namespace Da;
void
threadop(size_t i, std::shared_ptr<DaCloud> dc, std::shared_ptr<DaCloudHeaders> dh,
DaCloudProperties dp)
{
auto dd = std::make_shared<DaCloudDetect>(*dc, *dh, dp);
std::cout << "threa... |
<commit_before>/**
* Copyright (c) 2016, Loïc BLOT <loic.blot@unix-experience.fr>
* 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... |
<commit_before>/*
* Copyright 2015 Cloudius Systems
*
* Modified by Cloudius Systems
*/
#pragma once
#include "core/shared_ptr.hh"
#include "core/distributed.hh"
class filter_tracker {
lw_shared_ptr<distributed<filter_tracker>> _ptr;
uint64_t false_positive;
uint64_t true_positive;
uint64_t last_... |
<commit_before>/*-------------------------------------------------------------------------
*
* bootstrap.cpp
* file description
*
* Copyright(c) 2015, CMU
*
* /peloton/src/backend/bridge/bootstrap.cpp
*
*-------------------------------------------------------------------------
*/
#include <iostream>
#include... |
<commit_before>#include <string>
#include <iostream>
#include "cTCP.h"
namespace raven
{
namespace set
{
cTCP::cTCP() : myConnectSocket(INVALID_SOCKET),
myfRetryServer(true)
{
}
void cTCP::initWinSock()
{
WSADATA wsaData;
... |
<commit_before>typedef long double ld;
const ld eps = 1e-8;
const ld pi = acos(-1.0);
// 点
typedef complex<ld> Point;
namespace std {
bool operator< (const Point& lhs, const Point& rhs) {
return real(lhs) != real(rhs) ? real(lhs) < real(rhs) : imag(lhs) < imag(rhs);
}
}
// 外積
ld cross (const Point& a, const ... |
<commit_before>// Copyright 2014 BVLC and contributors.
#include <cstring>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/vision_layers.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
#include "caffe/test/test_caffe... |
<commit_before>// Copyright (c) 2013, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#include "PropertyHDF5.hpp"
... |
<commit_before><commit_msg>CID#738561 uninitialized member<commit_after><|endoftext|> |
<commit_before>// Copyright (c) the JPEG XL 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 "lib/jxl/image.h"
#include <algorithm> // swap
#undef HWY_TARGET_INCLUDE
#define HWY_TARGET_INCLUDE "lib/jxl/image.cc"... |
<commit_before>//=-- lsan.cc -------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before><commit_msg>fixed string fixed<commit_after><|endoftext|> |
<commit_before>#include <iostream>
#include <vector>
#include <fstream>
#include <iterator>
#include <zlib.h>
#include "mszreader.hh"
#include "math/dataset.hh"
#include "math/forwardselection.hh"
#include "math/ridgeregression.hh"
using std::vector;
using std::string;
using std::cerr;
using std::ofstream;
using n... |
<commit_before>#include <assert.h>
#include "Provider.h"
#include "Dll.h"
#pragma warning(push)
#pragma warning(disable : 4995)
#include <shlwapi.h>
#pragma warning(pop)
#include "Macros.h"
#include "TileUiLogon.h"
#include "TileUiUnlock.h"
#include "ProviderGuid.h"
#include "SerializationHelpers.h"
... |
<commit_before>/* Copyright 2020 The TensorFlow Quantum 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... |
<commit_before>#ifndef __GLOBALS_HPP_INCLUDED
#define __GLOBALS_HPP_INCLUDED
#include <string>
#include <vector>
// Include GLEW
#ifndef __GL_GLEW_H_INCLUDED
#define __GL_GLEW_H_INCLUDED
#include <GL/glew.h>
#endif
// Include GLFW
#ifndef __GLFW3_H_INCLUDED
#define __GLFW3_H_INCLUDED
#include <glfw3.h>
#endif
// In... |
<commit_before>/*
* Copyright (c) 2015-2016, Graphics Lab, Georgia Tech Research Corporation
* Copyright (c) 2015-2016, Humanoid Lab, Georgia Tech Research Corporation
* Copyright (c) 2016, Personal Robotics Lab, Carnegie Mellon University
* All rights reserved.
*
* This file is provided under the following "BSD-... |
<commit_before>#include <iostream>
#include <fstream>
#include <sstream>
#include "Myexception.h"
#include "chain.h"
using namespace std;
void chain :: readAndStoreFromFile(char* fileName)
{
//This function reads integers from the file given by fileName then store them in the chain
ifstream infile(fileName) ;
s... |
<commit_before>// @(#)root/base:$Id$
// Author: Fons Rademakers 07/05/2000
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// Sh: A GPU metaprogramming language.
//
// Copyright (c) 2003 University of Waterloo Computer Graphics Laboratory
// Project administrator: Michael D. McCool
// Authors: Zheng Qin, Stefanus Du Toit, Kevin Moule, Tiberiu S. Popa,
// Bryan Chan, Michael D. McCool
//
// This software is provided... |
<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: bookmrk.hxx,v $
* $Revision: 1.1... |
<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.
Some parts of this code ar... |
<commit_before>// $Id$
//
// Copyright (C) 2003-2008 Greg Landrum and Rational Discovery LLC
//
// @@ All Rights Reserved @@
//
#include <GraphMol/RDKitBase.h>
#include <GraphMol/SmilesParse/SmilesParse.h>
#include <GraphMol/SmilesParse/SmilesWrite.h>
#include <GraphMol/Fingerprints/Fingerprints.h>
#include <DataS... |
<commit_before>// Rabin-Karp - String Matching + Hashing O(n+m)
const int B = 31;
char s[N], p[N];
int n, m; // n = strlen(s), m = strlen(p)
void rabin() {
if (n<m) return;
int hp = 0, hs = 0, E = 1;
for (int i = 0; i < m; ++i)
hp = ((hp*B)%MOD + p[i])%MOD,
hs = ((hs*B)%MOD + s[i])%MOD,
E = (E*B)%MO... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: formbrowsertools.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 20:11:49 $
*
* The Contents of this file a... |
<commit_before><commit_msg>fix explicit delete.<commit_after><|endoftext|> |
<commit_before>//===- DCE.cpp - Code to perform dead code elimination --------------------===//
//
// 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>/* -*- 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>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: scrwin.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: hr $ $Date: 2006-06-19 20:26:55 $
*
* The Contents of this file are made av... |
<commit_before>
namespace collections
{
shared_state::shared_state()
: registry(nullptr)
, aqueue(nullptr)
{
registry = new object_registry();
aqueue = new autorelease_queue(*registry);
}
shared_state::~shared_state() {
delete registry;
delete aqueue;
... |
<commit_before>#include "aofile.h"
#include "../utils/fs.h"
#include "inner_readers.h"
#include <cassert>
#include <cstring>
#include <cstdio>
#include <mutex>
using namespace dariadb;
using namespace dariadb::storage;
class AOFile::Private {
public:
Private(const AOFile::Params ¶ms) : _params(params){
_is_... |
<commit_before>/* This file is part of Mapnik (c++ mapping toolkit)
* Copyright (C) 2005 Artem Pavlenko
*
* Mapnik 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 an... |
<commit_before>/*=========================================================================
Library : Image Registration Toolkit (IRTK)
Module : $Id$
Copyright : Imperial College, Department of Computing
Visual Information Processing (VIP), 2008 onwards
Date : $Date$
Version : $Revis... |
<commit_before>#include "Aircraft.hpp"
#include "Math.hpp"
#include <iostream>
Aircraft::Aircraft(const AircraftTemplate &NewTemplate, map<string, sf::Texture> &Textures, map<string, sf::SoundBuffer> &Sounds, sf::Vector2f Pos, float Rot) : Template(NewTemplate), Land(0), State(FlyingIn), Direction(Aircraft::In)
{
... |
<commit_before>/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the imp... |
<commit_before>#include "StdAfx.h"
#include "DngDecoderSlices.h"
/*
RawSpeed - RAW file decoder.
Copyright (C) 2009 Klaus Post
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... |
<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 distributed WITHOUT AN... |
<commit_before>/*=========================================================================
Program: Medical Imaging & Interaction Toolkit
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) German Cancer Research Center, Division of Medical and
Biological Informatics. All right... |
<commit_before>/* -*- Mode: C++; c-basic-offset: 2; tab-width: 2; indent-tabs-mode: nil -*-
*
* Quadra, an action puzzle game
* Copyright (C) 1998-2000 Ludus Design
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publish... |
<commit_before>/*
* main.cpp
*
* Created on: 2014-05-05
* Author: mathieu
*/
#include <QtNetwork/QNetworkInterface>
#include <QtCore/QCoreApplication>
#include "TcpClient.h"
void showUsage()
{
printf("exampleTcpClient [hostname] port\n");
exit(-1);
}
int main(int argc, char * argv[])
{
if(argc < 2 || a... |
<commit_before>#include "../docbuilder.h"
#define AVS_OFFICESTUDIO_FILE_DOCUMENT 0x0040
#define AVS_OFFICESTUDIO_FILE_DOCUMENT_DOCX AVS_OFFICESTUDIO_FILE_DOCUMENT + 0x0001
#define AVS_OFFICESTUDIO_FILE_DOCUMENT_DOC AVS_OFFICESTUDIO_FILE_DOCUMENT + 0x0002
#define AVS_OFFICESTUDIO_FILE_DOCUMENT_ODT AVS... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Co... |
<commit_before><commit_msg>getting somewhere with this opencl lark!<commit_after><|endoftext|> |
<commit_before>/*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2009-2012, Willow Garage, Inc.
* Copyright (c) 2012-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modific... |
<commit_before>/* -*- c++ -*-
subscriptiondialog.cpp
This file is part of KMail, the KDE mail client.
Copyright (C) 2002 Carsten Burghardt <burghardt@kde.org>
KMail is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
publ... |
<commit_before>/*
This file is part of KOrganizer.
Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org>
Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publ... |
<commit_before>#include "builder.h"
#include <lambda_p_io/source.h>
#include <lambda_p_io/builder.h>
#include <lambda_p/routine.h>
#include <lambda_p/expression.h>
#include <lambda_p/reference.h>
#include <lambda_p/expression.h>
#include <boost/bind.hpp>
void lambda_p_io_test::builder::run ()
{
run_1 (... |
<commit_before>// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: HBondModel.C,v 1.3 2003/10/17 16:17:36 amoll Exp $
#include <BALL/VIEW/MODELS/HBondModel.h>
#include <BALL/KERNEL/atom.h>
#include <BALL/VIEW/PRIMITIVES/tube.h>
using namespace std;
namespace BALL
{
namespace VIEW
{
HBondModelProcessor... |
<commit_before>///////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: 2013 Steven Lamerton
// License: MIT, see LICENSE
///////////////////////////////////////////////////////////////////////////////
#include <vector>
#include <iostream>
#include <fstre... |
<commit_before>
#include <glbinding/gl/gl.h>
#include <globjects/globjects.h>
#include <globjects/logging.h>
#include <globjects/Buffer.h>
#include <globjects/Program.h>
#include <globjects/Shader.h>
#include <globjects/VertexArray.h>
#include <globjects/VertexAttributeBinding.h>
#include <globjects/State.... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: impdel.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 17:57:31 $
*
* The Contents of this file are made av... |
<commit_before>//===--- ModuleNameLookup.cpp - Name lookup within a module ----*- c++ -*--===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http... |
<commit_before>// @(#)root/base:$Id$
// Author: Fons Rademakers 28/11/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>// Copyright (c) 2017 Google 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 l... |
<commit_before>// Filename: milesAudioSound.cxx
// Created by: skyler (June 6, 2001)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
//
// All use of this software is subject to the terms of the Panda 3... |
<commit_before>// Copyright (c) 2017 GitHub, Inc.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/web_contents_zoom_controller.h"
#include "content/public/browser/navigation_details.h"
#include "content/public/browser/navigation_entry.h"
#incl... |
<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: unopolypolygon.hxx,v $
*
* $Rev... |
<commit_before>//===--- LivePhysRegs.cpp - Live Physical Register Set --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/***************************************************************************//**
* context.cpp
*
* The main root structure of cmgui.
*/
/* OpenCMISS-Zinc Library
*
* 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... |
<commit_before>/* Copyright 2016 The TensorFlow 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 appl... |
<commit_before>/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the Qt Mobility Components.
**
** $QT_BEGIN_LICENSE:LG... |
<commit_before>// Copyright (c) 2019 ASMlover. 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 o... |
<commit_before>#pragma GCC target("lzcnt")
#include <immintrin.h>
#include <bits/stdc++.h>
#include <utility>
using namespace std;
template<class T, class F = function<T(const T &, const T &)>>
struct SparseTable {
int n;
vector<vector<T>> t;
F func;
SparseTable(const vector<T> &a, F f) : n(a.size(... |
<commit_before>// Copyright (C) 2011, 2012 Strahinja Val Markovic <val@markovic.io>
//
// This file is part of YouCompleteMe.
//
// YouCompleteMe 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 vers... |
<commit_before>//===-- PluginLoader.cpp - Implement -load command line option ------------===//
//
// 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.
//... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.