Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for io16 (0.04 sec)

  1. test/bounds.go

    	use(p1[ui8])
    	use(p1k[ui8])   // ERROR "index bounds check elided"
    	use(p100k[ui8]) // ERROR "index bounds check elided"
    
    	use(s[i16])
    	use(a1[i16])
    	use(a1k[i16])
    	use(a100k[i16])
    	use(p1[i16])
    	use(p1k[i16])
    	use(p100k[i16])
    
    	// Unsigned 16-bit numbers don't need checks for len >= 2¹⁶.
    	use(s[ui16])
    	use(a1[ui16])
    	use(a1k[ui16])
    	use(a100k[ui16]) // ERROR "index bounds check elided"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 27 03:11:45 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/gofmt/testdata/import.input

    	"dedup_by_group"
    
    	"dedup_by_group"
    )
    
    import (
    	/* comment */ io1 "io"
    	"fmt" // for Printf
    	/* comment */ "log"
    	/* comment */ io2 "io"
    )
    
    import (
    	/* comment */ io2 "io" // hello
    	/* comment */ io1 "io"
    	"math" /* right side */
    	"fmt"
    	// end
    )
    
    import (
    	/* comment */ io1 "io" /* before */ // after
    	"fmt"
    	"errors" // for New
    	io2 "io" // another
    	// end
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 23:33:26 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/gofmt/testdata/import.golden

    	"dedup_by_group"
    )
    
    import (
    	"fmt" // for Printf
    	/* comment */ io1 "io"
    	/* comment */ io2 "io"
    	/* comment */ "log"
    )
    
    import (
    	"fmt"
    	/* comment */ io1 "io"
    	/* comment */ io2 "io" // hello
    	"math"                 /* right side */
    	// end
    )
    
    import (
    	"errors" // for New
    	"fmt"
    	/* comment */ io1 "io" /* before */ // after
    	io2 "io"               // another
    	// end
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 23:33:26 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. src/go/internal/gccgoimporter/parser_test.go

    	{id: "foo", typ: "<type 1 chan <- <type -1>>", want: "<-chan int8"},
    	{id: "foo", typ: "<type 1 chan -< <type -1>>", want: "chan<- int8"},
    	{id: "foo", typ: "<type 1 struct { I8 <type -1>; I16 <type -2> \"i16\"; }>", want: "struct{I8 int8; I16 int16 \"i16\"}"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 20:35:55 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  5. src/strconv/makeisprint.go

    			lo = i
    		}
    	}
    	return
    }
    
    func to16(x []uint32) []uint16 {
    	var y []uint16
    	for _, v := range x {
    		if uint32(uint16(v)) != v {
    			panic("bad 32->16 conversion")
    		}
    		y = append(y, uint16(v))
    	}
    	return y
    }
    
    func main() {
    	flag.Parse()
    
    	rang, except := scan(0, 0xFFFF)
    	range16 = to16(rang)
    	except16 = to16(except)
    	range32, except32 = scan(0x10000, unicode.MaxRune)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 18:56:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/runtime/export_debuglog_test.go

    var Dlog = dlog
    
    func (l *dlogger) End()                  { l.end() }
    func (l *dlogger) B(x bool) *dlogger     { return l.b(x) }
    func (l *dlogger) I(x int) *dlogger      { return l.i(x) }
    func (l *dlogger) I16(x int16) *dlogger  { return l.i16(x) }
    func (l *dlogger) U64(x uint64) *dlogger { return l.u64(x) }
    func (l *dlogger) Hex(x uint64) *dlogger { return l.hex(x) }
    func (l *dlogger) P(x any) *dlogger      { return l.p(x) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 15 16:49:45 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. test/fixedbugs/bug19403.go

    var i0 int
    var i1 int
    var i2 int
    var i3 int
    var i4 int
    var i5 int
    var i6 int
    var i7 int
    var i8 int
    var i9 int
    var i10 int
    var i11 int
    var i12 int
    var i13 int
    var i14 int
    var i15 int
    var i16 int
    
    func main() {
    	var f0 float32 = 0.0
    	var f1 float32 = 1.0
    	var f2 float32 = 2.0
    	var f3 float32 = 3.0
    	var f4 float32 = 4.0
    	var f5 float32 = 5.0
    	var f6 float32 = 6.0
    	var f7 float32 = 7.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 06 21:39:00 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/expr0.go

    	i6 = -1
    	i7 = -i0
    	i8 int = -1
    	i9 int = -i4
    	i10 = !i0 /* ERROR "not defined" */
    	i11 = ^1
    	i12 = ^i0
    	i13 int = ^1
    	i14 int = ^i4
    	i15 = *i0 /* ERROR "cannot indirect" */
    	i16 = &i0
    	i17 = *i16
    	i18 = <-i16 /* ERROR "cannot receive" */
    	i19 = ~ /* ERROR "cannot use ~ outside of interface or type constraint (use ^ for bitwise complement)" */ i0
    
    	// uint
    	u0 = uint(1)
    	u1 uint = u0
    	u2 = +1
    	u3 = +u0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  9. src/fmt/stringer_test.go

    type TB bool
    type TS string
    
    func (v TI) String() string   { return Sprintf("I: %d", int(v)) }
    func (v TI8) String() string  { return Sprintf("I8: %d", int8(v)) }
    func (v TI16) String() string { return Sprintf("I16: %d", int16(v)) }
    func (v TI32) String() string { return Sprintf("I32: %d", int32(v)) }
    func (v TI64) String() string { return Sprintf("I64: %d", int64(v)) }
    func (v TU) String() string   { return Sprintf("U: %d", uint(v)) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.1K bytes
    - Viewed (0)
  10. src/net/udpsock_plan9.go

    }
    
    func (c *UDPConn) writeTo(b []byte, addr *UDPAddr) (int, error) {
    	if addr == nil {
    		return 0, errMissingAddress
    	}
    	h := new(udpHeader)
    	h.raddr = addr.IP.To16()
    	h.laddr = c.fd.laddr.(*UDPAddr).IP.To16()
    	h.ifcaddr = IPv6zero // ignored (receive only)
    	h.rport = uint16(addr.Port)
    	h.lport = uint16(c.fd.laddr.(*UDPAddr).Port)
    
    	buf := make([]byte, udpHeaderSize+len(b))
    	i := copy(buf, h.Bytes())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 18:35:35 UTC 2021
    - 4.6K bytes
    - Viewed (0)
Back to top