MCPcopy
hub / github.com/dreadl0ck/netcap / Int

Method Int

encoder/encoder.go:116–118  ·  view source on GitHub ↗

Int handles encoding of integer values according to the ValueEncoder configuration.

(field string, val int)

Source from the content-addressed store, hash-verified

114
115// Int handles encoding of integer values according to the ValueEncoder configuration.
116func (m *ValueEncoder) Int(field string, val int) string {
117 return m.Float64(field, float64(val))
118}
119
120// Int64 handles encoding of 64bit integer values according to the ValueEncoder configuration.
121func (m *ValueEncoder) Int64(field string, val int64) string {

Callers 15

EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
TestNumericZscoreEncoderFunction · 0.80
TestNumericMinMaxEncoderFunction · 0.80
InitMethod · 0.80
ReloadRulesEngineMethod · 0.80
stopWorkersMethod · 0.80
sendBulkMethod · 0.80

Calls 1

Float64Method · 0.95

Tested by 4

TestNumericZscoreEncoderFunction · 0.64
TestNumericMinMaxEncoderFunction · 0.64