Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for interfaces (0.16 sec)

  1. doc/go1.17_spec.html

    func(prefix string, values ...int)
    func(a, b int, z float64, opt ...interface{}) (success bool)
    func(int, int, float64) (float64, *[]int)
    func(n int) func(p *T)
    </pre>
    
    
    <h3 id="Interface_types">Interface types</h3>
    
    <p>
    An interface type specifies a <a href="#Method_sets">method set</a> called its <i>interface</i>.
    A variable of interface type can store a value of any type with a method set
    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. doc/go_mem.html

    can lead to inconsistent values not corresponding to a single write.
    When the values depend on the consistency
    of internal (pointer, length) or (pointer, type) pairs,
    as can be the case for interface values, maps,
    slices, and strings in most Go implementations,
    such races can in turn lead to arbitrary memory corruption.
    </p>
    
    <p>
    Examples of incorrect synchronization are given in the
    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)
  3. doc/go_spec.html

    struct{f any}      comparable                     // satisfied: struct{f any} is comparable and implements the basic interface any
    any                interface{ comparable; m() }   // not satisfied: any does not implement the basic interface interface{ m() }
    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