Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 188 for vconst2 (0.15 sec)

  1. src/internal/types/testdata/check/conversions0.go

    )
    
    // numeric constant conversions are in const1.src.
    
    func string_conversions() {
    	const A = string(65)
    	assert(A == "A")
    	const E = string(-1)
    	assert(E == "\uFFFD")
    	assert(E == string(1234567890))
    
    	type myint int
    	assert(A == string(myint(65)))
    
    	type mystring string
    	const _ mystring = mystring("foo")
    
    	const _ = string(true /* ERROR "cannot convert" */ )
    	const _ = string(1.2 /* ERROR "cannot convert" */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

      func.func private @quantize_dot_general_with_bias_same_shape_fn(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} {
        %cst = "tf.Const"() {value = dense<3.00000000e-1> : tensor<2x3xf32>} : () -> tensor<2x3xf32>
        %cst_0 = "tf.Const"() {value = dense<4.00000000e-1> : tensor<1x3xf32>} : () -> tensor<1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  3. src/syscall/mkerrors.sh

    echo '// Code generated by the command above; DO NOT EDIT.'
    echo
    go tool cgo -godefs -- "$@" _const.go >_error.out
    cat _error.out | grep -vf _error.grep | grep -vf _signal.grep
    echo
    echo '// Errors'
    echo 'const ('
    cat _error.out | grep -f _error.grep | sed 's/=\(.*\)/= Errno(\1)/'
    echo ')'
    
    echo
    echo '// Signals'
    echo 'const ('
    cat _error.out | grep -f _signal.grep | sed 's/=\(.*\)/= Signal(\1)/'
    echo ')'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. src/go/doc/headscan.go

    			if *verbose {
    				fmt.Fprintln(os.Stderr, err)
    			}
    			return nil
    		}
    		for _, pkg := range pkgs {
    			d := doc.New(pkg, path, doc.Mode(0))
    			list := appendHeadings(nil, d.Doc)
    			for _, d := range d.Consts {
    				list = appendHeadings(list, d.Doc)
    			}
    			for _, d := range d.Types {
    				list = appendHeadings(list, d.Doc)
    			}
    			for _, d := range d.Vars {
    				list = appendHeadings(list, d.Doc)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 21:50:52 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir

      %cst = arith.constant dense<0> : tensor<i32> loc("Const")
      %0 = "tfl.greater"(%arg0, %cst) : (tensor<*xi32>, tensor<i32>) -> tensor<i1>
      func.return %0 : tensor<i1>
    }
    
    func.func @WhileOp_body(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>) {
      %cst = arith.constant dense<1> : tensor<i32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/tokens.go

    	_Rbrace    // }
    	_Comma     // ,
    	_Semi      // ;
    	_Colon     // :
    	_Dot       // .
    	_DotDotDot // ...
    
    	// keywords
    	_Break       // break
    	_Case        // case
    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // CHECK-LABEL: func @dynamic_shape_batch_matmul
    // CHECK-DAG: %[[CONST:.*]] = "tf.Const"() <{value = dense<0> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_1:.*]] = "tf.Const"() <{value = dense<2> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_2:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_3:.*]] = "tf.Const"() <{value = dense<[1024, 3]> : tensor<2xi64>}> : () -> tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  8. src/debug/pe/section.go

    		return cstring(sh.Name[:]), nil
    	}
    	i, err := strconv.Atoi(cstring(sh.Name[1:]))
    	if err != nil {
    		return "", err
    	}
    	return st.String(uint32(i))
    }
    
    // TODO(brainman): copy all IMAGE_REL_* consts from ldpe.go here
    
    // Reloc represents a PE COFF relocation.
    // Each section contains its own relocation list.
    type Reloc struct {
    	VirtualAddress   uint32
    	SymbolTableIndex uint32
    	Type             uint16
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/constdecl.go

    package constdecl
    
    import "math"
    import "unsafe"
    
    var v int
    
    // Const decls must be initialized by constants.
    const _ = v /* ERROR "not constant" */
    const _ = math /* ERROR "not constant" */ .Sin(0)
    const _ = int /* ERROR "not an expression" */
    
    func _() {
    	const _ = v /* ERROR "not constant" */
    	const _ = math /* ERROR "not constant" */ .Sin(0)
    	const _ = int /* ERROR "not an expression" */
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/magic.go

    //                   in 2 instructions on x86.)
    
    // umagicOK reports whether we should strength reduce a n-bit divide by c.
    func umagicOK(n uint, c int64) bool {
    	// Convert from ConstX auxint values to the real uint64 constant they represent.
    	d := uint64(c) << (64 - n) >> (64 - n)
    
    	// Doesn't work for 0.
    	// Don't use for powers of 2.
    	return d&(d-1) != 0
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:25 UTC 2024
    - 15.8K bytes
    - Viewed (0)
Back to top