- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for rebear (0.17 sec)
-
src/bytes/bytes_test.go
func TestRepeat(t *testing.T) { for _, tt := range RepeatTests { tin := []byte(tt.in) tout := []byte(tt.out) a := Repeat(tin, tt.count) if !Equal(a, tout) { t.Errorf("Repeat(%q, %d) = %q; want %q", tin, tt.count, a, tout) continue } } } func repeat(b []byte, count int) (err error) { defer func() { if r := recover(); r != nil { switch v := r.(type) { case error:
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
t.Fatalf("%s : %s", instanceType, err) } uploadIDs = append(uploadIDs, res.UploadID) // Parts with size greater than 5 MiB. // Generating a 6MiB byte array. validPart := bytes.Repeat([]byte("abcdef"), 1*humanize.MiByte) validPartMD5 := getMD5Hash(validPart) // Create multipart parts. // Need parts to be uploaded before CompleteMultiPartUpload can be called tested. parts := []struct {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 77.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// type and source locations of constant strings) // like the second arg in the call below: // // myfunction(42, "foo") // // If a var has no name we won't see attempts to // refer to it via "C.<name>", so skip these vars // // See issue 53000 for more context. if name == "" { break } typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset) if typOff == 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
*structpb.Value } const ( k8sSuffix = ".svc." + constants.DefaultClusterLocalDomain printLevel0 = 0 printLevel1 = 3 printLevel2 = 6 ) func printSpaces(numSpaces int) string { return strings.Repeat(" ", numSpaces) } var ( // Ignore unmeshed pods. This makes it easy to suppress warnings about kube-system etc ignoreUnmeshed = false describeNamespace string )
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
src/bufio/bufio_test.go
b0 := NewWriterSize(&w0, 1234) b0.WriteString(strings.Repeat("x", 1000)) if w0 != 0 { t.Fatalf("write 1000 'x's: got %d writes, want 0", w0) } b0.WriteString(strings.Repeat("x", 200)) if w0 != 0 { t.Fatalf("write 1200 'x's: got %d writes, want 0", w0) } io.Copy(b0, onlyReader{strings.NewReader(strings.Repeat("x", 30))}) if w0 != 0 {
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) -
cmd/xl-storage_test.go
f, err := os.OpenFile(filePath, os.O_WRONLY|os.O_SYNC, 0o644) if err != nil { t.Fatal(err) } // Replace first 256 with 'a'. if _, err := f.WriteString(strings.Repeat("a", 256)); err != nil { t.Fatal(err) } f.Close() if err := storage.storage.bitrotVerify(context.Background(), pathJoin(path, volName, fileName), size, algo, nil, shardSize); err == nil {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 11 17:45:28 GMT 2024 - 66.7K bytes - Viewed (0)