Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3.08k
12.5k
/* * This file is part of the Simutrans project under the Artistic License. * (see LICENSE.txt) */ #include <string.h> #include "../simworld.h" #include "../simobj.h" #include "../simmem.h" #include "../display/simimg.h" #include "../bauer/brueckenbauer.h" #include "../descriptor/bridge_desc.h" #include "../bod...
/******************************************************************************* * Copyright 2014-2019 Intel 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.apa...
//===- bugpoint.cpp - The LLVM Bugpoint utility ---------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#include <nano/lib/errors.hpp> #include <nano/lib/threading.hpp> #include <nano/lib/utility.hpp> #include <nano/node/cli.hpp> #include <nano/node/ipc/ipc_server.hpp> #include <nano/rpc/rpc.hpp> #include <nano/rpc/rpc_request_processor.hpp> #include <nano/secure/utility.hpp> #include <boost/filesystem.hpp> #include <bo...
// // composed_3.cpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2021 <NAME> (chris at kohlhoff dot com) // // 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) // #include <asio/bind_executor.hpp> #include <asio/io_cont...
#include "kl25_tsi.h" #include "mbed.h" /****************************************************************************** * Example 1 : put a cable on A0 pin and touch this pin for lighting red light #include "mbed.h" DigitalOut red(LED_RED); int main(){ uint16_t sense_A0; tsiInit(TSI_CURRENT_8uA, TSI_CURRENT_64...
#include "IEngine.hpp" #include "Vector.hpp" #include "IRenderWorld.hpp" #include "GameEntity.hpp" #include <iostream> #include <chrono> #include "SDL.h" #include "SDL_opengl.h" #include "glm/gtc/matrix_transform.hpp" #include "Engine.hpp" namespace chrono = std::chrono; IEngine* IEngine::AllocateIns...
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file contains basic "crash-and-recover" test support where the inferior // crashes and then the cause of the crash is fixed in the debugger and the...
#include "formatter_test.h" static const int32_t veryveryveryveryveryverylong1 = 100; static const int32_t veryveryveryveryveryverylong2 = 100; static const int32_t veryveryveryveryveryverylong3 = 100; static const int32_t veryveryveryveryveryverylong4 = 100; // before class class tc final { // on class public: ...
/* * Copyright (c) 2014, <NAME>, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include "Ra...
// Copyright 1996-2020 Cyberbotics 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 required by applicable law or agr...
#include <iostream> #include <cmath> #include <cassert> using namespace std; double pai = 3.1415927; typedef struct { double x; double y; } Point; double eq(double d0, double d1, bool sqr = false) { // return sqr ? (abs(d0 - d1) < (d0 / 10000)) : abs(d0 - d1) < 0.01; return sqr ? eq(sqrt(d0), sqr...
/******************************************************************************* * * Program: Friend Functions Examples * * Description: Examples of how to use friend functions in C++. * * YouTube Lesson: https://www.youtube.com/watch?v=lOfI1At3tKM * * Author: <NAME> @ https://portfoliocourses.com * *****************...
// Copyright (c) 2011-2016 The Bitcoin Core developers // Copyright (c) 2019 The Yiya Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "assettablemodel.h" #include "assetrecord.h" #include "guiconstants....
#include<stdio.h> #include <stdlib.h> struct node { unsigned int rc; int value; struct node *node1; struct node *node2; struct node *node3; }; typedef struct node Node; Node *address_arr[10]; Node *root_arr[15]; int adjcency_matrix_root1[10][10]; int adjcency_matrix_root2[10][10]; const Node ...
/* Author: <NAME> E-mail: <EMAIL> Date: 2020/05/30 */ #include <gtest/gtest.h> #include <time.h> #include "../../src/common/benchmarkoptionsparser.h" #include "../../src/common/utility.h" #include "../common/basetest.h" using namespace std; using ::testing::Values; using ::testing::WithParamInterface; ...
// -*- C++ -*- // /* Description: <one line class summary> Implementation: <Notes on implementation> */ // // Original Author: <NAME> // Created: Wed May 3 10:30:00 CEST 2006 // // // system include files #include <memory> // user include files #include "FWCore/Framework/interface/Frameworkfwd.h" ...
#include "Poco/CountingStream.h" #include "Poco/NullStream.h" #include "Poco/StreamCopier.h" #include <ctrl/form/User.h> using namespace ctrl::form; static const std::string birthdayFormat = "%Y-%n-%e"; std::string birthdayFromDate(const Poco::DateTime &date) { return Poco::DateTimeFormatter::format(date, birthd...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ #include "GeoMesh.h" #include "GeoElementSide.h" ///\cond #include <stdio.h> #include <algorithm> ///\endcond GeoElementSide::GeoEl...
/*BEGIN_LEGAL Intel Open Source License Copyright (c) 2002-2012 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 noti...
/*************************************************************************\ C O P Y R I G H T Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland. All Rights Reserved. Permission to use, copy, modify and distribute this software and its doc...
/* * Copyright (c) 2003 The Regents of The University of Michigan * 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, ...
//////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2014-2021, Lawrence Livermore National Security, LLC. // Produced at the Lawrence Livermore National Laboratory. // Written by the LBANN Research Team (<NAME>, et al.) listed in // the CONTRIBUTORS file. <<EMAIL>> // // LL...
// Copyright (C) 2018-2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <map> #include <memory> #include <string> #include <algorithm> #include <vector> #include <ie_layouts.h> #include <ie_iextension.h> #include <ie_blob.h> #include <ngraph/op/op.hpp> #include <ngraph/node.hpp> #include <ngr...
//===--- SwitchEnumBuilder.cpp --------------------------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2010-2013, Image Engine Design 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: // // ...
/* MIT License Copyright (c) 2019 <NAME> 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, modify, merge, publish, distrib...
//////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 - 2020, <NAME>, <NAME>, <NAME>. // // 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 wit...
#include "update_rules_editor.h" #include "nodes_editor/imguinodegrapheditor.h" #include "UpdateRulesHandler/node_graph_instance.h" #include "JSON_nlohmann/json.hpp" #include <vector> #include <string> using json = nlohmann::json; UpdateRulesEditor::UpdateRulesEditor(){ mEditor = ImGui::NodeGraphEditor(); mEdit...
/*************************************************************************** * @file main.cpp * @author Alan.W * @date 3 Mar 2014 * @remark This code is for the exercises from C++ Primer 5th Edition * @note ***************************************************************************/ // /...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "src/gpu/GrTextureRenderTargetProxy.h" #include "include/gpu/GrTexture.h" #include "src/gpu/GrCaps.h" #include "src/gpu/GrContextPriv.h" #include "src/gpu/GrRenderTa...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
12