Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 739 for int1 (0.26 sec)

  1. src/syscall/ztypes_netbsd_arm.go

    	Pad_cgo_2     [4]byte
    }
    
    type Statfs_t [0]byte
    
    type Flock_t struct {
    	Start  int64
    	Len    int64
    	Pid    int32
    	Type   int16
    	Whence int16
    }
    
    type Dirent struct {
    	Fileno    uint64
    	Reclen    uint16
    	Namlen    uint16
    	Type      uint8
    	Name      [512]int8
    	Pad_cgo_0 [3]byte
    }
    
    type Fsid struct {
    	X__fsid_val [2]int32
    }
    
    const (
    	pathMax = 0x400
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/divconst_test.go

    	}
    }
    
    var i16res int16
    
    func BenchmarkDivconstI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i16res = int16(i) / 7
    	}
    }
    
    func BenchmarkModconstI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		i16res = int16(i) % 7
    	}
    }
    
    func BenchmarkDivisiblePow2constI16(b *testing.B) {
    	for i := 0; i < b.N; i++ {
    		boolres = int16(i)%16 == 0
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 00:07:35 UTC 2020
    - 7.7K bytes
    - Viewed (0)
  3. test/rename.go

    	n :=
    		append +
    			bool +
    			byte +
    			complex +
    			complex64 +
    			complex128 +
    			cap +
    			close +
    			delete +
    			error +
    			false +
    			float32 +
    			float64 +
    			imag +
    			int +
    			int8 +
    			int16 +
    			int32 +
    			int64 +
    			len +
    			make +
    			new +
    			nil +
    			panic +
    			print +
    			println +
    			real +
    			recover +
    			rune +
    			string +
    			true +
    			uint +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    pkg p1, func Bar1(int8, int16, int64) uint64
    pkg p1, func Bar2(int8, int16, int64) (uint8, uint64)
    pkg p1, func BarE() Error
    pkg p1, func Now() Time
    pkg p1, func PlainFunc(int, int, string) (*B, error)
    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    pkg p1, method (*Embedded) OnEmbedded()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. api/go1.12.txt

    pkg strings, func ReplaceAll(string, string, string) string
    pkg strings, method (*Builder) Cap() int
    pkg syscall (freebsd-386), const S_IRWXG = 56
    pkg syscall (freebsd-386), const S_IRWXG ideal-int
    pkg syscall (freebsd-386), const S_IRWXO = 7
    pkg syscall (freebsd-386), const S_IRWXO ideal-int
    pkg syscall (freebsd-386), func Fstatat(int, string, *Stat_t, int) error
    pkg syscall (freebsd-386), func Mknod(string, uint32, uint64) error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  6. test/typeswitch1.go

    package main
    
    import "fmt"
    
    const (
    	a = iota
    	b
    	c
    	d
    	e
    )
    
    var x = []int{1, 2, 3}
    
    func f(x int, len *byte) {
    	*len = byte(x)
    }
    
    func whatis(x interface{}) string {
    	switch xx := x.(type) {
    	default:
    		return fmt.Sprint("default ", xx)
    	case int, int8, int16, int32:
    		return fmt.Sprint("signed ", xx)
    	case int64:
    		return fmt.Sprint("signed64 ", int64(xx))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:48:19 UTC 2012
    - 1.6K bytes
    - Viewed (0)
  7. test/typeparam/issue50417.go

    	p.f = 0
    }
    
    var _ = f4[*Sfm]
    
    type A int
    type B int
    type C float64
    
    type Int interface {
    	*Sf | A
    	*Sf | B
    }
    
    func f5[P Int](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f5[*Sf]
    
    type Int2 interface {
    	*Sf | A
    	any
    	*Sf | C
    }
    
    func f6[P Int2](p P) {
    	_ = p.f
    	p.f = 0
    }
    
    var _ = f6[*Sf]
    
    type Int3 interface {
    	Sf
    	~struct{ f int }
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. test/index.go

    	cnfgood = -2.0
    	cnfbad = -2.1
    )
    
    var j int = 100020
    var i int = 100021
    var i8 int8 = 126
    var i16 int16 = 10025
    var i32 int32 = 100022
    var i64 int64 = 100023
    var i64big int64 = 1<<31
    var i64bigger int64 = 1<<32
    var huge uint64 = 1<<64 - 1
    var fgood float64 = 2.0
    var fbad float64 = 2.1
    
    var nj int = -10
    var ni int = -11
    var ni8 int8 = -14
    var ni16 int16 = -15
    var ni32 int32 = -12
    var ni64 int64 = -13
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  9. test/typeparam/typeswitch1.go

    	case T:
    		println("T")
    	case int:
    		println("int")
    	case int32, int16:
    		println("int32/int16")
    	case struct{ a, b T }:
    		println("struct{T,T}")
    	default:
    		println("other")
    	}
    }
    func main() {
    	f[float64](float64(6))
    	f[float64](int(7))
    	f[float64](int32(8))
    	f[float64](struct{ a, b float64 }{a: 1, b: 2})
    	f[float64](int8(9))
    	f[int32](int32(7))
    	f[int](int32(7))
    	f[any](int(10))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 07 13:47:58 UTC 2022
    - 648 bytes
    - Viewed (0)
  10. 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)
Back to top