- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 582 for mlimit (0.04 sec)
-
internal/ioutil/ioutil.go
w.skipBytes -= int64(len(p)) return n, nil } p = p[w.skipBytes:] w.skipBytes = 0 } if w.wLimit == 0 { return n, nil } if w.wLimit < int64(len(p)) { n1, err = w.Writer.Write(p[:w.wLimit]) w.wLimit -= int64(n1) return n, err } n1, err = w.Writer.Write(p) w.wLimit -= int64(n1) return n, err } // Close closes the LimitWriter. It behaves like io.Closer.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 11.1K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt
} if (dot < limit) { result.writeByte('.'.code) pos = dot + 1 } else { break } } return result.readUtf8() } private fun encodeLabel( string: String, pos: Int, limit: Int, result: Buffer, ): Boolean { if (!string.requiresEncode(pos, limit)) { result.writeUtf8(string, pos, limit) return true }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Make many attempts to trigger global rate limit for (int i = 1; i <= 20; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed"); } // 21st attempt should be blocked by global rate limit assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
} private String generateRecoveryHint() { switch (resourceType) { case FILE_HANDLE: return "Close unused file handles or increase the file handle limit"; case CONNECTION: return "Close idle connections or increase the connection pool size"; case MEMORY: return "Reduce buffer sizes or increase heap memory"; case DISK_SPACE: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
// Package ioutil implements some I/O utility functions which are not covered // by the standard library. package ioutil import ( "errors" "io" ) // ErrOverread is returned to the reader when the hard limit of HardLimitReader is exceeded. var ErrOverread = errors.New("input provided more bytes than specified") // HardLimitReader returns a Reader that reads from r // but returns an error if the source provides more data than allowed.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
req.txn_buf = getBuffer(); rsp.txn_buf = getBuffer(); } /** * Returns a buffer to the cache for reuse. * * Performance: O(1) operation with size limit check * * @param buf the buffer to return to the cache */ static public void releaseBuffer(final byte[] buf) { // Validate buffer before returning to cache
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
internal/kms/kms.go
// ContinueAt is the name of the element from where // a listing should continue. It allows paginated // listings. ContinueAt string // Limit limits the number of elements returned by // a single list operation. If <= 0, a reasonable // limit is selected automatically. Limit int } // CreateKeyRequest is a structure containing fields // and options for creating keys. type CreateKeyRequest struct {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Apr 24 15:33:57 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
} // Reasonable upper limit (1TB) long maxSize = 1099511627776L; if (size > maxSize) { failedValidations.incrementAndGet(); log.warn("File size exceeds reasonable limit: {} > {}", size, maxSize); throw new SmbException("File size exceeds limit: " + size); } } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
cmd/routers.go
// prefix. setBrowserRedirectMiddleware, // Adds 'crossdomain.xml' policy middleware to serve legacy flash clients. setCrossDomainPolicyMiddleware, // Limits all body and header sizes to a maximum fixed limit setRequestLimitMiddleware, // Validate all the incoming requests. setRequestValidityMiddleware, // Add upload forwarding middleware for site replication setUploadForwardingMiddleware,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Mon Jul 29 18:10:04 UTC 2024 - 3.9K bytes - Viewed (0)