Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,046 for fInt16 (0.12 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go

    )
    
    const (
    	PIDFD_NONBLOCK = 0x800
    )
    
    type SysvIpcPerm struct {
    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint16
    	_    [2]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Atime_high uint32
    	Dtime      uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/encoding/gob/enc_helpers.go

    		return false
    	}
    	return encUint16Slice(state, v.Slice(0, v.Len()))
    }
    
    func encUint16Slice(state *encoderState, v reflect.Value) bool {
    	slice, ok := v.Interface().([]uint16)
    	if !ok {
    		// It is kind uint16 but not type uint16. TODO: We can handle this unsafely.
    		return false
    	}
    	for _, x := range slice {
    		if x != 0 || state.sendZero {
    			state.encodeUint(uint64(x))
    		}
    	}
    	return true
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 10 17:50:11 UTC 2018
    - 9.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go

    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Dtime      uint32
    	Ctime      uint32
    	Cpid       int32
    	Lpid       int32
    	Nattch     uint32
    	Atime_high uint16
    	Dtime_high uint16
    	Ctime_high uint16
    	_          uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_386.go

    type Stat_t struct {
    	Dev     uint64
    	_       uint16
    	_       uint32
    	Mode    uint32
    	Nlink   uint32
    	Uid     uint32
    	Gid     uint32
    	Rdev    uint64
    	_       uint16
    	Size    int64
    	Blksize int32
    	Blocks  int64
    	Atim    Timespec
    	Mtim    Timespec
    	Ctim    Timespec
    	Ino     uint64
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    	Type   uint8
    	Name   [256]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue49705.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type Integer interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    	~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr
    }
    
    func shl[I Integer](n int) I {
    	return 1 << n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 347 bytes
    - Viewed (0)
  7. src/go/parser/testdata/linalg.go2

    package linalg
    
    import "math"
    
    // Numeric is type bound that matches any numeric type.
    // It would likely be in a constraints package in the standard library.
    type Numeric interface {
    	~int|~int8|~int16|~int32|~int64|
    		~uint|~uint8|~uint16|~uint32|~uint64|~uintptr|
    		~float32|~float64|
    		~complex64|~complex128
    }
    
    func DotProduct[T Numeric](s1, s2 []T) T {
    	if len(s1) != len(s2) {
    		panic("DotProduct: slices of unequal length")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  8. 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 {
    	next *_List[T]
    	val  T
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. src/fmt/stringer_test.go

    // 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
    type TS string
    
    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. test/ken/interbasic.go

    		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
    	ia[4] = b
    
    	i8 = 29
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 2.2K bytes
    - Viewed (0)
Back to top