- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 681 for limitTo (0.03 sec)
-
fastapi/concurrency.py
# since we're creating a new limiter for each call, any non-zero limit # works (1 is arbitrary) exit_limiter = CapacityLimiter(1) try: yield await run_in_threadpool(cm.__enter__) except Exception as e: ok = bool( await anyio.to_thread.run_sync( cm.__exit__, type(e), e, e.__traceback__, limiter=exit_limiter ) )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 1.5K bytes - Viewed (0) -
clause/benchmarks_test.go
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Oct 07 12:14:14 UTC 2022 - 1.9K bytes - Viewed (0) -
cmd/handler-api.go
return 0 } if limit >= 100*humanize.TiByte { // No limit set, or unreasonably high. Ignore return 0 } return limit } func availableMemory() (available uint64) { available = 2048 * blockSizeV2 * 2 // Default to 4 GiB when we can't find the limits. if runtime.GOOS == "linux" { // Honor cgroup limits if set. limit := cgroupMemLimit() if limit > 0 {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 10.4K bytes - Viewed (0) -
internal/bucket/bandwidth/monitor.go
m.tlock.RLock() defer m.tlock.RUnlock() return m.bucketsThrottle[opts] } // SetBandwidthLimit sets the bandwidth limit for a bucket func (m *Monitor) SetBandwidthLimit(bucket, arn string, limit int64) { m.tlock.Lock() defer m.tlock.Unlock() limitBytes := limit / int64(m.NodeCount) throttle, ok := m.bucketsThrottle[BucketOptions{Name: bucket, ReplicationARN: arn}] if !ok { throttle = &bucketThrottle{}
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
} /** * Set the key rotation bytes limit * * @param limit number of bytes to encrypt before rotating keys */ public void setKeyRotationBytesLimit(long limit) { this.keyRotationBytesLimit = limit; } /** * Set the key rotation time limit * * @param limit time in milliseconds before rotating keys */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
br.addElement("Against for CVE-2014-0050 (JVN14876762)."); br.addElement("Boundary size is limited by Framework."); br.addElement("Too long boundary is treated as 404 because it's thought of as attack."); br.addElement(""); br.addElement("While, you can override the boundary limit size"); br.addElement(" in " + getClass().getSimpleName() + "."); br.addItem("Content Type");
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (1) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
* integer overflow. This will not return null for labels that fit within the DNS size * limits. */ fun encode(string: String): String? { var pos = 0 val limit = string.length val result = Buffer() while (pos < limit) { var dot = string.indexOf('.', startIndex = pos) if (dot == -1) dot = limit if (!encodeLabel(string, pos, dot, result)) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
var hostOnly = true var persistent = false var sameSite: String? = null var pos = cookiePairEnd + 1 val limit = setCookie.length while (pos < limit) { val attributePairEnd = setCookie.delimiterOffset(';', pos, limit) val attributeEqualsSign = setCookie.delimiterOffset('=', pos, attributePairEnd)Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
return "Free up disk space or use a different location"; case QUOTA: return "Contact administrator to increase quota limits"; case LOCK: return "Release existing locks or wait for them to be released"; case BUFFER: return "Reduce buffer usage or increase buffer pool size"; case THREAD_POOL: return "Reduce concurrent operations or increase thread pool size";
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
internal/ioutil/hardlimitreader.go
// This will ensure that at most n bytes are returned and EOF is reached. func HardLimitReader(r io.Reader, n int64) io.Reader { return &HardLimitedReader{r, n} } // A HardLimitedReader reads from R but limits the amount of // data returned to just N bytes. Each call to Read // updates N to reflect the new amount remaining. // Read returns EOF when N <= 0 or when the underlying R returns EOF. type HardLimitedReader struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 2K bytes - Viewed (0)