Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for Krister (0.17 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 16 11:13:10 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/sds/writer.go

    }
    
    // NewSDSWriter generates a new instance which conforms to SDSWriter interface
    func NewSDSWriter(w io.Writer, format Format) SDSWriter {
    	return &sdsWriter{
    		w:      w,
    		output: format,
    	}
    }
    
    // sdsWriter is provided concrete implementation of SDSWriter
    type sdsWriter struct {
    	w      io.Writer
    	output Format
    }
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. src/archive/zip/writer.go

    // for the file metadata. [Writer] takes ownership of fh and may mutate
    // its fields. The caller must not modify fh after calling [Writer.CreateHeader].
    //
    // This returns a [Writer] to which the file contents should be written.
    // The file's contents must be written to the io.Writer before the next
    // call to [Writer.Create], [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close].
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer.go

    	"io"
    	"strings"
    	"unicode/utf8"
    
    	"github.com/fatih/color"
    )
    
    type ColoredTableWriter struct {
    	writer     io.Writer
    	header     Row
    	rows       []Row
    	addRowFunc func(obj interface{}) Row
    }
    
    func NewStyleWriter(writer io.Writer) *ColoredTableWriter {
    	return &ColoredTableWriter{
    		writer: writer,
    		rows:   make([]Row, 0),
    		header: Row{},
    	}
    }
    
    type BuildRowFunc func(obj interface{}) Row
    
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. src/archive/tar/writer_test.go

    		// It was verified to work with GNU tar 1.27.1 and BSD tar 3.1.2.
    		//  dd if=/dev/zero bs=1G count=16 >> writer-big-long.tar
    		//  gnutar -xvf writer-big-long.tar
    		//  bsdtar -xvf writer-big-long.tar
    		//
    		// This file is in PAX format.
    		file: "testdata/writer-big-long.tar",
    		tests: []testFnc{
    			testHeader{Header{
    				Typeflag: TypeReg,
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/compare/sds/writer_test.go

    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    		if strings.Contains(output, unexpected) {
    			t.Errorf("unexpected string %s included in writer output", unexpected)
    		}
    	}
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  7. src/archive/zip/writer_test.go

    			if !test.ok {
    				t.Fatalf("SetComment: unexpected success, want error")
    			}
    		}
    
    		if err := w.Close(); test.ok == (err != nil) {
    			t.Fatal(err)
    		}
    
    		if w.closed != test.ok {
    			t.Fatalf("Writer.closed: got %v, want %v", w.closed, test.ok)
    		}
    
    		// skip read test in failure cases
    		if !test.ok {
    			continue
    		}
    
    		// read it back
    Go
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. src/archive/tar/testdata/writer.tar

    Russ Cox <******@****.***> 1410149331 -0400
    TAR Archive
    - Registered: Tue Apr 16 11:13:10 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 3.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/shared.go

    }
    
    type Printer interface {
    	Printf(format string, a ...any)
    	Println(string)
    }
    
    func NewPrinterForWriter(w io.Writer) Printer {
    	return &writerPrinter{writer: w}
    }
    
    type writerPrinter struct {
    	writer io.Writer
    }
    
    func (w *writerPrinter) Printf(format string, a ...any) {
    	_, _ = fmt.Fprintf(w.writer, format, a...)
    }
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/table/writer_test.go

    Xiaopeng Han <******@****.***> 1665204102 +0800
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
Back to top