Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 111 for uint16 (0.23 sec)

  1. src/cmd/asm/internal/arch/loong64.go

    		return true
    	}
    	return false
    }
    
    func IsLoong64AMO(op obj.As) bool {
    	return loong64.IsAtomicInst(op)
    }
    
    func loong64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_F0 + n, true
    		}
    	case "FCSR":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_FCSR0 + n, true
    		}
    	case "FCC":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/runtime/netpoll_aix.go

    type pollfd struct {
    	fd      int32
    	events  int16
    	revents int16
    }
    
    const _POLLIN = 0x0001
    const _POLLOUT = 0x0002
    const _POLLHUP = 0x2000
    const _POLLERR = 0x4000
    
    var (
    	pfds           []pollfd
    	pds            []*pollDesc
    	mtxpoll        mutex
    	mtxset         mutex
    	rdwake         int32
    	wrwake         int32
    	pendingUpdates int32
    
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/internal/reflectlite/swapper.go

    		case 2:
    			is := *(*[]int16)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 1:
    			is := *(*[]int8)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		}
    	}
    
    	s := (*unsafeheader.Slice)(v.ptr)
    	tmp := unsafe_New(typ) // swap scratch space
    
    	return func(i, j int) {
    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. src/reflect/swapper.go

    		case 2:
    			is := *(*[]int16)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		case 1:
    			is := *(*[]int8)(v.ptr)
    			return func(i, j int) { is[i], is[j] = is[j], is[i] }
    		}
    	}
    
    	s := (*unsafeheader.Slice)(v.ptr)
    	tmp := unsafe_New(typ) // swap scratch space
    
    	return func(i, j int) {
    		if uint(i) >= uint(s.Len) || uint(j) >= uint(s.Len) {
    			panic("reflect: slice index out of range")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    // to the `output_buffer`. Both `model_buffer` and `output_buffer` should be a
    // valid FlatBuffer format for Model supported by TFLite.
    //
    // The `input_type`, `output_type` and `inference_type` can be float32 / qint8 /
    // int8 / int16.
    //
    // Returns a partially quantized model if `fully_quantize` is false. Returns a
    // non-OK status if the quantization fails.
    //
    // When `verify_numeric` is true, the model will have it's original float ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.h

    //
    // Specifically, it combines the following concerns, each of which would be
    // independent variables in a more generic setup:
    //   - numBits and isSigned imply storage data type (uint8, int8, int16)
    //   - numBits < 8 is promoted to uint8 or int8
    //   - "narrow_range" narrows the lower bound of the storage type's range by
    //     1
    //   - the specified min/max values are "nudged" so that the result has a zero
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/runtime/panic_test.go

    		{"panicCustomInt16", `panic: main.MyInt16(93)`},
    		{"panicCustomInt32", `panic: main.MyInt32(93)`},
    		{"panicCustomInt64", `panic: main.MyInt64(93)`},
    		{"panicCustomString", `panic: main.MyString("Panic` + "\n\t" + `line two")`},
    		{"panicCustomUint", `panic: main.MyUint(93)`},
    		{"panicCustomUint8", `panic: main.MyUint8(93)`},
    		{"panicCustomUint16", `panic: main.MyUint16(93)`},
    		{"panicCustomUint32", `panic: main.MyUint32(93)`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/syscall/dirent.go

    	case 8:
    		return uint64(byteorder.BeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    func readIntLE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    		return uint64(byteorder.LeUint16(b))
    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. src/os/dir_unix.go

    	case 8:
    		return uint64(byteorder.BeUint64(b))
    	default:
    		panic("syscall: readInt with unsupported size")
    	}
    }
    
    func readIntLE(b []byte, size uintptr) uint64 {
    	switch size {
    	case 1:
    		return uint64(b[0])
    	case 2:
    		return uint64(byteorder.LeUint16(b))
    	case 4:
    		return uint64(byteorder.LeUint32(b))
    	case 8:
    		return uint64(byteorder.LeUint64(b))
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:11:45 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/strconv/atoi.go

    	// Use compile-time constants for common cases.
    	var cutoff uint64
    	switch base {
    	case 10:
    		cutoff = maxUint64/10 + 1
    	case 16:
    		cutoff = maxUint64/16 + 1
    	default:
    		cutoff = maxUint64/uint64(base) + 1
    	}
    
    	maxVal := uint64(1)<<uint(bitSize) - 1
    
    	underscores := false
    	var n uint64
    	for _, c := range []byte(s) {
    		var d byte
    		switch {
    		case c == '_' && base0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top