text stringlengths 54 60.6k |
|---|
<commit_before><commit_msg>add special comment expected by bin/new_test.sh<commit_after><|endoftext|> |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/common/include/p9_frequency_buckets.H $ ... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/chips/p9/procedures/hwp/memory/lib/fir/check.C $ ... |
<commit_before>#include <cppunit/Test.h>
#include <cppunit/TestAssert.h>
#include <cppunit/extensions/HelperMacros.h>
#include "goal_adaptive_resource_weight_test.h"
#include "goal_adaptive_resource_weight.h"
#include "timeops.h"
//CPPUNIT_TEST_SUITE_REGISTRATION(GoalAdaptiveResourceWeightTest);
void
GoalAdaptiveR... |
<commit_before>/* IBM_PROLOG_BEGIN_TAG */
/* This is an automatically generated prolog. */
/* */
/* $Source: src/import/hwpf/fapi2/include/fapi2_subroutine_executor.H $ ... |
<commit_before>#include "consoleUtil.h"
#include "Deck.h"
#include "TexasHoldem.h"
using namespace std;
#define TABLE_X 10
#define TABLE_Y (COM_Y+PLAYER_HT+1)
#define TABLE_HT 3
#define TABLE_WD (2+2*5+1*4+2)
#define PLAYER_HT 4
#define PLAYER_WD (1+8+1) // " COMPUTER ", " HUMAN "
#define COM_X (TABL... |
<commit_before><commit_msg>Need <boost/functional/hash.hpp> for boost::hash<commit_after><|endoftext|> |
<commit_before>/*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*/
#include <cstdint>
#include <cstring>
#include <iostream>
#include <stdexcept>
#include <adios2.h>
#include <gtest/gtest.h>
#include "TestData.h"
class SstReadTest : public ... |
<commit_before>// Author: Josh Haberman (jhaberman@gmail.com)
// This code is in the public domain.
#include <inttypes.h>
#include <math.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <iomanip>
#include <gmpxx.h>
using namespace std;
mpz_class bitat(i... |
<commit_before>#include "routing/bicycle_directions.hpp"
#include "routing/bicycle_model.hpp"
#include "routing/features_road_graph.hpp"
#include "routing/nearest_edge_finder.hpp"
#include "routing/pedestrian_directions.hpp"
#include "routing/pedestrian_model.hpp"
#include "routing/road_graph_router.hpp"
#include "rout... |
<commit_before>/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, version 1.0 beta 3 *
* (c) 2006-2008 MGH, INRIA, USTL, UJF, CNRS *
* ... |
<commit_before>// Copyright 2016 Benjamin Glatzel
//
// 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>/**
* Copyright (c) 2011-2015 metaverse developers (see AUTHORS)
*
* This file is part of mvs-node.
*
* metaverse 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 Sof... |
<commit_before>/**
* Copyright (c) 2016-2018 mvs developers
*
* This file is part of metaverse-explorer.
*
* metaverse-explorer 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 Soft... |
<commit_before>// Copyright (C) 2019 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of ... |
<commit_before>#include <spark-pusher.h>
#include <Ethernet.h>
#include <PusherClient.h><commit_msg>add setup<commit_after>#include <spark-pusher.h>
#include <Ethernet.h>
#include <PusherClient.h>
PusherClient client;
void setup() {
if(client.connect("your-api-key-here")) {
client.subscribe("robot_channel");
... |
<commit_before>/*
The OpenTRV project licenses this file to you
under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance
with the Licence. You may obtain a copy of the Licence at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in w... |
<commit_before>#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
class Image
{
public:
Image(const char* filename)
{
std::ifstream stream(filename);
if (stream.is_open())
{
readFromStream(stream);
... |
<commit_before>#include "acmacs-base/range.hh"
#include "acmacs-base/fmt.hh"
#include "acmacs-base/counter.hh"
#include "acmacs-base/string-from-chars.hh"
#include "acmacs-virus/virus-name-v1.hh"
#include "acmacs-draw/surface-cairo.hh"
#include "acmacs-draw/geographic-map.hh"
#include "seqdb-3/seqdb.hh"
#include "geogr... |
<commit_before>#pragma once
#include "acmacs-base/point-coordinates.hh"
#include "acmacs-base/line.hh"
#include "acmacs-base/size-scale.hh"
#include "acmacs-base/number-of-dimensions.hh"
// ----------------------------------------------------------------------
namespace acmacs
{
namespace detail
{
us... |
<commit_before>// Copyright Benoit Blanchon 2014
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#pragma once
#include "JsonBuffer.hpp"
namespace ArduinoJson {
// Implements a JsonBuffer with fixed memory allocation.
// The template paramenter CAPACITY specifies the capacity of... |
<commit_before>// @(#)root/proof:$Id$
// Author: Sangsu Ryu 22/06/2010
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
<commit_before>#ifndef ALEPH_GEOMETRY_WITNESS_COMPLEX_HH__
#define ALEPH_GEOMETRY_WITNESS_COMPLEX_HH__
#include <algorithm>
#include <limits>
#include <iterator>
#include <vector>
#include <aleph/geometry/distances/Traits.hh>
#include <aleph/math/SymmetricMatrix.hh>
#include <aleph/topology/Simplex.hh>
#include <al... |
<commit_before>#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include "teckyl/tc/lang/parser.h"
#include "teckyl/tc/lang/sema.h"
#include <llvm/Support/CommandLine.h>
#include <llvm/Support/ErrorHandling.h>
#include <mlir/IR/Verifier.h>
#include <mlir/IR/Builders.h>
#include <mlir/IR/Module.h>
#... |
<commit_before>/*
Copyright (c) 2011, The Mineserver Project
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 ... |
<commit_before>#include <pcl/common/common.h>
#include <image_geometry/pinhole_camera_model.h>
#include <common/small_helpers.hpp>
#include <opencv2/core/core.hpp>
#ifndef PROJECT_2D_H_
#define PROJECT_2D_H_
namespace project2d
{
inline void
project_2d(
const image_geometry::PinholeCameraModel &camera_model,
con... |
<commit_before><commit_msg>Use MObject::hasObj to test for shadingEngine nodes<commit_after><|endoftext|> |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
... |
<commit_before>//
// Mark.cpp
// G3MiOSSDK
//
// Created by Diego Gomez Deck on 06/06/12.
// Copyright (c) 2012 IGO Software SL. All rights reserved.
//
#include "Mark.hpp"
#include "Camera.hpp"
#include "GL.hpp"
#include "TexturesHandler.hpp"
#include "FloatBufferBuilderFromCartesian3D.hpp"
#include "IGLTextureId... |
<commit_before>//
// Tile.cpp
// G3MiOSSDK
//
// Created by Agustín Trujillo Pino on 12/06/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#include "Tile.hpp"
#include "Mesh.hpp"
#include "Camera.hpp"
#include "TileTessellator.hpp"
#include "TileTexturizer.hpp"
//#include "Angle.hpp"
//#incl... |
<commit_before>// Copyright (c) 2020 by Robert Bosch GmbH. 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
//
// ... |
<commit_before>#include "ovasCAcquisitionServerGUI.h"
#include <openvibe/ov_all.h>
#include <openvibe-toolkit/ovtk_all.h>
#include <gtk/gtk.h>
#include <iostream>
using namespace OpenViBE;
using namespace OpenViBE::Kernel;
using namespace std;
int main(int argc, char ** argv)
{
//__________________________________... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2016. All rights reserved
*/
#ifndef _Stroika_Foundation_Math_Common_inl_
#define _Stroika_Foundation_Math_Common_inl_ 1
/*
********************************************************************************
***************************** Implementation D... |
<commit_before>
// Qt include
#include <QGridLayout>
#include <QResizeEvent>
#include <QPushButton>
#include <QPixmap>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QDateTime>
// ctk includes
#include "ctkLogger.h"
// ctkWidgets includes
#include "ctkFlowLayout.h"
//ctkDICOMCore includes
#include "... |
<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 "viewer.h"
#include <cstdlib>
#include <ctime>
#include <GL/gl.h>
#include <SDL.h>
#include "base/Log.h"
#include "base/Guard.h"
namespace viewer {
int Viewer::run() {
typedef base::PtrGuard<SDL_Surface, SDL_FreeSurface> SurfaceGuard;
typedef base::RunGuard<SDL_Quit> SDLQuitGuard;
i... |
<commit_before>// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if defined(HAVE_CONFIG_H)
#include "config/bitcoin-config.h"
#end... |
<commit_before>#include <cassert>
#include <sqlite3ext.h>
extern const sqlite3_api_routines *sqlite3_api;
#include <GraphMol/FMCS/FMCS.h>
#include "utils.hpp"
#include "mol_fmcs.hpp"
#include "mol.hpp"
void mol_fmcs_step(sqlite3_context* ctx, int argc, sqlite3_value** argv)
{
assert(argc == 1);
int rc = SQLITE_... |
<commit_before>#ifndef DUNE_STUFF_FUNCTION_EXPRESSION_HH
#define DUNE_STUFF_FUNCTION_EXPRESSION_HH
#ifdef HAVE_CMAKE_CONFIG
#include "cmake_config.h"
#else
#include "config.h"
#endif // ifdef HAVE_CMAKE_CONFIG
#include <sstream>
#include <vector>
#ifdef HAVE_EIGEN
#include <Eigen/Core>
#endif // HAVE_EIGEN
#i... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// 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)
//=================================... |
<commit_before>//=======================================================================
// Copyright Baptiste Wicht 2013-2016.
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://www.opensource.org/licenses/MIT)
//==================================================... |
<commit_before>/****************************************************************************
* Copyright (c) 2012-2018 by the DataTransferKit authors *
* All rights reserved. *
* ... |
<commit_before>/***************************************************************************//**
* FILE : timekeeper.hpp
*/
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use t... |
<commit_before>/*
*
* http_client_tests
* ledger-core
*
* Created by Pierre Pollastri on 01/12/2016.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... |
<commit_before>/*
Copyright (C) 2016-2017 Alexey Dynda
This file is part of SSD1306 library.
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
... |
<commit_before>/**
* @file decision_stump_impl.hpp
* @author Udit Saxena
*
* Implementation of DecisionStump class.
*/
#ifndef __MLPACK_METHODS_DECISION_STUMP_DECISION_STUMP_IMPL_HPP
#define __MLPACK_METHODS_DECISION_STUMP_DECISION_STUMP_IMPL_HPP
// In case it hasn't been included yet.
#include "decision_stump.h... |
<commit_before>#ifndef ORM_DATETIMEFIELD_HPP
#define ORM_DATETIMEFIELD_HPP
#include <ORM/fields/private/Attr.hpp>
namespace orm
{
class DateTimeField : public Attr<std::string>
{
public:
/**
* \brief Make a Attr
*
* \param value value to store
... |
<commit_before>///
/// @file Li.cpp
/// @brief Logarithmic integral and Riemann R functions.
///
/// Copyright (C) 2017 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include <primecount.hpp>
#include <generate.hpp... |
<commit_before>#pragma once
#include "fft2d/data.hpp"
#include "fft2d/Converter.hpp"
<commit_msg>Update includer<commit_after>#pragma once
#include "fft2d/data.hpp"
#include "fft2d/pb.hpp"
#include "fft2d/plan.hpp"
#include "fft2d/algorithm.hpp"
<|endoftext|> |
<commit_before>#include "sitkRecursiveGaussianImageFilter.h"
namespace itk {
namespace simple {
//----------------------------------------------------------------------------
//
// Default constructor that initializes parameters
//
RecursiveGaussianImageFilter::RecursiveGaussianImageFilter ()
{
this->m_Sigma = 1... |
<commit_before>// Copyright (c) 2014, Salesforce.com, 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, ... |
<commit_before>///
/// @file Pk.cpp
///
/// Copyright (C) 2014 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the BSD License. See the COPYING
/// file in the top level directory.
///
#include "pi_bsearch.hpp"
#include "pmath.hpp"
#include <primesieve.hpp>
#include <stdint.h>
#include <v... |
<commit_before>#include "RS.h"
#include <cmath>
#include <vector>
#include "Math.h"
using namespace TexturalAnalysis;
std::vector<Point> RS::calculatePoints(const Image& image, const int x1, const int y1, const int x2, const int y2) {
const int deltaX = std::abs(x2 - x1);
const int deltaY = std::abs(y2 - y... |
<commit_before>// Copyright 2013 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/extensions/api/feedback_private/feedback_private_api.h"
#include "base/lazy_instance.h"
#include "base/memory/sco... |
<commit_before>/*! @file api.cc
* @brief Speech Feature Extraction interface implementation.
* @author Markovtsev Vadim <v.markovtsev@samsung.com>
* @version 1.0
*
* @section Notes
* This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guid... |
<commit_before>// Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "bin/directory.h"
#include "include/dart_api.h"
#include "platform/assert.h"
#i... |
<commit_before>/*****************************************************************************
*
* This file is part of Mapnik (c++ mapping toolkit)
*
* Copyright (C) 2011 Artem Pavlenko
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
... |
<commit_before>/*********************************************************************
*
* Copyright (C) 2008, Simon Kagstrom
*
* Filename: exceptions.hh
* Author: Simon Kagstrom <simon.kagstrom@gmail.com>
* Description: Impl. of exception builtins
*
* $Id:$
*
***********************************... |
<commit_before>#include "ReedSolomonEncoder.h"
#include <zxing/Exception.h>
#include <stdio.h>
#include <string.h>
namespace zxing {
ReedSolomonEncoder::ReedSolomonEncoder(Ref<GenericGF> field) :
field_(field), cachedGenerators_()
{
ArrayRef<int> arrayRef(1); //will this work?
arrayRef[0] = 1;
Ref< G... |
<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 "base/command_line.h"
#include "base/message_loop.h"
#include "base/path_service.h"
#include "base/platform_thread.h"
#in... |
<commit_before>#pragma once
#ifndef NIFTY_GRAPH_SIMPLE_GRAPH_HXX
#define NIFTY_GRAPH_SIMPLE_GRAPH_HXX
#include <vector>
#include <boost/version.hpp>
// for strange reason travis does not find the boost flat set
#ifdef WITHIN_TRAVIS
#include <set>
#define __setimpl std::set
#else
#include <boost/container/flat_set.hpp... |
<commit_before><commit_msg>coverity#708671 Uninitialized scalar field<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: viewobjectcontactofsdrmediaobj.cxx,v $
*
* $Revision: 1.7 $
*
* last change: $Author: rt $ $Date: 2005-09-09 00:08:12 $
*
* The Contents ... |
<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/browser/browser_plugin/browser_plugin_web_contents_observer.h"
#include "base/lazy_instance.h"
#include "content/bro... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: staticmb.cxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: rt $ $Date: 2005-09-08 17:01:56 $
*
* The Contents of this file are made ... |
<commit_before>// Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#ifndef POMDOG_JOINTINDEX_F35DB555_HPP
#define POMDOG_JOINTINDEX_F35DB555_HPP
#include "Pomdog/Utility/Assert.hpp"
#include <cstdint>
#include <type_traits>
#include <limits>
namespace Pomdog {
... |
<commit_before>#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
#include "SkImageDecoder.h"
#include "SkPath.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUtils.h"
#include "SkXfermode.h"
#include "SkComposeShader.h"
#include "SkColorPr... |
<commit_before>#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
#include "SkImageDecoder.h"
#include "SkPath.h"
#include "SkRegion.h"
#include "SkShader.h"
#include "SkUtils.h"
#include "SkXfermode.h"
#include "SkComposeShader.h"
#include "SkColorPr... |
<commit_before>#define SHA1_CHECKSUM
#include "framework/serialization/providers/providerwithchecksum.h"
#include "framework/configfile.h"
#include "framework/logger.h"
#include "framework/trace.h"
#include "library/strings.h"
#include "library/strings_format.h"
#include <sstream>
#include "dependencies/pugixml/src/pu... |
<commit_before>/* Copyright 2019 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>/*
Video Core
Copyright (c) 2014 James G. Hurley
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mo... |
<commit_before>#ifndef VIENNAMETA_ALGORITHM_HPP
#define VIENNAMETA_ALGORITHM_HPP
#include "collection.hpp"
#include "container_collection.hpp"
#include "view.hpp"
#include "viennagrid/meta/algorithm.hpp"
namespace viennagrid
{
namespace storage
{
namespace collection
{
... |
<commit_before>//===- Symbols.cpp --------------------------------------------------------===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------... |
<commit_before>/*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: ResampleVolumesToBeIsotropic.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserve... |
<commit_before>/*
* Copyright (c) 2017, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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>/*
* Copyright (c) 2018-2019 Inria
* 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>/**
* @file positive_definite_constraint.hpp
* @author Ryan Curtin
*
* Restricts a covariance matrix to being positive definite.
*/
#ifndef __MLPACK_METHODS_GMM_POSITIVE_DEFINITE_CONSTRAINT_HPP
#define __MLPACK_METHODS_GMM_POSITIVE_DEFINITE_CONSTRAINT_HPP
#include <mlpack/core.hpp>
namespace mlpac... |
<commit_before>#include "testing/testing.hpp"
#include "base/logging.hpp"
#include "indexer/classificator_loader.hpp"
#include "generator/osm2meta.hpp"
#include "coding/writer.hpp"
#include "coding/reader.hpp"
UNIT_TEST(Metadata_ValidateAndFormat_stars)
{
FeatureParams params;
MetadataTagProcessor p(params);
/... |
<commit_before>//===-- BenchmarkRunner.cpp -------------------------------------*- C++ -*-===//
//
// 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) 2012 Google 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, this l... |
<commit_before>//------------------------------------------------------------------------------
// CLING - the C++ LLVM-based InterpreterG :)
//
// This file is dual-licensed: you can choose to license it under the University
// of Illinois Open Source License or the GNU Lesser General Public License. See
// LICENSE.TX... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: delcodlg.hxx,v $
*
* $Revision: 1.3 $
*
* last change: $Author: rt $ $Date: 2005-09-08 21:20:48 $
*
* The Contents of this file are made ... |
<commit_before>/*************************************************************************
*
* $RCSfile: solvrdlg.hxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: obo $ $Date: 2004-06-04 11:40:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following lice... |
<commit_before>// Virvo - Virtual Reality Volume Rendering
// Copyright (C) 1999-2003 University of Stuttgart, 2004-2005 Brown University
// Contact: Jurgen P. Schulze, jschulze@ucsd.edu
//
// This file is part of Virvo.
//
// Virvo is free software; you can redistribute it and/or
// modify it under the terms of the GN... |
<commit_before>
#include "CCameraController.h"
#include <ionWindow.h>
#include <glm/gtc/matrix_transform.hpp>
namespace ion
{
CCameraController::CCameraController(Scene::ICamera * Camera)
{
this->Camera = Camera;
this->Phi = 0;
this->Theta = 1.5708f;
this->Tracking = false;
this->MoveSpe... |
<commit_before>// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "zpiv/accumulators.h"
#include "chain.h"
#include "zpiv/deterministicmint.h"
#include "main.h"
#include "stak... |
<commit_before>#include "parsegtf.hpp"
#include "utility.hpp"
class badline: public std::exception
{
virtual const char* what() const throw(){
return "Badly formatted line";
}
} badline;
using str_vec_iter = std::vector<std::string>::iterator;
struct block_process {
std::vector <std::string> operator()... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: hintwin.cxx,v $
*
* $Revision: 1.4 $
*
* last change: $Author: kz $ $Date: 2006-07-21 15:02:02 $
*
* The Contents of this file are made a... |
<commit_before>/* Copyright 2018 Iakov Kirilenko, 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/licenses/LICENSE-2.0
*
* Unless req... |
<commit_before>/*
* Copyright 2013 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/extensions/virtual_keyboard_browsertest.h"
#include <vector>
#include "ash/shell.h"
#include "bas... |
<commit_before>/***************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (testabilitydriver@nokia.com)
**
** This file is part of Testability Driver Qt Agent
**
** If y... |
<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 <string>
#include "base/message_loop.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/renderer_host/render_pro... |
<commit_before>/******************************************************************************
* Copyright © 2012-2014 Institut für Nachrichtentechnik, Universität Rostock *
* Copyright © 2006-2012 Quality & Usability Lab, *
* Telekom Innovation Laboratories, TU Berl... |
<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 "chrome/browser/chromeos/policy/wildcard_login_checker.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/me... |
<commit_before>/**
* Copyright (C) 2006 Brad Hards <bradh@frogmouth.net>
*
* 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, this ... |
<commit_before>#include "pymatching/fill_match/search/search_flooder.h"
#include "gtest/gtest.h"
TEST(SearchFlooder, RepCodeDetectorSearch) {
size_t num_nodes = 40;
auto flooder = pm::SearchFlooder(pm::SearchGraph(num_nodes));
auto& g = flooder.graph;
g.add_boundary_edge(0, 2, {0});
for (size_t i ... |
<commit_before>#include "band.h"
namespace sirius {
template <>
void Band::orthogonalize<double_complex>(K_point* kp__,
int N__,
int n__,
Wave_functions<false>& phi__,
... |
<commit_before>//---------------------------------------------------------------------------//
// \file BooleanCellFunctor.hpp
// \author Alex Robinson
// \brief Functor that takes a boolean array and returns true/false
//---------------------------------------------------------------------------//
#ifndef BOOLEAN_... |
<commit_before>#include <assert.h>
#include <stdlib.h>
#include <functional>
#include <iostream>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
#include <isl/cpp.h>
/* A binary isl function that appears in the C++ bindings
* as a unary method in a class T, taking an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.