MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / strTail

Function strTail

Source/3rdParty/bx/src/string.cpp:567–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565 }
566
567 StringView strTail(const StringView _str, uint32_t _num)
568 {
569 return StringView(
570 fixPtrToRune(_str.getPtr(), _str.getTerm() - min(_num, _str.getLength() ) )
571 , _str.getTerm()
572 );
573 }
574
575 constexpr uint32_t kFindStep = 1024;
576

Callers 1

writeCallstackFunction · 0.85

Calls 4

fixPtrToRuneFunction · 0.85
StringViewClass · 0.50
minFunction · 0.50
getLengthMethod · 0.45

Tested by

no test coverage detected