From 0554bb12952014ca6f49356c2c34082f80d1dfa7 Mon Sep 17 00:00:00 2001 From: xuyongliang_01 Date: Fri, 25 Oct 2024 07:08:17 +0000 Subject: [PATCH] update server/vendor/github.com/ugorji/go/codec/encode.go. Signed-off-by: xuyongliang_01 --- server/vendor/github.com/ugorji/go/codec/encode.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/vendor/github.com/ugorji/go/codec/encode.go b/server/vendor/github.com/ugorji/go/codec/encode.go index 0e9f0cc..efe525c 100644 --- a/server/vendor/github.com/ugorji/go/codec/encode.go +++ b/server/vendor/github.com/ugorji/go/codec/encode.go @@ -110,7 +110,7 @@ type EncodeOptions struct { // // - If there is a natural sort order (ie for number, bool, string or []byte keys), // then the map keys are first sorted in natural order and then written - // with corresponding map values to the strema. + // with corresponding map values to the stream. // - If there is no natural sort order, then the map keys will first be // encoded into []byte, and then sorted, // before writing the sorted keys and the corresponding map values to the stream. @@ -128,7 +128,7 @@ type EncodeOptions struct { // RecursiveEmptyCheck controls how we determine whether a value is empty. // - // If true, we descend into interfaces and pointers to reursively check if value is empty. + // If true, we descend into interfaces and pointers to recursively check if value is empty. // // We *might* check struct fields one by one to see if empty // (if we cannot directly check if a struct value is equal to its zero value). @@ -932,7 +932,7 @@ type Encoder struct { h *BasicHandle - // hopefully, reduce derefencing cost by laying the encWriter inside the Encoder + // hopefully, reduce dereferencing cost by laying the encWriter inside the Encoder encWr // ---- cpu cache line boundary -- Gitee