- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for devNull (0.27 sec)
-
src/cmd/go/testdata/script/test_android_issue62123.txt
! go build -o $devnull cmd/buildid stderr 'android/amd64 requires external \(cgo\) linking, but cgo is not enabled' ! stderr 'cannot find runtime/cgo' ! go test -c -o $devnull os stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled' ! stderr 'cannot find runtime/cgo' env GOOS=ios GOARCH=arm64 CGO_ENABLED=0 ! go build -o $devnull cmd/buildid
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 23 21:55:28 UTC 2023 - 683 bytes - Viewed (0) -
src/cmd/go/internal/work/build_test.go
) func TestRemoveDevNull(t *testing.T) { fi, err := os.Lstat(os.DevNull) if err != nil { t.Skip(err) } if fi.Mode().IsRegular() { t.Errorf("Lstat(%s).Mode().IsRegular() = true; expected false", os.DevNull) } mayberemovefile(os.DevNull) _, err = os.Lstat(os.DevNull) if err != nil { t.Errorf("mayberemovefile(%s) did remove it; oops", os.DevNull) } } func TestSplitPkgConfigOutput(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 8.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_compile_multi_pkg.txt
! go test -o $WORK/bin/filename.exe ./pkg/... stderr '^with multiple packages, -o must refer to a directory or '$devnull ! go test -o $WORK/bin/ ./... stderr '^cannot write test binary pkg1.test for multiple packages:\nexample/anotherpkg/pkg1\nexample/pkg/pkg1' go test -c -o $devnull ./... rm pkg1.test$GOEXE rm pkg2.test$GOEXE go test -o . ./pkg/... exists -exec pkg1.test$GOEXE exists -exec pkg2.test$GOEXE
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:09:34 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt
mkdir tmp1 mkdir tmp2 mkdir tmp3 mkdir tmp4 mkdir tmp5 # First build: no external linking expected go build -ldflags=-tmpdir=tmp1 -o $devnull ./noUseOfCgo & # Second build: using only "runtime/cgo", expect internal linking. go build -ldflags=-tmpdir=tmp2 -o $devnull ./usesInternalCgo & # Third build: program uses only "runtime/cgo", so we would normally
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 25 18:16:01 UTC 2023 - 6.3K bytes - Viewed (0) -
src/runtime/fds_unix.go
EBADF = 0x09 O_RDWR = 0x02 ) devNull := []byte("/dev/null\x00") for i := 0; i < 3; i++ { ret, errno := fcntl(int32(i), F_GETFD, 0) if ret >= 0 { continue } if errno != EBADF { print("runtime: unexpected error while checking standard file descriptor ", i, ", errno=", errno, "\n") throw("cannot open standard fds") } if ret := open(&devNull[0], O_RDWR, 0); ret < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:20:25 UTC 2023 - 1.3K bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
} func podAndNetns() (*v1.Pod, *fakeNs) { devNull, err := os.Open(os.DevNull) if err != nil { panic(err) } // we can't close this now, because we need to pass it from the ztunnel server to the client // it would leak, but this is a test, so we don't care // defer devNull.Close() id := ztunnelTestCounter.Add(1) pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_deadline.txt
[!fuzz] skip [short] skip env GOCACHE=$WORK/cache # Warm up the build cache with GOMAXPROCS unrestricted. go test -c -o $devnull # For the fuzzing phase, we reduce GOMAXPROCS to avoid consuming too many # resources during the test. Ideally this would just free up resources to run # other parallel tests more quickly, but unfortunately it is actually necessary # in some 32-bit environments to prevent the fuzzing engine from running out of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 20:09:52 UTC 2024 - 1.5K bytes - Viewed (0) -
cmd/peer-rest-common.go
peerRESTMethodDownloadProfilingData = "/downloadprofilingdata" peerRESTMethodSpeedTest = "/speedtest" peerRESTMethodDriveSpeedTest = "/drivespeedtest" peerRESTMethodDevNull = "/devnull" peerRESTMethodNetperf = "/netperf" peerRESTMethodGetReplicationMRF = "/getreplicationmrf" ) const ( peerRESTBucket = "bucket" peerRESTBuckets = "buckets"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon May 06 09:45:10 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/go/scriptreadme_test.go
GOROOT=<actual GOROOT> TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT> HOME=/no-home PATH=<actual PATH> TMPDIR=$WORK/tmp GODEBUG=<actual GODEBUG> devnull=<value of os.DevNull> goversion=<current Go version; for example, 1.12> On Plan 9, the variables $path and $home are set instead of $PATH and $HOME. On Windows, the variables $USERPROFILE and $TMP are set instead of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.9K bytes - Viewed (0) -
cmd/admin-router.go
adminAPIVersionPrefix = SlashSeparator + adminAPIVersion adminAPISiteReplicationDevNull = "/site-replication/devnull" adminAPISiteReplicationNetPerf = "/site-replication/netperf" adminAPIClientDevNull = "/speedtest/client/devnull" adminAPIClientDevExtraTime = "/speedtest/client/devnull/extratime" ) var gzipHandler = func() func(http.Handler) http.HandlerFunc {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Mar 10 21:09:36 UTC 2024 - 25.5K bytes - Viewed (0)