MCPcopy Create free account
hub / github.com/LanceLRQ/deer-executor / loadSystemConfiguration

Function loadSystemConfiguration

client/run/common.go:13–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11)
12
13func loadSystemConfiguration() error {
14 // 载入默认配置
15 err := provider.PlaceCompilerCommands("./compilers.json")
16 if err != nil {
17 return err
18 }
19 err = constants.PlaceMemorySizeForJIT("./jit_memory.json")
20 if err != nil {
21 return err
22 }
23 return nil
24}
25
26func loadProblemConfiguration(configFile string, workDir string) (string, bool, string, error) {
27 _, err := os.Stat(configFile)

Callers 1

UserRunJudgeFunction · 0.85

Calls 2

PlaceCompilerCommandsFunction · 0.92
PlaceMemorySizeForJITFunction · 0.92

Tested by

no test coverage detected