MCPcopy
hub / github.com/vercel/next.js / from

Method from

packages/next/src/shared/lib/bloom-filter.ts:33–40  ·  view source on GitHub ↗
(items: string[], errorRate = DEFAULT_ERROR_RATE)

Source from the content-addressed store, hash-verified

31 }
32
33 static from(items: string[], errorRate = DEFAULT_ERROR_RATE) {
34 const filter = new BloomFilter(items.length, errorRate)
35
36 for (const item of items) {
37 filter.add(item)
38 }
39 return filter
40 }
41
42 export() {
43 const data = {

Callers 15

maybeLogSummaryFunction · 0.45
buildDocTreeFunction · 0.45
transformerFunction · 0.45
index.jsFile · 0.45
loader.test.tsFile · 0.45
fetchResourceFunction · 0.45
fetchFontFileFunction · 0.45
getUrlFromAppDirectoryFunction · 0.45
minDistanceFunction · 0.45
taskfile-swc.jsFile · 0.45

Calls 1

addMethod · 0.95

Tested by

no test coverage detected