Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 164 for uint8 (0.03 sec)

  1. doc/go_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>
    Implementation restriction: A compiler may use rounding while
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  2. statement.go

    		default:
    			switch rv := reflect.ValueOf(v); rv.Kind() {
    			case reflect.Slice, reflect.Array:
    				if rv.Len() == 0 {
    					writer.WriteString("(NULL)")
    				} else if rv.Type().Elem() == reflect.TypeOf(uint8(0)) {
    					stmt.Vars = append(stmt.Vars, v)
    					stmt.DB.Dialector.BindVarTo(writer, stmt, v)
    				} else {
    					writer.WriteByte('(')
    					for i := 0; i < rv.Len(); i++ {
    						if i > 0 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/erasure-healing.go

    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v3/sync/errgroup"
    	"golang.org/x/exp/slices"
    )
    
    //go:generate stringer -type=healingMetric -trimprefix=healingMetric $GOFILE
    
    type healingMetric uint8
    
    const (
    	healingMetricBucket healingMetric = iota
    	healingMetricObject
    	healingMetricCheckAbandonedParts
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  4. 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)
  5. cmd/batch-handlers.go

    type batchJobMetrics struct {
    	sync.RWMutex
    	metrics map[string]*batchJobInfo
    }
    
    //msgp:ignore batchJobMetric
    //go:generate stringer -type=batchJobMetric -trimprefix=batchJobMetric $GOFILE
    type batchJobMetric uint8
    
    const (
    	batchJobMetricReplication batchJobMetric = iota
    	batchJobMetricKeyRotation
    	batchJobMetricExpire
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    	_ = x[StateConnected-2]
    	_ = x[StateConnectionError-3]
    	_ = x[StateShutdown-4]
    }
    
    const stateName = "UnconnectedConnectingConnectedConnectionErrorShutdown"
    
    var stateIndex = [...]uint8{0, 11, 21, 30, 45, 53}
    
    func (i State) String() string {
    	if i >= State(len(stateIndex)-1) {
    		return "State(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return stateName[stateIndex[i]:stateIndex[i+1]]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			s = "ideal-complex"
    		case types.UntypedString:
    			s = "ideal-string"
    		case types.UntypedNil:
    			panic("should never see untyped nil type")
    		default:
    			switch s {
    			case "byte":
    				s = "uint8"
    			case "rune":
    				s = "int32"
    			}
    		}
    		buf.WriteString(s)
    
    	case *types.Array:
    		fmt.Fprintf(buf, "[%d]", typ.Len())
    		w.writeType(buf, typ.Elem())
    
    	case *types.Slice:
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    //msgp:ignore decomMetrics
    type decomMetrics struct{}
    
    var globalDecommissionMetrics decomMetrics
    
    //msgp:ignore decomMetric
    //go:generate stringer -type=decomMetric -trimprefix=decomMetric $GOFILE
    type decomMetric uint8
    
    const (
    	decomMetricDecommissionBucket decomMetric = iota
    	decomMetricDecommissionObject
    	decomMetricDecommissionRemoveObject
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  9. internal/config/config.go

    }
    
    var resolvableSubsystems = set.CreateStringSet(IdentityOpenIDSubSys, IdentityLDAPSubSys, PolicyPluginSubSys)
    
    // ValueSource represents the source of a config parameter value.
    type ValueSource uint8
    
    // Constants for ValueSource
    const (
    	ValueSourceAbsent ValueSource = iota // this is an error case
    	ValueSourceDef
    	ValueSourceCfg
    	ValueSourceEnv
    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	SHA256MSG2 (BX), X11     // 440f38cd1b
    	SHA256MSG2 (R11), X11    // 450f38cd1b
    	SHA256MSG2 X2, X11       // 440f38cdda
    	SHA256MSG2 X11, X11      // 450f38cddb
    	// Test VPERMQ with both uint8 and int8 immediate args
    	VPERMQ $-40, Y8, Y8 // c443fd00c0d8
    	VPERMQ $216, Y8, Y8 // c443fd00c0d8
    	// Test that VPERMPD that shares ytab list with VPERMQ continues to work too.
    	VPERMPD $-40, Y7, Y7 // c4e3fd01ffd8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 57.6K bytes
    - Viewed (0)
Back to top