Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for relationship (0.24 sec)

  1. doc/go1.17_spec.html

              chan T           channel buffer capacity
    </pre>
    
    <p>
    The capacity of a slice is the number of elements for which there is
    space allocated in the underlying array.
    At any time the following relationship holds:
    </p>
    
    <pre>
    0 &lt;= len(s) &lt;= cap(s)
    </pre>
    
    <p>
    The length of a <code>nil</code> slice, map or channel is 0.
    The capacity of a <code>nil</code> slice or channel is 0.
    </p>
    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)
  2. doc/go_spec.html

    Otherwise, type inference fails and the program is invalid.
    </p>
    
    <p>
    Type inference uses the type relationships between pairs of types for inference:
    For instance, a function argument must be <a href="#Assignability">assignable</a>
    to its respective function parameter; this establishes a relationship between the
    type of the argument and the type of the parameter.
    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)
Back to top