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/sequtil__shared_8cpp_source.html below:

NCBI C++ ToolKit: src/util/sequtil/sequtil_shared.cpp Source File

48  const char

* iter = src + pos;

49  const char

* end = src + pos + length;

51  for

( ; iter != end; ++iter, ++dst ) {

68  const char

* iter = src + (pos / 2);

72

*dst =

table

[

static_cast<unsigned char>

(*iter) * 2 + 1];

80  Uint2

* out_i =

reinterpret_cast<Uint2

*

>

(dst);

82  for

(

size_t i

=

size

/ 2;

i

; --

i

, ++out_i, ++iter ) {

83

*out_i = table2[

static_cast<Uint1>

(*iter)];

90  char

*

last

=

reinterpret_cast<char

*

>

(out_i);

105  size_t size

= length;

107  const char

* iter = src + (pos / 4);

110  if

( pos % 4 != 0 ) {

111  size_t

to =

min

(

static_cast<unsigned int>

(4), (pos % 4) + length);

112  for

(

size_t i

= pos % 4;

i

< to; ++

i

, ++dst ) {

113

*dst =

table

[

static_cast<Uint1>

(*iter) * 4 +

i

];

116  size

-= to - (pos % 4);

121  Uint4

* out_i =

reinterpret_cast<Uint4

*

>

(dst);

123  for

(

size_t i

=

size

/ 4;

i

; --

i

, ++out_i, ++iter ) {

124

*out_i = table4[

static_cast<Uint1>

(*iter)];

130  char

*

last

=

reinterpret_cast<char

*

>

(out_i);

132  for

(

size_t i

= 0;

i

<

size

% 4; ++

i

, ++

last

) {

148  const char

* begin = src + pos;

149  const char

* iter = src + pos + length;

151  for

( ; iter != begin; ++dst ) {

201  default

:

return

length;

Include a standard set of the NCBI C++ Toolkit most basic headers.

static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)

static DLIST_TYPE *DLIST_NAME() last(DLIST_LIST_TYPE *list)

unsigned int TSeqPos

Type for sequence locations and lengths.

uint8_t Uint1

1-byte (8-bit) unsigned integer

uint32_t Uint4

4-byte (32-bit) unsigned integer

uint16_t Uint2

2-byte (16-bit) unsigned integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

NCBI_NS_STD::string::size_type SIZE_TYPE

<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table

const struct ncbi::grid::netcache::search::fields::SIZE size

void copy(Njn::Matrix< S > *matrix_, const Njn::Matrix< T > &matrix0_)


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