Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for Krister (0.16 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. cmd/local-locker_gen.go

    		case "Name":
    			z.Name, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Name")
    				return
    			}
    		case "Writer":
    			z.Writer, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Writer")
    				return
    			}
    		case "UID":
    			z.UID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "UID")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/erasure-decode_test.go

    			bitrotReaders[index] = newBitrotReader(disk, nil, "testbucket", "object", tillOffset, writeAlgorithm, bitrotWriterSum(writers[index]), erasure.ShardSize())
    		}
    
    		writer := bytes.NewBuffer(nil)
    		_, err = erasure.Decode(context.Background(), writer, bitrotReaders, test.offset, test.length, test.data, nil)
    		closeBitrotReaders(bitrotReaders)
    		if err != nil && !test.shouldFail {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    		}
    	}
    	fmt.Fprintln(c.Stdout, string(out))
    	return nil
    }
    
    func (c *ConfigWriter) setupListenerConfigWriter() (*tabwriter.Writer, []*listener.Listener, error) {
    	listeners, err := c.retrieveSortedListenerSlice()
    	if err != nil {
    		return nil, nil, err
    	}
    	w := new(tabwriter.Writer).Init(c.Stdout, 0, 8, 1, ' ', 0)
    	return w, listeners, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	// User-Defined object tags
    	UserTags string
    
    	// List of individual parts, maximum size of upto 10,000
    	Parts []ObjectPartInfo `json:"-"`
    
    	// Implements writer and reader used by CopyObject API
    	Writer       io.WriteCloser `json:"-" msg:"-"`
    	Reader       *hash.Reader   `json:"-" msg:"-"`
    	PutObjReader *PutObjReader  `json:"-" msg:"-"`
    
    	metadataOnly bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. cmd/metacache_gen.go

    			err = dc.Skip()
    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *metacache) EncodeMsg(en *msgp.Writer) (err error) {
    	// map header, size 13
    	// write "end"
    	err = en.Append(0x8d, 0xa3, 0x65, 0x6e, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ended)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 08 18:26:08 GMT 2021
    - 10K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/gather.go

    	return fmt.Sprintf("no running Istio pods in %q", c.Namespace)
    }
    
    var _ error = ControlPlaneNotFoundError{}
    
    type Options struct {
    	// MessageWriter is a writer for displaying messages to users.
    	MessageWriter io.Writer
    
    	// XdsViaAgents accesses Istiod via the tap service of each agent.
    	// This is only used in `proxy-status` command.
    	XdsViaAgents bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers_test.go

    		lifecycleResponse  []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	},
    ) {
    	for i, testCase := range testCases {
    		// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request
    		req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 13 20:52:33 GMT 2023
    - 11.2K bytes
    - Viewed (0)
  9. src/archive/tar/format.go

    //
    // The table's lower portion shows specialized features of each format,
    // such as supported string encodings, support for sub-second timestamps,
    // or support for sparse files.
    //
    // The Writer currently provides no support for sparse files.
    type Format int
    
    // Constants to identify various tar formats.
    const (
    	// Deliberately hide the meaning of constants from public API.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/archive/zip/struct.go

    	// the system's local character encoding happens to be.
    	//
    	// This flag should only be set if the user intends to encode a non-portable
    	// ZIP file for a specific localized region. Otherwise, the Writer
    	// automatically sets the ZIP format's UTF-8 flag for valid UTF-8 strings.
    	NonUTF8 bool
    
    	CreatorVersion uint16
    	ReaderVersion  uint16
    	Flags          uint16
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top