Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for commits (0.18 sec)

  1. src/cmd/cgo/ast.go

    // printed.
    func (f *File) ParseGo(abspath string, src []byte) {
    	// Two different parses: once with comments, once without.
    	// The printer is not good enough at printing comments in the
    	// right place when we start editing the AST behind its back,
    	// so we use ast1 to look for the doc comments on import "C"
    	// and on exported functions, and we use ast2 for translating
    	// and reprinting.
    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)
  2. src/cmd/cgo/doc.go

    "C? Go? Cgo!" for an introduction to using cgo:
    https://golang.org/doc/articles/c_go_cgo.html.
    
    CFLAGS, CPPFLAGS, CXXFLAGS, FFLAGS and LDFLAGS may be defined with pseudo
    #cgo directives within these comments to tweak the behavior of the C, C++
    or Fortran compiler. Values defined in multiple directives are concatenated
    together. The directive can include a list of build constraints limiting its
    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)
  3. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	COMISD X11, X11                         // 66450f2fdb
    	COMISS (BX), X2                         // 0f2f13
    	COMISS (R11), X2                        // 410f2f13
    	COMISS X2, X2                           // 0f2fd2
    	COMISS X11, X2                          // 410f2fd3
    	COMISS (BX), X11                        // 440f2f1b
    	COMISS (R11), X11                       // 450f2f1b
    	COMISS X2, X11                          // 440f2fda
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  4. doc/go1.17_spec.html

    </pre>
    
    <h2 id="Lexical_elements">Lexical elements</h2>
    
    <h3 id="Comments">Comments</h3>
    
    <p>
    Comments serve as program documentation. There are two forms:
    </p>
    
    <ol>
    <li>
    <i>Line comments</i> start with the character sequence <code>//</code>
    and stop at the end of the line.
    </li>
    <li>
    <i>General comments</i> start with the character sequence <code>/*</code>
    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)
  5. lib/time/update.bash

    	echo No updates needed.
    	exit 0
    fi
    
    echo Updated for $CODE/$DATA: $files
    
    commitmsg="lib/time: update to $CODE/$DATA
    
    Commit generated by update.bash.
    
    For #22487.
    "
    
    if [ "$1" = "-commit" ]; then
    	echo "Creating commit. Run 'git reset HEAD^' to undo commit."
    	echo
    	git commit -m "$commitmsg" $files
    	echo
    	git log -n1 --stat
    	echo
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 02 18:20:41 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    func NewTokenizer(name string, r io.Reader, file *os.File) *Tokenizer {
    	var s scanner.Scanner
    	s.Init(r)
    	// Newline is like a semicolon; other space characters are fine.
    	s.Whitespace = 1<<'\t' | 1<<'\r' | 1<<' '
    	// Don't skip comments: we need to count newlines.
    	s.Mode = scanner.ScanChars |
    		scanner.ScanFloats |
    		scanner.ScanIdents |
    		scanner.ScanInts |
    		scanner.ScanStrings |
    		scanner.ScanComments
    	s.Position.Filename = name
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    	opReadRune1 readOp = 1  // Read rune of size 1.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/godefs.go

    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    	//	// +godefs map struct_in_addr6 [16]byte
    	//
    	for _, g := range f.Comments {
    		for _, c := range g.List {
    			i := strings.Index(c.Text, "+godefs map")
    			if i < 0 {
    				continue
    			}
    			s := strings.TrimSpace(c.Text[i+len("+godefs map"):])
    			i = strings.Index(s, " ")
    			if i < 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  9. src/bufio/example_test.go

    func ExampleScanner_emptyFinalToken() {
    	// Comma-separated list; last entry is empty.
    	const input = "1,2,3,4,"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Define a split function that separates on commas.
    	onComma := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		for i := 0; i < len(data); i++ {
    			if data[i] == ',' {
    				return i + 1, data[:i], nil
    			}
    		}
    		if !atEOF {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    		notType = 1 << iota
    		notIntConst
    		notNumConst
    		notStrLiteral
    		notDeclared
    	)
    	sawUnmatchedErrors := false
    	for _, line := range strings.Split(stderr, "\n") {
    		// Ignore warnings and random comments, with one
    		// exception: newer GCC versions will sometimes emit
    		// an error on a macro #define with a note referring
    		// to where the expansion occurs. We care about where
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top