Documentation
¶
Index ¶
- Constants
- Variables
- type C
- type Cpp
- type Golang
- func (golang *Golang) CompileArgs() string
- func (golang *Golang) CompileBin() string
- func (golang *Golang) CpuTimeLimit() string
- func (golang *Golang) MemoryLimit() string
- func (golang *Golang) NeedCompile() bool
- func (golang *Golang) RealTimeLimit() string
- func (golang *Golang) RunArgs() string
- func (golang *Golang) RunBin() string
- type Lang
- type Python2
- func (python2 *Python2) CompileArgs() string
- func (python2 *Python2) CompileBin() string
- func (python *Python2) CpuTimeLimit() string
- func (python *Python2) MemoryLimit() string
- func (python2 *Python2) NeedCompile() bool
- func (python *Python2) RealTimeLimit() string
- func (python *Python2) RunArgs() string
- func (python *Python2) RunBin() string
- type Python3
- func (python3 *Python3) CompileArgs() string
- func (python3 *Python3) CompileBin() string
- func (python *Python3) CpuTimeLimit() string
- func (python *Python3) MemoryLimit() string
- func (python3 *Python3) NeedCompile() bool
- func (python *Python3) RealTimeLimit() string
- func (python *Python3) RunArgs() string
- func (python *Python3) RunBin() string
Constants ¶
View Source
const ( LangC LangCpp LangGo LangJava LangPython2 LangPython3 )
Variables ¶
View Source
var (
ERROR_NOT_SUPPORT_LANG = errors.New("This language is not supported")
)
Functions ¶
This section is empty.
Types ¶
type C ¶
type C struct {
// contains filtered or unexported fields
}
func (*C) CompileArgs ¶
func (*C) CompileBin ¶
func (*C) CpuTimeLimit ¶
func (*C) MemoryLimit ¶
func (*C) NeedCompile ¶
func (*C) RealTimeLimit ¶
type Cpp ¶
type Cpp struct {
// contains filtered or unexported fields
}
func (*Cpp) CompileArgs ¶
func (*Cpp) CompileBin ¶
func (*Cpp) CpuTimeLimit ¶
func (*Cpp) MemoryLimit ¶
func (*Cpp) NeedCompile ¶
func (*Cpp) RealTimeLimit ¶
type Golang ¶
type Golang struct {
// contains filtered or unexported fields
}
func (*Golang) CompileArgs ¶
func (*Golang) CompileBin ¶
func (*Golang) CpuTimeLimit ¶
func (*Golang) MemoryLimit ¶
func (*Golang) NeedCompile ¶
func (*Golang) RealTimeLimit ¶
type Lang ¶
type Lang interface {
NeedCompile() bool
CompileBin() string
CompileArgs() string
RealTimeLimit() string
CpuTimeLimit() string
MemoryLimit() string
RunBin() string
RunArgs() string
}
Lang: compile parameters
type Python2 ¶
type Python2 struct {
// contains filtered or unexported fields
}
func (*Python2) CompileArgs ¶
func (*Python2) CompileBin ¶
func (*Python2) CpuTimeLimit ¶
func (*Python2) MemoryLimit ¶
func (*Python2) NeedCompile ¶
func (*Python2) RealTimeLimit ¶
type Python3 ¶
type Python3 struct {
// contains filtered or unexported fields
}
func (*Python3) CompileArgs ¶
func (*Python3) CompileBin ¶
func (*Python3) CpuTimeLimit ¶
func (*Python3) MemoryLimit ¶
func (*Python3) NeedCompile ¶
func (*Python3) RealTimeLimit ¶
Click to show internal directories.
Click to hide internal directories.