Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for proc (0.27 sec)

  1. src/runtime/mgc.go

    			trackLimiterEvent = pp.limiterEvent.start(limiterEventIdleMarkWork, startTime)
    		}
    
    		decnwait := atomic.Xadd(&work.nwait, -1)
    		if decnwait == work.nproc {
    			println("runtime: work.nwait=", decnwait, "work.nproc=", work.nproc)
    			throw("work.nwait was > work.nproc")
    		}
    
    		systemstack(func() {
    			// Mark our goroutine preemptible so its stack
    			// can be scanned. This lets two mark workers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  2. src/math/big/int_test.go

    		if int64(r.a) < 0 || int64(r.b) < 0 {
    			continue
    		}
    		prod := tmp.MulRange(int64(r.a), int64(r.b)).String()
    		if prod != r.prod {
    			t.Errorf("#%da: got %s; want %s", i, prod, r.prod)
    		}
    	}
    	// test other ranges
    	for i, r := range mulRangesZ {
    		prod := tmp.MulRange(r.a, r.b).String()
    		if prod != r.prod {
    			t.Errorf("#%db: got %s; want %s", i, prod, r.prod)
    		}
    	}
    }
    
    func TestBinomial(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm/asm5.go

    // This allows for multiple functions to be safely concurrently assembled.
    type ctxt5 struct {
    	ctxt       *obj.Link
    	newprog    obj.ProgAlloc
    	cursym     *obj.LSym
    	printp     *obj.Prog
    	blitrl     *obj.Prog
    	elitrl     *obj.Prog
    	autosize   int64
    	instoffset int64
    	pc         int64
    	pool       struct {
    		start uint32
    		size  uint32
    		extra uint32
    	}
    }
    
    type Optab struct {
    	as       obj.As
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 79.4K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    		p.expr(x.Value)
    
    	case *ast.StarExpr:
    		const prec = token.UnaryPrec
    		if prec < prec1 {
    			// parenthesis needed
    			p.print(token.LPAREN)
    			p.print(token.MUL)
    			p.expr(x.X)
    			p.print(token.RPAREN)
    		} else {
    			// no parenthesis needed
    			p.print(token.MUL)
    			p.expr(x.X)
    		}
    
    	case *ast.UnaryExpr:
    		const prec = token.UnaryPrec
    		if prec < prec1 {
    			// parenthesis needed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. src/runtime/mgcpacer.go

    	// *always* free to take it.
    	//
    	// So this calculation is really:
    	//     (heapLive-trigger) / (assistDuration * procs * (1-utilization)) /
    	//         (scanWork) / (assistDuration * procs * (utilization+idleUtilization))
    	//
    	// Note that because we only care about the ratio, assistDuration and procs cancel out.
    	scanWork := c.heapScanWork.Load() + c.stackScanWork.Load() + c.globalsScanWork.Load()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/types.go

    	// namespace is associated with the "environment" of "prod" or "staging";
    	// you will set the selector as follows:
    	// "namespaceSelector": {
    	//   "matchExpressions": [
    	//     {
    	//       "key": "environment",
    	//       "operator": "In",
    	//       "values": [
    	//         "prod",
    	//         "staging"
    	//       ]
    	//     }
    	//   ]
    	// }
    	//
    	// See
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  7. src/runtime/mgcmark.go

    	// signal a completion point.
    	incnwait := atomic.Xadd(&work.nwait, +1)
    	if incnwait > work.nproc {
    		println("runtime: work.nwait=", incnwait,
    			"work.nproc=", work.nproc)
    		throw("work.nwait > work.nproc")
    	}
    
    	if incnwait == work.nproc && !gcMarkWorkAvailable(nil) {
    		// This has reached a background completion point. Set
    		// gp.param to a non-nil value to indicate this. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  8. src/runtime/mbitmap.go

    	lock mutex
    	data *byte
    }
    
    // progToPointerMask returns the 1-bit pointer mask output by the GC program prog.
    // size the size of the region described by prog, in bytes.
    // The resulting bitvector will have no more than size/goarch.PtrSize bits.
    func progToPointerMask(prog *byte, size uintptr) bitvector {
    	n := (size/goarch.PtrSize + 7) / 8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  9. src/time/time.go

    		// use smaller units, like 1.2ms
    		var prec int
    		w--
    		buf[w] = 's'
    		w--
    		switch {
    		case u == 0:
    			buf[w] = '0'
    			return w
    		case u < uint64(Microsecond):
    			// print nanoseconds
    			prec = 0
    			buf[w] = 'n'
    		case u < uint64(Millisecond):
    			// print microseconds
    			prec = 3
    			// U+00B5 'ยต' micro sign == 0xC2 0xB5
    			w-- // Need room for two bytes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/math_grad.cc

      // = group_size
      auto input_shape = Shape(scope, op.input(0));
      auto output_shape = Shape(scope, op.output(0));
      auto zero = Const(scope, 0);
      auto group_size = SafeDivHelper(scope, Prod(scope, input_shape, zero),
                                      Prod(scope, output_shape, zero));
    
      // propagate sum_grad/group_size
      grad_outputs->push_back(
          Div(scope, sum_grad, Cast(scope, group_size, sum_grad.type())));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
Back to top