- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of about 10,000 for i$ (0.05 sec)
-
test/prove.go
return 26 } func f1b(a []int, i int, j uint) int { if i >= 0 && i < len(a) { return a[i] // ERROR "Proved IsInBounds$" } if i >= 10 && i < len(a) { return a[i] // ERROR "Proved IsInBounds$" } if i >= 10 && i < len(a) { return a[i] // ERROR "Proved IsInBounds$" } if i >= 10 && i < len(a) { return a[i-10] // ERROR "Proved IsInBounds$" } if j < uint(len(a)) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 21.2K bytes - Viewed (0) -
src/html/template/transition.go
k := 0 for { i := k + bytes.IndexByte(s[k:], '<') if i < k || i+1 == len(s) { return c, len(s) } else if i+4 <= len(s) && bytes.Equal(commentStart, s[i:i+4]) { return context{state: stateHTMLCmt}, i + 4 } i++ end := false if s[i] == '/' { if i+1 == len(s) { return c, len(s) } end, i = true, i+1 } j, e := eatTagName(s, i) if j != i { if end {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 11 19:54:31 UTC 2024 - 18.2K bytes - Viewed (0) -
cmd/bucket-replication-metrics_gen_test.go
v := ActiveWorkerStat{} b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.MarshalMsg(nil) } } func BenchmarkAppendMsgActiveWorkerStat(b *testing.B) { v := ActiveWorkerStat{} bts := make([]byte, 0, v.Msgsize()) bts, _ = v.MarshalMsg(bts[0:0]) b.SetBytes(int64(len(bts))) b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { bts, _ = v.MarshalMsg(bts[0:0]) } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 17.4K bytes - Viewed (0) -
src/slices/zsortanyfunc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 23 23:33:29 UTC 2023 - 12.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/mulconst_test.go
b.Run("3", func(b *testing.B) { x := int32(1) for i := 0; i < b.N; i++ { x *= 3 } mulSinkI32 = x }) // 5x = 4x + x b.Run("5", func(b *testing.B) { x := int32(1) for i := 0; i < b.N; i++ { x *= 5 } mulSinkI32 = x }) // 12x = 8x + 4x b.Run("12", func(b *testing.B) { x := int32(1) for i := 0; i < b.N; i++ { x *= 12 } mulSinkI32 = x })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 18 15:39:44 UTC 2020 - 4.3K bytes - Viewed (0) -
test/escape_indir.go
} type ConstPtr2 struct { p *int i int } func constptr0() { i := 0 // ERROR "moved to heap: i" x := &ConstPtr{} // ERROR "&ConstPtr{} does not escape" // BAD: i should not escape here x.p = &i _ = x } func constptr01() *ConstPtr { i := 0 // ERROR "moved to heap: i" x := &ConstPtr{} // ERROR "&ConstPtr{} escapes to heap" x.p = &i return x } func constptr02() ConstPtr {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 3.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/hilbert_test.go
} func (g *gen) inverse(n int) { g.p(`// Inverse Hilbert matrix const ( `) for i := 0; i < n; i++ { for j := 0; j < n; j++ { s := "+" if (i+j)&1 != 0 { s = "-" } g.p("\ti%d_%d = %s%d * b%d_%d * b%d_%d * b%d_%d * b%d_%d\n", i, j, s, i+j+1, n+i, n-j-1, n+j, n-i-1, i+j, i, i+j, i) } g.p("\n") } g.p(")\n\n") } func (g *gen) product(n int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 21:00:12 UTC 2023 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
} /** * Gets the current value at position {@code i}. * * @param i the index * @return the current value */ public final double get(int i) { return longBitsToDouble(longs.get(i)); } /** * Atomically sets the element at position {@code i} to the given value. * * @param i the index * @param newValue the new value */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 10.2K bytes - Viewed (0) -
test/funcdup2.go
package p var T interface { F1(i int) (i int) // ERROR "duplicate argument i|redefinition|previous|redeclared" F2(i, i int) // ERROR "duplicate argument i|redefinition|previous|redeclared" F3() (i, i int) // ERROR "duplicate argument i|redefinition|previous|redeclared" } var T1 func(i, i int) // ERROR "duplicate argument i|redefinition|previous|redeclared"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 04 21:22:23 UTC 2020 - 721 bytes - Viewed (0) -
test/escape_field.go
} type Y struct { x X } func field0() { i := 0 // ERROR "moved to heap: i$" var x X x.p1 = &i sink = x.p1 } func field1() { i := 0 // ERROR "moved to heap: i$" var x X // BAD: &i should not escape x.p1 = &i sink = x.p2 } func field3() { i := 0 // ERROR "moved to heap: i$" var x X x.p1 = &i sink = x // ERROR "x escapes to heap" } func field4() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 2.9K bytes - Viewed (0)