Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 576 for Int8 (0.05 sec)

  1. test/fixedbugs/issue21963.go

    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    )
    
    //go:noinline
    func f(x []int32, y *int8) int32 {
    	c := int32(int16(*y))
    	runtime.GC()
    	return x[0] * c
    }
    
    func main() {
    	var x = [1]int32{5}
    	var y int8 = -1
    	if got, want := f(x[:], &y), int32(-5); got != want {
    		panic(fmt.Sprintf("wanted %d, got %d", want, got))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 26 16:24:08 UTC 2017
    - 483 bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/roundtrip_test.go

    			obj:  uint16(math.MaxUint16),
    		},
    		{
    			name: "uint16 zero",
    			obj:  uint16(0),
    		},
    		{
    			name: "int8 max",
    			obj:  int8(math.MaxInt8),
    		},
    		{
    			name: "int8 min",
    			obj:  int8(math.MinInt8),
    		},
    		{
    			name: "int8 zero",
    			obj:  int8(math.MinInt8),
    		},
    		{
    			name: "uint8 max",
    			obj:  uint8(math.MaxUint8),
    		},
    		{
    			name: "uint8 zero",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 21:48:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_ppc64.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_openbsd_riscv64.go

    type RawSockaddrUnix struct {
    	Len    uint8
    	Family uint8
    	Path   [104]int8
    }
    
    type RawSockaddrDatalink struct {
    	Len    uint8
    	Family uint8
    	Index  uint16
    	Type   uint8
    	Nlen   uint8
    	Alen   uint8
    	Slen   uint8
    	Data   [24]int8
    }
    
    type RawSockaddr struct {
    	Len    uint8
    	Family uint8
    	Data   [14]int8
    }
    
    type RawSockaddrAny struct {
    	Addr RawSockaddr
    	Pad  [92]int8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. test/codegen/mapaccess.go

    func mapAppendAssignmentInt8() {
    	m := make(map[int8][]int8, 0)
    	var k int8 = 0
    
    	// 386:-".*mapaccess"
    	// amd64:-".*mapaccess"
    	// arm:-".*mapaccess"
    	// arm64:-".*mapaccess"
    	m[k] = append(m[k], 1)
    
    	// 386:-".*mapaccess"
    	// amd64:-".*mapaccess"
    	// arm:-".*mapaccess"
    	// arm64:-".*mapaccess"
    	m[k] = append(m[k], 1, 2, 3)
    
    	a := []int8{7, 8, 9, 0}
    
    	// 386:-".*mapaccess"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 18 17:36:38 UTC 2022
    - 9.1K bytes
    - Viewed (0)
  7. src/crypto/internal/edwards25519/scalar.go

    		}
    
    		if window < width/2 {
    			carry = 0
    			naf[pos] = int8(window)
    		} else {
    			carry = 1
    			naf[pos] = int8(window) - int8(width)
    		}
    
    		pos += w
    	}
    	return naf
    }
    
    func (s *Scalar) signedRadix16() [64]int8 {
    	b := s.Bytes()
    	if b[31] > 127 {
    		panic("scalar has high bit set illegally")
    	}
    
    	var digits [64]int8
    
    	// Compute unsigned radix-16 digits:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue66066b.go

    }
    
    //go:noinline
    func f16(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int16) uint64 {
    	return uint64(uint16(x))
    }
    
    //go:noinline
    func f8(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x int8) uint64 {
    	return uint64(uint8(x))
    }
    
    //go:noinline
    func g32(_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, x uint32) int64 {
    	return int64(int32(x))
    }
    
    //go:noinline
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 17:35:29 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. src/runtime/memmove_test.go

    				}
    			}
    		})
    	}
    }
    
    var memclrSink []int8
    
    func BenchmarkMemclrKnownSize1(b *testing.B) {
    	var x [1]int8
    
    	b.SetBytes(1)
    	for i := 0; i < b.N; i++ {
    		for a := range x {
    			x[a] = 0
    		}
    	}
    
    	memclrSink = x[:]
    }
    func BenchmarkMemclrKnownSize2(b *testing.B) {
    	var x [2]int8
    
    	b.SetBytes(2)
    	for i := 0; i < b.N; i++ {
    		for a := range x {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:12 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/mul_v2.mlir

      // CHECK-NEXT:      type: INT8,
      // CHECK-NEXT:      buffer: 1,
      // CHECK-NEXT:      name: "arg0",
      // CHECK-NEXT:      quantization: {
      // CHECK-NEXT:        scale: [ 0.1 ],
      // CHECK-NEXT:        zero_point: [ 0 ]
      // CHECK-NEXT:       },
      // CHECK-NEXT:       has_rank: true
      // CHECK-NEXT:    }, {
      // CHECK-NEXT:      shape: [ 3 ],
      // CHECK-NEXT:      type: INT8,
      // CHECK-NEXT:      buffer: 2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.9K bytes
    - Viewed (0)
Back to top