Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 150 for DC (0.04 sec)

  1. test/abi/leaf2.go

    }
    
    //go:registerparams
    //go:noinline
    func F(x i4) i4 {
    	ab := x.a + x.b
    	bc := x.b + x.c
    	cd := x.c + x.d
    	ad := x.a + x.d
    	ba := x.a - x.b
    	cb := x.b - x.c
    	dc := x.c - x.d
    	da := x.a - x.d
    
    	return i4{ab*bc + da, cd*ad + cb, ba*cb + ad, dc*da + bc}
    }
    
    func main() {
    	x := i4{1, 2, 3, 4}
    	y := x
    	z := F(x)
    	if (i4{12, 34, 6, 8}) != z {
    		fmt.Printf("y=%v, z=%v\n", y, z)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 768 bytes
    - Viewed (0)
  2. test/abi/spills3.go

    }
    
    //go:registerparams
    //go:noinline
    func F(x i4) i4 {
    	ab := x.a + x.b
    	bc := x.b + x.c
    	cd := x.c + x.d
    	ad := x.a + x.d
    	ba := x.a - x.b
    	cb := x.b - x.c
    	dc := x.c - x.d
    	da := x.a - x.d
    	i := i4{ab*bc + da, cd*ad + cb, ba*cb + ad, dc*da + bc}
    	spills(&i)
    	return i
    }
    
    func main() {
    	x := i4{1, 2, 3, 4}
    	y := x
    	z := F(x)
    	if z != (i4{12, 34, 6, 8}) {
    		fmt.Printf("y=%v, z=%v\n", y, z)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 826 bytes
    - Viewed (0)
  3. src/crypto/tls/testdata/Client-TLSv13-Ed25519

    00000070  1b ad d9 c4 dc 4a 61 c6  12 5c 22 bf 1e 2f 59 14  |.....Ja..\"../Y.|
    00000080  03 03 00 01 01 17 03 03  00 17 0f a4 05 81 10 48  |...............H|
    00000090  c7 b7 78 9b 56 14 6c 9f  55 28 e3 4c 42 80 cc 1c  |..x.V.l.U(.LB...|
    000000a0  31 17 03 03 01 50 0d af  3b 08 02 84 89 42 b5 75  |1....P..;....B.u|
    000000b0  c5 8f 9f c2 b1 dc cb 7c  6a d5 31 41 9a 16 8f fa  |.......|j.1A....|
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:33:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. internal/bucket/bandwidth/monitor_gen_test.go

    	v := BucketBandwidthReport{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalDetails(t *testing.T) {
    	v := Details{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. cmd/tier-last-day-stats_gen_test.go

    	v := DailyAllTierStats{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshallastDayTierStats(t *testing.T) {
    	v := lastDayTierStats{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/storage-datatypes_test.go

    		Created: time.Now(),
    	}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.Log("Size:", buf.Len(), "bytes")
    	b.SetBytes(1)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func BenchmarkDecodeDiskInfoMsgp(b *testing.B) {
    	v := DiskInfo{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  7. internal/config/cache/remote_gen_test.go

    	v := CondCheck{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    }
    
    func TestMarshalUnmarshalObjectInfo(t *testing.T) {
    	v := ObjectInfo{}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authentication/request/bearertoken/bearertoken_test.go

    			ExpectedErr:                  true,
    			ExpectedAuthorizationHeaders: []string{"Bearer 123"},
    		},
    	}
    
    	for k, tc := range tests {
    		dc := dummyRecorder{agent: "", text: ""}
    		ctx := genericapirequest.NewDefaultContext()
    		ctxWithRecorder := warning.WithWarningRecorder(ctx, &dc)
    		req, _ := http.NewRequestWithContext(ctxWithRecorder, "GET", "/", nil)
    		for _, h := range tc.AuthorizationHeaders {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 25 13:22:28 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  9. cmd/tier_gen_test.go

    	v := TierConfigMgr{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. cmd/site-replication-utils_gen_test.go

    	v := SiteResyncStatus{}
    	var buf bytes.Buffer
    	msgp.Encode(&buf, &v)
    	b.SetBytes(int64(buf.Len()))
    	rd := msgp.NewEndlessReader(buf.Bytes(), b)
    	dc := msgp.NewReader(rd)
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		err := v.DecodeMsg(dc)
    		if err != nil {
    			b.Fatal(err)
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 2.4K bytes
    - Viewed (0)
Back to top