Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for startAndPing (0.12 sec)

  1. src/internal/fuzz/worker_test.go

    	w, err := newWorker(c, dir, binPath, args, env)
    	if err != nil {
    		tb.Fatal(err)
    	}
    	tb.Cleanup(func() {
    		if err := w.cleanup(); err != nil {
    			tb.Error(err)
    		}
    	})
    	if err := w.startAndPing(context.Background()); err != nil {
    		tb.Fatal(err)
    	}
    	tb.Cleanup(func() {
    		if err := w.stop(); err != nil {
    			tb.Error(err)
    		}
    	})
    	return w
    }
    
    func runBenchmarkWorker() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. src/internal/fuzz/worker.go

    		count:         resp.Count,
    		totalDuration: resp.Duration,
    	}, nil
    }
    
    func (w *worker) isRunning() bool {
    	return w.cmd != nil
    }
    
    // startAndPing starts the worker process and sends it a message to make sure it
    // can communicate.
    //
    // startAndPing returns an error if any part of this didn't work, including if
    // the context is expired or the worker process was interrupted before it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top