Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 576 for Int8 (0.06 sec)

  1. test/typeparam/absdiff.go

    // run
    
    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    // numericAbs matches numeric types with an Abs method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. test/typeparam/absdiffimp2.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package a
    
    import (
    	"math"
    )
    
    type Numeric interface {
    	~int | ~int8 | ~int16 | ~int32 | ~int64 |
    		~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
    		~float32 | ~float64 |
    		~complex64 | ~complex128
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. test/ken/interbasic.go

    	}
    
    	s = "def"
    	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"
    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. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 2.1K bytes
    - Viewed (0)
  6. 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)
  7. test/fixedbugs/bug460.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    var x a.Foo
    
    func main() {
    	x.int = 20    // ERROR "unexported field|undefined"
    	x.int8 = 20   // ERROR "unexported field|undefined"
    	x.error = nil // ERROR "unexported field|undefined"
    	x.rune = 'a'  // ERROR "unexported field|undefined"
    	x.byte = 20   // ERROR "unexported field|undefined"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 479 bytes
    - Viewed (0)
  8. test/fixedbugs/issue18906.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    //go:noinline
    func f(x int) {
    }
    
    //go:noinline
    func val() int8 {
    	return -1
    }
    
    var (
    	array = [257]int{}
    	slice = array[1:]
    )
    
    func init() {
    	for i := range array {
    		array[i] = i - 1
    	}
    }
    
    func main() {
    	x := val()
    	y := int(uint8(x))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 03 21:27:21 UTC 2017
    - 526 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        attrs=[
            'stride_w: int', 'stride_h: int', 'dilation_w: int', 'dilation_h: int',
            'padding: {"SAME", "VALID"}', 'act: {"", "RELU", "RELU6", "TANH"} = ""'
        ],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_conv_add_relu(input_, filter_, bias, stride_w, stride_h,
                                 dilation_w, dilation_h, padding, act):
      res = tf.raw_ops.Conv2D(
          input=input_,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/c/kernels/ops/bitcast.cc

          "T: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
      TF_OpDefinitionBuilderAddAttr(
          op_builder,
          "type: {bfloat16, half, float, double, int64, int32, uint8, uint16, "
          "uint32, uint64, int8, int16, complex64, complex128, qint8, quint8, "
          "qint16, quint16, qint32}");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top