Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for choose (0.19 sec)

  1. cmd/erasure-server-pool.go

    	total := serverPools.TotalAvailable()
    	if total == 0 {
    		return -1
    	}
    	// choose when we reach this many
    	choose := rand.Uint64() % total
    	atTotal := uint64(0)
    	for _, pool := range serverPools {
    		atTotal += pool.Available
    		if atTotal > choose && pool.Available > 0 {
    			return pool.Index
    		}
    	}
    	// Should not happen, but print values just in case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. configure.py

          environ_cp['TF_NEED_CLANG'] = str(choose_compiler(environ_cp))
          if environ_cp.get('TF_NEED_CLANG') == '1':
            clang_compiler_path = set_clang_compiler_path(environ_cp)
            clang_version = retrieve_clang_version(clang_compiler_path)
            disable_clang_offsetof_extension(clang_version)
        if is_windows():
          environ_cp['TF_NEED_CLANG'] = str(choose_compiler_Win(environ_cp))
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  3. guava/src/com/google/common/cache/CacheBuilder.java

       * without contention. Because assignment of entries to these partitions is not necessarily
       * uniform, the actual concurrency observed may vary. Ideally, you should choose a value to
       * accommodate as many threads as will ever concurrently modify the table. Using a significantly
       * higher value than you need can waste space and time, and a significantly lower value can lead
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Sets.java

       * iterated are the individual lists created, and these are not retained after iteration.
       *
       * @param sets the sets to choose elements from, in the order that the elements chosen from those
       *     sets should appear in the resulting lists
       * @param <B> any common base class shared by all axes (often just {@link Object})
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       * returned to the caller, although this is neither guaranteed to occur nor required to be
       * consistent. For example, this method <i>might</i> choose to pass through recognized
       * implementations of {@code PeekingIterator} when the behavior of the implementation is known to
       * meet the contract guaranteed by this method.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

       * ListenableFuture<Integer> faultTolerantFuture = Futures.catchingAsync(
       *     fetchCounterFuture, FetchException.class, x -> immediateFuture(0), directExecutor());
       * }</pre>
       *
       * <p>The fallback can also choose to propagate the original exception when desired:
       *
       * <pre>{@code
       * ListenableFuture<Integer> fetchCounterFuture = ...;
       *
       * // Falling back to a zero counter only in case the exception was a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterators.java

       * returned to the caller, although this is neither guaranteed to occur nor required to be
       * consistent. For example, this method <i>might</i> choose to pass through recognized
       * implementations of {@code PeekingIterator} when the behavior of the implementation is known to
       * meet the contract guaranteed by this method.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

       */
      // TODO(fry): empirically optimize this
      static final int DRAIN_MAX = 16;
    
      // Fields
    
      /**
       * Mask value for indexing into segments. The upper bits of a key's hash code are used to choose
       * the segment.
       */
      final transient int segmentMask;
    
      /**
       * Shift value for indexing within segments. Helps prevent entries that end up in the same segment
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  9. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // filtered out and clients should only use the presence of the continue field to determine whether
      // more results are available. Servers may choose not to support the limit argument and will return
      // all of the available results. If limit is specified and the continue field is empty, clients may
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  10. kotlin-js-store/yarn.lock

        is-binary-path "~2.1.0"
        is-glob "~4.0.1"
        normalize-path "~3.0.0"
        readdirp "~3.6.0"
      optionalDependencies:
        fsevents "~2.3.2"
    
    chrome-trace-event@^1.0.2:
      version "1.0.3"
      resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac"
      integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
Back to top