Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for EC (0.14 sec)

  1. istioctl/pkg/writer/envoy/clusters/clusters.go

    	return nil
    }
    
    func retrieveSortedEndpointClusterSlice(ec []EndpointCluster) []EndpointCluster {
    	sort.Slice(ec, func(i, j int) bool {
    		if ec[i].address == ec[j].address {
    			if ec[i].port == ec[j].port {
    				return ec[i].cluster < ec[j].cluster
    			}
    			return ec[i].port < ec[j].port
    		}
    		return ec[i].address < ec[j].address
    	})
    	return ec
    }
    
    func printFailedOutlierCheck(b bool) string {
    	if b {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 5.8K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class_test.go

    		expectedError   error
    	}{
    		{
    			"EC:3",
    			StorageClass{
    				Parity: 3,
    			},
    			nil,
    		},
    		{
    			"EC:4",
    			StorageClass{
    				Parity: 4,
    			},
    			nil,
    		},
    		{
    			"AB:4",
    			StorageClass{
    				Parity: 4,
    			},
    			errors.New("Unsupported scheme AB. Supported scheme is EC"),
    		},
    		{
    			"EC:4:5",
    			StorageClass{
    				Parity: 4,
    			},
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. internal/config/errors.go

    		"Please check the value",
    		`MINIO_STORAGE_CLASS_STANDARD: Format "EC:<Default_Parity_Standard_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Standard mode. Objects are stored in Standard mode, if storage class is not defined in Put request
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. internal/config/storageclass/storage-class.go

    	// Supported storage class scheme is EC
    	schemePrefix = "EC"
    
    	// Min parity drives
    	minParityDrives = 0
    
    	// Default RRS parity is always minimum parity.
    	defaultRRSParity = 1
    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: "",
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: "EC:1",
    		},
    		config.KV{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/jwks.go

    	N   string `json:"n,omitempty"`
    	E   string `json:"e,omitempty"`
    	K   string `json:"k,omitempty"`
    }
    
    var (
    	errMalformedJWKRSAKey = errors.New("malformed JWK RSA key")
    	errMalformedJWKECKey  = errors.New("malformed JWK EC key")
    )
    
    // DecodePublicKey - decodes JSON Web Key (JWK) as public key
    func (key *JWKS) DecodePublicKey() (crypto.PublicKey, error) {
    	switch key.Kty {
    	case "RSA":
    		if key.N == "" || key.E == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 02 23:02:35 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/repaircontroller.go

    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    		// If we are filtering on init container exit code and the termination message does not match, exit
    		if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) {
    			return true
    		}
    		return false
    	}
    
    	// Only check pods that have the sidecar annotation; the rest can be
    	// ignored.
    	if c.cfg.SidecarAnnotation != "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. internal/config/identity/openid/jwks_test.go

    		t.Fatalf("Failed to find the expected number of kids: 3, got %d", len(kids))
    	}
    }
    
    // A.1 - Example public keys
    func TestPublicKey(t *testing.T) {
    	const jsonkey = `{"keys":
           [
             {"kty":"EC",
              "crv":"P-256",
              "x":"MKBCTNIcKUSDii11ySs3526iDZ8AiTo7Tu6KPAqv7D4",
              "y":"4Etl6SRW2YiLUrN5vfvVHuhp7x8PxltmWWlbbM4IFyM",
              "use":"enc",
              "kid":"1"},
    
             {"kty":"RSA",
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 9.8K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common_test.go

    	fourNanoSecs := time.Unix(4, 0).UTC()
    	modTimesThreeNone := make([]time.Time, 16)
    	modTimesThreeFour := make([]time.Time, 16)
    	for i := 0; i < 16; i++ {
    		// Have 13 good xl.meta, 12 for default parity count = 4 (EC:4) and one
    		// to be tampered with.
    		if i > 12 {
    			modTimesThreeFour[i] = fourNanoSecs
    			modTimesThreeNone[i] = timeSentinel
    			continue
    		}
    		modTimesThreeFour[i] = threeNanoSecs
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  9. cmd/metacache-entries.go

    	for i, eVer := range eVers.versions {
    		oVer := oVers.versions[i]
    		if eVer.header != oVer.header {
    			if eVer.header.hasEC() != oVer.header.hasEC() {
    				// One version has EC and the other doesn't - may have been written later.
    				// Compare without considering EC.
    				a, b := eVer.header, oVer.header
    				a.EcN, a.EcM = 0, 0
    				b.EcN, b.EcM = 0, 0
    				if a == b {
    					continue
    				}
    			}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. src/archive/zip/reader_test.go

    00003a0 be 9b a0 97 27 6a 6f e7 d3 8b c4 7c ec d3 91 56
    00003b0 d9 ac 5e bf 16 42 2f 00 1f 93 a2 23 87 bd e2 59
    00003c0 a0 de 1a 66 c8 62 eb 55 8f 91 17 b4 61 42 7a 50
    00003d0 40 03 34 40 03 34 40 03 34 40 03 34 40 03 34 40
    00003e0 03 34 40 03 34 40 03 34 40 03 34 40 03 34 40 03
    00003f0 34 40 03 34 40 03 34 ff 85 86 90 8b ea 67 90 0d
    0000400 e1 42 1b d2 61 d6 79 ec fd 3e 44 28 a4 51 6c 5c
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top