Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 144 for unmarshaled (0.09 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java

         * requirement) for the preprocessor to resolve the value to a compatible value or a (string) value than can be
         * unmarshalled into that type. The preprocessor is not required to perform any type conversion but should rather
         * filter out incompatible values from its result.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    type BatchJobExpirePurge struct {
    	line, col      int
    	RetainVersions int `yaml:"retainVersions" json:"retainVersions"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpirePurge{}
    
    // UnmarshalYAML - BatchJobExpirePurge extends unmarshal to extract line, col
    func (p *BatchJobExpirePurge) UnmarshalYAML(val *yaml.Node) error {
    	type purge BatchJobExpirePurge
    	var tmp purge
    	err := val.Decode(&tmp)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. internal/grid/types.go

    		o = msgp.AppendArrayHeader(o, uint32(len(zb0007)))
    		for zb0008 := range zb0007 {
    			o = msgp.AppendString(o, zb0007[zb0008])
    		}
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (u *URLValues) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0004 uint32
    	zb0004, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. internal/jwt/parser.go

    				}
    				c.Subject, err = jsonparser.ParseString(value)
    				return err
    			}
    		}
    		// Ignore unknown fields
    		return nil
    	})
    }
    
    // MapClaims - implements custom unmarshaller
    type MapClaims struct {
    	AccessKey string `json:"accessKey,omitempty"`
    	jwtgo.MapClaims
    }
    
    // GetAccessKey will return the access key.
    // If nil an empty string will be returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/transition_test.go

    			input: `<Transition>
    			<Days>1</Days>
    		  </Transition>`,
    			err: errXMLNotWellFormed,
    		},
    	}
    
    	for i, tc := range trTests {
    		var tr Transition
    		err := xml.Unmarshal([]byte(tc.input), &tr)
    		if err != nil {
    			t.Fatalf("%d: xml unmarshal failed with %v", i+1, err)
    		}
    		if err = tr.Validate(); err != tc.err {
    			t.Fatalf("%d: Invalid transition %v: err %v", i+1, tr, err)
    		}
    	}
    
    	ntrTests := []struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 01 18:58:17 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v1.go

    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    func (c *ChecksumInfo) UnmarshalJSON(data []byte) error {
    	var info checksumInfoJSON
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(data, &info); err != nil {
    		return err
    	}
    	sum, err := hex.DecodeString(info.Hash)
    	if err != nil {
    		return err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. cmd/object-api-interface_gen.go

    	// string "NoMetadata"
    	o = append(o, 0xaa, 0x4e, 0x6f, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61)
    	o = msgp.AppendBool(o, z.NoMetadata)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BucketOptions) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadMapHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    			}
    			for za0001 := range x.versions {
    				start := len(allMeta) - len(bts)
    				bts, err = tmp.unmarshalV(1, bts)
    				if err != nil {
    					return msgp.WrapError(err, "Versions", za0001)
    				}
    				end := len(allMeta) - len(bts)
    				// We reference the marshaled data, so we don't have to re-marshal.
    				x.versions[za0001] = xlMetaV2ShallowVersion{
    					header: tmp.header(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  10. internal/event/config_test.go

    		{[]byte(`<FilterRule><Name>suffix</Name><Value>foo/bar</Value></FilterRule>`), &FilterRule{"suffix", "foo/bar"}, false},
    	}
    
    	for i, testCase := range testCases {
    		result := &FilterRule{}
    		err := xml.Unmarshal(testCase.data, result)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    		if !testCase.expectErr {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 05 10:16:33 UTC 2023
    - 29K bytes
    - Viewed (0)
Back to top