Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for its (0.12 sec)

  1. src/cmd/cgo/ast.go

    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    			for _, e := range list {
    				fmt.Fprintln(os.Stderr, e)
    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

    #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
    effect to systems satisfying one of the constraints
    (see https://golang.org/pkg/go/build/#hdr-Build_Constraints for details about the constraint syntax).
    For example:
    
    	// #cgo CFLAGS: -DPNG_DEBUG=1
    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/builtin/builtin.go

    // value. Unlike new, make's return type is the same as the type of its
    // argument, not a pointer to it. The specification of the result depends on
    // the type:
    //
    //	Slice: The size specifies the length. The capacity of the slice is
    //	equal to its length. A second integer argument may be provided to
    //	specify a different capacity; it must be no smaller than the
    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)
  4. src/bytes/buffer.go

    	m, ok := b.tryGrowByReslice(1)
    	if !ok {
    		m = b.grow(1)
    	}
    	b.buf[m] = c
    	return nil
    }
    
    // WriteRune appends the UTF-8 encoding of Unicode code point r to the
    // buffer, returning its length and an error, which is always nil but is
    // included to match [bufio.Writer]'s WriteRune. The buffer is grown as needed;
    // if it becomes too large, WriteRune will panic with [ErrTooLarge].
    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)
  5. doc/godebug.md

    because it documents the full list of known GODEBUG settings,
    which are tied to a specific release.
    -->
    
    ## Introduction {#intro}
    
    Go's emphasis on backwards compatibility is one of its key strengths.
    There are, however, times when we cannot maintain complete compatibility.
    If code depends on buggy (including insecure) behavior,
    then fixing the bug will break that code.
    New features can also have similar impacts:
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. doc/asm.html

      x.go:3		0x1050203		e83882ffff		CALL runtime.morestack_noctxt(SB)
      x.go:3		0x1050208		ebb6			JMP main.main(SB)
    </pre>
    
    <h3 id="constants">Constants</h3>
    
    <p>
    Although the assembler takes its guidance from the Plan 9 assemblers,
    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/archive/tar/format.go

    // Format represents the tar archive format.
    //
    // The original tar format was introduced in Unix V7.
    // Since then, there have been multiple competing formats attempting to
    // standardize or extend the V7 format to overcome its limitations.
    // The most common formats are the USTAR, PAX, and GNU formats,
    // each with their own advantages and limitations.
    //
    // The following table captures the capabilities of each format:
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  8. src/bufio/scan.go

    func (s *Scanner) Bytes() []byte {
    	return s.token
    }
    
    // Text returns the most recent token generated by a call to [Scanner.Scan]
    // as a newly allocated string holding its bytes.
    func (s *Scanner) Text() string {
    	return string(s.token)
    }
    
    // ErrFinalToken is a special sentinel error value. It is intended to be
    // returned by a Split function to indicate that the scanning should stop
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  9. src/archive/zip/reader.go

    	v := binary.LittleEndian.Uint64(*b)
    	*b = (*b)[8:]
    	return v
    }
    
    func (b *readBuf) sub(n int) readBuf {
    	b2 := (*b)[:n]
    	*b = (*b)[n:]
    	return b2
    }
    
    // A fileListEntry is a File and its ename.
    // If file == nil, the fileListEntry describes a directory without metadata.
    type fileListEntry struct {
    	name  string
    	file  *File
    	isDir bool
    	isDup bool
    }
    
    type fileInfoDirEntry interface {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/arch.go

    // that do not accept the R(N) notation. It always returns failure.
    func nilRegisterNumber(name string, n int16) (int16, bool) {
    	return 0, false
    }
    
    // Set configures the architecture specified by GOARCH and returns its representation.
    // It returns nil if GOARCH is not recognized.
    func Set(GOARCH string, shared bool) *Arch {
    	switch GOARCH {
    	case "386":
    		return archX86(&x86.Link386)
    	case "amd64":
    		return archX86(&x86.Linkamd64)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
Back to top