- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for attempted (7.31 sec)
-
src/archive/tar/format.go
func (b *block) toUSTAR() *headerUSTAR { return (*headerUSTAR)(b) } func (b *block) toSparse() sparseArray { return sparseArray(b[:]) } // getFormat checks that the block is a valid tar header based on the checksum. // It then attempts to guess the specific format based on magic values. // If the checksum fails, then FormatUnknown is returned. func (b *block) getFormat() Format { // Verify checksum. var p parser
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue18146.go
nproc = 7 } if setNproc { var rlim syscall.Rlimit if syscall.Getrlimit(nproc, &rlim) == nil { max := int(rlim.Cur) / (threads + 5) if attempts > max { t.Logf("lowering attempts from %d to %d for RLIMIT_NPROC", attempts, max) attempts = max } } } if os.Getenv("test18146") == "exec" { runtime.GOMAXPROCS(1) for n := threads; n > 0; n-- { go func() { for {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Sep 05 23:35:32 GMT 2023 - 2.8K bytes - Viewed (0) -
src/archive/zip/reader.go
} b = b[22:] // skip over most of the header filenameLen := int(b.uint16()) extraLen := int(b.uint16()) return int64(fileHeaderLen + filenameLen + extraLen), nil } // readDirectoryHeader attempts to read a directory header from r. // It returns io.ErrUnexpectedEOF if it cannot read a complete header, // and ErrFormat if it doesn't find a valid header signature. func readDirectoryHeader(f *File, r io.Reader) error {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 27.7K bytes - Viewed (0) -
src/cmd/cgo/ast.go
f.Preamble += commentText(cg) + "\n" f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n" } } case *ast.FuncDecl: // Also, reject attempts to declare methods on C.T or *C.T. // (The generated code would otherwise accept this // invalid input; see issue #57926.) if decl.Recv != nil && len(decl.Recv.List) > 0 { recvType := decl.Recv.List[0].Type
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
Also for security reasons, only a limited set of characters are permitted, notably alphanumeric characters and a few symbols, such as '.', that will not be interpreted in unexpected ways. Attempts to use forbidden characters will get a "malformed #cgo argument" error. When building, the CGO_CFLAGS, CGO_CPPFLAGS, CGO_CXXFLAGS, CGO_FFLAGS and CGO_LDFLAGS environment variables are added to the flags derived from
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/archive/zip/reader_test.go
0xff, 0xff, 0xff, 0x20, 0x00, } defer func() { if r := recover(); r != nil { t.Fatalf("NewReader panicked: %s", r) } }() // Previously, this would trigger a panic as we attempt to read from // an io.SectionReader which would access a slice at a negative offset // as the section reader offset & size were < 0. NewReader(bytes.NewReader(data), int64(len(data))+1875)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
doc/go1.17_spec.html
indirection <code>*x</code> denotes the <a href="#Variables">variable</a> of type <code>T</code> pointed to by <code>x</code>. If <code>x</code> is <code>nil</code>, an attempt to evaluate <code>*x</code> will cause a <a href="#Run_time_panics">run-time panic</a>. </p> <pre> &x &a[f(2)] &Point{2, 3} *p *pf(x) var x *int = nil
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
misc/ios/README
id and a provisioned bundle id to use. They're specified with the environment variables GOIOS_DEV_ID, GOIOS_TEAM_ID and GOIOS_APP_ID. The detect.go program in this directory will attempt to auto-detect suitable values. Run it as go run detect.go which will output something similar to export GOIOS_DEV_ID="iPhone Developer: ******@****.*** (XXXXXXXX)" export GOIOS_APP_ID=YYYYYYYY.some.bundle.id
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Dec 29 21:49:26 GMT 2020 - 2.7K bytes - Viewed (0) -
src/archive/tar/strconv.go
} return int64(x) } // Normal case is base-8 (octal) format. return p.parseOctal(b) } // formatNumeric encodes x into b using base-8 (octal) encoding if possible. // Otherwise it will attempt to use base-256 (binary) encoding. func (f *formatter) formatNumeric(b []byte, x int64) { if fitsInOctal(len(b), x) { f.formatOctal(b, x) return } if fitsInBase256(len(b), x) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// type and source locations of constant strings) // like the second arg in the call below: // // myfunction(42, "foo") // // If a var has no name we won't see attempts to // refer to it via "C.<name>", so skip these vars // // See issue 53000 for more context. if name == "" { break } typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)