Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 273 for uint16 (0.25 sec)

  1. src/database/sql/driver/types_test.go

    	{Bool, true, true, ""},
    	{Bool, "1", true, ""},
    	{Bool, 1, true, ""},
    	{Bool, int64(1), true, ""},
    	{Bool, uint16(1), true, ""},
    	{Bool, "false", false, ""},
    	{Bool, false, false, ""},
    	{Bool, "0", false, ""},
    	{Bool, 0, false, ""},
    	{Bool, int64(0), false, ""},
    	{Bool, uint16(0), false, ""},
    	{c: Bool, in: "foo", err: "sql/driver: couldn't convert \"foo\" into type bool"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:53:24 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/windows/exec_windows.go

    // any bound on the lengths of the individual argument strings.
    // (See https://go.dev/issue/63236.)
    func CommandLineToArgv(cmd *uint16, argc *int32) (argv *[8192]*[8192]uint16, err error) {
    	argp, err := commandLineToArgv(cmd, argc)
    	argv = (*[8192]*[8192]uint16)(unsafe.Pointer(argp))
    	return argv, err
    }
    
    func CloseOnExec(fd Handle) {
    	SetHandleInformation(Handle(fd), HANDLE_FLAG_INHERIT, 0)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 10 16:32:44 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. pkg/flag/flag.go

    	"os"
    	"strings"
    	"time"
    
    	"github.com/spf13/pflag"
    )
    
    // Flaggable defines the set of types that can be flags.
    // This is not exhaustive; add more as needed
    type Flaggable interface {
    	string | bool | uint16 | time.Duration
    }
    
    var replacer = strings.NewReplacer("-", "_")
    
    // Bind registers a flag to the FlagSet. When parsed, the value will be set via pointer.
    // Usage:
    //
    //	cfg := Config{Foo: "default-foo"}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 01 04:37:36 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprog/panicprint.go

    type MyComplex64 complex64
    type MyFloat32 float32
    type MyFloat64 float64
    type MyInt int
    type MyInt8 int8
    type MyInt16 int16
    type MyInt32 int32
    type MyInt64 int64
    type MyString string
    type MyUint uint
    type MyUint8 uint8
    type MyUint16 uint16
    type MyUint32 uint32
    type MyUint64 uint64
    type MyUintptr uintptr
    
    func panicCustomComplex64() {
    	panic(MyComplex64(0.11 + 3i))
    }
    
    func panicCustomComplex128() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. src/syscall/syscall_openbsd_ppc64.go

    }
    
    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)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 906 bytes
    - Viewed (0)
  6. src/syscall/syscall_openbsd_riscv64.go

    }
    
    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)
    }
    
    func (cmsg *Cmsghdr) SetLen(length int) {
    	cmsg.Len = uint32(length)
    }
    
    // RTM_LOCK only exists in OpenBSD 6.3 and earlier.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 04 02:55:38 UTC 2023
    - 906 bytes
    - Viewed (0)
  7. src/encoding/gob/encgen.go

    		"String",
    		`""`,
    		`state.encodeUint(uint64(len(x)))
    		state.b.WriteString(x)`,
    	},
    	{
    		"uint",
    		"Uint",
    		"0",
    		`state.encodeUint(uint64(x))`,
    	},
    	{
    		"uint16",
    		"Uint16",
    		"0",
    		`state.encodeUint(uint64(x))`,
    	},
    	{
    		"uint32",
    		"Uint32",
    		"0",
    		`state.encodeUint(uint64(x))`,
    	},
    	{
    		"uint64",
    		"Uint64",
    		"0",
    		`state.encodeUint(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)
  8. src/image/jpeg/huffman.go

    				// The high 8 bits of lutValue are the encoded value.
    				// The low 8 bits are 1 plus the codeLength.
    				base := uint8(code << (7 - i))
    				lutValue := uint16(h.vals[x])<<8 | uint16(2+i)
    				for k := uint8(0); k < 1<<(7-i); k++ {
    					h.lut[base|k] = lutValue
    				}
    				code++
    				x++
    			}
    		}
    
    		// Derive minCodes, maxCodes, and valsIndices.
    		var c, index int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. src/time/zoneinfo_windows.go

    		tx := &l.tx[txi]
    		tx.when = pseudoUnix(y, d0) - int64(l.zone[i1].offset)
    		tx.index = uint8(i0)
    		txi++
    
    		tx = &l.tx[txi]
    		tx.when = pseudoUnix(y, d1) - int64(l.zone[i0].offset)
    		tx.index = uint8(i1)
    		txi++
    	}
    }
    
    var usPacific = syscall.Timezoneinformation{
    	Bias: 8 * 60,
    	StandardName: [32]uint16{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. schema/serializer.go

    	rv := reflect.ValueOf(fieldValue)
    	switch v := fieldValue.(type) {
    	case int64, int, uint, uint64, int32, uint32, int16, uint16:
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	case *int64, *int, *uint, *uint64, *int32, *uint32, *int16, *uint16:
    		if rv.IsZero() {
    			return nil, nil
    		}
    		result = time.Unix(reflect.Indirect(rv).Int(), 0).UTC()
    	default:
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 08:28:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top