- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for maxSize (0.04 sec)
-
src/main/java/jcifs/util/ServerResponseValidator.java
} int maxSize = isSmb1 ? MAX_SMB1_MESSAGE_SIZE : MAX_SMB_MESSAGE_SIZE; if (size > maxSize) { failedValidations.incrementAndGet(); log.warn("Message size exceeds maximum: {} > {}", size, maxSize); throw new SmbException("Message size exceeds maximum: " + size + " > " + maxSize); } } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/BufferCacheImpl.java
* * @param maxBuffers the maximum number of buffers to cache * @param maxSize the size of each buffer in bytes * */ public BufferCacheImpl(final int maxBuffers, final int maxSize) { this.cache = new Object[maxBuffers]; this.bufferSize = maxSize; } /** * {@inheritDoc} * * @see jcifs.BufferCache#getBuffer() */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
prepare_stmt.go
func NewPreparedStmtDB(connPool ConnPool, maxSize int, ttl time.Duration) *PreparedStmtDB { return &PreparedStmtDB{ ConnPool: connPool, // Assigns the provided connection pool to manage database connections. Stmts: stmt_store.New(maxSize, ttl), // Initializes a new statement store with the specified maximum size and TTL.
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 5.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/TestFileWagon.java
@Deprecated protected void getTransfer(Resource resource, File destination, InputStream input, boolean closeInput, int maxSize) throws TransferFailedException { addTransfer("getTransfer " + resource.getName()); super.getTransfer(resource, destination, input, closeInput, maxSize); } @Override public void get(String resourceName, File destination)Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
* Validates buffer size to prevent overflow * * @param size the buffer size to validate * @param maxSize the maximum allowed size * @param fieldName the field name for error reporting * @throws IllegalArgumentException if size is invalid */ public static void validateBufferSize(int size, int maxSize, String fieldName) { if (size < 0) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
docs/sts/client_grants/__init__.py
if not ca_certs: ca_certs = certifi.where() self._http = urllib3.PoolManager( timeout=urllib3.Timeout.DEFAULT_TIMEOUT, maxsize=10, cert_reqs='CERT_NONE', ca_certs=ca_certs, retries=urllib3.Retry( total=5, backoff_factor=0.2, status_forcelist=[500, 502, 503, 504]Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 4.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 69.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
void negativeMaxBuffersThrows() { assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10)); } @Test @DisplayName("Negative maxSize throws when allocating a new buffer") void negativeMaxSizeThrowsOnAllocation() { BufferCacheImpl impl = new BufferCacheImpl(0, -7); assertThrows(NegativeArraySizeException.class, impl::getBuffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
cmd/storage-datatypes.go
Prefix string `msg:"pr,omitempty"` // Shared prefix of all files. Can be empty. Will be joined to filename without modification. Files []string `msg:"fl"` // Individual files to read. MaxSize int64 `msg:"ms"` // Return error if size is exceed. MetadataOnly bool `msg:"mo"` // Read as XL meta and truncate data.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Apr 25 05:41:04 UTC 2025 - 17.4K bytes - Viewed (0) -
gorm.go
NowFunc func() time.Time // DryRun generate sql without execute DryRun bool // PrepareStmt executes the given query in cached statement PrepareStmt bool // PrepareStmt cache support LRU expired, // default maxsize=int64 Max value and ttl=1h PrepareStmtMaxSize int PrepareStmtTTL time.Duration // DisableAutomaticPing DisableAutomaticPing bool // DisableForeignKeyConstraintWhenMigrating
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 12.8K bytes - Viewed (0)