Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Song (0.15 sec)

  1. 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,
    				Name:     strings.Repeat("longname/", 15) + "16gig.txt",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    	var podName, podNamespace string
    
    	clusterConfigCmd := &cobra.Command{
    		Use:   "cluster [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves cluster configuration for the Envoy in the specified pod",
    		Long:  `Retrieve information about cluster configuration for the Envoy instance in the specified pod.`,
    		Example: `  # Retrieve summary about cluster configuration for a given pod from Envoy.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  3. src/bufio/scan_test.go

    				break
    			}
    			runeCount++
    			got, _ := utf8.DecodeRune(s.Bytes())
    			if got != expect {
    				t.Errorf("#%d: %d: expected %q got %q", n, i, expect, got)
    			}
    		}
    		if s.Scan() {
    			t.Errorf("#%d: scan ran too long, got %q", n, s.Text())
    		}
    		testRuneCount := utf8.RuneCountInString(test)
    		if runeCount != testRuneCount {
    			t.Errorf("#%d: termination expected at %d; got %d", n, testRuneCount, runeCount)
    		}
    		err := s.Err()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			Name:     "bar",
    			Linkname: "PAX4/PAX4/long-linkpath-name",
    			ModTime:  time.Unix(0, 0),
    			Typeflag: '2',
    			PAXRecords: map[string]string{
    				"linkpath": "PAX4/PAX4/long-linkpath-name",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		// Both BSD and GNU tar truncate long names at first NUL even
    		// if there is data following that NUL character.
    		// This is reasonable as GNU long names are C-strings.
    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. internal/etag/etag.go

    	}
    	return hex.EncodeToString(e)
    }
    
    // IsEncrypted reports whether the ETag is encrypted.
    func (e ETag) IsEncrypted() bool {
    	// An encrypted ETag must be at least 32 bytes long.
    	// It contains the encrypted ETag value + an authentication
    	// code generated by the AEAD cipher.
    	//
    	// Here is an incorrect implementation of IsEncrypted:
    	//
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. src/archive/zip/writer.go

    	"bufio"
    	"encoding/binary"
    	"errors"
    	"hash"
    	"hash/crc32"
    	"io"
    	"io/fs"
    	"strings"
    	"unicode/utf8"
    )
    
    var (
    	errLongName  = errors.New("zip: FileHeader.Name too long")
    	errLongExtra = errors.New("zip: FileHeader.Extra too long")
    )
    
    // Writer implements a zip file writer.
    type Writer struct {
    	cw          *countWriter
    	dir         []*header
    	last        *fileWriter
    	closed      bool
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    var tarinsecurepath = godebug.New("tarinsecurepath")
    
    var (
    	ErrHeader          = errors.New("archive/tar: invalid tar header")
    	ErrWriteTooLong    = errors.New("archive/tar: write too long")
    	ErrFieldTooLong    = errors.New("archive/tar: header field too long")
    	ErrWriteAfterClose = errors.New("archive/tar: write after close")
    	ErrInsecurePath    = errors.New("archive/tar: insecure file path")
    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)
  8. istioctl/pkg/wait/wait.go

    	namespace := cliCtx.Namespace()
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "wait [flags] <type> <name>[.<namespace>]",
    		Short: "Wait for an Istio resource",
    		Long:  `Waits for the specified condition to be true of an Istio resource.`,
    		Example: `  # Wait until the bookinfo virtual service has been distributed to all proxies in the mesh
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. cmd/handler-api.go

    		// Only replace if needed.
    		// Existing requests will use the previous limit,
    		// but new requests will use the new limit.
    		// There will be a short overlap window,
    		// but this shouldn't last long.
    		t.requestsPool = make(chan struct{}, apiRequestsMaxPerNode)
    	}
    	t.requestsDeadline = cfg.RequestsDeadline
    	listQuorum := cfg.ListQuorum
    	if listQuorum == "" {
    		listQuorum = "strict"
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig.go

    	logCmd := &cobra.Command{
    		Use:   "log [<pod-name>]|[-r|--revision] [--level <scope>:<level>][--stack-trace-level <scope>:<level>]|[--reset]|[--output|-o short|json|yaml]",
    		Short: "Manage istiod logging.",
    		Long:  "Retrieve or update logging levels of istiod components.",
    		Example: `  # Retrieve information about istiod logging levels.
      istioctl admin log
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top