Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for Sizes (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/printer/testdata/declarations.input

    		},
    	}
    }
    
    
    // alignment of map composite entries
    var _ = map[int]int{
    	// small key sizes: always align even if size ratios are large
    	a: a,
    	abcdefghabcdefgh: a,
    	ab: a,
    	abc: a,
    	abcdefgabcdefg: a,
    	abcd: a,
    	abcde: a,
    	abcdef: a,
    
    	// mixed key sizes: align when key sizes change within accepted ratio
    	abcdefgh: a,
    	abcdefghabcdefg: a,
    	abcdefghij: a,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  6. 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)
  7. src/go/printer/testdata/declarations.golden

    		},
    	}
    }
    
    // alignment of map composite entries
    var _ = map[int]int{
    	// small key sizes: always align even if size ratios are large
    	a:			a,
    	abcdefghabcdefgh:	a,
    	ab:			a,
    	abc:			a,
    	abcdefgabcdefg:		a,
    	abcd:			a,
    	abcde:			a,
    	abcdef:			a,
    
    	// mixed key sizes: align when key sizes change within accepted ratio
    	abcdefgh:		a,
    	abcdefghabcdefg:	a,
    	abcdefghij:		a,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top