MCPcopy Create free account
hub / github.com/IoLanguage/io / UArray_find_from_

Function UArray_find_from_

libs/basekit/source/UArray.c:1063–1071  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1061}
1062
1063long UArray_find_from_(const UArray *self, const UArray *other, size_t from) {
1064 UArray s;
1065 long i;
1066 if (self->size < from)
1067 return -1;
1068 s = UArray_stackRange(self, from, self->size - from);
1069 i = UArray_find_(&s, other);
1070 return i == -1 ? -1 : from + i;
1071}
1072
1073#define UARRAY_FINDANYCASE_TYPES(OP2, TYPE1, self, TYPE2, other) \
1074 { \

Callers 3

UArray_count_Function · 0.85
IoSeq_immutable.cFile · 0.85
IoSeq_mutable.cFile · 0.85

Calls 2

UArray_stackRangeFunction · 0.85
UArray_find_Function · 0.85

Tested by

no test coverage detected