- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 804 for unmarshalV1 (0.17 sec)
-
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 Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
*/ BeanConfigurationRequest setBean(Object bean); /** * Gets the configuration to unmarshal into the bean. * * @return The configuration to unmarshal into the bean or {@code null} if none. */ Object getConfiguration(); /** * Sets the configuration to unmarshal into the bean. The configuration should be taken from
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_test.go
} for i, c := range cases { var result APIResource if err := utiljson.Unmarshal([]byte(c.input), &result); err != nil { t.Errorf("[%d] Failed to unmarshal input '%v': %v", i, c.input, err) } if !reflect.DeepEqual(result, c.result) { t.Errorf("[%d] Failed to unmarshal input '%v': expected %+v, got %+v", i, c.input, c.result, result) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4K bytes - Viewed (0) -
src/crypto/elliptic/elliptic_test.go
t.Errorf("IsOnCurve(∞) == true") } if xx, yy := Unmarshal(curve, Marshal(curve, x0, y0)); xx != nil || yy != nil { t.Errorf("Unmarshal(Marshal(∞)) did not return an error") } // We don't test UnmarshalCompressed(MarshalCompressed(∞)) because there are // two valid points with x = 0. if xx, yy := Unmarshal(curve, []byte{0x00}); xx != nil || yy != nil { t.Errorf("Unmarshal(∞) did not return an error") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 27 02:00:03 UTC 2023 - 11.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 Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go
} for _, c := range cases { var result MicroTimeHolder if err := yaml.Unmarshal([]byte(c.input), &result); err != nil { t.Errorf("Failed to unmarshal input '%v': %v", c.input, err) } if result.T != c.result { t.Errorf("Failed to unmarshal input '%v': expected %+v, got %+v", c.input, c.result, result) } } } func TestMicroTimeMarshalJSON(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/duration_test.go
} for _, c := range cases { var result DurationHolder if err := yaml.Unmarshal([]byte(c.input), &result); err != nil { t.Errorf("Failed to unmarshal input %q: %v", c.input, err) } if result.D != c.result { t.Errorf("Failed to unmarshal input %q: expected %q, got %q", c.input, c.result, result) } } } func TestDurationMarshalJSON(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 07 18:17:32 UTC 2018 - 4.1K bytes - Viewed (0) -
pilot/pkg/networking/core/networkfilter_test.go
} if config, ok := redisFilter.ConfigType.(*listener.Filter_TypedConfig); ok { redisProxy := redis.RedisProxy{} if err := config.TypedConfig.UnmarshalTo(&redisProxy); err != nil { t.Errorf("unmarshal failed: %v", err) } if redisProxy.StatPrefix != "redis" { t.Errorf("redis proxy statPrefix is %s", redisProxy.StatPrefix) } if !redisProxy.LatencyInMicros {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 25.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/converter_test.go
obj: &F{}, err: fmt.Errorf("json: cannot unmarshal number into Go value of type string"), }, { // Invalid string data data: "{\"fa\":13.5}", obj: &F{}, err: fmt.Errorf("json: cannot unmarshal number into Go value of type string"), }, { // Invalid string data data: "{\"fa\":true}", obj: &F{}, err: fmt.Errorf("json: cannot unmarshal bool into Go value of type string"), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 11 16:02:13 UTC 2023 - 22.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/marshal.go
if len(data) > 1 { first = data[0] } var nw JSONSchemaPropsOrStringArray if first == '{' { var sch JSONSchemaProps if err := json.Unmarshal(data, &sch); err != nil { return err } nw.Schema = &sch } if first == '[' { if err := json.Unmarshal(data, &nw.Property); err != nil { return err } } *s = nw return nil } func (s JSONSchemaPropsOrArray) MarshalJSON() ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 13 21:12:46 UTC 2021 - 2.9K bytes - Viewed (0)