MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / indexOf

Method indexOf

rEFIt_UEFI/cpp_foundation/XArray.h:119–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118template<class TYPE>
119size_t XArray<TYPE>::indexOf(TYPE& e) const
120{
121 size_t i;
122
123 for ( i=0 ; i<size() ; i+=1 ) {
124 if ( ElementAt(i) == e ) return i;
125 }
126 return MAX_XSIZE;
127}
128
129///* Constructeur */
130//template<class TYPE>

Callers 5

RefitMainFunction · 0.45
XTheme.cppFile · 0.45
loader.cppFile · 0.45
LinuxScanFunction · 0.45
ScanLoaderFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected