Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Products (0.2 sec)

  1. src/cmd/cgo/doc.go

    The go command and any other Go-aware build systems invoke cmd/link
    to link a collection of packages into a single binary. By default, cmd/link will
    present the same interface it does today:
    
    	cmd/link main.a
    
    produces a file named a.out, even if cmd/link does so by invoking the host
    linker in external linking mode.
    
    By default, cmd/link will decide the linking mode as follows: if the only
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    A slice created with <code>make</code> always allocates a new, hidden array
    to which the returned slice value refers. That is, executing
    </p>
    
    <pre>
    make([]T, length, capacity)
    </pre>
    
    <p>
    produces the same slice as allocating an array and <a href="#Slice_expressions">slicing</a>
    it, so these two expressions are equivalent:
    </p>
    
    <pre>
    make([]int, 50, 100)
    new([100]int)[0:50]
    </pre>
    
    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)
  3. src/archive/tar/common.go

    // The value returned is the logical OR of multiple possible formats.
    // If the value is FormatUnknown, then the input Header cannot be encoded
    // and an error is returned explaining why.
    //
    // As a by-product of checking the fields, this function returns paxHdrs, which
    // contain all fields that could not be directly encoded.
    // A value receiver ensures that this method does not mutate the source Header.
    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/godebug.md

    [`httpmuxgo121` setting](/pkg/net/http/#ServeMux).
    
    Go 1.22 added the [Alias type](/pkg/go/types#Alias) to [go/types](/pkg/go/types)
    for the explicit representation of [type aliases](/ref/spec#Type_declarations).
    Whether the type checker produces `Alias` types or not is controlled by the
    [`gotypesalias` setting](/pkg/go/types#Alias).
    For Go 1.22 it defaults to `gotypesalias=0`.
    For Go 1.23, `gotypesalias=1` will become the default.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/2-unique.md

    The new [unique](/pkg/unique) package provides facilities for
    canonicalizing values (like "interning" or "hash-consing").
    
    Any value of comparable type may be canonicalized with the new
    `Make[T]` function, which produces a reference to a canonical copy of
    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  6. src/bytes/bytes.go

    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && Equal(s[i:i+n], sep) {
    				return i
    			}
    			fails++
    			i++
    			// Switch to bytealg.Index when IndexByte produces too many false positives.
    			if fails > bytealg.Cutover(i) {
    				r := bytealg.Index(s[i:], sep)
    				if r >= 0 {
    					return r + i
    				}
    				return -1
    			}
    		}
    		return -1
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  7. doc/go_spec.html

    A slice created with <code>make</code> always allocates a new, hidden array
    to which the returned slice value refers. That is, executing
    </p>
    
    <pre>
    make([]T, length, capacity)
    </pre>
    
    <p>
    produces the same slice as allocating an array and <a href="#Slice_expressions">slicing</a>
    it, so these two expressions are equivalent:
    </p>
    
    <pre>
    make([]int, 50, 100)
    new([100]int)[0:50]
    </pre>
    
    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)
Back to top