- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 123 for nul (0.03 sec)
-
src/cmd/go/testdata/script/issue36000.txt
# Tests golang.org/issue/36000 [!cgo] skip # go env with CGO flags should not make NUL file
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 20 21:52:17 UTC 2020 - 112 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_enabled.txt
stdout $GOPATH[/\\]src[/\\]x[/\\]y[/\\]z[/\\]go.mod cd $GOPATH/src/x/y go env GOMOD stdout 'NUL|/dev/null' # GO111MODULE=on should trigger everywhere env GO111MODULE=on cd $GOPATH/src/x/y/z go env GOMOD stdout z[/\\]go.mod cd $GOPATH/src/x/y/z/w go env GOMOD stdout z[/\\]go.mod cd $GOPATH/src/x/y go env GOMOD stdout 'NUL|/dev/null' go list -m stdout '^command-line-arguments$' cd $GOPATH/foo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 21 01:30:48 UTC 2020 - 1.7K bytes - Viewed (0) -
src/syscall/exec_unix.go
// SlicePtrFromStrings converts a slice of strings to a slice of // pointers to NUL-terminated byte arrays. If any string contains // a NUL byte, it returns (nil, [EINVAL]). func SlicePtrFromStrings(ss []string) ([]*byte, error) { n := 0 for _, s := range ss { if bytealg.IndexByteString(s, 0) != -1 { return nil, EINVAL } n += len(s) + 1 // +1 for NUL } bb := make([]*byte, len(ss)+1) b := make([]byte, n) n = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 8.7K bytes - Viewed (0) -
src/syscall/syscall_bsd.go
// Some BSDs include the trailing NUL in the length, whereas // others do not. Work around this by subtracting the leading // family and len. The path is then scanned to see if a NUL // terminator still exists within the length. n := int(pp.Len) - 2 // subtract leading Family, Len for i := 0; i < n; i++ { if pp.Path[i] == 0 { // found early NUL; assume Len included the NUL // or was overestimating. n = i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
src/cmd/go/internal/imports/read_test.go
testRead(t, readCommentsTests, ReadComments) } var readFailuresTests = []readTest{ { `package`, "syntax error", }, { "package p\n\x00\nimport `math`\n", "unexpected NUL in input", }, { `package p; import`, "syntax error", }, { `package p; import "`, "syntax error", }, { "package p; import ` \n\n", "syntax error", }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 15 18:42:11 UTC 2021 - 4.2K bytes - Viewed (0) -
src/archive/tar/reader.go
hdr.Format = FormatUnknown // Non-ASCII characters in block. } nul := func(b []byte) bool { return int(b[len(b)-1]) == 0 } if !(nul(v7.size()) && nul(v7.mode()) && nul(v7.uid()) && nul(v7.gid()) && nul(v7.modTime()) && nul(ustar.devMajor()) && nul(ustar.devMinor())) { hdr.Format = FormatUnknown // Numeric fields must end in NUL } case format.has(formatSTAR): star := tr.blk.toSTAR()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 01:59:14 UTC 2024 - 26.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go
// Some BSDs include the trailing NUL in the length, whereas // others do not. Work around this by subtracting the leading // family and len. The path is then scanned to see if a NUL // terminator still exists within the length. n := int(pp.Len) - 2 // subtract leading Family, Len for i := 0; i < n; i++ { if pp.Path[i] == 0 { // found early NUL; assume Len included the NUL // or was overestimating. n = i
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 29 21:28:33 UTC 2023 - 15K bytes - Viewed (0) -
src/main/assemblies/files/service.bat
goto:eof ) "%JAVA_HOME%\bin\java" -Xmx50M -version > nul 2>&1 if errorlevel 1 ( echo Warning: Could not start JVM to detect version, defaulting to x86: goto x86 ) "%JAVA_HOME%\bin\java" -Xmx50M -version 2>&1 | "%windir%\System32\find" "64-Bit" >nul: if errorlevel 1 goto x86 set EXECUTABLE=%FESS_HOME%\bin\fess-service-x64.exe set SERVICE_ID=fess-service-x64
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/go/testdata/script/devnull.txt
env GO111MODULE=off # Issue 28035: go test -c -o NUL should work. # Issue 28549: go test -c -o /dev/null should not overwrite /dev/null when run as root. cd x cmp $devnull $WORK/empty.txt go test -o=$devnull -c ! exists x.test$GOEXE cmp $devnull $WORK/empty.txt # Issue 12407: go build -o /dev/null should succeed. cd .. go build -o $devnull y cmp $devnull $WORK/empty.txt -- x/x_test.go -- package x_test import ( "testing"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 18 19:03:27 UTC 2019 - 525 bytes - Viewed (0) -
src/race.bat
off L9: L10:setlocal L11: L12:if exist make.bat goto ok L13:echo race.bat must be run from go\src L14::: cannot exit: would kill parent command interpreter L15:goto end L16::ok L17: L18:set GOROOT=%CD%\.. L19:call .\make.bat --dist-tool >NUL L20:if errorlevel 1 goto fail L21:.\cmd\dist\dist.exe env -w -p >env.bat L22:if errorlevel 1 goto fail L23:call .\env.bat L24:del env.bat L25: L26:if %GOHOSTARCH% == amd64 goto continue L27:echo Race detector is only supported on windows/amd64. ...
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 12 16:59:17 UTC 2022 - 1.1K bytes - Viewed (0)