- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 517 for 100m (0.51 sec)
-
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// When fileFsFullSizeInfo.decode(buffer.array(), 0, 32); double percentFree = (fileFsFullSizeInfo.getFree() * 100.0) / fileFsFullSizeInfo.getCapacity(); double percentUsed = ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} public void test_setDefaultRowSize() { indexingHelper.setDefaultRowSize(50); assertEquals(50, indexingHelper.defaultRowSize); indexingHelper.setDefaultRowSize(1000); assertEquals(1000, indexingHelper.defaultRowSize); } public void test_setRequestInterval() { indexingHelper.setRequestInterval(1000L); assertEquals(1000L, indexingHelper.requestInterval);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
/** * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011} * for information on the behaviour of the algorithm. * * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds. * * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessClientTest.java
notification.addNewIPAddress(InetAddress.getByName("192.168.1.101")); client.processNotification(notification); // Verify notification was delivered assertTrue(listener.waitForNotification(1000)); assertNotNull(listener.getLastNotification()); assertEquals(WitnessEventType.CLIENT_MOVE, listener.getLastNotification().getEventType()); client.close(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java
@Test void testGetFilePointer() throws SmbException { assertEquals(0, smbRandomAccessFile.getFilePointer()); } @Test void testSeek() throws SmbException { long newPosition = 100L; smbRandomAccessFile.seek(newPosition); assertEquals(newPosition, smbRandomAccessFile.getFilePointer()); } @Test void testSeekNegativePosition() throws SmbException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
/** Name of the logger used for statistics output. */ protected String loggerName = "fess.log.crawler.stats"; /** Maximum number of statistics objects to cache. */ protected long maxCacheSize = 1000; /** Time in milliseconds after which cache entries expire after write. */ protected long cacheExpireAfterWrite = 10 * 60 * 1000L; /** Cache for storing statistics objects keyed by crawler object identifiers. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
} @Test @DisplayName("Large message is read correctly") void largeMessageIsReadCorrectly() throws IOException { // Create a message with 1000 bytes int size = 1000; byte[] data = new byte[size]; for (int i = 0; i < size; i++) { data[i] = (byte) (i % 256); } byte[] fullData = concat(messageHeader(size), data);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertEquals(message, exception.getMessage()); } public void test_veryLongMessage() { // Test with very long message StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("Very long error message line ").append(i).append(". "); } String longMessage = sb.toString(); GsaConfigException exception = new GsaConfigException(longMessage);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/sereq/AdminSereqAction.java
validate(form, messages -> {}, () -> asListHtml(null)); verifyTokenKeep(() -> asListHtml(this::saveToken)); String header = null; final StringBuilder buf = new StringBuilder(1000); try (final BufferedReader reader = new BufferedReader(new InputStreamReader(form.requestFile.getInputStream(), Constants.UTF_8))) { header = ReaderUtil.readLine(reader); if (header == null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/filter/EncodingFilter.java
final String path = entry.getKey(); if (servletPath.startsWith(path)) { req.setCharacterEncoding(entry.getValue()); final StringBuilder locationBuf = new StringBuilder(1000); final String contextPath = servletContext.getContextPath(); if (StringUtil.isNotBlank(contextPath) && !"/".equals(contextPath)) { locationBuf.append(contextPath);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.5K bytes - Viewed (0)