- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 140 for unmarshalV (0.04 sec)
-
internal/grid/types.go
for zb0008 := range zb0007 { s += msgp.StringPrefixSize + len(zb0007[zb0008]) } } return s } // JSONPool is a pool for JSON objects that unmarshal into T. type JSONPool[T any] struct { pool sync.Pool emptySz int } // NewJSONPool returns a new JSONPool. func NewJSONPool[T any]() *JSONPool[T] { var t T sz := 128Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 15.5K bytes - Viewed (0) -
internal/s3select/json/args.go
} *args = ReaderArgs(parsedArgs) args.unmarshaled = true return nil } // WriterArgs - represents elements inside <OutputSerialization><JSON/> in request XML. type WriterArgs struct { RecordDelimiter string `xml:"RecordDelimiter"` unmarshaled bool } // IsEmpty - returns whether writer args is empty or not. func (args *WriterArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
internal/bucket/lifecycle/filter_test.go
ObjectSizeLessThan: 100 * humanize.GiByte, } b, err := xml.Marshal(f1) if err != nil { t.Fatalf("Failed to marshal %v", f1) } var f2 Filter err = xml.Unmarshal(b, &f2) if err != nil { t.Fatalf("Failed to unmarshal %s", string(b)) } if f1.ObjectSizeLessThan != f2.ObjectSizeLessThan { t.Fatalf("Expected %v but got %v", f1.ObjectSizeLessThan, f2.And.ObjectSizeLessThan) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 27 00:01:20 UTC 2024 - 7.2K bytes - Viewed (0) -
tests/scanner_valuer_test.go
bytes, err := json.Marshal(l) return string(bytes), err } func (l *StringsSlice) Scan(input interface{}) error { switch value := input.(type) { case string: return json.Unmarshal([]byte(value), l) case []byte: return json.Unmarshal(value, l) default: return errors.New("not supported") } } type ExampleStruct struct { Name string Val string }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
internal/s3select/csv/args.go
CommentCharacter string `xml:"Comments"` AllowQuotedRecordDelimiter bool `xml:"AllowQuotedRecordDelimiter"` unmarshaled bool } // IsEmpty - returns whether reader args is empty or not. func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 20 18:31:45 UTC 2024 - 5.7K bytes - Viewed (0) -
internal/s3select/parquet/args.go
import "encoding/xml" // ReaderArgs - represents elements inside <InputSerialization><Parquet/> in request XML. type ReaderArgs struct { unmarshaled bool } // IsEmpty - returns whether reader args is empty or not. func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
type Alias Config aux := &struct { *Alias }{ Alias: (*Alias)(sCfg), } return json.Unmarshal(data, &aux) } // IsValid - returns true if input string is a valid // storage class kind supported. func IsValid(sc string) bool { return sc == RRS || sc == STANDARD } // UnmarshalText unmarshals storage class from its textual form into // storageClass structure.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
internal/config/identity/openid/jwks_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 9.8K bytes - Viewed (0) -
schema/serializer.go
case []byte: bytes = v case string: bytes = []byte(v) default: bytes, err = json.Marshal(v) if err != nil { return err } } if len(bytes) > 0 { err = json.Unmarshal(bytes, fieldValue.Interface()) } } field.ReflectValueOf(ctx, dst).Set(fieldValue.Elem()) return } // Value implements serializer interface
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Sun Oct 26 12:29:44 UTC 2025 - 5.1K bytes - Viewed (0) -
cmd/metrics-v2_gen.go
o = msgp.AppendString(o, z.Help) // string "Type" o = append(o, 0xa4, 0x54, 0x79, 0x70, 0x65) o = msgp.AppendString(o, string(z.Type)) return } // UnmarshalMsg implements msgp.Unmarshaler func (z *MetricDescription) UnmarshalMsg(bts []byte) (o []byte, err error) { var field []byte _ = field var zb0001 uint32 zb0001, bts, err = msgp.ReadMapHeaderBytes(bts) if err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19K bytes - Viewed (0)