encoding/gob.encoderState.sendZero (field)
33 uses
encoding/gob (current package)
enc_helpers.go#L66: if x != false || state.sendZero {
enc_helpers.go#L92: if x != 0+0i || state.sendZero {
enc_helpers.go#L117: if x != 0+0i || state.sendZero {
enc_helpers.go#L142: if x != 0 || state.sendZero {
enc_helpers.go#L165: if x != 0 || state.sendZero {
enc_helpers.go#L188: if x != 0 || state.sendZero {
enc_helpers.go#L210: if x != 0 || state.sendZero {
enc_helpers.go#L232: if x != 0 || state.sendZero {
enc_helpers.go#L254: if x != 0 || state.sendZero {
enc_helpers.go#L276: if x != 0 || state.sendZero {
enc_helpers.go#L298: if x != "" || state.sendZero {
enc_helpers.go#L321: if x != 0 || state.sendZero {
enc_helpers.go#L343: if x != 0 || state.sendZero {
enc_helpers.go#L365: if x != 0 || state.sendZero {
enc_helpers.go#L387: if x != 0 || state.sendZero {
enc_helpers.go#L409: if x != 0 || state.sendZero {
encode.go#L29: sendZero bool // encoding an array element or map key/value pair; send zero values
encode.go#L87: e.sendZero = false
encode.go#L176: if b || state.sendZero {
encode.go#L189: if value != 0 || state.sendZero {
encode.go#L198: if value != 0 || state.sendZero {
encode.go#L218: if f != 0 || state.sendZero {
encode.go#L229: if c != 0+0i || state.sendZero {
encode.go#L242: if len(b) > 0 || state.sendZero {
encode.go#L253: if len(s) > 0 || state.sendZero {
encode.go#L295: state.sendZero = true
encode.go#L337: state.sendZero = true
encode.go#L370: state.sendZero = true
encode.go#L394: state.sendZero = true
encode.go#L547: if !state.sendZero && slice.Len() == 0 {
encode.go#L567: if !state.sendZero && mv.IsNil() {
encode.go#L585: if !state.sendZero && (!iv.IsValid() || iv.IsNil()) {
encode.go#L618: if !state.sendZero && isZero(v) {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |