Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for render (0.22 sec)

  1. .github/ISSUE_TEMPLATE/04-vuln.yml

        validations:
          required: true
      - type: textarea
        id: go-env
        attributes:
          label: "Output of `go env` in your module/workspace:"
          render: shell
        validations:
          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
    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)
  2. .github/ISSUE_TEMPLATE/12-telemetry.yml

          You can check the list of the approved counters and their current configuration in [config.txt](https://go.googlesource.com/telemetry/+/master/internal/configgen/config.txt).
        render: Text
        value: |
          counter: gopls/bug
          title: Gopls bug reports
          description: Stacks of bugs encountered on the gopls server.
          type: partition, histogram, stack # choose only one.
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 27 17:23:51 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  3. src/bytes/reader.go

    	m, err := w.Write(b)
    	if m > len(b) {
    		panic("bytes.Reader.WriteTo: invalid Write count")
    	}
    	r.i += int64(m)
    	n = int64(m)
    	if m != len(b) && err == nil {
    		err = io.ErrShortWrite
    	}
    	return
    }
    
    // Reset resets the [Reader.Reader] to be reading from b.
    func (r *Reader) Reset(b []byte) { *r = Reader{b, 0, -1} }
    
    // NewReader returns a new [Reader.Reader] reading from b.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/bytes/reader_test.go

    	}
    }
    
    var UnreadRuneErrorTests = []struct {
    	name string
    	f    func(*Reader)
    }{
    	{"Read", func(r *Reader) { r.Read([]byte{0}) }},
    	{"ReadByte", func(r *Reader) { r.ReadByte() }},
    	{"UnreadRune", func(r *Reader) { r.UnreadRune() }},
    	{"Seek", func(r *Reader) { r.Seek(0, io.SeekCurrent) }},
    	{"WriteTo", func(r *Reader) { r.WriteTo(&Buffer{}) }},
    }
    
    func TestUnreadRuneError(t *testing.T) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 13 18:45:54 GMT 2021
    - 8K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    // The Header.Size determines how many bytes can be written for the next file.
    // If the current file is not fully written, then this returns an error.
    // This implicitly flushes any padding necessary before writing the header.
    func (tw *Writer) WriteHeader(hdr *Header) error {
    	if err := tw.Flush(); err != nil {
    		return err
    	}
    	tw.hdr = *hdr // Shallow copy of Header
    
    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/builtin/builtin.go

    // implied by the type argument.
    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/archive/zip/zip_test.go

    	}
    	if err := w.Close(); err != nil {
    		t.Fatal(err)
    	}
    
    	// read back zip file and check that we get to the end of it
    	r, err := NewReader(buf, buf.Size())
    	if err != nil {
    		t.Fatal("reader:", err)
    	}
    	f0 := r.File[0]
    	rc, err := f0.Open()
    	if err != nil {
    		t.Fatal("opening:", err)
    	}
    	rc.(*checksumReader).hash = fakeHash32{}
    	for i := 0; i < chunks; i++ {
    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)
  8. doc/go_spec.html

    [<a href="#Go_1.18">Go 1.18</a>].
    </p>
    
    <pre>
    type Reader interface {
    	Read(p []byte) (n int, err error)
    	Close() error
    }
    
    type Writer interface {
    	Write(p []byte) (n int, err error)
    	Close() error
    }
    
    // ReadWriter's methods are Read, Write, and Close.
    type ReadWriter interface {
    	Reader  // includes methods of Reader in ReadWriter's method set
    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)
  9. api/go1.1.txt

    pkg bufio, const MaxScanTokenSize ideal-int
    pkg bufio, func NewScanner(io.Reader) *Scanner
    pkg bufio, func ScanBytes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanLines([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanRunes([]uint8, bool) (int, []uint8, error)
    pkg bufio, func ScanWords([]uint8, bool) (int, []uint8, error)
    pkg bufio, method (*Reader) WriteTo(io.Writer) (int64, error)
    pkg bufio, method (*Scanner) Bytes() []uint8
    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)
  10. .github/ISSUE_TEMPLATE/03-gopls.yml

        validations:
          required: true
      - type: textarea
        id: go-env
        attributes:
          label: "go env"
          description: "Output of `go env` on the command line in your workspace directory"
          render: shell
        validations:
          required: true
      - type: textarea
        id: what-did-you-do
        attributes:
          label: "What did you do?"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top