Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 230 for Int8 (0.06 sec)

  1. src/reflect/iter.go

    				return []Value{ValueOf(yield(in[0]))}
    			})
    			v.Call([]Value{rf})
    		}
    	}
    	switch v.Kind() {
    	case Int:
    		return rangeNum[int](v.Int())
    	case Int8:
    		return rangeNum[int8](v.Int())
    	case Int16:
    		return rangeNum[int16](v.Int())
    	case Int32:
    		return rangeNum[int32](v.Int())
    	case Int64:
    		return rangeNum[int64](v.Int())
    	case Uint:
    		return rangeNum[uint](v.Uint())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    			d int8
    			e int32
    		}
    	}{},
    		"struct { a int8; b int8; c int8; d int8; e int32 }",
    	},
    	{struct {
    		x struct {
    			a int8
    			b int8
    			c int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (ROLQ x (MOV(Q|L)const [c])) => (ROLQconst [int8(c&63)] x)
    (ROLL x (MOV(Q|L)const [c])) => (ROLLconst [int8(c&31)] x)
    (ROLW x (MOV(Q|L)const [c])) => (ROLWconst [int8(c&15)] x)
    (ROLB x (MOV(Q|L)const [c])) => (ROLBconst [int8(c&7) ] x)
    
    (RORQ x (MOV(Q|L)const [c])) => (ROLQconst [int8((-c)&63)] x)
    (RORL x (MOV(Q|L)const [c])) => (ROLLconst [int8((-c)&31)] x)
    (RORW x (MOV(Q|L)const [c])) => (ROLWconst [int8((-c)&15)] x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  4. logger/sql.go

    // RegEx matches only numeric values
    var numericPlaceholderRe = regexp.MustCompile(`\$\d+\$`)
    
    func isNumeric(k reflect.Kind) bool {
    	switch k {
    	case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64:
    		return true
    	case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    		return true
    	case reflect.Float32, reflect.Float64:
    		return true
    	default:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/internal/fuzz/encoding_test.go

    			in: `go test fuzz v1
    int()`,
    			reject: true,
    		},
    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/alg.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import "cmd/compile/internal/base"
    
    // AlgKind describes the kind of algorithms used for comparing and
    // hashing a Type.
    type AlgKind int8
    
    //go:generate stringer -type AlgKind -trimprefix A alg.go
    
    const (
    	AUNK   AlgKind = iota
    	ANOEQ          // Types cannot be compared
    	ANOALG         // implies ANOEQ, and in addition has a part that is marked Noalg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/stdlib.go

    type Symbol struct {
    	Name    string
    	Kind    Kind
    	Version Version // Go version that first included the symbol
    }
    
    // A Kind indicates the kind of a symbol:
    // function, variable, constant, type, and so on.
    type Kind int8
    
    const (
    	Invalid Kind = iota // Example name:
    	Type                // "Buffer"
    	Func                // "Println"
    	Var                 // "EOF"
    	Const               // "Pi"
    	Field               // "Point.X"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/syscall/syscall_solaris.go

    	msg.Namelen = uint32(SizeofSockaddrAny)
    	var iov Iovec
    	if len(p) > 0 {
    		iov.Base = (*int8)(unsafe.Pointer(&p[0]))
    		iov.SetLen(len(p))
    	}
    	var dummy int8
    	if len(oob) > 0 {
    		// receive at least one normal byte
    		if len(p) == 0 {
    			iov.Base = &dummy
    			iov.SetLen(1)
    		}
    		msg.Accrights = (*int8)(unsafe.Pointer(&oob[0]))
    		msg.Accrightslen = int32(len(oob))
    	}
    	msg.Iov = &iov
    	msg.Iovlen = 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/reflect/iter_test.go

    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    		{"int8", ValueOf(int8(4)), func(t *testing.T, s iter.Seq[Value]) {
    			i := int8(0)
    			for v := range s {
    				if v.Interface().(int8) != i {
    					t.Fatalf("got %d, want %d", v.Int(), i)
    				}
    				i++
    			}
    			if i != 4 {
    				t.Fatalf("should loop four times")
    			}
    		}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/config.go

    	fp64RegMask    regMask        // floating point register mask
    	specialRegMask regMask        // special register mask
    	intParamRegs   []int8         // register numbers of integer param (in/out) registers
    	floatParamRegs []int8         // register numbers of floating param (in/out) registers
    	ABI1           *abi.ABIConfig // "ABIInternal" under development // TODO change comment when this becomes current
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top