search for: get_pos

Displaying 2 results from an estimated 2 matches for "get_pos".

2015 Oct 08
2
[PATCH 0/1] opusenc support for WavPack input
This patch to opus-tools adds optional support to WavPack lossless format as input to opusenc. Like support to FLAC, it depends on an external library, libwavpack, and may be disabled on configure. Lucas Clemente Vella (1): Reading input from WavPack files. Makefile.am | 7 +- configure.ac | 37 ++++++++ src/audio-in.c | 71 ++++++++------- src/opusenc.c | 19 +++- src/opusenc.h
2017 Jun 21
6
RFC: Cleaning up the Itanium demangler
...s++] = c; + return *this; + } + + char back() const { return pos ? buf[pos - 1] : '\0'; } + bool empty() const { return pos == 0; } + + char* get_buf() { return buf; } + char* get_buf_end() { return buf + pos - 1; } + size_t get_cap() { return cap; } + + unsigned get_pos() const { return static_cast<unsigned>(pos); } +}; + +class stream_string_ref { + unsigned first, last; +public: + stream_string_ref() : first(0), last(0) {} + stream_string_ref(unsigned first, unsigned last) + : first(first), last(last) {} + + bool empty() const { retu...