- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for Swap (0.16 sec)
-
android/guava/src/com/google/common/math/PairedStats.java
* fraction {@code sqrt(1/(R*R) - 1)} of the population standard deviation of {@code x}. This fit * does not normally minimize that error: to do that, you should swap the roles of {@code x} and * {@code y}. * * <h3>Non-finite values</h3> * * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
* requireNonNull is safe because we don't clear nextPermutation until we're done calling this * method. */ requireNonNull(nextPermutation); int l = findNextL(j); Collections.swap(nextPermutation, j, l); int n = nextPermutation.size(); Collections.reverse(nextPermutation.subList(j + 1, n)); } int findNextJ() { /*
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java
import java.util.concurrent.TimeoutException; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Base class for tests for emulated {@link AbstractFuture} that allow subclasses to swap in a * different "source Future" for {@link AbstractFuture#setFuture} calls. */ @GwtCompatible(emulated = true) abstract class AbstractAbstractFutureTest extends TestCase { private TestedFuture<Integer> future;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 15.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
block->data.resize(bytes_transferred, 0); // Shrink the data capacity to the actual size used. // NOLINTNEXTLINE: shrink_to_fit() may not shrink the capacity. std::vector<char>(block->data).swap(block->data); downloaded_block = true; block->state = FetchState::FINISHED; } else { block->state = FetchState::ERROR; } block->cond_var.SignalAll();
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
} /** * Returns a plan to reuse a pooled connection, or null if the pool doesn't have a connection for * this address. * * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts. */ internal fun planReusePooledConnection(
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
* <p>Normally this method leaves the elements at up to {@code index - 1}, inclusive, untouched. * Under these circumstances, it returns {@code null}. * * <p>Occasionally, in order to maintain the heap invariant, it must swap a later element of the * list with one before {@code index}. Under these circumstances it returns a pair of elements as * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 34K bytes - Viewed (0) -
api/go1.17.txt
pkg runtime/cgo (openbsd-amd64-cgo), type Handle uintptr pkg strconv, func QuotedPrefix(string) (string, error) pkg sync/atomic, method (*Value) CompareAndSwap(interface{}, interface{}) bool pkg sync/atomic, method (*Value) Swap(interface{}) interface{} pkg syscall (netbsd-386), const SYS_WAIT6 = 481 pkg syscall (netbsd-386), const SYS_WAIT6 ideal-int pkg syscall (netbsd-386), const WEXITED = 32 pkg syscall (netbsd-386), const WEXITED ideal-int
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 17 20:31:46 GMT 2023 - 18K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.28.md
- Added full cgroup v2 swap support for both `Limited` and `Unlimited` swap. When `LimitedSwap` is enabled the swap limit would be automatically calculated for Burstable QoS pods. For Best-Effort/Guaranteed QoS pods, swap would be disabled. Containers with memory requests equal to their memory limits also won't have swap access, and it is a way to opt-out of swap for a single container.
Plain Text - Registered: Fri Apr 26 09:05:10 GMT 2024 - Last Modified: Tue Apr 16 20:44:48 GMT 2024 - 385.1K bytes - Viewed (0) -
internal/logger/logger.go
func uniq(data sort.Interface) (size int) { p, l := 0, data.Len() if l <= 1 { return l } for i := 1; i < l; i++ { if !data.Less(p, i) { continue } p++ if p < i { data.Swap(p, i) } } return p + 1 } // Remove any duplicates and return unique entries. func uniqueEntries(paths []string) []string { sort.Strings(paths) n := uniq(sort.StringSlice(paths))
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 12.2K bytes - Viewed (0) -
cmd/bucket-targets.go
epHealth.offlineDuration = prev.offlineDuration epHealth.lastHCAt = prev.lastHCAt epHealth.latency = prev.latency } m[t.Endpoint] = epHealth } } // swap out the map sys.hc = m sys.hMutex.Unlock() } func (sys *BucketTargetSys) healthStats() map[string]epHealth { sys.hMutex.RLock() defer sys.hMutex.RUnlock() m := make(map[string]epHealth, len(sys.hc))
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 20.9K bytes - Viewed (0)