- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for choice (0.27 sec)
-
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) -
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) -
android/guava/src/com/google/common/collect/Sets.java
* cartesian set is constructed, the input sets are merely copied. Only as the resulting set is * 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) -
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) -
cmd/test-utils_test.go
letterIdxMax = 63 / letterIdxBits // # of letter indices fitting in 63 bits ) // Random number state. // We generate random temporary file names so that there's a good // chance the file doesn't exist yet. var ( randN uint32 randmu sync.Mutex ) // Temp files created in default Tmp dir var globalTestTmpDir = os.TempDir()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 17:26:51 GMT 2024 - 76.2K bytes - Viewed (0)