- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 511 for cap3 (0.04 sec)
-
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/MultipleVariantSelectionIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 29 22:29:19 UTC 2024 - 26.2K bytes - Viewed (0) -
test/escape_reflect.go
return v.Len() } func cap1(x []int) int { // ERROR "x does not escape" v := reflect.ValueOf(x) // ERROR "x does not escape" return v.Cap() } func cap2(x [3]int) int { v := reflect.ValueOf(x) // ERROR "x does not escape" return v.Cap() } func cap3(x chan int) int { // ERROR "x does not escape" v := reflect.ValueOf(x) return v.Cap() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ = cap(f2()) // ERROR "too many arguments" } // test cases for issue 7387 func cap3() { var f = func() int { return 0 } var x = f() const ( _ = cap([4]int{}) _ = cap([4]int{x}) _ = cap /* ERROR "not constant" */ ([4]int{f()}) _ = cap /* ERROR "not constant" */ ([4]int{cap([]int{})}) _ = cap([4]int{cap([4]int{})}) ) var y float64 var z complex128 const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/HeapProportionalCacheSizerTest.groovy
then: scaled >= 100 } def "cache cap sizer adjusts caps based on maximum heap size"() { given: def heapProportionalCacheSizer = new HeapProportionalCacheSizer(maxHeapMB) when: def caps = heapProportionalCacheSizer.scaleCacheSize(2000) then: caps == expectedCaps where: maxHeapMB | expectedCaps
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 14 07:38:37 UTC 2017 - 2.3K bytes - Viewed (0) -
src/bytes/buffer_test.go
buf := make([]byte, 1024) b.Write(buf[0:1]) var cap0 int for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) if i == 0 { cap0 = b.Cap() } } cap1 := b.Cap() // (*Buffer).grow allows for 2x capacity slop before sliding, // so set our error threshold at 3x. if cap1 > cap0*3 { t.Errorf("buffer cap = %d; too big (grew from %d)", cap1, cap0) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/apis/certificates/v1beta1/defaults_test.go
} var ( kubeletClientUsages = []capi.KeyUsage{ capi.UsageDigitalSignature, capi.UsageKeyEncipherment, capi.UsageClientAuth, } kubeletClientUsagesNoRSA = []capi.KeyUsage{ capi.UsageDigitalSignature, capi.UsageClientAuth, } kubeletClientPEMOptions = pemOptions{ cn: "system:node:nodename", org: "system:nodes", } kubeletServerUsages = []capi.KeyUsage{ capi.UsageDigitalSignature,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 27 08:04:25 UTC 2022 - 16.9K bytes - Viewed (0) -
pkg/controller/certificates/cleaner/cleaner_test.go
created metav1.Time certificate []byte conditions []capi.CertificateSigningRequestCondition expectedActions []string }{ { "no delete approved not passed deadline", metav1.NewTime(time.Now().Add(-1 * time.Minute)), []byte(unexpiredCert), []capi.CertificateSigningRequestCondition{ { Type: capi.CertificateApproved,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 07 15:19:45 UTC 2022 - 7.4K bytes - Viewed (0) -
pkg/controller/certificates/signer/signer_test.go
usages: []capi.KeyUsage{capi.UsageServerAuth, capi.UsageClientAuth, capi.UsageDigitalSignature, capi.UsageKeyEncipherment}, approved: true, verify: func(t *testing.T, as []testclient.Action) { if len(as) != 1 { t.Errorf("expected one Update action but got %d", len(as)) return } csr := as[0].(testclient.UpdateAction).GetObject().(*capi.CertificateSigningRequest)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 02 21:12:04 UTC 2022 - 15K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_function_test.cc
remote_func_outputs, has_packed_input); } TEST(CAPI, RemoteExecuteSilentCopiesAsyncFunc) { TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/true, /*heavy_load_on_streaming_rpc=*/false); } TEST(CAPI, RemoteExecuteSilentCopiesFuncRemoteOutputs) { TestRemoteExecuteSilentCopiesFunc(/*async=*/false, /*remote=*/true,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 3.6K bytes - Viewed (0) -
pkg/controller/certificates/approver/sarapprove.go
} func appendApprovalCondition(csr *capi.CertificateSigningRequest, message string) { csr.Status.Conditions = append(csr.Status.Conditions, capi.CertificateSigningRequestCondition{ Type: capi.CertificateApproved, Status: corev1.ConditionTrue, Reason: "AutoApproved", Message: message, }) } func isNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 21 16:03:42 UTC 2023 - 5.3K bytes - Viewed (0)