Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for marshal (0.25 sec)

  1. cmd/admin-handlers.go

    				Host:           client.String(),
    				Err:            fmt.Sprintf("server is running the latest version: %s", Version),
    				CurrentVersion: Version,
    			})
    		}
    
    		// Marshal API response
    		jsonBytes, err := json.Marshal(updateStatus)
    		if err != nil {
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    
    		writeSuccessResponseJSON(w, jsonBytes)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	var prev *lifecycle.Rule
    	for i, r := range rules {
    		if i == 0 {
    			prev = r
    			continue
    		}
    		// Check equality of rules
    		prevRData, err := xml.Marshal(prev)
    		if err != nil {
    			return false
    		}
    		rData, err := xml.Marshal(*r)
    		if err != nil {
    			return false
    		}
    		if !(string(prevRData) == string(rData)) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  3. cmd/server_test.go

    		// Append all objects.
    		delObjReq.Objects = append(delObjReq.Objects, ObjectToDelete{
    			ObjectV: ObjectV{
    				ObjectName: objName,
    			},
    		})
    	}
    	// Marshal delete request.
    	deleteReqBytes, err := xml.Marshal(delObjReq)
    	c.Assert(err, nil)
    
    	// Delete list of objects.
    	request, err = newTestSignedRequest(http.MethodPost, getMultiDeleteObjectURL(s.endPoint, bucketName),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  4. cmd/object-handlers_test.go

    	if err != nil {
    		t.Fatalf("[%s] Failed to read NewMultipartUpload response <ERROR> %v", instanceType, err)
    	}
    	err = xml.Unmarshal(mpartRespBytes, &mpartResp)
    	if err != nil {
    		t.Fatalf("[%s] Failed to unmarshal NewMultipartUpload response <ERROR> %v", instanceType, err)
    	}
    
    	noAPIErr := APIError{}
    	missingDateHeaderErr := getAPIError(ErrMissingDateHeader)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    func (z BaseOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 0
    	_ = z
    	err = en.Append(0x80)
    	if err != nil {
    		return
    	}
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    func (z BaseOptions) MarshalMsg(b []byte) (o []byte, err error) {
    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 0
    	_ = z
    	o = append(o, 0x80)
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    marketing
    
    // markets : 2014-12-11 Dog Beach, LLC
    markets
    
    // marriott : 2014-10-09 Marriott Worldwide Corporation
    marriott
    
    // marshalls : 2015-07-16 The TJX Companies, Inc.
    marshalls
    
    // maserati : 2015-07-31 Fiat Chrysler Automobiles N.V.
    maserati
    
    // mattel : 2015-08-06 Mattel Sites, Inc.
    mattel
    
    // mba : 2015-04-02 Binky Moon, LLC
    mba
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 240.3K bytes
    - Viewed (0)
Back to top