Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 144 for unmarshaled (0.21 sec)

  1. cmd/data-usage-cache.go

    	o = msgp.Require(b, z.Msgsize())
    	o = msgp.AppendArrayHeader(o, uint32(len(z)))
    	for zb0004 := range z {
    		o = msgp.AppendString(o, zb0004)
    	}
    	return
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *dataUsageHashMap) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	var zb0002 uint32
    	zb0002, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  2. api/go1.21.txt

    pkg context, func WithTimeoutCause(Context, time.Duration, error) (Context, CancelFunc) #56661
    pkg crypto/elliptic, func GenerateKey //deprecated #52221
    pkg crypto/elliptic, func Marshal //deprecated #52221
    pkg crypto/elliptic, func Unmarshal //deprecated #52221
    pkg crypto/elliptic, method (*CurveParams) Add //deprecated #34648
    pkg crypto/elliptic, method (*CurveParams) Double //deprecated #34648
    pkg crypto/elliptic, method (*CurveParams) IsOnCurve //deprecated #34648
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. cmd/iam-object-store.go

    	data, _, err := iamOS.loadIAMConfigBytesWithMetadata(ctx, objPath)
    	if err != nil {
    		return err
    	}
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	return json.Unmarshal(data, item)
    }
    
    func (iamOS *IAMObjectStore) deleteIAMConfig(ctx context.Context, path string) error {
    	return deleteConfig(ctx, iamOS.objAPI, path)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    				}
    				return nil
    			}, idx, *client.host)
    		}
    
    		for _, nerr := range ng.Wait() {
    			if nerr.Err != nil {
    				waitingDrives := map[string]madmin.DiskMetrics{}
    				jerr := json.Unmarshal([]byte(nerr.Err.Error()), &waitingDrives)
    				if jerr == nil {
    					prs, ok := peerResults[nerr.Host.String()]
    					if ok {
    						prs.WaitingDrives = waitingDrives
    						peerResults[nerr.Host.String()] = prs
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    // both the old and the new formats.
    func (d *PolicyDoc) parseJSON(data []byte) error {
    	json := jsoniter.ConfigCompatibleWithStandardLibrary
    	var doc PolicyDoc
    	err := json.Unmarshal(data, &doc)
    	if err != nil {
    		err2 := json.Unmarshal(data, &doc.Policy)
    		if err2 != nil {
    			// Just return the first error.
    			return err
    		}
    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    	if err != nil {
    		if !errors.Is(err, errConfigNotFound) {
    			internalLogOnceIf(ctx, err, backgroundHealInfoPath)
    		}
    		return backgroundHealInfo{}
    	}
    	var info backgroundHealInfo
    	if err = json.Unmarshal(buf, &info); err != nil {
    		bugLogIf(ctx, err, backgroundHealInfoPath)
    	}
    	return info
    }
    
    func saveBackgroundHealInfo(ctx context.Context, objAPI ObjectLayer, info backgroundHealInfo) {
    	if globalIsErasureSD {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  7. cmd/server_test.go

    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    	err = xml.Unmarshal(data, &errorResponse)
    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    	c.Assert(response.StatusCode, statusCode)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    		}
    		vers = append(vers, xl.versions)
    	}
    	for _, v2 := range vers {
    		for _, ver := range v2 {
    			b, _ := json.Marshal(ver.header)
    			t.Log(string(b))
    			var x xlMetaV2Version
    			_, _ = x.unmarshalV(0, ver.meta)
    			b, _ = json.Marshal(x)
    			t.Log(string(b), x.getSignature())
    		}
    	}
    
    	for i := range vers {
    		t.Run(fmt.Sprintf("non-strict-q%d", i), func(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. cmd/peer-rest-server.go

    func (s *peerRESTServer) TraceHandler(ctx context.Context, payload []byte, _ <-chan []byte, out chan<- []byte) *grid.RemoteErr {
    	var traceOpts madmin.ServiceTraceOpts
    	err := json.Unmarshal(payload, &traceOpts)
    	if err != nil {
    		return grid.NewRemoteErr(err)
    	}
    	var wg sync.WaitGroup
    
    	// Trace Publisher uses nonblocking publish and hence does not wait for slow subscribers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    	const maxBodySize = 2 * 100000 * 1024
    
    	if r.ContentLength > maxBodySize {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrEntityTooLarge), r.URL)
    		return
    	}
    
    	// Unmarshal list of keys to be deleted.
    	deleteObjectsReq := &DeleteObjectsRequest{}
    	if err := xmlDecoder(r.Body, deleteObjectsReq, maxBodySize); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top