Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Marshal (0.06 sec)

  1. cmd/admin-heal-ops.go

    		for !he.hasEnded() {
    			time.Sleep(1 * time.Second)
    		}
    		ahs.Lock()
    		defer ahs.Unlock()
    		// Heal sequence explicitly stopped, remove it.
    		delete(ahs.healSeqMap, path)
    	}
    
    	b, err := json.Marshal(&hsp)
    	return b, toAdminAPIErr(GlobalContext, err)
    }
    
    // LaunchNewHealSequence - launches a background routine that performs
    // healing according to the healSequence argument. For each heal
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    	Hash      string `json:"hash,omitempty"`
    }
    
    // MarshalJSON marshals the ChecksumInfo struct
    func (c ChecksumInfo) MarshalJSON() ([]byte, error) {
    	info := checksumInfoJSON{
    		Name:      fmt.Sprintf("part.%d", c.PartNumber),
    		Algorithm: c.Algorithm.String(),
    		Hash:      hex.EncodeToString(c.Hash),
    	}
    	return json.Marshal(info)
    }
    
    // UnmarshalJSON - custom checksum info unmarshaller
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	}
    
    	return fi, nil
    }
    
    // Signature will return a signature that is expected to be the same across all disks.
    func (j *xlMetaV2DeleteMarker) Signature() [4]byte {
    	// Shallow copy
    	c := *j
    
    	// Marshal metadata
    	crc := hashDeterministicBytes(c.MetaSys)
    	c.MetaSys = nil
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. doc/godebug.md

    certificate policy OIDs with components larger than 31 bits. By default this
    field is only used during parsing, when it is populated with policy OIDs, but
    not used during marshaling. It can be used to marshal these larger OIDs, instead
    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    
    ### Go 1.21
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. cmd/api-response.go

    }
    
    // ObjectVersion container for object version metadata
    type ObjectVersion struct {
    	Object
    	IsLatest  bool
    	VersionID string `xml:"VersionId"`
    
    	isDeleteMarker bool
    }
    
    // MarshalXML - marshal ObjectVersion
    func (o ObjectVersion) MarshalXML(e *xxml.Encoder, start xxml.StartElement) error {
    	if o.isDeleteMarker {
    		start.Name.Local = "DeleteMarker"
    	} else {
    		start.Name.Local = "Version"
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. cmd/iam.go

    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	d, err := sys.store.GetPolicyDoc(policyName)
    	if err != nil {
    		return nil, err
    	}
    
    	pdata, err := json.Marshal(d.Policy)
    	if err != nil {
    		return nil, err
    	}
    
    	return &madmin.PolicyInfo{
    		PolicyName: policyName,
    		Policy:     pdata,
    		CreateDate: d.CreateDate,
    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  7. cmd/data-scanner.go

    	}
    	return info
    }
    
    func saveBackgroundHealInfo(ctx context.Context, objAPI ObjectLayer, info backgroundHealInfo) {
    	if globalIsErasureSD {
    		return
    	}
    
    	b, err := json.Marshal(info)
    	if err != nil {
    		bugLogIf(ctx, err)
    		return
    	}
    	// Get last healing information
    	err = saveConfig(ctx, objAPI, backgroundHealInfoPath, b)
    	if err != nil {
    		internalLogIf(ctx, err)
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  8. RELEASE.md

    Imran, Ben Olson, Chao, Chase Riley Roberts, Clemens Giuliani, dependabot[bot], Dimitris Vardoulakis, Dragan Mladjenovic, ekuznetsov139, Elfie Guo, Faijul Amin, Gauri1 Deshpande, Georg Stefan Schmid, guozhong.zhuang, Hao Wu, Haoyu (Daniel), Harsha H S, Harsha Hs, Harshit Monish, Ilia Sergachev, Jane Liu, Jaroslav Sevcik, Jinzhe Zeng, Justin Dhillon, Kaixi Hou, Kanvi Khanna, LakshmiKalaKadali, Learning-To-Play, lingzhi98, Lu Teng, Matt Bahr, Max Ren, Meekail Zain, Mmakevic-Amd, mraunak, neverlva,...
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top