- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for Song (0.13 sec)
-
src/archive/zip/zip_test.go
name string extra []byte wanterr error }{ { name: strings.Repeat("x", 1<<16), extra: []byte{}, wanterr: errLongName, }, { name: "long_extra", extra: bytes.Repeat([]byte{0xff}, 1<<16), wanterr: errLongExtra, }, } // write a zip file buf := new(bytes.Buffer) w := NewWriter(buf) for _, test := range headerTests {
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) -
cmd/xl-storage-disk-id-check.go
// If the pointer sent to done is non-nil AND the error // is either nil or io.EOF the disk is considered good. // So if unsure if the disk status is ok, return nil as a parameter to done. // Shadowing will work as long as return error is named: https://go.dev/play/p/sauq86SsTN2 func (p *xlStorageDiskIDCheck) TrackDiskHealth(ctx context.Context, s storageMetric, paths ...string) (c context.Context, done func(*error), err error) { done = noopDoneFunc
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 33K bytes - Viewed (0) -
src/bytes/bytes.go
} c0 := sep[0] c1 := sep[1] i := 0 t := len(s) - n + 1 fails := 0 for i < t { if s[i] != c0 { // IndexByte is faster than bytealg.Index, so use it as long as // we're not getting lots of false positives. o := IndexByte(s[i+1:t], c0) if o < 0 { return -1 } i += o + 1 } if s[i+1] == c1 && Equal(s[i:i+n], sep) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
t.Fatalf("got %v, expected error for file with multiple IOPs", err) } } func TestBareValues(t *testing.T) { inPathBase := filepath.Join(testDataDir, "input/bare_values.yaml") // As long as the generate doesn't panic, we pass it. bare_values.yaml doesn't // overlay well because JSON doesn't handle null values, and our charts // don't expect values to be blown away.
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 18 18:16:49 GMT 2024 - 43.5K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
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 May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 13.3K bytes - Viewed (0) -
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 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0)