Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 549 for Int16 (0.12 sec)

  1. test/fixedbugs/issue35576.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check print/println(f()) is allowed where f() is multi-value.
    
    package main
    
    func f() (int16, float64, string) { return -42, 42.0, "x" }
    
    func main() {
    	print(f())
    	println(f())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 22 03:34:22 UTC 2020
    - 351 bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/xcoff.go

    	Osntoc      int16    // Section Number For Toc
    	Osnloader   int16    // Section Number For Loader
    	Osnbss      int16    // Section Number For Bss
    	Oalgntext   int16    // Max Text Alignment
    	Oalgndata   int16    // Max Data Alignment
    	Omodtype    [2]byte  // Module Type Field
    	Ocpuflag    uint8    // Bit Flags - Cputypes Of Objects
    	Ocputype    uint8    // Reserved for CPU type
    	Otextpsize  uint8    // Requested text page size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  3. src/fmt/stringer_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package fmt_test
    
    import (
    	. "fmt"
    	"testing"
    )
    
    type TI int
    type TI8 int8
    type TI16 int16
    type TI32 int32
    type TI64 int64
    type TU uint
    type TU8 uint8
    type TU16 uint16
    type TU32 uint32
    type TU64 uint64
    type TUI uintptr
    type TF float64
    type TF32 float32
    type TF64 float64
    type TB bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.1K bytes
    - Viewed (0)
  4. test/ken/interbasic.go

    	ib = s
    	if ia == ib {
    		panic("9")
    	}
    
    	s = "abc"
    	ib = s
    	if ia != ib {
    		panic("a")
    	}
    }
    
    func main() {
    	var ia [20]I0
    	var b bool
    	var s string
    	var i8 int8
    	var i16 int16
    	var i32 int32
    	var i64 int64
    	var u8 uint8
    	var u16 uint16
    	var u32 uint32
    	var u64 uint64
    
    	f()
    
    	ia[0] = "xxx"
    	ia[1] = 12345
    	ia[2] = true
    
    	s = "now is"
    	ia[3] = s
    	b = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.2K bytes
    - Viewed (0)
  5. test/typeparam/mdempsky/2.go

    // license that can be found in the LICENSE file.
    
    package main
    
    type T[A, B, C any] int
    
    func (T[A, B, C]) m(x int) {
    	if x <= 0 {
    		return
    	}
    	T[B, C, A](0).m(x - 1)
    }
    
    func main() {
    	T[int8, int16, int32](0).m(3)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 339 bytes
    - Viewed (0)
  6. src/go/types/builtins_test.go

    	{"make", `var l    byte ; _ = make([]int8      , l   )`, `func([]int8, byte) []int8`},
    	{"make", `                _ = make([]int16     , 0, 0)`, `func([]int16, int, int) []int16`},
    	{"make", `var l    int16; _ = make([]string    , l, 0)`, `func([]string, int16, int) []string`},
    	{"make", `var    c int32; _ = make([]float64   , 0, c)`, `func([]float64, int, int32) []float64`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/syscall/syscall_openbsd_amd64.go

    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: usec}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 701 bytes
    - Viewed (0)
  8. src/syscall/syscall_openbsd_arm.go

    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint32(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    	msghdr.Controllen = uint32(length)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 13:10:54 UTC 2016
    - 715 bytes
    - Viewed (0)
  9. test/typeparam/list.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 Ordered interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~string
    }
    
    // _List is a linked list of ordered values of type T.
    type _List[T Ordered] struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  10. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    pkg syscall (freebsd-386), type Stat_t struct, Mtim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Nlink uint64
    pkg syscall (freebsd-386), type Stat_t struct, Padding0 int16
    pkg syscall (freebsd-386), type Stat_t struct, Padding1 int32
    pkg syscall (freebsd-386), type Stat_t struct, Rdev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Spare [10]uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
Back to top