text
stringlengths
7
961k
/************************************************************** modeline.cpp - Modeline generation and scoring routines --------------------------------------------------------- Switchres Modeline generation engine for emulation License GPL-2.0+ Copyright 2010-2021 Chris Kennedy, Antonio Gine...
/******************************************************************************* * Copyright 2021 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.apache.org/l...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file cLwoSurface.cxx * @aut...
// 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 "webkit/tools/test_shell/simple_dom_storage_system.h" #include "base/auto_reset.h" #include "googleurl/src/gurl.h" #include "third_party/Web...
#include <qpdf/JSON.hh> #include <qpdf/QUtil.hh> #include <qpdf/QTC.hh> #include <stdexcept> JSON::Members::~Members() { } JSON::Members::Members(PointerHolder<JSON_value> value) : value(value) { } JSON::JSON(PointerHolder<JSON_value> value) : m(new Members(value)) { } JSON::JSON_value::~JSON_value() { } J...
// (C) Copyright Edward Diener 2015 // Use, modification and distribution are 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). #if !defined(BOOST_VMD_ARRAY_TO_TUPLE_HPP) #define BOOST_VMD_ARRAY_TO_TUPLE_HPP #include ...
#include "fs/file.hh" #include <cstdio> namespace fs { file::file() = default; file::~file() = default; file::file(file&&) = default; file& file::operator=(file&&) = default; FILE* file::fopen(path file, char const* mode) noexcept { file.make_preferred(); #if defined WIN32 || defined _WIN32 #ifdef _MSC_VER #p...
// Copyright 2020 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 "services/network/trust_tokens/sqlite_trust_token_persister.h" #include "base/callback_forward.h" #include "base/files/file_path.h" #include "ba...
// Part of measurement-kit <https://measurement-kit.github.io/>. // Measurement-kit is free software. See AUTHORS and LICENSE for more // information on the copying conditions. #include <functional> #include <iostream> #include <string> #include <sys/time.h> #include "src/tor/onion-poller.hpp" #include "src/net/socks....
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/foreach.hpp> #include <boost/tuple/tuple.hpp> using namespace std;...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization // /...
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
#include "Simplify_Internal.h" namespace Halide { namespace Internal { Expr Simplify::visit(const Add *op, ExprInfo *bounds) { ExprInfo a_bounds, b_bounds; Expr a = mutate(op->a, &a_bounds); Expr b = mutate(op->b, &b_bounds); if (bounds && no_overflow_int(op->type)) { bounds->min_defined = a_...
#include "stdafx.h" #include "AnimalEnclosure.h" #include "Person.h" #include "foodSeller.h" #include "Visitor.h" #include "Adult.h" #include "Animal.h" #include "AnimalFood.h" #include "Child.h" #include "Elephant.h" #include "foodSeller.h" #include "Giraffe.h" #include "Money.h" #include "Monkey.h" #include "zooKeepe...
// Copyright (c) 2015 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 <vector> #include "prevector.h" #include "random.h" #include "serialize.h" #include "streams.h" #include "test/test_cla...
/****************************************************************************** ** (C) Chris Oldwood ** ** MODULE: STATUSBARICON.CPP ** COMPONENT: Windows C++ Library ** DESCRIPTION: CStatusBarIcon class definition. ** ******************************************************************************* */ #include "Common...
// Copyright (c) 2014 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "alarm/alarm_manager.h" #include <app.h> #include "alarm/alarm_info.h" #include "common/logger.h" namespace { const char kAlarmInfoKey[] = "...
/* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distributed i...
struct MBC5 : Mapper { Node::Rumble rumble; auto load(Node::Object) -> void override; auto read(uint16 address) -> uint8; auto write(uint16 address, uint8 data) -> void; auto power() -> void; auto serialize(serializer&) -> void; struct IO { struct ROM { uint9 bank = 0x01; } rom; struct...
/*! \file wss_client.cpp \brief WebSocket secure client implementation \author Ivan Shynkarenka \date 23.05.2019 \copyright MIT License */ #include "server/ws/wss_client.h" namespace CppServer { namespace WS { bool WSSClient::Connect() { _sync_connect = true; return HTTPSClient::Connect()...
/* * Copyright (C) 2016 Igalia S.L. 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 copyright * notice, this list of conditions ...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkSGMerge.h" #include "SkCanvas.h" #include "SkPathOps.h" namespace sksg { Merge::Merge(std::vector<sk_sp<GeometryNode>>&& geos, Mode mode) : fGeos(std::move(...
/** * @file * @brief Monster behaviour functions. **/ #include "AppHdr.h" #include "mon-behv.h" #include "ability.h" #include "act-iter.h" #include "areas.h" #include "attitude-change.h" #include "coordit.h" #include "database.h" #include "dgn-overview.h" #include "dungeon.h" #include "fineff.h" #include "god-pass...
#include "PathController.h" #include "Sensing/JointSensors.h" #include "Modeling/Conversions.h" #include <KrisLibrary/spline/Hermite.h> #include <sstream> #include <fstream> const static Real gJointLimitEpsilon = 1e-7; const static Real gVelocityLimitEpsilon = 1e-7; template <class T> bool ReadVectorFile(File& f,std...
#include "module.h" #include "polyhedron.h" namespace possumwood { namespace cgal { std::string Module::name() { return "cgal"; } void Module::init(possumwood::lua::State& state) { using namespace luabind; module(state, name().c_str())[class_<PolyhedronWrapper::Face>("face") ....
// // AssignmentClient.cpp // assignment-client/src // // Created by Stephen Birarda on 11/25/2013. // Copyright 2013 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include <QtCore/QProcess> ...
#include <cstdio> #include <cstring> #include <vector> #include <algorithm> using namespace std; #define NMAX 500 #define MMAX 1000000 #define MOD 998244353 typedef long long i64; static int n, m; static int c[MMAX + 10]; static int L[NMAX + 10], R[NMAX + 10]; static bool taken[NMAX + 10]; static vector<int> ch[NM...
// Copyright (c) 2018 The Chromium Embedded Framework 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 was generated by the CEF translato...
#pragma once #include <raindance/Core/Headers.hh> #include <raindance/Core/Transformation.hh> #include <raindance/Core/Controller.hh> #include <raindance/Core/Interface/Box.hh> #include <raindance/Core/GUI/Viewport.hh> // TODO: Move Viewport.hh inside Interface/ #include <raindance/Core/Primitives/Rectangle.hh> #incl...
/* Q: Find Last Less Time limit 1 second Memory limit 256Mb Input standard input or input.txt Output standard output or output.txt In this problem your task will be to process multiple queries in the form “find the index of the rightmost integer in a sorted array which is less t...
// // Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net) // // 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 <boost/di.hpp> namespace di = boost::di; int main() { // clang-format off di::m...
#include "SysFont.h" #include "DDImage.h" #include "SexyAppBase.h" #include "Graphics.h" #include "ImageFont.h" #include "MemoryImage.h" #include "DDInterface.h" #include "D3DInterface.h" #include "WidgetManager.h" #include <stdlib.h> using namespace Sexy; SysFont::SysFont(const std::string& theFace, int thePointSize...
// ForkENGINE: Network Test // 30/03/2014 #include <fengine/core.h> #include <fengine/network.h> #include <chrono> using namespace Fork; static void PrintIPAddress(const std::string& hostName, unsigned short port = 80) { IO::Log::Message( hostName + " -> " + Network::AddressIPv4(port, hostName, ...
// 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 "ui/chromeos/events/event_rewriter_chromeos.h" #include <fcntl.h> #include <stddef.h> #include "base/feature_list.h" #include "base/files/file_...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers // Copyright (c) 2021 The Bitcoin3 Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <amount.h> #include <chain...
/* Copyright 2020 The OneFlow 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 applicable law or agre...
// Notice: The majority of this code was written by Dale Schuurmans, and was // copied and pasted with his permission #include "skeleton.h" #include "motion.h" using namespace std; using namespace Eigen; void motion::readBvhMotion(char *fileName, skeleton skel) { string line, token, token2; unsigned int numFrame...
//***************************************************************************** // Copyright 2017-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://w...
#ifndef EnumHash_hpp #define EnumHash_hpp struct EnumHash { template <typename T> std::size_t operator()(T t) const { return static_cast<std::size_t>(t); } }; #endif /* EnumHash_hpp */
#include <iostream> #include <memory> using namespace std; struct Car { int num_wheels; int horsepower; }; int main() { unique_ptr<Car> c {new Car}; cout << "How many wheels does the car have? " << endl; cin >> c->num_wheels; if (c->num_wheels > 4) { cout << "That's a lot of wheels....
//===--- RemoveUnusedReturnValuesPass.h - Transforming functions to void --===// // // SimpLL - Program simplifier for analysis of semantic difference // // // This file is published under Apache 2.0 license. See LICENSE for details. // Author: Tomas Glozar, tglozar@gmail.com //===---------------------------...
// ---------------------------------------------------------------------------- // - Open3D: www.open3d.org - // ---------------------------------------------------------------------------- // The MIT License (MIT) // // Copyright (c) 2018 www.open3d.org // // Permissio...
#include <mbgl/renderer/sources/render_raster_source.hpp> #include <mbgl/renderer/render_tile.hpp> #include <mbgl/tile/raster_tile.hpp> #include <mbgl/algorithm/update_tile_masks.hpp> #include <mbgl/renderer/tile_parameters.hpp> namespace mbgl { using namespace style; RenderRasterSource::RenderRasterSource(Immutable...
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKcommon * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
#include "Note.h" Note::Note(int jalur, int x, int y) { this->x = x; this->y = y; this->jalur = jalur; } void Note::Draw(wxBufferedPaintDC & dc) { dc.SetPen(*wxBLACK_PEN); dc.SetBrush(*wxRED_BRUSH); dc.DrawRectangle(wxPoint(x, y), wxSize(width, height)); } void Note::Move() { y++; } wxPoint Note::getPos() { ...
#include <iostream> #include <iomanip> #include <fstream> #include <string> #include <vector> #include <bits/stdc++.h> std::vector<std::string> getFileContent(std::ifstream *inFile) { std::vector<std::string> out; std::string line; while (std::getline(*inFile, line)) { out.push_back(line); ...
#include <QtGlobal> // Automatically generated by extract_strings.py #ifdef __GNUC__ #define UNUSED __attribute__((unused)) #else #define UNUSED #endif static const char UNUSED *bitcoin_strings[] = { QT_TRANSLATE_NOOP("bitcoin-core", "" "%s, you must set a rpcpassword in the configuration file:\n" "%s\n" "It is recomme...
#include "ctestnumbersum.h" bool CTestNumberSum::TestNumbers(const uint64 i, const uint64 j, sTestPerformanceAspect &prf) { CNumber a(i); CNumber b(j); CNumber s = a + b; prf.Inc(); uint64 k = s.ToUint64(); if (not ((i + j) == k)) { printf("ERROR %lu + %lu\n", i, j); return ...
/* Copyright (c) 2007-2016 Contributors as noted in the AUTHORS file This file is part of libzmq, the ZeroMQ core engine in C++. libzmq is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Found...
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/array/NumpyArray.cpp", line) #define FILENAME_C(line) FILENAME_FOR_EXCEPTIONS_C("src/libawkward/array/NumpyArray.cpp", line) #include <algorithm> #include <complex> #...
// STL-like templated tree class. // // Copyright (C) 2001-2015 Kasper Peeters <kasper@phi-sci.com> // Distributed under the GNU General Public License version 3. // // Special permission to use tree.hh under the conditions of a // different license can be requested from the author. /** \mainpage tree.hh \author ...
// Copyright Maarten L. Hekkelman, Radboud University 2008-2011. // 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) // // A DSSP reimplementation #include "mas.h" #if defined(_MSC_VER...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_common.h> #include <ie_blob.h> #include "vpu_test_common_definitions.hpp" #include "single_layer_common.hpp" #include "myriad_layers_reference_functions.hpp" class VpuTestNet { public: using Callback...
#include "sendcoinsdialog.h" #include "ui_sendcoinsdialog.h" #include "init.h" #include "walletmodel.h" #include "addresstablemodel.h" #include "addressbookpage.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "optionsmodel.h" #include "sendcoinsentry.h" #include "guiutil.h" #include "askpassphrased...
// Copyright (c) 2018 The PIVX developers // Copyright (c) 2019 The CryptoDev developers // Copyright (c) 2019 The deyoonoo developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "proposalframe.h" #include "mastern...
/*============================================================================= Copyright (c) 2001-2011 Joel de Guzman Copyright (c) 2011 Eric Niebler 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) ====...
/** * Copyright 2021 Huawei Technologies Co., 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...
/* * Copyright (c) 2014 The WebRTC 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 in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
// Copyright 2017 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. #include <lib/async-testutils/dispatcher_stub.h> namespace async { namespace { zx_time_t stub_now(async_dispatcher_t* dispatcher) { return (static_c...
#include "header.h" static int *argc_ptr = NULL; static char **argv_ptr = NULL; void entrypoint(void *arg) { int i, j, k, ii; double **A, ** temp; int A_i, A_j, T_i, T_j; FILE *in, *out; int i_b, j_b; int matrixSize = -1; int tileSize = -1; int numTiles = -1; TileBlock **** lkji;...
/* The copyright in this software is being made available under the BSD * License, included below. This software may be subject to other third party * and contributor rights, including patent rights, and no such rights are * granted under this license. * * Copyright (c) 2010-2021, ITU/ISO/IEC * All rights reserve...
/* *********************************************************************************************************************** * * Copyright (c) 2014-2021 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
// 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 "ui/events/ozone/evdev/libgestures_glue/gesture_interpreter_libevdev_cros.h" #include <gestures/gestures.h> #include <libevdev/libevdev.h> #incl...
#pragma once #include "CommonStructs.hpp" namespace simple_flight { class IStateEstimator { public: virtual Axis3r getAngles() const = 0; virtual Axis3r getAngulerVelocity() const = 0; }; }
/* * Copyright (C) 2018 Codership Oy <info@codership.com> * * This file is part of wsrep-lib. * * Wsrep-lib 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 * (at you...
/********************************************************************** Audacity: A Digital Audio Editor VSTEffect.cpp Dominic Mazzoni This class implements a VST Plug-in effect. The plug-in must be loaded in a platform-specific way and passed into the constructor, but from here this class handles the ...
// Ceres Solver - A fast non-linear least squares minimizer // Copyright 2010, 2011, 2012 Google Inc. All rights reserved. // http://code.google.com/p/ceres-solver/ // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // ...
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1998. // // File: VolInfo.hxx // // Contents: Grab bag for volume-wide information // // History: 28-Jul-98 KyleP Pulled from cicat.hxx // //------------...
/*============================================================================= Copyright (c) 2014-2019 Joel de Guzman. All rights reserved. Distributed under the MIT License [ https://opensource.org/licenses/MIT ] =============================================================================*/ #include <q/suppor...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: koinos/chain/chain.proto #include "koinos/chain/chain.pb.h" #include <algorithm> #include <google/protobuf/io/coded_stream.h> #include <google/protobuf/extension_set.h> #include <google/protobuf/wire_format_lite.h> #include <google/protobuf/descr...
/* reverse engineering by sigsegv * based on TF2 version 20151007a * server/NextBot/Path/NextBotPath.cpp */ ConVar NextBotPathDrawIncrement("nb_path_draw_inc", "100", FCVAR_CHEAT); ConVar NextBotPathDrawSegmentCount("nb_path_draw_segment_count", "100", FCVAR_CHEAT); ConVar NextBotPathSegmentInfluenceRadius("nb_pat...
/***************************************************************************************** * * * OpenSpace * * ...
/*----------------------------------------------------------------------- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under ...
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include "GameApplication.h" #include <AzCore/IO/Path/Path.h> #include <AzCore/Settings/SettingsRe...
/* NAME: NMixinContainer.inl DESCRIPTION: Mix-in for container objects. COPYRIGHT: Copyright (c) 2006-2021, refNum Software 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. Redis...
// Copyright (c) 2011-2013 The Bitcoin Core developers // Copyright (c) 2017-2019 The BITRUBCOIN developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <boost/test/unit_test.hpp> #include <stdint.h> #include <sstrea...
// 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/notification_service_impl.h" #include "base/lazy_instance.h" #include "base/logging.h" #include "base/threading/thread_loca...
#include "ofUtils.h" #include "ofImage.h" #include "ofTypes.h" #include "ofGraphics.h" #include "ofAppRunner.h" #include "Poco/String.h" #include "Poco/LocalDateTime.h" #include "Poco/DateTimeFormatter.h" #include "Poco/URI.h" #include <cctype> // for toupper #include <vector> #include <locale> #ifdef TARGET_WIN32 #...
// Copyright (c) 2019 Christopher A. Taylor. All rights reserved. /* Video encoder using Intel QuickSync Video extensions via the Intel Media SDK with system memory for input and output. */ #pragma once #include "MfxTools.hpp" #ifdef _WIN32 #include "MfxDirect3D9.hpp" #endif #include <core.hpp> #include <...
/// \file fon9/rc/Rc_UT.cpp /// \author fonwinz@gmail.com #include "fon9/TestTools.hpp" #include "fon9/io/SimpleManager.hpp" #include "fon9/rc/RcSession.hpp" #include "fon9/rc/RcFuncConn.hpp" #include "fon9/framework/Framework.hpp" #include "fon9/framework/IoManagerTree.hpp" #include "fon9/auth/SaslScramSha256Server....
#include <isl/set.h> #include <isl/union_map.h> #include <isl/union_set.h> #include <isl/ast_build.h> #include <isl/schedule.h> #include <isl/schedule_node.h> #include <tiramisu/debug.h> #include <tiramisu/core.h> #include <tiramisu/utils.h> #include <string.h> #include "configure.h" #define SCHEDULE_CPU 1 using na...
#include <iostream> using namespace std; float calculate_fare(string mod, int days, string type) { float cost = 0.0; int min_kms = 0; if(mod == "Hatchback") cost = 15.0; else if(mod == "Sedan") cost = 20.0; else if(mod == "Multi-Utility Vehicle (MUV)") cost = 25.0; els...
// // FILE NAME: CIDXML_CMNodes_.hpp // // AUTHOR: Dean Roddey // // CREATED: 11/25/1999 // // COPYRIGHT: Charmed Quark Systems, Ltd @ 2019 // // This software is copyrighted by 'Charmed Quark Systems, Ltd' and // the author (Dean Roddey.) It is licensed under the MIT Open Source // license: // // https://opensourc...
/****************************************************************************** * $Id$ * * Project: OpenGIS Simple Features Reference Implementation * Purpose: The OGRFieldDefn class implementation. * Author: Frank Warmerdam, warmerda@home.com * ***************************************************************...
// 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 "gpu/command_buffer/service/program_manager.h" #include <algorithm> #include "base/memory/scoped_ptr.h" #include "base/strings/string_numbe...
// Copyright 2017 David Conran #include "IRsend.h" #include "IRsend_test.h" #include "gtest/gtest.h" // Tests for sendNEC(). // Test sending typical data only. TEST(TestSendNEC, SendDataOnly) { IRsendTest irsend(4); irsend.begin(); irsend.sendNEC(0); EXPECT_EQ( "f38000d33" "m8960s4480m560s560m560...
/************************************************************************************ * * D++, A Lightweight C++ library for Discord * * Copyright 2021 Craig Edwards and D++ contributors * (https://github.com/brainboxdotcc/DPP/graphs/contributors) * * Licensed under the Apache License, Version 2.0 (the "License...
#include "cose/cose.h" #include "cose/cose_configure.h" #include "cose_int.h" #include "cose_crypto.h" #include <assert.h> #ifndef __MBED__ #include <memory.h> #endif #include <stdlib.h> #ifdef COSE_C_USE_MBEDTLS #include "mbedtls/ccm.h" #include "mbedtls/md.h" #include "mbedtls/ctr_drbg.h" #include "mbedtls/entropy...
// The Reactive C++ Toolbox. // Copyright (C) 2013-2019 Swirly Cloud Limited // Copyright (C) 2021 Reactive Markets Limited // // 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:...
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
#include <SFML/Graphics.hpp> #include <iostream> #include "Player.h" #include "Crops.h" //Game Screen Variables //Assigns a value for each screen const int GAME_MENU_SCREEN = 0; //Main game screen const int INSTRUCTIONS_MENU_SCREEN = 1; //Instructions Menu screen const int LEVEL_1_SCREEN = 2; // Level 1 of the game c...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "Sample.h" #include "SkCanvas.h" #include "SkColorFilter.h" #include "SkGradientShader.h" #include "SkImage.h" #include "SkPath.h" #include "SkRegion.h" #include "SkS...
#include <iostream> #include <fstream> #include <string> #include <utility> #include <vector> #include <algorithm> #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h"...
// Copyright (c) 2020. Mohit Deshpande. // // 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...
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1992 - 1994. // // File: shrinfo.cxx // // Contents: Lanman SHARE_INFO_502 encapsulation // // History: 21-Feb-95 BruceFo Created // //--------------------...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) | +---------...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
#include <gtest/gtest.h> #include "binary_search_tree.hpp" namespace gt = testing; namespace pk { namespace testing { struct binary_search_tree_tester : public gt::Test { static const int MAX_SIZE = 20; // tested class: binary_search_tree<int, MAX_SIZE> bst; }; TEST_F(binary_search_tree_tester, te...
#include<iostream> using namespace std; int main() { cout<<"Hello World!"<<endl; return 0; }