Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmdChecker ¶
func TestlibChecker ¶
func TestlibChecker(checkerCmd string, inp, oup, ans *os.File) (*CmdChecker, error)
func (*CmdChecker) Close ¶
func (c *CmdChecker) Close() error
func (*CmdChecker) CloseWithTimeout ¶
func (c *CmdChecker) CloseWithTimeout(t time.Duration) error
CloseWithTimeout must be invoked in main process to this time (sync process)
func (*CmdChecker) GetJudgeResult ¶
func (c *CmdChecker) GetJudgeResult() ([]byte, error)
type Compiler ¶
type Compiler struct { C tarus_compiler.Compiler ProjectRoot string }
type ProcessChecker ¶
func TestlibCheckerProcessImpl ¶
func TestlibCheckerProcessImpl(checkerCmd string, inp, oup, ans *os.File) (c *ProcessChecker, err error)
func (*ProcessChecker) Close ¶
func (c *ProcessChecker) Close() error
func (*ProcessChecker) CloseWithTimeout ¶
func (c *ProcessChecker) CloseWithTimeout(t time.Duration) (err error)
CloseWithTimeout must be invoked in main process to this time (sync process)
func (*ProcessChecker) GetJudgeResult ¶
func (c *ProcessChecker) GetJudgeResult() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.