Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/vscode-cpptools
/ add
Method
add
Extension/src/Utility/Eventing/descriptor.ts:55–60 ·
view source on GitHub ↗
(key: string, ...values: string[])
Source
from the content-addressed store, hash-verified
53
}
54
55
add(key: string, ...values: string[]) {
56
if
(values.length) {
57
const
set = getOrAdd(this, smash(key), () =>
new
Set<string>());
58
values.forEach(each => set.add(each));
59
}
60
}
61
}
62
Callers
15
constructor
Method · 0.95
constructor
Method · 0.45
asyncIterators.test.ts
File · 0.45
addMisbehavingPromise
Function · 0.45
resolveVariables
Function · 0.45
registerCustomConfigurationProvider
Method · 0.45
onData
Method · 0.45
resolveConfigIncludes
Function · 0.45
extractHosts
Function · 0.45
handleTerminalOutput
Function · 0.45
scan
Method · 0.45
scanFolder
Function · 0.45
Calls
3
getOrAdd
Function · 0.90
smash
Function · 0.90
forEach
Method · 0.45
Tested by
1
constructor
Method · 0.36