repo_name
stringclasses
10 values
file_path
stringlengths
29
222
content
stringlengths
24
926k
extention
stringclasses
5 values
fprime
data/projects/fprime/Drv/StreamCrossover/test/ut/StreamCrossoverTester.cpp
// ====================================================================== // \title StreamCrossover.hpp // \author ethanchee // \brief cpp file for StreamCrossover test harness implementation class // ====================================================================== #include "StreamCrossoverTester.hpp" namespa...
cpp
fprime
data/projects/fprime/Drv/StreamCrossover/test/ut/StreamCrossoverTester.hpp
// ====================================================================== // \title StreamCrossover/test/ut/Tester.hpp // \author ethanchee // \brief hpp file for StreamCrossover test harness implementation class // ====================================================================== #ifndef TESTER_HPP #define TES...
hpp
fprime
data/projects/fprime/Drv/DataTypes/DataBuffer.cpp
#include <Drv/DataTypes/DataBuffer.hpp> #include <Fw/Types/Assert.hpp> namespace Drv { DataBuffer::DataBuffer(const U8 *args, NATIVE_UINT_TYPE size) { Fw::SerializeStatus stat = Fw::SerializeBufferBase::setBuff(args,size); FW_ASSERT(Fw::FW_SERIALIZE_OK == stat,static_cast<NATIVE_INT_TYPE>(stat)); ...
cpp
fprime
data/projects/fprime/Drv/DataTypes/DataBuffer.hpp
#ifndef _DrvDataBuffer_hpp_ #define _DrvDataBuffer_hpp_ #include <FpConfig.hpp> #include <Fw/Types/Serializable.hpp> namespace Drv { class DataBuffer : public Fw::SerializeBufferBase { public: enum { DATA_BUFFER_SIZE = 256, SERIALIZED_TYPE_ID = 1010, ...
hpp
fprime
data/projects/fprime/Drv/TcpServer/TcpServer.hpp
// ====================================================================== // TcpServer.hpp // Standardization header for TcpServer // ====================================================================== #ifndef Drv_TcpServer_HPP #define Drv_TcpServer_HPP #include "Drv/TcpServer/TcpServerComponentImpl.hpp" namespac...
hpp
fprime
data/projects/fprime/Drv/TcpServer/TcpServerComponentImpl.cpp
// ====================================================================== // \title TcpServerComponentImpl.cpp // \author mstarch // \brief cpp file for TcpServerComponentImpl component implementation class // // \copyright // Copyright 2009-2020, by the California Institute of Technology. // ALL RIGHTS RESERVED. Un...
cpp
fprime
data/projects/fprime/Drv/TcpServer/TcpServerComponentImpl.hpp
// ====================================================================== // \title TcpServerComponentImpl.hpp // \author mstarch // \brief hpp file for TcpServerComponentImpl component implementation class // // \copyright // Copyright 2009-2020, by the California Institute of Technology. // ALL RIGHTS RESERVED. Un...
hpp
fprime
data/projects/fprime/Drv/TcpServer/test/ut/TcpServerTester.hpp
// ====================================================================== // \title TcpServer/test/ut/Tester.hpp // \author mstarch // \brief hpp file for ByteStreamDriverModel test harness implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED....
hpp
fprime
data/projects/fprime/Drv/TcpServer/test/ut/TcpServerTestMain.cpp
// ---------------------------------------------------------------------- // TestMain.cpp // ---------------------------------------------------------------------- #include "TcpServerTester.hpp" TEST(Nominal, BasicMessaging) { Drv::TcpServerTester tester; tester.test_basic_messaging(); } TEST(Nominal, BasicR...
cpp
fprime
data/projects/fprime/Drv/TcpServer/test/ut/TcpServerTester.cpp
// ====================================================================== // \title TcpServerTester.cpp // \author mstarch // \brief cpp file for TcpServerTester for TcpServer // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsors...
cpp
fprime
data/projects/fprime/config/TlmChanImplCfg.hpp
/** * \file * \author T. Canham * \brief Configuration file for Telemetry Channel component * * \copyright * Copyright 2009-2015, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. * <br /><br /> */ #ifndef TLMCHANIMPLCFG_HPP_ #define TLMCH...
hpp
fprime
data/projects/fprime/config/ActiveRateGroupCfg.hpp
/* * \author: Tim Canham * \file: * \brief * * This file has configuration settings for the ActiveRateGroup component. * * * Copyright 2014-2015, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. * */ #ifndef ACTIVERATEGROUP_ACTIVERATEGROUPCFG_...
hpp
fprime
data/projects/fprime/config/StaticMemoryConfig.hpp
/* * StaticMemoryCfg.hpp: * * Configuration settings for the static memory component. */ #ifndef SVC_STATIC_MEMORY_CFG_HPP_ #define SVC_STATIC_MEMORY_CFG_HPP_ namespace Svc { enum StaticMemoryConfig { STATIC_MEMORY_ALLOCATION_SIZE = 2048 }; } #endif
hpp
fprime
data/projects/fprime/config/UdpSenderComponentImplCfg.hpp
/* * UdpSenderComponentImplCfg.hpp * * Created on: Nov 11, 2017 * Author: tim */ #ifndef SVC_UDPSENDER_UDPSENDERCOMPONENTIMPLCFG_HPP_ #define SVC_UDPSENDER_UDPSENDERCOMPONENTIMPLCFG_HPP_ #include <FpConfig.hpp> namespace Svc { static const NATIVE_UINT_TYPE UDP_SENDER_MSG_SIZE = 256; } #endif /* SVC_U...
hpp
fprime
data/projects/fprime/config/PrmDbImplCfg.hpp
/* * PrmDblImplCfg.hpp * * Created on: Mar 13, 2015 * Author: tcanham */ #ifndef PRMDB_PRMDBLIMPLCFG_HPP_ #define PRMDB_PRMDBLIMPLCFG_HPP_ // Anonymous namespace for configuration parameters namespace { enum { PRMDB_NUM_DB_ENTRIES = 25, // !< Number of entries in the parameter database ...
hpp
fprime
data/projects/fprime/config/IpCfg.hpp
// ====================================================================== // \title IpCfg.hpp // \author mstarch // \brief hpp file for SocketIpDriver component implementation class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sp...
hpp
fprime
data/projects/fprime/config/FpConfig.h
/** * \file: FpConfig.h * \author T. Canham, mstarch * \brief C-compatible configuration header for fprime configuration * * \copyright * Copyright 2009-2015, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. */ #include <Fw/Types/BasicTypes...
h
fprime
data/projects/fprime/config/DeframerCfg.hpp
// ====================================================================== // DeframerCfg.hpp // Configuration settings for Deframer component // Author: bocchino // ====================================================================== #ifndef SVC_DEFRAMER_CFG_HPP #define SVC_DEFRAMER_CFG_HPP #include <FpConfig.hpp> ...
hpp
fprime
data/projects/fprime/config/PrmDbImplTesterCfg.hpp
/* * PrmDbImplTesterCfg.hpp * * Created on: Sep 30, 2015 * Author: tcanham */ #ifndef PRMDB_TEST_UT_PRMDBIMPLTESTERCFG_HPP_ #define PRMDB_TEST_UT_PRMDBIMPLTESTERCFG_HPP_ enum { PRMDB_IMPL_TESTER_MAX_READ_BUFFER = 256 }; #endif /* PRMDB_TEST_UT_PRMDBIMPLTESTERCFG_HPP_ */
hpp
fprime
data/projects/fprime/config/UdpReceiverComponentImplCfg.hpp
/* * UdpReceiverComponentImplCfg.hpp * * Created on: Nov 11, 2017 * Author: tim */ #ifndef SVC_UDPRECEIVER_UDPRECEIVERCOMPONENTIMPLCFG_HPP_ #define SVC_UDPRECEIVER_UDPRECEIVERCOMPONENTIMPLCFG_HPP_ #include <FpConfig.hpp> namespace Svc { static const NATIVE_UINT_TYPE UDP_RECEIVER_MSG_SIZE = 256; } #en...
hpp
fprime
data/projects/fprime/config/ActiveLoggerImplCfg.hpp
/* * ActiveLoggerImplCfg.hpp * * Created on: Apr 16, 2015 * Author: tcanham */ #ifndef ACTIVELOGGER_ACTIVELOGGERIMPLCFG_HPP_ #define ACTIVELOGGER_ACTIVELOGGERIMPLCFG_HPP_ // set default filters enum { FILTER_WARNING_HI_DEFAULT = true, //!< WARNING HI events are filtered at input FILTER_WARNING_LO_...
hpp
fprime
data/projects/fprime/config/FpConfig.hpp
/** * \file: FpConfig.hpp * \author T. Canham, mstarch * \brief C++-compatible configuration header for fprime configuration * * \copyright * Copyright 2009-2015, by the California Institute of Technology. * ALL RIGHTS RESERVED. United States Government Sponsorship * acknowledged. */ #include <Fw/Types/BasicT...
hpp
fprime
data/projects/fprime/config/BufferManagerComponentImplCfg.hpp
#ifndef __BUFFERMANAGERCOMPONENTIMPLCFG_HPP__ #define __BUFFERMANAGERCOMPONENTIMPLCFG_HPP__ #include <FpConfig.hpp> namespace Svc { static const NATIVE_UINT_TYPE BUFFERMGR_MAX_NUM_BINS = 10; } #endif // __BUFFERMANAGERCOMPONENTIMPLCFG_HPP__
hpp
fprime
data/projects/fprime/config/FileDownlinkCfg.hpp
/* * FileDownlinkCfg.hpp: * * Configuration settings for file downlink component. */ #ifndef SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ #define SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ #include <FpConfig.hpp> namespace Svc { // If this is set to true, the run handler will look to // see if a packet is ready. If i...
hpp
fprime
data/projects/fprime/config/TlmPacketizerCfg.hpp
/* * TlmPacketizerComponentImplCfg.hpp * * Created on: Dec 10, 2017 * Author: tim */ // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. #ifndef SVC_TLMPACKETIZER_TLMPACKETIZERCOMPONENTIMPLCFG_HPP_ #...
hpp
fprime
data/projects/fprime/config/PolyDbImplCfg.hpp
/* * PolyDbImplCfg.hpp * * Created on: Mar 13, 2015 * Author: tcanham */ #ifndef POLYDB_POLYDBIMPLCFG_HPP_ #define POLYDB_POLYDBIMPLCFG_HPP_ namespace { enum { POLYDB_NUM_DB_ENTRIES = 25 }; } #endif /* POLYDB_POLYDBIMPLCFG_HPP_ */
hpp
fprime
data/projects/fprime/config/CommandDispatcherImplCfg.hpp
/* * CmdDispatcherImplCfg.hpp * * Created on: May 6, 2015 * Author: tcanham */ #ifndef CMDDISPATCHER_COMMANDDISPATCHERIMPLCFG_HPP_ #define CMDDISPATCHER_COMMANDDISPATCHERIMPLCFG_HPP_ // Define configuration values for dispatcher enum { CMD_DISPATCHER_DISPATCH_TABLE_SIZE = 100, // !< The size of the ta...
hpp
fprime
data/projects/fprime/Utils/CRCChecker.cpp
// ====================================================================== // \title CRCChecker.cpp // \author ortega // \brief cpp file for a crc32 checker // // \copyright // Copyright 2009-2020, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged....
cpp
fprime
data/projects/fprime/Utils/RateLimiter.hpp
// ====================================================================== // \title RateLimiter.hpp // \author vwong // \brief hpp file for a rate limiter utility class // // \copyright // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Government Sponsorship // a...
hpp
fprime
data/projects/fprime/Utils/LockGuard.hpp
// ====================================================================== // \title LockGuard.hpp // \author vwong // \brief hpp file for a RAII-style lock guard utility class // // \copyright // Copyright (C) 2009-2020 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship ...
hpp
fprime
data/projects/fprime/Utils/RateLimiter.cpp
// ====================================================================== // \title RateLimiter.cpp // \author vwong // \brief cpp file for a rate limiter utility class // // \copyright // Copyright (C) 2009-2020 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ackn...
cpp
fprime
data/projects/fprime/Utils/LockGuard.cpp
// ====================================================================== // \title LockGuard.cpp // \author vwong // \brief cpp file for a lock guard utility class // // // \copyright // Copyright (C) 2009-2020 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ackn...
cpp
fprime
data/projects/fprime/Utils/TokenBucket.hpp
// ====================================================================== // \title TokenBucket.hpp // \author vwong // \brief hpp file for a rate limiter utility class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Government Sponsorship /...
hpp
fprime
data/projects/fprime/Utils/CRCChecker.hpp
// ====================================================================== // \title CRCChecker.hpp // \author ortega // \brief hpp file for a crc32 checker // // \copyright // Copyright 2009-2020, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged...
hpp
fprime
data/projects/fprime/Utils/TokenBucket.cpp
// ====================================================================== // \title TokenBucket.cpp // \author vwong // \brief cpp file for a rate limiter utility class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Government Sponsorship /...
cpp
fprime
data/projects/fprime/Utils/TestUtils.hpp
// ====================================================================== // \title TestUtils.hpp // \author vwong // \brief hpp file for unit test utility macros // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Government Sponsorship // ackno...
hpp
fprime
data/projects/fprime/Utils/Hash/HashBuffer.hpp
// ====================================================================== // \title Hash.hpp // \author dinkel // \brief hpp file for Hash class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // ====...
hpp
fprime
data/projects/fprime/Utils/Hash/HashConfig.hpp
#ifndef UTILS_HASH_CONFIG_HPP #define UTILS_HASH_CONFIG_HPP //! Choose the hash implementation that you want to use //! by including the implementation hash header that //! you are interested in. Ie. This could look like: //! //! #include <Utils/Hash/openssl/SHA256.hpp> //! #include <Utils/Hash/libcrc/CRC32.hpp> #end...
hpp
fprime
data/projects/fprime/Utils/Hash/HashCommon.cpp
#include <Utils/Hash/Hash.hpp> namespace Utils { const char* Hash :: getFileExtensionString() { return HASH_EXTENSION_STRING; } void Hash :: addFileExtension( const Fw::StringBase& baseName, Fw::StringBase& extendedName ) { extendedName.format("%s%s...
cpp
fprime
data/projects/fprime/Utils/Hash/HashBufferCommon.cpp
#include <Utils/Hash/HashBuffer.hpp> #include <cstring> namespace Utils { HashBuffer::HashBuffer() { } HashBuffer::HashBuffer(const U8 *args, NATIVE_UINT_TYPE size) { Fw::SerializeStatus stat = Fw::SerializeBufferBase::setBuff(args,size); FW_ASSERT(Fw::FW_SERIALIZE_OK == stat,static_cast<...
cpp
fprime
data/projects/fprime/Utils/Hash/Hash.hpp
// ====================================================================== // \title Hash.hpp // \author dinkel // \brief hpp file for Hash class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // // ====...
hpp
fprime
data/projects/fprime/Utils/Hash/openssl/sha.h
/* crypto/sha/sha.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscape's SSL. * * This library is free for commercial and non-com...
h
fprime
data/projects/fprime/Utils/Hash/openssl/SHA256.cpp
// ====================================================================== // \title SHA256.cpp // \author dinkel // \brief cpp file for SHA implementation of Hash class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ...
cpp
fprime
data/projects/fprime/Utils/Hash/openssl/SHA256.hpp
#ifndef UTILS_SHA256_CONFIG_HPP #define UTILS_SHA256_CONFIG_HPP // Include the sha library: #include <Utils/Hash/openssl/sha.h> //! Define the hash handle type for this //! implementation. This is required. #ifndef HASH_HANDLE_TYPE #define HASH_HANDLE_TYPE SHA256_CTX #endif //! Define the size of a hash digest in b...
hpp
fprime
data/projects/fprime/Utils/Hash/libcrc/CRC32.hpp
#ifndef UTILS_CRC32_CONFIG_HPP #define UTILS_CRC32_CONFIG_HPP // Include the lic crc c library: extern "C" { #include <Utils/Hash/libcrc/lib_crc.h> } //! Define the hash handle type for this //! implementation. This is required. #ifndef HASH_HANDLE_TYPE #define HASH_HANDLE_TYPE U32 #endif //! Define the size of...
hpp
fprime
data/projects/fprime/Utils/Hash/libcrc/CRC32.cpp
// ====================================================================== // \title CRC32.cpp // \author dinkel // \brief cpp file for CRC32 implementation of Hash class // // \copyright // Copyright 2009-2015, by the California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship //...
cpp
fprime
data/projects/fprime/Utils/Hash/libcrc/lib_crc.h
/*******************************************************************\ * * * Library : lib_crc * * File : lib_crc.h * * Author ...
h
fprime
data/projects/fprime/Utils/Hash/libcrc/tst_crc.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "lib_crc.h" /*******************************************************************\ * * * Library : lib_crc * * File ...
c
fprime
data/projects/fprime/Utils/Hash/libcrc/lib_crc.c
#include "lib_crc.h" /*******************************************************************\ * * * Library : lib_crc * * File : lib_crc.c * ...
c
fprime
data/projects/fprime/Utils/Types/CircularBuffer.hpp
/* * CircularBuffer.hpp: * * Buffer used to efficiently store data in ring data structure. Uses an externally supplied * data store as the backing for this buffer. Thus it is dependent on receiving sole ownership * of the supplied buffer. * * Note: this given implementation loses one byte of the data store in or...
hpp
fprime
data/projects/fprime/Utils/Types/Queue.cpp
/* * Queue.cpp: * * Implementation of the queue data type. * * Created on: July 5th, 2022 * Author: lestarch * */ #include "Queue.hpp" #include <Fw/Types/Assert.hpp> namespace Types { Queue::Queue() : m_internal(), m_message_size(0) {} void Queue::setup(U8* const storage, const FwSizeType storage_size,...
cpp
fprime
data/projects/fprime/Utils/Types/Queue.hpp
/* * Queue.hpp: * * FIFO queue of fixed size messages. For use generally where non-concurrent, non-OS backed based FIFO queues are * necessary. Message size is defined at construction time and all messages enqueued and dequeued must be of that fixed * size. Wraps circular buffer to perform actual storage of messag...
hpp
fprime
data/projects/fprime/Utils/Types/CircularBuffer.cpp
/* * CircularBuffer.cpp: * * Buffer used to efficiently store data in ring data structure. Uses an externally supplied * data store as the backing for this buffer. Thus it is dependent on receiving sole ownership * of the supplied buffer. * * This implementation file contains the function definitions. * * Cre...
cpp
fprime
data/projects/fprime/Utils/Types/test/ut/CircularBuffer/CircularRules.cpp
/** * CircularRules.cpp: * * This file specifies Rule classes for testing of the Types::CircularRules. These rules can then be used by the main * testing program to test the code. * * * @author mstarch */ #include "CircularRules.hpp" #include <cstdlib> #include <cmath> namespace Types { RandomizeRule::R...
cpp
fprime
data/projects/fprime/Utils/Types/test/ut/CircularBuffer/Main.cpp
/** * Main.cpp: * * Setup the GTests for rules-based testing runs these tests. * * Created on: May 23, 2019 * Author: mstarch */ #include <STest/Scenario/Scenario.hpp> #include <STest/Scenario/RandomScenario.hpp> #include <STest/Scenario/BoundedScenario.hpp> #include <Fw/Test/UnitTest.hpp> #include <Utils...
cpp
fprime
data/projects/fprime/Utils/Types/test/ut/CircularBuffer/CircularRules.hpp
/** * CircularRules.hpp: * * This file specifies Rule classes for testing of the Types::CircularBuffer. These rules can then be used by the main * testing program to test the code. These rules support rule-based random testing. * * Circular rules: * * 1. Serialize into CircularBuffer with sufficient space shoul...
hpp
fprime
data/projects/fprime/Utils/Types/test/ut/CircularBuffer/CircularState.cpp
/** * FakeLogger.cpp: * * Setup a fake logger for use with the testing. This allows for the capture of messages from the system and ensure that * the proper log messages are coming through as expected. * * @author mstarch */ #include <STest/Pick/Pick.hpp> #include <Utils/Types/test/ut/CircularBuffer/CircularStat...
cpp
fprime
data/projects/fprime/Utils/Types/test/ut/CircularBuffer/CircularState.hpp
/** * CircularState.hpp: * * Setup a fake logger for use with the testing. This allows for the capture of messages from the system and ensure that * the proper log messages are coming through as expected. * * @author mstarch */ #include <FpConfig.hpp> #include <Utils/Types/CircularBuffer.hpp> #ifndef FPRIME_CI...
hpp
fprime
data/projects/fprime/Utils/test/ut/RateLimiterTester.cpp
// ====================================================================== // \title RateLimiterTester.hpp // \author vwong // \brief cpp file for RateLimiter test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Go...
cpp
fprime
data/projects/fprime/Utils/test/ut/main.cpp
// ---------------------------------------------------------------------- // Main.cpp // ---------------------------------------------------------------------- #include "LockGuardTester.hpp" #include "RateLimiterTester.hpp" #include "TokenBucketTester.hpp" TEST(LockGuardTest, TestLocking) { Utils::LockGuardTester...
cpp
fprime
data/projects/fprime/Utils/test/ut/LockGuardTester.cpp
// ====================================================================== // \title LockGuardTester.hpp // \author vwong // \brief cpp file for LockGuard test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Govern...
cpp
fprime
data/projects/fprime/Utils/test/ut/TokenBucketTester.hpp
// ====================================================================== // \title Util/test/ut/TokenBucketTester.hpp // \author vwong // \brief hpp file for TokenBucket test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. Uni...
hpp
fprime
data/projects/fprime/Utils/test/ut/TokenBucketTester.cpp
// ====================================================================== // \title TokenBucketTester.hpp // \author vwong // \brief cpp file for TokenBucket test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United States Go...
cpp
fprime
data/projects/fprime/Utils/test/ut/RateLimiterTester.hpp
// ====================================================================== // \title Util/test/ut/RateLimiterTester.hpp // \author vwong // \brief hpp file for RateLimiter test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. Uni...
hpp
fprime
data/projects/fprime/Utils/test/ut/LockGuardTester.hpp
// ====================================================================== // \title Util/test/ut/LockGuardTester.hpp // \author vwong // \brief hpp file for LockGuard test harness implementation class // // \copyright // // Copyright (C) 2009-2020 California Institute of Technology. // // ALL RIGHTS RESERVED. United ...
hpp
fprime
data/projects/fprime/STest/STest/testing.hpp
// ====================================================================== // \title testing.hpp // \author Rob Bocchino // \brief Symbols for testing // // \copyright // Copyright (C) 2018 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==========...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/InterleavedScenario.hpp
// ====================================================================== // \title InterleavedScenario.hpp // \author bocchino // \brief Randomly interleave several scenarios // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ac...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/ConditionalIteratedScenario.hpp
// ====================================================================== // \title ConditionalIteratedScenario.hpp // \author bocchino // \brief Iterate a scenario while a condition holds // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Spon...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/ScenarioArray.hpp
// ====================================================================== // \title ScenarioArray.hpp // \author bocchino // \brief An array of scenarios // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // =======...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RepeatedRuleScenario.hpp
// ====================================================================== // \title RepeatedRuleScenario.hpp // \author bocchino // \brief Repeatedly apply a rule // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. /...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RuleScenario.hpp
// ====================================================================== // \title RuleScenario.hpp // \author bocchino // \brief Apply a single rule once // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // =====...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/Scenario.hpp
// ====================================================================== // \title Scenario.hpp // \author bocchino // \brief A test scenario // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==================...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/SequenceScenario.hpp
// ====================================================================== // \title SequenceScenario.hpp // \author bocchino // \brief A sequence of scenarios // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RandomlyBoundedScenario.hpp
// ====================================================================== // \title RandomlyBoundedScenario.hpp // \author bocchino // \brief Run a scenario, applying a random bound on the number of steps // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/BoundedScenario.hpp
// ====================================================================== // \title BoundedScenario.hpp // \author bocchino // \brief Run a scenario, bounding the number of steps // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship //...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/ConditionalScenario.hpp
// ====================================================================== // \title ConditionalScenario.hpp // \author bocchino // \brief Run a scenario while a condition holds // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // a...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/SelectedScenario.hpp
// ====================================================================== // \title SelectedScenario.hpp // \author bocchino // \brief Randomly select a scenario and run it // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ackno...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/BoundedIteratedScenario.hpp
// ====================================================================== // \title BoundedIteratedScenario.hpp // \author bocchino // \brief Run an iterated scenario, bounding the number of iterations // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Go...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/IteratedScenario.hpp
// ====================================================================== // \title IteratedScenario.hpp // \author bocchino // \brief Iterate over a collection of scenarios // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // ackn...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RandomScenario.hpp
// ====================================================================== // \title RandomScenario.hpp // \author bocchino // \brief Apply rules in a random sequence // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RuleSequenceScenario.hpp
// ====================================================================== // \title RuleSequenceScenario.hpp // \author bocchino // \brief Apply a fixed sequence of rules // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowl...
hpp
fprime
data/projects/fprime/STest/STest/Scenario/RepeatedScenario.hpp
// ====================================================================== // \title RepeatedScenario.hpp // \author bocchino // \brief Repeat a scenario // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ========...
hpp
fprime
data/projects/fprime/STest/STest/types/basic_types.h
// ====================================================================== // \title basic_types.h // \author bocchino // \brief STest basic types // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==============...
h
fprime
data/projects/fprime/STest/STest/Rule/Rule.hpp
// ====================================================================== // \title Rule.hpp // \author bocchino // \brief Rule interface for scenario testing // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==...
hpp
fprime
data/projects/fprime/STest/STest/Random/Random.hpp
// ====================================================================== // \title Random.hpp // \author bocchino // \brief Random number generation // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ===========...
hpp
fprime
data/projects/fprime/STest/STest/Random/bsd_random.c
/* * Copyright (c) 1983, 1993 * The Regents of the University of California. 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 copyr...
c
fprime
data/projects/fprime/STest/STest/Random/bsd_random.h
// ====================================================================== // \title bsd_random.h // \author See bsd_random.c // \brief BSD random number generator // // \copyright // Copyright (C) 2017 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. /...
h
fprime
data/projects/fprime/STest/STest/Random/Random.cpp
// ====================================================================== // \title Random.cpp // \author bocchino // \brief Random number generation // // \copyright // Copyright (C) 2017-2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ======...
cpp
fprime
data/projects/fprime/STest/STest/Pick/Pick.cpp
// ====================================================================== // \title Pick.cpp // \author bocchino // \brief Pick implementation // // \copyright // Copyright (C) 2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==================...
cpp
fprime
data/projects/fprime/STest/STest/Pick/Pick.hpp
// ====================================================================== // \title Pick.hpp // \author bocchino // \brief Pick interface // // \copyright // Copyright (C) 2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // =======================...
hpp
fprime
data/projects/fprime/STest/STest/Pick/Pick_default.cpp
// ====================================================================== // \title Pick_default.cpp // \author bocchino // \brief Pick_default implementation // // \copyright // Copyright (C) 2022 California Institute of Technology. // ALL RIGHTS RESERVED. United States Government Sponsorship // acknowledged. // ==...
cpp
asio
data/projects/asio/example/cpp14/echo/blocking_udp_echo_server.cpp
// // blocking_udp_echo_server.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <c...
cpp
asio
data/projects/asio/example/cpp14/echo/blocking_tcp_echo_client.cpp
// // blocking_tcp_echo_client.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <c...
cpp
asio
data/projects/asio/example/cpp14/echo/blocking_udp_echo_client.cpp
// // blocking_udp_echo_client.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <c...
cpp
asio
data/projects/asio/example/cpp14/echo/blocking_tcp_echo_server.cpp
// // blocking_tcp_echo_server.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <c...
cpp
asio
data/projects/asio/example/cpp14/echo/async_udp_echo_server.cpp
// // async_udp_echo_server.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <cstdlib...
cpp
asio
data/projects/asio/example/cpp14/echo/async_tcp_echo_server.cpp
// // async_tcp_echo_server.cpp // ~~~~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <cstdlib...
cpp
asio
data/projects/asio/example/cpp14/operations/c_callback_wrapper.cpp
// // c_callback_wrapper.cpp // ~~~~~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <boost/asio.hp...
cpp
asio
data/projects/asio/example/cpp14/operations/composed_4.cpp
// // composed_4.cpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <boost/asio/bind_executor.hpp>...
cpp
asio
data/projects/asio/example/cpp14/operations/composed_2.cpp
// // composed_2.cpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2024 Christopher M. Kohlhoff (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 <boost/asio/deferred.hpp> #inc...
cpp