Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of about 10,000 for i$ (0.03 sec)

  1. 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)
  2. test/fixedbugs/issue53600.go

    	j(math.MinInt64)
    }
    func f() {
    	for i := int64(math.MaxInt64); i <= math.MaxInt64; i++ {
    		if i < 0 {
    			println("done")
    			return
    		}
    		println(i, i < 0)
    	}
    }
    func g() {
    	for i := int64(math.MaxInt64) - 1; i <= math.MaxInt64; i++ {
    		if i < 0 {
    			println("done")
    			return
    		}
    		println(i, i < 0)
    	}
    }
    func h() {
    	for i := int64(math.MaxInt64) - 2; i <= math.MaxInt64; i += 2 {
    		if i < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 06 17:00:37 UTC 2022
    - 802 bytes
    - Viewed (0)
  3. test/named.go

    	isInt(i * 2)
    	asInt(2 * i)
    	isInt(2 * i)
    	asInt(i * i)
    	isInt(i * i)
    	i *= 2
    	asInt(i / 5)
    	isInt(i / 5)
    	asInt(5 / i)
    	isInt(5 / i)
    	asInt(i / i)
    	isInt(i / i)
    	i /= 2
    	asInt(i % 5)
    	isInt(i % 5)
    	asInt(5 % i)
    	isInt(5 % i)
    	asInt(i % i)
    	isInt(i % i)
    	i %= 2
    	asInt(i & 5)
    	isInt(i & 5)
    	asInt(5 & i)
    	isInt(5 & i)
    	asInt(i & i)
    	isInt(i & i)
    	i &= 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.6K bytes
    - Viewed (0)
  4. 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)
  5. test/bounds.go

    	use(s[i/1e6])
    	use(a1[i/1e6])
    	use(a1k[i/1e6])
    	use(a100k[i/1e6])
    	use(p1[i/1e6])
    	use(p1k[i/1e6])
    	use(p100k[i/1e6])
    
    	use(s[ui/1e6])
    	use(a1[ui/1e6])
    	use(a1k[ui/1e6])
    	use(p1[ui/1e6])
    	use(p1k[ui/1e6])
    
    	use(s[i/1e7])
    	use(a1[i/1e7])
    	use(a1k[i/1e7])
    	use(a100k[i/1e7])
    	use(p1[i/1e7])
    	use(p1k[i/1e7])
    	use(p100k[i/1e7])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 27 03:11:45 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java

          int j = i & ARRAY_MASK;
          tmp += impl.gcdInt(nonnegInt[j][0], nonnegInt[j][1]);
        }
        return tmp;
      }
    
      @Benchmark
      long longGCD(int reps) {
        long tmp = 0;
        for (int i = 0; i < reps; i++) {
          int j = i & ARRAY_MASK;
          tmp += impl.gcdLong(nonnegLong[j][0], nonnegLong[j][1]);
        }
        return tmp;
      }
    
      @Benchmark
      long binomialCoefficient(int reps) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 6.9K bytes
    - Viewed (0)
  7. test/fixedbugs/issue13162.go

    	"os"
    )
    
    func check(n int) {
    	var i int
    	var r rune
    
    	b := make([]byte, n)
    	for i = range b {
    		b[i] = byte(i + 1)
    	}
    	s := string(b)
    
    	// When n == 0, i is untouched by the range loop.
    	// Picking an initial value of -1 for i makes the
    	// "want" calculation below correct in all cases.
    	i = -1
    	for i = range s {
    		b[i] = s[i]
    	}
    	if want := n - 1; i != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 18:17:20 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top