- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 150 for Sizes (0.04 sec)
-
src/go/types/check_test.go
src := fmt.Sprintf(format, strings.Repeat("1", 9999), strings.Repeat("1", 10001)) testFiles(t, []string{"longconst.go"}, [][]byte{[]byte(src)}, false) } func withSizes(sizes Sizes) func(*Config) { return func(cfg *Config) { cfg.Sizes = sizes } } // TestIndexRepresentability tests that constant index operands must // be representable as int even if they already have a type that can // represent larger values.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:45:33 UTC 2024 - 14.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/etcd.go
ret.StorageObjectCountTracker = storageConfig.StorageObjectCountTracker } if f.Options.EnableWatchCache { sizes, err := ParseWatchCacheSizes(f.Options.WatchCacheSizes) if err != nil { return generic.RESTOptions{}, err } size, ok := sizes[resource] if ok && size > 0 { klog.Warningf("Dropping watch-cache-size for %v - watchCache size is now dynamic", resource) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 15:02:16 UTC 2024 - 20K bytes - Viewed (0) -
src/go/types/builtins.go
return } types := []Type{T} var sizes []int64 // constant integer arguments, if any for _, arg := range argList[1:] { typ, size := check.index(arg, -1) // ok to continue with typ == Typ[Invalid] types = append(types, typ) if size >= 0 { sizes = append(sizes, size) } } if len(sizes) == 2 && sizes[0] > sizes[1] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins.go
return } types := []Type{T} var sizes []int64 // constant integer arguments, if any for _, arg := range argList[1:] { typ, size := check.index(arg, -1) // ok to continue with typ == Typ[Invalid] types = append(types, typ) if size >= 0 { sizes = append(sizes, size) } } if len(sizes) == 2 && sizes[0] > sizes[1] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 27.1K bytes - Viewed (0) -
pkg/serviceaccount/jwt.go
if err != nil { return nil, fmt.Errorf("failed to derive keyID: %v", err) } // IMPORTANT: If this function is updated to support additional key sizes, // algorithmForPublicKey in serviceaccount/openidmetadata.go must also be // updated to support the same key sizes. Today we only support RS256. // Wrap the RSA keypair in a JOSE JWK with the designated key ID. privateJWK := &jose.JSONWebKey{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 22:16:08 UTC 2024 - 10.7K bytes - Viewed (0) -
src/go/types/api.go
// The type checker reports an error if an importer is needed // but none was installed. Importer Importer // If Sizes != nil, it provides the sizing functions for package unsafe. // Otherwise SizesFor("gc", "amd64") is used instead. Sizes Sizes // If DisableUnusedImportCheck is set, packages are not checked // for unused imports. DisableUnusedImportCheck bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
cmd/object-api-datatypes.go
) // StorageInfo - represents total capacity of underlying storage. type StorageInfo = madmin.StorageInfo // objectHistogramInterval is an interval that will be // used to report the histogram of objects data sizes type objectHistogramInterval struct { name string start, end int64 } const ( // dataUsageBucketLenV1 must be length of ObjectsHistogramIntervalsV1 dataUsageBucketLenV1 = 7
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 20.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_encryption.go
) var ( // See https://golang.org/pkg/crypto/aes/#NewCipher for details on supported key sizes for AES. aesKeySizes = []int{16, 24, 32} // See https://godoc.org/golang.org/x/crypto/nacl/secretbox#Open for details on the supported key sizes for Secretbox. secretBoxKeySizes = []int{32} ) // ValidateEncryptionConfiguration validates a v1.EncryptionConfiguration.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Dec 18 20:54:24 UTC 2023 - 13.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// The type checker reports an error if an importer is needed // but none was installed. Importer Importer // If Sizes != nil, it provides the sizing functions for package unsafe. // Otherwise SizesFor("gc", "amd64") is used instead. Sizes Sizes // If DisableUnusedImportCheck is set, packages are not checked // for unused imports. DisableUnusedImportCheck bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go
cap := v.Cap() max := cap for _, size := range sizes { if size > max { max = size } } if len(sizes) == 0 || max > maxCapacity { max = maxCapacity } if max <= cap { return } if v.Len() > 0 { extra := reflect.MakeSlice(v.Type(), v.Len(), max) reflect.Copy(extra, v) v.Set(extra) } else { extra := reflect.MakeSlice(v.Type(), 0, max)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 11:56:42 UTC 2024 - 35.2K bytes - Viewed (0)