- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of about 10,000 for i$ (0.06 sec)
-
src/cmd/cgo/internal/testplugin/testdata/iface_i/i.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package iface_i type I interface { M() } type T struct { } func (t *T) M() { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 263 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/iface_i/i.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package iface_i type I interface { M() } type T struct { } func (t *T) M() { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 263 bytes - Viewed (0) -
test/gcgort.go
a := make(map[uint16]uint16) for i := 0; i < length; i++ { a[uint16(i)] = uint16(i) runtime.Gosched() } for i := 0; i < mods; i++ { for k, _ := range a { a[k]++ } runtime.Gosched() } }, mapPointerKeyT: func() { a := make(map[*uint16]uint16) for i := 0; i < length; i++ { a[new(uint16)] = uint16(i) runtime.Gosched() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 08 21:15:48 UTC 2018 - 34.5K bytes - Viewed (0) -
src/math/arith_s390x_test.go
if f := SinNoVec(vf[i]); !veryclose(sin[i], f) { t.Errorf("Sin(%g) = %g, want %g", vf[i], f, sin[i]) } } for i := 0; i < len(vfsinSC); i++ { if f := SinNoVec(vfsinSC[i]); !alike(sinSC[i], f) { t.Errorf("Sin(%g) = %g, want %g", vfsinSC[i], f, sinSC[i]) } } } func TestSinhNovec(t *testing.T) { if !HasVX { t.Skipf("no vector support") } for i := 0; i < len(vf); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 08 19:52:30 UTC 2017 - 10.8K bytes - Viewed (0) -
src/runtime/map_benchmark_test.go
m := make(map[string]bool) for i := 0; i < 8; i++ { m[strings.Repeat("K", i+1)] = true } key := strings.Repeat("K", keySize) b.ResetTimer() for i := 0; i < b.N; i++ { _ = m[key] } } func BenchmarkIntMap(b *testing.B) { m := make(map[int]bool) for i := 0; i < 8; i++ { m[i] = true } b.ResetTimer() for i := 0; i < b.N; i++ { _, _ = m[7] } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.6K bytes - Viewed (0) -
src/unicode/graphic_test.go
if got != want { t.Errorf("%U incorrect: got %t; want %t", i, got, want) } } } func TestIsUpperLatin1(t *testing.T) { for i := rune(0); i <= MaxLatin1; i++ { got := IsUpper(i) want := Is(Upper, i) if got != want { t.Errorf("%U incorrect: got %t; want %t", i, got, want) } } } func TestIsLowerLatin1(t *testing.T) { for i := rune(0); i <= MaxLatin1; i++ { got := IsLower(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 2.6K bytes - Viewed (0) -
test/interface/struct.go
i.Put(2) check(i.Get() == 1, "f3 i") check(s.i == 1, "f3 s") } type S2 struct { i int } func (p *S2) Get() int { return p.i } func (p *S2) Put(i int) { p.i = i } // Disallowed by restriction of values going to pointer receivers // func f4() { // s := S2{1} // var i I1 = s // i.Put(2) // check(i.Get() == 2, "f4 i") // check(s.i == 1, "f4 s") // } func f5() { s := S2{1} var i I1 = &s i.Put(2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:33:41 UTC 2012 - 2.4K bytes - Viewed (0) -
src/runtime/iface_test.go
func BenchmarkEqEfaceConcrete(b *testing.B) { for i := 0; i < b.N; i++ { _ = e == ts } } func BenchmarkEqIfaceConcrete(b *testing.B) { for i := 0; i < b.N; i++ { _ = i1 == ts } } func BenchmarkNeEfaceConcrete(b *testing.B) { for i := 0; i < b.N; i++ { _ = e != ts } } func BenchmarkNeIfaceConcrete(b *testing.B) { for i := 0; i < b.N; i++ { _ = i1 != ts } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.5K bytes - Viewed (0) -
test/copy.go
type myS string func u8(i int) uint8 { i = 'a' + i%26 return uint8(i) } func u16(ii int) uint16 { var i = uint16(ii) i = 'a' + i%26 i |= i << 8 return i } func u32(ii int) uint32 { var i = uint32(ii) i = 'a' + i%26 i |= i << 8 i |= i << 16 return i } func u64(ii int) uint64 { var i = uint64(ii) i = 'a' + i%26 i |= i << 8 i |= i << 16 i |= i << 32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 12 18:17:49 UTC 2013 - 6.6K bytes - Viewed (0) -
src/math/all_test.go
} } for i := 0; i < len(vfasinhSC); i++ { if f := Asinh(vfasinhSC[i]); !alike(asinhSC[i], f) { t.Errorf("Asinh(%g) = %g, want %g", vfasinhSC[i], f, asinhSC[i]) } } } func TestAtan(t *testing.T) { for i := 0; i < len(vf); i++ { if f := Atan(vf[i]); !veryclose(atan[i], f) { t.Errorf("Atan(%g) = %g, want %g", vf[i], f, atan[i]) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0)