MCPcopy Create free account
hub / github.com/devploit/nomore403 / setFragmentCl

Function setFragmentCl

cmd/requester.go:129–129  ·  view source on GitHub ↗
(v int)

Source from the content-addressed store, hash-verified

127func setDefaultRespCl(v int) { atomic.StoreInt64(&atomicDefaultRespCl, int64(v)) }
128func getFragmentCl() int { return int(atomic.LoadInt64(&atomicFragmentCl)) }
129func setFragmentCl(v int) { atomic.StoreInt64(&atomicFragmentCl, int64(v)) }
130
131// isCalibrationMatch returns true if the content length is within tolerance of the calibrated default
132// or the fragment baseline (URI#fragment response, which catches fragment-stripped false positives).

Callers 3

runAutocalibrateFunction · 0.85
requesterFunction · 0.85
TestIsCalibrationMatchFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsCalibrationMatchFunction · 0.68