text stringlengths 54 60.6k |
|---|
<commit_before>//------------------------------------------------------------------------------
// imgui-metal.c
// Since this will only need to compile with clang we can use
// mix designated initializers and C++ code.
//------------------------------------------------------------------------------
#include "osxent... |
<commit_before>#include "Queen.h"
Queen::Queen(std::string url)
:
current_depth(0),
max_depth(Manager::instance().Config->depth)
{
url_pool.push_back(url);
crawl();
save_data();
}
void Queen::crawl()
{
while (current_depth++ <= max_depth && !(url_pool.empty()))
{
if (Manager::instance().Config->debug)
{
... |
<commit_before>#ifndef MJOLNIR_READ_OBSERVER
#define MJOLNIR_READ_OBSERVER
#include <extlib/toml/toml.hpp>
#include <mjolnir/core/Observer.hpp>
#include <mjolnir/util/logger.hpp>
namespace mjolnir
{
template<typename traitsT>
Observer<traitsT>
read_observer(const toml::table& root)
{
MJOLNIR_GET_DEFAULT_LOGGER();... |
<commit_before>/// HEADER
#include "decision_tree.h"
/// PROJECT
#include <csapex/msg/input.h>
#include <csapex/msg/output.h>
#include <csapex/utility/register_apex_plugin.h>
#include <utils_param/parameter_factory.h>
#include <csapex/model/node_modifier.h>
#include <csapex_core_plugins/vector_message.h>
#include <csa... |
<commit_before>/*************************************************************************
*
* $RCSfile: PageMasterPropMapper.cxx,v $
*
* $Revision: 1.6 $
*
* last change: $Author: sab $ $Date: 2000-10-23 15:30:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the fo... |
<commit_before>#define BOOST_TEST_NO_MAIN
#include <memory>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <iterator>
#include <vector>
#include <numeric>
#include <fstream>
#include <tuple>
#include <boost/test/unit_test.hpp>
#include <boost/format.hpp>
#include "equelle/EquelleRuntimeCPU.hpp"
... |
<commit_before><commit_msg>Added the ability to read and write to SPD, MVPD and PVPD<commit_after><|endoftext|> |
<commit_before><commit_msg>Fix compile failure on Win64.<commit_after><|endoftext|> |
<commit_before><commit_msg>oops, as Alby pointed out that didnt actually solve the null problem. Now does.<commit_after><|endoftext|> |
<commit_before>//===-- FindAllSymbolsTests.cpp - find all symbols unit tests ---*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>reWriteForSteve(){
double tmp, mPt, value, err;
const int nFile=5;
const int nCent=10;
const int nPt=20;
char inFilesD[nFile][200]={"outchi422Den_corrFlow.txt","outchi523Den_corrFlow.txt","outchi6222Den_corrFlow.txt","outchi633Den_corrFlow.txt","outchi7223Den_corrFlow.txt"};
char outFilesD[n... |
<commit_before>#include "Shader_Loader.h"
#include <fstream>
#include <vector>
#include <sstream>
#include <stdexcept>
namespace Shader
{
namespace
{
void checkErrors(GLuint shaderId, GLenum statusType, const std::string& errorType)
{
auto bufferSize = 512;
GLint isSuc... |
<commit_before>/*************************************************************************/
/* emws_peer.cpp */
/*************************************************************************/
/* This file is part of: */
/... |
<commit_before><commit_msg>No bzero in MSVC<commit_after><|endoftext|> |
<commit_before><commit_msg>INTEGRATION: CWS sj02 (1.62.136); FILE MERGED 2003/07/28 15:32:27 sj 1.62.136.1: #i15927# PowerPoint import: added font independent linespacing<commit_after><|endoftext|> |
<commit_before><commit_msg>delete unuseful operator<commit_after><|endoftext|> |
<commit_before><commit_msg>Add some logic to just try and split any new dock in half<commit_after><|endoftext|> |
<commit_before>#include "stdafx.h"
#include <dukat/fullscreeneffect2.h>
#include <dukat/animationmanager.h>
#include <dukat/game2.h>
#include <dukat/log.h>
namespace dukat
{
FullscreenEffect2::FullscreenEffect2(Game2* game) : game(game)
{
static constexpr auto uniform_time = "u_time";
static co... |
<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 <iostream>
#include... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: reposy.cxx,v $
*
* $Revision: 1.8 $
*
* last change: $Author: obo $ $Date: 2006-09-16 16:34:04 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>INTEGRATION: CWS swundo03 (1.51.16); FILE MERGED 2004/08/12 15:11:46 hbrinkm 1.51.16.2: RESYNC: (1.51-1.52); FILE MERGED 2004/08/04 15:07:50 hbrinkm 1.51.16.1: #115575#,#115582#<commit_after><|endoftext|> |
<commit_before>// Copyright Daniel Wallin 2006. Use, modification and distribution is
// subject to 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)
#include <boost/python.hpp>
#include <libtorrent/torrent_info.hpp>
#include "libtorrent... |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: prtopt.cxx,v $
*
* $Revision: 1.11 $
*
* last change: $Author: hr $ $Date: 2007-09-27 11:28:48 $
*
* The Contents of this file are made a... |
<commit_before><commit_msg>#104515# reduce syntax highlighting in large documents<commit_after><|endoftext|> |
<commit_before><commit_msg>INTEGRATION: CWS ooo19126 (1.3.1174); FILE MERGED 2005/09/05 13:44:28 rt 1.3.1174.1: #i54170# Change license header: remove SISSL<commit_after><|endoftext|> |
<commit_before><commit_msg>sal_uInt16: to sal_Int32/long, constify, reworked some casts<commit_after><|endoftext|> |
<commit_before><commit_msg>Fix filenames on linux being more than 255 bytes (fix #2277)<commit_after><|endoftext|> |
<commit_before>/*
Copyright (c) 2018 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Sebastian Ullrich
*/
#include <map>
#include "library/time_task.h"
namespace lean {
static std::map<std::string, second_duration> * g_cum_times;
static mutex *... |
<commit_before><commit_msg>Fix documentation<commit_after><|endoftext|> |
<commit_before><commit_msg>Fixed typo<commit_after><|endoftext|> |
<commit_before>/*!
* Copyright (c) 2016 by Contributors
* \file saveload_json.cc
* \brief Save and load graph to/from JSON file.
*/
#include <nnvm/pass.h>
#include <nnvm/pass_functions.h>
#include <dmlc/json.h>
#include <algorithm>
namespace dmlc {
namespace json {
// overload handler for shared ptr
template<>
st... |
<commit_before><commit_msg>Adicionado botão de créditos e correção do alinhamento<commit_after><|endoftext|> |
<commit_before><commit_msg>Include header file (typo)<commit_after><|endoftext|> |
<commit_before>//
// RemoteConsole is an implementation of IConsole which spawns and communicates
// with a second ccons process for handling the user input.
//
// SerializedOutputConsole is used by the ccons process spawned by RemoteConsole
// to send its output in a serialized format.
//
// Part of ccons, the interac... |
<commit_before>// The MIT License (MIT)
// Copyright (c) 2016, Microsoft
// 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
// t... |
<commit_before>/*
* main.cpp (Tutorial10_Instancing)
*
* This file is part of the "LLGL" project (Copyright (c) 2015 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#include "../tutorial.h"
class Tutorial10 : public Tutorial
{
// Static configuration for this demo
static const unsign... |
<commit_before>//---------------------------- fe_collection_04.cc ---------------------------
// $Id$
// Version: $Name$
//
// Copyright (C) 2005, 2006, 2012 by the deal.II authors
//
// This file is subject to QPL and may not be distributed
// without copyright and license information. Please refer
/... |
<commit_before>#include <boost/test/unit_test.hpp>
#include <string>
#include "internals/acceptor.hpp"
#include <iostream>
#include <thread>
#include "common.hpp"
BOOST_AUTO_TEST_SUITE(AcceptorTestSuite)
using namespace everest::internals;
const unsigned short TEST_PORT = 6000;
BOOST_AUTO_TEST_CASE(BadArgs)
{
//... |
<commit_before>/*
* Copyright (C) 2015 ScyllaDB
*/
/*
* This file is part of Scylla.
*
* Scylla 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, either version 3 of the License, or
* (at your op... |
<commit_before>/**
* Touhou Community Reliant Automatic Patcher
* Update plugin
*
* ----
*
* Update notifications for thcrap and the game itself.
*/
#include <thcrap.h>
#include "self.h"
static const char *update_url_message =
"The new version can be found at\n"
"\n"
"\t";
static const char *mbox_cop... |
<commit_before><commit_msg>some more build failures<commit_after><|endoftext|> |
<commit_before><commit_msg>coverity#738591 Uninitialized pointer field<commit_after><|endoftext|> |
<commit_before><commit_msg>again just refactoring ...<commit_after><|endoftext|> |
<commit_before>#include "TMVA/BDTControlPlots.h"
#include <vector>
#include <string>
#include "TH1.h"
#include "TGraph.h"
// input: - Input file (result from TMVA),
// - use of TMVA plotting TStyle
void TMVA::BDTControlPlots( TString fin , Bool_t useTMVAStyle )
{
// set style and remove existing canvas'
... |
<commit_before>#include "itkCommandLineArgumentParser.h"
#include "CommandLineArgumentHelper.h"
#include "itkImageFileReader.h"
#include "itkVectorIndexSelectionCastImageFilter.h"
#include "itkImageFileWriter.h"
#include "itkImage.h"
#include "itkVectorImage.h"
#include "itkVector.h"
//------------------------------... |
<commit_before>//
// Macros.hpp
// SwingGame
//
// Created by Tim Brier on 25/09/2014.
// Copyright (c) 2014 tbrier. All rights reserved.
//
#ifndef SwingGame_Macros_hpp
#define SwingGame_Macros_hpp
// =============================================================================
// Allocation
// -----------------... |
<commit_before><commit_msg>Tests for change_strength() and change_weight()<commit_after><|endoftext|> |
<commit_before>#include "Window.h"
#define DELAY_BEETWEEN_2_BUTTON 20
Window::Window():
m_clock(),
m_window(new sf::RenderWindow(sf::VideoMode(800, 800), "IN in Game!!!")),
m_currentWorld(new World()),
m_currentStatus(GAME_MAIN_MENU),
m_mouseButtonPressed(false),
m_leftButtonPushed(false),
... |
<commit_before><commit_msg>#87057#: create tiles instead of bands<commit_after><|endoftext|> |
<commit_before>/*************************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: download.hxx,v $
*
* $Revision: 1.2 $
*
* last change: $Author: vg $ $Date: 2007-04-11 20:10:17 $
*
* The Contents of this file are made ... |
<commit_before>//===- llvm-xray.cc - XRay Tool Main Program ------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------... |
<commit_before>/*
* Copyright 2016 The Cartographer 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
*
* Unless required by... |
<commit_before>#pragma once
#include <memory>
namespace wonder_rabbit_project
{
namespace message
{
class sender_t
{
std::weak_ptr<sender_t> _this_weak_ptr;
public:
using type = sender_t;
using shared_t = std::shared_ptr<type>;
auto send_message
( const recieve... |
<commit_before>//
// Created by riku on 2016/07/19.
//
#include "HElib/Ctxt.h"
#include "HElib/EncryptedArray.h"
#include "HElib/timing.h"
#include "core/ctxt_util.hpp"
#include "core/coda.hpp"
#include "core/contingency_table.hpp"
#include "core/greaterthan.h"
#include <vector>
#include <thread>
#include <NTL/ZZ.h>
n... |
<commit_before>/***************************************************************************
* Copyright (C) 2005-2007 by the FIFE Team *
* fife-public@lists.sourceforge.net *
* This file is part of FIFE. *
... |
<commit_before>//
// Name: canvas.cpp
// Purpose: Implements the canvas class for the wxWindows application.
//
// Copyright (c) 2001 Virtual Terrain Project
// Free for all uses, see license.txt for details.
//
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifndef WX_PRECOMP... |
<commit_before>#include "contextpanetextwidget.h"
#include "contextpanewidget.h"
#include "ui_contextpanetext.h"
#include <qmljs/qmljspropertyreader.h>
#include <QTimerEvent>
namespace QmlDesigner {
ContextPaneTextWidget::ContextPaneTextWidget(QWidget *parent) :
QWidget(parent),
ui(new Ui::ContextPaneTextWidg... |
<commit_before>/* $Id$ */
#include <fe/fe.h>
#include <fe/quadrature.h>
#include <grid/tria_iterator.h>
#include <grid/tria_accessor.h>
template <int dim>
FEValues<dim>::UpdateStruct::UpdateStruct () :
q_points(false),
gradients(false),
jacobians(false),
JxW_values(false),
ansatz_points(false) {};
... |
<commit_before>#ifndef GNR_STRING_HPP
# define GNR_STRING_HPP
# pragma once
#include <cstring>
#include <algorithm>
#include <iterator>
#include <limits>
#include <sstream>
#include <string>
#include <optional>
#include <type_traits>
#include <utility>
#include <vector>
namespace gnr
{
// cstrlen
//////////... |
<commit_before>// For conditions of distribution and use, see copyright notice in license.txt
#include <boost/test/unit_test.hpp>
#include <OISKeyboard.h>
#include "CoreStdIncludes.h"
#include "Core.h"
#include "Foundation.h"
#include "ServiceInterfaces.h"
#include "StaticModuleDefinitions.h"
#include "... |
<commit_before>// Copyright (c) 2021 ASMlover. All rights reserved.
//
// _____ _ _
// |_ _|_ _ __| |_ __ ___ | | ___
// | |/ _` |/ _` | '_ \ / _ \| |/ _ \
// | | (_| | (_| | |_) | (_) | | __/
// |_|\__,_|\__,_| .__/ \___/|_|\___|
// |_|
//
// Redistribution and use in s... |
<commit_before>/*
* Copyright (c) 2007-2010 Digital Bazaar, Inc. All rights reserved.
*/
#include "monarch/http/HttpConnectionServicer.h"
#include "monarch/http/HttpRequest.h"
#include "monarch/http/HttpResponse.h"
#include "monarch/io/ByteArrayInputStream.h"
#include "monarch/logging/Logging.h"
#include <cstdlib>
... |
<commit_before>/*
* Copyright(c) Sophist Solutions Inc. 1990-2014. All rights reserved
*/
// TEST Foundation::DataExchange::Other
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/DataExchange/Atom.h"
#include "Stroika/Foundation/Debug/Assertions.h"
#include "Stroika/Founda... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2014. All rights reserved
*/
// TEST Foundation::Execution::ThreadSafetyBuiltinObject
#include "Stroika/Foundation/StroikaPreComp.h"
#include <mutex>
#include "Stroika/Foundation/Characters/String.h"
#include "Stroika/Foundation/Containe... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2022. All rights reserved
*/
// TEST Foundation::DataExchange::Other
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/DataExchange/Atom.h"
#include "Stroika/Foundation/DataExchange/InternetMediaType.h"
#include "Stroika/Fou... |
<commit_before>/*
* Copyright(c) Sophist Solutions, Inc. 1990-2020. All rights reserved
*/
// TEST Foundation::Execution::Other
#include "Stroika/Foundation/StroikaPreComp.h"
#include "Stroika/Foundation/DataExchange/ObjectVariantMapper.h"
#include "Stroika/Foundation/DataExchange/OptionsFile.h"
#include "Stroi... |
<commit_before>// Copyright (C) 2018 Egor Pugin <egor.pugin@gmail.com>
//
// 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 at http://mozilla.org/MPL/2.0/.
#include <primitives/date_time.h>
TimePoin... |
<commit_before>#include <debugger/bridge/delayload.h>
#include <debugger/lua.h>
#include <debugger/debugger.h>
#include <debugger/io/socket_impl.h>
#include <bee/utility/unicode.h>
#include <bee/net/endpoint.h>
#include <memory>
#include <string_view>
#if defined(DEBUGGER_BRIDGE)
#include <intrin.h>
#endif
static i... |
<commit_before>///
/// @file S2_easy.cpp
/// @brief Calculate the contribution of the clustered easy leaves
/// and the sparse easy leaves in parallel using OpenMP
/// (Deleglise-Rivat algorithm).
///
/// Copyright (C) 2014 Kim Walisch, <kim.walisch@gmail.com>
///
/// This file is distributed under the B... |
<commit_before>/* -*- coding: utf-8; mode: c++; tab-width: 3; indent-tabs-mode: nil -*-
Copyright 2010, 2011, 2012, 2013, 2014
Raffaello D. Di Napoli
This file is part of Application-Building Components (henceforth referred to as ABC).
ABC is free software: you can redistribute it and/or modify it under the terms o... |
<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>/***********************************************************************
filename: CEGUITreeItem.cpp
created: 5-13-07
author: Jonathan Welch (Based on Code by David Durant)
*************************************************************************/
/*************************************... |
<commit_before><commit_msg>Fix selectable.<commit_after><|endoftext|> |
<commit_before><commit_msg>VSCode test<commit_after><|endoftext|> |
<commit_before>/* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
#include "../platform.hpp"
#include "../js_init.h"
#include <string>
std::string s_default_realm_directory;
namespace realm {
void set_default_realm_file_directory(std::string dir) {
s_default_realm_directory =... |
<commit_before>/** @file distributed_tree.test.cc
*
* A "stress" test driver for distributed trees.
*
* @author Dongryeol Lee (dongryel@cc.gatech.edu)
*/
#include <boost/mpi.hpp>
#include <omp.h>
#include <time.h>
#include "core/metric_kernels/lmetric.h"
#include "core/parallel/random_dataset_generator.h"
#incl... |
<commit_before>/*
* 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 later version.
*
* Written (W) 2006 Christian Gehl
* Co... |
<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>#include "nw_screen_api.h"
#if defined(OS_WIN)
#include "windows.h"
#endif
#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... |
<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/window_sizer.h"
#include <gtk/gtk.h>
#include "base/logging.h"
#include "chrome/browser/browser.h"
// How m... |
<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 "chrome/common/chrome_version_info.h"
#include "base/basictypes.h"
#include "base/file_version_info.h"
#include "base/string_... |
<commit_before>/* $Id$ */
/* Author: Wolfgang Bangerth, University of Heidelberg, 1999 */
#include <base/quadrature_lib.h>
#include <base/convergence_table.h>
#include <grid/grid_generator.h>
#include <grid/tria_accessor.h>
#include <grid/tria_iterator.h>
#include <grid/tria_boundary_lib.h>
#include <grid/tria.h>
#inc... |
<commit_before>#ifndef __VELBUSMESSAGE_PUSHBUTTONSTATUS_HPP__
#define __VELBUSMESSAGE_PUSHBUTTONSTATUS_HPP__
#include "VelbusMessage.hpp"
namespace VelbusMessage {
class PushButtonStatus : public VelbusMessage {
public:
char m_just_pressed;
char m_just_released;
char m_long_pressed;
protected:
PushButtonStatus(... |
<commit_before>/*
Copyright (C) 2004, David Faure <faure@kde.org>
This file is part of the KDE project
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License version 2, as published by the Free Software Foundation.
This... |
<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 <qimessaging/datastream.hpp>
#include <c/src/message_c_p.h>
#include <gtest/gtest.h>
qi::IDataStream &get_is(q... |
<commit_before>/*
* Vulkan Samples
*
* Copyright (C) 2016 Valve Corporation
* Copyright (C) 2016 LunarG, Inc.
* Copyright (C) 2016 Google, 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 t... |
<commit_before>// __BEGIN_LICENSE__
// Copyright (c) 2009-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NGT platform is licensed under the Apache License, Version 2.0 (the
// "License"); you may not use ... |
<commit_before>#include <stan/services/sample/hmc_nuts_diag_e_adapt.hpp>
#include <stan/io/empty_var_context.hpp>
#include <stan/callbacks/unique_stream_writer.hpp>
#include <test/unit/util.hpp>
#include <test/test-models/good/optimization/rosenbrock.hpp>
#include <test/unit/services/instrumented_callbacks.hpp>
#includ... |
<commit_before>/* -------------------------------------------------------------------------- *
* OpenSim: testAnalyzeTutorialOne.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and ... |
<commit_before>/** @file gsBoundaryConditions_test.cpp
@brief test gsPde/gsBoundaryConditions
This file is part of the G+Smo 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 with this
file, You can obtain one at... |
<commit_before>/* Copyright 2020 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>#include "response.hh"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
using testing::Field;
using testing::UnorderedElementsAre;
TEST(ResponseTest, ParsesSuccessResponse) {
using namespace std::chrono_literals;
const aur::RpcResponse response(R"({
"version": 5,
"type": "multiinfo",
... |
<commit_before>/* -------------------------------------------------------------------------- */
/* Copyright 2002-2020, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "Licens... |
<commit_before>//------------------------------------------------------------------------------
// bb_toposort_sccs LLVM sample. Demonstrates:
//
//
// Eli Bendersky (eliben@gmail.com)
// This code is in the public domain
//------------------------------------------------------------------------------
#include "llvm/AD... |
<commit_before>// Copyright (c) 2015-2016 The Bitcoin Core developers
// Copyright (c) 2021 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <bench/bench.h>
#include <bls/bls_wrapper.h>
#include <cry... |
<commit_before>// Copyright (c) 2016 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 "bench.h"
#include "chainparams.h"
#include "validation.h"
#include "streams.h"
#include "consensus/valid... |
<commit_before>// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/util/alloc.h>
#include <vespa/vespalib/util/exceptions.h>
#include <cstddef>
using namespace vespalib;
using namesp... |
<commit_before>/*
Empath - Mailer for KDE
Copyright 1999, 2000
Rik Hemsley <rik@kde.org>
Wilco Greven <j.w.greven@student.utwente.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
th... |
<commit_before>/*
* Copyright 2007-2017 Content Management AG
* 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... |
<commit_before>// Copyright 2015 MongoDB Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.