Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for embody (0.22 sec)

  1. src/archive/tar/example_test.go

    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    		{"todo.txt", "Get animal handling license."},
    	}
    	for _, file := range files {
    		hdr := &tar.Header{
    			Name: file.Name,
    			Mode: 0600,
    			Size: int64(len(file.Body)),
    		}
    		if err := tw.WriteHeader(hdr); err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  2. misc/chrome/gophertool/popup.html

     Use of this source code is governed by a BSD-style
     license that can be found in the LICENSE file.
    -->
    <head>
    <script src="gopher.js"></script>
    <script src="popup.js"></script>
    </head>
    <body style='margin: 0.5em; font-family: sans;'>
    <small><a href="#" url="https://golang.org/issue">issue</a>,
    <a href="#" url="https://golang.org/cl">codereview</a>,
    <a href="#" url="https://golang.org/change">commit</a>, or
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 05 02:35:21 GMT 2021
    - 830 bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/04-vuln.yml

    name: Go vulnerability management - bugs and feature requests
    description: Issues or feature requests about Go vulnerability management
    title: "x/vuln: issue title"
    labels: ["vulncheck or vulndb"]
    body:
      - type: markdown
        attributes:
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  4. doc/go_spec.html

    	f Float                 // illegal
    }
    </pre>
    
    <p>
    An interface type <code>T</code> may not embed a type element
    that is, contains, or embeds <code>T</code>, directly or indirectly.
    </p>
    
    <pre>
    // illegal: Bad may not embed itself
    type Bad interface {
    	Bad
    }
    
    // illegal: Bad1 may not embed itself using Bad2
    type Bad1 interface {
    	Bad2
    }
    type Bad2 interface {
    	Bad1
    }
    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)
  5. src/archive/tar/writer.go

    	fmtNum(ustar.devMinor(), hdr.Devminor)
    
    	return &tw.blk
    }
    
    // writeRawFile writes a minimal file with the given name and flag type.
    // It uses format to encode the header format and will write data as the body.
    // It uses default values for all of the other fields (as BSD and GNU tar does).
    func (tw *Writer) writeRawFile(name, data string, flag byte, format Format) error {
    	tw.blk.reset()
    
    	// Best effort for the filename.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    	}
    	testValidHeader(&h, t)
    }
    
    // Issue 4393. It is valid to have an extra data header
    // which contains no body.
    func TestZeroLengthHeader(t *testing.T) {
    	h := FileHeader{
    		Name:   "extadata.txt",
    		Method: Deflate,
    		Extra: []byte{
    			85, 84, 5, 0, 3, 154, 144, 195, 77, // tag 21589 size 5
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  7. api/go1.1.txt

    pkg go/doc, type Example struct, EmptyOutput bool
    pkg go/doc, type Example struct, Order int
    pkg go/doc, type Example struct, Play *ast.File
    pkg go/doc, type Note struct
    pkg go/doc, type Note struct, Body string
    pkg go/doc, type Note struct, End token.Pos
    pkg go/doc, type Note struct, Pos token.Pos
    pkg go/doc, type Note struct, UID string
    pkg go/doc, type Package struct, Notes map[string][]*Note
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  8. api/go1.8.txt

    pkg net/http, type Request struct, GetBody func() (io.ReadCloser, error)
    pkg net/http, type Server struct, IdleTimeout time.Duration
    pkg net/http, type Server struct, ReadHeaderTimeout time.Duration
    pkg net/http, type Transport struct, ProxyConnectHeader Header
    pkg net/http, var ErrAbortHandler error
    pkg net/http, var ErrServerClosed error
    pkg net/http, var NoBody noBody
    pkg net/mail, func ParseDate(string) (time.Time, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  9. misc/linkcheck/linkcheck.go

    	}
    	if res.StatusCode != 200 {
    		return errors.New(res.Status)
    	}
    	slurp, err := io.ReadAll(res.Body)
    	res.Body.Close()
    	if err != nil {
    		log.Fatalf("Error reading %s body: %v", url, err)
    	}
    	if *verbose {
    		log.Printf("Len of %s: %d", url, len(slurp))
    	}
    	body := string(slurp)
    	for _, ref := range localLinks(body) {
    		if *verbose {
    			log.Printf("  links to %s", ref)
    		}
    		dest := *root + ref
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 06 15:53:04 GMT 2021
    - 3.9K bytes
    - Viewed (0)
  10. .github/PULL_REQUEST_TEMPLATE

    This PR will be imported into Gerrit with the title and first
    comment (this text) used to generate the subject and body of
    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
Back to top