- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 51 for MaxSize (0.04 sec)
-
src/test/java/org/codelibs/core/io/FileUtilTest.java
} finally { out.close(); } // Set maxSize larger than file size final byte[] bytes = FileUtil.readBytes(file, 1024); assertThat(new String(bytes, "UTF-8"), is(content)); } /** * Test readBytes with custom maxSize - file exceeds limit * * @throws Exception */ @Test(expected = IORuntimeException.class)Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp
<label for="maxSize" class="col-sm-3 text-sm-right col-form-label"><la:message key="labels.key_match_size"/></label> <div class="form-inline col-sm-9"> <la:errors property="maxSize"/> <input type="number" name="maxSize" id="maxSize"Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_details.jsp
<tr> <th><la:message key="labels.key_match_size"/></th> <td>${f:h(maxSize)}<la:hidden property="maxSize"/></td> </tr> <tr> <th><la:message key="labels.key_match_boost"/></th>
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/KeyMatchDbm.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 07:01:25 UTC 2025 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ public static byte[] readBytes(final File file, final long maxSize) { assertArgumentNotNull("file", file); final FileInputStream is = InputStreamUtil.create(file); try { final FileChannel channel = is.getChannel(); final long fileSize = ChannelUtil.size(channel); if (fileSize > maxSize) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheTest.java
} } public void testSetMaximumSize() { // vary maximumSize wrt concurrencyLevel for (int maxSize = 1; maxSize < 100; maxSize++) { checkMaximumSize(1, 8, maxSize); checkMaximumSize(2, 8, maxSize); checkMaximumSize(4, 8, maxSize); checkMaximumSize(8, 8, maxSize); } checkMaximumSize(1, 8, Long.MAX_VALUE); checkMaximumSize(2, 8, Long.MAX_VALUE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 117.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
} } public void testSetMaximumSize() { // vary maximumSize wrt concurrencyLevel for (int maxSize = 1; maxSize < 100; maxSize++) { checkMaximumSize(1, 8, maxSize); checkMaximumSize(2, 8, maxSize); checkMaximumSize(4, 8, maxSize); checkMaximumSize(8, 8, maxSize); } checkMaximumSize(1, 8, Long.MAX_VALUE); checkMaximumSize(2, 8, Long.MAX_VALUE);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 00:25:21 UTC 2025 - 115.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
} @Override int minSize() { int difference = minSize(set1) - maxSize(set2); return difference >= 0 ? difference : max(minSize(set2) - maxSize(set1), 0); } @Override int maxSize() { return saturatedAdd(maxSize(set1), maxSize(set2)); } }; } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0)