MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / is_prefix

Function is_prefix

strings/is_prefix.c:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26#include "m_string.h"
27
28int is_prefix(register const char *s, register const char *t)
29{
30 while (*t)
31 if (*s++ != *t++) return 0;
32 return 1; /* WRONG */
33}

Callers 6

get_relative_pathFunction · 0.85
my_load_pathFunction · 0.85
pack_dirnameFunction · 0.85
get_charsets_dirFunction · 0.85
get_defaults_optionsFunction · 0.85
parse_input_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected