A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/test__coroutine_8cpp_source.html below:

NCBI C++ ToolKit: src/app/multireader/test_coroutine.cpp Source File

52 using namespace ncbi

;

53 using namespace

ncbi::objtools::hugeasn;

63  throw

std::runtime_error(

"Too big Fibonacci sequence. Elements would overflow."

);

78  for

(

unsigned i

= 2;

i

<

n

; ++

i

)

90  for

(

int

j = 0;

gen

; ++j)

91

std::cout <<

"fib("

<< j <<

")="

<<

gen

() <<

'\n'

;

97  for

(

int

j = 0;

gen

; ++j) {

99

std::cout <<

"Line:"

<< res.first <<

":"

<< res.second <<

"\n"

;

101

std::cout <<

"Finished\n"

;

106  auto file

= std::make_shared<objects::edit::CHugeFile>();

107  file

->Open(filename,

nullptr

);

108

std::cout <<

"File opened: "

<< filename <<

":"

<<

file

->m_filesize <<

":"

<<

file

->m_format <<

"\n"

;

118  for

(

int

j = 0;

gen

; ++j) {

120

std::cout <<

"Blob:"

<< blob->m_data.size() <<

":"

<< blob->m_defline <<

":"

<< blob->m_seq_length <<

"\n"

;

122

std::cout <<

"Finished\n"

;

130  for

(

int

j = 0;

gen

; ++j) {

132

std::cout <<

"Blob:"

<< blob->m_data.size() <<

":"

<< blob->m_defline <<

":"

<< blob->m_seq_length <<

"\n"

;

134

std::cout <<

"Finished\n"

;

174  size_t

total_lines = 0;

175  for

(

int

j = 0; blob_gen; ++j) {

176  auto

blob = blob_gen();

177

total_lines += blob->m_lines.size();

178

std::cout <<

"Blob: "

<< (

int

)blob->m_blob_type <<

":"

<< blob->m_seqid <<

":"

<< blob->m_lines.size() <<

"\n"

;

180

std::cout <<

"Finished with "

<< total_lines <<

"\n"

;

194

objects::CFastaReader::TFlags

flags

= 0;

197  flags

|= objects::CFastaReader::fParseGaps;

201

objects::CFastaReader

r

{clr,

flags

};

202  auto

seq =

r

.ReadSet();

213  for

(

int

j = 0;

gen

; ++j) {

215

std::cout <<

"Blob:"

<< blob->m_data.size() <<

":"

<< blob->m_defline <<

":"

<< blob->m_seq_length <<

"\n"

;

219

std::cout <<

"Finished\n"

;

void SetFlags(ParseFlagsSet flags)

Generator< std::shared_ptr< TFastaBlob > > ReadBlobs()

@ eFasta

FASTA format sequence record, CFastaReader.

TGenerator ReadBlobs() const

constexpr bool test(T _Pos) const

Generator< std::pair< size_t, std::string_view > > BasicReadLinesGenerator(size_t start_line, std::string_view blob)

Frond-end GFF-familty files readers, including GFF2, GFF3, GTF.

Operators to edit gaps in sequences.

#define MSerial_AsnText

I/O stream manipulators –.

unsigned int

A callback function used to compare two keys in a database.

Magic spell ;-) needed for some weird compilers... very empiric.

The NCBI C++/STL use hints.

double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)

ParseFlagsSet Flags() const

Utility stuff for more convenient using of Boost.Test library.

void RunTestGffBasic(const std::string &filename)

void RunTestFullFasta(const std::string &filename, bool delta_seq)

Generator< std::uint64_t > fibonacci_sequence(unsigned n)

BOOST_AUTO_TEST_CASE(test_basic_line_reader)

void RunTest1(const std::string &filename)

void ParseFastaBlob(CFastaSource::TFastaBlob blob, bool parse_gaps)

void RunFastaTest1(std::string_view blob)

void RunTest2Gaps(const std::string &filename)

void RunTest2(const std::string &filename)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4