Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Structures (0.21 sec)

  1. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/schedule.go

    // than a full scheduling as done above.
    // Note that simple dependency order won't work: there is no
    // dependency between NilChecks and values like IsNonNil.
    // Auxiliary data structures are passed in as arguments, so
    // that they can be allocated in the caller and be reused.
    // This function takes care of reset them.
    func storeOrder(values []*Value, sset *sparseSet, storeNumber []int32) []*Value {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 15:53:17 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ir/func.go

    // has an ODCLFUNC (and a matching ONAME) representing the compiled
    // underlying form of the closure, which accesses the captured variables
    // using a special data structure passed in a register.
    //
    // A method declaration is represented like functions, except f.Sym
    // will be the qualified method name (e.g., "T.m").
    //
    // A method expression (T.M) is represented as an OMETHEXPR node,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/3-structs.md

    types for struct fields that modify properties of
    the containing struct type such as memory layout.
    
    In this release, the only such type is
    [`HostLayout`](/pkg/structs#HostLayout)
    which indicates that a structure with a field of that
    type has a layout that conforms to host platform
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:06:02 UTC 2024
    - 356 bytes
    - Viewed (0)
  7. 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>,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 159 bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/compile.go

        -d=ssa/check/on,ssa/all/time
    `
    	}
    
    	if phase == "check" {
    		switch flag {
    		case "on":
    			checkEnabled = val != 0
    			debugPoset = checkEnabled // also turn on advanced self-checking in prove's data structure
    			return ""
    		case "off":
    			checkEnabled = val == 0
    			debugPoset = checkEnabled
    			return ""
    		case "seed":
    			checkEnabled = true
    			checkRandSeed = val
    			debugPoset = checkEnabled
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 14:55:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. 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
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top