Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 2,093 for int2 (1.95 sec)

  1. src/go/types/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.3K bytes
    - Viewed (0)
  2. src/encoding/gob/encgen.go

    		state.encodeUint(bits)`,
    	},
    	{
    		"int",
    		"Int",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int16",
    		"Int16",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int32",
    		"Int32",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    	{
    		"int64",
    		"Int64",
    		"0",
    		`state.encodeInt(x)`,
    	},
    	{
    		"int8",
    		"Int8",
    		"0",
    		`state.encodeInt(int64(x))`,
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:39:09 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue51658.go

    func _[T F | int](x T) {
    	_ = x == 0 // don't crash when recording type of 0
    }
    
    // test case from issue
    
    type FloatType { // ERRORx "expected type|type declaration"
    	float32 | float64
    } // ERRORx "expected declaration|non-declaration statement"
    
    type IntegerType interface {
    	int8 | int16 | int32 | int64 | int |
    		uint8 | uint16 | uint32 | uint64 | uint
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 1016 bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Interface uint32
    }
    
    type Msghdr struct {
    	Name       *byte
    	Iov        *Iovec
    	Control    *byte
    	Flags      int32
    	Namelen    int32
    	Iovlen     int32
    	Controllen int32
    }
    
    type Cmsghdr struct {
    	Len   int32
    	Level int32
    	Type  int32
    }
    
    type Inet4Pktinfo struct {
    	Addr    [4]byte /* in_addr */
    	Ifindex uint32
    }
    
    type Inet6Pktinfo struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/switch_test.go

    	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:
    			n += 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 15:42:30 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. 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)
  7. security/pkg/pki/testdata/multilevelpki/ecc-int-cert-chain.pem

    jacob-delgado <******@****.***> 1588995233 -0600
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 09 03:33:53 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  8. test/rename1.go

    	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)
  9. test/typeparam/issue51925.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import "fmt"
    
    type IntLike interface {
    	~int | ~int64 | ~int32 | ~int16 | ~int8
    }
    
    func Reduce[T any, U any, Uslice ~[]U](function func(T, U) T, sequence Uslice, initial T) T {
    	result := initial
    	for _, x := range sequence {
    		result = function(result, x)
    	}
    	return result
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 963 bytes
    - Viewed (0)
  10. src/syscall/ztypes_linux_arm.go

    	Ppsfreq   int32
    	Jitter    int32
    	Shift     int32
    	Stabil    int32
    	Jitcnt    int32
    	Calcnt    int32
    	Errcnt    int32
    	Stbcnt    int32
    	Tai       int32
    	Pad_cgo_0 [44]byte
    }
    
    type Time_t int32
    
    type Tms struct {
    	Utime  int32
    	Stime  int32
    	Cutime int32
    	Cstime int32
    }
    
    type Utimbuf struct {
    	Actime  int32
    	Modtime int32
    }
    
    type Rusage struct {
    	Utime    Timeval
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:49 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top