| 4307 | } |
| 4308 | |
| 4309 | static bool pylsp_range_member(const char *qn, const char *prefix, bool direct) { |
| 4310 | if (!qn || !prefix) |
| 4311 | return false; |
| 4312 | size_t n = strlen(prefix); |
| 4313 | return strncmp(qn, prefix, n) == 0 && (!direct || !strchr(qn + n, '.')); |
| 4314 | } |
| 4315 | |
| 4316 | /* No fixed result buffer and no call to the implementation's member predicate. */ |
| 4317 | static bool pylsp_range_oracle(const CBMTypeRegistry *reg, bool types, const char *prefix, |
no outgoing calls
no test coverage detected