- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for resize (0.13 sec)
-
tests/lru_test.go
if !reflect.DeepEqual(lc.Keys(), []string{"key1"}) { t.Fatalf("value differs from expected") } if lc.Resize(0) != 0 { t.Fatalf("evicted count differs from expected") } if lc.Resize(2) != 0 { t.Fatalf("evicted count differs from expected") } lc.Add("key2", "val2") if lc.Resize(1) != 1 { t.Fatalf("evicted count differs from expected") } } func TestLRUEdgeCases(t *testing.T) {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Sep 08 09:19:22 UTC 2025 - 10.4K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
outputs_.clear(); for (TF_Operation* o : outputs) { outputs_.emplace_back(TF_Output{o, 0}); } output_values_.resize(outputs_.size()); } void CSession::SetOutputs(const std::vector<TF_Output>& outputs) { ResetOutputValues(); outputs_ = outputs; output_values_.resize(outputs_.size()); } void CSession::SetTargets(std::initializer_list<TF_Operation*> targets) { targets_.clear();
Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 17.8K bytes - Viewed (1) -
guava/src/com/google/common/collect/CompactHashSet.java
newDelegate.addAll(delegate); this.table = newDelegate; return; } int size = this.size; if (size < requireEntries().length) { resizeEntries(size); } int minimumTableSize = CompactHashing.tableSize(size); int mask = hashTableMask(); if (minimumTableSize < mask) { // smaller table size will always be less than current mask
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.7K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
#FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Djavax.net.ssl.trustStorePassword=changeit" # min and max heap sizes should be set to the same value to avoid # stop-the-world GC pauses during resize, and so that we can lock the # heap in memory on startup to prevent any of it from being swapped # out. FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xms${FESS_MIN_MEM}" FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Xmx${FESS_MAX_MEM}"Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.bat
) if NOT "%FESS_HEAP_SIZE%" == "" ( set FESS_MIN_MEM=%FESS_HEAP_SIZE% set FESS_MAX_MEM=%FESS_HEAP_SIZE% ) REM min and max heap sizes should be set to the same value to avoid REM stop-the-world GC pauses during resize, and so that we can lock the REM heap in memory on startup to prevent any of it from being swapped REM out. set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 4.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/CompactHashMap.java
} int size = this.size; if (size < requireEntries().length) { resizeEntries(size); } int minimumTableSize = CompactHashing.tableSize(size); int mask = hashTableMask(); if (minimumTableSize < mask) { // smaller table size will always be less than current mask resizeTable(mask, minimumTableSize, UNSET, UNSET); } } @Override public void clear() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 39.6K bytes - Viewed (0) -
src/main/webapp/js/admin/adminlte.min.js
ion(){var e=this,t=n.default("body");t.hasClass(L)||t.hasClass(D)?(n.default(k).not(this._config.target).hide(),n.default(this._config.target).css("display","block")):n.default(k).hide(),this._fixHeight(),this._fixScrollHeight(),n.default(window).resize((function(){e._fixHeight(),e._fixScrollHeight()})),n.default(window).scroll((function(){var t=n.default("body");(t.hasClass(L)||t.hasClass(D))&&e._fixScrollHeight()}))},t._isNavbarFixed=function(){var e=n.default("body");return e.hasClass("layout...Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 45.3K bytes - Viewed (0) -
src/main/webapp/css/admin/respond.min.js
test(e)&&!r||e.replace(RegExp.$1,"").split("/")[0]===a.location.host)&&("//"===e.substring(0,2)&&(e=a.location.protocol+e),d.push({href:e,media:f})))}w()};x(),c.update=x,c.getEmValue=t,a.addEventListener?a.addEventListener("resize",b,!1):a.attachEvent&&a.attachEvent("onresize",b)}}(this);...
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Oct 08 12:14:13 UTC 2015 - 4.3K bytes - Viewed (0) -
internal/lru/lru.go
return c.evictList.Length() } // Resize changes the cache size. Size of 0 means unlimited. func (c *LRU[K, V]) Resize(size int) (evicted int) { c.mu.Lock() defer c.mu.Unlock() if size <= 0 { c.size = 0 return 0 } diff := c.evictList.Length() - size if diff < 0 { diff = 0 } for i := 0; i < diff; i++ { c.removeOldest() } c.size = size return diff }
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
* function doing a good job of distributing the elements to the buckets to a distribution not far * from uniform), and amortized since some operations can trigger a hash table resize. * * <p>As compared with {@link java.util.LinkedHashMap}, this structure places significantly reduced * load on the garbage collector by only using a constant number of internal objects. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 14:59:07 UTC 2025 - 8.4K bytes - Viewed (0)