Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 205 for qint32 (0.06 sec)

  1. cmd/metacache-set_gen.go

    import (
    	"github.com/tinylib/msgp/msgp"
    )
    
    // DecodeMsg implements msgp.Decodable
    func (z *listPathOptions) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:23:12 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. internal/s3select/message.go

    	headerLength := len(header)
    	payloadLength := len(payload)
    	totalLength := totalByteLength(headerLength, payloadLength)
    
    	buf := new(bytes.Buffer)
    	binary.Write(buf, binary.BigEndian, uint32(totalLength))
    	binary.Write(buf, binary.BigEndian, uint32(headerLength))
    	prelude := buf.Bytes()
    	binary.Write(buf, binary.BigEndian, crc32.ChecksumIEEE(prelude))
    	buf.Write(header)
    	if payload != nil {
    		buf.Write(payload)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
  3. internal/disk/stat_linux.go

    					info.Rotational = &rot
    				}
    			}
    		}
    	}
    
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return readDriveStats(fmt.Sprintf("/sys/dev/block/%v:%v/stat", major, minor))
    }
    
    func readDriveStats(statsFile string) (iostats IOStats, err error) {
    	stats, err := readStat(statsFile)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. cmd/warm-backend-azure.go

    	return azureToObjectError(err, az.Bucket, az.getDest(object))
    }
    
    func (az *warmBackendAzure) InUse(ctx context.Context) (bool, error) {
    	maxResults := int32(1)
    	pager := az.clnt.NewListBlobsFlatPager(az.Bucket, &azblob.ListBlobsFlatOptions{
    		Prefix:     &az.Prefix,
    		MaxResults: &maxResults,
    	})
    	if !pager.More() {
    		return false, nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte, hdrVer uint) (o []byte, err error) {
    	var zb0001 uint32
    	zb0001, bts, err = msgp.ReadArrayHeaderBytes(bts)
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	want := uint32(5)
    	if hdrVer > 2 {
    		want += 2
    	}
    	if zb0001 != want {
    		err = msgp.ArrayError{Wanted: want, Got: zb0001}
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    var i = 1<<s                   // 1 has type int
    var j int32 = 1<<s             // 1 has type int32; j == 0
    var k = uint64(1<<s)           // 1 has type uint64; k == 1<<33
    var m int = 1.0<<s             // 1.0 has type int; m == 1<<33
    var n = 1.0<<s == j            // 1.0 has type int32; n == true
    var o = 1<<s == 2<<s           // 1 and 2 have type int; o == false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  7. internal/crypto/key.go

    		return ErrSecretKeyMismatch
    	}
    	return nil
    }
    
    // DerivePartKey derives an unique 256 bit key from an ObjectKey and the part index.
    func (key ObjectKey) DerivePartKey(id uint32) (partKey [32]byte) {
    	var bin [4]byte
    	binary.LittleEndian.PutUint32(bin[:], id)
    
    	mac := hmac.New(sha256.New, key[:])
    	mac.Write(bin[:])
    	mac.Sum(partKey[:0])
    	return partKey
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 19 20:28:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    func getCompressedOffsets(oi ObjectInfo, offset int64, decrypt func([]byte) ([]byte, error)) (compressedOffset int64, partSkip int64, firstPart int, decryptSkip int64, seqNum uint32) {
    	var skipLength int64
    	var cumulativeActualSize int64
    	var firstPartIdx int
    	for i, part := range oi.Parts {
    		cumulativeActualSize += part.ActualSize
    		if cumulativeActualSize <= offset {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  9. internal/event/target/kafka.go

    	Topic              string        `json:"topic"`
    	QueueDir           string        `json:"queueDir"`
    	QueueLimit         uint64        `json:"queueLimit"`
    	Version            string        `json:"version"`
    	BatchSize          uint32        `json:"batchSize"`
    	BatchCommitTimeout time.Duration `json:"batchCommitTimeout"`
    	TLS                struct {
    		Enable        bool               `json:"enable"`
    		RootCAs       *x509.CertPool     `json:"-"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_context.h

      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
      DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
      DEVICE_PLACEMENT_SILENT_FOR_INT32 = 3,
    };
    // LINT.ThenChange(//tensorflow/c/eager/c_api.h)
    
    // Abstract interface to a context.
    //
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top