Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for i$ (0.09 sec)

  1. src/database/sql/sql_test.go

    	for i := 0; i < b.N; i++ {
    		doConcurrentTest(b, ct)
    	}
    }
    
    func BenchmarkConcurrentTxQuery(b *testing.B) {
    	b.ReportAllocs()
    	ct := new(concurrentTxQueryTest)
    	for i := 0; i < b.N; i++ {
    		doConcurrentTest(b, ct)
    	}
    }
    
    func BenchmarkConcurrentTxExec(b *testing.B) {
    	b.ReportAllocs()
    	ct := new(concurrentTxExecTest)
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    	// dialer for this test instead?
    	const (
    		numClients    = 20
    		reqsPerClient = 25
    	)
    	var wg sync.WaitGroup
    	wg.Add(numClients * reqsPerClient)
    	for i := 0; i < numClients; i++ {
    		go func() {
    			for i := 0; i < reqsPerClient; i++ {
    				res, err := c.Get(ts.URL)
    				if err == nil {
    					// We expect errors since the server is
    					// hanging up on us after telling us to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/generic.rules

    // x - (z + C) -> x + (-z - C) -> (x - z) - C
    (Sub64 x (Add64 z i:(Const64 <t>))) && (z.Op != OpConst64 && x.Op != OpConst64) => (Sub64 (Sub64 <t> x z) i)
    (Sub32 x (Add32 z i:(Const32 <t>))) && (z.Op != OpConst32 && x.Op != OpConst32) => (Sub32 (Sub32 <t> x z) i)
    (Sub16 x (Add16 z i:(Const16 <t>))) && (z.Op != OpConst16 && x.Op != OpConst16) => (Sub16 (Sub16 <t> x z) i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/x86/asm6.go

    			reg[i] = (i - REG_AX) & 7
    			if i >= REG_R8 {
    				regrex[i] = Rxr | Rxx | Rxb
    			}
    		}
    
    		if i >= REG_F0 && i <= REG_F0+7 {
    			reg[i] = (i - REG_F0) & 7
    		}
    		if i >= REG_M0 && i <= REG_M0+7 {
    			reg[i] = (i - REG_M0) & 7
    		}
    		if i >= REG_K0 && i <= REG_K0+7 {
    			reg[i] = (i - REG_K0) & 7
    		}
    		if i >= REG_X0 && i <= REG_X0+15 {
    			reg[i] = (i - REG_X0) & 7
    			if i >= REG_X0+8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    // If there is no such element, it returns -1, -1.
    func findVersionElement(path string) (i, j int) {
    	j = len(path)
    	for i = len(path) - 1; i >= 0; i-- {
    		if path[i] == '/' {
    			if isVersionElement(path[i+1 : j]) {
    				return i, j
    			}
    			j = i
    		}
    	}
    	return -1, -1
    }
    
    // isVersionElement reports whether s is a well-formed path version element:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		params = make([]AST, len(re.Params))
    		for i, p := range re.Params {
    			pc := p.Copy(fn, skip)
    			if pc == nil {
    				params[i] = p
    			} else {
    				params[i] = pc
    				changed = true
    			}
    		}
    	}
    
    	requirements := make([]AST, len(re.Requirements))
    	for i, r := range re.Requirements {
    		rc := r.Copy(fn, skip)
    		if rc == nil {
    			requirements[i] = r
    		} else {
    			requirements[i] = rc
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	totalNum := 10
    	expectedPods := make([]v1.Pod, 0, totalNum)
    	for i := 0; i < totalNum; i++ {
    		priority := int32(i)
    		p := st.MakePod().Name(fmt.Sprintf("pod%d", i)).Namespace(fmt.Sprintf("ns%d", i)).UID(fmt.Sprintf("upns%d", i)).Priority(priority).Obj()
    		expectedPods = append(expectedPods, *p)
    		// priority is to make pods ordered in the PriorityQueue
    		q.Add(logger, p)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. src/net/http/serve_test.go

    	}
    	req.ContentLength = 0
    
    	var resp [5]*Response
    	for i := range resp {
    		resp[i], err = cst.c.Do(req)
    		if err != nil {
    			t.Fatalf("client post #%d: %v", i, err)
    		}
    	}
    
    	for i := range resp {
    		all, err := io.ReadAll(resp[i].Body)
    		if err != nil {
    			t.Fatalf("req #%d: client ReadAll: %v", i, err)
    		}
    		if len(all) != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    'begin'.
    
    `begin` is zero-based; `size` is one-based. If size[i] is -1, all remaining
    elements in dimension i are included in the slice. In other words, this is
    equivalent to setting:
      size[i] = input.dim_size(i) - begin[i]
    
    *Requirements*:
      0 <= begin[i] <= begin[i] + size[i] <= Di  for i in [0, n)
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/data.go

    	sval := ldr.SymValue(s)
    	if !decodetypeUsegcprog(p.ctxt.Arch, typData) {
    		// Copy pointers from mask into program.
    		mask := decodetypeGcmask(p.ctxt, typ)
    		for i := int64(0); i < nptr; i++ {
    			if (mask[i/8]>>uint(i%8))&1 != 0 {
    				p.w.Ptr(sval/ptrsize + i)
    			}
    		}
    		return
    	}
    
    	// Copy program.
    	prog := decodetypeGcprog(p.ctxt, typ)
    	p.w.ZeroUntil(sval / ptrsize)
    	p.w.Append(prog[4:], nptr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (1)
Back to top