Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Length_and_capacity (0.36 sec)

  1. src/internal/types/errors/codes.go

    	//
    	// Example:
    	//  var _ = append(1, 2)
    	InvalidAppend
    
    	// InvalidCap occurs when an argument to the cap built-in function is not of
    	// supported type.
    	//
    	// See https://golang.org/ref/spec#Length_and_capacity for information on
    	// which underlying types are supported as arguments to cap and len.
    	//
    	// Example:
    	//  var s = 2
    	//  var x = cap(s)
    	InvalidCap
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:50:48 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <p>
    A single channel may be used in
    <a href="#Send_statements">send statements</a>,
    <a href="#Receive_operator">receive operations</a>,
    and calls to the built-in functions
    <a href="#Length_and_capacity"><code>cap</code></a> and
    <a href="#Length_and_capacity"><code>len</code></a>
    by any number of goroutines without further synchronization.
    Channels act as first-in-first-out queues.
    For example, if one goroutine sends values on a channel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  3. doc/go_spec.html

    <p>
    A single channel may be used in
    <a href="#Send_statements">send statements</a>,
    <a href="#Receive_operator">receive operations</a>,
    and calls to the built-in functions
    <a href="#Length_and_capacity"><code>cap</code></a> and
    <a href="#Length_and_capacity"><code>len</code></a>
    by any number of goroutines without further synchronization.
    Channels act as first-in-first-out queues.
    For example, if one goroutine sends values on a channel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  4. src/cmd/vendor/golang.org/x/tools/internal/typesinternal/errorcode.go

    	//
    	// Example:
    	//  var _ = append(1, 2)
    	InvalidAppend
    
    	// InvalidCap occurs when an argument to the cap built-in function is not of
    	// supported type.
    	//
    	// See https://golang.org/ref/spec#Lengthand_capacity for information on
    	// which underlying types are supported as arguments to cap and len.
    	//
    	// Example:
    	//  var s = 2
    	//  var x = cap(s)
    	InvalidCap
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top