github.com/JimmyHuang454/JLS-go@v0.0.0-20230831150107-90d536585ba0/internal/fuzz/sys_unimplemented.go (about) 1 // Copyright 2020 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // If you update this constraint, also update internal/platform.FuzzSupported. 6 // 7 //go:build !darwin && !freebsd && !linux && !windows 8 9 package fuzz 10 11 import ( 12 "os" 13 "os/exec" 14 ) 15 16 type sharedMemSys struct{} 17 18 func sharedMemMapFile(f *os.File, size int, removeOnClose bool) (*sharedMem, error) { 19 panic("not implemented") 20 } 21 22 func (m *sharedMem) Close() error { 23 panic("not implemented") 24 } 25 26 func setWorkerComm(cmd *exec.Cmd, comm workerComm) { 27 panic("not implemented") 28 } 29 30 func getWorkerComm() (comm workerComm, err error) { 31 panic("not implemented") 32 } 33 34 func isInterruptError(err error) bool { 35 panic("not implemented") 36 } 37 38 func terminationSignal(err error) (os.Signal, bool) { 39 panic("not implemented") 40 } 41 42 func isCrashSignal(signal os.Signal) bool { 43 panic("not implemented") 44 }