Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,536 for rerunning (0.23 sec)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

        assertFalse(service.isRunning());
        assertFalse(service.running);
    
        service.startAsync();
        assertEquals(State.RUNNING, service.state());
        assertTrue(service.isRunning());
        assertTrue(service.running);
    
        service.stopAsync();
        assertEquals(State.TERMINATED, service.state());
        assertFalse(service.isRunning());
        assertFalse(service.running);
        assertEquals(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.3K bytes
    - Viewed (0)
  2. src/internal/trace/order.go

    	}
    	if state.status != go122.GoRunning {
    		return curCtx, false, fmt.Errorf("%s event for goroutine that's not %s", go122.EventString(ev.typ), GoRunning)
    	}
    	// Goroutine entered a syscall. It's still running on this P and M.
    	state.status = go122.GoSyscall
    	pState, ok := o.pStates[curCtx.P]
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 52.4K bytes
    - Viewed (0)
  3. src/internal/trace/testdata/generators/go122-syscall-steal-proc-reacquire-new-proc.go

    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine enters a syscall, grabs a P, and starts running.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStatus", trace.ProcID(0), go122.ProcRunning)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoRunning)
    	b0.Event("GoSyscallBegin", testgen.Seq(1), testgen.NoStack)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/tracestatus.go

    	switch pp.status {
    	case _Pidle, _Pgcstop:
    		status = traceProcIdle
    		if pp.status == _Pgcstop && inSTW {
    			// N.B. a P that is running and currently has the world stopped will be
    			// in _Pgcstop, but we model it as running in the tracer.
    			status = traceProcRunning
    		}
    	case _Prunning:
    		status = traceProcRunning
    		// There's a short window wherein the goroutine may have entered _Gsyscall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:03:35 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. tensorflow/cc/training/coordinator.h

    /// IsRunning function.
    class RunnerInterface {
     public:
      virtual ~RunnerInterface() {}
      virtual Status Join() = 0;
      virtual Status ExportCostGraph(CostGraphDef* cost_graph) const {
        return Status(absl::StatusCode::kInvalidArgument,
                      "No cost model to export.");
      }
      /// Returns true iff the runner is running, i.e. if it is trying to populate
      /// its queue.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

            }
    
            logger.info("Crawler is running");
            count = 0;
            isRunning = true;
            while (count < 300 && isRunning) { // Wait until the crawler terminates
                ThreadUtil.sleep(1000);
                count++;
                final Map<String, Object> scheduler = getSchedulerItem(namePrefix);
                assertTrue(scheduler.containsKey("running"));
                isRunning = (Boolean) scheduler.get("running");
    
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        val idleCallback: Runnable?
        this.withLock {
          if (!calls.remove(call)) throw AssertionError("Call wasn't in-flight!")
          idleCallback = this.idleCallback
        }
    
        val isRunning = promoteAndExecute()
    
        if (!isRunning && idleCallback != null) {
          idleCallback.run()
        }
      }
    
      /** Returns a snapshot of the calls currently awaiting execution. */
      fun queuedCalls(): List<Call> =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. src/runtime/runtime-gdb.py

    G_SCAN = read_runtime_const("'runtime._Gscan'", 0x1000)
    G_SCANRUNNABLE = G_SCAN+G_RUNNABLE
    G_SCANRUNNING = G_SCAN+G_RUNNING
    G_SCANSYSCALL = G_SCAN+G_SYSCALL
    G_SCANWAITING = G_SCAN+G_WAITING
    
    sts = {
        G_IDLE: 'idle',
        G_RUNNABLE: 'runnable',
        G_RUNNING: 'running',
        G_SYSCALL: 'syscall',
        G_WAITING: 'waiting',
        G_MORIBUND_UNUSED: 'moribund',
        G_DEAD: 'dead',
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  9. src/runtime/preempt.go

    			// count and the scheduler skips suspended
    			// goroutines? That wouldn't be enough for
    			// {_Gsyscall,_Gwaiting} -> _Grunning. Maybe
    			// for all those transitions we need to check
    			// suspended and deschedule?
    			return suspendGState{g: gp, stopped: stopped}
    
    		case _Grunning:
    			// Optimization: if there is already a pending preemption request
    			// (from the previous loop iteration), don't bother with the atomics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/cmd/trace/viewer.go

    	case trace.GoRunnable:
    		return traceviewer.GRunnable
    	case trace.GoRunning:
    		return traceviewer.GRunning
    	case trace.GoWaiting:
    		if inMarkAssist {
    			return traceviewer.GWaitingGC
    		}
    		return traceviewer.GWaiting
    	case trace.GoSyscall:
    		// N.B. A goroutine in a syscall is considered "executing" (state.Executing() == true).
    		return traceviewer.GRunning
    	default:
    		panic(fmt.Sprintf("unknown GoState: %s", state.String()))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top