- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for docs (0.32 sec)
-
.github/ISSUE_TEMPLATE/04-vuln.yml
DB: https://vuln.go.dev DB updated: 2023-11-21 15:39:17 +0000 UTC validations: required: true - type: textarea id: reproduce-latest-version attributes: label: "Does this issue reproduce at the latest version of golang.org/x/vuln?" validations: required: true - type: textarea id: go-env attributes: label: "Output of `go env` in your module/workspace:"
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0) -
doc/go_spec.html
in a declaration, but it does not introduce a binding and thus is not declared. In the package block, the identifier <code>init</code> may only be used for <a href="#Package_initialization"><code>init</code> function</a> declarations, and like the blank identifier it does not introduce a new binding. </p> <pre class="ebnf">
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu May 02 22:43:51 GMT 2024 - 279.6K bytes - Viewed (0) -
src/bytes/bytes.go
// This code does not take that effect into account. j := bytealg.IndexRabinKarp(s[i:], sep) if j < 0 { return -1 } return i + j } } return -1 } // Cut slices s around the first instance of sep, // returning the text before and after sep. // The found result reports whether sep appears in s. // If sep does not appear in s, cut returns s, nil, false.
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
type ComplexType complex64 // The append built-in function appends elements to the end of a slice. If // it has sufficient capacity, the destination is resliced to accommodate the // new elements. If it does not, a new underlying array will be allocated. // Append returns the updated slice. It is therefore necessary to store the // result of append, often in the variable holding the slice itself: //
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/cmd/asm/internal/asm/parse.go
func (p *Parser) expectOperandEnd() { p.expect(scanner.EOF, "end of operand") } // expect verifies that the next item has the expected type. It does not consume it. func (p *Parser) expect(expectedToken lex.ScanToken, expectedMessage string) { if p.peek() != expectedToken { p.errorf("expected %s, found %s", expectedMessage, p.next()) } }
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) -
doc/go_mem.html
</p> <pre> *p /= 2 *p += i </pre> <p> If <code>i</code> and <code>*p</code> start equal to 2, the original code does <code>*p = 3</code>, so a racing thread can read only 2 or 3 from <code>*p</code>. The rewritten code does <code>*p = 1</code> and then <code>*p = 3</code>, allowing a racing thread to read 1 as well. </p> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
src/archive/tar/writer_test.go
// ---------- 0 0 0 0 May 13 2014 file4 // // GNU tar v1.27.1 applies global headers to subsequent records, // but does not do the following properly: // * It does not treat an empty record as deletion. // * It does not use subsequent global headers to update previous ones. // // $ gnutar -tvf pax-global-records.tar // ---------- 0/0 0 2017-07-13 19:40 global1
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
src/archive/zip/writer.go
if len(comment) > uint16max { return errors.New("zip: Writer.Comment too long") } w.comment = comment return nil } // Close finishes writing the zip file by writing the central directory. // It does not close the underlying writer. func (w *Writer) Close() error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { return err } w.last = nil } if w.closed {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
src/cmd/api/main_test.go
log.Fatalf("unexpected api file: %v", name) } return n >= 19 // started tracking approvals in Go 1.19 } func (w *Walker) collectDeprecated() { isDeprecated := func(doc *ast.CommentGroup) bool { if doc != nil { for _, c := range doc.List { if strings.HasPrefix(c.Text, "// Deprecated:") { return true } } } return false } w.deprecated = make(map[token.Pos]bool)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
src/archive/tar/reader.go
// The sparse map is stored in the tar header if it's small enough. // If it's larger than four entries, then one or more extension headers are used // to store the rest of the sparse map. // // The Header.Size does not reflect the size of any extended headers used. // Thus, this function will read from the raw io.Reader to fetch extra headers. // This method mutates blk in the process.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 08 01:59:14 GMT 2024 - 26.8K bytes - Viewed (0)