Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for composition (4.72 sec)

  1. doc/go1.17_spec.html

    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    type NewMutex Mutex
    
    // The method set of PtrMutex's underlying type *Mutex remains unchanged,
    // but the method set of PtrMutex is empty.
    type PtrMutex *Mutex
    
    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_spec.html

    type Mutex struct         { /* Mutex fields */ }
    func (m *Mutex) Lock()    { /* Lock implementation */ }
    func (m *Mutex) Unlock()  { /* Unlock implementation */ }
    
    // NewMutex has the same composition as Mutex but its method set is empty.
    type NewMutex Mutex
    
    // The method set of PtrMutex's underlying type *Mutex remains unchanged,
    // but the method set of PtrMutex is empty.
    type PtrMutex *Mutex
    
    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