Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Ptr (0.11 sec)

  1. doc/go1.17_spec.html

    <p>
    The function <code>Slice</code> returns a slice whose underlying array starts at <code>ptr</code>
    and whose length and capacity are <code>len</code>.
    <code>Slice(ptr, len)</code> is equivalent to
    </p>
    
    <pre>
    (*[len]ArbitraryType)(unsafe.Pointer(ptr))[:]
    </pre>
    
    <p>
    except that, as a special case, if <code>ptr</code>
    is <code>nil</code> and <code>len</code> is zero,
    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)
Back to top