Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 804 for unmarshalV1 (0.19 sec)

  1. 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)
  2. 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)
  3. cni/pkg/log/uds.go

    	var raw map[string]json.RawMessage
    	if err := json.Unmarshal([]byte(l), &raw); err != nil {
    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    	}
    	var msg cniLog
    	if err := json.Unmarshal(raw["msg"], &msg.Msg); err != nil {
    		log.Debugf("Failed to unmarshal CNI plugin log entry: %v", err)
    		return cniLog{}, false
    	}
    	if err := json.Unmarshal(raw["level"], &msg.Level); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. operator/pkg/manifest/shared.go

    func overlaySetFlagValues(iopYAML string, setFlags []string) (string, error) {
    	iop := make(map[string]any)
    	if err := yaml.Unmarshal([]byte(iopYAML), &iop); err != nil {
    		return "", err
    	}
    	// Unmarshal returns nil for empty manifests but we need something to insert into.
    	if iop == nil {
    		iop = make(map[string]any)
    	}
    
    	for _, sf := range setFlags {
    		p, v := getPV(sf)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top