MCPcopy Create free account
hub / github.com/9miao/CrossApp / Find

Function Find

scripting/javascript/spidermonkey-android/include/jsutil.h:104–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102
103template <class T>
104static inline T *
105Find(T *beg, T *end, const T &v)
106{
107 for (T *p = beg; p != end; ++p) {
108 if (*p == v)
109 return p;
110 }
111 return end;
112}
113
114template <class Container>
115static inline typename Container::ElementType *

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected