Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Meituan-Dianping/SQLAdvisor
/ NewCopy
Function
NewCopy
extra/yassl/src/yassl.cpp:116–122 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
114
115
116
void NewCopy(char*& dst, const char* src)
117
{
118
size_t len = strlen(src) + 1;
119
dst = new char[len];
120
121
strncpy(dst, src, len);
122
}
123
124
125
// Client Implementation
Callers
3
SetCA
Method · 0.85
SetCert
Method · 0.85
SetKey
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected