- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for have (0.17 sec)
-
src/cmd/addr2line/addr2line_test.go
if err != nil { t.Fatalf("go tool addr2line %v: %v\n%s", os.Args[0], err, string(out)) } f := strings.Split(string(out), "\n") if len(f) < 3 && f[2] == "" { t.Fatal("addr2line output must have 2 lines") } funcname = f[0] pathAndLineNo := f[1] f = strings.Split(pathAndLineNo, ":") if runtime.GOOS == "windows" && len(f) == 3 { // Reattach drive letter. f = []string{f[0] + ":" + f[1], f[2]} }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 22:16:54 GMT 2024 - 3.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} } if haveConstant { p.back() if p.have(scanner.Float) { if prefix != '$' { p.errorf("floating-point constant must be an immediate") } a.Type = obj.TYPE_FCONST a.Val = p.floatExpr() // fmt.Printf("FCONST %s\n", obj.Dconv(&emptyProg, 0, a)) p.expectOperandEnd() return } if p.have(scanner.String) { if prefix != '$' {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/bytes/bytes_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/bytes/bytes.go
// limit (8KB), we stop growing the source string once the limit // is reached and keep reusing the same source string - that // should therefore be always resident in the L1 cache - until we // have completed the construction of the result. // This yields significant speedups (up to +100%) in cases where // the result length is large (roughly, over L2 cache size). const chunkLimit = 8 * 1024 chunkMax := n
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/builtin/builtin.go
// invocation of F then behaves like a call to panic, terminating G's // execution and running any deferred functions. This continues until all // functions in the executing goroutine have stopped, in reverse order. At // that point, the program is terminated with a non-zero exit code. This // termination sequence is called panicking and can be controlled by the // built-in function recover. //
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/archive/zip/zip_test.go
} testValidHeader(&h, t) } // Issue 4393. It is valid to have an extra data header // which contains no body. func TestZeroLengthHeader(t *testing.T) { h := FileHeader{ Name: "extadata.txt", Method: Deflate, Extra: []byte{
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/cmd/cgo/doc.go
These functions are only available in the preamble, not in other C files. The C code must not modify the contents of the pointer returned by _GoStringPtr. Note that the string contents may not have a trailing NUL byte. As Go doesn't have support for C's union type in the general case, C's union types are represented as a Go byte array with the same length. Go structs cannot embed fields with C types.
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/tar/common.go
// Type flags for Header.Typeflag. const ( // Type '0' indicates a regular file. TypeReg = '0' // Deprecated: Use TypeReg instead. TypeRegA = '\x00' // Type '1' to '6' are header-only flags and may not have a data body. TypeLink = '1' // Hard link TypeSymlink = '2' // Symbolic link TypeChar = '3' // Character device node TypeBlock = '4' // Block device node TypeDir = '5' // Directory
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
src/archive/zip/reader_test.go
}, }, }, { Name: "utf8-infozip.zip", File: []ZipTestFile{ { Name: "世界", Content: []byte{}, Mode: 0644, // Name is valid UTF-8, but format does not have UTF-8 flag set. // We don't do UTF-8 detection for multi-byte runes due to // false-positives with other encodings (e.g., Shift-JIS). // Format says encoding is not UTF-8, so we trust it. NonUTF8: true,
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) -
src/cmd/asm/internal/asm/endtoend_test.go
codeHex = "empty" } ok := false for _, hex := range strings.Split(hexes, " or ") { if codeHex == hex { ok = true break } } if !ok { t.Errorf("%s: have encoding %s, want %s", p, codeHex, hexes) } } if len(hexByLine) > 0 { var missing []string for key := range hexByLine { missing = append(missing, key) } sort.Strings(missing)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0)