Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 251 for quint8 (0.42 sec)

  1. src/cmd/compile/internal/inline/inlheur/cspropbits_string.go

    	0x1, /* CallSiteInLoop */
    	0x2, /* CallSiteOnPanicPath */
    	0x4, /* CallSiteInInitFunc */
    }
    
    const _CSPropBits_name = "CallSiteInLoopCallSiteOnPanicPathCallSiteInInitFunc"
    
    var _CSPropBits_index = [...]uint8{0, 14, 33, 51}
    
    func (i CSPropBits) String() string {
    	var b bytes.Buffer
    
    	remain := uint64(i)
    	seen := false
    
    	for k, v := range _CSPropBits_value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 23:03:03 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/switch_test.go

    }
    func benchmarkSwitchType(b *testing.B, predictable bool) {
    	a := []any{
    		int8(1),
    		int16(2),
    		int32(3),
    		int64(4),
    		uint8(5),
    		uint16(6),
    		uint32(7),
    		uint64(8),
    	}
    	n := 0
    	rng := newRNG()
    	for i := 0; i < b.N; i++ {
    		rng = rng.next(predictable)
    		switch a[rng.value()&7].(type) {
    		case int8:
    			n += 1
    		case int16:
    			n += 2
    		case int32:
    			n += 3
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/algkind_string.go

    	_ = x[ACPLX64-15]
    	_ = x[ACPLX128-16]
    	_ = x[ASPECIAL-17]
    }
    
    const _AlgKind_name = "UNKNOEQNOALGMEMMEM0MEM8MEM16MEM32MEM64MEM128STRINGINTERNILINTERFLOAT32FLOAT64CPLX64CPLX128SPECIAL"
    
    var _AlgKind_index = [...]uint8{0, 3, 7, 12, 15, 19, 23, 28, 33, 38, 44, 50, 55, 63, 70, 77, 83, 90, 97}
    
    func (i AlgKind) String() string {
    	if i < 0 || i >= AlgKind(len(_AlgKind_index)-1) {
    		return "AlgKind(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. cmd/scannermetric_string.go

    var _scannerMetric_index = [...]uint8{0, 12, 24, 33, 41, 53, 65, 74, 77, 93, 98, 112, 127, 147, 157, 167, 186, 198, 208, 217, 232, 245, 249}
    
    func (i scannerMetric) String() string {
    	if i >= scannerMetric(len(_scannerMetric_index)-1) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/crypto/tls/ech.go

    	Type uint16
    	Data []byte
    }
    
    type echConfig struct {
    	raw []byte
    
    	Version uint16
    	Length  uint16
    
    	ConfigID             uint8
    	KemID                uint16
    	PublicKey            []byte
    	SymmetricCipherSuite []echCipher
    
    	MaxNameLength uint8
    	PublicName    []byte
    	Extensions    []echExtension
    }
    
    var errMalformedECHConfig = errors.New("tls: malformed ECHConfigList")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/list.go

    		return fmt.Sprintf("X%d", r-REG_X0)
    	case REG_F0 <= r && r <= REG_F31:
    		return fmt.Sprintf("F%d", r-REG_F0)
    	default:
    		return fmt.Sprintf("Rgok(%d)", r-obj.RBaseRISCV)
    	}
    }
    
    func opSuffixString(s uint8) string {
    	if s&rmSuffixBit == 0 {
    		return ""
    	}
    
    	ss, err := rmSuffixString(s)
    	if err != nil {
    		ss = fmt.Sprintf("<invalid 0x%x>", s)
    	}
    	if ss == "" {
    		return ss
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 959 bytes
    - Viewed (0)
  7. src/os/env.go

    // shell variable such as $*.
    func isShellSpecialVar(c uint8) bool {
    	switch c {
    	case '*', '#', '$', '@', '!', '?', '-', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9':
    		return true
    	}
    	return false
    }
    
    // isAlphaNum reports whether the byte is an ASCII letter, number, or underscore.
    func isAlphaNum(c uint8) bool {
    	return c == '_' || '0' <= c && c <= '9' || 'a' <= c && c <= 'z' || 'A' <= c && c <= 'Z'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/os/path_unix.go

    const (
    	PathSeparator     = '/' // OS-specific path separator
    	PathListSeparator = ':' // OS-specific path list separator
    )
    
    // IsPathSeparator reports whether c is a directory separator character.
    func IsPathSeparator(c uint8) bool {
    	return PathSeparator == c
    }
    
    // splitPath returns the base name and parent directory.
    func splitPath(path string) (string, string) {
    	// if no better parent is found, the path is relative from "here"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:44:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. internal/grid/msg.go

    //
    //go:generate msgp -unexported -file=$GOFILE
    //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE
    
    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    	// OpConnect is a connect request.
    	OpConnect Op = iota + 1
    
    	// OpConnectResponse is a response to a connect request.
    	OpConnectResponse
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 28 19:22:29 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. src/runtime/minmax_test.go

    		}
    	}
    }
    
    // testMinMax tests that min/max behave correctly on every pair of
    // values in vals.
    //
    // vals should be a sequence of values in strictly ascending order.
    func testMinMax[T int | uint8 | string](t *testing.T, vals ...T) {
    	for i, x := range vals {
    		for _, y := range vals[i+1:] {
    			if !(x < y) {
    				t.Fatalf("values out of order: !(%v < %v)", x, y)
    			}
    
    			if z := min(x, y); z != x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top