Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for variant (0.24 sec)

  1. doc/go1.17_spec.html

    </p>
    
    
    <h3 id="Slice_expressions">Slice expressions</h3>
    
    <p>
    Slice expressions construct a substring or slice from a string, array, pointer
    to array, or slice. There are two variants: a simple form that specifies a low
    and high bound, and a full form that also specifies a bound on the capacity.
    </p>
    
    <h4>Simple slice expressions</h4>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. src/README.vendor

    imported normally and vendored by the standard library.
    
    Vendored packages are internally renamed with a "vendor/" prefix
    to preserve the invariant that all packages have distinct paths.
    This is necessary to avoid compiler and linker conflicts. Adding
    a "vendor/" prefix also maintains the invariant that standard
    library packages begin with a dotless path element.
    
    The module requirements of std and cmd do not influence version
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	return append(dst, pre)
    }
    
    // fileState tracks the number of logical (includes sparse holes) and physical
    // (actual in tar archive) bytes remaining for the current file.
    //
    // Invariant: logicalRemaining >= physicalRemaining
    type fileState interface {
    	logicalRemaining() int64
    	physicalRemaining() int64
    }
    
    // allowedFormats determines which formats can be used.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. doc/go_spec.html

    by automatic tools such as integrated development environments.
    </p>
    
    <h2 id="Notation">Notation</h2>
    <p>
    The syntax is specified using a
    <a href="https://en.wikipedia.org/wiki/Wirth_syntax_notation">variant</a>
    of Extended Backus-Naur Form (EBNF):
    </p>
    
    <pre class="grammar">
    Syntax      = { Production } .
    Production  = production_name "=" [ Expression ] "." .
    Expression  = Term { "|" Term } .
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  5. doc/go_mem.html

    be observed by <code>main</code>, since there are no synchronization
    events between the two threads.  The loop in <code>main</code> is not
    guaranteed to finish.
    </p>
    
    <p>
    There are subtler variants on this theme, such as this program.
    </p>
    
    <pre>
    type T struct {
    	msg string
    }
    
    var g *T
    
    func setup() {
    	t := new(T)
    	t.msg = "hello, world"
    	g = t
    }
    
    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