- Sort Score
- Result 10 results
- Languages All
Results 381 - 390 of 558 for 1004 (0.04 sec)
-
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object, ?, ?> segment = map.segments[0]; assertEquals(1, segment.table.length()); int count = 1024; for (int i = 0; i < count; i++) { Object key = new Object(); Object value = new Object(); int hash = map.hash(key); assertThat(segment.put(key, hash, value, false)).isNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:07:52 UTC 2025 - 35.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
* @return the extracted body text * @throws ExtractException if extraction fails */ protected String getBodyText(final MimeMessage message) { final StringBuilder buf = new StringBuilder(1000); try { final Object content = message.getContent(); if (content instanceof final Multipart multipart) { final int count = multipart.getCount();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java
mockConfig = mock(Configuration.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockConfig.getLeaseTimeout()).thenReturn(30000); when(mockConfig.getMaxLeases()).thenReturn(1000); when(mockConfig.getLeaseBreakTimeout()).thenReturn(60); leaseManager = new LeaseManager(mockContext); } @AfterEach void tearDown() { if (leaseManager != null) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
w.write(payload, payload.length, out); // Give the writer thread time to process and set exception w.wait(100); } // Wait a bit more to ensure exception is captured Thread.sleep(100); // Act + Assert: checkException should throw the SmbException captured by the thread assertThrows(SmbException.class, w::checkException);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Create multiple threads adding patterns Thread thread1 = new Thread(() -> { for (int i = 0; i < 100; i++) { urlFilter.addInclude("https://site" + i + ".com/.*"); } }); Thread thread2 = new Thread(() -> { for (int i = 0; i < 100; i++) { urlFilter.addExclude(".*\\.type" + i + "$"); } });Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/main/webapp/WEB-INF/orig/view/index.jsp
<div class="clearfix"> <div class="mx-auto col-10 col-sm-8 col-md-8 col-lg-6"> <la:text styleClass="query form-control" property="q" size="50" maxlength="1000" styleId="contentQuery" autocomplete="off" /> </div> </div> <c:if test="${!empty popularWords}"> <div class="clearfix"> <p class="text-truncate">
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 7K bytes - Viewed (1) -
guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java
} public void testZeros100() { // Test 100 byte array of 0x00. byte[] zeros = new byte[100]; assertCrc(0x07cb9ff6, zeros); } public void testFull() { // Test 32 byte array of 0xFF. byte[] fulls = new byte[32]; Arrays.fill(fulls, (byte) 0xFF); assertCrc(0x62a8ab43, fulls); } public void testFull100() { // Test 100 byte array of 0xFF. byte[] fulls = new byte[100];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileIntegrationTest.java
void testLargeFileOperations() throws Exception { SmbFile file = new SmbFile(baseUrl + "shared/largefile.bin", context); // Create a smaller test file (1KB instead of 1MB) byte[] data = new byte[1024]; for (int i = 0; i < data.length; i++) { data[i] = (byte) (i % 256); } // Create file and write data try (OutputStream out = file.openOutputStream(false)) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 56K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
assertTrue(result.contains("pipeName=null")); } @Test @DisplayName("Test with large data") void testWithLargeData() { // Given byte[] largeData = new byte[1000]; Arrays.fill(largeData, (byte) 0x42); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, largeData, 0, largeData.length); byte[] dst = new byte[2000]; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L; } return 0; } } /** * {@inheritDoc} * * @throws SmbException * * @see jcifs.SmbTreeHandle#getOEMDomainName()
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0)