Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 739 for int1 (0.05 sec)

  1. test/fixedbugs/issue29612.dir/main.go

    	ssa2.Works(v2)
    	ssa2.Panics(v2) // This call must not panic
    
    	swt(v1, 1)
    	swt(v2, 2)
    }
    
    //go:noinline
    func swt(i interface{}, want int) {
    	var got int
    	switch i.(type) {
    	case *ssa1.T:
    		got = 1
    	case *ssa2.T:
    		got = 2
    
    	case int8, int16, int32, int64:
    		got = 3
    	case uint8, uint16, uint32, uint64:
    		got = 4
    	}
    
    	if got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 25 14:19:25 UTC 2020
    - 845 bytes
    - Viewed (0)
  2. security/pkg/pki/testdata/multilevelpki/int2-cert.pem

    Oliver Liu <******@****.***> 1520311744 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  3. test/codegen/bitfield.go

    }
    
    func sbfiz4(x int8) int64 {
    	return int64(x << 3) // arm64:"SBFIZ\t[$]3, R[0-9]+, [$]5",-"LSL"
    }
    
    // sbfiz combinations.
    // merge shift with sbfiz into sbfiz.
    func sbfiz5(x int32) int32 {
    	// arm64:"SBFIZ\t[$]1, R[0-9]+, [$]28",-"LSL",-"ASR"
    	return (x << 4) >> 3
    }
    
    func sbfiz6(x int16) int64 {
    	return int64(x+1) << 3 // arm64:"SBFIZ\t[$]3, R[0-9]+, [$]16",-"LSL"
    }
    
    func sbfiz7(x int8) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 06:11:32 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. 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
    		case int64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. test/rename1.go

    	complex    = 4
    	complex64  = 5
    	complex128 = 6
    	cap        = 7
    	close      = 8
    	delete     = 9
    	error      = 10
    	false      = 11
    	float32    = 12
    	float64    = 13
    	imag       = 14
    	int        = 15
    	int8       = 16
    	int16      = 17
    	int32      = 18
    	int64      = 19
    	len        = 20
    	make       = 21
    	new        = 22
    	nil        = 23
    	panic      = 24
    	print      = 25
    	println    = 26
    	real       = 27
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 19 14:07:00 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/types2/basic.go

    // license that can be found in the LICENSE file.
    
    package types2
    
    // BasicKind describes the kind of basic type.
    type BasicKind int
    
    const (
    	Invalid BasicKind = iota // type is invalid
    
    	// predeclared types
    	Bool
    	Int
    	Int8
    	Int16
    	Int32
    	Int64
    	Uint
    	Uint8
    	Uint16
    	Uint32
    	Uint64
    	Uintptr
    	Float32
    	Float64
    	Complex64
    	Complex128
    	String
    	UnsafePointer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 01 22:17:50 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    	case "&":
    		ans = i & j
    	case "|":
    		ans = i | j
    	case "^":
    		ans = i ^ j
    	}
    	switch t {
    	case "int32":
    		ans = int64(int32(ans))
    	case "int16":
    		ans = int64(int16(ans))
    	case "int8":
    		ans = int64(int8(ans))
    	}
    	return fmt.Sprintf("%d", ans)
    }
    
    func main() {
    	w := new(bytes.Buffer)
    	fmt.Fprintf(w, "// Code generated by gen/arithConstGen.go. DO NOT EDIT.\n\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    var Typ = [...]*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    	Int64:         {Int64, IsInteger, "int64"},
    	Uint:          {Uint, IsInteger | IsUnsigned, "uint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    // alias basic type named "byte" (and analogous for "rune").
    var Typ = []*Basic{
    	Invalid: {Invalid, 0, "invalid type"},
    
    	Bool:          {Bool, IsBoolean, "bool"},
    	Int:           {Int, IsInteger, "int"},
    	Int8:          {Int8, IsInteger, "int8"},
    	Int16:         {Int16, IsInteger, "int16"},
    	Int32:         {Int32, IsInteger, "int32"},
    	Int64:         {Int64, IsInteger, "int64"},
    	Uint:          {Uint, IsInteger | IsUnsigned, "uint"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top