Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for PutUint64 (1.57 sec)

  1. docs/debugging/xattr/main.go

    }
    
    func listxattr(path string) ([]string, error) {
    	return xattr.LList(path)
    }
    
    func setxattr(path, name string, value uint64) error {
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, value)
    	return xattr.LSet(path, name, data)
    }
    
    func main() {
    	flag.StringVar(&path, "path", "", "path name where the attribute shall be applied")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 29 23:52:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	attr := "user.total_deletes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, deleteCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    func (s *xlStorage) setWriteAttribute(writeCount uint64) error {
    	attr := "user.total_writes"
    
    	data := make([]byte, 8)
    	binary.LittleEndian.PutUint64(data, writeCount)
    	return xattr.LSet(s.formatFile, attr, data)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jun 13 11:33:47 UTC 2025
    - 91.7K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    				}
    				globalScannerMetrics.setCycle(&cycleInfo)
    				tmp := make([]byte, 8, 8+cycleInfo.Msgsize())
    				// Cycle for backward compat.
    				binary.LittleEndian.PutUint64(tmp, cycleInfo.next)
    				tmp, _ = cycleInfo.MarshalMsg(tmp)
    				err = saveConfig(ctx, objAPI, dataUsageBloomNamePath, tmp)
    				if err != nil {
    					scannerLogIf(ctx, fmt.Errorf("%w, Object %s", err, dataUsageBloomNamePath))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.5K bytes
    - Viewed (0)
Back to top