Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Weaver (0.17 sec)

  1. api/go1.5.txt

    pkg mime, type WordDecoder struct
    pkg mime, type WordDecoder struct, CharsetReader func(string, io.Reader) (io.Reader, error)
    pkg mime, type WordEncoder uint8
    pkg mime/quotedprintable, func NewReader(io.Reader) *Reader
    pkg mime/quotedprintable, func NewWriter(io.Writer) *Writer
    pkg mime/quotedprintable, method (*Reader) Read([]uint8) (int, error)
    pkg mime/quotedprintable, method (*Writer) Close() error
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    The Go code can then refer to types such as C.size_t, variables such
    as C.stdout, or functions such as C.putchar.
    
    If the import of "C" is immediately preceded by a comment, that
    comment, called the preamble, is used as a header when compiling
    the C parts of the package. For example:
    
    	// #include <stdio.h>
    	// #include <errno.h>
    	import "C"
    
    The preamble may contain any C code, including function and variable
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. src/bytes/buffer_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if i != 0 {
    		t.Fatalf("unexpected return from bytes.ReadFrom (1): got: %d, want %d", i, 0)
    	}
    	check(t, "TestReadFromPanicReader (1)", &buf, "")
    
    	// Confirm that when Reader panics, the empty buffer remains empty
    	var buf2 Buffer
    	defer func() {
    		recover()
    		check(t, "TestReadFromPanicReader (2)", &buf2, "")
    	}()
    	buf2.ReadFrom(panicReader{panic: true})
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    	}
    
    	for i, v := range vectors {
    		for j := 0; j < 6; j++ {
    			var tr *Reader
    			var s1, s2 string
    
    			switch j {
    			case 0:
    				tr = NewReader(&reader{strings.NewReader(v.input)})
    				s1, s2 = "io.Reader", "auto"
    			case 1:
    				tr = NewReader(&reader{strings.NewReader(v.input)})
    				s1, s2 = "io.Reader", "manual"
    			case 2:
    				tr = NewReader(&readSeeker{strings.NewReader(v.input)})
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    // For forward compatibility, users that retrieve a Header from Reader.Next,
    // mutate it in some ways, and then pass it back to Writer.WriteHeader
    // should do so by creating a new Header and copying the fields
    // that they are interested in preserving.
    type Header struct {
    	// Typeflag is the type of header entry.
    	// The zero value is automatically promoted to either TypeReg or TypeDir
    	// depending on the presence of a trailing slash in Name.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. src/archive/zip/writer_test.go

    		}
    	}
    }
    
    func testCreate(t *testing.T, w *Writer, wt *WriteTest) {
    	header := &FileHeader{
    		Name:   wt.Name,
    		Method: wt.Method,
    	}
    	if wt.Mode != 0 {
    		header.SetMode(wt.Mode)
    	}
    	f, err := w.CreateHeader(header)
    	if err != nil {
    		t.Fatal(err)
    	}
    	_, err = f.Write(wt.Data)
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. src/bytes/buffer.go

    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  8. api/go1.6.txt

    pkg archive/zip, method (*ReadCloser) RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*Reader) RegisterDecompressor(uint16, Decompressor)
    pkg archive/zip, method (*Writer) RegisterCompressor(uint16, Compressor)
    pkg bufio, method (*Scanner) Buffer([]uint8, int)
    pkg bufio, var ErrFinalToken error
    pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 = 156
    pkg crypto/tls, const TLS_RSA_WITH_AES_128_GCM_SHA256 uint16
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  9. 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 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  10. 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 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top