MCPcopy Create free account
hub / github.com/apache/fory / commonSlice

Function commonSlice

go/fory/fory_test.go:66–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

64}
65
66func commonSlice() []any {
67 return []any{
68 (&[100]bool{})[:],
69 (&[100]byte{})[:],
70 // (&[100]int8{})[:],
71 (&[100]int16{})[:],
72 (&[100]int32{})[:],
73 (&[100]int64{})[:],
74 (&[100]float32{})[:],
75 (&[100]float64{})[:],
76 []string{"str1", "str1", "", "", "str2"},
77 }
78}
79
80func commonMap() []any {
81 return []any{

Callers 6

TestSerializeSliceFunction · 0.85
TestReferenceResolverFunction · 0.85
TestNonReferenceResolverFunction · 0.85
TestNullableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected