- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for pre (0.22 sec)
-
doc/go1.17_spec.html
<pre> func(int) int </pre> <p> These two invocations are equivalent: </p> <pre> t.Mv(7) f := t.Mv; f(7) </pre> <p> Similarly, the expression </p> <pre> pt.Mp </pre> <p> yields a function value of type </p> <pre> func(float32) float32 </pre> <p>
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/archive/tar/common.go
dst := src[:0] var pre sparseEntry for _, cur := range src { if cur.Length == 0 { continue // Skip empty fragments } pre.Length = cur.Offset - pre.Offset if pre.Length > 0 { dst = append(dst, pre) // Only add non-empty fragments } pre.Offset = cur.endOffset() } pre.Length = size - pre.Offset // Possibly the only empty fragment return append(dst, pre)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2) -
doc/go_spec.html
</p> <pre class="ebnf"> ShortVarDecl = IdentifierList ":=" ExpressionList . </pre> <p> It is shorthand for a regular <a href="#Variable_declarations">variable declaration</a> with initializer expressions but no types: </p> <pre class="grammar"> "var" IdentifierList "=" ExpressionList . </pre> <pre> i, j := 0, 10 f := func() int { return 7 }
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 279.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
to add to each appropriate set of command-line flags. When the cgo directives are parsed, any occurrence of the string ${SRCDIR} will be replaced by the absolute path to the directory containing the source file. This allows pre-compiled static libraries to be included in the package directory and linked properly. For example if package foo is in the directory /go/src/foo: // #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo Will be expanded to:
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/archive/zip/reader_test.go
} } func TestCVE202139293(t *testing.T) { // directory size is so large, that the check in Reader.init // overflows when subtracting from the archive size, causing // the pre-allocation check to be bypassed. data := []byte{ 0x50, 0x4b, 0x06, 0x06, 0x05, 0x06, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x4b,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0) -
doc/asm.html
0x0048 00072 (x.go:3) JMP 0 ... </pre> <p> The <code>FUNCDATA</code> and <code>PCDATA</code> directives contain information for use by the garbage collector; they are introduced by the compiler. </p> <p> To see what gets put in the binary after linking, use <code>go tool objdump</code>: </p> <pre> $ go build -o x.exe x.go $ go tool objdump -s main.main x.exe
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
file: "testdata/issue11169.tar", err: ErrHeader, }, { file: "testdata/issue12435.tar", err: ErrHeader, }, { // Ensure that we can read back the original Header as written with // a buggy pre-Go1.8 tar.Writer. file: "testdata/invalid-go17.tar", headers: []*Header{{ Name: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/foo", Uid: 010000000,
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm64.s
Others - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 08 03:28:17 GMT 2023 - 94.9K bytes - Viewed (0) -
src/bytes/bytes_test.go
func BenchmarkIndexHard2(b *testing.B) { benchmarkIndexHard(b, []byte("</pre>")) } func BenchmarkIndexHard3(b *testing.B) { benchmarkIndexHard(b, []byte("<b>hello world</b>")) } func BenchmarkIndexHard4(b *testing.B) { benchmarkIndexHard(b, []byte("<pre><b>hello</b><strong>world</strong></pre>")) } func BenchmarkLastIndexHard1(b *testing.B) { benchmarkLastIndexHard(b, []byte("<>")) }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
doc/go_mem.html
For example, a compiler must not invert the conditional in this program: </p> <pre> *p = 1 if cond { *p = 2 } </pre> <p> That is, the compiler must not rewrite the program into this one: </p> <pre> *p = 2 if !cond { *p = 1 } </pre> <p> If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0)