Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,917 for const3 (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_identity_n.mlir

    func.func @main() -> tensor<2x3xi32> {
      %graph = tf_executor.graph {
        %0:2 = tf_executor.island wraps "tf.Const"() {value = dense<5> : tensor<2x3xi32>} : () -> tensor<2x3xi32> loc("Const0")
        %1:2 = tf_executor.island wraps "tf.Const"() {value = dense<4.2> : tensor<4x5xf32>} : () -> tensor<4x5xf32> loc("Const1")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1014 bytes
    - Viewed (0)
  2. src/hash/crc32/crc32_ppc64le.s

    	VPMSUMD	V1,const1,V1
    	VAND	V1,mask_32bit,V1
    	VPMSUMD	V1,const2,V1
    	VXOR	V0,V1,V0
    	VSLDOI  $4,V0,zeroes,V0
    
    #endif
    
    	MFVSRD	VS32,R3 // VS32 = V0
    
    	NOR	R3,R3,R3 // return ^crc
    	MOVW	R3,ret+32(FP)
    	RET
    
    first_warm_up_done:
    
    	LVX	(R3),const1
    	ADD	$16,R3
    
    	VPMSUMD	V16,const1,V8
    	VPMSUMD	V17,const1,V9
    	VPMSUMD	V18,const1,V10
    	VPMSUMD	V19,const1,V11
    	VPMSUMD	V20,const1,V12
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 12:09:50 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. test/const4.go

    package main
    
    var b struct {
    	a [10]int
    }
    
    var m map[string][20]int
    
    var s [][30]int
    
    const (
    	n1 = len(b.a)
    	n2 = len(m[""])
    	n3 = len(s[10])
    )
    
    // Non-constants (see also const5.go).
    var (
    	n4 = len(f())
    	n5 = len(<-c)
    	n6 = cap(g())
    	n7 = cap(<-c1)
    )
    
    var calledF = false
    
    func f() *[40]int {
    	calledF = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jul 11 14:36:33 UTC 2015
    - 1.3K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/const0.go

    	1 * 1e9,
    	5 * 1e9,
    }
    
    const _ = unsafe.Sizeof(func() {
    	const _ = 0
    	_ = iota
    
    	const (
    	   zero = iota
    	   one
    	)
    	assert(one == 1)
    	assert(iota == 0)
    })
    
    // issue #52438
    const i1 = iota
    const i2 = iota
    const i3 = iota
    
    func _() {
    	assert(i1 == 0)
    	assert(i2 == 0)
    	assert(i3 == 0)
    
    	const i4 = iota
    	const i5 = iota
    	const i6 = iota
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/rewritegeneric.go

    			v2.AuxInt = int64ToAuxInt(d - c)
    			v.AddArg2(v0, v2)
    			return true
    		}
    		break
    	}
    	// match: (AndB (Leq32 (Const32 [c]) x) (Less32 x (Const32 [d])))
    	// cond: d >= c
    	// result: (Less32U (Sub32 <x.Type> x (Const32 <x.Type> [c])) (Const32 <x.Type> [d-c]))
    	for {
    		for _i0 := 0; _i0 <= 1; _i0, v_0, v_1 = _i0+1, v_1, v_0 {
    			if v_0.Op != OpLeq32 {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  6. test/const2.go

    const a = 1e+500000000
    const b = a * a // ERROR "constant multiplication overflow|not representable"
    const c = b * b
    
    const MaxInt512 = (1<<256 - 1) * (1<<256 + 1)
    const _ = MaxInt512 + 1  // ERROR "constant addition overflow"
    const _ = MaxInt512 ^ -1 // ERROR "constant bitwise XOR overflow"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 01 21:49:31 UTC 2020
    - 1008 bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/const1.go

    // license that can be found in the LICENSE file.
    
    // constant conversions
    
    package const1
    
    import "math"
    
    const(
    	mi = ^int(0)
    	mu = ^uint(0)
    	mp = ^uintptr(0)
    
    	logSizeofInt     = uint(mi>>8&1 + mi>>16&1 + mi>>32&1)
    	logSizeofUint    = uint(mu>>8&1 + mu>>16&1 + mu>>32&1)
    	logSizeofUintptr = uint(mp>>8&1 + mp>>16&1 + mp>>32&1)
    )
    
    const (
    	minInt8 = -1<<(8<<iota - 1)
    	minInt16
    	minInt32
    	minInt64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 16:11:16 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. test/const8.go

    // in the correct context; see issues #49157, #53585.
    
    package main
    
    const X = 2
    
    func main() {
    	const (
    		A    = iota // 0
    		iota = iota // 1
    		B           // 1 (iota is declared locally on prev. line)
    		C           // 1
    	)
    	if A != 0 || B != 1 || C != 1 {
    		println("got", A, B, C, "want 0 1 1")
    		panic("FAILED")
    	}
    
    	const (
    		X = X + X
    		Y
    		Z = iota
    	)
    	if X != 4 || Y != 8 || Z != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 28 18:11:31 UTC 2022
    - 727 bytes
    - Viewed (0)
  9. test/const.go

    package main
    
    import "os"
    
    const (
    	c0      = 0
    	cm1     = -1
    	chuge   = 1 << 100
    	chuge_1 = chuge - 1
    	c1      = chuge >> 100
    	c3div2  = 3 / 2
    	c1e3    = 1e3
    
    	rsh1 = 1e100 >> 1000
    	rsh2 = 1e302 >> 1000
    
    	ctrue  = true
    	cfalse = !ctrue
    
    	// Issue #34563
    	_ = string(int(123))
    	_ = string(rune(456))
    )
    
    const (
    	f0              = 0.0
    	fm1             = -1.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 26 23:54:29 UTC 2019
    - 4.8K bytes
    - Viewed (0)
  10. test/const6.go

    Emmanuel Odeke <******@****.***> 1460323946 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 834 bytes
    - Viewed (0)
Back to top