Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for escape (0.14 sec)

  1. src/cmd/asm/internal/lex/input.go

    			}
    		}
    	}
    	var tokens []Token
    	// Scan to newline. Backslashes escape newlines.
    	for tok != '\n' {
    		if tok == scanner.EOF {
    			in.Error("missing newline in definition for macro:", name)
    		}
    		if tok == '\\' {
    			tok = in.Stack.Next()
    			if tok != '\n' && tok != '\\' {
    				in.Error(`can only escape \ or \n in definition for macro:`, name)
    			}
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    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)
Back to top