- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 209 for cap2 (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) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCapabilitiesResolveIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 01 20:36:42 UTC 2022 - 3K 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) -
src/cmd/compile/internal/syntax/testdata/map2.go
Robert Griesemer <******@****.***> 1698771000 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 01 12:49:49 UTC 2023 - 3.4K 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/test/csrctrl/authority/policies.go
capi.UsageCRLSign: x509.KeyUsageCRLSign, capi.UsageEncipherOnly: x509.KeyUsageEncipherOnly, capi.UsageDecipherOnly: x509.KeyUsageDecipherOnly, } var extKeyUsageDict = map[capi.KeyUsage]x509.ExtKeyUsage{ capi.UsageAny: x509.ExtKeyUsageAny, capi.UsageServerAuth: x509.ExtKeyUsageServerAuth, capi.UsageClientAuth: x509.ExtKeyUsageClientAuth,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 03 17:06:22 UTC 2022 - 4.5K bytes - Viewed (0) -
pkg/controller/certificates/authority/policies_test.go
import ( "crypto/x509" "fmt" "reflect" "testing" capi "k8s.io/api/certificates/v1" ) func TestKeyUsagesFromStrings(t *testing.T) { testcases := []struct { usages []capi.KeyUsage expectedKeyUsage x509.KeyUsage expectedExtKeyUsage []x509.ExtKeyUsage expectErr bool }{ { usages: []capi.KeyUsage{"signing"}, expectedKeyUsage: x509.KeyUsageDigitalSignature,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 05 22:45:34 UTC 2020 - 2.6K bytes - Viewed (0) -
pkg/controller/certificates/authority/policies.go
capi.UsageCRLSign: x509.KeyUsageCRLSign, capi.UsageEncipherOnly: x509.KeyUsageEncipherOnly, capi.UsageDecipherOnly: x509.KeyUsageDecipherOnly, } var extKeyUsageDict = map[capi.KeyUsage]x509.ExtKeyUsage{ capi.UsageAny: x509.ExtKeyUsageAny, capi.UsageServerAuth: x509.ExtKeyUsageServerAuth, capi.UsageClientAuth: x509.ExtKeyUsageClientAuth,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.7K 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)