Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for Bounds (0.16 sec)

  1. android/guava/src/com/google/common/collect/Iterables.java

      /**
       * Returns the element at the specified position in an iterable.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.skip(position).findFirst().get()} (throws
       * {@code NoSuchElementException} if out of bounds)
       *
       * @param position position of the element to return
       * @return the element at the specified position in {@code iterable}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    		var found bool
    		for _, ss := range setCounts {
    			if ss == setDriveCount {
    				found = true
    			}
    		}
    		if !found {
    			return nil, config.ErrInvalidErasureSetSize(nil).Msg(msg)
    		}
    
    		// No automatic symmetry calculation expected, user is on their own
    		setSize = setDriveCount
    	} else {
    		// Returns possible set counts with symmetry.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multisets.java

      /**
       * Returns a {@code Collector} that accumulates elements into a multiset created via the specified
       * {@code Supplier}, whose elements are the result of applying {@code elementFunction} to the
       * inputs, with counts equal to the result of applying {@code countFunction} to the inputs.
       * Elements are added in encounter order.
       *
       * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the element
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    		if v := d.find(want[:idx]); v != nil {
    			_, ok := v.Children[want]
    			if ok {
    				found := hashPath(want[:idx])
    				return &found
    			}
    		}
    	}
    	for k, v := range d.Cache {
    		_, ok := v.Children[want]
    		if ok {
    			found := dataUsageHash(k)
    			return &found
    		}
    	}
    	return nil
    }
    
    // deleteRecursive will delete an entry recursively, but not change its parent.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  5. cni/pkg/iptables/iptables.go

    	iptVer, err := ext.DetectIptablesVersion(false)
    	if err != nil {
    		return nil, err
    	}
    
    	log.Debugf("found iptables binary: %+v", iptVer)
    
    	configurator.iptV = iptVer
    
    	ipt6Ver, err := ext.DetectIptablesVersion(true)
    	if err != nil {
    		return nil, err
    	}
    
    	log.Debugf("found iptables v6 binary: %+v", iptVer)
    
    	configurator.ipt6V = ipt6Ver
    
    	return configurator, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        /*
         * We keep an array of elements and counts.  Periodically -- when we need more room in the
         * array, or when we're building, or the like -- we sort, deduplicate, and combine the counts.
         * Negative counts indicate a setCount operation with ~counts[i].
         */
    
        private final Comparator<? super E> comparator;
    
        @VisibleForTesting E[] elements;
        private int[] counts;
    
        /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

       * contents, such as {@code "[1..100]}"}.
       *
       * @throws IllegalArgumentException if neither this range nor the domain has a lower bound, or if
       *     neither has an upper bound
       */
      public ImmutableSortedSet<C> asSet(DiscreteDomain<C> domain) {
        checkNotNull(domain);
        if (isEmpty()) {
          return ImmutableSortedSet.of();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  8. cmd/object-api-errors.go

    }
    
    // BucketSSEConfigNotFound - no bucket encryption found
    type BucketSSEConfigNotFound GenericError
    
    func (e BucketSSEConfigNotFound) Error() string {
    	return "No bucket encryption configuration found for bucket: " + e.Bucket
    }
    
    // BucketTaggingNotFound - no bucket tags found
    type BucketTaggingNotFound GenericError
    
    func (e BucketTaggingNotFound) Error() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    func loadFormatErasure(disk StorageAPI, heal bool) (format *formatErasureV3, err error) {
    	data, err := disk.ReadAll(context.TODO(), minioMetaBucket, formatConfigFile)
    	if err != nil {
    		// 'file not found' and 'volume not found' as
    		// same. 'volume not found' usually means its a fresh disk.
    		if errors.Is(err, errFileNotFound) || errors.Is(err, errVolumeNotFound) {
    			return nil, errUnformattedDisk
    		}
    		return nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/erasure-healing.go

    			foundNotEmpty++
    		default:
    			otherFound++
    		}
    	}
    	found = found + foundNotEmpty + otherFound
    	return found < notFound && found > 0
    }
    
    // Object is considered dangling/corrupted if and only
    // if total disks - a combination of corrupted and missing
    // files is lesser than number of data blocks.
    func isObjectDangling(metaArr []FileInfo, errs []error, dataErrs []error) (validMeta FileInfo, ok bool) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top