Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for duplicate (0.18 sec)

  1. doc/go1.17_spec.html

    case x == 4: f3()
    }
    </pre>
    
    <p>
    Implementation restriction: A compiler may disallow multiple case
    expressions evaluating to the same constant.
    For instance, the current compilers disallow duplicate integer,
    floating point, or string constants in case expressions.
    </p>
    
    <h4 id="Type_switches">Type switches</h4>
    
    <p>
    A type switch compares types rather than values. It is otherwise similar
    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

    equations for the respective type parameters.
    </p>
    
    <p>
    For example, given
    </p>
    
    <pre>
    // dedup returns a copy of the argument slice with any duplicate entries removed.
    func dedup[S ~[]E, E comparable](S) S { … }
    
    type Slice []int
    var s Slice
    s = dedup(s)   // same as s = dedup[Slice, int](s)
    </pre>
    
    <p>
    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)
  3. doc/asm.html

    Don't profile the marked function.  This flag is deprecated.
    </li>
    <li>
    <code>DUPOK</code> = 2
    <br>
    It is legal to have multiple instances of this symbol in a single binary.
    The linker will choose one of the duplicates to use.
    </li>
    <li>
    <code>NOSPLIT</code> = 4
    <br>
    (For <code>TEXT</code> items.)
    Don't insert the preamble to check if the stack must be split.
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top