- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for i0 (0.02 sec)
-
test/fixedbugs/bug248.dir/bug2.go
// interfaces involving the two type I0 interface { 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"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 19 06:26:35 UTC 2021 - 1.5K bytes - Viewed (0) -
src/internal/types/testdata/check/expr0.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 4.4K bytes - Viewed (0) -
test/fixedbugs/bug248.dir/bug3.go
package main import ( p0 "./bug0" p1 "./bug1" "reflect" "strings" ) var v0 p0.T var v1 p1.T type I0 interface { M(p0.T) } type I1 interface { M(p1.T) } type t0 int func (t0) M(p0.T) {} type t1 float64 func (t1) M(p1.T) {} var i0 I0 = t0(0) // ok var i1 I1 = t1(0) // ok var p0i p0.I = t0(0) // ok var p1i p1.I = t1(0) // ok func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 26 15:20:42 UTC 2018 - 1.9K bytes - Viewed (0) -
src/go/printer/testdata/comments.x
type SZ interface{} // The I0 interface; no method is exported. type I0 interface { // contains filtered or unexported methods } // The I1 interface; some methods are not exported. type I1 interface { I0 F(x float) float // exported methods // contains filtered or unexported methods } // The I2 interface; all methods are exported. type I2 interface { I0 F(x float) float // exported method
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:50 UTC 2022 - 1.2K bytes - Viewed (0) -
test/assign1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 02:19:43 UTC 2012 - 5.6K bytes - Viewed (0) -
test/fixedbugs/bug284.go
// license that can be found in the LICENSE file. // Test cases for revised conversion rules. package main func main() { type NewInt int i0 := 0 var i1 int = 1 var i2 NewInt = 1 i0 = i0 i0 = i1 i0 = int(i2) i1 = i0 i1 = i1 i1 = int(i2) i2 = NewInt(i0) i2 = NewInt(i1) i2 = i2 type A1 [3]int type A2 [3]NewInt var a0 [3]int var a1 A1 var a2 A2 a0 = a0 a0 = a1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 17 04:49:59 UTC 2012 - 3.5K bytes - Viewed (0) -
src/internal/types/testdata/check/cycles0.go
S6 S4 // pointers P0 *P0 PP *struct{ PP.f /* ERROR "PP.f is not a type" */ } // functions F0 func(F0) F1 func() F1 F2 func(F2) F2 // interfaces I0 /* ERROR "invalid recursive type: I0 refers to itself" */ interface{ I0 } I1 /* ERROR "invalid recursive type" */ interface{ I2 } I2 interface{ I3 } I3 interface{ I1 } I4 interface{ f(I4) } // testcase for issue 5090 I5 interface{ f(I6) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:25 UTC 2023 - 3.6K bytes - Viewed (0) -
test/fixedbugs/issue15013.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 559 bytes - Viewed (0) -
src/crypto/sha512/sha512block_arm64.s
VADD i3.D2, i1.D2, i4.D2 \ SHA512H2 i0.D2, i1, i3 #define SHA512ROUND_NO_UPDATE(i0, i1, i2, i3, i4, rc0, rc1, in0) \ VLD1.P 16(R4), [rc1.D2] \ SHA512TRANS(i0, i1, i2, i3, i4, rc0, in0) \ SHA512H V7.D2, V6, i3 \ VADD i3.D2, i1.D2, i4.D2 \ SHA512H2 i0.D2, i1, i3 #define SHA512ROUND_LAST(i0, i1, i2, i3, i4, rc0, in0) \ SHA512TRANS(i0, i1, i2, i3, i4, rc0, in0) \ SHA512H V7.D2, V6, i3 \
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 5K bytes - Viewed (0) -
src/image/ycbcr.go
mul3NonNeg(2, cw, ch), ) if totalLength < 0 { panic("image: NewYCbCr Rectangle has huge or negative dimensions") } i0 := w*h + 0*cw*ch i1 := w*h + 1*cw*ch i2 := w*h + 2*cw*ch b := make([]byte, i2) return &YCbCr{ Y: b[:i0:i0], Cb: b[i0:i1:i1], Cr: b[i1:i2:i2], SubsampleRatio: subsampleRatio, YStride: w, CStride: cw,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 8.7K bytes - Viewed (0)