Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for structure (0.29 sec)

  1. src/cmd/cgo/ast.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Parse input AST and prepare Prog structure.
    
    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/format"
    	"go/parser"
    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    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. doc/asm.html

    </p>
    
    <p>
    Here follow some descriptions of key Go-specific details for the supported architectures.
    </p>
    
    <h3 id="x86">32-bit Intel 386</h3>
    
    <p>
    The runtime pointer to the <code>g</code> structure is maintained
    through the value of an otherwise unused (as far as Go is concerned) register in the MMU.
    In the runtime package, assembly code can include <code>go_tls.h</code>, which defines
    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)
  3. src/archive/tar/writer.go

    	return nil
    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the tar archive while maintaining the directory structure.
    func (tw *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if d.IsDir() {
    			return nil
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/doc.go

    	jweak
    
    3. The EGLDisplay and EGLConfig types from the EGL API.
    
    These types are uintptr on the Go side because they would otherwise
    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    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)
  5. src/cmd/asm/internal/asm/parse.go

    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    func (p *Parser) address(operand []lex.Token) obj.Addr {
    	p.start(operand)
    	addr := obj.Addr{}
    	p.operand(&addr)
    	return addr
    }
    
    // parseScale converts a decimal string into a valid scale factor.
    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)
  6. src/archive/zip/writer.go

    }
    
    // AddFS adds the files from fs.FS to the archive.
    // It walks the directory tree starting at the root of the filesystem
    // adding each file to the zip using deflate while maintaining the directory structure.
    func (w *Writer) AddFS(fsys fs.FS) error {
    	return fs.WalkDir(fsys, ".", func(name string, d fs.DirEntry, err error) error {
    		if err != nil {
    			return err
    		}
    		if d.IsDir() {
    			return nil
    		}
    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)
  7. src/bufio/bufio.go

    // of bytes in the combined first two elements, error).
    // The complete result is equal to
    // `bytes.Join(append(fullBuffers, finalFragment), nil)`, which has a
    // length of `totalLen`. The result is structured in this way to allow callers
    // to minimize allocations and copies.
    func (b *Reader) collectFragments(delim byte) (fullBuffers [][]byte, finalFragment []byte, totalLen int, err error) {
    	var frag []byte
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  8. doc/go_mem.html

    For performance reasons,
    implementations may instead treat larger operations
    as a set of individual machine-word-sized operations
    in an unspecified order.
    This means that races on multiword data structures
    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    of internal (pointer, length) or (pointer, type) pairs,
    as can be the case for interface values, maps,
    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)
Back to top