Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 6,141 for i$ (0.04 sec)

  1. test/loopbce.go

    		a[i-5] = i  // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    		a[i] = i    // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    		a[i+5] = i  // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    		a[i+10] = i // ERROR "(\([0-9]+\) )?Proved IsInBounds$"
    		a[i+11] = i
    	}
    	return a
    }
    
    func k1(a [100]int) [100]int {
    	for i := 10; i < 90; i++ { // ERROR "Induction variable: limits \[10,90\), increment 1$"
    		if a[0] == 0xdeadbeef {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

      public void testGetSet() {
        AtomicDoubleArray aa = new AtomicDoubleArray(VALUES.length);
        for (int i = 0; i < VALUES.length; i++) {
          assertBitEquals(0.0, aa.get(i));
          aa.set(i, VALUES[i]);
          assertBitEquals(VALUES[i], aa.get(i));
          aa.set(i, -3.0);
          assertBitEquals(-3.0, aa.get(i));
        }
      }
    
      /** get returns the last value lazySet at index by same thread */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/rsc.io/markdown/table.go

    	col := 0
    	delim := tableTrimOuter(delim1)
    	i := 0
    	for ; ; col++ {
    		for i < len(delim) && isTableSpace(delim[i]) {
    			i++
    		}
    		if i >= len(delim) {
    			break
    		}
    		if i < len(delim) && delim[i] == ':' {
    			i++
    		}
    		if i >= len(delim) || delim[i] != '-' {
    			return false
    		}
    		i++
    		for i < len(delim) && delim[i] == '-' {
    			i++
    		}
    		if i < len(delim) && delim[i] == ':' {
    			i++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. src/crypto/tls/common_string.go

    )
    
    var (
    	_CurveID_index_0 = [...]uint8{0, 9, 18, 27}
    )
    
    func (i CurveID) String() string {
    	switch {
    	case 23 <= i && i <= 25:
    		i -= 23
    		return _CurveID_name_0[_CurveID_index_0[i]:_CurveID_index_0[i+1]]
    	case i == 29:
    		return _CurveID_name_1
    	case i == 25497:
    		return _CurveID_name_2
    	default:
    		return "CurveID(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    }
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. src/sync/map_bench_test.go

    			}
    
    			for i := 0; i < hits; i++ {
    				m.LoadOrStore(i, i)
    			}
    			// Prime the map to get it into a steady state.
    			for i := 0; i < hits*2; i++ {
    				m.Load(i % hits)
    			}
    		},
    
    		perG: func(b *testing.B, pb *testing.PB, i int, m mapInterface) {
    			for ; pb.Next(); i++ {
    				v := i
    				if i%(hits+misses) < hits {
    					v = i % (hits + misses)
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. src/internal/runtime/atomic/atomic_andor_test.go

    	done := make(chan bool)
    	for i := 0; i < 32; i++ {
    		m := ^uint32(1 << i)
    		go func() {
    			for i := range a {
    				atomic.And(&a[i], m)
    			}
    			done <- true
    		}()
    	}
    	for i := 0; i < 32; i++ {
    		<-done
    	}
    
    	// Check that the array has been totally cleared.
    	for i, v := range a {
    		if v != 0 {
    			t.Fatalf("a[%v] not cleared: want %#x, got %#x", i, uint32(0), v)
    		}
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 27 20:49:32 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. 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)
  8. src/sort/sort_test.go

    					switch mode {
    					case _Copy:
    						for i := 0; i < n; i++ {
    							mdata[i] = data[i]
    						}
    					case _Reverse:
    						for i := 0; i < n; i++ {
    							mdata[i] = data[n-i-1]
    						}
    					case _ReverseFirstHalf:
    						for i := 0; i < n/2; i++ {
    							mdata[i] = data[n/2-i-1]
    						}
    						for i := n / 2; i < n; i++ {
    							mdata[i] = data[i]
    						}
    					case _ReverseSecondHalf:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:41:04 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. 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)
  10. src/runtime/mpallocbits.go

    // are set in v.
    func (b *pageBits) clearBlock64(i uint, v uint64) {
    	b[i/64] &^= v
    }
    
    // popcntRange counts the number of set bits in the
    // range [i, i+n).
    func (b *pageBits) popcntRange(i, n uint) (s uint) {
    	if n == 1 {
    		return uint((b[i/64] >> (i % 64)) & 1)
    	}
    	_ = b[i/64]
    	j := i + n - 1
    	if i/64 == j/64 {
    		return uint(sys.OnesCount64((b[i/64] >> (i % 64)) & ((1 << n) - 1)))
    	}
    	_ = b[j/64]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 15:13:43 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top