- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for shrinking (0.24 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go
expectCapacity: 5, expectStartIndex: 0, }, { name: "[capacity not equals 4*n] quarter of recent events outside eventFreshDuration cause cache shrinking", eventCount: 5, cacheCapacity: 5, lowerBoundCapacity: 5 / 2, upperBoundCapacity: 5 * 2, interval: eventFreshDuration + time.Second, expectCapacity: 2,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 35.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/MultiLineBuildProgressArea.java
@Override public void resizeBuildProgressTo(int buildProgressLabelCount) { int delta = buildProgressLabelCount - buildProgressLabels.size(); if (delta <= 0) { // We don't support shrinking at the moment return; } int row = parkingLabel.getWritePosition().row; parkingLabel.scrollDownBy(delta); while (delta-- > 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 5K bytes - Viewed (0) -
src/runtime/select.go
// because we could self-deadlock in stack growth on a // channel lock. gp.activeStackChans = true // Mark that it's safe for stack shrinking to occur now, // because any thread acquiring this G's stack for shrinking // is guaranteed to observe activeStackChans after this store. gp.parkingOnChan.Store(false) // Make sure we unlock after setting activeStackChans and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/runtime/chan.go
// because we could self-deadlock in stack growth on the // channel lock. gp.activeStackChans = true // Mark that it's safe for stack shrinking to occur now, // because any thread acquiring this G's stack for shrinking // is guaranteed to observe activeStackChans after this store. gp.parkingOnChan.Store(false) // Make sure we unlock after setting activeStackChans and
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/WorkInProgressRenderer.java
newBuildProgressLabelCount = consoleLayoutCalculator.calculateNumWorkersForConsoleDisplay(newBuildProgressLabelCount); if (previousBuildProgressLabelCount >= newBuildProgressLabelCount) { // We don't support shrinking at the moment return; } progressArea.resizeBuildProgressTo(newBuildProgressLabelCount); // Add new labels to the unused queue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 9.5K bytes - Viewed (0) -
src/runtime/chan_test.go
} // The goal of this test is to trigger a "racy sudog adjustment" // throw. Basically, there's a window between when a goroutine // becomes available for preemption for stack scanning (and thus, // stack shrinking) but before the goroutine has fully parked on a // channel. See issue 40641 for more details on the problem. // // The way we try to induce this failure is to set up two
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:47:35 UTC 2023 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharStreamsTest.java
if (len <= 0) { fail("read called with a len of " + len); } // read fewer than the max number of chars to read // shouldn't be a problem unless the buffer is shrinking each call return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
if (len <= 0) { fail("read called with a len of " + len); } // read fewer than the max number of chars to read // shouldn't be a problem unless the buffer is shrinking each call return in.read(cbuf, off, Math.max(len - 1024, 0)); } }; } /** Wrap an appendable in an appendable to defeat any type specific optimizations. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/controller/volume/expand/expand_controller.go
pvcSpecCap := pvc.Spec.Resources.Requests.Storage() pvcStatusCap, pvCap := pvc.Status.Capacity[v1.ResourceStorage], pv.Spec.Capacity[v1.ResourceStorage] // since we allow shrinking volumes, we must compare both pvc status and capacity // with pv spec capacity. if pvcStatusCap.Cmp(*pvcSpecCap) >= 0 && pvcStatusCap.Cmp(pvCap) >= 0 { return true } return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 16.2K bytes - Viewed (0) -
src/testing/quick/quick.go
func Value(t reflect.Type, rand *rand.Rand) (value reflect.Value, ok bool) { return sizedValue(t, rand, complexSize) } // sizedValue returns an arbitrary value of the given type. The size // hint is used for shrinking as a function of indirection level so // that recursive data structures will terminate. func sizedValue(t reflect.Type, rand *rand.Rand, size int) (value reflect.Value, ok bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 17:55:47 UTC 2023 - 10.1K bytes - Viewed (0)