Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 75 for written (0.18 sec)

  1. src/archive/tar/writer.go

    	"path"
    	"sort"
    	"strings"
    	"time"
    )
    
    // Writer provides sequential writing of a tar archive.
    // [Writer.WriteHeader] begins a new file with the provided [Header],
    // and then Writer can be treated as an io.Writer to supply that file's data.
    type Writer struct {
    	w    io.Writer
    	pad  int64      // Amount of padding to write after current file entry
    	curr fileWriter // Writer for current file entry
    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)
  2. src/bufio/bufio_test.go

    				t.Errorf("%s: buf.Flush = %v", context, e)
    			}
    
    			written := w.Bytes()
    			if len(written) != nwrite {
    				t.Errorf("%s: %d bytes written", context, len(written))
    			}
    			for l := 0; l < len(written); l++ {
    				if written[l] != data[l] {
    					t.Errorf("wrong bytes written")
    					t.Errorf("want=%q", data[0:len(written)])
    					t.Errorf("have=%q", written)
    				}
    			}
    		}
    	}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  3. go.env

    # This file contains the initial defaults for go command configuration.
    # Values set by 'go env -w' and written to the user's go/env file override these.
    # The environment overrides everything else.
    
    # Use the Go module mirror and checksum database by default.
    # See https://proxy.golang.org for details.
    GOPROXY=https://proxy.golang.org,direct
    GOSUMDB=sum.golang.org
    
    # Automatically download newer toolchains as directed by go.mod files.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Jun 06 19:18:46 GMT 2023
    - 505 bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    		var b Buffer
    		b.Write(buf[0:1])
    		for i := 0; i < 5<<10; i++ {
    			b.Write(buf)
    			b.Read(buf)
    		}
    	}
    }
    
    // Check that we don't compact too often. From Issue 5154.
    func BenchmarkBufferFullSmallReads(b *testing.B) {
    	buf := make([]byte, 1024)
    	for i := 0; i < b.N; i++ {
    		var b Buffer
    		b.Write(buf)
    		for b.Len()+20 < b.Cap() {
    			b.Write(buf[:10])
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    	-debug-gcc
    		Debugging option. Trace C compiler execution and output.
    	-dynimport file
    		Write list of symbols imported by file. Write to
    		-dynout argument or to standard output. Used by go
    		build when building a cgo package.
    	-dynlinker
    		Write dynamic linker as part of -dynimport output.
    	-dynout file
    		Write -dynimport output to file.
    	-dynpackage package
    		Set Go package for -dynimport output.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/archive/zip/zip_test.go

    	}
    	for i := 0; i < chunks; i++ {
    		_, err := f.Write(chunk)
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	if frag := int(size % chunkSize); frag > 0 {
    		_, err := f.Write(chunk[:frag])
    		if err != nil {
    			t.Fatal("write chunk:", err)
    		}
    	}
    	end := []byte("END\n")
    	_, err = f.Write(end)
    	if err != nil {
    		t.Fatal("write end:", err)
    	}
    	if err := w.Close(); err != nil {
    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. LICENSE

    distribution.
       * Neither the name of Google Inc. nor the names of its
    contributors may be used to endorse or promote products derived from
    this software without specific prior written permission.
    
    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 01 22:40:04 GMT 2016
    - 1.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback.go

    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    	callbackFuncs[i] = f
    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    	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
    	Writer  // includes methods of Writer in ReadWriter's method set
    }
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. api/go1.5.txt

    pkg mime/quotedprintable, func NewWriter(io.Writer) *Writer
    pkg mime/quotedprintable, method (*Reader) Read([]uint8) (int, error)
    pkg mime/quotedprintable, method (*Writer) Close() error
    pkg mime/quotedprintable, method (*Writer) Write([]uint8) (int, error)
    pkg mime/quotedprintable, type Reader struct
    pkg mime/quotedprintable, type Writer struct
    pkg mime/quotedprintable, type Writer struct, Binary bool
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
Back to top