Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 271 for t0 (0.02 sec)

  1. test/fixedbugs/bug248.dir/bug2.go

    	M(p0.T)
    }
    
    type I1 interface {
    	M(p1.T)
    }
    
    // t0 satisfies I0 and p0.I
    type t0 int
    
    func (t0) M(p0.T) {}
    
    // t1 satisfies I1 and p1.I
    type t1 float64
    
    func (t1) M(p1.T) {}
    
    // check static interface assignments
    var i0 I0 = t0(0) // ok
    var i1 I1 = t1(0) // ok
    
    var i2 I0 = t1(0) // ERROR "does not implement|incompatible"
    var i3 I1 = t0(0) // ERROR "does not implement|incompatible"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 19 06:26:35 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. src/crypto/aes/block.go

    		k += 4
    		s0, s1, s2, s3 = t0, t1, t2, t3
    	}
    
    	// Last round uses s-box directly and XORs to produce output.
    	s0 = uint32(sbox0[t0>>24])<<24 | uint32(sbox0[t1>>16&0xff])<<16 | uint32(sbox0[t2>>8&0xff])<<8 | uint32(sbox0[t3&0xff])
    	s1 = uint32(sbox0[t1>>24])<<24 | uint32(sbox0[t2>>16&0xff])<<16 | uint32(sbox0[t3>>8&0xff])<<8 | uint32(sbox0[t0&0xff])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue6295.dir/p2.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"./p0"
    	"./p1"
    )
    
    var (
    	_ p0.T0 = p0.S0{}
    	_ p0.T0 = p1.S1{}
    	_ p0.T0 = p1.NewT0()
    	_ p0.T0 = p1.NewT1() // same as p1.S1{}
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 327 bytes
    - Viewed (0)
  4. src/internal/types/testdata/fixedbugs/issue48962.go

    // Copyright 2022 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 p
    
    type T0[P any] struct {
    	f P
    }
    
    type T1 /* ERROR "invalid recursive type" */ struct {
    	_ T0[T1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 269 bytes
    - Viewed (0)
  5. src/syscall/asm_linux_riscv64.s

    	MOV	a2+16(FP), A1
    	MOV	a3+24(FP), A2
    	MOV	ZERO, A3
    	MOV	ZERO, A4
    	MOV	ZERO, A5
    	MOV	trap+0(FP), A7	// syscall entry
    	ECALL
    	MOV	$-4096, T0
    	BLTU	T0, A0, err
    	MOV	A0, r1+32(FP)	// r1
    	MOV	ZERO, err+40(FP)	// errno
    	RET
    err:
    	MOV	$-1, T0
    	MOV	T0, r1+32(FP)	// r1
    	SUB	A0, ZERO, A0
    	MOV	A0, err+40(FP)	// errno
    	RET
    
    TEXT ·rawSyscallNoError(SB),NOSPLIT,$0-48
    	MOV	a1+8(FP), A0
    	MOV	a2+16(FP), A1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:11:15 UTC 2023
    - 861 bytes
    - Viewed (0)
  6. security/pkg/pki/util/keycertbundle_test.go

    	}{
    		{
    			name: "ttl valid",
    			ttl:  30,
    			time: t0.Add(time.Second * 30),
    		},
    		{
    			name: "ttl almost expired",
    			ttl:  2,
    			time: t0.Add(time.Second * 58),
    		},
    		{
    			name: "ttl just expired",
    			ttl:  0,
    			time: t0.Add(time.Second * 60),
    		},
    		{
    			name: "ttl-invalid",
    			ttl:  -30,
    			time: t0.Add(time.Second * 90),
    		},
    	}
    	for _, tc := range testCases {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  7. src/internal/types/testdata/check/expr3.go

    	_ = T1{c /* ERROR "unknown field" */ : 0}
    	_ = T1{T0: { /* ERROR "missing type" */ }} // struct literal element type may not be elided
    	_ = T1{T0: T0{}}
    	_ = T1{T0 /* ERROR "invalid field name" */ .a: 0}
    
    	// unkeyed elements
    	_ = T0{1, 2, 3}
    	_ = T0{1, b /* ERROR "mixture" */ : 2, 3}
    	_ = T0{1, 2} /* ERROR "too few values" */
    	_ = T0{1, 2, 3, 4  /* ERROR "too many values" */ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/init1.go

    // license that can be found in the LICENSE file.
    
    // initialization cycles
    
    package init1
    
    // issue 6683 (marked as WorkingAsIntended)
    
    type T0 struct{}
    
    func (T0) m() int { return y0 }
    
    var x0 = T0{}
    
    var y0 /* ERROR "initialization cycle" */ = x0.m()
    
    type T1 struct{}
    
    func (T1) m() int { return y1 }
    
    var x1 interface {
    	m() int
    } = T1{}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

      // CHECK-NEXT: [[t:%.*]]:3 = tf_mlrt.await_all [[f0]], [[f1]], [[f2]]
      // CHECK-NOT: tf_mlrt.await
      // CHECK-NEXT: return [[t]]#0, [[t]]#1, [[t]]#2
      %t0 = tf_mlrt.await %f0
      %t1 = tf_mlrt.await %f1
      %t2 = tf_mlrt.await %f2
      func.return %t0, %t1, %t2 : !tf_mlrt.tensor, !tf_mlrt.tensor, !tf_mlrt.tensor
    }
    
    // -----
    
    // CHECK-LABEL: @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/riscv64/ggen.go

    		p.To.Sym = ir.Syms.Duffzero
    		p.To.Offset = 8 * (128 - cnt/int64(types.PtrSize))
    		return p
    	}
    
    	// Loop, zeroing pointer width bytes at a time.
    	// ADD	$(off), SP, T0
    	// ADD	$(cnt), T0, T1
    	// loop:
    	// 	MOV	ZERO, (T0)
    	// 	ADD	$Widthptr, T0
    	//	BNE	T0, T1, loop
    	p = pp.Append(p, riscv.AADD, obj.TYPE_CONST, 0, off, obj.TYPE_REG, riscv.REG_T0, 0)
    	p.Reg = riscv.REG_SP
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 19 15:59:22 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top