Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for uint8_t (0.1 sec)

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

    func (z *ChecksumAlgo) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 uint8
    		zb0001, err = dc.ReadUint8()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = ChecksumAlgo(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z ChecksumAlgo) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteUint8(uint8(z))
    	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
    - 55.5K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm.go

    func ParseARMCondition(cond string) (uint8, bool) {
    	return parseARMCondition(cond, armLS, armSCOND)
    }
    
    func parseARMCondition(cond string, ls, scond map[string]uint8) (uint8, bool) {
    	cond = strings.TrimPrefix(cond, ".")
    	if cond == "" {
    		return arm.C_SCOND_NONE, true
    	}
    	names := strings.Split(cond, ".")
    	bits := uint8(0)
    	for _, name := range names {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. cmd/warm-backend.go

    		if _, ok := err.(BackendDown); ok {
    			return err
    		}
    		return tierPermErr{
    			Op:  tierDelete,
    			Err: err,
    		}
    	}
    	return err
    }
    
    type tierOp uint8
    
    const (
    	_ tierOp = iota
    	tierGet
    	tierPut
    	tierDelete
    )
    
    func (op tierOp) String() string {
    	switch op {
    	case tierGet:
    		return "GET"
    	case tierPut:
    		return "PUT"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    		flags |= xlFlagUsesDataDir
    	}
    	if j.Type == ObjectType && j.ObjectV2.InlineData() {
    		flags |= xlFlagInlineData
    	}
    	var ecM, ecN uint8
    	if j.Type == ObjectType && j.ObjectV2 != nil {
    		ecM, ecN = uint8(j.ObjectV2.ErasureM), uint8(j.ObjectV2.ErasureN)
    	}
    	return xlMetaV2VersionHeader{
    		VersionID: j.getVersionID(),
    		ModTime:   j.getModTime().UnixNano(),
    		Signature: j.getSignature(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    func (z *DeleteOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(5)
    	var zb0001Mask uint8 /* 5 bits */
    	_ = zb0001Mask
    	if z.OldDataDir == "" {
    		zb0001Len--
    		zb0001Mask |= 0x10
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    	if zb0001Len == 0 {
    		return
    	}
    	// write "BaseOptions"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v1_gen.go

    	zb0001Len := uint32(8)
    	var zb0001Mask uint8 /* 8 bits */
    	_ = zb0001Mask
    	if z.Index == nil {
    		zb0001Len--
    		zb0001Mask |= 0x20
    	}
    	if z.Checksums == nil {
    		zb0001Len--
    		zb0001Mask |= 0x40
    	}
    	if z.Error == "" {
    		zb0001Len--
    		zb0001Mask |= 0x80
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  7. cmd/data-usage-cache_gen.go

    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	var zb0001Mask uint8 /* 1 bits */
    	_ = zb0001Mask
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(true);
    }
    
    void TFE_ContextDisableGraphCollection(TFE_Context* ctx) {
      tensorflow::unwrap(ctx)->SetShouldStoreGraphs(false);
    }
    
    uint64_t TFE_GetContextId(TFE_Context* ctx) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      return context->GetContextId();
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    and -1 for signed and untyped constants.
    </p>
    
    <pre>
    ^1         // untyped integer constant, equal to -2
    uint8(^1)  // illegal: same as uint8(-2), -2 cannot be represented as a uint8
    ^uint8(1)  // typed uint8 constant, same as 0xFF ^ uint8(1) = uint8(0xFE)
    int8(^1)   // same as int8(-2)
    ^int8(1)   // same as -1 ^ int8(1) = -2
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. cmd/xl-storage-disk-id-check.go

    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/logger"
    )
    
    //go:generate stringer -type=storageMetric -trimprefix=storageMetric $GOFILE
    
    type storageMetric uint8
    
    const (
    	storageMetricMakeVolBulk storageMetric = iota
    	storageMetricMakeVol
    	storageMetricListVols
    	storageMetricStatVol
    	storageMetricDeleteVol
    	storageMetricWalkDir
    	storageMetricListDir
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top