Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 258 for quint8 (0.1 sec)

  1. src/internal/runtime/atomic/bench_test.go

    func BenchmarkAnd8(b *testing.B) {
    	var x [512]uint8 // give byte its own cache line
    	sink = &x
    	for i := 0; i < b.N; i++ {
    		atomic.And8(&x[255], uint8(i))
    	}
    }
    
    func BenchmarkAnd(b *testing.B) {
    	var x [128]uint32 // give x its own cache line
    	sink = &x
    	for i := 0; i < b.N; i++ {
    		atomic.And(&x[63], uint32(i))
    	}
    }
    
    func BenchmarkAnd8Parallel(b *testing.B) {
    	var x [512]uint8 // give byte its own cache line
    	sink = &x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/shape_inference_with_shape_specialization.mlir

        // CHECK-NEXT: %[[UDQ:.*]] = "tf.UniformDequantize"(%[[UQ]], %[[CST_0]], %[[CST_1]]) <{quantization_axis = -1 : i64, quantization_max_val = 127 : i64, quantization_min_val = -128 : i64}> : (tensor<1x!tf_type.qint8>, tensor<f32>, tensor<i32>) -> tensor<1xf32>
        // CHECK-NEXT: return %[[UDQ]] : tensor<1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

        func.func @main(%arg0: tensor<3x3x!tf_type.qint8>, %arg1: tensor<3x3x!tf_type.qint8>) -> tensor<6x3x!tf_type.qint8> {
          %axis = "tf.Const"() { value = dense<0> : tensor<i64> } : () -> tensor<i64>
          %1 = "tf.ConcatV2"(%arg0, %arg1, %axis) : (tensor<3x3x!tf_type.qint8>, tensor<3x3x!tf_type.qint8>, tensor<i64>) -> tensor<6x3x!tf_type.qint8>
          func.return %1 : tensor<6x3x!tf_type.qint8>
        }
      })";
      CreateModule(kMlirModuleStr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/unicode/graphic.go

    // spaces, from categories [L], [M], [N], [P], [S], [Zs].
    func IsGraphic(r rune) bool {
    	// We convert to uint32 to avoid the extra test for negative,
    	// and in the index we convert to uint8 to avoid the range check.
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pg != 0
    	}
    	return In(r, GraphicRanges...)
    }
    
    // IsPrint reports whether the rune is defined as printable by Go. Such
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/const1.go

    )
    
    const (
    	_ uint8 = 0 /* ERROR "overflows" */ - 1
    	_ uint8 = 0
    	_ uint8 = maxUint8
    	_ uint8 = maxUint8 /* ERROR "overflows" */ + 1
    	_ uint8 = smallestFloat64 /* ERROR "truncated" */
    
    	_ = uint8(0 /* ERROR "overflows" */ - 1)
    	_ = uint8(0)
    	_ = uint8(maxUint8)
    	_ = uint8(maxUint8 /* ERROR "overflows" */ + 1)
    	_ = uint8(smallestFloat64 /* ERROR "cannot convert" */)
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/seh.go

    	// is the number of operations.
    	nodes := uint8(2)
    	buf := newsehbuf(ctxt, nodes)
    	buf.write8(flags | 1)            // Flags + version
    	buf.write8(uint8(movbp.Link.Pc)) // Size of prolog
    	buf.write8(nodes)                // Count of nodes
    	buf.write8(SEH_REG_BP)           // FP register
    
    	// Notes are written in reverse order of appearance.
    	buf.write8(uint8(movbp.Link.Pc))
    	buf.writecode(UWOP_SET_FPREG, 0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_arm.go

    }
    
    //go:nosplit
    func Or8(addr *uint8, v uint8) {
    	// Align down to 4 bytes and use 32-bit CAS.
    	uaddr := uintptr(unsafe.Pointer(addr))
    	addr32 := (*uint32)(unsafe.Pointer(uaddr &^ 3))
    	word := uint32(v) << ((uaddr & 3) * 8) // little endian
    	for {
    		old := *addr32
    		if Cas(addr32, old, old|word) {
    			return
    		}
    	}
    }
    
    //go:nosplit
    func And8(addr *uint8, v uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. api/go1.23.txt

    pkg crypto/tls, type QUICSessionTicketOptions struct, Extra [][]uint8 #63691
    pkg crypto/x509, func ParseOID(string) (OID, error) #66249
    pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249
    pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249
    pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249
    pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. test/codegen/noextend.go

    var sval32 [8]int32
    var sval16 [8]int16
    var sval8 [8]int8
    var val64 [8]uint64
    var val32 [8]uint32
    var val16 [8]uint16
    var val8 [8]uint8
    
    // Avoid zero/sign extensions following a load
    // which has extended the value correctly.
    // Note: No tests are done for int8 since
    // an extra extension is usually needed due to
    // no signed byte load.
    
    func set16(x8 int8, u8 *uint8, y8 int8, z8 uint8) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. src/internal/runtime/atomic/atomic_wasm.go

    //go:noinline
    func Xchguintptr(ptr *uintptr, new uintptr) uintptr {
    	old := *ptr
    	*ptr = new
    	return old
    }
    
    //go:nosplit
    //go:noinline
    func And8(ptr *uint8, val uint8) {
    	*ptr = *ptr & val
    }
    
    //go:nosplit
    //go:noinline
    func Or8(ptr *uint8, val uint8) {
    	*ptr = *ptr | val
    }
    
    // NOTE: Do not add atomicxor8 (XOR is not idempotent).
    
    //go:nosplit
    //go:noinline
    func And(ptr *uint32, val uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top