- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 440 for resizes (0.17 sec)
-
subprojects/core/src/main/java/org/gradle/api/internal/WithEstimatedSize.java
* case is creating a hash set or hash map of a collection without knowing the number of elements it * will contain. With this method we can properly size it and avoid resizes. The reason we use an * estimate size instead of the real size is that sometimes the real size is too expensive to compute.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 18 08:11:23 UTC 2017 - 2.7K bytes - Viewed (0) -
pkg/kubelet/status/state/state_mem.go
} klog.V(3).InfoS("Updated pod resize state", "podUID", podUID, "resizeStatus", resizeStatus) return nil } func (s *stateMemory) SetResizeStatus(rs PodResizeStatus) error { s.Lock() defer s.Unlock() prs := make(map[string]v1.PodResizeStatus) for k, v := range rs { prs[k] = v } s.podResizeStatus = prs klog.V(3).InfoS("Updated pod resize state", "resizes", rs) return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 24 18:21:21 UTC 2023 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
*/ void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) { setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); setElement(entryIndex, object); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashSet.java
*/ void insertEntry(int entryIndex, @ParametricNullness E object, int hash, int mask) { setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); setElement(entryIndex, object); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 24.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ResolveState.java
} } /** * This method is a heuristic that gives an idea of the "size" of the graph. The larger * the graph is, the higher the risk of internal resizes exists, so we try to estimate * the size of the graph to avoid maps resizing. */ private static int estimateGraphSize(RootComponentMetadataBuilder.RootComponentState rootComponentState) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 16.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
if (newCapacity < 0) { newCapacity = Integer.MAX_VALUE; } if (newCapacity != entriesSize) { resizeEntries(newCapacity); } } } /** * Resizes the internal entries array to the specified capacity, which may be greater or less than * the current capacity. */ void resizeEntries(int newCapacity) { this.keys = Arrays.copyOf(keys, newCapacity);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); this.setKey(entryIndex, key); this.setValue(entryIndex, value); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 39.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
this.setEntry(entryIndex, CompactHashing.maskCombine(hash, UNSET, mask)); this.setKey(entryIndex, key); this.setValue(entryIndex, value); } /** Resizes the entries storage if necessary. */ private void resizeMeMaybe(int newSize) { int entriesSize = requireEntries().length; if (newSize > entriesSize) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 28 18:11:09 UTC 2024 - 35.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} return err } // Memory and CPU are updated separately because memory resizes may be ordered differently than CPU resizes. // If resize results in net pod resource increase, set pod cgroup config before resizing containers. // If resize results in net pod resource decrease, set pod cgroup config after resizing containers.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go
defer ctx.conn.Close() // Read the terminal resize requests, storing them in actualTerminalSizes for i := 0; i < numSizeQueue; i++ { actualTerminalSize := <-ctx.resizeChan actualTerminalSizes = append(actualTerminalSizes, actualTerminalSize) } })) defer spdyServer.Close() // Create StreamTranslatorHandler, which points upstream to fake SPDY server with
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 36.4K bytes - Viewed (0)