Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for PutUint16 (0.16 sec)

  1. cmd/xl-storage-format-v2.go

    	// if any change is made to the data stored, bumping this
    	// will allow to detect the exact version later.
    	xlVersionMinor = 3
    )
    
    func init() {
    	binary.LittleEndian.PutUint16(xlVersionCurrent[0:2], xlVersionMajor)
    	binary.LittleEndian.PutUint16(xlVersionCurrent[2:4], xlVersionMinor)
    }
    
    // The []journal contains all the different versions of the object.
    //
    // This array can have 3 kinds of objects:
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  2. internal/grid/connection.go

    	var n int
    	switch {
    	case f.Header.Length <= len7:
    		bts[1] = byte(f.Header.Length)
    		n = 2
    
    	case f.Header.Length <= len16:
    		bts[1] = 126
    		binary.BigEndian.PutUint16(bts[2:4], uint16(f.Header.Length))
    		n = 4
    
    	case f.Header.Length <= len64:
    		bts[1] = 127
    		binary.BigEndian.PutUint64(bts[2:10], uint64(f.Header.Length))
    		n = 10
    
    	default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if objectAPI == nil {
    		return errSRObjectLayerNotReady
    	}
    	data := make([]byte, 4, ss.Msgsize()+4)
    
    	// Initialize the resync meta header.
    	binary.LittleEndian.PutUint16(data[0:2], siteResyncMetaFormat)
    	binary.LittleEndian.PutUint16(data[2:4], siteResyncMetaVersion)
    
    	buf, err := ss.MarshalMsg(data)
    	if err != nil {
    		return err
    	}
    	return saveConfig(ctx, objectAPI, getSRResyncFilePath(ss.DeplID), buf)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg encoding/binary, func Varint([]uint8) (int64, int)
    pkg encoding/binary, func Write(io.Writer, ByteOrder, interface{}) error
    pkg encoding/binary, type ByteOrder interface { PutUint16, PutUint32, PutUint64, String, Uint16, Uint32, Uint64 }
    pkg encoding/binary, type ByteOrder interface, PutUint16([]uint8, uint16)
    pkg encoding/binary, type ByteOrder interface, PutUint32([]uint8, uint32)
    pkg encoding/binary, type ByteOrder interface, PutUint64([]uint8, uint64)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top