Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Embedded (0.16 sec)

  1. doc/go1.17_spec.html

    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    	*T    // conflicts with embedded field T and *P.T
    	*P.T  // conflicts with embedded field T and *T
    }
    </pre>
    
    <p>
    A field or <a href="#Method_declarations">method</a> <code>f</code> of an
    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    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. src/cmd/api/main_test.go

    	list := make([]string, n)
    	for i := range list {
    		list[i] = typ.Method(i).Name()
    	}
    	sort.Strings(list)
    	return list
    }
    
    // sortedEmbeddeds returns constraint types embedded in an
    // interface. It does not include embedded interface types or methods.
    func (w *Walker) sortedEmbeddeds(typ *types.Interface) []string {
    	n := typ.NumEmbeddeds()
    	list := make([]string, 0, n)
    	for i := 0; i < n; i++ {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  3. doc/go_spec.html

    in a struct type:
    </p>
    
    <pre>
    struct {
    	T     // conflicts with embedded field *T and *P.T
    	*T    // conflicts with embedded field T and *P.T
    	*P.T  // conflicts with embedded field T and *T
    }
    </pre>
    
    <p>
    A field or <a href="#Method_declarations">method</a> <code>f</code> of an
    embedded field in a struct <code>x</code> is called <i>promoted</i> if
    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)
  4. src/archive/zip/reader.go

    }
    
    // A ReadCloser is a [Reader] that must be closed when no longer needed.
    type ReadCloser struct {
    	f *os.File
    	Reader
    }
    
    // A File is a single file in a ZIP archive.
    // The file information is in the embedded [FileHeader].
    // The file content can be accessed by calling [File.Open].
    type File struct {
    	FileHeader
    	zip          *Reader
    	zipr         io.ReaderAt
    	headerOffset int64 // includes overall ZIP archive baseOffset
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    //
    // In contrast to [Writer.CreateHeader], the bytes passed to Writer are not compressed.
    //
    // CreateRaw's argument is stored in w. If the argument is a pointer to the embedded
    // [FileHeader] in a [File] obtained from a [Reader] created from in-memory data,
    // then w will refer to all of that memory.
    func (w *Writer) CreateRaw(fh *FileHeader) (io.Writer, error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top