Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 123 for uint8_t (0.07 sec)

  1. 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)
  2. cmd/metacache.go

    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"path"
    	"strings"
    	"time"
    
    	"github.com/minio/pkg/v3/console"
    )
    
    type scanStatus uint8
    
    const (
    	scanStateNone scanStatus = iota
    	scanStateStarted
    	scanStateSuccess
    	scanStateError
    
    	// Time in which the initiator of a scan must have reported back.
    	metacacheMaxRunningAge = time.Minute
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    func (s *S2) unexported(x int8, y int16, z int64) {}
    
    func Bar(x int8, y int16, z int64)                  {}
    func Bar1(x int8, y int16, z int64) uint64          {}
    func Bar2(x int8, y int16, z int64) (uint8, uint64) {}
    func BarE() Error                                   {}
    
    func unexported(x int8, y int16, z int64) {}
    
    func TakesFunc(f func(dontWantName int) int)
    
    type Codec struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

       __asm__ (".symver " #internal ", " vername);
    diff --git a/locale/weightwc.h b/locale/weightwc.h
    index e966c03..22ab790 100644
    --- a/locale/weightwc.h
    +++ b/locale/weightwc.h
    @@ -79,19 +79,19 @@ findidx (const wint_t **cpp, size_t len)
     	    if (cp[cnt] != usrc[cnt])
     	      break;
     
    -	  if (cnt < nhere - 1)
    +	  if (cnt < nhere - 1 || cnt == len)
     	    {
     	      cp += 2 * nhere;
     	      continue;
     	    }
     
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Sep 18 14:52:45 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  6. cmd/data-scanner_test.go

    		bucket:     bucket,
    		prefix:     "",
    		objectName: obj,
    		lifeCycle:  &lc,
    	}
    
    	modTime := time.Now()
    	uuids := make([]uuid.UUID, 5)
    	for i := range uuids {
    		uuids[i] = uuid.UUID([16]byte{15: uint8(i + 1)})
    	}
    	fivs := make([]FileInfo, 5)
    	for i := 0; i < 5; i++ {
    		fivs[i] = FileInfo{
    			Volume:      bucket,
    			Name:        obj,
    			VersionID:   uuids[i].String(),
    			IsLatest:    i == 0,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tests/scanner_valuer_test.go

    	default:
    		return errors.New("not supported")
    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    	return nil
    }
    
    func (role Role) Value() (driver.Value, error) {
    	return role.Name, nil
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  10. src/archive/zip/reader.go

    				// rather than treating it as a hard error.
    				return -1
    			}
    			return i
    		}
    	}
    	return -1
    }
    
    type readBuf []byte
    
    func (b *readBuf) uint8() uint8 {
    	v := (*b)[0]
    	*b = (*b)[1:]
    	return v
    }
    
    func (b *readBuf) uint16() uint16 {
    	v := binary.LittleEndian.Uint16(*b)
    	*b = (*b)[2:]
    	return v
    }
    
    func (b *readBuf) uint32() uint32 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sat Aug 03 01:05:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top