Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for brackets (0.06 sec)

  1. docs/en/docs/python-types.md

    As the type, put the `List` that you imported from `typing`.
    
    As the list is a type that contains some internal types, you put them in square brackets:
    
    ```Python hl_lines="4"
    {!> ../../docs_src/python_types/tutorial006.py!}
    ```
    
    ////
    
    /// info
    
    Those internal types in the square brackets are called "type parameters".
    
    In this case, `str` is the type parameter passed to `List` (or `list` in Python 3.9 and above).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. LICENSES/third_party/forked/cgroups/LICENSE

          To apply the Apache License to your work, attach the following
          boilerplate notice, with the fields enclosed by brackets "[]"
          replaced with your own identifying information. (Don't include
          the brackets!)  The text should be enclosed in the appropriate
          comment syntax for the file format. We also recommend that a
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Oct 31 17:42:39 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CompactHashing.java

      static Object createTable(int buckets) {
        if (buckets < 2
            || buckets > Ints.MAX_POWER_OF_TWO
            || Integer.highestOneBit(buckets) != buckets) {
          throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets);
        }
        if (buckets <= BYTE_MAX_SIZE) {
          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashing.java

      static Object createTable(int buckets) {
        if (buckets < 2
            || buckets > Ints.MAX_POWER_OF_TWO
            || Integer.highestOneBit(buckets) != buckets) {
          throw new IllegalArgumentException("must be power of 2 between 2^1 and 2^30: " + buckets);
        }
        if (buckets <= BYTE_MAX_SIZE) {
          return new byte[buckets];
        } else if (buckets <= SHORT_MAX_SIZE) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 15:34:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. cmd/global-heal.go

    func (er *erasureObjects) healErasureSet(ctx context.Context, buckets []string, tracker *healingTracker) error {
    	bgSeq, found := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !found {
    		return errors.New("no local healing sequence initialized, unable to heal the drive")
    	}
    
    	scanMode := madmin.HealNormalScan
    
    	// Make sure to copy since `buckets slice`
    	// is modified in place by tracker.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  6. cmd/background-newdisks-heal-ops.go

    	buckets, _ := z.ListBuckets(ctx, BucketOptions{})
    	// Buckets data are dispersed in multiple pools/sets, make
    	// sure to heal all bucket metadata configuration.
    	buckets = append(buckets, BucketInfo{
    		Name: pathJoin(minioMetaBucket, minioConfigPrefix),
    	}, BucketInfo{
    		Name: pathJoin(minioMetaBucket, bucketMetaPrefix),
    	})
    
    	// Heal latest buckets first.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	CommonPrefixes []CommonPrefix
    }
    
    // ListBucketsResponse - format for list buckets response
    type ListBucketsResponse struct {
    	XMLName xml.Name `xml:"http://s3.amazonaws.com/doc/2006-03-01/ ListAllMyBucketsResult" json:"-"`
    
    	Owner Owner
    
    	// Container for one or more buckets.
    	Buckets struct {
    		Buckets []Bucket `xml:"Bucket"`
    	} // Buckets are nested
    }
    
    // Upload container for in progress multipart upload
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. cmd/admin-heal-ops.go

    		return errFnHealFromAPIErr(h.ctx, err)
    	}
    
    	// Heal latest buckets first.
    	sort.Slice(buckets, func(i, j int) bool {
    		return buckets[i].Created.After(buckets[j].Created)
    	})
    
    	for _, bucket := range buckets {
    		if err = h.healBucket(objAPI, bucket.Name, false); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    // healBucket - traverses and heals given bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    	if len(dst.Tiers) == 0 {
    		return nil
    	}
    	return dst
    }
    
    // bucketsUsageInfo returns the buckets usage info as a map, with
    // key as bucket name
    func (d *dataUsageCache) bucketsUsageInfo(buckets []BucketInfo) map[string]BucketUsageInfo {
    	dst := make(map[string]BucketUsageInfo, len(buckets))
    	for _, bucket := range buckets {
    		e := d.find(bucket.Name)
    		if e == nil {
    			continue
    		}
    		flat := d.flatten(*e)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  10. .teamcity/pom.xml

                    <artifactId>exec-maven-plugin</artifactId>
                    <version>3.0.0</version>
                    <executions>
                        <execution>
                            <id>update-test-buckets</id>
                            <goals>
                                <goal>java</goal>
                            </goals>
                        </execution>
                    </executions>
                    <configuration>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 31 02:38:07 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top