Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 143 for unmarshalV (0.05 seconds)

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

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A
     * common use case for such preprocessing is the evaluation of variables within the configuration value.
     *
     */
    public interface BeanConfigurationValuePreprocessor {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.9K bytes
    - Click Count (0)
  2. cmd/batch-replicate_test.go

    #
    #    retry:
    #      attempts: 10 # number of retries for the job before giving up
    #      delay: "500ms" # least amount of delay between each retry
    
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(replicateYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-replicate yaml", err)
    	}
    	if !slices.Equal(job.Replicate.Source.Prefix.F(), []string{"object-prefix1"}) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 7.9K bytes
    - Click Count (0)
  3. cmd/format-erasure.go

    	}
    	return drives
    }
    
    func (f *formatErasureV3) Clone() *formatErasureV3 {
    	b, err := json.Marshal(f)
    	if err != nil {
    		panic(err)
    	}
    	var dst formatErasureV3
    	if err = json.Unmarshal(b, &dst); err != nil {
    		panic(err)
    	}
    	return &dst
    }
    
    // Returns formatErasure.Erasure.Version
    func newFormatErasureV3(numSets int, setLen int) *formatErasureV3 {
    	format := &formatErasureV3{}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  4. cmd/batch-job-common-types_gen.go

    	o = msgp.AppendString(o, z.Key)
    	// string "Value"
    	o = append(o, 0xa5, 0x56, 0x61, 0x6c, 0x75, 0x65)
    	o = msgp.AppendString(o, z.Value)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *BatchJobKV) 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. cmd/batch-expire_test.go

      
      retry:
        attempts: 10 # number of retries for the job before giving up
        delay: 500ms # least amount of delay between each retry
    `
    	var job BatchJobRequest
    	err := yaml.Unmarshal([]byte(expireYaml), &job)
    	if err != nil {
    		t.Fatal("Failed to parse batch-job-expire yaml", err)
    	}
    	if !slices.Equal(job.Expire.Prefix.F(), []string{"myprefix"}) {
    		t.Fatal("Failed to parse batch-job-expire yaml")
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  6. internal/event/name_test.go

    		{[]byte("<Name>s3:ObjectRemoved:NoOP</Name>"), ObjectRemovedNoOP, false},
    		{[]byte("<Name></Name>"), blankName, true},
    	}
    
    	for i, testCase := range testCases {
    		var name Name
    		err := xml.Unmarshal(testCase.data, &name)
    		expectErr := (err != nil)
    
    		if expectErr != testCase.expectErr {
    			t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr)
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  7. cmd/tier-handlers.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminConfigBadJSON, err), r.URL)
    		return
    	}
    
    	var cfg madmin.TierConfig
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	if err := json.Unmarshal(reqBytes, &cfg); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	var ignoreInUse bool
    	if forceStr := r.Form.Get("force"); forceStr != "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Sep 12 20:44:05 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  8. internal/grid/msg_gen.go

    // MarshalMsg implements msgp.Marshaler
    func (z Flags) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendUint8(o, uint8(z))
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *Flags) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	{
    		var zb0001 uint8
    		zb0001, bts, err = msgp.ReadUint8Bytes(bts)
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.configuration;
    
    /**
     * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works
     * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>}
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. internal/grid/handlers.go

    		func(r RT) {
    			if r != rZero {
    				//nolint:staticcheck // SA6002 IT IS A GENERIC VALUE!
    				pool.Put(r)
    			}
    		}
    }
    
    // NewSingleHandler creates a typed handler that can provide Marshal/Unmarshal.
    // Use Register to register a server handler.
    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 27.7K bytes
    - Click Count (0)
Back to Top