Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 739 for int1 (0.04 sec)

  1. src/go/types/basic.go

    // license that can be found in the LICENSE file.
    
    package types
    
    // 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/constFold_test.go

    			t.Errorf("!(%d <= %d)", x, y)
    		}
    		if !(x >= y) {
    			t.Errorf("!(%d >= %d)", x, y)
    		}
    	}
    }
    func TestConstFoldCompareint16(t *testing.T) {
    	{
    		var x int16 = -32768
    		var y int16 = -32768
    		if !(x == y) {
    			t.Errorf("!(%d == %d)", x, y)
    		}
    		if x != y {
    			t.Errorf("%d != %d", x, y)
    		}
    		if x < y {
    			t.Errorf("%d < %d", x, y)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 323K bytes
    - Viewed (0)
  3. src/internal/types/testdata/examples/types.go

    	x.m0()
    	x.m1(true)
    	x.m("foo")
    }
    
    type _ struct {
    	( /* ERROR "cannot parenthesize" */ int8)
    	( /* ERROR "cannot parenthesize" */ *int16)
    	*( /* ERROR "cannot parenthesize" */ int32)
    	List[int]
    
    	int8 /* ERROR "int8 redeclared" */
    	*int16 /* ERROR "int16 redeclared" */
    	List /* ERROR "List redeclared" */ [int]
    }
    
    // Issue #45639: We don't allow this anymore. Keep this code
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  4. src/runtime/error.go

    		print(`")`)
    	case abi.Bool:
    		print(typestring, "(", *(*bool)(eface.data), ")")
    	case abi.Int:
    		print(typestring, "(", *(*int)(eface.data), ")")
    	case abi.Int8:
    		print(typestring, "(", *(*int8)(eface.data), ")")
    	case abi.Int16:
    		print(typestring, "(", *(*int16)(eface.data), ")")
    	case abi.Int32:
    		print(typestring, "(", *(*int32)(eface.data), ")")
    	case abi.Int64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. test/ken/divconst.go

    		u32test(a, b, 16384)
    	}
    }
    
    func i16rand() int16 {
    	for {
    		a := int16(rand.Uint32())
    		a >>= uint(rand.Intn(16))
    		if -a != a {
    			return a
    		}
    	}
    	return 0 // impossible
    }
    
    func i16test(a, b, c int16) {
    	d := a / c
    	if d != b {
    		println("i16", a, b, c, d)
    		panic("fail")
    	}
    }
    
    func i16run() {
    	var a, b int16
    
    	for i := 0; i < Count; i++ {
    		a = i16rand()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 9.2K bytes
    - Viewed (0)
  6. security/pkg/pki/testdata/multilevelpki/int-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)
  7. security/pkg/pki/testdata/multilevelpki/int-key.pem

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

    package main
    
    type v bool
    
    var (
    	// valid
    	_ map[int8]v
    	_ map[uint8]v
    	_ map[int16]v
    	_ map[uint16]v
    	_ map[int32]v
    	_ map[uint32]v
    	_ map[int64]v
    	_ map[uint64]v
    	_ map[int]v
    	_ map[uint]v
    	_ map[uintptr]v
    	_ map[float32]v
    	_ map[float64]v
    	_ map[complex64]v
    	_ map[complex128]v
    	_ map[bool]v
    	_ map[string]v
    	_ map[chan int]v
    	_ map[*int]v
    	_ map[struct{}]v
    	_ map[[10]int]v
    
    	// invalid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 20:13:36 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  9. test/typeparam/ordered.go

    import (
    	"fmt"
    	"math"
    	"sort"
    )
    
    type Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    type orderedSlice[Elem Ordered] []Elem
    
    func (s orderedSlice[Elem]) Len() int { return len(s) }
    func (s orderedSlice[Elem]) Less(i, j int) bool {
    	if s[i] < s[j] {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Msgrcv   int64
    	Nsignals int64
    	Nvcsw    int64
    	Nivcsw   int64
    }
    
    type Rlimit struct {
    	Cur uint64
    	Max uint64
    }
    
    // { int, short, short } in poll.h
    type PollFd struct {
    	Fd      int32
    	Events  int16
    	Revents int16
    }
    
    type Stat_t struct { //Linux Definition
    	Dev     uint64
    	Ino     uint64
    	Nlink   uint64
    	Mode    uint32
    	Uid     uint32
    	Gid     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top