Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newCoordinator (0.27 sec)

  1. src/internal/fuzz/fuzz.go

    		opts.Parallel = runtime.GOMAXPROCS(0)
    	}
    	if opts.Limit > 0 && int64(opts.Parallel) > opts.Limit {
    		// Don't start more workers than we need.
    		opts.Parallel = int(opts.Limit)
    	}
    
    	c, err := newCoordinator(opts)
    	if err != nil {
    		return err
    	}
    
    	if opts.Timeout > 0 {
    		var cancel func()
    		ctx, cancel = context.WithTimeout(ctx, opts.Timeout)
    		defer cancel()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top