Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Structures (0.26 sec)

  1. 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)
  2. 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)
  3. doc/go1.17_spec.html

    allocates storage for a variable at run time.
    Such an anonymous variable is referred to via a (possibly implicit)
    <a href="#Address_operators">pointer indirection</a>.
    </p>
    
    <p>
    <i>Structured</i> variables of <a href="#Array_types">array</a>, <a href="#Slice_types">slice</a>,
    and <a href="#Struct_types">struct</a> types have elements and fields that may
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. doc/go_spec.html

    <p>
    For an equation of the form <code>X ≡<sub>A</sub> Y</code>,
    where <code>X</code> and <code>Y</code> are types involved
    in an assignment (including parameter passing and return statements),
    the top-level type structures may unify loosely but element types
    must unify exactly, matching the rules for assignments.
    </p>
    
    <p>
    For an equation of the form <code>P ≡<sub>C</sub> C</code>,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/cmd/cgo/godefs.go

    	fmt.Fprintf(&buf, "\n")
    
    	override := make(map[string]string)
    
    	// Allow source file to specify override mappings.
    	// For example, the socket data structures refer
    	// to in_addr and in_addr6 structs but we want to be
    	// able to treat them as byte arrays, so the godefs
    	// inputs in package syscall say
    	//
    	//	// +godefs map struct_in_addr [4]byte
    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)
  8. doc/next/6-stdlib/99-minor/testing/fstest/63675.md

    [TestFS] now returns a structured error that can be unwrapped
    (via method `Unwrap() []error`). This allows inspecting errors
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 159 bytes
    - Viewed (0)
  9. src/cmd/cgo/gcc.go

    // field names when generating the C or Go code. For generated
    // C, we leave the names as is (tv_sec, tv_usec), since that's what
    // people are used to seeing in C.  For generated Go code, such as
    // package syscall's data structures, we drop a common prefix
    // (so sec, usec, which will get turned into Sec, Usec for exporting).
    func fieldPrefix(fld []*ast.Field) string {
    	prefix := ""
    	for _, f := range fld {
    		for _, n := range f.Names {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  10. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top