MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / SearchSubBlock

Method SearchSubBlock

Libraries/unrar/arcread.cpp:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64size_t Archive::SearchSubBlock(const wchar *Type)
65{
66 size_t Size,Count=0;
67 while ((Size=ReadHeader())!=0 && GetHeaderType()!=HEAD_ENDARC)
68 {
69 if ((++Count & 127)==0)
70 Wait();
71 if (GetHeaderType()==HEAD_SERVICE && SubHead.CmpName(Type))
72 return Size;
73 SeekToNext();
74 }
75 return 0;
76}
77
78
79size_t Archive::SearchRR()

Callers

nothing calls this directly

Calls 2

WaitFunction · 0.85
CmpNameMethod · 0.80

Tested by

no test coverage detected