Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for parities (1.48 sec)

  1. cmd/erasure-metadata_test.go

    			parities[i] = -1             // invalid fi are assigned parity -1
    		}
    		res.metaArr = metaArr
    		res.parities = parities
    		res.errs = make([]error, N)
    		if agree >= N-parity {
    			res.parity = parity
    		} else {
    			res.parity = -1
    		}
    
    		return res
    	}
    	tests := []struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	}{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:02:50 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    	return cparity
    }
    
    func listObjectParities(partsMetadata []FileInfo, errs []error) (parities []int) {
    	totalShards := len(partsMetadata)
    	parities = make([]int, len(partsMetadata))
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			parities[index] = -1
    			continue
    		}
    		if !metadata.IsValid() {
    			parities[index] = -1
    			continue
    		}
    		//nolint:gocritic
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    	if !sCfg.initialized {
    		return 128 * humanize.KiByte
    	}
    	return sCfg.inlineBlock
    }
    
    // CapacityOptimized - returns true if the storage-class is capacity optimized
    // meaning we will not use additional parities when drives are offline.
    //
    // Default is "availability" optimized, unless this is configured.
    func (sCfg *Config) CapacityOptimized() bool {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    		var metaArr []FileInfo
    		for i := 0; i < 12; i++ {
    			fi := test.fi1
    			if i%2 == 0 {
    				fi = test.fi2
    			}
    			metaArr = append(metaArr, fi)
    		}
    
    		parities := listObjectParities(metaArr, make([]error, len(metaArr)))
    		parity := commonParity(parities, 5)
    		var match int
    		for _, fi := range metaArr {
    			if fi.Erasure.ParityBlocks == parity {
    				match++
    			}
    		}
    		if match < len(metaArr)-parity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  5. docs/fr/docs/deployment/https.md

    * Pour le HTTPS, le serveur a besoin de "certificats" générés par une tierce partie.
        * Ces certificats sont en fait acquis auprès de la tierce partie, et non "générés".
    * Les certificats ont une durée de vie.
        * Ils expirent.
        * Puis ils doivent être renouvelés et acquis à nouveau auprès de la tierce partie.
    * Le cryptage de la connexion se fait au niveau du protocole TCP.
        * C'est une couche en dessous de HTTP.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. docs/fr/docs/alternatives.md

    Il est conçu pour avoir des fonctions qui reçoivent deux paramètres, une "requête" et une "réponse". Ensuite, vous
    "lisez" des parties de la requête et "écrivez" des parties dans la réponse. En raison de cette conception, il n'est
    pas possible de déclarer des paramètres de requête et des corps avec des indications de type Python standard comme paramètres de fonction.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. LICENSE

    distribution (with or without modification), making available to the
    public, and in some countries other activities as well.
    
      To "convey" a work means any kind of propagation that enables other
    parties to make or receive copies.  Mere interaction with a user through
    a computer network, with no transfer of a copy, is not conveying.
    
      An interactive user interface displays "Appropriate Legal Notices"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 33.7K bytes
    - Viewed (0)
  8. LICENSE

    attempt otherwise to copy, modify, sublicense, link with, or
    distribute the Library is void, and will automatically terminate your
    rights under this License.  However, parties who have received copies,
    or rights, from you under this License will not have their licenses
    terminated so long as such parties remain in full compliance.
    
      9. You are not required to accept this License, since you have not
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 18 20:25:38 UTC 2016
    - 25.8K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params.md

    # Paramètres de requête
    
    Quand vous déclarez des paramètres dans votre fonction de chemin qui ne font pas partie des paramètres indiqués dans le chemin associé, ces paramètres sont automatiquement considérés comme des paramètres de "requête".
    
    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    La partie appelée requête (ou **query**) dans une URL est l'ensemble des paires clés-valeurs placées après le `?` , séparées par des `&`.
    
    Par exemple, dans l'URL :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    code, even though third parties are not compelled to copy the source
    along with the object code.
    
    4. You may not copy, modify, sublicense, or distribute the Program
    except as expressly provided under this License. Any attempt otherwise
    to copy, modify, sublicense or distribute the Program is void, and will
    automatically terminate your rights under this License. However, parties
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
Back to top